« first day (710 days earlier)      last day (4254 days later) » 

2:00 PM
In defense of goto, I have to say that... well, actually not much. I have used it, as posted earlier - when will I get my space-ticket? Can I take a friend? The guy who wrote the Windows code I'm currently refactoring springs immediately to mind. Will I get the code for the airlock?
 
@DeadMG ? Still waiting for the punchline.
 
what punchline?
in Java, int i = 0;, gosh, an automatic object
 
@DeadMG This is how stupid arguments begin. How is that an automatic object?
 
A language does something differently than another language? Who would've thought.
 
uh, well, it's destroyed when the function scope ends, for one
 
2:01 PM
@Neil What's an automatic object?
 
@Neil Define "automatic object".
 
what other property of objects did you mean by "automatic"?
 
It does things! Automatically!
(It's a stupid name anyway)
 
There's another name for those.. ints aren't automatic objects in C++, why should they be automatic objects in Java?
 
What.
 
2:02 PM
uh, any type can be an automatic object in C++
 
@CatPlusPlus Value types
 
They are automatic objects in C++ if they are automatic.
@Neil That's not C++ terminology.
 
int in Java is a value.
 
@DeadMG To be fair, we were talking about non-primitive types.
 
@R.MartinhoFernandes In fact, I said it had another name in Java
 
Xeo
2:02 PM
noes, LWS is broken again
 
@CatPlusPlus No it's not, it's derived from the old meaning of the storage specifier auto.
 
Xeo
Aaaand... ideone is down
 
@Xeo It's a conspiracy.
 
@bitmask And that proves exactly nothing.
 
1
Q: Nested spin_lock_irqsave

user1697356If the code is as below void test(void) { spin_lock_irqsave(&lock1, flag); ... func1(); ... spin_unlock_irqrestore(&lock1, flag); } void func1(void) { spin_lock_irqsave(&lock2, flag); ... spin_unlock_irqrestore(&lock2, flag); } Will there be any issue with the ...

 
2:04 PM
Hint: it was a stupid name then, too.
 
Xeo
Absolutely
 
this is hard to reason about
because spinlocks disable CPU interrupts
 
It's Linux kernel, and it's C. Of course it is
 
Xeo
I just wanted to test a snippet. T_T
 
so while holding the lock, nothing can interrupt CPU
 
2:04 PM
@CatPlusPlus I didn't intend to prove anything. The meaning is that the object will be released automatically when the frame is popped.
 
I know the meaning THANKS
 
and in both Java and C++, int exactly fits
 
The garbage collector in java ensures that all objects are automatically released, so anything is technically automatic
 
@CatPlusPlus I would have been seriously surprised if you didn't, but I really don't see what is stupid about the adjective "automatic" in this context.
 
@TonyTheLion Because he doesn't know what the OP wants he can't tell you how to do it right.
 
2:06 PM
Giving my two weeks' notice today. D:
 
Not just ints, it is a meaningless term in Java
 
@Neil No, it doesn't ensure that.
 
@Neil Uh, not really.
Congratulations
 
yesterday, by Cat Plus Plus
Rules are for bad posters, so you should read them.
 
yes, constructors have no return type
that's correct
 
2:08 PM
Dumping is bad, m'kay?
 
Your compiler passed a truth test, congratulations.
 
Sorry. Where is my code??
 
in the bin
 
2:09 PM
@ErBnAcharya I binned it.
 
cause you violated the rules
 
It escaped the confines of this reality.
 
It shuffled off this mortal plane
 
Transcended into a higher plane of existence.
 
Honestly I don't know why you bother pinning the rules to the starboard. No one reads them anyway.
 
2:09 PM
Honestly, It's so we can link to them faster
 
So we don't feel bad about making fun of them.
 
lulz
also Itunes and nuclear weapons
 
Those are valid reasons indeed
 
@TonyTheLion I don't know why you bother linking the rules. No one reads them anyway.
 
Xeo
room topic changed to Lounge<C++>: We took too long to change the topic, and now people are coming for that iTunes nuke demo. [.read-the-rules] [c++] [c++11] [c++-faq]
 
2:10 PM
@Neil you should read them.
 
@Neil A garbage collector that leaks everything is valid for a Java GC.
 
Xeo
Ohey, using a . works for ordering
 
@kbok Without stating the rules you cannot invoke them.
 
I think peoples are rude here
 
Yes, they are.
 
2:11 PM
Yes, we're a rude bunch.
 
Xeo
@ErBnAcharya You're free to leave.
 
Never been known to be polite.
 
@TonyTheLion Shutup.
 
shush you
 
@ErBnAcharya Why do you think so?
 
2:11 PM
:)
 
Xeo
@TonyTheLion -1, not rude enough
 
fuck off
good enough? :P
 
./grabs popcorn
 
@TonyTheLion -1 Not enough jQuery
 
2:12 PM
@Neil ermagherd
I don't know jQuery, neither do I have a need to know it
 
@ErBnAcharya Really? Cause I think that just dumping your code and error message in here is also pretty rude.
 
@Xeo , Really? I didnt knew that.. How to Leave this page??
 
@ErBnAcharya Muahaha! You're trapped! We've got you now!
 
@ErBnAcharya close the tab
 
Burn the tab.
 
2:13 PM
@ErBnAcharya Uhm, closing the tab in your browser should do it. It's a legend though, never tested.
 
@TonyTheLion You're doomed to spend the rest of your life here... aww..
 
@Neil I've been doomed for a long time. I don't care anymore.
 
Xeo
We need some question as a dupe for "PLEASE FUCKING USE SMART POINTERS!" questions.
 
har har
 
2:14 PM
@ErBnAcharya Hydrochloric acid and bleach mixed will help you escape. Make sure the room isn't ventilated, either.
 
lol
We're awesome trolls!
 
@jornak That's just .. wrong
 
@sehe Yeah, amazing answer!
 
@ErBnAcharya Try holding down the power button.
 
The amount of trolling in this room is SO DAMN HIGH
 
2:15 PM
s/SO/TOO
 
@Borgleader it's OVER NINE THOUSAAAAAND
 
@bitmask Death is the only escape from SO
 
@Borgleader Y U NO USE MEMES CORRECTLY?
 
And even then, if you go to hell, you'll be forced to answer SO questions on why standards are they way they are, and your answers will never be good enough for them.
 
So we're in hell.
That fits.
 
2:16 PM
The day you can form your thinking entirely in meme form, you know you've spent enough time on the internet. :P
 
@TonyTheLion: Well it wasn't overboard yet so I switch TOO for SO
 
@jornak I no longer answer questions if the OP doesn't have at least 50 rep. The lower rep people rarely accept answers.
 
@Borgleader lol
 
:)
 
2:17 PM
@CatPlusPlus No, here the questions get downvoted/deleted. They don't in hell.
 
@DeadMG Now we have a Dragonball Z reference.. I think we've achieved the right level of trolling
 
in Hell, you can only upvote
 
Anyways Guys thanks for that. And Always remember Sharing or Helping is not bad..
And Thanks For Suggesting Close..
 
i cant ask question here, it's showing error
 
@DeadMG upboats for you sir.
 
2:18 PM
@TonyTheLion Why, an upboat to you too.
 
@DeadMG </circlejerk>
 
@jornak I don't need a circle to jerk.
 
I like r/circlejerk
 
What are we calling the next C++ anyway? C++1y?
 
2:18 PM
123456789
 
Aye Cap'n, planes +15, half-speed.
 
Xeo
@chris C++Next
 
@chris C++Plus
 
Xeo
Plans are C++17
 
oops
 
2:19 PM
C++ is one big circlejerk really
 
@chris Yes, that's what I've seen.
 
@Xeo "Plans", kek.
 
D--
 
C+++
 
Xeo
@DeadMG They only plan for one big feature this time!
 
2:19 PM
@Xeo, You mean plans like C++0x planned to fit the name?
 
orly, which one?
 
Xeo
Oh wait, there's the "plan" again
 
C3+
 
Xeo
@DeadMG Modules, most likely
 
C++ Plussed?
 
2:19 PM
I hope so
 
C+=3
 
Java
 
Xeo
Concepts are scheduled for C++22
 
@Borgleader kljkj
 
Ok, can we call a truce on the C++1y variant names?
I think we have enough.
@Xeo But I want concepts!
 
Xeo
2:21 PM
And I want modules.
 
user784668
@Vinay kjkhj
 
Xeo
Argue which is better
 
CForward->
 
@R.MartinhoFernandes CCPPStandard?
 
@R.MartinhoFernandes Nope: C++ + ++C
 
user784668
2:21 PM
I want implementations.
 
std::advance(c++)
 
MFC++
 
@Xeo Neither. I want it to do my laundry.
 
Overloaded..
 
2:21 PM
Java++
 
@Xeo I want modules too!
 
Xeo
See, modules it is.
 
Wide
 
Xeo
Did you see the module talk at C++Now?
 
I want GUI Library kthx ... lololol never gonna happen
 
2:22 PM
@Chimera Hehe, nice one
 
@R.MartinhoFernandes You could invoke Godwin. :-)
 
Xeo
@Chimera That's gonna take till 2017, atleast.
 
@Xeo :-) But worth the wait....
 
Xeo
@Chimera You hope
 
At least we're progressing on that filesystem stuff
 
2:23 PM
@Xeo I'm optimistic
 
Xeo
LWS, Y U NO WORK?! :(
 
@Chimera I want my ideal GUI library! And all other platforms to follow suit with the same ideas.
I need to write down those ideas some day.
 
wewf
 
@R.MartinhoFernandes I want some bacon.
 
If only I had an army of programmers ready to do what I tell them to.
 
2:25 PM
I want a GUI toolkit that isn't fucking obnoxious.
And a build system.
 
@CatPlusPlus Clearly you want wxWidgets then. :-)
 
@CatPlusPlus What does that mean?
 
It means they all suck.
 
@CatPlusPlus I want a random aptitude test to appear in every editor when it detects C++ code being entered for the first time.
 
@CatPlusPlus HTML + JavaScript for IPC with the core app.
 
2:26 PM
If the person can't answer, they can't program.
 
@StackedCrooked Ahahahahaha. No.
 
@StackedCrooked What the heck is the JS for?
 
@R.MartinhoFernandes For communicating with the main application (which runs in a different process).
 
@StackedCrooked That sounds silly.
 
The main app is a local http server you see :P
 
2:27 PM
@jornak: Yes!
 
@R.MartinhoFernandes I don't think it's silly.
 
We already have the best GUI toolkit! It's called HTML5!
 
But for now I'll stick with Qt.
 
@Chimera: Oh yeah that thing that looks different on every effing browser?
 
@StackedCrooked Why do I even need two processes?
 
user784668
2:29 PM
@R.MartinhoFernandes Because it's webscale.
 
@R.MartinhoFernandes You could bind JS with the native code I guess.
 
@Borgleader :-) Of course, that's why we love standards. There's so many to choose from!
 
@StackedCrooked But then you don't need JS.
 
@Borgleader You haven't actually written any html5, have you?
It doesn't look different on every effing browser. It looks basically the same on the browsers which support the subset you use, and falls horribyl apart on the browsers which don't :)
 
the problem with using HTML5 is that you have to use HTML.
 
2:30 PM
@jalf I haven't, and I was just kidding anyways, but there sure is a lot of hype around it.
 
and JavaScript
 
@DeadMG true dat
 
@R.MartinhoFernandes Then the main application must have a GUI library which supports at least a HTML component.
 
@jalf: So either you're limited to a subset or it looks different across browsers?
 
@StackedCrooked You can bind the HTML directly to the native code, instead of binding to JS and then binding to native code, no?
 
2:31 PM
@Borgleader If a high-school programming teacher asks you to create a "Hello World" program for your first project and you hand in the most convoluted way to go about it (but it still outputs "Hello World"), what should your mark be? <_<
 
@Borgleader: yes, like with all HTML standards before it
 
@R.MartinhoFernandes Yes.
 
@jornak: Studies indicate it could vary between 30-100%
 
That's all the GUI we need!
 
Oh god, not cmd.
And not with conhost.
 
2:33 PM
Screw console UIs.
 
@Borgleader My teacher didn't understand it at all. 0%, lol
 
@R.MartinhoFernandes why not?
 
Mind you this was years ago
 
I remember the days when your UI code was writing directly into CGA/VGA memory.
 
@R.MartinhoFernandes However, I once developed a IE toolbar plugin and one of its features was DOM modification of the current page. While it was possible to change the HTML from within the C++ code (using the DOM class libraries provided by Microsoft) it was much easier to generate a JavaScript string that contains the code to do so and then invoke it.
 
2:34 PM
@Chimera Pah! Back in my day we didn't even have UIs!
 
@jornak Oh yeah! Well., well... :-)
 
@StackedCrooked Yes, but that's because you're in a limited environment. There's no reason to artificially limit yourself like that if you're developing a GUI toolkit.
 
I remember the days when you could "see" the data in your memory... magnetic core memory.
 
@jornak Those store/load toggles and the lamps - that was the UI.
 
@Chimera Magnetic core memory? Pah, back in my day we had an endless desert of rocks.
 
2:36 PM
I need to find a video of magnetic core memory in action
 
user784668
@jornak Rocks? Pffft, in my days we only had molten lava.
 
@Chimera Man it's weird how far we've came.
 
@jornak Isn't it though?
 
2:40 PM
@Borgleader yup. I didn't say that there were no problems with html5, just that the problem is different than it was with earlier html standards
 
@Fanael In my days we only had the big bang.
 
Hack - place a sheet of paper on top, sprinkle some iron-filings..
 
@Chimera "Oh hey, you see this computer the size of a fucking warehouse? You're gonna be able to hold it in your hand in 40 years." "Bullshit!"
 
with html5 the browsers actually seem pretty much in agreement about how to render. They just don't all support the same bits of it
 
@jornak Can you imagine what we will be doing in another 50 years?
 
user784668
2:41 PM
I love Javascript diagnostics.
 
@Chimera Dying?
 
@Chimera Endlessly fapping, porn will get too realistic and no one will work.
 
@R.MartinhoFernandes LOL!
 
@Chimera Oh, I'm pretty sure of that.
 
@jornak Except porn performers?
 
2:42 PM
@R.MartinhoFernandes Who needs porn performers when you have porn AIs
 
@R.MartinhoFernandes: they wont exist, they'll be CGI
 
@jornak Didn't you mention "realistic" somewhere?
 
@R.MartinhoFernandes As in a virtual environment with haptic systems... y'know "Ready Player One" style
 
Wife 5.0?
 
"Now with 75% less nagging"
 
2:44 PM
Look, if they're just like people, they're still performers. The fact that they're intangible is not relevant.
 
haha
 
Unless you go for the premium edition which just keeps its mouth entirely shut.
 
How about Universe 2.0; Now with P = NP! Buy now and you even get PSPACE = P for free!
 
And in the future Pixar will come out with a new movie, "Porn Story".
 
.. and God said, 'Let there be server-side scripting'
 
2:45 PM
Maybe the Turing Test is actually whether we can tell real porn from animated porn.
 
"And he saw that it was good, and gave access to Lounge<C++>"
 
Seen on the company forum :
 
user784668
@chris Porning Test.
 
> I need to estimate the max size that I can allocate with a bunch of OpenCL create buffer for MACS GPUs. MACS is 32-bit for the moment and it will move to 64-bit in the future. In the 32-bit case I cannot allocate memory that exceeds 4 Gb however RAM GPU cards may be greater than that.
 
Unless you go for the premium edition which just keeps its mouth entirely open
 
2:46 PM
The guy wanted a macro to determine if he was 64 bit so that he could allocate memory chunks larger than 4GB.
 
@kbok gasp
 
@MartinJames You can get that functionality for much cheaper. Plastic only, though.
 
Oh and btw, the Seattle Seahawks did not win!
 
@Chimera lol foosball
 
I have no idea what that means.
 
2:48 PM
@jornak Water Boy... great movie.
 
@Chimera He sp-sp-spit in the c-c-c-c-coolah.
 
@jornak :-)
 
@Chimera Probably my favorite Adam Sandler movie.
 
@jornak same here
 
aaargh, fuck browsers and fuck encryption and fuck certificates
 
2:51 PM
Oh god, the Oilers are thinking of moving to Seattle
 
@jalf ..are you perchance having a little problem?
 
@MartinJames No, he just has a weird technology fetish.
 
@MartinJames Sounds more like he's having a huge problem.
 
Send him a plastic sheep. If it needs to be tech, you can probably get one that makes appropriate noises..
 
2:53 PM
Man after playing Pandemic I think I'm starting to overreact to these sort of things
 
@jornak I like the three comments there.
 
@R.MartinhoFernandes Conspiracists are hilarious.
 
@jornak: never met one in real life, only one's I've seen were TV characters (like Hodgins from Bones)
 
For those eager for the committee's mailing, it's up open-std.org/jtc1/sc22/wg21/docs/papers/2012/#mailing2012-09 // cc @Xeo @LucD
3
 
@Borgleader I have a friend that firmly believes that 9/11 was an inside job
 
Xeo
2:58 PM
@R.MartinhoFernandes yay
 
@R.MartinhoFernandes Could have picked a better website name <_<
 
Dammit, Luchian becoming a regular means plinking "Luc" plinks both.
 
Xeo
been waiting for that
 
@jornak: I saw a conspiracy video about that not long after the 9/11 events. But I wasn't convinced. Everything seemed circumstancial.
 
also fuck openssl
 
2:59 PM
@Borgleader Was it the flash one with the dust brothers song?
 

« first day (710 days earlier)      last day (4254 days later) »