« first day (678 days earlier)      last day (4286 days later) » 

sbi
6:01 PM
@StackedCrooked But that puts the burden on your users to catch two exception base classes wherever they catch anything.
 
@sbi No, they can just catch std::exception. Both hierarchies have it.
 
Indeed.
 
What you can't do is struct my_exception : std::runtime_error.
struct my_exception : virtual std::exception is fine.
 
sbi
@R.MartinhoFernandes Well, but then they won't catch MyOutOfBoundsException exception, that derives from std::out_of_bounds and MyException, because the latter derives from std::exception, too.
 
@sbi His suggestion was to forbid you from deriving from std::out_of_bounds.
 
6:04 PM
@sbi The convention states that the user is only allowed to inherit from std::exception.
 
std::exception is the only base allowed for clients (and virtually, of course).
 
sbi
Yeah, and that's dumb and an unnecessary restriction.
 
You have to pretend that the standard disallows it and keep to it.
It's a role-playing game .
 
@sbi Dumb solutions sometimes work surprisingly well.
Like not using exception specifications.
 
6:06 PM
Everybody knows you're not supposed to compare floats using a tolerance, but rather in a way that makes sense for what you want. — R. Martinho Fernandes 15 secs ago
 
@R.MartinhoFernandes Not everybody knows man.
 
Let's prevent division by zero by preventing division by anything with 0 in it!
 
Perfect analogy.
@sbi std started it!
 
sbi
@StackedCrooked ??
 
@sbi I mean that the best I can think of is a dumb solution because the way exceptions are implemented in the standard library are dumb to begin with.
.
Can you define a conversion operator on an exception and catch that instead of the original type?
I guess not.
 
6:14 PM
What for?
 
sbi
@StackedCrooked The other way out is being overly clever. As I said, I had, at one point, exception class templates, which you would instantiate to define exception interface classes in a header, and those from which to instantiate derived concrete exception classes to implement the interfaces. That, plus a pair of macros you could use instead of { and } wherever you felt like it, to add tracing to exceptions coming by. Quite elaborated, but it worked.
 
@CatPlusPlus I'm looking for new ways to annoy you :P
 
sbi
@CatPlusPlus To catch MyException as std::exception&.
 
I need to downgrade Chrome, these new favicons are too broken.
@sbi Derive from std::exception duh.
 
sbi
@CatPlusPlus Duh, go back in the transcript for half an hour and try to get up to date on the issue, before you embarrass yourself.
 
6:16 PM
:effort:
 
@sbi But that doesn't really solve the original problem does it? It's just a fancier way of limiting yourself inheriting only std::exception. Or do I misunderstand?
 
sbi
:dumb:
@StackedCrooked The trace macros would catch any std::exception-derived thingy and throw a wrapping MyException-derived thingy instead, so you never needed to catch std::exception. Nowadays I would probably use TMP to find out whether any of the base interface classes already inherited from std::exception and derive from that, if none did.
> declined - I looked over this for a while, the answer comes off as little more than a rant, and then a link. If there was something constructive along with the link, even if it's wrong/right, I'd undelete it.
Bitch!
:)
BTW, you all need to upvote the robot's answer, because it needs to rise higher to be noticed.
 
you haven't voted on questions in a while :(
guess I don't upvote as much as I should
 
sbi
@Rapptz I don't think its the quantity as much as the relation between voting for answers and voting for questions.
 
try { throw a(); }
catch (a &) { throw b(); } // will this be caught by below catch statement?
catch (b &) { };
 
6:25 PM
@Rapptz You mean downvote.
 
I don't have enough rep to downvote.
 
By the way is it preferred to catch by reference or by const-ref?
 
Const.
 
Fun with PowerPoint.
 
Chrome has problems with rendering normal images, too.
G'job guys.
 
sbi
6:27 PM
@Rapptz Some of the rules are relaxed for downvoting questions (like that it doesn't cost you rep). Are you sure you cannot downvote questions?
@StackedCrooked Nope, it won't.
 
I only have 99 rep. I don't really post much, just lurk around.
 
@sbi Thanks.
 
sbi
@StackedCrooked const is always preferred.
@EtiennedeMartel Pervert!
 
@CatPlusPlus What kind of problems?
 
The problems where they don't render.
What else.
 
6:29 PM
Do they just show up as broken images..?
 
@sbi I thought so too. We had an "advanced" C++ course at work and the lecturer used non-const ref. When I asked him whether const-ref was preferred he didn't know the answer.
 
@sbi I got to make a presentation to show off the tool I spent the last 3 months developing.
 
sbi
@StackedCrooked With const, it's always the same answer: If I don't need to modify this, there's a chance modifying it is an error, so I help the compiler catching it just in case.
 
Ghosh you guys discussion C++, how dare you?! :P
 
sbi
This is a very interesting question on P.SE.
 
6:37 PM
I saw that yesterday, was pretty interesting.
 
@sbi same, I saw it on the multicollider. Then it showed up on reddit.
 
lol, every other question on P.SE is answered by "get a lawyer".
 
@kbok Presumably you mean "ignoring the two out of three that get closed before anybody can even try to answer"?
 
@JerryCoffin True
 
Xeo
6:55 PM
@sbi I'm seriously disgusted that there are contracts where your own personal code your write outside of company time is considered their property
 
sbi
@Xeo I have never signed such a contract. Currently, I'd see no reason to do so either.
 
Xeo
Yeah, but the sole thought that such contracts are out there is just... fuckit.
 
7:11 PM
is this a bad approach ideone.com/wEjPZ
 
@Rapptz convertString("-99")
 
@Rapptz Well, the function is terribly named, and I think its behavior is pretty unintuitive
 
@Xeo One of the basic ideas of being on salary is that it blurs the division between your time and their time. In the US, a lot of it often hinges on whose equipment you use -- if you wrote it outside business hours, but on a laptop owned by the employer, they can probably claim it. If you write it on your own machine, there's a much better chance of it being considered yours. Some also depends on whether it falls within your job description.
 
but if it works
 
Many employers include something about "and other duties as required", largely for this reason.
 
7:15 PM
@jalf I was originally going to try to generalise it but said screw it.
 
but it can hardly be "as required" when it's something you do on your own initiative
 
@ecatmur Why is - considered a punctuation?
 
@Rapptz what should it be considered instead?
 
No idea now that I think about it
 
what about convertString("4.5")? :)
 
7:18 PM
that's a floating point not an integer
:D
 
@Rapptz yes, so?
 
not something I initially thought about.
 
"123s45dfas6" isn't an integer either :)
if I called your function with the string "4.5", wouldn't it be reasonable to expect it to return 4 or 5 (depending on whether it rounds up or down)? I certainly wouldn't expect 45.
 
@JerryCoffin at my job, if I write anything that deals with the same sorts of technology as my company(telephones and such) then it's theirs.
 
I guess your implementation is fine. The problem I see is with what you're trying to solve
 
sbi
7:20 PM
@Rapptz That depends on the spec. (You do have a spec, right?)
 
it's a well implemented function for a crazy spec ;)
 
@TonyTheLion lol
 
@Rapptz result is undefined for convertString("A")
 
It's in its primitive stages hence no exceptions or error checking :/
I just needed something to use real quick.
 
@JerryCoffin I know. I had a symbian phone until a few months ago. And they illustrate my point very well: they were technically smartphones. It had a web browser, it had an app store, it had a pdf viewer, it had most of the basic functionality you expect from a modern smartphone. But it all sucked. It was all so painful to use that no one used it as a smartphone. You used it as a phone.
 
7:23 PM
@R.MartinhoFernandes I have 6.9MB free. And that is with everything open and /tmp, /var/run etc. in RAM
 
And perhaps, if you were reeeeally reaaaaaaally desperate, you might try to use the browser to google something quick. I think I did that once, in the 3-4 years I had the phone. It was doable, but painful. The iphone was more than an incremental improvement over that
 
@Rapptz Not bad, but I'd do it somewhat differently: ideone.com/2M9sp
 
@JerryCoffin according to ideone, your code was 0,01s slower
 
@JerryCoffin That's pretty neat.
 
@jalf I never owned one, so I can't say anything from personal experience, but I've known a few people who thought they were great. I did have a Palm phone for a little while. I wouldn't say the browser was terrible, but the networks at the time were so slow they were unusable, regardless of the browser.
 
sbi
7:32 PM
@jalf I had a Nokia dumb phone with a very small screen and a phone keyboard, and for a while I used that for twitter and reading news sites during commuting. It was painful, though, and I only put up with it for a few weeks while I decided which smart phone to buy.
 
does FORTRAN not have function local variables?
 
@MooingDuck you have to specify. It's like the old auto.
It might even be auto
No, AUTOMATIC, possibly.
You still have to mark the function RECURSIVE.
4
Q: Are local variables in Fortran 77 static or stack dynamic?

mm2887For my programming languages class one hw problem asks: Are local variables in FORTRAN static or stack dynamic? Are local variables that are INITIALIZED to a default value static or stack dynamic? Show me some code with an explanation to back up your answer. Hint: The easiest way to check th...

 
sbi
> Facebook needs an Avada Kedavra button. — Professor Snape
 
specifically, I'm working with code that uses almost no local variables, only globals, and I'm wondering if it was simply a port of older Fortran code.
 
@MooingDuck Could well be.
the original FORTRAN did not have function-local variables, in terms of lifetime
 
7:40 PM
I think our company used FORTRAN before. I know in 1995 there was a total rewrite to C++, but I'm not sure if it was FORTRAN before that or C or something. But I know somewhere way back in our history is FORTRAN.
 
sbi
> That awkward moment when you make a Harry Potter reference and none of your Muggle friends get it. — That Awkward Moment
:(
 
@JerryCoffin I thought that, grammatically, it was illegal to do ~int() literally, though, that you could only do such a thing through a typedef or template parameter that happened to be int.
 
@MooingDuck That was back when Fortran didn't support recursion, right? :)
@DeadMG I think so, too.
 
@Rapptz What the hell?
 
lol
 
7:44 PM
@FredOverflow well this code is definitely recursive, so probably after that
 
and guess what, this is not a costume. dont make fun of ppl
 
@DeadMG Wait, isn't ~int(); the same as ~0; which is the same as -1;? :)
 
sbi
1 message moved to bin
 
@FredOverflow Not in x.~int(); context.
 
7:45 PM
btw, what is int() ?
 
@sbi Gracias.
 
@FredOverflow Yes it is.
 
@DeadMG But the code on the starboard literally says ~int();
 
@FredOverflow yes it does. someone forgot the context
 
@FredOverflow But just because ideone compiled it doesn't mean it actually works.
 
sbi
7:46 PM
@EtiennedeMartel That looked too much like that woman who had threw acid over her face by a guy she refused. I don't want this to become a joke.
 
@Papergay 0
 
@Papergay an expression that creates a new object of type int that is value-initialized to zero.
 
@DeadMG Why wouldn't ~0 work?
 
@sbi It's indeed not a joke.
 
7:47 PM
does it work in c/c++ ?
 
@Papergay yes
 
sbi
@Rapptz Still.
 
@FredOverflow No, I meant, ~int() as a destructor call.
oh, har har, he didn't compile it as a "destructor of int" call.
my mistake
 
@DeadMG this whole conversation would stop happening if people wrote a.~int() or something instead.
 
why do you need a class int?
 
7:48 PM
@Papergay you don't, there is no class int
 
then why is he talking about destructors ô.o
 
@sbi It's a joke about that woman who failed at restorating an old painting of the christ.
 
@Papergay people were wondering if ptr_to_int->~int() compiles. The answer is yes, yes it does. int is not a class, but it does have a "pseudo-destructor".
 
sbi
@kbok Shrug. I couldn't help it.
 
@MooingDuck okay thx :D
 
7:50 PM
@sbi Help what ?
 
He deleted it.
 
@MooingDuck It does, but only via a typedef or template typename parameter.
 
@kbok to not understand it as a joke
 
@MooingDuck I would have thought it only worked in template code.
 
sbi
@kbok "it"
 
7:51 PM
@sbi That totally makes sense.
 
sbi
^ Here's another funny woman instead.
 
@sbi Reminds me of that scene from Network.
 
sbi
@kbok I'm glad you said that.
 
@FredOverflow I believe there are such limitations on it yes
 
More funny women.
 
7:54 PM
I need to put on my glasses
 
sbi
Ugh, looking at that makes me dizzy.
 
Me too. That's exceptionnaly disturbing. I didn't even knew that was possible.
 
sbi
@kbok If you think taht's bad, then (do not) look at this.
 
@kbok That's not funny. What if there actually is a woman with 4 eyes and 2 mouths? ;)
 
@sbi actually, if you focus, then the picture is as normal as all the other ones :o
 
7:56 PM
@FredOverflow sounds funny to me
 
@FredOverflow Then she would be able to see in 4 dimensions ? :)
 
sbi
@Papergay "the picture"?
 
TIL despite having the tag line "Gotta Catch 'Em All", Ash Ketchum only caught 43/649 Pokémon. heh.
 
I can't focus on it. It makes me nauseous, just like when you read in a car.
 
I feel confident he knew he was posting to programmers.stackexchange.com not legaladvice.stackexchange.com — Andrew Finnell 17 hours ago
 
7:58 PM
@sbi i am talking about the picture in the message to which you linked with "this". and sry that i cant be more precise, my english knowledge sucks :P
 
Good evening, friends.
 
@TonyTheLion lol
@RadekSlupik You too, friend
4 mins ago, by Papergay
whats my sister doing here :<
lolwut
 
lolz
 
@Papergay I guess if you really want speed, you could do something like this: ideone.com/uXTHw
 
lol why are you checking for that :s
 
sbi
8:00 PM
@Papergay Your English is not the issue. All you need to do is to link to messages rather than mentioning users. Then I would have known.
 
@Papergay you raise interest by deleting stuff. You want it gone?
 
@sbi well i linked to the message that links to the picture
 
@Papergay by coincidence, and we see that it was coincidence.
 
@TonyTheLion Now in a kek mood?
 
8:01 PM
kek
 
@Papergay click the grey arrow to the left of a message, and select "reply to this message"
 
sbi
@Papergay No, mentioning @others is not linking to messages. If you don't know the difference, you might want to read this.
 
@Papergay Use the little right-hand arrow on the message
 
yep, but kek basically means lol, so still in a lol mood
just in disguise :P
 
@MooingDuck What? You do that?!
 
sbi
8:02 PM
@MooingDuck Or the one to the very right.
 
@MooingDuck So much clicking
 
^ +1 much easier
 
@sbi oh hey look at that
 
stop spamming lol. i know how to reply directly, but i did not think that it was neccessary since i was replying fast enough imo
 
@MooingDuck Or just Ctrl-up,Ctrl-up,Ctrl-up,Ctrl-up,R (with the userscript)
 
8:03 PM
I use the one on the right
 
sbi
@Papergay How would I know you were fast enough?
 
@sbi okay, but it at least highlighted your post
 
sbi
@Papergay It always highlights the last post. That's why I would need to know you were fast enough.
 
@Papergay there's no way to know which post it will highlight until a fraction of a second after you post.
 
sbi
@MooingDuck Are you pulling my leg?
 
8:04 PM
seriously i actually want to respond to jerry coffin xD
 
@sbi no, I'd simply forgotten that one
 
@sbi I had the perfect comeback but I can't find it, buried deep in this afternoon's twitter feed.
 
Any SQL experts online?
 
@Papergay it doesn't matter. Also, you can edit messages to fix the reply links
 
@FredOverflow Yes.
 
sbi
8:04 PM
@kbok Good! :)
 
@MooingDuck How can you be active in chat, and forget how it works?
2
 
sbi
@MooingDuck I can't believe this!
 
@RadekSlupik Would I ever use GROUP BY without using COUNT, SUM, MAX and such?
 
sbi
@FredOverflow He didn't say he is the expert.
 
@FredOverflow Yeah, sure. It would be equiv to 'DISTINCT' most often, except perhaps with 'HAVING' (?)
 
8:05 PM
@Papergay Go ahead.
 
@sehe simple example please
 
@FredOverflow Yes, if you're using categories for example. That would save you a latter sort.
 
@FredOverflow How would I know? I am not an SQL expert.
 
huh. I display the address of a local variable, call a function through a function pointer (takes no params, returns a short), and the function displays the address of it's first local variable. 483 bytes difference.
 
@FredOverflow Yes. For example, select sales from wherever, group by month could be perfectly sensible.
 
8:07 PM
@JerryCoffin How?
You'd need an aggregator with 'sales', or is my sql that rusty?
 
@JerryCoffin compiler errors. but yeah assembler would be faster
 
Me gusta my new laptop.
 
@sehe You don't need an aggregator -- you might want it if (for example) you wanted just a list of total sales for each month, but if you just want the sales grouped by months, you don't need to use an aggregate (though it is undoubtedly more common).
 
@JerryCoffin I'm going to call that... craziness :) Let the compiler do the optimizations. It will work nicely, unless your profiler tells you it doesn't
@JerryCoffin Totals? What sales would you expect to be printed now? Average? Min? First? Sum?
 
@Papergay The errors are only because they don't have the right assembler (the only have gas and nasm, but this is written for masm (and would probably work with tasm, but not much else).
 
8:10 PM
You mean, it would sort by now?
 
@sehe I'd expect a list of all the sales.
 
So... not grouped, but sorted? Which RDBMS engine is that?
 
I guess I simply don't actually understand what a group is. If I don't group anything, is a table with 100 rows also a table of 100 groups (each 1 row), or a table of 1 group (with 100 rows), or is it neither?
If I group by primary key, is that a nop?
 
A grouping becomes a row, the way I learned it
@FredOverflow Certainly
 
@sehe But it consists of several rows itself, doesn't it?
I want to understand grouping on a "type level". Maybe that's futile. Is a grouped table somehow "2D"? A table of groups of rows?
 
8:13 PM
@FredOverflow That's the point, the way I learned it: it is 'made from' several rows (1..n)
@FredOverflow No it is just flat as always.
 
@sehe Wow. I guess nobody's sarcasm detector is working very well today. He'd replied that the previous code I posted was 10 ms slower than something else -- so being an ass, I decided to write one that should be pretty fast.
 
Hierarchical recordsets are only present in extensions like ROLAP, XQL, ADODB2.Recordset etc.
 
@sehe Actually sitting back and thinking about it a moment, I was probably just not thinking straight. My apologies.
 
@sehe But how does the grouping manifest itself then?
 
@JerryCoffin Ah. I didn't see that. I just spotted an ideone link and decided to click on it
 
8:15 PM
@sbi i already read that long ago but since this was not mentioned there i assumed that this was some kind of automated soft-replying (at least they seem to use the same highlighting)
 
@FredOverflow Basically, by returning fewer rows
I wager a good sql tut site will have simple examples that speak volumes. Too lazy to type them up right now
(actually, too busy)
 
4 hours ago, by sehe
@MooingDuck - are you calling me lazy? Let me remind you, as a pathological helper, you're biased :)
 
@MooingDuck Guilty as charged. Hey, but I get my deserved fate: no more repcaps in months :)
 
Jun 12 at 18:56, by sehe
I'm too lazy. Do it yourselves :)
 
@FredOverflow The columns not participating in a group will have to be 'aggregated' ( either FIRST(value), LAST(value), AVERAGE(value), SUM(value), MAX(value) etc.)
 
8:17 PM
@FredOverflow Normally (and hopefully my brain is actually working this time) you'd do something like select month sum(sales) from wherever, group by month. Then, instead of just giving you one overall sum for an entire column, it would give you one sum for each month.
 
@MooingDuck That's harsh. That wasn't anything serious!
 
@sehe I have a whole page of search results of you admitting to being lazy :D
 
SELECT MONTH, SUM(SALES) FROM WHATEVER GROUP BY MONTH
optionally:
SELECT MONTH, SUM(SALES) AS TOTAL FROM WHATEVER GROUP BY MONTH HAVING TOTAL>1000
@MooingDuck wokay; did I mention, I'm lazy? Too lazy to click down arrow, and then 'reply to this message', e.g. :)
 
14 mins ago, by FredOverflow
@RadekSlupik Would I ever use GROUP BY without using COUNT, SUM, MAX and such?
 
14 mins ago, by sehe
@FredOverflow Yeah, sure. It would be equiv to 'DISTINCT' most often, except perhaps with 'HAVING' (?)
 
8:20 PM
@sehe Yeah, probably had the comma in the wrong place, you're right. Not so sure about the all-caps though. Is there some SQL engine that requires that,?
 
No. It's a convention to make it clear that SQL is case insensitive
 
@sehe So you uglify your code specifically because it doesn't require it? Now I'm truly puzzled.
 
@JerryCoffin Not just me. People do. It's like using CAPS in MACROS. It's not required, you know
 
I think the convention is to make the keywords upper case, not the tables and columns.
 
@sehe Yes, but caps in macros were originally done for a reason -- originally as a warning against anything that might have side effects, because it might be evaluated more than once.
 
8:24 PM
The convention is very much to make tables and columns uppercase. Also, the convention is even to make password case insensitive in some RDBMS-es. Go figure
Well, make it camelcase. I don't care
 
@sehe Sounds to me like users who just weren't quite willing to let go of COBOL. I haven't been around enough other people who write SQL regularly to be sure of conventions, but if the convention is all upper case, then I guess I'll just stick by being unconventional.
 
Hey. We are talking about SQL here
 
MySQL definitely isn't case insensitive. It pukes if I misspell my tables and columns.
select Capital from country;   -- works
select capital from Country;   -- doesn't
 
@FredOverflow Oh great. I'm sure it is configurable. But I somehow blocked that knowledge. So, that makes the convention more useful in a way :) No need to ask yourself what the proper casing was... (I bet some would argue the opposite. But: portable DB schemes. And: meh)
 
portable DB schemes, right :)
 
8:28 PM
They exist. If you stick to standard (T)SQL. There are a few dialects... but nothing a sed couldn't fix
(well, I know a few rotten use cases. but...; oracle style joins are quite different from standard SQL (SQLServer, Jet, MySql, Postgress, etc)
 
Anyway, hit the hay. Hope the mosquito sleeps tonight.
 
Awimmaway Awimmaway Awimmaway
Awimmaway Awimmaway Awimmaway
Ooooooooh, Oooooooooooooh
(@MooingDuck See, I'm not that lazy)
 
@FredOverflow good night
 
>implying C++ isn't bloated
 
This isn't 4chan, thanks.
 
8:33 PM
The lounge and 4chan aren't that much different.
 
Sssh
 
Sshehe
That should creep you out.
 
Was that this room? Ah, it's the /b room.
 
8:36 PM
It's terrible.
 
I think that use of typedef is weird.
 
I found it in some google code
 
std::array ftw.
 
#undef COMPILE_ASSERT
#define COMPILE_ASSERT(expr, msg) \
typedef CompileAssert<(bool(expr))> msg[bool(expr) ? 1 : -1]
 
8:37 PM
I mean about the deleted answer
"var is an array of a single int."
 
Obsolete. C++11 has static_assert.
 
that's not correct, right?
 
Was he crying over the downvotes
 
he was so mad
 
I saw it at -2.
 
8:38 PM
I don't think I have static_assert in VS2010
 
You could use boost's version.
 
It's in VS2012.
 
@lezebulon Yes you do
 
Xeo
@lezebulon you do
 
8:40 PM
... you do!
 
oh yeah I have it, but I don't think the standard version takes a string right?
 
@sehe If you believe!
 
Xeo
static_assert(cond, "on_failure_string");
 
static_assert( constant-expression, string-literal );
 
8:41 PM
I meant the version from the C++11 standard sorry
 
@Collin Man, could you be clearer. Or just say, 'what do you think'?
 
It's the same thing
in C++11
 
Xeo
@lezebulon That still takes a string literal.. what else should it take?
 
@sehe You mean about the question?
 
ok I thought the signature defined in C++11 was "static_assert (constant-expression)" and the one from msdn was specific to VS
 
8:43 PM
@Collin what else. As it is, it looks like you are somehow trigger-happy. This kind of 'quick! closevotes!' doesn't really invite serious/critical thinking from the lounge.
 
@sehe He's posting a question to complain about his wrong answer on another question, that's not constructive
 
0
Q: If statement to control user input

HowieI'm trying to use an if statement to control what's being produced. I have a condition that asks to enter a number 1-5. Well if you enter a 6 it should state that's not an option. At this point not getting that.

lol
 
@Collin Oh. True that. Now you've explained. This is what was missing
 
@sehe Apologies, could have included that
 
Cheers :)
 
8:46 PM
Apologies for poor english, I am Russia
 
afk
 
§7/1: static_assert-declaration:
static_assert ( constant-expression , string-literal ) ;
 
^ Just ordered this. Hope it works as good as promised.
 
That looks fancy
 
It does.
 
8:48 PM
I've had very good luck with Logitech things in the past, none of it expensive, but everything I've purchased from them I've been happy with
 
But it ain't the looks that I'm interested in.
 
@Collin What does he mean when he says I claim that you need expand BEFORE you write the memory. He keeps repeating that and I just don't get it
 
I've been using this mouse for 10+ years. It performs very well, but requires a mouse mat. It doesn't work on even slightly reflective surfaces.
 
@Prætorian He misunderstood what was going on in the question he's complaining about. He thought someone was overrunning a buffer, then reallocing it to fit. His answer tried to rewrite it all strangely and confused people
 
@Collin From the linked answer of his he seems to be claiming that realloc can only reduce the size of allocated memory, not increase it
I guess we should be writing void *buf = malloc( ULONGLONG_MAX ); to be safe :)
 
8:52 PM
@Prætorian He corrects that later, he's just all fired up and can't type straight
 
@Collin Lol
 
Grandpa's a little excited.
 
lulz
 
I CLAIM that you sir are a doodie-head!
 
Is he just changing his words to try to dig himself out of the hole? Now that he realized he's wrong...
Holy shit, 497 on the multicollider:
53
Q: I've inherited a rat's nest of cabling. What now?

hydroparadiseYou know, you see pictures like below and sort of chuckle until you actually have to deal with it. I just inheritted something that looks like the picture below. The culture of the orgization does not tollerate down time very well, yet I have tasked to 'clean it up'. The network functions as i...

 
8:59 PM
Dammit QtSDK installer is all wonky on Linux VBox.
 

« first day (678 days earlier)      last day (4286 days later) »