« first day (642 days earlier)      last day (4305 days later) » 

8:00 PM
I always had only problems with them.
 
@CatPlusPlus >.> <.<
 
do you prefer { on same line or next line
 
@IAmBatman Next
 
On the same one. Unless it's C++ and it's ctor with an init list
 
A parser for things
Is a function from strings
To lists of pairs
Of things and strings
Such a lovely poem!
 
8:00 PM
tabs should die
 
@RadekSlupik :set expandtab
 
@IAmBatman usually the same line, unless the current line is linewrapped
 
@PeeHaa Why?
 
@DomagojPandža Give us our Kyro credentials you cruel person.
 
But in the end I just gave up and switched to 4 spaces, seeing that everyone uses them
 
8:01 PM
@CatPlusPlus A cat signal to defend the internet
 
@CatPlusPlus Soon™. I just woke up and I'm not really sure which Universe I'm currently inhabiting. :D
 
some_ctor(... 5 arguments ...) :
    ... 15 members ...
{
}
 
@CatPlusPlus I have added some things to the .vimrc including syntax highlighting.
 
Looks better than with { on the same line as members.
 
But I can not live with editors without a smart backspace, that works as a DEDENT when only having whitespace to the left of it
 
8:02 PM
But it looks sexy, doesn't it? :Đ
 
anyone want to watch one of the coolest videos on YT? 100% serious: youtube.com/watch?v=17jymDn0W6U
 
<< in normal mode dedents.
 
@SamDeHaan Tabs may screw up alignment on different systems (e.g. github as just one example) and I personally hate them so it should die ;)
 
@MooingDuck ideone.com/ksjpG I think I got all the pieces.
 
You don't stay in insert mode when you're done typing text.
Type type type type, ESC.
When moving around and shifting text you're in Normal.
Also you can look at my vimrc for some cool stuffs.
@DomagojPandža GIMME.
 
8:03 PM
@MooingDuck Shit. I updated it.
 
;_;
And the codez.
I want.
 
map <Esc><Esc> :w<CR> :P
 
I have save on focus loss.
 
@Drise that's got to be one of the ugliest file formats I've ever seen :( besides perl
 
@Drise That's worse than httpd.conf.
 
8:05 PM
@MooingDuck Tell me about it. But that's what they want. And it works alright. But it's harder than balls to parse.
 
@Drise so, you know how to parse and load file.lib right? You got that part?
 
@MooingDuck I got all of this. But it's a piece of shit that's on par with c code. And it works only if you don't try too hard to break it.
 
@Drise fyi: MYOTHER looks a lot like MOTHER
 
What file format are you talking about?
 
@nightcracker ideone.com/ksjpG hybrid everything text
 
8:09 PM
:(
the person who came up with the idea to mix XML with... well anything should be shot
why are programmers so persistent on using XML for data interchange?
 
Meh. I'll stay with TextMate and Emacs.
 
Radek
 
@Drise well, I'm going to use the restroom, then eat lunch
 
@nightcracker Because teh enterprizeh.
 
I said, a week
 
8:10 PM
@nightcracker what's your preference?
 
@Drise I might work on it after lunch
 
I'm expecting you to say json
 
I learnt how to use Emacs in a fucking day.
 
@TomW binary for same-platform, json for portable
 
@RadekSlupik: are you still as productive as you were on that day
 
8:10 PM
@MooingDuck Ok, I'll at least get testing when <FILE_BEG> isn't present. Thank you again.
 
@TomW: actually I was working on my own format :)
 
@nightcracker I'm much more productive since then.
 
oh christ...
 
IKR :)
 
@nightcracker json is fast to parse, and standard, leave it be :D
 
8:11 PM
The only email regex that works: .+@.+.
 
Mooing: well, it's based on JSON
Mooing: but it solves some minor stuff, like NaN etc
 
JSON or YAML are fine, no need to reinvent stuff.
For binary formats, Protobuf.
 
lol BSON
 
I prefer to be able to read the garbage my badly-written program is spewing
 
8:13 PM
big sound of nothing?
 
If your output is 20MB when in packed binary format, imagine it in JSON.
 
Well, imagine it in XML.
 
and then lie down in a safe environment
and imagine it in XML
 
What's that XML you talk about.
 
He-who-should-not-be-named?
 
8:14 PM
Oh of course you also need SOAP and a bunch of other non-sense.
 
Rumor says it's a markup language.
 
Nonsense.
XML is a metalanguage.
You can do markup language in it, like XHTML.
But it's not markup on its own.
 
@CatPlusPlus: what does XML stand for?
 
yeah
what the fuck even is an XML schema?
 
last time I checked it was Extensible Markup Language
 
8:17 PM
Well, I might be using a different definition of markup language.
 
@nightcracker Did you know that a pineapple is not an apple and does not come from a pine tree?
 
It's still metalanguage regardless.
 
@EtiennedeMartel: did you know that a pineapple in my native language is an Ananas and that only this stupid language has that confusion :)
(and in fact you probably do)
 
@nightcracker Stop stealing words from my language.
 
So that brings the dutch count to 3
 
8:19 PM
I ain't Dutch.
 
@CatPlusPlus It's "ananas" in French too.
 
oh wow
 
Has anyone ever found a good alternative for Google Codesearch?
 
My point was that sometimes, things are named some way for historical reasons.
 
@StackedCrooked: nope :(
 
8:19 PM
@StackedCrooked I barely ever use it.
 
I used it in the past to find "documentation" for some obscure things that didn't have documentation
 
Oh, they shut it down. See, I didn't even notice.
 
Lol, apparently it's still available via a different url.
 
Xeo
chkdsk on a 2TB disk with 1TB filled is gonna take loooong...
 
8:24 PM
is that the one with the broken usb cable?
 
I call for reinforcements
-1
A: C++ Class Initalization

DeadMGPoint p(5, 5); // ..or Creates an automatic variable "on the stack". This means that it's lifetime and memory is fixed to it's scope. Point* p = new Point(5, 5); Creates a memory leak, double delete, or heap corruption in your program. This means that it guarantees to crash your program, cau...

 
Xeo
Strangely, I couldn't pass a path and had to pass the just the disk letter :(
 
> Creates a memory leak, double delete, or heap corruption in your program. This means that it guarantees to crash your program, cause it to corrupt user data, or other fun side effects.
 
Why is it on Programmers?
 
Oh, you.
 
8:25 PM
Why does Programmers exist.
No, seriously, what the fuck is that site for.
 
Programmers
 
Xeo
@keith.layne I hoped it was the broken USB cable :(
 
pretty much the same as chat rooms, just in a different format
 
I can't downvote. :(
I don't like sites where I can't downvote.
 
@Xeo: yay NTFS
 
8:25 PM
oh...good luck, at least you're able to read it, right?
 
@CatPlusPlus Why did you link to Programmers? :D
 
Xeo
I can read almost anything except a certain directory
the weird thing is, I could still read that one while I was at home, now not anymore
 
@EtiennedeMartel What? It's pretty accurate.
 
is it anything near, in or closeby C:\Windows ?
 
Xeo
That's why I just wanted to pass a path
 
8:26 PM
Come on guys, we're the QA Squad! We have to make sure @DeadMG's answer gets to the top!
 
Xeo
nah, external HDD
 
because that folder is so magic
 
GOGOGO!
 
@CatPlusPlus For people who'd get downvoted on SO? :Đ
 
@DeadMG I type [programmers.se] out of habit.
 
8:26 PM
ah
 
Xeo
I mean, I could always download the stuff in that folder anew, but I want to know what's wrong with the disk...
 
oh yeah, I keep forgetting that you can link to the other Stack Exchange sites in a much shortened fashion.
 
@Xeo: it's in NTFS :)
 
Xeo
200 of 258288 files processed :(
 
Also [so], [sf] and [su] and [meta].
I'm a chat wizard.
 
8:28 PM
@DeadMG I have trouble upvoting "Creates a memory leak, double delete, or heap corruption in your program. This means that it guarantees to crash your program, cause it to corrupt user data, or other fun side effects." That's merely a probability, not a certainty.
 
makes me want to prepartition my external drives that are that big from now on.
 
Xeo
The worst is that I have no chance of making a backup
 
well, it's pretty undeniable that the probability is extremely high.
 
Xeo
since that's the only HDD I really have, and it's that big :(
 
@DeadMG: the problem is the assumption that it will
 
8:29 PM
yeah, I may as well assume that creating a global is bad. Technically, you might only use it in like, one place, but the reality is quite different.
especially for a novice to C++.
 
Xeo
213... this is gonna take forever
 
@Xeo Stop looking.
 
Xeo
can't :(
 
@Xeo: Put Ubuntu on a USB stick, boot it, plug in and mount the hard drive and then do the debugging.
 
@DeadMG You could mention that std::shared_ptr essentially works like a Python reference since Python objects are ref counted (at least in the case of CPython).
 
8:30 PM
or better yet something smaller, the gparted iso or something
 
@DeadMG You're also using make_unique while talking to a guy who doesn't know the difference between a stack variable and a dynamically allocated one
 
@EtiennedeMartel Very good point.
 
@Prætorian Very good point.
 
@Prætorian Especially considering that make_unique isn't standard...
 
huh?
 
8:32 PM
@Prætorian It's pretty easy to find material on make_unique, or he can ask another question about it.
 
what about make_shared?
 
It's standard, because that's the only sane way to create shared_ptrs.
 
This is how puppy thinks.
 
evening, I'm gone
 
@DeadMG Well it's also pretty easy to find material on what new does in C++
 
8:33 PM
that's true.
 
I seem to remember a conversation about this a long time ago...I was annoyed then too that make_unique is not standard.
 
Everyone is.
 
it's quite unfortunate that make_unique was not included as Standard.
 
I will call make_weak on you.
 
So no one answered the cat's earlier question ... what is programmers for? how is it different from SO?
 
8:34 PM
It's sad. I think I must be the only one left on SO with any sense of humor at all.
-2
A: simple hello world with C++ in eclipse Juno

Jerry CoffinThough it's probably not immediately obvious, the problem here really is with your code, or at least an incompatibility with Eclipse. This stems from the fact that Eclipse is written in Java, so it expects everything to be done in the most roundabout, incomprehensible fashion possible. For the re...

 
it's chat.so, but with a different format.
 
@Prætorian Roughly speaking, Programmers is intended for more abstract questions about the industry and etc.
 
and instead of stars, you get rep
it's roughly as on topic as this.
 
@JerryCoffin I upvoted.
 
@DeadMG So really a good fit for that particular question then
 
8:36 PM
lol
 
@JerryCoffin The Lounge may not be able to keep you at a positive score on that one :)
 
@JerryCoffin you're a pimp.
 
Protip: Don't use "%s" in a format string then pass it a std::string -- is causes sadness and inexplicable system lockups
 
@JerryCoffin SO is terrible. Don't go there.
Stay with ussss.
@Collin Don't use printf.
 
@JerryCoffin Yeah, @Cat likes youuuu.
 
8:39 PM
@CatPlusPlus It's a logging API we have :/
 
@Collin Use Boost.Format or FastFormat.
Don't use printf.
 
@CatPlusPlus I would, but nobody's given me an excuse to post that particular monstrosity here. :-)
 
@CatPlusPlus Boost doesn't exactly build for embedded linux all that nicely :-P
 
@Collin It's header-only.
 
Have any of you guys used perforce?
 
8:40 PM
NO.
 
@JerryCoffin I flagged your answer. I still laughed though.
Who was it who absolutely hated Perforce? @MooingDuck?
 
Flagwhore.
 
@CatPlusPlus Sluuuurp.
 
I don't know why anyone would pay for a VCS.
 
@Collin What type of hardware are you developing for?
 
8:41 PM
@JimNorton it's a nios2
 
Reading the website they make it sound like the WWJD vcs.
 
@CatPlusPlus I can understand the general idea -- but paying for one that bad is a whole different story.
 
> Perforce is a leader in enterprise version management.
Right, ENTERPRISEY.
 
So, it works best with Java?
 
git or Mercurial is good for anything you might need. No need for that crap.
 
8:42 PM
I know Perforce is the thing they use at Ubi Montreal. Probably because SVN is crap and Git or Hg did not exist when they started 15 years ago.
 
I wouldn't pay, but I was curious if it was actually decent.
 
You have to pay for it.
So, no.
 
@Collin Interesting...
 
I have to say, I like Hg a lot more than git. Not totally sure why.
 
@keith.layne I'd say it graduated from the Oracle school of product management: it's expensive. It's large. It's overkill for most applications. It's a pain to use if you did not take the required courses.
 
8:43 PM
What about MS Team Foundation Server thingy? ducks
 
nice
 
@keith.layne Python vs Torvalds.
 
@keith.layne I have to wrap my head around hg terminology, I keep thinking in git, which is just different enough to be dangerous
 
the best thing about it was that it serves svn, right? (TFS, that is)
 
Xeo
8:44 PM
Okay, I expect things to go smoother after the first 2k files, since those are anime episodes which are genrally 300mb each
 
hey etienne
 
I like Hg more, too.
 
want to discuss some Kyrostat stuff with you
 
Xeo
or more
 
want to hop on irc?
 
8:44 PM
But git is usable nowadays, so it's mostly a personal preference.
 
Okay, just a sec.
 
Using paid VCS means you have too much money.
In which case you're better off giving it to me.
I promise to have fun with it.
 
@CatPlusPlus Or you work in a company where people don't trust free stuff
 
But GIT is written in... gasps.... C!
 
@Prætorian It's a dumb company, then.
 
8:45 PM
One nice thing about git and hg are that you can use http(s) repos without root. SVN blows for that.
 
Huh?
You don't need root for anything related to SVN.
 
I love linux but hate Linus.
say you don't have ssh access
 
@keith.layne Contrary to popular belief, I'd guess Linus has done more to keep MS profitable than almost any other single person on the planet.
 
@JimNorton I thought there was a lot of perl in there too?
 
you can't do svn https without mod_dav stuff
 
8:47 PM
Or am I confusing something else
 
@Collin Might be, but I heard C and Shell..
 
I get that he's smart. Awesome. DeadMG's smart too, but he's an asshole too.
 
You don't need root to run webserver with WebDAV.
And if you don't have SSH access, someone is setting repos for you anyway.
 
@keith.layne You forgot to plink him on that one
 
8:48 PM
This is from Linus Torvalds... you'll have maybe read it, but for those who haven't it's worth a read ( at least for a different perspective )...
http://forum.gwan.com/index.php?p=/discussion/587/its-bs-because-git-was-not-written-in-c-no-you-are-full-of-bullshit-linus-tovalds/p1
 
@JimNorton Guess I'm remembering wrong
 
Yes, we've read it. No, it's not worth a read.
 
@Prætorian I am invisible to him, I can talk all the shit I want.
 
4
A: In which programming languages are technologies like Git built and how can I learn them?

seanhodgesMuch of Git is written in C, along with some BASH scripts for UI wrappers and other bits. Some alternatives are written in higher-level languages (Bazaar is written primarily in Python). They can match the same speed for some tasks (often routine tasks like committing and merging), but many al...

 
there is a funny video out there of Linus telling nVidia "fuck you"
 
8:49 PM
He doesn't know C++.
 
oh yeah, @StackedCrooked don't you use bzr? Isn't that a dvcs too?
 
@IAmBatman Why did he say that to NVidia?
 
@IAmBatman Ah thanks,
 
I like how every time Linus says something retarded, the fanboys come and slob on his nob over it. They're like girls who prefer assholes. He would piss in their faces given the opportunity.
 
Xeo
So, what do I do now until chkdsk is done... any suggestions?
 
@keith.layne Either way, his opinion carries weight
 
Linus doesn't care about anything except the things he cares about. He isn't interested in any of the work that people who aren't him do.
 
I'm playing Plants vs Zombies.
;_;
 
@TomW that sounds suspiciously accepting of Linus
 
Xeo
8:54 PM
The problem is that everything I might do something with is on my external HDD :s
yay, 854
 
He's quite entitled to that opinion, and doesn't tend to extend it to things that he doesn't care about - other people do that. For the stuff that he does, the way he does it is probably the best way.
 
Some people say stuff like that as if it's a good thing...I can't tell what you meant
 
Xeo
Ugh
 
> Linus doesn't care about anything except the things he cares about.
 
8:55 PM
Yes, yes, tautology much?
 
@CatPlusPlus ?
 
If 1000 members join this club, this club will have 1000 members.
 
and I'm the president of the tautology club
 
Xeo
@melak47 I think that was directed at me
 
heh, bored, are you? :/
 
8:56 PM
Beat my level. I dare you.
 
Xeo
I think I'll go catch up on some anime by watching them online... meh
 
I think I'll go ask Linus to piss on my face
 
Xeo
I wanna play Muv-Luv Alternative, but the ISO for that is on the HDD
 
What is your username there cat plus plus?
 
@keith.layne wear an nvidia ballcap
and it might just happen
 
8:58 PM
nice
 

« first day (642 days earlier)      last day (4305 days later) »