« first day (863 days earlier)      last day (4101 days later) » 

5:00 PM
@Collin I believe it was only possible with tags. But again, long time ago
(Oh and if a file was missing a tag... damned)
 
@sehe github.com/ereOn/git2vss Not perfect, but was working good enough.
 
@ereOn That's crazy. Looking at it right the f*ck now !
 
It works that way :
 
VSS is one step up a folder on a network file share.
 
checks out a whole directory in some location, makes a diff with your local git repository (there is a floating tag that tags the last git commit that was uploaded to VSS)
and creates a single VSS commit with the diff, then updates the tag if everything went fine.
(I didn't bother with creating several commits, since those are meaningless in VSS anyway)
If you have anything to fix/contribute, feel free to pull request or fork it or whatever : Its licence is "Do whatever you want with it"
 
5:04 PM
@ereOn yeah. I do the same, roughly. But I don't 'diff against VSS', but rather I 'remote update VSS' and then rebase onto the 'VSS branch'. I then have to checkout all files modified in that merge and check them in (as a single commit, like you do)
 
@sehe: I don't remember the exact details on how I operate. Perhaps it does something like that too.
Anyway : the worst case scenario is when you delete a file that was already deleted.
because VSS never trully deletes a file.
It merely hides it.
 
Sweet, my annual SO swag has arrived
 
Unless you are an administrator, in which case deleting the file means loosing all its history.
 
I wonder what they expect me to use the stickers for...
 
@ereOn yeah, you then need to purge the previously deleted item
@jalf gagging
 
5:06 PM
@sehe: Exactly.
 
@ereOn github.com/ereOn/git2vss/fork is 404 for me
 
oO
that's odd
 
I need that comment on PSD
I wonder if I can find it here...
 
Perhaps a file server on github that is down ?
 
Wow, haha.
First search result for PSD. <3
 
5:09 PM
@ereOn Yeah. I checked the status page already :0
@ThePhD You mean:
Nov 6 '12 at 20:19, by sehe
> At this point, I'd like to take a moment to speak to you about the Adobe PSD format. PSD is not a good format. PSD is not even a bad format. Calling it such would be an insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having worked on this code for several weeks now, my hate for PSD has grown to a raging fire that burns with the fierce passion of a million suns. excerpt from a long code comment
I couldn't even remember anything about that :)
 
@sehe Yerp. :D
 
@sehe: Can you git clone it ? git://github.com/ereOn/git2vss.git
 
@ThePhD Chat search result ranking heavily favours messages that repeat the search target :)
 
PSD PSD PSD PSD PSD PSD PSD PSD !!!
I wonder if that'll skew the search results...
 
@ereOn I'll have to wait till I configure GH4Win and a local proxy authenticator :)
@ThePhD Don't wonder. It's a guarantee
 
5:12 PM
@sehe: At least you can :p When I was using VSS, the company polices were preventing anything else than HTTPS
(And I had to make an explicit request for it to be allowed to github...)
 
@ereOn I'm tunneling over https, and using cntlm :)
 
I never thought this git-vss thing could be of use to somebody
(except me)
 
@ereOn It's a sad world.
 
vss? As in sourcesafe?
 
I showed it to my coworkers at the time and they were all like "What ? This is stupid. This Git thing is way too complicated. VSS is simple and efficient"
 
5:15 PM
On the other side, I have looked all over and never found anything "mature" (I'm not saying this is)
 
you have got to be shitting me
 
That's the day I gave up hope learning anything in that company.
 
Nope. Client here mandates VSS (until we move to Serena Dimensions... AARARARG)
 
@ereOn sounds like the day I'd have learned to give up hope in that company
 

Serena Dimensions

Jul 23 '12 at 20:51, 23 minutes total – 103 messages, 12 users, 0 stars

Bookmarked Jul 23 '12 at 21:18 by sehe

 
5:16 PM
@sehe I worked with it for something like 9 months. I think it does the best it can regarding VSS limitations.
 
@ereOn I'm working with my own set of cygwin based CLI scripts for ... well, 26 months now!?!?! My mental maths must be off, once again
 
@ScottW People died for saying things like that in public.
 
@ScottW troll < meh > troll
 
lol, MS Connect, don't ever change
they closed my bug as "deferred". What does that even mean?
 
@jalf that's deferred too
 
5:18 PM
"we're going to fix it at some point in the future, and therefore it is now fixed"
 
@sehe I don't know how you cope working with that for such a long time. This was kind of a deal breaker when I looked for other jobs: "Which VCS are you using ?"
If a company is not willing to let his developers use the tools they are the more efficient with, how can it work ?
 
@ereOn Yeah. I'm stubborn like that. I reckon I can still do fun things here. And it's a 30 minute commute.
@ereOn They aren't willing, but I can still use those tools. I just have to make more of an effort beforehand
 
:O
Look what I found!: gist.io/3166256
The beginnings of Ogonek.
 
What's Ogonek ?
 
Jul 23 '12 at 21:15, by R. Martinho Fernandes
So, I'd like some feedback on these ideas before I start writing teh codez. http://gist.io/3166256 // cc @DeadMG and anyone else interested in the Unicodez.
@ereOn you don't come here often enough
 
5:22 PM
Serena Dimensions sounds horrific, by the way.
 
@ThePhD Yup
 
@sehe: Yeah, I realized my productiviy was dropping by 80% by just joining this chat, let alone the case were I'm speaking in it (in which case it's a drop of 100%)
 
haha
newfag.
 
@ereOn Hmm
 
5:30 PM
Everything is just so sexual these days. Most modern songs are just plain rubbish.
 
what's wrong about being sexual, actually?
Lounge is being infected by teenagers
 
@ereOn What kind of shell environment did you use? On cygwin, after installing setuptools and VSSPython, git-vss gave me
$ ./git-vss
Traceback (most recent call last):
  File "./git-vss", line 9, in <module>
    import git
ImportError: No module named git
 
Guys, I have a new passion: playing Mahjongg.
 
@BartekBanachewicz Nothing. Just everything does not need to be about it.
 
@sehe: Have you called python setup.py install first ?
 
5:32 PM
@FredOverflow And, did you improve you patience times, lately?
 
It should have installed the few dependencies
 
@ereOn That's what I meant to say there, yes
 
@FredOverflow Good game. I got addicted to it, but that changed when I learnt to play Soduku well.
 
(lthat is : git-python)
 
@GamesBrainiac go listen to Dire Straits then
 
5:32 PM
 
that's the only band that me and my parents share
 
@sehe You mean Solitaire? No, I pretty much peaked at 1:30 some time ago and never reached that again.
 
I don't remember if there is any other dependency.
 
@FredOverflow Poor thing. Needed a new challenge :)
@FredOverflow When Mahjongg goes sour on you, be sure to pick up the Rubik's Cube. Speed cubing is an excellent waste of time
 
you need a decent cube though
 
5:36 PM
@BartekBanachewicz Dahyan Zanchi (spelling?) seems to be nice
 
my cheap one used to disassemble in my hands, parts flying in every direction
@sehe I've never really was into speed cubing, tbh. I capped at 2:00 minutes, then stopped
 
@BartekBanachewicz Yeah, mine is 'okay' - had to lube it before I got anywhere. I'm still >1 minute though. More frequently around 1'30" actually
13
 
@sehe that's what he said.
 
@BartekBanachewicz I think the cubing is meh, but the speed intrigues me. Something with playing musical instruments, I suppose
@BartekBanachewicz Hey. 1'30" isn't bad :>
Nope. The thought actually didn't enter my mind. But now it does
LOL
 
@sehe and I've heard that when you get older, you grow up or something ^^
 
5:38 PM
@sehe Someone tried to teach me RC some months ago. I was very astonished and also bored at the same time.
 
@BartekBanachewicz Nah. Don't let anyone tell you nonsense :)
 
@FredOverflow Optimizing algorithms on RC is kinda cool
 
@sehe You play a musical instrument?
 
@BartekBanachewicz Well, it's more like: learning shortcuts by heart - then repeating them until you can do them quick as hell
@FredOverflow Erm. Yeah
 
@sehe uh, I wish I had more willpower to actually practice. I haven't picked neither my guitar nor keys in like a month
@FredOverflow he's kind of epic in music (theory)
@sehe more or less
 
5:40 PM
Mar 17 '12 at 18:21, by sehe
@je4d Violin and piano. Besides I conduct, and tonight, apparently I'm a singer :)
 
@BartekBanachewicz I bet he's an A minor in music ;-) (hint: that reads A-C-E)
 
@BartekBanachewicz whew. thank you, I guess
@FredOverflow that's a nice one. Extra points for punnyness
 
yesterday, by Bartek Banachewicz
I should write a lounge song.
yesterday, by Bartek Banachewicz
And it would be in C#
 
Ode to lounge
 
Sorry for repost.
 
5:41 PM
@BartekBanachewicz Can you write the song in an artificial key between C and C#? :)
 
@BartekBanachewicz Yeah, it happens to me sometimes. I hate it when I slip the mouse like that
 
public class loungeSong {
 
@FredOverflow Microtonal music. Yep. Lookup Alois Haba or similar
 
C(halfflat)(sharpmaybe) ?
 
@ThePhD lmao
 
5:42 PM
@FredOverflow ummm... Either as @sehe said, or on weird instrument like hang.
I don't play non-fretted instruments, so I might be a bit ignorant here :P
 
Can't you just tone the instrument down a bit? :)
 
Hm.
 
the point is it wouldn't sound good with any other instrument
 
ubiquitous_ptr ... I MUST FIND BETTER NAME FOR YOOU
selfish_ptr
 
i mean, it's possible
 
5:43 PM
exclusive_ptr
 
reference A1 is 440Hz
 
@ThePhD Describe the purpose.
 
you can just change that, and voila
 
unique_ptr<T, COMDeleter>?
 
I wonder if @Cicada plays something too, so she could be better in everything.
 
5:44 PM
@DeadMG i.e. ComPtr
 
@FredOverflow unique_ptr, but with the ability to interop with COM-like functions ( overloads operator & and also provides (explicit only!!) (void**) casting.
 
Anyone here tried google Go?
 
It can take on any deleter, though
 
How is it?
 
5:45 PM
@ThePhD void**? OUT!
 
nice, but noone is using it.
 
q_q But it's explicit only!
 
@FredOverflow A void pointer? How creative.
 
Go doesn't even have templates, right?
 
@GamesBrainiac no, a pointer to void pointer
 
5:45 PM
@FredOverflow No templates? Go clearly doesn't lift.
 
IIRC it has them
 
@FredOverflow I think it will have or already has.
But Go is really fast though
 
@FredOverflow scordatura :) It won't affect the key, though. It's just a different mapping from fingering to sounds
 
waaa
these are strange!
 
@ereOn anyways, installing GitPython fixed things, apparently. Maybe one of these days I'll be brave enough to try it
 
5:47 PM
Guuise
If I had a webpage, and I needed to snap data off that webpage,
how would I go about doing that? I heard the words wget and CURL once, but...
 
@ThePhD yes, you can wget or CURL the page :p
 
Ell
qth root of a^p equal (qth root of a)^p
 
Those are system utilities, right?
 
@ThePhD I heard the words wet and GIRL once.
 
@ThePhD also come as libraries
 
5:49 PM
C++ libraries?
 
Ell
@thephd I have used ruby easily for this, do you know it?
 
@ThePhD ....C? :D
 
Cheeeeeeeeeeeeeeeeeeeeeeeeeese
 
@ThePhD No way. Tell me you're not also trying to get us to help you scrape web pages lame-o style :) There's a room for that
 
@FredOverflow ... it was awful? :P
 
5:50 PM
I'm actually just trying to snag the DES(Unix) off a hash generation page.
 
Ooh, Perl.
 
@ThePhD Wut. In English please
 
@sehe lol
 
@sehe That's an awful lot of strange symbols :D ♯, ♭ and ♮ are only I know from those; I never needed anything else while playing trumpet :D Anyway, music symbols tend to look funny for people not knowing what they are.
 
5:52 PM
9 mins ago, by sehe
@FredOverflow Microtonal music. Yep. Lookup Alois Haba or similar
 
Ouch.
That's crazy.
 
@sehe insidepro.com/hashes.php?lang=eng This page generates Hashes for a number of functions. They have a DES(Unix) hash that changes for every page load, so I wanted to just snag it off there.
 
@ThePhD Can't you just snag the javascript?
 
@sehe What the... what do those arrows mean?
 
5:53 PM
@Griwes "it's raining"
 
I wonder how they found such a small computer
 
lolputer
 
@ThePhD any particular reason why you want to snag a random hash off a webpage? o.O
 
@Griwes Implementation defined. There's no (real) standard on microtonal notation
 
Hm, if there's javascript, I can't find it.
 
5:55 PM
Oh, guess what notation I'm never going to learn and be interested in.
 
I think they do it behind the scenes and then dump it on the web page in a table.
 
@ThePhD There isn't AFAICT. You might use fiddler to spot any ajaxy service
 
@melak47 No reason, just curious.
@sehe Fiddler is a Firefox Extension? :O
 
@ThePhD I think it has one
 
@AaronH <iframe src=thatlink> or something. idk. this is the C++ lounge :p
 
5:57 PM
@AaronH questions go on Stack Overflow
 
Anyone read any good fantasy novels lately?
 
Questions go on... oh wait :)
 
@GamesBrainiac Only pterry.
 
@AndreiTita Say what now?
 
I get a hashes.php from Fiddler, no AJAX or anything though.
I can sniff my own SO messages though. :D
 
5:59 PM
 
@GamesBrainiac Yeah. Pretty well-known stuff, but you can pick it up if you haven't already.
 
@AndreiTita Sounds good. I just read The First Law series by Joe Abercrombie
@AndreiTita The ending was depressing, so I just wondered if anyone read anything recently
 
lol
 
@AndreiTita Have you read it?
 
No.
 
6:02 PM
@AndreiTita I actually read the list of the books a programmer should read.
I need to find the link again. And I was actually surprised to see some fantasy novels! :P
 
9 mins ago, by melak47
@ThePhD any particular reason why you want to snag a random hash off a webpage? o.O
 
One was The Alchemist by paulo Coehlo
 
@sehe My guess is that it has some useful information?
 
@GamesBrainiac I don't see how. You can come by the algos on WP, AFAICS
 
6:04 PM
Meow
 
Woof?
 
@sehe I guess so. But recently, I've been looking at this book : amazon.com/…
For algorithms...
Pretty good, has some really awesome algos in there.
IMO
 
I hereby command every priest in the Catholic Church to do 100 Hairy Males.
^ that took me about 10 seconds :)
 
.... OOH.
 
@sehe WTF?
 
6:08 PM
I see what he wrote there.
 
@sehe oh dear, you feeling ok?
 
@GamesBrainiac I've read a books of that style. I stopped because it's all just as quickly forgotten
23 hours ago, by sehe
@thecoshman tender is "raw"?
 
@sehe I can imagine. But I guess, I am young and still have my share of tedious things to do! :P
@MooingDuck : Hiya Moo! :D
 
@GamesBrainiac So much truth
 
@sehe erm... yes?
 
6:10 PM
@sehe I am but a humble philosopher! :P
 
@GamesBrainiac code for 'drunk'
 
@thecoshman I think he was talking about steak.
 
@GamesBrainiac who?
 
@thecoshman sehe
 
@GamesBrainiac hey
 
6:11 PM
printf "%07d" | tr 0 n # Print the character 'n' 7 times. Equivilient of print 'n' x $i; in Perl, which is useful at times. Make a function.
 
@GamesBrainiac you realise sehe is a bloke?
 
^ Equivilient is a cromulent word?
 
@thecoshman Eh? I am terribly sorry.
 
@sehe No.
 
Oh well. I'm a polar bear. I have thick skin
 
6:11 PM
@GamesBrainiac well it's not like it really matters, nor that I really care gender you think sehe is
 
@thecoshman I'm very tender
 
@sehe (I think it's mostly fur)
 
@thecoshman It does not, but I'd prefer avoiding awkward situations.
 
@sehe boy you need to get your ass a dictionary!
 
@MooingDuck What have you been up to recently?
 
6:12 PM
@thecoshman It's mostly fat, though
 
@GamesBrainiac working
 
@GamesBrainiac awkward would be waking up with him after a night out
 
@thecoshman Well, I don't read with my ass
 
Well, your partner could read off your ass then.
 
@sehe well, I try flatter you, but nope, your a fatso!
 
6:13 PM
@MooingDuck Moo, can I just ask. Have you ever created anything useful with linked lists?
@sehe Your ass has eyes?
 
@sehe you don't?
 
@ScottW I see what you did there. ;)
 
@GamesBrainiac In a strangely related streak of coincidence: no
 
@sehe gasp
 
Anyhoops, duty calls. Rehearsal in 30 minutes. See ya all
 
6:15 PM
@sehe Pooping practice?
 
@GamesBrainiac you got some sort of vendetta?
 
@thecoshman Nah! :P Just like poking fun at sehe.
 
@GamesBrainiac at first, I was told they were good for fast random insertion and deletion. Then a peer observed that getting to the point of insertion/deletion takes so long that linked lists are virtually useless. Later, I learned that linked lists are great at splicing, but that rarely comes up. However, I actually recently discovered that some node-based containers to create temporary linked lists out of nodes, because it makes inserting/removing nodes into complex containers relatively easy.
namely, I made a binary tree that when you do an erase, will remove the nodes to be erased from the tree into a linked list, and then it deletes the nodes.
 
linked lists have their uses in implementing more complex containers
but in terms of themselves, they're not much use
 
@GamesBrainiac hashmaps also commonly use linked lists
 
6:18 PM
@MooingDuck Could you explain (sorry to take up so much of your time), but could you explain exactly what splicing is. I just found out it was a linux call : en.wikipedia.org/wiki/Splice_(system_call)
 
The main use case of std::list is if you need iterators to remain valid if you modify it.
 
@GamesBrainiac Nothing to do with linux.
 
@GamesBrainiac splicing is where you (A) pop a region out of the middle of a sequence, or (B) move a region into the middle of a sequence.
 
@EtiennedeMartel Or, I feel, if you have other means of finding the desired node- such as a hash.
 
@MooingDuck Oh, so like in Python. [3:4]
 
Xeo
6:20 PM
@DeadMG Too bad unordered C++ containers don't give you access to the hash of an element that easily.
 
@GamesBrainiac I'd call that slicing, just taking sections of a list
 
@Collin Thanks Collin. So thats all it is. But the question still remains, why are just normal Array based lists bad?
I mean, you can still splice well enough.
 
@GamesBrainiac They're not
 
@Xeo Can't you just rehash the key?
 
6:24 PM
@MooingDuck : Just asking. Why is splicing done better by a linked list? I mean, Arrays are good enough.
And What is the advantage of putting them into a linked list?
 
@GamesBrainiac Under the right circumstances, you can splice a linked list in constant time, whereas splicing arrays takes linear time.
 
Xeo
@GamesBrainiac every reference to the elements remains valid when spliced.
 
@DeadMG I used it for my Event implementation, because list iterators are unique and do not die on insertion and erasure operations!
And thusly, they can be used as Event tokens.
The other option was using a never-delete vector and keeping a list of free spots with vector<std::size_t> and using std::size_t as a token, but that seemed like too much work.
 
@JerryCoffin Hmm...I guess so. Removing should take constant time, its just that, I find it really cumbersome.
 
@GamesBrainiac For what it's worth, some asshole asked essentially the same question on SO some time ago.
 
6:26 PM
@GamesBrainiac when you splice out of a linked list, you can splice out 100 nodes out of 1000 in a list, in O(1) time. It's like 6 pointer assignments, and it's done. No matter what.
 
Xeo
@MooingDuck Not in C++. :(
 
@Xeo why not?
 
Ahh, yes, but should that just not cause a memory leak, since the memory addresses are still valid?
 
@JerryCoffin An asshole?
 
@JerryCoffin I don't think the guy is an ass hole. He asked a good question.
Wait...it was you
 
6:28 PM
@EtiennedeMartel Yes -- for asking what was (for him) a purely rhetorical question.
 
Xeo
@MooingDuck size must be O(1), which means you must cache the size, as such splice must be O(distance(removed_begin, removed_end)).
 
@GamesBrainiac what? No, I mean, minilist = biglist.splice(node100, node200); minilist is now that section that was removed from the biglist.
 
@Xeo More accurately: not with std::list, though it's certainly possible in C++ if you implement your own linked list.
 
@Xeo I fail to see why caching the size makes it nonconstant.
 
@MooingDuck Ahh... That makes sense. Thanks moo.
I still find it stupid though
 
Xeo
6:29 PM
@MooingDuck You need to update it when splicing stuff out or in. Tell me how you find out how many nodes you spliced out.
 
@Xeo oh.... right.
 
@MooingDuck lol...
 
Xeo
You can have either O(1) size or O(1) splice.
 
Is there a way to detect if unordered_map features collisions?
 
@ThePhD iterate over buckets
 
6:31 PM
Hm.
 
@R.MartinhoFernandes Ars has a piece on DF.
 
So, what I can see is that linked lists are good for multi-threading.
 
@GamesBrainiac multithreading?
 
@MooingDuck Concurrent data structures.
 
@GamesBrainiac I like deque-like better
 
6:33 PM
@MooingDuck I guess we all have favourites. But if you take a look at it, having a linked list for multi threading makes a lot of sense
 
@GamesBrainiac so does deque-like, which is faster and uses less memory. Deque is similar to an "unrolled" linked list.
 
@ScottW Probably because Google knows you're a programmer, so it shows you programming-related stuff first.
 
I don't think I can ever get into DF...
That game looks so damn complicated. And its visual representation is maddeningly jarring. @__@
 
@MooingDuck deque-like? You mean something similar to deque or based on the deque structure
 
@ScottW It uses cookies, IIRC.
 
6:37 PM
@GamesBrainiac for super-granular multithreading, I'd probably want something with lockfree queues that works on similar concepts to std::deque, otherwise just use std::deque and a normal lock
 
@MooingDuck Soooo many new words! :P
I need to study more.
 
> A sidebar notes it can be easy to kill off all your dwarves by accident on your first couple of tries. Given that my band of dwarven followers refused to die in a timely fashion, I’m not sure if I’m a natural at this game or so profoundly terrible I can’t even accomplish this simple step.
 
> One day, maybe our children will no longer be judged by the color of their avatar, but by the content of their posts.
 
@EtiennedeMartel Such wonderful words. I am on the verge of digital tears.
 
6:40 PM
@MooingDuck By the way, those are never really lockfree, right?
 
@EtiennedeMartel I dunno, I've never needed super-granular multithreading
 
I mean, a spinlock is still a lock.
Even if it only uses CAS.
 
'Lockfree' isn't necesarily related to the presence or not of locks.
 
I am so happy I am not the only person confused about lockfree! :P
 
Ell
@ThePhD have you used the graphical one?
 
6:44 PM
There's "Graphical" Dwarf Fortress?
 
I wonder if DF would be better with an actually usable GUI.
Or if the game is needlessly hard because of the crappy interface.
I hate fake difficulty.
 
Difficulty does not justify bad design.
 
Ell
@ThePhD sort of, it's a proper graphical font
 
@EtiennedeMartel yeah, but it's nonblocking. That's how Anthony Williams defines it in CiA.
 
6:49 PM
@EtiennedeMartel oh yes
@EtiennedeMartel you've never heard of a lockfree queue?
@EtiennedeMartel I checked, turns out I misunderstood what "lockfree" means. Apperently "lockfree" means it guarantees that at least one thread continues. What a stupid term.
"Until 2011, wait-free algorithms were rare, both in research and in practice. However, in 2011 Kogan and Petrank[6] presented a wait-free queue building on the CAS primitive, generally available on common hardware. " en.wikipedia.org/wiki/Non-blocking_algorithm
and "Additionally, some data structures are weak enough to be implemented without special atomic primitives. These exceptions include: single-reader single-writer ring buffer FIFO"
 
Yeah, that's generally how you implement a fixed size queue.
 
Ell
Is there a way to have read protected memory? for ex. if you wanted to store passwords in memory, to prevent them from being read from other processes?
 

« first day (863 days earlier)      last day (4101 days later) »