« first day (737 days earlier)      last day (4196 days later) » 

8:00 PM
@Chimera Because Alf managed to completely suck my joy.
 
sbi
@MooingDuck "I find it sort of disappointing that Amazon doesn't have a "Look Inside" feature for this book's listing :( " Haha!
 
I'm such a VIP in the bin.
5
 
@Cicada Félicitations.
 
Bin Queen.
Queen of the Bin
 
what's the deal with gifs anyway?
 
8:00 PM
@EtiennedeMartel Well I didn't suck your joy, so please don't take it out on me.
 
Not everyone's computer can load them, I think.
 
sbi
@melak47 Just read The Rules.
 
@melak47 they make SO chat freak out on some browsers (Or did, I haven't heard anyone mention that they had this problem in the last year)
 
oh, that's the "thriller" video i think! :D
in the bin
 
sbi
@MooingDuck Oh, I never heard that one.
 
8:01 PM
@Chimera Sorry.
 
@EtiennedeMartel apology gladly accepted.
 
@sbi It's something I've heard, but never heard validation of.
 
For some reason I still can't believe Michael Jackson is actually dead.
 
@sbi loungecpp.wikidot.com/owners%3Anewbie-hints "Please make sure you're not posting any animated gifs so that they will be oneboxed, because this makes them flicker over everybody's monitor until we have managed to chat it off the screen. "
 
sbi
8:03 PM
@MooingDuck FWIW, I typed that rule into the newbie hints, back in the day, but I'd like to think that it was because most here were annoyed about animated gifs. That's also what that rule gives as an explanation.
@MooingDuck See, said so.
 
I would've thought that "flicker" refers to the gif animating about :p
 
@sbi apparently I misinterpreted the sentence as "causes SO chat to flicker" or otherwise glitch.
 
Another reason to not post animated gifs is that they rarely add anything to the discussion except derailing and attention grabbing
Same thing with most meme images
 
@Pubby Wouldn't this apply to everything?
 
I hate it when code works fine in debug and crashes in release :(
 
8:04 PM
Even a comment, question, or anything would defer from the original topic. It's the foundation of a chat. You can't discuss one thing constantly.
 
sbi
@MooingDuck VC?
 
@Rapptz Comments don't take up a quarter of the screen and flash
 
@sbi yes
 
@Pubby Indeed, @Cicada is quite attention grabbing.
 
@EtiennedeMartel Tu ne dis pas.
 
8:05 PM
:5897066 someone beat you to it
 
aw, now you beat me to pointing it out to you :p
 
sbi
@MooingDuck Uninitialized variables, likely. VC will init them to zeros in debug, but not in release. You can, however, also debug a release build. Just have the compiler and linker produce debug symbols.
 
i blame the bad network connection!
 
I think "flash" is an over-exaggeration.
 
8:06 PM
@sbi my Visual C will always init my variables to 0xccccccccccc (repeated ad naseum)
 
@ThePhD Isn't it 0xCDCDCDCD ?
 
sbi
@ThePhD Or was it that? I forgot. Never mind, my point is that it reproduces. You don't have that determinism in release builds.
 
Even teh booleans have their whole byte written out to 0xcc and you get this annoying thing when they're shown in the debug window, with

initialized : true (204)
 
@Rapptz Wait until I post my penis gif
 
So redditt is down because Amazon EBS services are degraded at this time.
 
8:08 PM
@Cicada Nope, it's 0xCC. I checked because back when I was a noob that's how I knew the thing wasn't initialized. Rather than just, y'know, looking at my bad code.
 
http://www.asawicki.info/news_1292_magic_numbers_in_visual_c.html "CCCCCCCC - Used by Microsoft's C++ debugging runtime library to mark uninitialized stack memory
CDCDCDCD - Used by Microsoft's C++ debugging runtime library to mark uninitialized heap memory"
 
..... Haha. Insinuating I'm not still a noob. Ha ha hoo.
 
@MooingDuck Oh, I didn't know that. Thanks!
 
@MooingDuck Ooh, cool. I must always be using stack memory, then.
 
does anyone here use winrar?
 
8:10 PM
I use 7-zip
 
@Cicada Hmmmm.
 
Winrar is for losars
 
@Cicada Other compilers are more original. If memory serves, the Sun (Oracle) compiler initializes most uninitialized space to "0xdeadbeef". Can't remember who, but somebody else uses 0x0badf00d.
 
dead bad xo
 
@JerryCoffin While that's funny, I think 0xCD is more helpful because it's a pattern that also works on 1 byte and 2 bytes.
 
8:11 PM
works in reverse
 
0xC1CADA
 
@Cicada Write your own compiler. It'll sell millions.
 
@Cicada If I ever see that, I'll know you've written a compiler!
 
if you know anyone who uses winrar, here's something fun to try if you get a hold of their computer for a second :)
open winrar
go to the settings -> integration menu
add ".exe" to the list of user defined archive extensions
 
@ThePhD I'd love to.
 
8:12 PM
@Cicada It sounds like there's a 'but' in there.
 
@ThePhD 'but I tremendously lack the required knowledge and skills to do so. maybe in another life'
 
Aww. :c
 
@sbi good idea, I'm examining my code, but can't find any uninitialized variable in the area.
 
@Cicada You still have plenty of time to learn (and even if that age=51 rumor were true, you still would).
 
@Cicada C'est pas avec une telle attitude que tu vas progresser.
 
8:14 PM
I think
 
sbi
@MooingDuck Well, just create debug symbols, and when it crashes next time, you have a stack to look at. What more do you want? I have been working in shops where it was considered a crime to ship code without storing the debug symbols somewhere safe.
 
if I make it into Microsoft again, I'm gonna see if I can sneak into their compilers department.
 
@JerryCoffin I actually have a heavy dose of courses on compilation (in OCaml, sadly). But for some reason I'm feeling very inconfortable in my school, and I refuse to learn anything. That's stupid I know, but I'm currently rebutting everything.
@EtiennedeMartel soyons honnête, je n'ai pas le niveau.
@ThePhD I'd love to work with the C# team.
 
@sbi I have the stack. I can view most of the variables. They look fine to my eye :/ I'll find it eventually.
 
I'll probably end up doing Java AbstractSingletonBeanProxies though.
 
sbi
8:16 PM
@MooingDuck You have the stack? So what's it crashing about?
 
The C# compiler is -so- ridiculously nice.
 
sbi
@Cicada Uh oh. I distinctly remember having heard something similar here before. Didn't end well.
 
And it's lexical parsing is godly.
 
sbi
You might want to change something about this setup, before it gets the best of you.
@ThePhD It's not the compiler. The language is so parser-friendly.
 
@sbi Are you referring to DeadMG? How did it end? I haven't really followed.
 
sbi
8:17 PM
@Cicada The puppy? He's applying without a degree.
 
@Cicada I don't know enough about your school to say with any certainty about it, but I'd certainly go so far as to say it could be entirely justified. An unfortunate number of teachers seem to feel obliged to "push" instead of leading -- trying to force students into what they think is right, instead of simply helping expose them to what's known. My own reaction to being pushed was always to push back, at least twice as hard.
 
@sbi Is it working? I mean, in France you'd probably get booted.
 
@sbi Yeah, I guess so.... But it's just so nice, when you build it tells you where the error is and localizes the majority of your errors, rather than explode everything in your include file down onto the translation unit and produce 100 errorneous errors an whaudhwjkadhawjdhwk DAMN YOU C++!!!!!
 
sbi
@Cicada Search for the first occurrence of "sock puppy" here in the chat. Take it from there.
 
Can I write a little text about my current feelings at my school? It's a bit personal, I hope it doesn't annoy you.
 
sbi
8:20 PM
@ThePhD Yeah, when you create a language in one go, you can have that. C++, however, somehow mushroomed into what it is now, and there's very little we can do about.
 
@Cicada If you find the school too problematic, I'd strongly suggest looking for another school instead of just quitting though. They're not all the same!
 
sbi
"You"? There's ~45 people in this room.
 
@Cicada Sure.
you'll probably find I identify with it a lot
 
@Cicada why not post it at a pasting service
if it gets longish
 
@Cicada If it's very long, it's probably better to write it somewhere else, and post a link here -- but I'd most likely read it.
 
8:21 PM
I'll put it in the bin.
or pastebin.
 
@JerryCoffin @Cicada @DeadMG I hated my first school, so I transferred my first year. School's a bitch to get right.
 
with all your other stuff :-)
 
sbi
@Cicada Now. Do not censor yourself! :)
 
I tried to stick it out, didn't work out :P
that reminds me
ever since I got back from Oracle I've been endlessly tired and sick
it's been nearly a week and I've done fuck all
 
..... It's just dawned on me.
 
8:22 PM
@Cicada Tututu.
 
I might not finish this project on time.
I need help.
.... I have to recruit other coders.
 
@DeadMG Anxiety, nerves?
 
naw
probably just jet lag and all the shit I ate whilst travelling and birthday and such
 
@Cicada Reminds me. There's I guy I worked with. Originally bac + 8 in France, decided to move to Quebec because everywhere he went, he was told he was "overqualified", and the jobs he could get all had sucky pay. So, he came here, and found a job at the place I'm currently at. They never asked for his degrees, only for his actual work experience.
 
8:23 PM
@DeadMG ah... yeah traveling can be rough.
 
I can find it quite easy to slump, almost
you eat the wrong foods once, because you're travelling or someshit, and you're tired
then they make you sick, so you're tired again, and you can't be arsed to cook anything so you eat quick food.. again, etc
 
@EtiennedeMartel So do you get paid to drain brains?
 
@Chimera That would normally be before the interview, not after. On the other hand, I can normally eat just about anything, but airline food usually makes me at least a little ill. Given a fragile stomach like Dead's, I can't imagine who awful it would be.
 
it's a "positive" feedback loop
 
@LucDanton I get paid to make tools for game developers to make games with.
The guy had a similar job, although it was slightly lower level.
 
8:25 PM
@EtiennedeMartel How'd you get into that industry?
 
still bickering?
 
@DeadMG Bread with delicious things on it is my usual fix up: easy and fun to prepare, isn't too bad nutritionally speaking. I think.
 
sbi
@EtiennedeMartel How would that even matter? See, I asked about "heated discussion", and he dared answer with "I had a little debate yesterday". (No kidding!)
 
@JerryCoffin That's true. But sometimes waiting for a response after an interview can take a toll.
 
@robjb Bachelor's degree in computer science from an average university. Did an internship that eventually mutated into a full fledged job.
 
8:26 PM
@LucDanton My family buys the most icky bread, and the bread I ate at university made me rather sick.
 
@EtiennedeMartel No I mean to paint an attractive picture of Quebec and attract foreign workers!
 
@EtiennedeMartel I want to learn from you. o-o
 
@EtiennedeMartel Did you have prior experience in the industry before you got your position? e.g. internship or modding experience?
 
@DeadMG Going to the baker's is fun!
 
sbi
@EtiennedeMartel Yeah, of course, after a decade of experience in the industry, nobody asks about your degree anymore. The problem is to somehow get that decade without a degree.
 
8:26 PM
@robjb Nope.
 
I feel lucky to have made it in this field without a degree. But at the same time I feel like I've let myself down a bit.
 
@sbi Interestingly, he had little to no real experience in the field. He mostly worked as a teacher.
 
@sbi Microsoft is pretty gracious if you can just show you're talented. As a university student getting in to do internships is actually on the easy side.
 
@EtiennedeMartel Interesting, I would love to get into that
 
@LucDanton Actually, there's a lack of workers here, especially in CS and SE. So get your ass here.
 
8:28 PM
@sbi it's disingenious to ask for proof that i'm generally right, and construe it as proof that i'm wrong but won't admit it. it is a form of lying you're doing there, sbi. trying to make people believe it. and my example isn't enough for you. possibly to satisfy you i would have to point to examples plural today where i've been wrong, instead of the one i cited from yesterday. that's plain idiocy
 
@ThePhD are you joking?
 
Do you guys know what the default PATH environmental variable is for Windows 7 64-bit?
 
@sbi Alf really likes the verb "lying", eh?
 
@EtiennedeMartel Alright, making a mental note of it.
 
@bamboon ... Er. I'm wondering if I should say yes, or what I feel...
 
8:28 PM
@ThePhD I've not seen any postings by Microsoft that imply any such thing
 
user142019
Well fuck.
 
user142019
I forgot my OpenID.
 
@EtiennedeMartel that is your fifth lie today, as i count
 
I just... might be lucky then?
I mean, I'm talking internships, not Full Time.
 
@ThePhD well, I though MS was the place where you had to solve ridiculous interview questions
 
8:29 PM
I'm pretty sure Full Time will put you through the anal ringer.
 
@bamboon They all did, at one time or another
 
@Rapptz I'm sure it varies depending on install configuration
 
lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying lying
 
@Cheersandhth.-Alf And I give exactly zero fucks about that.
 
proof: you know that you don't know anything about that. yet you try to convince others of it. that's lying, by definition.
 
sbi
8:29 PM
@EtiennedeMartel Shrug. Really, just look at the starboard. And that's a message full of swear words, and yelling at someone. Normally, even here such isn't starred. I guess most of us are just fed up with him.
 
5
Q: What is the default PATH environment variable setting on fresh install of Windows 7

DevelopingChrisA user of ours cleared their path, thanks to some directions on the internet. What is the default path, I am a developer so I have tons of extra stuff in mine, what should my user get on a plane jane one?

I found this on Super User.
 
I remember one time when I nuked my PATH variable by accident.
Not a happy day. Lost everything. =[
 
@DeadMG One of my friends had somewhat decent grades and no real experience aside from three internships (one at Sun, two at Ubisoft). Then he applied for an internship at MS, got in, and now he's working there.
 
Maybe they use one of the restore points to get it back?
 
"Oh I guess I'll just run this progra-" MISSING, MISSING, MISSING.
 
8:30 PM
@DeadMG you think it got better?
 
could well have done
 
@sbi the only reason you're doing this social argumentation is because you know that you're entirely in the wrong. otherwise you wouldn't feel it necessary. it was wrong of you to help delete that question again, for example.
 
@bamboon Marginally -- many (most?) still have ineffective interview processes, but they're at least starting to realize that they're ineffective.
 
@bamboon I can't say this about every company, and I've only made it into Microsoft twice - and only for internships - but the technical questions aren't neck-breaking. Usually it's revelant to (A) what you're applying for and (B) meant to examine how you tackle a problem, not if you can solve it.
 
@sbi Yeah, I don't know what I haven't plonked him already. Maybe it's because I don't like plonking.
 
8:32 PM
@Cheersandhth.-Alf Pot, kettle?
 
Then again, I'm so new to this I don't know what 'easy' versus 'difficult' interview questions are.
 
i get so sick of people who have to turn everything into us/them social stuff. primitive. still, one can't drop out of society entirely
 
sbi
@EtiennedeMartel Well, either that or stop reading his "replies" without plonking. :)
 
@ThePhD easy: program fizzbuzz.
 
@Chimera At least IMO, more like oil and water. Either seems fairly reasonable by themselves, or with most other people, but around each other it's pretty much guaranteed problems.
 
8:33 PM
Aug 21 at 6:49, by sbi
@curiousguy When suddenly everybody is driving the wrong lane, usually it is wise to question your own judgment of right vs. wrong lane, rather than to assume that all the others are wrong. (If everybody driving the wrong lane isn't a sudden surprise, but a constant experience, I'd suggest therapy.)
(I feel like it's appropriate)
 
@MooingDuck ... Now, that might be difficult for me, because... I don't know what fizzbuzz is.
 
sbi
@Cheersandhth.-Alf Yeah, it's either you or them, right?
 
@sbi Hey, I just quoted you.
 
So if you asked me that interview question....
I'd probably fail. :3c
 
@ThePhD Fairly famous interview question
 
sbi
8:34 PM
@EtiennedeMartel Yeah, this keeps getting quoted. :-/
 
@MooingDuck Don't like 90%+ of people fail that?
 
@EtiennedeMartel indeed
 
@sbi what are you trying to imply now? what is the question that you think some of you (including you, or not?) have got right?
 
@sbi It's a symptom of a larger problem.
 
8:35 PM
@ThePhD It's normal to explain it. (print numbers from 1 to 100, but if multiple of 3, print fizz, multiple of five print buzz, multiple of 15 print fizzbuzz).
 
you're just pouring out new social arguments
they're fallacies
 
Oh, shut up with your social stuff. Damn it.
 
@ThePhD "Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"."
 
i can't even get what it is you're trying to argue, except that i'm sort of negative
 
@JerryCoffin Oh yes. But I pointing that Alf was the pot calling the kettle black.
 
8:35 PM
Oh yeah, that's what it was. 199 out of 200.
 
user142019
@ThePhD Sample FizzBuzz implementation that appeals to recruiters for Oracle and Microsoft: code.google.com/p/fizzbuzz.
 
@Chimera My point was that neither one is really all that "black" -- it's mostly around each other that the fireworks start.
 
@E'rybody ... Wow. How do 90% of programmers fail that? Particularly, 90% of Comp-Sci GRADUATES?
 
The phrase "The pot calling the kettle black" is an idiom used to claim that a person is guilty of the very thing of which they accuse another. Interpretations and origins As generally understood, the person accusing (the "pot") is understood to share some quality with the target of their accusation (the "kettle"). The pot is mocking the kettle for a little soot when the pot itself is thoroughly covered in the same. An alternative interpretation, recognised by some, but not all, sources is that the pot is sooty (being placed on a fire), while the kettle is clean and shiny (being plac...
 
sbi
@Cheersandhth.-Alf FFS, Alf, I am not "implying" anything there. I am telling you outright that, while bemoaning those "others", you are doing exactly what you are bitching about. If you think I am "implying" something when I hold my argument up right before your face, maybe it's time to go to bed and sleep it over? Because I don't think this constitutes straight thinking anymore.
 
user142019
8:38 PM
@ThePhD well, because those “graduates” learned to code, not to solve problems.
 
I'd understand like, if you don't remember what Insertion Sort is or how to implement a linked lists and tradeoffs and shit, or packing words into a fast-lookup trie that needs to be space-saving because it's on a mobile platform, but.... seriously?
 
@sbi what are you "telling me outright", did you say? i'm trying to get a handle on it. but i am not telepathic
 
You can't figure out Fizzbuzz? In like your favorite language?
 
@MooingDuck That seems rather easy if you know the divisibility by 3 and 5 rules.
 
That's just.... sad. =[
 
8:39 PM
@Chimera like %3 and %5?
 
user142019
If you don’t know about modulo you’re not a programmer.
 
@Chimera oh you changed your gravatar again, I thought we had a visitor for a while
 
@MooingDuck lol that works also
 
@sbi you're talking in evasive roundabout language that i fail to understand
 
sbi
@Cheersandhth.-Alf Go to bed, Alf. Tomorrow the world is nice again, and I'll slap your shoulder. If you weren't so far away (and if it weren't so expensive in Norway), I'd even buy you a beer.
 
8:40 PM
@WTP'-- But the Fizzbuzz problem is so -simple-. Not solving that is like... how could you even call yourself a graduate of anything?
 
@MooingDuck It's my last avatar change for a while. Apparently it confuses people too much.
 
user142019
@ThePhD graduation tells nothing.
 
user142019
The only thing graduation tells is that you finished school.
 
user142019
That’s all.
 
Am I the only one who thinks school is for learning how to tackle complex problems?
 
8:40 PM
iirc you don't have to take many "programming" courses in university as a requirement for comp sci.
 
user142019
And school is so simple that even the dumbest fool can finish it.
 
sbi
@Chimera The last one is always thought to be the last one.
 
user142019
@EtiennedeMartel Know it, it’s awesome. :P
 
@sbi :-)
 
8:41 PM
..... Nevermind. I take that back. This is actually why I left my first college. I didn't learn anything, and I almost quit school entirely.
 
@ThePhD that is such a broad statement, isn't everything really just helping tackle complex problems
 
so, we're done with string concatenation, and now it's FizzBuzz?
 
@Abyx You should make a new problem! Engineer the new FizzBuzz! We'll call it, FizzBuzz++!
Tacking ++ to everything looks weird.
 
School++
Life++ - spice it up
 
it should be ++X, not X++
 
8:43 PM
School++ is like, going for your Masters
 
@sbi well i only have one issue with you, your voting to delete a question that at that time had 5 incorrect answer + 1 corrected one. there is a possibility that the corrected one was not technically wrong. but anyway, it was a good question, and you should just not let your emotions move you to delete to fix a social issue.
 
@ThePhD University-level CS is pure theory. Or, to say it differently, it's math disguised as CS. So, naturally, you don't really know how to solve problems when you get out of there.
 
++School is like, undergrad.
 
sbi
sex++ ++sex
Sorry, someone had to say it.
 
user142019
--sbi
 
user142019
8:44 PM
Because changing topics. :P
 
sbi
@WTP'-- I was just trying to get the lion to insert a few funny pix from reddit.
 
@EtiennedeMartel Beercan Every time.
 
sbi
@JerryCoffin Took you a while to google that, didn't it?
 
@EtiennedeMartel I think every semester of my college education I had at least one course that required I program things
 
sbi
@Cheersandhth.-Alf Haha, you of all people talking of "you should not let your emotions move you"! I hope I didn't startle my little girl sleeping in the neighboring room when I read that.
 
8:46 PM
@Collin The minute I got done with Programing 101 I said 'never again', because they had me program menial shit that meant nothing and couldn't be used anywhere.
I still ended up takin Data Structures and Programming 102 and all this other nonsense.
When I transferred though, they tried to make me take it again. :3c
 
What were you hoping on starting with? We did a little monte-carlo simulation, something about calcuating speed of falling due to gravity and a sudoku solver
 
@Collin SEE THAt'S COOL SHIT I WOULD HAVE LOVED TO DO THAT
 
@sbi Not exactly. I'm a member on that web site, so I knew what I was looking for, but sorting through the lens list to find the right one isn't quite as easy as I'd wish.
 
@Collin MY OWN STRING CLASS IS JUST A WASTE OF TIME.
 
@ThePhD I think I had to write a string class at one point
Had to write my own userspace thread library in OS class
 
8:48 PM
@Collin You know what made it better? It was our final project.
 
@sbi noted, you choose to look away from the issue raised, and focus on emotions
 
class MyString; was our FINAL project.
 
You can imagine what the buildup to the Final project was.
 
@ThePhD Engineering 101 (which was basically programming 101) the final project was the sudoku solver
 
8:49 PM
'Today, class, let's talk about integers...'
AAAAGGGGH TABLE FLIP TABLE FLIP
Oh my god, and don't get me started on the 'Game Programming Class'
 
People read Kotaku still?
 
You know what we were supposed to program a game with?
 
Is "Ghost in the Shell" in English?
 
Alice <-----------------------
 
Is that a Kevin Mitnick book, Luchian? :p
not unlike Ghost in the Wires?
 
8:50 PM
I was told we were going to make a game, that we were going to build tools, help people, and then I get to the class and the Professor - THE HEAD OF THE FUCKING COMPUTER SCIENCE DEPARTMENT - says 'We'll be using Alice.'
 
@ThePhD if that's the old talk program, a lot's happened since then
 
@ThePhD Got to write a text adventure game in C++ in my advanced and object oriented programming class
 
@Cheersandhth.-Alf Are you thinking of Eliza?
 
@Collin WHY DIDN'T I PICK YOUR UNIVERSITY FIRST? DDDDD:
 
@ThePhD I've heard Alice is sorta neat, but I've never actually tried it
 
8:51 PM
that looks sort of incomplete
 
ALICE IS A NIGHTMARE.
 
yes i was. sorry. mixup
 
NEVER, EVER.
Evvvvvvvvveeeeeerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr.
 
Why is there caps all over my screen.
 
Rage.
Rage at Universities.
 
8:52 PM
I'm finishing page 4 then I'll post.
 
@Cicada Everybody seems to be having a crappy Monday.
 
oh programming language!
 
Yeah ;_;
 
I mean, the data structures class and such was still boring, but valuable
Like having to implement our own linked lists and binary trees
 
sbi
@ThePhD "...writing string classes is one of the most popular indoor sports among C++ programmers" — P.J. Plauger in 1995
 
8:53 PM
It's actually all my fault, though. I had a number of Universities to pick from when I went to my first year of undergraduate.
 
@Cicada maybe it's cold?
 
Btw. What do you guys think of "professional Prolog" ?
 
@sbi In 1995, it even (sort of) made sense (there being little alternative). In 2005, pointless. By 2015, we can hope it's a crime.
 
@ThePhD It's tough to get a good idea of the kinds of things you're going to learn before you even go
 
And I picked one because it felt nice and cozy and felt like I belonged there, rather than for the rigor.
 
8:54 PM
@ThePhd It's only after that you can properly evaluate your options
 
there's no way you could perform a meaningful university comparison without having at least gone to one once
 
sbi
@JerryCoffin Well, the book I found this in was The Draft Standard C++ Library. :-/
 
s/after/after picking
 
@Cicada Became famous on the Japanese "Fifth generation computer project", which was, by all accounts, extremely professional -- though a complete flop in the end.
 
@Cicada huh. i used the clocksin/mellish prolog book. edinburgh prolog. never heard of "professional prolog"
 
8:54 PM
@sbi m_FmtData = new WAVEFORMATEX_BASE; where WAVEFORMATEX_BASE is POD. Good job.
 
@MooingDuck 'Grats.
 
sbi
@MooingDuck LOL! Thanks for sharing!
 
@MooingDuck How can that fail, exactly?
 
sbi
@Cicada Missing parenthesis.
 
Oh.
 
8:55 PM
@Cicada members of WAVEFORMATEX_BASE are initialized to zero in debug, not release, unless you have () on the end.
 
@sbi I thought it just used the default constructor in that case/
Oooh.
 
@ThePhD not if it's a POD.
 
...... I'm
 
@ThePhD Since it's POD, it doesn't have a constructor.
 
I'm just, uh. Gonna go add some parenthesis
 
8:56 PM
Mmh, it does.
 
to my code. In certain places....
Okay.
So my Shader System is down.
File System Watcher can come later - it's really icing on the F5 Build Cake.
What's the next target...?
 
@ThePhD in general (not accurate), if you provide no explicit constructor, then members who do not have explicit constructors will not be initialized. (Things with constructors will be initialized safely always)
 
@MooingDuck Ah, okay. Good to know.
 
It's really weird that a POD class does have a default constructor but using value-initialization bypasses it.
 
sbi
8:58 PM
246
Q: Do the parentheses after the type name make a difference with new?

David ReadIf 'Test' is an ordinary class, is there any difference between: Test* test = new Test; //and Test* test = new Test();

 
@LucDanton only for elements that don't have constructors
 
And it's also not specific to new expressions. Test t; and Test t {}; exhibit the same.
 

« first day (737 days earlier)      last day (4196 days later) »