« first day (1080 days earlier)      last day (3860 days later) » 

5:01 AM
G'night boyz
 
@StackedCrooked A single header in Google could mean gazillions of terabytes of data flooding through the internetz. ;)
 
5:12 AM
Hmmm. Is it okay to overload a perfectly forwarding (variadic) function with other (non-template) functions?
 
it is okay but kinda risky if you don't properly constrain it
 
IIRC the non-templates would be preferred over the perfectly forwarding one, which should be a template. Though I'm not sure if it's safe...
@DeadMG You mean SFINAE right?
 
yep
 
@DeadMG Right. I remember hearing that on GN2013 on Sean Parent's talk about sink arguments.
Thanks.
 
5:27 AM
welp, I watched the last episode of breaking bad
 
I hate it when the accepted answer is trash
 
What's your favorite food?
v Trash
 
@Rapptz What answer?
 
@MarkGarcia I mean in general.
 
Oh.
 
5:30 AM
The unhelpful accepted answers.
Then there's usually a decent one that isn't accepted.
 
The best thing you can do is upvote the better answer.
And maybe leave a comment why you think it's better.
 
It usually outscores, sometimes greatly (something like 11 vs 124)
 
It's just a blemish on the OP.
 
mawnin guys
 
Most of the situations are those accepted answers who specifically target the OP's errors/problems like "do this and you'll be up and running again", while the better one would give the rationale and best practices and general rules, etc.
 
5:32 AM
man, i woke up so late
 
I went to bed Sunday 8AM and woke up Monday 5AM.
 
@Rapptz At least the best answer's author gets a shiny gold badge. :)
 
@StackedCrooked o.O ?
 
really
Where's my Sunday?
 
I like the feeling when my rep goes back to multiple of 5 by downvoting a shitty answer.
 
5:37 AM
I've been a member for 4 years and 6 months and I have a total of 5 downvotes.
 
According to your profile, 11 actually. ;) You have a merciful soul.
 
Where do you see that?
 
@StackedCrooked Lower right part of your profile page. "819 Vote Cast..."
 
Ah. I was looking at the votes section, which only shows 5 downvotes. (This can only be seen by me.)
 
@StackedCrooked I have a hard time believing that.
 
5:41 AM
@GamesBrainiac Me too.
I didn't wake up even once.
 
Wait, no. I don't actually. You're Luffy :P
@StackedCrooked btw, what have you been up to?
 
Haven't seen Sunday's anime yet.
I should watch them tonight.
@GamesBrainiac There was team building event thurday and friday.
We went to Netherlands for some sailing and other stuff.
 
@StackedCrooked Sounds like you're having fun. We're going to be SMS sponsors for an event soon, and I right now have the sms api for a few SMS apps. I was thinking of sending mass prank sms' to my friends :P
 
Don't get yourself fired ;)
 
Yea, I like this job ;)
But you gotta admit, its really tempting XD
Damn its cold outside
I need to get a sweater
@StackedCrooked btw Fairy Tail started again :)
 
5:51 AM
Really?
That would be great.
 
Yea, me love Happy :P
That little bastard is so cute
 
-3
Q: PHP form validation gives parse error

Jackie69I am trying to validate a registration form, but I keep getting the following error: Parse error: syntax error, unexpected 'if' (T_IF) in....line 88 Below is my script. Can anyone tell me what I am doing wrong?? <?PHP //Validate form (Check that relevant fields are actually completed) //Er...

2
^^ lol, everything is downvoted.
 
@Mysticial This is gold, gold I tell you XD
@Mysticial Holy shit you're at 120K
 
almost
 
I have to write tests for php scripts :(
python passes objects into functions as "object references" :S
 
Ell
6:35 AM
Yah :)
Pass by reference
I forgot if C has references or not
 
Pointers.
 
Ell
But c doesn't have c++ style references does it?
 
Yes. C++ introduced them.
 
6:56 AM
@Mysticial Reminds me of the time someone downvoted my answer and all the other ones months later just to delete the question.
 
@DarioOO You're not helping yourself. "just copy -paste typo for transition to stackoverflow. I was in hurry and did'nt pay too much attention". Enough said. And "within minutes" was 25 minutes. (If you don't expect answers, why post? In general questions get the most attentinon immediately after they're first posted). I was just saying. Use to advantage. Don't sulk. Next time you'll do better. No hard feelings. — sehe 24 secs ago
^ oh boy. he's making a mess for himself
Good morning
@Rapptz Yup. All sets of rules have "arbitrary" loopholes. Not even mentioning puppets
 
JBL
Good morning !
 
To you too!
 
JBL
@Mysticial I like the idea of an FAQ entry "Which questions should I avoid answering to ?"
 
@StackedCrooked It's due in about 6.5 days
 
7:02 AM
@JBL @sehe toppa the mornin to ya both
 
I'm hoping that's good
 
g'morning. back at work...
 
user1804599
Hellooooooooooooo! :D
 
@not-rightfold hai pony!
java is sooo fucking shit. The Dictionary class is totally useless.
 
user1804599
7:19 AM
Why do you use Java?
 
@not-rightfold I have to for university.
I wanted to use Scala, but no, it had to be java
 
user1804599
Use Clojure or Scala and decompile the result.
 
user1804599
And tell your teacher he’s an asshole.
 
@nabulke but that opens up a window for data races obviously. Consider moving the parameter to the thread. Threads and shared (mutable) state aren't generally recommendable (certainly not just to "avoid the copy") — sehe 2 secs ago
@not-rightfold Is today a great day?
 
user1804599
@sehe No.
 
user1804599
7:21 AM
Today is a wonderful day! :D
 
Sad story
 
user1804599
Weekend’s over; no more boredom!
 
@not-rightfold You get laid or something? You sound overly happy.
 
Boredom is a luxury disease
 
@not-rightfold Ahh. That makes sense.
 
JBL
7:22 AM
I'd rather ask "You finally got rid of PHP dev ?"
 
user1804599
@GamesBrainiac no, but it’s monday.
 
JBL
Or something like that
 
user1804599
@JBL Well, almost.
 
JBL
Onice !
 
@GamesBrainiac Wait where: "I'm so glad weekend is over, I can get to work now" doesn't sound overly happy to me
 
user1804599
7:23 AM
I’m doing client-side stuff right now.
 
user1804599
In a week or two I’ll be doing Python.
 
I'll be doing Sloth for the next month and then months of Gorilla :/
 
@sehe Now, but "Today is a wonderful day! :D" and "Hellooooooooooooo! :D" sounds very very cheerful :P
 
Sue him
 
@not-rightfold thats the spirit :P
@sehe so, hows the could app coming along?
 
user1804599
7:25 AM
And we decided not to use PHP anymore for any new large projects.
 
user1804599
So that’s good too.
 
@not-rightfold Awesome, just make sure you don't use MySQL, and if you have to use the django orm XD
 
user1804599
We already decided a while back that MySQL is shit. :P
 
user1804599
Hence we use PostgreSQL right now.
 
awesome, all i gotta do now is convince my boss
that postgres is the way
intelliJ is so slow today :(
 
7:30 AM
@GamesBrainiac Hmmm?
 
How can I get out of a question ban?
I have positive contributed those questions which stackoverflow poorly received since long time
any body can help me for this ?
 
JBL
@GamesBrainiac I feel lucky being able to tell my boss what I'd like to use :D
 
@JBL I can tell my boss what I'd like to use - but sadly that does not mean she'd listen and allow me to use it ;)
 
lol. This and this questions are duplicate with each other.
 
JBL
@ArneMertz In my case, it ends up being what I'll use.
@MarkGarcia This is ridiculous, like, these are the same questions : still, ~80 upvotes difference...
Also, I don't understand why such simple questions are so upvoted... Like, isn't one of the prerequisite "Do your research" ?
 
7:43 AM
@JBL 2009. Old Stack Overflow.
The time when Stack Overflow's still fun.
 
JBL
Yeah..
When simple question got you shittons of rep' :)
 
user1804599
@luckyamit By whining on Meta Stack Overflow.
 
@JBL I'm working towards that.
 
@MarkGarcia I don't really get it. The answers seem to completely disregard the fact that silverlight was an inbrowser CLR subset, whereas WPF has nothing to do with browsers?
 
i have fallowed all the things from there @not-rightfold
 
7:54 AM
This is a race condition. The OP specified the threading context in code. — sehe 11 secs ago
This Pileborg is getting on my nerves with increasingly bad answers
@luckyamit Then go to meta. We're just loungers.
Re. the "simpler way", at least the OP's code doesn't invoke UB when the string is empty — sehe 4 secs ago
 
morning
 
Hi there
 
@sehe he should use a std::atomic<bool>, right?
 
@TemplateRex Or just a mutex, as that's simpler to explain and disconnecting isn't a frequent operation
 
I now see your extra comment
 
8:03 AM
@TemplateRex Or an std::atomic_flag by the way, which is a funny beast
 
I downvoted just because it is Monday and I got out of an 15 km traffic jam
 
@sehe I don't know either. I haven't had much experience with WPF, much less with Silverlight.
 
Note: Error checking is left as an exercise for the reader. — Joachim Pileborg 1 min ago
^ weasel words
 
@sehe any more examples of that user that are bad answers?
@sehe oh you gotta love that one, your friend millimoose correcting your other friend Pileborg ;-)
 
I don't keep records of who said what when. I'm lousy with names and have bad memoery. That serves me really well.
 
8:08 AM
@sehe millimoose is the one you tried your new karma on, after I showed you my inspirational example
 
@TemplateRex Erm. I've been doing all that karma for years, you know. That wasn't new for me
Then again, I did start to note that Pileborg was increasingly getting many votes for simplistic contributions. The "fast serve" type of answer. Look at his latest one suggesting popen. I marked that as a dupe of my own answer that shows at least 3 different recognized libraries that support this generically (and much more completely)
 
did you also downvote it?
 
does anyone of you have experience in working at google EU?
 
@ArneMertz are you applying?
or being asked to?
 
@TemplateRex the latter
@TemplateRex or lets just say they contacted me
 
8:13 AM
@TemplateRex Nope. I did downvote the race condition though
 
I think you should ask DeadMG about it, he went through the whole process a while ago (didn't get in, though)
 
@ArneMertz I've always assumed that's a scam. I get contacted ~1x year. I googled the text of the email and got so many hits that I dismissed it.
Last time I noticed the mail even mentioned they contacted me a year back. So maybe I was wrong and they just have a lousy style of cold-contacting people. Their loss
 
@sehe ha, playing hard to get works apparently :-)
 
@sehe I googled the text and did not get anything meaningful. They included a link to my SO profile, and the guy seems to exist - I answered I was on vacations and he replied within an hour or so.
 
user1804599
Meh.
 
user1804599
8:18 AM
Got an invoice.
 
user1804599
I have to pay for my VPS. D:
 
@TemplateRex Nah. I never considered working for google. They're nice, but I have a feeling it would dominate my life, which I don't need
@ArneMertz The woman seemed to exist as well, I think that was part of what I google for. The link to SO is promising though
@ArneMertz And the response, of course. Just sharing my experience with acquisition mails
@not-rightfold No shit. 5€?
 
gotta go now, later
 
user1804599
@sehe Een tientje.
 
@sehe well, from reading texts about how work is at google, I got the same feeling. But the texts are mostly about working at the campus of google US, not EU. And I am not that easily distracted from a sane work life balance ;)
 
8:22 AM
@not-rightfold Oh well
@ArneMertz That's a good thing to have
 
@sehe and my wife wouldnt let me anyways ;)
(flip my work-life balance, that is)
 
Oo ... just spent $1500 on a 90 mins dental treatment
I didn't even realise they put in a fake tooth until I had a cup of ice coffee
 
Sue the bastards! How dare they! Put in a fake tooth! For real money!
 
the fake tooth is worse than the chipped one
looks so fake ...
waiting for the crown ... mean while have to put up with this fake looking fake tooth ...
@sehe I think they mischarged me last time ... then charged me the right amount for both times this time, except the mischarged part which they over charged last time.
It also includes the deposit for the next time (50%).
 
@Telkitty猫咪咪 I have no clue what you're talking about. I'd say you need to ask them
 
8:30 AM
Yeah, I will call them tomorrow morning, I think they over charged me for about $150 but I could be wrong.
 
user1804599
PHP y u no tuple.
 
@CatPlusPlus idiotic scrub, chrome can ignore cheaty dirty broken SSL
 
Why would you need a tuple when you have AN ARRAY
 
AN ARRAY is all you need
 
user1804599
Because semantics. Ask @Cicada.
 
user1804599
8:34 AM
Also lol array.
 
user1804599
DICTIONARY.
 
I'm reminded of Andrei's talk.
 
@thecoshman I sure hope they fixed that shit, I remember that you couldn't
Also self-signed cert is not "broken" :cripes:
 
@CatPlusPlus ... what? you were always warned and always had the option to ignore invalid/broken/out of date/suspicious SSL
 
8:35 AM
Idontcareaboutchrome
 
@CatPlusPlus and that permits you to spew crap yet object to others spewing crap about things that are ignorant of?
 
Yup
He's Cat
Resistance Is Futile
6
 
I remember not being able to get past that SSL warning
 
@sehe oh right
@CatPlusPlus I blame the nut behind the wheel
 
Glad to be of help
 
8:37 AM
Ugh
I MUST DEFEND MY BROWSER
THE GOOD NAME OF CHROME MUST NOT BE TARNISHED
 
@CatPlusPlus burntfox?
 
Nah MUST OFFEND AN ANONYMOUS INTERNET CITIZEN
 
will somebody think of the children
 
oh, you mean how I can not point out that you are wrong?
 
@StackedCrooked The children, mostly
@thecoshman You don't make it apparent that he is.
 
8:38 AM
News alert You are not allowed to point out when @CatPlusPlus is wrong, nor offer corrections. Everything it says must be taken as gospel and believed blindly.
 
user1804599
@NikiC can I capture $this in a lambda?
 
You're both tripping on anecdotal evidence and slapping eachother with it. It's quite amusing. But I hope it stops soon
 
You replied to a stupid joke disclaimer on a fucking pin
jesus christ
 
@thecoshman Good morning pirate. Anything we can do you for, today>?
 
@sehe aye, proofreading :D
 
8:39 AM
@CatPlusPlus You called, sir?
@thecoshman Okay. For a moment I thought you were.... just a little tense :)
 
Case closed.
 
I love it. What took you so long... ROFL
 
@sehe did he fuck himself?
 
user1804599
8:40 AM
Gebruik vuurvos.
 
@StackedCrooked The story doesn't say. Much like, the story never says whether the prince fucked Rapunzel's brains out (he likely did, but we'll never know - until the sequel!)
@not-rightfold Use Engrish
 
@CatPlusPlus ooh, bee in your bonnet. I'll just start worrying about this new millennium bug thing I hear people talking about. Maybe we should also move over the Gregorian calendar
 
user1804599
My colleague calls Python “slang.”
 
@thecoshman Pot, meet kettle. Please review your own tirade from above. Then come back sober. Thank you
@not-rightfold apt
 
8:43 AM
@not-rightfold its the base type :)
 
> Closed: Mar 2009
 
user1804599
@sehe I apt-got Python.
 
I DONT UNDERSTAND EXAGGERATION AND HUMOUR EITHER
I know you can do it now, I said that I remember a point where you couldn't, that was that point WHAT IS SO HARD JEEESUS
 
you all suck
 
user1804599
Who are you complaining to?
 
user1804599
8:46 AM
The only one who’s here who I have plonked is that Chinese troll.
 
user1804599
@CatPlusPlus Fork Chromium. :D
 
This day wasn't annoying enough apparently.
 
it just started
 
@CatPlusPlus You can stop now
 
it's over baby
it's all over
 
8:50 AM
yay
 
What's going on.
 
Lounge - pirate dog-fights a cat. That doesn't work
 
@R.MartinhoFernandes crazy frog
 
Good morning
 
@R.MartinhoFernandes Mornin robot :)
 
8:51 AM
@R.MartinhoFernandes way to go, it was just over
:P
 
Me needs to watch some anime.
Cya till then :)
 
user1804599
Fuck Vim.
 
user1804599
I’m switching to Emacs.
 
> Both UCS-2 and UTF-32 encodings are identical, as they use a direct bit representation for codepoints K-ballo's blog
^ I thought that used to be true once, but isn't anymore?
 
It was never true.
 
8:55 AM
@not-rightfold Didn't you just fuck vim and switch to ST2, and now you're fucking vim again? You're one hell of an editor slut :P
 
That's worse then. The blog post seems to be rather ok, though. I wonder what other mistakes could lurk there
 
@sehe I get what he means, that both are an identity function. The difference is that the first is id_char16_t and the second is id_char32_t.
 
So, it's a difference in definitions only? Or does machine endianness mess it up?
 
@sehe me? tense? just back to work... coincidence?
 
@sehe Neither has byte order, since neither has bytes as units.
 
8:58 AM
but yeah... some proofreading would be appreciated :D
 
Lol. I try to stay away from endianness
 
I love you guys. You're all so weird.
 
@thecoshman Woah, GitHub now displays the YAML header properly? Awesome!
 
@R.MartinhoFernandes Since 3 days ago or so.
 
@R.MartinhoFernandes oh yeah, so it does. It used to just not show it at all right?
 
9:01 AM
@thecoshman It tried to interpret it as Markdown and then all hell broke loose (the dashes would turn the last property into a header, for example)
 
@R.MartinhoFernandes ah... still... as you opened that link... may as well give it a look over :D
 
user1804599
Fuck you PHP why can’t I capture $this in a fucking lambda.
 
Isn't it implicit?
 
I expected yaml to die a silent death.
 
user1804599
9:02 AM
No.
 
user1804599
You need to add explicit captures.
 
I know.
 
user1804599
$x = 42;
$ys = array_map(function($y) use($x) { return $y + $x; }, $xs);
 
5.4.0 $this can be used in anonymous functions.
See, it's implicit.
 
Funny how C++ managed to be more concise than a scripting language.
 
user1804599
9:04 AM
What.
 
user1804599
Oh god why.
 
user1804599
Why is one thing implicit and the other thing not implicit I don’t even.
 
@StackedCrooked C++ has at least some design work put into it
 
C++ does the same thing.
 
?
 
9:05 AM
%
 
@StackedCrooked You mean some low O(1) amount of characters?
 
PHP is still O(N) shorter because of $ vs auto.
 
"Concise" is not a point for when the source looks like someone vomited punctuation characters all over it.
 
C++'s conciseness is not webscale.
 
9:06 AM
(I just got rep of 20, so this is new to me)... Is the question I asked in the forum better suited for here? (ref: stackoverflow.com/questions/19090209/…)
 
user1804599
Perl ftw.
 
user1804599
@DaveC No.
 
JBL
C++ and web... Urgh
 
user1804599
Also lol <cstdio>.
 
9:08 AM
@DaveC Questions are asked on the question and answer site where people ask questions and answer questions. Chatting is done in these chat rooms.
 
ok, thanks.
 
Is the chat project still being worked on?
 
@StackedCrooked apparently so ¬_¬
 
I thought it may be important in case SO management decides to shutdown their chats.
You never know.
 
user1804599
9:12 AM
@StackedCrooked No.
 
user1804599
@StackedCrooked Global average programmer productivity would triple.
 
until they find a new way to slack off
 
@StackedCrooked "compiling"
someone do the link to the thing
 
Xeo
I slack off by writing Haskell
 
Good habit.
 
Xeo
9:14 AM
Although I'm kinda out of ideas for my Haskell IRC bot
 
Port it to SO chat.
 
django crispy forms just got updated ^^
 
Xeo
@StackedCrooked SO's protocol has no reference doc, no?
 
user1804599
@Xeo no.
 
You need to scrape a little.
 
Xeo
9:16 AM
too lazy
 
If you right-click on a message and select "Inspect element" (in Chrome) then you can see the divs. It's very structured.
 
yeah, shouldn't be too hard to make a client
 
The downside of scraping is that your code breaks if they change their page layout.
And you can't expect them to maintain backwards compatibility just for you :D
 
you wouldn't need to be dependent on the page layout
unless you wanted your bot to run as a page extension with in the browser...
even then... I doubt you would need to be dependent on page layout
you don't need to fill out the input box and send a submit, just submit the message directly
 
And never read anything?
 
user1804599
9:22 AM
@StackedCrooked Don't scrape.
 
user1804599
Just open a WebSocket.
 
user1804599
Much easier.
 
You're still dealing with a non-stable protocol.
 
@R.MartinhoFernandes derp... forgot about that side of things
 
@thecoshman I'm 54% through. The rate of 'fluff' is increasing quite a bit here:
> This might come in the form of sending a command to the server something like 'user:password ls /home/user/'.
 
9:25 AM
well, that format should be mostly the same...
 
@sehe Actually, scratch that. UTF-32 cannot encode surrogates, while UCS-2 can.
 
@sehe what do you mean? not enough concrete 'this is right, this is wrong' things?
 
user1804599
@R.MartinhoFernandes Not my point.
 
user1804599
Scraping is a pain in the ass because fuck HTML.
 
Xeo
Meh, too much work. No SO bot from me.
 
9:30 AM
@thecoshman "might", "in the form of", "something like"
 
Finally made a file watcher for cython files.
 
JBL
Bleh... What should I look for (job) if I don't want to spend too much time writing shitty doc read by approximately nobody... ?
This is quite annoying.
 
user1804599
@JBL Microsoft.
 
9:51 AM
@not-rightfold Yes, $this is automatically captured (and can be re-bound), assuming you're using a semi-recent version of PHP (as in >= 5.4)
 
user1804599
Yes we use PHP 5.4. :(
 
@sehe oh right. Well, I was convery that the 'stateful FTP' was hypothetical, and this is just one way that it could work. Is it coming across too 'casual chat'
 
@DeadMG ping
 
@not-rightfold not really, a nicely arranged site can be rather easy to scrape. Nice clean xml structure, simples really.
 
user1804599
JSON input from web socket is easier.
 
user1804599
9:53 AM
 
@thecoshman until they slightly change it :D
 
@thecoshman yup it is. Here's a rough editorial github.com/thecoshman/thecoshman.github.com/pull/1
It's quite much, you just decide what you want to do with it (ignore it: fine).
 
JBL
@not-rightfold Indeed.
 
@sehe I dropped a comment about that, but it appears he moderates comments or something.
 
@sehe cool cool, thanks man.
 
9:59 AM
@thecoshman The whole paragraph on 'Representation' seemed ... unclear to me. I mean, I get the impression you're trying to say something about meta-data in relation to the representation, but I'm not seeing your point. I didn't have any ... constructive ideas there, sorry
@thecoshman Sometimes I do crazy stuff :/ I should really get to work
 
@sehe your a brave man reading through my writings :P
 

« first day (1080 days earlier)      last day (3860 days later) »