« first day (845 days earlier)      last day (4088 days later) » 

user142019
12:00 AM
> Performance, latency and memory usage
 
user142019
Yes, very UB.
 
@Zoidberg Still answers Ell's question, methinks
 
user142019
Does Java have a standard (need not be an ISO standard, of course, since that's just BS), by the way?
 
@Zoidberg ... is that not the same as C/C++ undefined behaviour? It doesn't mean that it's required to be random, or crash, or return NULL, it just means that an implementation can pick what it considers to be a good result.
 
user142019
Otherwise it's kinda hard to say what is UB and what is not UB. :P
 
12:01 AM
@Zoidberg Of course
 
@Zoidberg Undefined behaviour is where the standard does not dictate what a compliant implementation may produce.
 
@rvalue That wording would include "unspecified"
 
@sehe Good catch
 
@rvalue Undefined is when the standard expressly defines "Anything may happen". The implementation is allowed to do whatever it wants. Often to allow for target specific optimizations
 
user142019
Gimme krupuk.
 
12:05 AM
@sehe Yes, but when an implementation hits such a case it doesn't call std::anything()
 
@rvalue So what?
5 mins ago, by Zoidberg
> Performance, latency and memory usage
 
the compiler is allowed to generate code that does something bad in UB scenarios
 
^ those things are specified. Nasal daemons are not allowed to be set loose. Just that the exact runtime characteristics may be implementation defined, doesn't mean that anything can happen.
 
The compiler is allowed to not care if UB occurs.
 
It can produce anything, the Java standard also specifies that the Nasal daemon must implement Throwable.
 
12:07 AM
like it is allowed to not care if you type-pun some pointer to a variable and dereference stale data when that variable is currently cached in a register
 
All UB is DB in the end because computers are deterministic machines.
 
user142019
 
user142019
Isn't such a lip plate annoying as fuck?
 
@StackedCrooked They can be defined as such, but implementations are subject to entropy and decay. It's physics that's UB :P
 
12:08 AM
@Zoidberg Depends on what you are trying to achieve
 
what would you do in a fight? rip it off? what a stupid idea
 
user142019
@sehe Say, for example, eating krupuk.
 
@StackedCrooked to a certain extent
 
@sehe It's like a chance card?
 
@Zoidberg LOL
 
user142019
12:09 AM
@sehe sehe Holmes!
 
@Zoidberg I'm good with associations.
@StackedCrooked Not well versed in monopoly
 
If a game has UB it might make me win, right?
 
user142019
This is still my favourite picture on the Internet.
 
user142019
Dat iPod and dat gun. It makes so little sense.
 
user142019
inb4 daknok is racist and bad and whatnot.
 
12:10 AM
God save the queen PS
 
user142019
PowerShell?
 
user142019
I think there should be a LoungeShell.
 
eh? I know some ps
 
PhilliShave
 
user142019
12:11 AM
@StackedCrooked xD
 
@StackedCrooked a pinecone! what has the world come to?
 
A pinecone is like the most harmless thing you can throw after grass.
 
user142019
Ball of air.
 
user142019
Fresh Prince of Bell Air
 
The fact that he looks like a pinecone makes it even more interesting.
 
user142019
12:13 AM
 
user142019
Great show.
 
zomg. The same shader code compiles directly through opengl, but gives compilation error when put through my class
 
@Zoidberg -9999 called
 
@__daknok I knew you'd miss the sarcasm in that one. I mean, you're hardly the first. And each attempt results in an even worse contraption
 
user142019
lol
 
12:14 AM
@Zoidberg epic. Nearly as good as Ice Ice Baby
 
I recently realized that the clip of "The Old Prince Still Lives At Home", by Shad, was a spoof of The Fresh Prince of Bel Air's intro. And I then realized that the album on which said song was featured, titled The Old Prince, is also a reference.
Yeah, I'm slow.
 
Today was a good day. I've not even been to SO proper:
 
user142019
You have, otherwise you couldn't take that screenshot.
 
user142019
I earned 15 rep today.
 
90.
 
12:18 AM
@Zoidberg Only just. Technically, it wasn't even a loophole lie if you corrected my claim s/Today/Yesterday/ - the screenshot corroborates that
 
user142019
One about C#-like brace initialization in Objective-C. XD
 
user142019
> I have not tested it, but it should work.
 
One of the voted answers stems from 2012, the others from 2011. Talk about late trickling upvotes
 
user142019
I got an upvote on a question from March 2011.
 
2 hours ago, by ThiefMaster
@user1690130: You have 24h to find a new place to troll. OUTSIDE the SE network of course. Maybe 4chan would like you. If you continue trolling here your next ban will be longer.
 
12:21 AM
@Zoidberg When?
 
^^ awwww I missed this... :(
 
@Mysticial Yes. Sweet justice.
 
@Mysticial Starboard
 
user142019
@sehe Wednesday 04:40.
 
That's how I found it.
But I wasn't here when it happened.
 
12:21 AM
@sehe at some point you can just leave and the constant flow of rep won't end
 
3 mins ago, by Zoidberg
I earned 15 rep today.
 
user142019
@sehe s/today/yesterday/ meh pedant.
 
@BartekBanachewicz Jon Skeet Style
1 hour ago, by sehe
Today, things went really well with a combined plonking effort. Cheers to the loungers
1 hour ago, by sehe
@Rapptz Also, he got largely ignored despite repeated attempts to create turmoil. Then he picked offense with a random message, flagging for a moderator. BIG MISTAKE :)
 
user142019
Repcap should be removed. SOCIALISM.
 
^ that's the rundown
 
user142019
12:23 AM
 
user142019
^ that's the map of Rundown
 
@sehe I didn't plonk him. I wonder if that sent mixed signals.
 
@EtiennedeMartel it did. Nothing too bad though. You were quite clear in drawing a line. But yeah, it was risking general discussion. The problem with plonking is: it doesn't work unless it is mass plonking. Hence my favourite call-out:
 
@sehe haha... more like a dumb troll...
 
user142019
Too much thinking is bad.
 
12:25 AM
Jun 4 '12 at 13:26, by sehe
EVERYBODY: Commit chatticide and PRESS IGNORE simultaneously?
Probelmo solvo
 
@Zoidberg I think Jon Skeet would love that the most. I'm more for a weekly or monthly repcap.
 
ScottW: Comes in, starts in media res: "just think about it"
That's ... deep
Nah man, that's just limp
 
My brain farted.
But, yes.
Thought you were talking about LP. Then I realized not. Then I realized it still made sense despite that.
Shouldn't have deleted the message. Oh well.
 
user142019
 
user142019
Gimme gimme gimme gimme gimme gimme gimme gimme gimme gimme.
 
12:28 AM
Papa Roach is huge shit.
Never heard of them.
 
user142019
The worst band are The Baha Men.
 
Anyway, gotta go home. I'm gettin' hungry.
 
user142019
 
user142019
This song is so fucking terrible.
 
@ScottW That's not bad.
@ScottW mentally, 3 and a half.
@ScottW People tend to say that a lot.
 
12:33 AM
Y U NO write your own make_unique? Because sincerely, this macro is way more ugly :/ — Bartek Banachewicz 6 secs ago
 
@sehe Doing a quick look, yesterday I got one for a 2009 answer, and 5 from 2010 answers (though I posted links to at least a couple of those).
 
Yes. Somebody knows how to do it. If you could please be a little less vague we might even show you how. This is not a code-writing site, as you know. Perhaps a SSCCE will. As well as a good reason to use Lex here. — sehe 13 secs ago
@JerryCoffin I wasn't here at those times :)
 
@scottw Just so I can get some context, what kind of metal do you like?
 
seriously, C++11, Y U NO make_unique
I know that this has been asked many times
 
@sehe I was here a lot more then (well, was much more active anyway).
 
12:35 AM
@BartekBanachewicz So. Deal with it. There are so many much more serious deficiencies to the language (as with any language)
@JerryCoffin Yeah. I remember when you came by in the lounge. You were clearly already a legend :)
 
night.
 
@BartekBanachewicz Meh, not that it's completely pointless, but it's barely necessary.
 
@BartekBanachewicz It's been beaten to death though and easy to write.
 
@sehe Despite the legendary badge, I'm not at all convinced "legend" really applies.
 
user142019
 
user142019
12:37 AM
Time to sleep.
 
@ScottW TBH I've never heard of them before. Couldn't have been really big.
 
@Zoidberg s/sleep/masturbate/?
 
Maybe in the US, I guess.
 
@JerryCoffin Well, being a legend is conveniently a group-subjective thing. So, just accept it.
 
@JerryCoffin but 169k rep!
 
user142019
12:38 AM
@sehe s/object/subject/
 
user142019
-1 for Lounge<C++>; TOO MUCH sed.
 
@Zoidberg Verbetervoorstel aangenomen
 
@BartekBanachewicz What about it? Mostly came from the pursuit of the afore-mentioned badge.
 
user142019
@BartekBanachewicz can't find interesting pics or vids so nah.
 
user142019
@sehe fail.
 
12:39 AM
@Zoidberg Shit userscript command is still disabled. :)
 
@JerryCoffin it's sick nevertheless
 
@ScottW European, sure, that explains it.
 
user142019
Europe sucks.
 
user142019
Antarctica and Australia FTW.
 
user142019
Rest = shit.
 
user142019
12:41 AM
:7582884 clear.gif?
 
Dammit. Oneboxing hurts
 
user142019
You're failing today, @sehe.
 
@ScottW First time in quite a while anybody's claimed i was too young and/or not from America.
 
@Zoidberg Actually all the time posting pics.
 
@JerryCoffin How did you come to claim my identity?
 
12:42 AM
7
Q: Burninate [moving]?

Doorknobmoving seems to have tons of completely different questions tagged with it. No tag wiki. There are so many uses of the word moving that I can't even count: moving a file moving some text moving in an animation moving the mouse moving a window around moving certain blocks of code moving a scroll...

click it :)
 
@sehe No way!
 
user142019
 
what did he delete again?
 
@ScottW You must have missed yesterday's discussion. I'm actually most of SO's users.
 
@AndreiTita You know, that was just lag on the same post. I came across this page and saw "retry/cancel"
 
12:44 AM
@sehe I just saw an empty text box, and it was flabbergasting.
 
By the way, did you notice This question may already have an answer here:?
 
@AndreiTita Sorry to put you through such agony
 
Also, it's now not closed as dupe but marked as dupe
It also shows on the question list as [duplicate]
 
@sehe I may never fully recover. I hope you'll be able to sleep tonight.
 
@AndreiTita To make up for it: balls of steel
 
12:48 AM
(I like your link)
 
Fuckin... what's the deal with math teachers?
 
@AndreiTita LOL
@AndreiTita dat butthurt
 
@AndreiTita So it is that thing that Microsoft uses... They have DWORD dwSomeWord; everywhere
 
@Borgleader Pretty much.
 
@AndreiTita erm... wow.
 
12:59 AM
@Zoidberg is that a "fuck for forest" thing
 
@sehe epic, huh?
Anyway, damn fucking GLSL compilation
Anyway, can't you just kick someone out of vent? Or was it server command or something?
 
I would like to thank the internet for providing documentation on shit I don't know.
5
 
I should give more money to Wikipedia considering how many damn times I've passed my exams thanks to it.
 
I would be very grateful if internet would clarify why the same fucking code works differently
 
@BartekBanachewicz PEBCAC?
 
1:04 AM
@Borgleader Ceyboard?
 
@Borgleader What's the first C?
 
Chair
>_>
 
Chair
 
And the second one than?
 
Computer
 
1:05 AM
I don't know what PEBCAC even is
 
Problem Exists Between Chair And Computer
 
A user error is an error made by the human user of a complex system, usually a computer system, in interacting with it. Although the term is sometimes used by Human Computer Interaction practitioners, the more formal human error term is used in the context of human reliability. User Error and related phrases such as PEBKAC ("Problem Exists Between Keyboard And Chair" and the complementary PEBCAK ("Problem Exists Between Chair and Keyboard"), PICNIC ("Problem In Chair Not In Computer"), PIBCAK ("Problem Is Between Chair And Keyboard") or ID-10T error ("Idiot error") are also used as slang i...
 
It's originally Keyboard and Chair, actually
 
closely related to Problem Exists Between Keyboard and Chair
or all other variations of
 
1:06 AM
You guys and your silly acronyms/initialisms.
 
ikr
 
I didn't know about the ID-10T error.
 
@Rapptz It's in the newbie hints... newb ;)
 
opengl and its silly motherfucking errors
 
The Acronym section of the newbie hints has some weird acronyms.
 
1:07 AM
@BartekBanachewicz doesn't it tell you why the shader failed to compile?
 
@melak47 that's not the point. I know perfectly why it doesn't compile and, at the same time, I don't. Point is there's exactly the same, verified code outside the class, and there it works.
When I try to use my class, an error is produced
I suspect something is really terribly wrong with glew/glut not working well together
 
gleuwt? :S
 
well glew is for extensions, and glut is supposed to be utility
 
I thought glut was supposed to be terrible
 
@melak47 I thought GLUT was terrible when I tried to use it, once. This was around 2005.
 
1:13 AM
there's FreeGLUT guys
and it's supposed to be better
it actually quite is
well, fuck anyway, I need only a Core-Forward-Compatible Context and a Window
that it should manage
 
> ME: What’s the name on the card? CLIENT: Mastercard Gold.
 
you should change your name to Mastercard Gold and then get yourself one :)
 
ew = extension wrangler
opengl has some files that give you all the defines so you can easily create bindings for any language. I have a partially complete opengl 3.3 wrapper generator that omits deprecated stuff etc
 
"Fragment shader compilation error : 0(7) : error C0000: syntax error, unexpected $undefined at token \"<undefined>\"\n"
 
agreed though, I should have to mess around with that. there should be an opengl 3.3 non-compatibility context creator utility
 
1:20 AM
3.3 is old as fuck
we have 4.3 now
 
dx10 is "old as fuck". ok
 
who cares about directx?
 
opengl 3.3 == dx10
 
No
opengl > dx
 
I'm talking about hardware support
 
1:21 AM
I know what you are talking about
 
2008 video cards have 3.3 so its a good target
 
it was 5 years ago
 
@BartekBanachewicz Only in portability imo.
 
@AndreiTita it has also more features and is faster
 
it doesn't run at all if they don't have a real gamer card then
depends on your target user and when you plan to release
 
1:25 AM
oooooh fuck my life
I accidentally swapped vert and frag
time to go to sleep
 
@LucDanton zing
 
@BartekBanachewicz lol
 
Hi all.
@Cheersandhth.-Alf They switched to grayscale for ClearType.
 
18 votes short of 10K. Maybe some simple question will come up early tomorrow and I can get in quick...
 
1:30 AM
@Cheersandhth.-Alf yet another reason not to install W8
 
Every one of my customers that I have asked does not want/need W8 support. Suits me - saves me testing my apps.
 
IMO, once a dupe vote is cast, everyone with the privilege to cv should be forced to review the dupe before they can submit an answer. Users with not enough reputation should not be able to submit answers at all. This will educate people that we want them to act on dupe votes. — Gordon 16 hours ago
the people on meta are insane
 
Yeah I saw that.
So you post an answer first.
dupe-vote it to block everyone else.
 
Shog9's answer is getting downvoted btw
 
1:34 AM
no no no, nobody would think of abusing something
 
it's down there with 1 score
 
make it so you can't dupe vote it if you have an answer on it
 
@Cheersandhth.-Alf To be fair, I was the one who came up with the idea of that question.
I came up with all the ways to abuse it.
 
0
Q: C++ Avoiding Global Variables and Singletons

cstutsI have recently been trying to remove the use of singletons and global variables from my project but I am having a hard time doing so. I have somewhat devised a better alternative to the singletons and global variables but I am not sure how to handle the data once my application is terminated. M...

 
0
Q: Array syntax in pascal

dataI am java programmer ,but now i starting to learn more abut pascal programming could you help please How to write this java syntax in pascal A[m] = scan.nextInt(); program is that asking the user to input the "size" then input the element... (using Array) I have done this : writeln(...

 
> singletons are the solution to the global variables problem
What the fuck?
 
singletons never are the solution
 
I knew you guys would like that :)
 
I always make sure to bring a spare singleton.
 
2:20 AM
What are the differences between the waterfall model and the spiral model of the software life cycle?
 
VC November CTP failed to compile this:
Haha.
 
:S
 
@MarkGarcia Aren't multiple variadic argument lists illegal?
 
@AndreiTita Then the compiler should say so, it shouldn't internally implode
 
@AndreiTita Compiles on GCC.
 
2:26 AM
@Borgleader it's a preview :p
 
@MarkGarcia Ah I see, my bad then.
 
2:44 AM
> The problem with global variables is that the same data can be accessed from anywhere - which makes it hard to follow the state of the data or to access it concurrently. A singleton solves this in the OOP way - only the singleton object's method can access that data.
 
Hahahaha
 
@LucDanton Well if by that he means you can trace where each of the accessor calls are made then yeah... but it definitely doesnt solve the problem
 
@Rapptz I wish...
 
@Borgleader We all know getters and setters magically solve all problems.
 
2:53 AM
@Borgleader Nor does it require a singleton. A perfectly ordinary global with some overloads can do that.
 
@EtiennedeMartel I'm not saying it does. In fact I said it doesn't. At least now you can put a breakpoint and look at callstacks. Something you can't do with global variables
 
Singletons were created to ensure an class could only have one instance alive.
Then someone took that and decided that making that single instance global was a good idea.
 
3:13 AM
I'm drunk you guys
 
Congrats.
 
3:43 AM
@Borgleader with a good debugger you can break on access, but it's a pain to set up
x86 at least has hardware data breakpoints which will throw a debug exception when specified memory is accessed
 
Perl.
 
4:02 AM
@CCInc I see that you have joined almost every chatrooms.
 
Yes, it is my new personal record.
 
inb4 bin
 
Damn it. It's so cool and useful, I... I can't help but post: colorschemedesigner.com
 
@CCInc Wow I can't even see them in my screen
 
LOL
 
4:42 AM
0
A: C++ Which Number Doesn't Belong?

RapptzHere's what I managed to come up with, I still haven't tested it on all numbers but it works on yours and more. #include <iostream> int main() { int array[] = {14,24,34,27,4,28,39,44,23,64,84,23,34,89,99,16,79,104}; for(auto& i : array) { if((i - 9) % 10 == 0) ...

I spent 15 minutes on this :(
 
posted on February 06, 2013

Treat each object as a sequence of symbols and impose a dictionary order on the symbols.

 
@Feeds Would you receive this message?
 
nop
 
@Feeds You're in this room. How come you're not in here?
@Feeds I hate you.
 
@Rapptz: what was wrong with the obvious if (i % 10 != 4) {...} ?
 
4:48 AM
it was too boring
 
Although I don't think you answer OP, since he doesn't regard 4 as fixed.
 
his question was just excluding numbers that have 4s in the ones place
I was bored and wanted to do something :|
 
" 4 of them will always have the same digit in the ones place. "
not the digit 4
 
ah lame.
well I had fun figuring it out so I don't care much about the rep
I'll just change my answer to the boring one
 
"odd man out" is kinda interesting. at least it's more interesting than i % 10 != 4
what's the minimum number of comparisons necessary to find the odd man out?
assume you know there is one.
 
4:52 AM
I think 2?
 
three, i think.
in the case that the vector is of size 5
say a == b and c != d. It's one of c or d, but you don't yet know which.
if a != b, you only need one more, and if c == d, you know it's e
that generalizes nicely to (n + 1) / 2. No-one seems to have come up with that solution, so I'll leave it with you :)
 
@Rapptz Could you please do me a favor?
Could you please see my profile and check if the picture is fully loaded?
I only see half of it.
 
it's half for me too
kind of funny actually
 
@Rapptz I see your picture fully.
@Rapptz But mine, half.
@Rapptz Consider posting this on meta?
 
Oh I meant on my side I see yours as half too.
My picture is fine.
 

« first day (845 days earlier)      last day (4088 days later) »