« first day (1687 days earlier)      last day (3275 days later) » 

6:00 PM
Ok, built Boost, built zlib, building LLVM and libarchive
 
@Jefffrey Seeing as he created the earth 6,000 years ago, of course he is
Er, of course we are, I mean.
 
^Earth is far older on common scientific consensus :-P
 
Deathstroke fight in Arkham Origins is so fucking annoying
 
6:15 PM
@πάνταῥεῖ Yes, that is the joke.
@CatPlusPlus Why so?
 
Sure, I got that
 
Unblockable moves, overreliance on countering, no fun
And you can't skip it and if you trigger it you can't get out
 
what does
 
Eliminating people one by one when they can't see is what's fun in Batman games, straight fighting is meh
And I have no patience for this boss fight, so guess I won't be finishing this one
 
finished=0 , while (!finished) {finished=1;} mean in C? does that mean as long as finished is not
 
6:18 PM
Ok, finished building LLVM and libarchive
 
ITT cat likes beating up blind people
 
@TheArtist It's a syntax error
C:/__MOJE/PROJEKTY/NotMine/Wide/premake4.lua:50: Must provide at least one argument to path.join!
fuck
 
@milleniumbug ok gimme one second :) its not clear
 
is there something akin to class member aliases? Probably not since it would complicate compilers considerably.
 
Xeo
PSA: We're not C room. Or C book. Or C helpdesk. Or C anything.
@Veritas what would that be?
 
6:22 PM
pseudocode: using fraction = std::pair<int,int>; using numerator = std::pair<int,int>::first
 
Xeo
Member pointer
 
yea I was just about to say that member pointers are the closest to that :p
 
@Veritas I suppose you could call pointers to members "member aliases" :p
lol
 
Xeo
but no, just write your own struct for stuff like that.
 
obviously, I was just curious.
 
6:24 PM
What the fuck
 
^^^ is there some sort of convention where 0 means false?
 
Xeo
1 message moved to bin
No walls of code in this room.
 
@TheArtist yes
 
@Xeo oh okay sorry :) i didn't know that
 
@Xeo Can there be balls of code?
 
6:25 PM
@Columbo make one and let's see
 
@melak47 and ! infront of the variable means ??
 
not
 
Who the fuck flagged the wall of code
 
@Jefffrey Related:
-2
Q: Blacklist [wtf]; the tag that reincarnated

CrazyPythonThis tag has been deleted and redeleted. This tag was most likely (re?)born out of a user with >2k reputation being exhausted and not understanding why the code works the way it does. It's not a tag by Stack Overflow's standards, expressing emotion rather than giving specific detail for that que...

 
6:27 PM
@πάνταῥεῖ Needs a better title.
 
71
A: bool to int conversion

Nawazint x = 4<5; Completely portable. Standard conformant. bool to int conversion is implicit! §4.7/4 from the C++ Standard says (Integral Conversion) If the source type is bool, the value false is converted to zero and the value true is converted to one. As for C, as far as I know there...

 
It wouldn't let me choose, "[wtf] is this?".
 
@Mysticial I'm actually OK with the tag, as you see ;-) ...
 
@milleniumbug nice, wasn't aware that mem_fn supported member variables.
 
The more you know...
 
6:29 PM
int a=5;
cout<<&a;
O/p is 0x28ff44
is this address where a is stored in memory or anything else ?
 
What the hell
 
Yes, I believe that is the address.
 
ayyy my app is done
not bad
only a few hours
 
App?
 
3 hours ago, by Alex M.
out of these two apps that I have to do for the prof
 
6:30 PM
@Jefffrey What the heck ...
 
android is still not done yet
 
why the fk isn't it possible to su to guest
 
and they're basically having kinda the same functionality
html + angularjs only took me a few hours to get a nice UI and functionality done
 
Wait, you're developing for iOS?
 
3 hours ago, by Alex M.
I'm having the most fun on Win8 + WP
 
Xeo
6:31 PM
@milleniumbug you filthy heretic! using ideone instead of coliru!
 
yes
iOS
 
Ooh I thought you needed a Mac to do that.
 
@Xeo Ideone is so crap tbh
 
@Xeo Doesn't work on my machine for some reason.
 
6:33 PM
@milleniumbug Buy a new machine then
 
Ok WTF @ GCC 5.1... I got excited that it supported the add-with-carry intrinsic that MSVC had _addcarry_u64(). But it turns out that every single function that uses it gets miscompiled... fuck
 
The first criteria is that a fucking browser works on it
@Mysticial ?
Miscompiled?
 
@Columbo More specifically, my browser.
 
@milleniumbug Firefox?
 
Yep.
 
6:35 PM
@milleniumbug Firefox is crap. Get Chromium
 
Firefox is fine.
 
@Columbo I have a special optimized path for MSVC and ICC that uses _addcarry_u64(). When I saw that GCC finally picked up that intrinsic, I thought I would just could just use the MSVC path for it.
Nope...
 
@Mysticial What is an "optimized path"?
 
what does while (!nameofavariable) mean????? what does it do while?
 
@TheArtist do you know what while (nameofvariable) does?
 
6:36 PM
@Columbo I have multiple implementations of the same functions. The optimized version uses MSVC/ICC-specific compiler intrinsics.
 
and do you know what !nameofvariable does?
 
@TheArtist It means "while variable is zero".
 
@Mysticial Okay, so you decided that you'd take the implementation corresponding to MSVC/ICC and that would work with GCC, and it did not?
 
@milleniumbug Heh.
 
4 messages moved to bin
 
6:38 PM
@Blob I know when nameofvariable= or < or > or <= , but not simply the variable or !variable
@Nooble oh thank you so much
then does that mean while (variable) means while the variable is 1?
 
@Columbo Yeah. I've had the optimized implementation for about a year now. And it works fine with both MSVC and ICC. I (naively) thought I could just turn it on for GCC since GCC 5.1 finally added the same intrinsic.
 
@TheArtist Or false, I mean, which would be zero.
 
@TheArtist ! is a logical NOT.
logically negates variable
 
@TheArtist Yes, essentially.
 
@Blob don't feed the trolls please; these are the basics, he needs to read a book /cc @Nooble
 
6:40 PM
Troll?
He doesn't seem like he's trolling.
 
@Nooble that's how they get you
 
@Nooble as if you'd be able to tell
 
Now I need to figure out whether it's a GCC 5.1 bug, or whether I'm doing some UB that MSVC/ICC doesn't care about.
 
@ScarletAmaranth no I'm not trolling anyone
 
Are you Cicada
 
6:41 PM
he is
 
@milleniumbug Cicada asks way shittier questions
 
@Mysticial see, if I was doing micro-optimizations like that, I would simply right-away assume I'm in the UB land; I love your confidence ^^
 
atm I'm plonking anything that resembles cicada
 
@TheArtist you may not be but it will be more time-efficient for you to read a book anyway.
 
@AlexM. Even if he is trolling, he's not being malicious.
 
6:42 PM
@Blob how is logical negation beaten in shittiness?
 
@ScarletAmaranth should i really try to find something shittier?
he's using a mac, he's not trolling
 
^^^ I'm watching my university lectures and doing and learning, and whatever i can't understand
i am asking on this chat :)
and today is my first day in C
 
Xeo
22 mins ago, by Xeo
PSA: We're not C room. Or C book. Or C helpdesk. Or C anything.
 
pretty much ^
 
6:45 PM
@Nooble Yup, just completely clueless
anyway, *plonk*
 
i really appreciate everyones help :) I'm sorry since i didn't know if i was doing something wrong. reason i ask here , is that i saw that i can ask follow up questions from you guys :) and its less time consuming than trying to look through a big book to find a particular answer
 
hi @JoshPetrie
sup
 
Well to be fair the C room is pretty inactive and this falls into scope of C++ even though I too like to treat C and C++ seperately even for the same language subset. And it's not like posting such a question in SA would be constructive for nearly anyone. But @TheArtist, looking for the rules for conditionals should be easy with a bit of googling so I suggest you get familiar with it asap.
 
Get a book first
 
@TheArtist Ah. There's the misunderstanding. This room has a standing policy to not answer questions because it would otherwise be full of people who were asking about things they should have posted on SO.
 
6:47 PM
I mean an actual book
 
@ScarletAmaranth If you think that's bad. How about this: When my code fails in a place that I haven't touched in a while, the first thing I suspect is the hardware. The sad part is that I'm right about 50% of the time.
 
@Mysticial o_O
 
Xeo
@TheArtist It's annoying for us. We're not an interactive helpdesk. You're not just missing some information, you don't have the fundamentals down at all. You need some basic education in C. Go and get that. Going through your book in order would be a good start.
8
 
@Mysticial how's your new job coming along btw?
 
Pretty good so far. The work that I'm doing is definitely much more interesting than at Google.
 
6:48 PM
@Mysticial You have a mildly terrifying level of ability.
 
And so far, I haven't been getting treated shit yet - which was my greatest fear of this new job in financial.
 
@Veritas , @jaggedSpire , @Xeo thank you :) i understand :)
 
@Mysticial mmm; couldn't you complain in google that you wanted to work on more interesting stuff? Or are they that over-staffed?
 
@ScarletAmaranth It wouldn't have mattered. 1) They don't have any specialist positions for performance. (at least I couldn't find any) 2) They weren't willing to give me a competitive counter-offer to stay.
 
@Mysticial you worked at google ? :O
 
6:51 PM
@Mysticial I wonder just how over-staffed they are (and how long they'll be able to not care about other companies poaching people)
 
Woah, Google Chrome is using 2574MB of RAM.
 
That's what you pay the browser for.
 
did he work at google people?
 
You pay it to use your RAM to render pages
 
@ScarletAmaranth They aren't over-staffed. They're quite under-staffed actually. The team I was on before I left had only 2 people. We needed more, but there wasn't anyone else available.
 
6:52 PM
@TheArtist yes
 
@TheArtist does it matter?
 
Google is hiring like 300 people a week. It's insane.
 
Apparently to him
 
Google needs to hire me.
 
wow , thats so cool! even i want to join. thats my dream job company
 
Xeo
6:52 PM
Dunno
 
@Mysticial I thought they were like 20% overstaffed considering people can do "whatever they want" 20% of their worktimes
 
Xeo
Google doesn't sound like that nice a place to work at.
 
I'm sure they can fit a koala in there.
 
@TheArtist what exactly is your dream job (the position)?
 
@Mysticial at what age did you start learning to program? and on what project did you work on?
@Blob to work in Google :D
 
6:53 PM
@TheArtist that's not a position
 
@Blob thats the best place to work in, the offices are so cool
 
@Xeo It's actually a very nice place to work. Being under-staffed isn't really much of a factor to the individual.
 
For a lot of people not yet familiar with the field, Google sounds like it's the top company on technical development so it sounds cool to say the least.
 
Though being under-staffed means that you spend a lot of time interviewing candidates.
 
yeah right; then you look at google coding guide-lines and you're like: riiiiight nope bai kai thanks
7
 
6:54 PM
@blob i want to go there as an intern :) thats what i want in the near future.....
 
I never quite made it to the point where I had to interview tons of people.
 
@ScarletAmaranth I know right!
 
@TheArtist Wow--you really are new here, aren't you?
 
@JerryCoffin i joined like 5 hours back or so
 
@JerryCoffin I bet it's Cicada
 
6:55 PM
@JerryCoffin newest....
 
Probably a freshman if he is taking a first-time C course?
 
@TheArtist I did calculator programs early in high school. I didn't start doing real programming until I was like 18.
 
i am a freshman and yes this is introduction to programming :) first time first semester course
 
@Veritas Yes, but freshman in college, or in high school?
 
@TheArtist He means, what will you be working on? What kind of programs?
 
user1804599
6:56 PM
I'm not fresh.
 
@rightfold Nor man.
 
user1804599
!
 
@ScarletAmaranth Nor woman
 
@ScarletAmaranth Norman
 
@Mysticial oh i see. and what work did you do at google? :)
 
6:57 PM
I think he's a hoover. (Has been established for a few years now.)
 
He cleaned floors.
 
@TheArtist he wrote code
 
@ScarletAmaranth A prince? A fresh prince?
 
@Blob ok :)
 
@TheArtist I wrote code.
 
6:58 PM
@Mysticial ok :P
 
@ScarletAmaranth No. Cicada is a master troll. Her weakness is she can't play a nitwit without inadvertently letting transpire that she is a master
2
 
@TheArtist College or high school?
 
college :)
 
Do you people have C courses in highschool? o.O
 
@Veritas yes
My school offers one for seniors
 
6:59 PM
@sehe There may, in fact, be some truth in thy words.
 
and i remember someone messaging that I'm some cicada or someone, I'm not :) i dont even know who that is
 
it's a systems course, not a "C course", though
 
@Veritas Certainly didn't when I was in high school (but back then, C was almost unknown outside of Bell Labs and a couple of colleges).
 

« first day (1687 days earlier)      last day (3275 days later) »