« first day (698 days earlier)      last day (4251 days later) » 

9:00 PM
@TonyTheLion It'll wane. Both the fest and the disenjoyment
 
Puppy is a puppy, and duck is a puppy and anime man is a puppy and cat was a puppy and some new people were puppies too
 
Judging by the number of stars on specific messages on the starboard, I'm pretty sure there are exactly 4 'puppie impersonators' at large.
 
sbi
@sehe Actually, if you reload the page, everything should be fine. I see only one puppy in the room now, and that one is genuine.
 
@sbi Chimura is still a puppy.
 
@TonyTheLion Oh right. I don't know how that happened, because I just logged in after having been absent for the night :)
 
sbi
9:02 PM
@Mysticial Oh, that's right, there's two of them. Sorry, I must've missed that.
 
@Mysticial Chimura?
 
or however it's spelled
 
@Mysticial Mystical cat
 
9:05 PM
10.4 GB commit memory on my machine currently
WTF
 
@sehe I'm pretty sure at one point I counted seven impersonators and one origional
 
Breaking news: no puppies on mumble
 
@MooingDuck The UNAMA, at least, says it's not really quite that bad. Their numbers don't paint a pretty picture, but at least it's not quite as awful as some imply.
 
i c 2 puppies
 
@JerryCoffin Thank you. A fine comment
I see Dead Puppies
 
9:09 PM
I know the the first thing in char* argv[] is the program name, but is the program name considered a command line argument?
 
Good evening, you too. Always patient. Always greeting in a friendly manner
 
No, it's command line debate.
 
@MohamedAhmedNabil I... don't think so. But I'm unsure
 
@MohamedAhmedNabil No and No
 
@sehe 2 things are incorrect?
 
9:11 PM
@MohamedAhmedNabil Sort of. When you call excelp (or friends) you pass an argument that will become argv[0] in the executed program -- but I've never heard of a shell that let you enter it on the command line.
 
"I know the the first thing in char* argv[] is the program name" only sometimes
 
@MohamedAhmedNabil Yes
Sep 6 at 14:21, by Jerry Coffin
@R.MartinhoFernandes On either Windows or Unix, argv[0] is usually whatever got passed by whatever spawned the program, which may or may not include a path (neither guaranteed nor prohibited on either Windows or Unix).
 
@MohamedAhmedNabil it can be null
 
Example:
Sep 6 at 14:21, by R. Martinho Fernandes
$ view stuff invokes vim, but passes "view" as argv[0].
 
It can also be modified for increased hilarity.
 
9:12 PM
@sehe i didnt quite understand that
 
Are we in gallery mode?
 
I'm confused
no we're not
 
@JerryCoffin I was under the imprsesions arv[0] was normally the "name" used to launch the program from the command line. Like in Martinho's example that sehe linked.
 
WHAT IS HAPPENING
 
whoa, why'd the page reload?
 
9:13 PM
@MohamedAhmedNabil Try this on POSIX systems: ln -sfvn /usr/bin/sh ./something-else && ./something-else -c 'echo $0'
 
Magic.
 
@CatPlusPlus Stop messing with the room mode :)
 
@MooingDuck Somehow you were on the requested access list.
So I put on you write access.
 
I didn't do anything.
 
@Mysticial As was someone else.
 
9:14 PM
@sehe Do i have to understand and learn actual command line arguments? or is it enough to know that argv[0] doesnt have to be the program name
 
@Mysticial probably from when we were in gallery mode earlier. Apperently name changing clears those rights
 
@MohamedAhmedNabil You decide. For me, it is okay if you toss the computer out with the garbage and become a Shaolin monk
 
No, you were cleared by sbi.
@sehe Subtle.
 
[d:\dev]
> c:\Program^ Files" (x86)\MinGW\bin\g++.exe"
Program: error: Files (x86)\MinGW\bin\g++.exe: No such file or directory
Program: fatal error: no input files
compilation terminated.

[d:\dev]
> _
 
@sehe Im asking you your opinion :)
 
9:16 PM
@MohamedAhmedNabil I gave you mine. Accept it :)
 
@sehe so that is a yes or no, learn Command line arguments or not
 
^ I like that utter confusion. :-)
 
@MooingDuck That makes sense
 
@MohamedAhmedNabil your question doesn't make sense to me. The first parameter is not dependable, and the rest are whatever you say there are. There's nothing there to learn.
 
@MohamedAhmedNabil I don't care :)
 
9:17 PM
@MohamedAhmedNabil I suppose you should learn what arguments the OS attempts to pass. (I should too come to think of it)
 
@MooingDuck I meant command line commands, like cd and stuff like that
 
@MohamedAhmedNabil if you're on linux, yes. If you're on Windows.... maybe.
 
so the conclusion is that argv[0] is a command line argument or not?
 
@MooingDuck Depends on the shell -- some pass what you type, but others pass a full path to the executable. There are probably a least a few that still other things.
 
wtf valgrind!!! arghhh
 
9:18 PM
@MohamedAhmedNabil That's something else entirely. Although if you really wanted to understand the answer to your original question, do get acquainted with hardlinks, symlinks, and program invocation on POSIX systems. Then, readup on GetCommandLine and friends and weep.
 
@JerryCoffin makes sense
 
@MohamedAhmedNabil It is definitely not. Never has been.
@netcoder what of it?
 
@MohamedAhmedNabil It is the command executed
 
@sehe even if argv[0] is the program's name?
@JonathanSeng oh ok
 
@JonathanSeng Unless you changed it. E.g. for security reasons (don't want to leak privacy-sensitive information through ps or /proc on e.g. shared hosts...)
@MohamedAhmedNabil How would that qualify as an argument? You're shifting definitions
 
9:20 PM
@sehe: it's apparently making something send thousands of bytes to a server app though a socket, when I run it on a client app
 
@sehe Not sure if that was directed at me, but if so, good evening and thanks (and if not, good evening anyway).
 
@netcoder The processes communicate on stdin/stdout?
 
@sehe: sockets
 
@JerryCoffin Erm sorry. No, that wasn't. It was to @MohamedAhmedNabil
 
hm i can' tmake sense of the duscyssn
kay
 
9:22 PM
Well, I have to go pick up kids from school. See you all later.
 
@netcoder Mmm. That's surprising. I can only guess that you accidentally write to/reopen the wrong filedescriptor (especially #2, usually associated with stderr, which is the default 'valgrind message spew')
@JerryCoffin Cheers
 
@sehe I say hello and ask permission to ask a question people tell me to ask directly. I dont and people say that i ask questions right away.
 
@sehe I'm less certain. It seems like the command on the command line is not an argument, but argv.... oh wait. argv is the argument, not the things it points to.
 
@MohamedAhmedNabil That's because we have a whole website for asking questions on and you really shouldn't be spending all your time in here asking questions.
 
@MohamedAhmedNabil Well. Don't do both. Why don't you just say hello? That's not asking for permission, is it? Also, perhaps spend 5 seconds or so reading the current discussion before dropping your question on the ground. That's just common sense to me
 
9:25 PM
@DeadMG If the question needs a big answer then i ask on stackoverflow.com
 
@DeadMG That too
 
@MohamedAhmedNabil If the question needs any answer, then ask on stackoverflow.com
 
@sehe ok:)
 
@sehe: I have this server app which protocol basically accepts requests in format: STX char, data, ETX char. if data is longer than 1024 bytes, you have to send an ETB char to prevent the server from discarding it.
 
@MohamedAhmedNabil If a question needs a dozen answers and twice as many second opinions/confirmations on a daily basis...
 
9:26 PM
@sehe: the client test app is written in C++, using the C linux socket API. if I run it without valgrind, server responds "8 bytes received" and processes the request. with valgrind it responds "malformed request, no ETB at byte 1025)", for the same code
 
@sehe I thought my question was a yes no question, but ok :)
 
I'm really confused atm
 
@netcoder I read "C linux socket API" and "My code doesn't work" and I think "Well, it's a C API, what did you expect?"
 
@MohamedAhmedNabil It is. Unless you start fussing ("I don't understand" and asking the same thing 4x over in other words). You got clear answers. From about 5 different people. In < 20 seconds. Read the answers. Come back tomorrow. Tell us if you understood :)
 
try using a real library like boost::asio.
 
9:28 PM
@netcoder my sympathy
 
Imagery of nude celebrities is in widespread demand and is a lucrative business. Depictions of celebrities have been exploited by vendors of pornography and others in many different forms of media. Genres include celebrity sex tapes, paparazzi photos capturing unintentional or private scenes, film screenshots, faked or doctored images, and shots from magazines. Background The commercial demand for images of nude celebrities has been known for many decades. Playboy magazine is renowned for offering famous women large amounts of money to appear nude in its magazine, and more downmarket por...
 
@netcoder This tells me that valgrind output is making it to the socket. Quite simply. This either means you're mixing filedescriptors up or stream buffers. Is the application threading? Is there a shared buffer?
 
^ What? No illustrations?
 
@sehe ok thanks :)
 
@DeadMG: I might as well just do that, but still, I'm puzzled
 
9:29 PM
@MohamedAhmedNabil Ok. No hard feelings. Just speaking my mind. You're welcome in the lounge. Just trying to make it worth your time, as well as ours.
 
@netcoder The real puzzle is how you expect us to solve your problem without an inch of code :P
 
@Cheersandhth.-Alf you can get them elsewhere on the internet ...
 
@netcoder Something calls exec, dup, dup2 or dup3 in there? Those would be suspect. Also, fork has some specific semantics that could be involved if you use it
 
@sehe I haven't though of that, I'll look into that
 
I mean, seriously- you have completely unknown code written against the most unsafe API style known, and then your code doesn't work, and what am I supposed to do?
 
9:30 PM
Wow.... The topics here are really out there.
 
@JonathanSeng Welcome to Lounge<C++>! :-)
 
@Insilico I thought it was Lounge<DeadMG>
 
@JonathanSeng Actually, they're kind of in here. Else, they couldn't be here, y'know?
@JonathanSeng It did have a bit of a puppy overflow.
but that stopped when the original returned, as none of the duplicates could possibly match my sheer brilliance
 
@JonathanSeng is okay, you can combine them to make it even better
 
@DeadMG Its moving to puppyoverflow.com?
 
9:32 PM
I come here and I see the word nude in large letters on my screen
WTF
 
@TonyTheLion Hence my earlier comment
 
@TonyTheLion Alf's no longer content with food porn.
 
@TonyTheLion only the word, come on.
 
He's moved to NSFW porn
 
@JonathanSeng You mean, the room topics?
 
9:33 PM
@DeadMG Hence, my scouring of Wikipedia.
 
@sehe Yes. And I'm getting tired of the mouse to reply.
 
@DeadMG well, I don't expect you to fix my problem at all, looking for a pointer and I just might have gotten one
 
@Cheersandhth.-Alf you should try the SFW Porn network on Reddit
lots of SFW porn there
 
@JonathanSeng Hang on. This is a solved problem... a sec
 
@netcoder pointers are bad
 
9:34 PM
@TonyTheLion also nude pointers?
 
@Walter You mean bare pointers?
 
Apr 10 at 10:16, by sehe
21
Q: SE Chat Modifications -- Keyboard navigation and commands for chat

Tim Stone Screenshot Use /command shortcuts to perform common chat tasks: See message history inline: Easily preview replied-to messages: And much, much more... About Legends tell of a prolific Meta Stack Overflow chatter who despised using their mouse above all things. In an effort to keep t...

 
std::bare_ptr<nude>-> f***();
 
I like bear pointers more
 
@netcoder Don't look at me
 
9:36 PM
he's only pointing, not looking
 
@sehe It requires a script and junk.... Wow.
 
Everybody else starts looking at me
 
@sehe Thank you though. I shall simply have to remain frustrated.
 
@JonathanSeng Hey. It's called flexibility and extensibility. A Good Thing. But you're not obliged to do anything :)
@JonathanSeng You're not using lynx, elinks2, elinks, links, w3m or netcat, are you?
Uhoh. Dillo? Makes sense now
 
0
Q: How to get more reputations fast

Jack AOkay this is a game, you will like this post and like all the answers then answer anything and everyone will like your answer, easy this way you get a lot of likes fast.

 
9:38 PM
@sehe It should be well supported in the original. Having to dump scripts I don't even know how to put in my browser -- each browser -- betrays an underlying failure of the system.
 
Down in under a minute... damn
 
@sehe Right now, safari
@Mysticial There is a point there.
 
woah, the user just got destroyed
 
@JonathanSeng Huh. You are demanding, yet don't want to tweak things.
 
@Mysticial That rushing sound is the universe re-equalizing to the singularity that was the user.
 
9:41 PM
what is the most negatively scoring SO question ever that has not yet been deleted?
 
@JonathanSeng Apple user, right? You solve the problem by paying more. That way, cognitive dissonance will remove the perception of frustration.
 
@Walter most negative votes or most negative score?
 
(Only half - joking of course)
 
@sehe No so fast.... I'd rewrite the code served by the server before I would alter my browser. Not the least of reasons is that I have to do it on each browser and so does the next guy.
 
@Walter The 100,000 emails question was recently deleted at -120 or so.
 
9:41 PM
@MooingDuck either is fine
 
@sehe Okay, I am going to take offense to this. I own an apple. And earlier I was explaining to a microsoft hater how my mac had a fatal flaw (that I'm tracking to then send for replacement) and that microsoft actually had one program I like -- besides minesweeper.
 
@JonathanSeng The next guy can also visit stackapps.stackexchange.com and invent his own favourite things. And contribute them to the community. Yes, a bit like with browsers, you'll have to choose. Choice is good. Or you'd be stuck with whatever bone they throw you
 
(And by offense, I mean comedically speaking)
 
@Walter stackoverflow.com/questions/6151571/… seems to be the lowest score
 
9:43 PM
Hmm the data explorer query is taking a while to complete
 
YES!!! mission accomplished my rep is back to a multiple of 5
 
@sehe Ok, snype-hunt-causer. Invalid link.
 
Time to take a nap and hopefully get some work done.
 
@Insilico If I recall, the most downvoted but still open is on the "highest voted questions" page. I think it was stackoverflow.com/questions/1642028/…
 
@Mysticial Why does multiple of 5 matter?
 
9:44 PM
@JonathanSeng Uhoh. It worked. You know - I have nothing against apple. I just like to point out amusing coincidences. I love to misinterpret things and invert logic. Very often, it serendipitously leads to some insight
 
@sehe Ok, freak, you're sounding like me. ;-)
 
@JonathanSeng stackapps.com -- inconsistent bloddy SE daughter site names :)
 
@MooingDuck You mean downvotes only?
 
@Mysticial the question with the most downvotes. (ignoring upvotes and score)
 
@JonathanSeng Jibe :) This is a form of relaxing for me. I hope I won't always annoy you or others
 
9:46 PM
@sehe Who said anything about annoying me? :-)
 
@JonathanSeng I dunno. I just get bothered when it isn't a multiple of 5. :)
 
@JonathanSeng I believe that was me
 
@Mysticial Quick, 2.5 of us should go upvote something of Mysticals.
 
We're a buch of lunatics, really
Huzzah
 
@Mysticial ending in an 8 would be the worst then, eh?
 
9:48 PM
@sehe I haven't donce C++ in a year and a half (until about 3 days ago)... And now I'm morphing song lyrics about C++.
 
@MooingDuck Ending in 9 would be even worse.
 
@Mysticial multiples of 37.
 
-69
A: How do you use bcrypt for hashing passwords in PHP?

Josh KYou Don't Use hash("sha512", $str); instead. You could also use another hashing algorithm (MD5, SHA1, SHA256) if you like. Also see this related question. The argument that bcrypt is better because it is slower is not smart. You can generate a rainbow table to crack all 6 character passwords i...

 
@Mysticial that's only two downvotes. an 8 requires four downvotes
 
Data explorer gives me this post as one of the lowest non-deleted posts.
 
9:49 PM
My rep's been a multiple of 5 since March. (except for the occasional downvote that got capped away)
 
@Insilico ah, I was only looking at questions
 
@MooingDuck Let me modify the data explorer query then.
 
Congrats on having the lowest-rated answer on the site — BlueRaja - Danny Pflughoeft Jul 23 at 7:37
 
Is it sad that I went back and added an answer to a 2 day old question that was already approved?
 
lol
 
9:51 PM
that's an answer @Insilico
 
@Insilico I love how that is -69.
 
@JonathanSeng Nope. Not if it was a good answer, and it added to the information already there. Where?
 
@Walter Yes, that has been pointed out to me.
 
The lowest scored answer on SO I believe is: stackoverflow.com/a/4773038/922184
 
0
A: switch easily between different main()

Jonathan SengYou are almost always better off using a separate compiled binary with a separate main. First, "for testing purposes" might include code that should never be in the real binary -- such as test library code. That requires a second binary. Second, if there is nothing that should be omitted, you ...

 
9:51 PM
deleted though
 
^ That one?
 
I see now
 
+11/-82 Because of reddit.
 
Who the fuck upvoted that linker entry point answer.
main is not a primary entry point idiots waah.
 
@CatPlusPlus Too many 'helpful' chaps who know how to google for the halfbaked solution to the wrong question :)
 
9:52 PM
0
Q: From vectors to arrays c++

shizzleI have 6 fucntions taken from a toolbox for signal processing where alot of vectors are used. Due to some memory issues on my DSP I need to use arrays instead. Is there an easy way to convert vectors to arrays and also the functions used i.e. insert, push_back, erase etc? Regards

WTF is this crap?
 
@TonyTheLion What sorcery is this? (FTFY)
 
lol
shitty question
 
@CatPlusPlus Even Pete-bloddy-Becker himself got zarroo votes for his /sane/ answer (well, until I voted)
 
This is not a good idea. This can lead multiple binaries with the same name and different function. — Jonathan Seng 1 min ago
._.
The entire question is stupid.
Why the hell would you want to test a different program.
 
@TonyTheLion I think this is someone who wants C++ without the STL libraries.
 
9:55 PM
Just make it a different program, geez.
 
@JonathanSeng Why do people insist on not using standard C++ functionality?
 
Its visual studio -- making multiple binaries (when last I used it) was hard.
 
I upvoted only the answer that says to just bloody create a new project or whatever.
 
@Insilico They mentioned being on a DSP board.
 
Everything else is stupid.
 
9:56 PM
C++ without the std library? what's that?
 
@CatPlusPlus Wow. I feel bad now ;-)
 
C has some library, not completely useless ...
 
C has useless library.
@JonathanSeng Well, it's your answer I don't know
 
9:57 PM
so you never use it?
 
@Walter The difference between "C library" and "Useless" is not useful.
 
@Walter We're C++ programmers. Of course we don't use it.
 
Why would I use it.
 
C is a mess
 
9:57 PM
Ignoring history, C is a poor attempt at C++.
 
@JonathanSeng But really, that comment was very silly.
 
Cannot un-c
 
@CatPlusPlus and none of the C++ library features are implemented via C headers? what about math.h?
 
@JonathanSeng That's a valid reason, I guess. Most of the time people come up with some stupid-ass reason for not using it.
 
@Walter math.h is a C header.
 
9:58 PM
@Walter That's an implementation detail. I can make my C++ standard library rely on zero C library functionality.
 
@Insilico There are times when there are valid reasons to do something otherwise not ideal.
 
@JonathanSeng I know, but cmath includes it in all implementations I've seen
 
@JonathanSeng And that disagrees with what I just said how?
 
I very rarely use math.
 
@Insilico It agrees with what you just said.
 
9:59 PM
@JonathanSeng Oh okay just wondering. :-)
 
@Insilico you can, but did you? if not, you're using C
 

« first day (698 days earlier)      last day (4251 days later) »