« first day (820 days earlier)      last day (4354 days later) » 

user142019
22:00
user142019
Ell
Ell
@Zoidberg I'm thinking in-browser python compiler/interpreter :P
Speaking of @Luchian, he's gonna be soooooo pissed now... :P I beat him to 10k on C++. And it looks like I'll overtake @Jerry before Luchian overtakes me.
user142019
@Ell has been done with Emscripten.
Ell
Ell
ahh
user142019
22:01
@Ell Also, see JSLinux.
user142019
Somebody wrote x86 emulator in JavaScript. It downloads the disk image and runs it.
@sehe Yep. That's Luchian mode alright.
I don't think I'm cut out for it.
@Rapptz I did it for 3 months before I burned out. It's not easy.
> I'm now gone. Bye everyone.
I just want to unlock privileges :|
22:02
@Rapptz Well, there's your answer. You could, of course, go Mysticial mode. But you need some specific knowledge that is very appealing to the masses, and some pre-existing rep/aura does help
@NolwennLeGuen I prefer to sell everyone. Make more money that way.
I mean I've been around here for a while so I know how the site works and things.
@JerryCoffin I'm sorry what
@JerryCoffin ... worst pun of the day. Cheers for the effort
Ouch!
-7
Q: How to use a variable inside a PHP array key?

luckytaxiLet's say I have the following. I need to access an array with a dynamic variable inside a for loop. echo $value['module_id']; // Prints MYAPI This doesn't work. $svn[$value['module_id']]['svn_branches'][0]['revision'];

22:03
@NolwennLeGuen Sorry -- silly play on words ("sell" vs. "bye" vs. "buy").
@sehe The stuff I'm good at (math, hacking, and biology) don't tend to get asked here or get closed instantly.
@JerryCoffin This pun requires a mastery of english I sadly do not have. Cheers for effort though :D
@Rapptz So get better at things that are more useful.
@NolwennLeGuen Thanks.
Hey.. math, hacking and biology are not useless.
@Rapptz Okay, more useful to the average user of SO.
22:04
@Rapptz Maths is an interesting proposition. Lots of potential. Many algorithmic questions are shunned and even get closed after a while, as if they're not on topic. In truth, I think few people are well-qualified or have the routine to handle them
@JerryCoffin ?! maths is as real as it gets
For some values of real
Howard, this answer is incorrect. Please see stackoverflow.com/a/14005063/34509 for an elaborated explanation. — Johannes Schaub - litb 2 mins ago
@JerryCoffin A significant number of SO questions get asked by good devs just not knowing how to crunch their problem efficiently.
so where are the ponies?
@sehe I refuse to have anything to do with real math. Number Theory FTW.
user142019
22:06
> Howard, this answer is incorrect.
fucking... why is it so hard to make this file become an imageicon?
@Rapptz you could be the Mysticial of maths-bound problems
user142019
Downvotes: 0.
@JerryCoffin :)
user142019
Scumbag litb.
lol
Marcus is good at math too, better than me for sure.
@Crowz can't even spell? An imagicon? What's that
i fear he will move from me
22:07
@sehe oh I'm in java right now. It's a GUI element
std::move, that is
@Rapptz There are a few of these users out here but they are all pretty low profile/low activity. I believe it might be because they're Getting Things Done(TM)
@Crowz So to phrase your question clearly, it's: "Why do Java suck?"
@Crowz so... you plead braindamage? Makes sense
@KonradRudolph "This doesn't work". Actually, it does.
22:08
@sehe dain bramage :(
user142019
In theory, everything works.
user142019
In practice, nothing works.
s/nothing/nobody/g
@NolwennLeGuen OP has ninja edited the question – before that, it made no sense whatsoever. Now it just makes no sense.
22:08
@Mysticial meh...
user142019
> recent codes
user142019
Ideone, you suck at English.
A variant of that goes like "in theory, everything works but nobody knows why; in practice, nothing works but everyone knows why; we combine theory with practice, nothing works and we don't know why"
It's closer to my experience
user142019
My German teacher in high school had that on the wall in German.
user142019
He claimed he invented it.
user142019
22:10
And he said he hated liars.
user142019
That liar.
@CatPlusPlus I prefer a shorter one: "Our works is so secret we're not allowed to know what we're doing."
@KonradRudolph get on my level bra
@KonradRudolph Uh oh... You've been infected by Cicada's all caps.
22:11
@Rapptz let me know if you find another way.
@NolwennLeGuen Is it different from a regular bra?
It's much, much higher
user142019
Bra Pitt
user142019
Time to take a shit on my shiny new toilet.
@NolwennLeGuen well... how do we respond to that one?
@Zoidberg make it count
user142019
22:13
@thecoshman 1, 2, 3, 4, wait what must I count?
@LuchianGrigore Simple: start the day after SO opened, already be known for having written a book, and post three times as many answers as you do (aka, the Jon Skeet method).
Ah right.. Jon Skeet method.
> Hello, I am very romantic woman, I'll be happy when I find my boyfriend. I am balanced, trustful, womanly, cheerful and tender lady with sense of humor. I dream of him as of a real, reliable friend and husband. His merits are kindness, responsiveness, reliability, understanding. I am a woman, who has a heart that never hardens. I stay woman in every situation because this is my essence and I am proud of it. Look at my pictures - spam email
user142019
class foo {
public:
    void jon_skeet(); // Jon Skeet method
};
@JerryCoffin oh... so just write a book & be known for it?
22:14
spam has really lost it's credibility
simple enough...
user142019
C++ in Depth - Luchian Repwhore Grigore
I haven't received spam in months
@Rapptz why is rep important?
It's not credible because a real woman wouldn't write to you
22:15
@LuchianGrigore I think starting right after SO was created is a big part.
@JohanLarsson Because rep is directly proportional to your success in life
I don't care about rep, I just want privileges.
Which in turn requires rep :|
You've got the chat privilege, what else do you want
@JohannesSchaub-litb I know that I've been very verbose in return types (trailing or not) by using decltype+std::declval for members, because GCC has been in flux a lot -- and I don't know myself what should be accepted or rejected. I'm still unsatisfied by this because I don't like adding std::declval<T&>().foo in the return type of a member of T, that just seems redundant. Do you have best practices in that regard?
user142019
22:15
@Rapptz bounty farming.
> I am a woman, who has a heart that never hardens.
._.
@CatPlusPlus Apparently, to see deleted messages.
user142019
Answer chanceless bountied questions just before the bounty runs out and get 500 rep for nothing.
@NolwennLeGuen Well, that's good, right, heart is not supposed to do that
@NolwennLeGuen the odd one creeps in, such bizzare shit though
22:16
@Zoidberg ahahahaha
@JerryCoffin That would be lovely yes.
user142019
@CatPlusPlus ban privilege!
@JohanLarsson I actually got contacted a lot after gaining a lot of it on SO & linking it in my linkedin profile.
@NolwennLeGuen That's what my wife said before we were married. She just forgot to mention here heart was already made out of a diamond...
@LucDanton as i'm not doing real programming with c++11, i cannot give advices
but, my only advice is that you need to reorder things
22:16
I just want vote/close votes, edit privileges and mod tools.
user142019
I cannot give advices, only codes.
@JerryCoffin Fun fact: diamond burns very easily.
the declval thing has one big disadvantage: it does not pick up the const nes of the member function you define the return type of
@LuchianGrigore ok, job offerings I guess?
Yeah Mysticial got job offers too
22:17
@JohanLarsson Yup.
@JohannesSchaub-litb Sometimes two or more declarations refer one another in their return types. I really don't like it when the correctness of the program depends too subtly on the order of declaration (taking into account things like overloading).
@Zoidberg gimmeh teh codez
@Rapptz I've gotten a few as well (though I haven't taken any of the offers).
user142019
@melak47 int main(){for(;;)fork();return 0};
@LucDanton I agree. the solution here is to introduce an empty dependent base class
then you can keep the order untouched and use this->
22:18
for (fork();;fork()) fork();
@JohannesSchaub-litb Also ref-qualifiers. I have to double-check very hard that I didn't make copy-and-paste errors when there's a lot of repeated std::declval<T [const](&|&&)>().
for( spoon();;spoon()) spoon();
with sufficient practical experience, i would probably have given that advice up front :)
fecking cat
has taken to climbing coats on the back of the door
@JohannesSchaub-litb Okay, I'll keep this solution in mind. Seems hackish but I rather value tuning down the std::declval noise.
22:19
for(;_;)sad();
lol v.nice
user142019
isn't all the sfinae crap a big hack :)
user142019
Fork.
@R.MartinhoFernandes Have you had similar problems as mine? See above conversation with Johannes.
user142019
22:20
@JohannesSchaub-litb s/sfinae/c++/
Anyway, don't play the rep game, it's horrible
But badges
@Zoidberg clearly they are not
Also ahahaha Zoidberg has reverse slope on rep chart
user142019
@CatPlusPlus what rep chart?
user142019
lol
user142019
Probably from a bounty.
@R.MartinhoFernandes yeah, needed to had a compiler flag for glload to build correctly
@LucDanton alternatively you could have template<typename T> T *ptrid(T *t) { return t; } defined in namespace scope and then instead of this->member use ptrid(this)->member
Kids these days don't remember rep charts
22:23
@JohannesSchaub-litb Then I get cv-qualifiers for free?
Hmmm if I had kept up the repwhoring pace since I joined I would be at about 40k. Makes you think about the real knowledge of high rep users actually
@LucDanton yeah :)
@Mechanicalsnail I would slow clap this, but I don't have the years to dedicate towards making that happen
(as well as something that works of course.)
user142019
I don't care about reputation.
user142019
22:24
20 rep is enough.
@JohannesSchaub-litb That does seem compelling. Using *this instead is just as fine, right?
@LucDanton but it only works if the enclosing class is a template
REP ALL THE WHORES!!!
the same applies to the empty dependent base class trick thou, so not a real disadvantage
@sbi ¬_¬ really...?
22:25
@JohannesSchaub-litb Right, non-templates need a declaration before the current point of declaration.
@LucDanton yeah
Also look at dat id
fuck me it is cold these last few days
user142019
lol Jul '09
It happens when it's winter
@LucDanton if you modify ptrid of course to take a reference
heater on full power and still balls feel like they are in a vice like grip
i wil checkup whether (*this).member will work too, but I doubt
22:27
Now that I remember I actually elevated decltype/std::declval via a Qualifying<X, Y> trait, which is (almost, but not quite) equivalent to decltype(std::declval<X>().y) assuming y is a member of type Y.
user142019
Hey guyz.
user142019
brb!
@thecoshman go to bed
Off to bread, bye
I think I need to pile of the paper recycling in middle room and light it
@melak47 huh?
22:28
it's warm in bed :3
@NolwennLeGuen rye bread you mean?
Is python good for someone who likes java and stuff?
@melak47 ...
@Crowz not quite as good as a slap
@thecoshman "slap"?
@Crowz to the face
22:30
Not getting why everyone hates java... if I move to another language, will I realize how bad java is?
one can hope :)
palm and the face collide so fast a slight sonic boom is created
bleh, I'm gonna go sleep for 20 hours or so.
Ell
Ell
@melak47 in one sleep? :o
@LucDanton i think that (*this). is just the same as this-> and is also not a workaround. i would use the way with the dependent base class or the function call
22:36
yep :p
since this is a simple pointer, the type analysis will yield the type of the pointee of this, and so too will find that the type of the object expression is "the current instantiation"
No surprises here.
excessive sleeping seems to be a 'meme' in this room
the function call makes it impossible for the compiler to know anything about the type when the template is parsed, so the bullet "- the type of the object expression is dependent and is not the current instantiation." will make ptrid(this)->member a "member of an unknown specialization"
@JohannesSchaub-litb -> is just short hand for (*a_pointer)-> (normally)
22:42
@thecoshman indeed, I see
@NolwennLeGuen they figured out you don't need viagra?
@sehe nope, she's a big enough cock already
i hear that viagra will help you get slim
maybe for the more penisly inclined
I have to make a video presentation thingy
22:46
@thecoshman there must be the cat equivalent of puppy training, right
Please remind me what degree am I on
@CatPlusPlus lol - no clue
Is it Computer Science
Well it says that on the tin
@sehe I don't think so
22:48
But I have strong suspicion it's false advertising
cats are either too stupid or too smart to be trained
I wonder if I can sue
so it's not Ronseal then
@thecoshman well, then, you'll have to go with your natural pedagogic talents...
user142019
Hi.
user142019
22:49
@CatPlusPlus computer jokes.
@sehe sounds like effort though :P
Nah. Prolly from when you deleted your sockpuppet account in a rage-quit?!
ROFL
user142019
How is that related to losing rep?
@Mysticial hava star
@Zoidberg We all did (and complained a lot about it being too little - 75 here). Just a logical connection to make, really
user142019
I never upvoted my own stuff.
user142019
22:52
I'm not that kind of person.
@sehe I still want my ten rep back >:(
user142019
How do you make a plumber cry? You kill his family.
user142019
28 mins ago, by Zoidberg
I don't care about reputation.
@Zoidberg :)
@Zoidberg I thought about posting that in response to @AndreiTita
user142019
I should write a DBMS.
22:55
-1 for ineffective. Read the comments to the other answers. — gustaf r 14 secs ago
lol
user142019
Downvoting answers on questions with negative scores is usually silly.
I just find it funny because his answer isn't much better.
If at all more effective
user142019
Well, downvote it too and post the same comment.
Guess I could.
yay. positive reinforcement
... IOW don't
22:56
I'm kidding.
I don't like downvoting answers anyway
-7
A: Can I put array inside an array in c++?

DrinkJavaCodeJavaYou don't need to put an array inside an array. All you need to do is a two dimentional array

these two are the only answers I've ever downvoted
user142019
I'm going to write a BSON graph database with a garbage collector.
user142019
That username.
-1 not enough Boost. — DeadMG Dec 13 '12 at 22:00
@Griwes I think I was the one who told him to post that. :)
23:00
heh
user142019
What shall I name my DBMS.
user142019
I was thinking of WhoreDB, CuntDB or DatabaseDB.
DatabaseDB is redundant no?
user142019
Yup.
user142019
This entire project is redundant since I'll probably never get anything production-ready anyway.
23:02
@Zoidberg The last one is clearly inappropriate
@Rapptz If the architecture has redudant copy that's pretty meta for a name :P
user142019
I'm calling it CuntDB and the logo will be a drawing of a cunt.
that guy is downvoting every other answer besides his
user142019
Flag.
Is there a flag for that?
user142019
23:03
@Borgleader Diamond mod attention with custom explanation.
Why? He's technically leaving a comment saying why albeit for the same reason.
user142019
What's the most insulting word?
Subjective.
user142019
Generally considered to be ~. :P
23:06
hair burger?
user142019
SkullfuckDB
user142019
Sounds good.
the vulva, especially if unshaven.
what
user142019
lol
user142019
Looks great on CV.
user142019
23:07
> Creator of SkullfuckDB.
Well I downvoted, mostly because I found it rude that he downvoted every answer besides his :|
How do you know?
he left a comment . i.e. "-1 ineffective"
thats a shitty comment
hmm...

...thinking about getting an iPad w/retina + bluetooth keyboard to do coding via ssh.
Anyone tried this kind of setup?
23:11
link, i wanna downvote him now
Not cool to downvote if the answer is correct imo
user142019
user142019
This is a good song.
@Mysticial My rep did not go up... :(
-1, simply because you downvoted every other answer besides yours and one other solution when you could have kept it neutral. I consider your answer to also be on the same par as inefficient as the other answers in here. — Rapptz 4 mins ago
user142019
23:14
> cannot find flags to link with Boost thread
user142019
Well, fuck.
I still don't know how to use std::thread with MinGW
@Rapptz g++ doesn't implement ... regex, and possibly not the threading either.
I thought g++ did support it? Albeit you had to pass a compiler flag.
visual c++ has the library support. but not the language features :-(
@JohanLarsson The answer is correct but overly complex. Too many nesting levels, hes using a "counter" but stops at one because you want to know if there is one, why not use a boolean then? THe answer could be way more clear than this (In fact @Rapptz version is better)
dang MinGW threading.
need to download pthreads or something
Ell
Ell
Skullfuckdb?
@Borgleader ok
Where's the best place on the hard drive to store filesystem-level recovery information for a partition?
23:25
@Borgleader You didn't get what? Rep? Or whores?
Rep, I'm a whore
Apparently Brazilian whores are learning English for increased customer base for the new World Cup.
lol yeah i saw that too
@IDWMaster Recycle Bin
@CatPlusPlus ?????
user142019
23:27
@Ell what about it?
Why the recycle bin?
Ell
Ell
Its A thing? :L
Is it UB to use a char as the parameter for the is[ex] functions in <cctype>?
That doesn't make sense to me but according to this guy it is, I doubt it though
@Rapptz They're also getting the Olympics too. So 2 for the price of 1.
user142019
@Ell I just started working on it.
23:31
@IDWMaster It's perfect place to keep things
Holy crap Lightworks is complicated
@CatPlusPlus And the location of the recycle bin is also an entry in the filesystem. Therefore making it a TERRIBLE place to store filesystem-level recovery data.
I'm talking about where on the partition
Should I store it before the file system header (making it some fixed size), at the end of the partition?
Where?
Well, if you don't want the bin then %TEMP%
(In case you can't tell, I'm not being serious)
@CatPlusPlus Same problem
It's happening
23:34
Oh well. It's the Lounge. I guess you can't get serious answers here.
What the hell are you writing anyway
@Rapptz I can't imagine it is.
Unless it's a filesystem you have little business touching the underlying structure
@LucDanton Yeah I couldn't either. I was referring to this comment though, so I wasn't sure when he said it.
@CatPlusPlus It is a filesystem encryption driver
File system that runs underneath another file system
23:39
@Rapptz The rules are complex enough that a blanket 'this results in UB' doesn't make too much sense.
I.e. there are situations where it will be fine.
why does it burn when I pee
@Crowz Gonorrhea?
@Crowz urinary tract infection
That would explain the sores that pore green ooze everywhere
user142019
@Crowz Drank too much Tabasco.
23:40
@Crowz very ineffective troll
:P
user142019
-1 ineffective
I thought it'd be an interesting conversation starter
user142019
Wat.
user142019
BSON Y U LITTLE ENDIAN
user142019
Y U NO NETWORK BYTE-ORDER
23:43
Intel compatibility?
user1182183
http://superuser.com/questions/533730/how-to-run-an-directx-or-opengl-application-as-desktop-background
Anyone more interested in this? :P
Ell
Ell
Is bson binary json?
Because BSON is not used by anyone, so nobody noticed
@Ell yes
@CatPlusPlus Its used in mongoDB afaik
Oh, right, more bad software
user142019
23:46
Skullfuck will use BSON. xD
Ell
Ell
Is putting limits on a network protocol premature optimisation? Or is allowing limitless stuff yagni?
Skull fucking is really quite bad
Whoever thought of that must have been disturbed
user142019
lol
Define "limits"
Ell
Ell
Ah I feel so bleugh
10
Q: Where can I find a g++ 4.7 package?

GriwesSome time ago, I managed to find PPA featuring g++-4.7 build. However, I had to reinstall everything on my machine and I lost name of that PPA. Could anyone point me to it? I tried to find it again, but without any luck. I'm on Ubuntu 11.10 installation.

23:52
@Ell What kind of limits?
I got three badges for that.
This is madness.
user1182183
@CatPlusPlus you mean "Define "limits" in your context" else you will get links to a dictionary :P
Ell
Ell
Well for example, allowing only a uint_16 for the packet size or something
I had one example earlier but I can't think of a decent one now >.<
In case of network you want to keep protocol overhead to minimum for better utilisation of bandwidth
If you send more metadata than data then something is wrong (tm)
@Ell IP4 is uses 16-bit size field.
Ell
Ell
23:56
Does it?
user142019
ld y u no -luv
But MTU is usually 1500 bytes.
So your packets will be split.
@Ell Check IP header on Wikipedia :)
user142019
Waf stop sucking cunt.
Internet Protocol version 4 (IPv4) is the fourth version in the development of the Internet Protocol (IP) and the first version of the protocol to be widely deployed. Together with IPv6, it is at the core of standards-based internetworking methods of the Internet. IPv4 is still used to route most traffic across the Internet. IPv4 is described in IETF publication RFC 791 (September 1981), replacing an earlier definition (RFC 760, January 1980). IPv4 is a connectionless protocol for use on packet-switched Link Layer networks (e.g., Ethernet). It operates on a best effort delivery model, in ...
user1182183
23:59
first thing I do after I install anything on my pc... open MSCONFIG, check startup tab if nothing isn't added what I don't want, check services tab to check if there isn't any service that is added that I didn't give permission for, check startup folders, check task scheduler, remove all the crap that all stupid installers install that I didn't ask for.

« first day (820 days earlier)      last day (4354 days later) »