« first day (947 days earlier)      last day (3987 days later) » 

5:00 PM
ahahahahaah
 
user142019
@CatPlusPlus But I am the dumbest.
 
5
Q: stuckoverhelp/stuckoverflaw

Daniel A. WhiteI just ran into this site (http://stuck.include-once.org/) via comment on the main site via this question. I know its not a SE site, it just seems bad taste Are we now encouraging 3rd party sites to hold the FAQ and not meta? I sure hope not. I know we have a couple like Jon Skeet's "How to Ask"...

lol
 
haha
 
room topic changed to Lounge<C++>: We're cranky and mean. We don't care. [c++] [c++11] [c++-faq] [no-helpdesk]
 
user142019
@Rapptz Wat.
 
user142019
5:01 PM
> STUCK is intended as evil support tool. It's just a list of comment templates actually. And it's the editing backend for the small quickcomments userscript. Also pretty simplistic.
 
> not the room you are looking for?
 
I just noticed how old that is
 
@BartekBanachewicz lol
 
Time for our primary tag to come back
 
Ell
I'm about to get into a teamspeak argument bashing php. I'll need you guys to help me ;)
 
5:02 PM
room topic changed to Lounge<C++>: We're cranky and mean. We don't care. [c++] [c++11] [c++-faq] [get-out] [no-helpdesk]
 
@Ell No way
 
@CatPlusPlus ♡
 
@CatPlusPlus <3
 
You brought this upon yourself
Suffer now
 
5:02 PM
I'm suffering for a good cause
 
user142019
 
unicode character: white heart, anyone? ;)
 
Don't talk to PHP people
Ever
In any capacity
 
Terribru
they are
 
You'll just want to kill yourself over the amount of dumb leaking from that
 
5:04 PM
oh we're so welcoming :P
 
0
Q: Does a function that returns a constant work slower than a void function?

perfanoffSimplest example to highlight the difference: int foo() { doSomething(); return 0; } void bar() { doSomething(); return; } int main() { foo(); bar(); } Is bar faster than foo, and why?

lol
 
Violators will be shot survivors will be shot again
 
This is one of the worst cases of micro-optimisation I've ever seen
 
terribru, but are you asking for this question to be Lounged?
 
Can we ban the word Lounged from our vocab
 
5:06 PM
nope
 
Yes please
 
> make sure that you understand what you are measuring and why the change had an effect
ahahahhaha
 
I wasn't the one who came up with it.
 
5:06 PM
But I'll take the blame for using in the worst place possible if I have to.
 
I mean if we coordinated voting, then sum of votes on SO would be far into negative by now
2
 
Look at @Mysticial. Always being the scapegoat
 
gargle salt water
 
rub lotion on it
 
Is this sex thread again
 
5:08 PM
I think I want another yoghurt
 
@Rapptz I first laid my eyes on this message when tabbing in. That was fun.
 
Okay it definitely is
 
lol
 
@CatPlusPlus How did you know they stored vote counts as signed ints?
 
@BoltClock C#
 
5:09 PM
Who uses unsigned integers in databases
Please
 
oh wait, it's actually a database problem.
 
@BoltClock Well how else would we get negative scores?!@
 
Xeo
> The real motivation in the application I'm working on is that I have a persisting singleton class
Yeah, those damn pesky, persistent singletons.
 
Singletons are cancer
 
Xeo
Just not wanting to go away
 
5:13 PM
@Xeo Is it in a multithreaded environment?
 
Xeo
1
Q: C++11 Setter function parameter passing nullptr

user1930581I was wondering about C++11 best practices regarding parameter passing nullptr. I want to reset a class member object by passing a nullptr to an already existing setter function. For a simple example: #include "foo.h" Foo my_foo; void set_foo(std::shared_ptr<Foo> bar){ my_foo = bar; } int...

 
Ell
Man that was easy.
They gave up already.
 
Ell: Internet Warrior
If you mess with that a little it can sound like authentic spanish.
 
Ell
El warrior de la red
 
5:16 PM
hehe
 
Ell
Time to learn how to inject dlls !
Time to learn how to write dlls.
 
Both are easy IMO.
 
DLLs are all except dynamic and loadable
"library" part is debatable.
 
little question
 
Isn't DLL injection as easy as matching the function calls and placing the DLL somewhere where the application picks it up?
 
5:19 PM
@ScottW dll's are just so's with a bunch of features you should not use.
 
@rubenvb little answer
@ThePhD with a bunch of UBness
 
@BartekBanachewicz Well, obvious.
 
You open the process, alloc memory for the name of your dll in the remote program, start a remote thread with LoadLibrary as the starting function with the param being the string you allocated. Something like that, IIRC.
 
If you intercept a function call that asks you to make an integer, but you make a taco instead, of course you're invoking UB.
 
C++ could introduce dynamic modules into standard
9/10 would bang.
 
5:21 PM
lol
 
but anyway, static ones are needed much more.
 
For a filesystem abstraction, what's "better": keep a full tree of files minimizing memory footprint, or keep full paths to each file/directory? Also: store file info (time modified, etc..) on first encounter or don't worry about possible many repeated OS calls to stat-like functions?
 
@ScottW I'll stick my beef in your taco and we'll make lots of UB together. <3
@rubenvb Tree wins.
 
a build system
 
Update the tree whenever you need to.
 
5:22 PM
so lots of repeated access.
 
... Yeah
Keep a goddamn tree.
 
And one single state isn't a problem.
OK, tree it is.
 
No point not to model a tree.
 
@rubenvb full paths on a tree
 
A list of file names / directory names doesn't really do you much good.
 
5:23 PM
@BartekBanachewicz so have each file know its fulll path without reverse traversing the tree?
 
@rubenvb exactly.
 
Oh god I love this
 
@rubenvb That's a good idea too.
 
you will lose a bit of memory
but since build system doesn't move files a lot...
 
5:24 PM
@BartekBanachewicz good idea. Faster whenever I need to actually use the file somewhere.
Thanks.
 
Eh. Speed is better than memory for a build system, I'd think.
@ScottW A tree that contains full paths up to its current node is probably the best way to handle it.
 
Now to start from scratch.
 
You need a fast way to go up one directory (for intermediate directories and such), which means NOT parsing a goddamn string every time you need to,
And you need to get the full path for OS function calls (keeping the full path ID on the node itself).
There you go, all problems solved by spending a little more memory. Emphasis on little.
 
OK.
 
@ScottW Yeah, except not really specialized for search / find.
Yeah. Full path.
GOtta have the whole package. <3
 
5:26 PM
so now the tree.
one level or many sublevels?
 
@rubenvb can't you use std?
 
I'm going with unorded_set
 
but I can have a multilevel or singlelevel tree
the latter wins in simplicity
 
Single-level tree...?
 
5:28 PM
never mind
dumb brainfuck
@ThePhD that would be more of a bush really.
 
Hee.
 
Hello C++ guys... can you check out my topic with implementation of arbitrarily long float? :-) stackoverflow.com/questions/16638548/own-big-float-in-c
 
I tried that once.
Gave up on the addition.
 
@tyrhus hurh. that's only a toy implementation, right?
 
I give no guarantees to completeness nor correctness: github.com/rubenvb/real
 
5:30 PM
Question: what is important to study for web development?
 
@Crowz HTML? Javascript? Python? WebGL? Flash?
 
Ell
It is a good idea to use a large array, because it is hard to predict how many processes there will be at the time you call EnumProcesses. Great >.<
 
@Crowz patience...
 
@rubenvb nah like on a more abstract level
@tyrhus I have none of that
 
@Crowz HTML 5 and CSS
@Ell ...
 
Ell
5:33 PM
Why can't you poll how many processes there are? >.<
I guess it could change between calls.
 
yup
Linux uses its /proc filesystem
But that might as well change too.
 
Ewww
Xcode
But I guess that goes hand-in-hand with Objective-C.
 
Yes it goes :-)
 
@CatPlusPlus fuck 'em. What are we talking about?
 
5:48 PM
They thought we were a vote brigade
lol
 
A fresh batch of meta tears
1 hour ago, by Mysticial
1
Q: We need to be a little less hostile

SLaksI've noticed a distressing tendency for questions that seem basic or overly short to be immediately closed and downvoted into oblivion. Case in point: Check if element is visible using JavaScript Within a minute of being asked, this question received 12 downvotes and was closed as "not a real q...

 
I blame @Mysticial
 
> sympathy upvotes
I need 1k on meta.
 
@BoltClock I'll take the blame this time as well. But I can't keep on doing it or I'll find myself perma-banned from SO. :)
@Rapptz +24/-14
 
thanks
 
5:52 PM
@Mysticial That's a good thing actually
 
@CatPlusPlus :(
 
I use score distribution as my sanity meter on meta
 
I mean for you
SO is bad for you
 
@CatPlusPlus Bullshit. SO got me a job at Google. :D
 
See
You're now doomed to be a programmer
 
5:54 PM
It got me a job at google too
 
I don't have a problem with asking quality questions
There should be SO preschool.
Like tiers in online gaming.
We would all be in tier 10.
Obviously.
 
Just ban everyone who can't make a coherent post
 
tiers in games suck
 
@Rapptz hm?
 
Why would we be in tier 2?
 
5:55 PM
twas a joke
 
@CatPlusPlus I thought that plan A was to hit them with coherent light?
 
How did SO get you a job at google?
 
@Jack we have experience. We invented the system.
 
@Mysticial You don't know how jelly i am
 
Quake III Arena had tiers
 
5:57 PM
the SO system?
 
I got Intel antistress ball today
we are having "you are so retarded you can't find a job" party at uni
 
Are you superman?
Don't squeeze it if you are superman
 
@Jack what?
 
It's a trap
 
meh, I squeezed it, it felt good.
5
starboard dominated by poles
 
5:59 PM
you have doomed the world
 

« first day (947 days earlier)      last day (3987 days later) »