« first day (1312 days earlier)      last day (3629 days later) » 

12:02 AM
> An error occurred while processing your request.
what's up with the internet today
 
the error rate, I guess
 
Yeah. I wonder what got fucked up.
 
@Griwes Someone must have hacked the Gibson
 
Oh. I have to wake up in 5 hours.
 
12:05 AM
Changing times zones by -8 and a week later by +8 leaves you in a confused state.
 
±0, quit yer moaning
 
user3010322
@AlexM. Good, good.
 
but apparently a .lib file doesn't get generated if there's nothing to export, so for now I had to add this dummy method to be exported
until I have some exportable functionality
 
user3010322
Heh.
 
I'll just add a normalization function or something
 
12:16 AM
-1
Q: REGEX Not Recognizing Second String In Or Statement

NilnocI am trying to catch strings that start with either FFFFFFFF or ffffffff. I have a REGEX expression, but it only recognizes the lower case version. It does not matter which side of the or statement it's on. The code is as follows: ^(?!FFFFFFFF|!ffffffff).+. I am using this with bootstrap jQue...

"or statement"
lol.
 
did you guys know you could shift click in Windows Explorer to sort with additional criteria?
 
nite
shit, now I'm normalizing vectors instead of doing my crappy assignment
well, can't blame myself
 
user3010322
12:42 AM
:P
 
Result Message: Assert failed. Expected:<0.707107> Actual:<0.707107>
 
So apparently, in the Maid Cafe, we're talking about gravitational Doppler effect on sound waves due to a very large mother.
 
huh, must be one of those precision things
yes, definitely
I forgot I suck at math
 
-3
Q: Upload image to fuckyou

Penking NguyenUpload image to fuckyou ................

 
here's one of the official screenshots added by the publisher of Clans, on the game's page on Steam
I love how the fact that they released a broken game looking for files where it shouldn't suddenly became an interesting feature
> The original CD audio has been added to the game files. If you want to hear the original soundtrack, you will have to navigate to your Steam directory where the game files for Clans reside. You will find a folder called "Clans music", and the audio files are in there. Then you will have to burn an audio CD and put into your CD drive.
well, at least they did that
 
1:15 AM
nowadays I spend half of the time working on the future building site, half on translating an app from iphone to andriod, meaning re-writing it in java
 
1:43 AM
Well, well.
 
time for thereisnourflevel?
 
user3010322
2:34 AM
Thereisnocowlevel
 
user3010322
Oh
 
user3010322
my convolution code is broken
 
user3010322
Welp. Time to rewrite the whole thing. :D
 
@ThePhD You mean it's convoluted?
 
3:09 AM
@ThePhD Perhaps use a deconvolver?
 
3:21 AM
So what exactly do you guys plan on doing at the Unconference? Sit at a round table and be bitter about Java together?
 
Why would you talk about programming at all
 
Because it's something you all have in common.
 
@ScarletAmaranth There are more useful rings than stats :v
 
A round of beer would also be had in common.
 
CRLF makes my git diff look ugly
:(
 
3:32 AM
Shouldn't text mode take care of that? Is .gitconfig correct?
 
Yeah, doesn't Git do some kind of line ending normalization?
 
I never noticed it until today
bunch of ^Ms
settings seem fine though
might be my plugin
 
^M shouldn't be visible unless you have mixed endings and your editor isn't broken and doesn't try to hide it
 
it only shows up when I do git diff
nothing else, so I just think that syntax file might be messed up
 
Why are you using CRLF anyway :v
 
3:39 AM
I'm on Windows :v
 
The only reason I can think of is because Visual Studio is shit
If you don't use VS, then LF all the way
 
I'm contemplating changing it to LF though since it makes no difference for me
 
Just adjust the text editor to make the ^Ms visible, and erase them as you go, along with regular program maintenance.
 
11
A: git turn off "lf will be replaced by crlf" warning

ChronialYou can turn of the warning with git config --global core.safecrlf false

 
autocrlf and related things in git never worked properly for me
I prefer if Git doesn't try to touch line endings
 
3:44 AM
I don't get why Microsoft doesn't just use LF like everyone else. It's 2014. I think they could make the decision if they wanted. How hard could it be?
 
backwards compatibility
 
Hey there, may I ask, I have a question, how do you convert from const cell* to char? I'm trying to read amx code from C++ but printf is displaying everything incorrectly, it's technically scrambling the characters.
 
Microsoft makes money mainly from legacy support, just like IBM.
 
For every change like that you need to ensure there's no compatibility issues
It's a lot of work
Even if it's as trivial as changing two characters into one
Besides it's more of a convention anyway
 
Just as IBM continues to make millions from mainframes, MS will still be financed by XP support extensions in 20 years.
So, it's more profitable for them to assume you're interoperating with DOS than with Linux.
 
3:47 AM
Just for the record, I did this and now the whole thing crashes.

`static cell AMX_NATIVE_CALL n_printf(AMX *amx, const cell *params)
{
printf("%s", (char)params[1]);
}
`
 
Just use a real text editor
And LF for everything :v
 
the only text editor I've used that had problem with LF is notepad
 
Visual Studio, too
It insists on inserting CRLF even if the file uses LF
 
Whoops.
 
VS 2012 is doing it, currently using Multi character set.
 
3:48 AM
And then you open it again and "THIS FILE HAS MIXED LINE ENDINGS" no shit
You fucking piece of crap
 
I'll never cease to be amazed at how bad IDEs are at editing text
4
 
WinMerge is pretty good.
I used it to port a whole mod to the new Source 2013 by Valve.
 
that code's probably still shit isn't it
 
@CatPlusPlus You'd think that text editing would be considered a core function.
 
3:50 AM
You'd think
There's something about that Unix thing of "doing one thing well"
Even though the extreme is about as annoying
 
Lol, I myself don't really like the Source SDK 2013, there's like 50 functions that do the exactly same thing, it's the most recursive thing I have ever seen, at least in my opinion.
 
I just bought Sublime Text 3 and I'm rather pleased.
 
A good reusable text editor core would be nice
 
I love it, I use 2 though.
 
I use it all the time and I haven't bought it :v
 
3:53 AM
People have a hardon for writing new crappy text editors instead
 
I kinda refuse to pay $70 for an editor.
Even if I use it all the time.
It'd be crappy without the free plugins. IMO anyway. (Well, not really "crappy" but "worse")
 
notepad++ is always a great alternative. I'm always in favor of free stuff.
 
Yeah, $70 is steep.
And GitHub just came out with Atom, which is FOSS. It's just on OS X for now, though, I think.
 
All the slowness of a browser on your text editor.
 
If I wanted to use Emacs I'd just use Emacs
It's better at being Emacs, too
But JAVASCRIPT I guess
It's very killer feature
Also I love that people still boast TextMate compatibility :lol:
 
3:58 AM
it's no longer just TextMate compatibility
 
CoffeeScript and Python feel pretty similar.
 
It's also Sublime Text compatibility too
 
I wonder if Intype is still alive
1.0.1, "Released 21/01/2013", still marked unstable
Hah
 
WTF is Intype?
 
Another editor in the wave of TextMate derivatives that also cost money
42€ :lol:
 
4:02 AM
why do the school system reminds me of chicken farm?
 
Because you do weird bird associations with everything
 
I was once a mass produced person
you were in a school/university attended by tens of thousands of others, you must feel very special about it!
Nope!
think about it - even chickens are sold at different price, so are the graduates from different universities
ever heard of prestigious breeds amongst chickens? well there are prestigious universities and graduates there get paid more on average
 
I'm watching Silicon Valley, the show, and it's very weird.
 
4:18 AM
The show Silicon Valley is an ivy league version of Beavis and Butthead. Not all it could have been, but I guess I'll take it.
 
But prestigious breeds don't necessarily produce better taste chicken meat just like graduates from prestigious universities don't necessarily produce more value to the society. Earning more money, probably, but consider people are still working 8 hours or more just to keep a roof over the head and food on the table, I really can't say all those well paid people are really producing much value to the society - some of them yes, but a good percentage: no
 
4:52 AM
they make up for that by being consistently tender and juicy though
 
@Shog9 I love Ivy league graduates with a bit of salt and pepper, too.
 
user3010322
 
user3010322
@DeadMG ^ I convolve the picture!
 
user3010322
It looks entirely like shit, though. :D
 
is that the doge?
 
5:03 AM
@Shog9 I am sure you ... umm ... tenderly 'caring' for those Ivy league graduates on stackoverflow as much as I 'loveingly hug' my 'prestigious breed' chooks while they fanatically trying to get away ...
 
you just gotta hypnotize them first. Run your finger gently from the graduate's forehead down its nose...
 
I take a short cut ... sneak near the chicken coop after dark and take them out while they are sleeping ...
 
@ThePhD Where did the noise come from? It looks like the kernel may have been applied to 32-bit packed RGB values.
 
@Shog9 is it wrong that sometimes it makes me ecstatic to imagine you been caged by a few 200+ pound retired, perverted women? :'( ... every time something awfully happened on SE & were caused by the community managers/moderators, that evil thought just came across my mind ... I know I should not of because it's evil - those poor older women
 
Sounds pretty perverted to me, but hey, whatever floats your boat. This is the Internet, after all.
 
5:18 AM
@chmod711telkitty It's only retirement if they're not paid to do it.
 
I was going to say "50 yo plus" but then I thought: that might be age discrimination
 
Presuming that younger folks can't be retired is age-ism.
 
@Shog9 sometimes I could not but think Jeff Atwood was one huge troll, that's why he only chose trolls as community managers ...
 
5:35 AM
that's silly. You've clearly never read any of Jeff's blog or twitter posts
 
little fanboyism here?
 
reading Jeff's blog is a waste of time in my opinion; shrug
 
It's gone downhill.
 
He has some good posts.
I read his book which is basically a collection of blog posts.
It was interesting.
 
I don't think he actually does - but then again, I don't like him so I might be biased
 
5:40 AM
see? Clear evidence that jeff doesn't troll - no troll would get someone who hates their work and thinks reading it is a waste of time to continue reading anyway.
 
I didn't say Jeff couldn't be serious, in fact we are all serious sometimes. Some a lot more than the others
 
"continue reading"?
 
anyways, have to do some work (clear the site for construction) bbl
 
@ScarletAmaranth Yes
 
 
1 hour later…
6:49 AM
morning :v
 
Morning. :T
 
MOrning :u
 
moRNing :3
 
...in about two more minutes.
 
we'll wait for you :)
 
7:00 AM
Morning!
:-)
Now I'd better go get some sleep. Later...
 
Lol.
 
Xeo
7:29 AM
Mornin
 
el internet el internet el internet el internet
hello
 
user1804599
@Maxpm the only similarity is syntactically, and even then they are not very close.
 
user1804599
Well and the fact the type system is dynamic, though Python's is vastly superior.
 
Yeah, true. I guess I was thinking of list comprehensions when I said that.
 
user1804599
7:45 AM
CS leans more towards FP and Python leans more towards IP.
 
Mmh.
 
8:05 AM
@WilliamAndrewMontgomery !GNInrom
@rightfold IP?
Ah imperative
I though intellectual :)
 
user1804599
Imperatief programmeren.
 
user1804599
Although intellectual programming might not be such a bad idea.
 
8:27 AM
I am reading my own code I have written 2 years ago & I don't remember the algorithm myself produced ...
sadness ...
 
Fuck microsoft and their shitty customer service
 
heh, why do you even call them?
 
Because I can't solve my problem on their website, I mean FUCKING JUNGLE OF LINKS
So I called them and the automated voice gave me an URL to go to
:facepalm:
 
hehe
 
They really DGAF
 
user1804599
8:30 AM
Ask on Stack Exchange. :P
 
> Error 32 A property or indexer may not be passed as an out or ref parameter
WHYYYY
 
Because they're actually methods
 
user1804599
Fuck out and ref parameters.
 
user1804599
Wrap the function in question to not use out and ref parameters.
 
user1804599
@WilliamAndrewMontgomery Oh yeah, and the compiler could obviously not generate code to make this work.
 
8:36 AM
@rightfold And how would it?
 
user1804599
Fuck out and ref params anyway. They're a horrible idea like implicit conversions.
 
what makes them horrible?
they're useful...
 
user1804599
They're inflexible and not needed.
 
user1804599
If you want to return values, maybe you should return them.
 
8:39 AM
@TonyTheLion support is inconsistent (try Func<bool, out string>, IIRC it doesn't work(?))
 
user1804599
Don't modify input variables.
 
> You've reached the limit for account recovery requests

> We've received too many requests to recover this account today. (We have a > limit to help keep your account safe.) Please try again in 24 hours.
fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you fuck you
 
@rightfold out is obviously not input variable
 
user1804599
@sehe refs are.
 
@WilliamAndrewMontgomery what have you been cooking up this time
 
user1804599
8:40 AM
1 min ago, by rightfold
If you want to return values, maybe you should return them.
 
@rightfold maybe you should
 
user1804599
^ this was about out.
 
user1804599
There's this nice thing called the return keyword. Use it.
 
user1804599
And memory management isn't an issue. C# isn't C. If you want to return multiple values, use a tuple or a struct. If you want to optionally return a value, return T?, not a bool and an out parameter FFS.
 
@sehe Basically my mom (who is absolutely not tech savvy) got her MS account locked up because "someone else uses it" (me). I unlocked it once (on my IP), so it got locked again when she logged in. She tried unlocking it on her own 3 times, failed, so I did it now and well.
I'll just move her to another provider I guess.
Can't find a fucking phone number to talk some sense into these morons and their stupid autolock system
 
8:46 AM
@sehe ah I see.
 
user1804599
If you detect malicious user input, would you log info or warning?
 
user1804599
As in, user tries to send request to delete a file and it contains ../../../../../../../etc/passwd or something like that.
 
Serve him a fake passwd file, obviously
For great lulz
 
^^^^ this
lulz above all else
:P
 
user1804599
Why would I serve a file that the user attempts to delete?
 
8:51 AM
no, if I detected malicious user input, I'd just execute format C:
 
user1804599
% format C:
zsh: command not found: format
 
lol
or whatever, all versions of all commands that wipe the entire system
 
user1804599
Ah well I will log it as warning.
 
@rightfold Oh I misread sorry. Then just echo "file successfully deleted!"
 
Xeo
My advice is to avoid SFINAE as much as possible in VS2013 or, better, to avoid VS2013 as much as possible. It's a world of pain. More than SFINAE already normally is. — R. Martinho Fernandes 15 mins ago
he he he
 
8:59 AM
0
Q: Downcasting procedure

user3655742Can anyone please explain me if its alright to downcast this way or we SHOULD use an explicit type cast for it? #include<iostream> using namespace std; class base { public: virtual void func() { cout<<"Base \n"; } void fun() { cout<<"fun"; } }; class derived1 : public base { ...

 
user1804599
Netherlands best country. unicef-irc.org/Report-Card-11
 
Oh my.
 
funny that the two current answers doesn't answer shit
who feels like being a hero and rescue that Q?
 
Xeo
@Griwes Ugh, the title.
 
@rightfold I wouldn't be terribly interested (at the application level). I'd either audit all system access (and report across that) or not at all
 
9:03 AM
@FilipRoséen-refp Let's find a duplicate, that should rescue it.
 
I have just responded to a recruiter
probably shouldn't
 
user1804599
You cannot downcast procedures, because they are not of polymorphic types.
 
@Griwes I'm not a native speaker, you think that "recommend" should be removed? — 40two 25 secs ago
Oh my.
 
@LightnessRacesinOrbit: nonsense. meaningless distinction. silly. no foundation. just -- pure balderdash. — Cheers and hth. - Alf 10 hours ago
uh wat
 
user1804599
Fuck. I got killed by a fish.
 
9:06 AM
@FilipRoséen-refp Just find the proper dupe.
 
@R.MartinhoFernandes @Griwes I'm lazy.
 
2 mins ago, by Griwes
@FilipRoséen-refp Let's find a duplicate, that should rescue it.
 
@FilipRoséen-refp Then at least don't bother answering.
 
@R.MartinhoFernandes well.. I was THIS close.
 
Lazy, you said..
 
9:09 AM
searching is not the same as "just writing shit out"
anyhow, you made me look for a question which it might be a duplicate of, but I can't find any "perfect" match
 
BTW
can someone decipher a recruiter-language to english for me
 
guys, how often do you do code reviews at work?
 
@AndyProwl technically every commit
 
@BartekBanachewicz just paste the damn thing!
 
@BartekBanachewicz Someone else gets notified when you commit and he/she approves it?
or how do you mean it?
 
9:12 AM
@Xeo I did declare war on it.
 
@AndyProwl We need to create a code review, and then reference its ID in commit message.
 
@Griwes So you can't commit unless there's a code review before?
 
Well, we can.
 
@AndyProwl any time we push changes to a maintenance branch, and usually if we push anything nontrivial to the master dev branch. There are no commit hooks or anything to enforce it though.
 
There's a magical "RB none" that passes the validation. :D
The only problem is that we have to explain why the heck did we do that to our manager later. :D
 
9:14 AM
@AndyProwl we just have a commit review board
 
Xeo
@Griwes Ew, manual review creation
automate that shit
 
@Xeo Yeah, ew.
 
@jalf I see. Thanks!
 
At least we have a tiny little tool that prepares it for us (so we don't have to upload patches ourselves, yay!).
Only the tool is slower than svn commit, which does mean something...
 
@Griwes So how often do you not use that "RB none"? :)
 
Xeo
9:16 AM
@Griwes Review Board?
 
People tend to find code reviews a huge overhead here and that's nonsense to me
So we have like, 2 in a year
 
@Xeo Yes.
 
Xeo
We have that too. Automated through post-commit hooks.
 
That'd be nice :P
 
Xeo
twas actually pretty easy
Our post-commit hook script is just a tad bit complicated because we wanted a good bit of configurability (i.e., people responsible for certain repo-paths, only certain people getting reviewed, only certain extensions etc)
That was a fun Python project to do, though
First time I worked with Python, actually
 
9:25 AM
only certain people getting reviewed?
 
There's only three of us. Boss reviews our code often; we don't do it so often, but it happens.
 
I don't think we've had proper code reviews in place for months, now. It's getting pretty shoddy. But that's what happens when your manager slowly stops even looking at the code produced and becomes just... a manager. As a senior dev I keep as close an eye on the repo as possible, though, to make up for it. >.<
 
@Griwes are you from academic?
 
Man, I find "a tad bit" so awkward to read. Not saying it's wrong, cos it's not. But I'm so used to shortening it to "a tad" that I read "tad" as a noun rather than an adjective. Which is annoying.
 
@LightnessRacesinOrbit Nouning adjectives, are we?
"verb" is heterological.
I'M BROKEN.
 
9:31 AM
@R.MartinhoFernandes ;)
 
Can't stop seeing this.
 
@R.MartinhoFernandes lol
 
@40two I am a student, but I am also working. Also I have a feeling that your sentence has something wrong inside.
 
Have you read "Goedel, Escher, Bach"?
 
@AndyProwl I'm in the process of reading it, actually.
 
9:32 AM
I thought so ;)
 
@Griwes elaborate on "wrong inside" please.
 
@R.MartinhoFernandes Awesome book. I gave up about two-thirds through though, as I stopped understanding :(
Guess I was taking it as a lightweight read and it wasn't
Need to give it a second try
 
@40two "from academic" sounds just wrong to me.
 
@Griwes it's just a word isn't it?
 
Nothing is just a word!
 
9:35 AM
I was expecting "'Nothing' is heterological"
 
@R.MartinhoFernandes and everthing is nothing...
 
@AndyProwl I've always been quite careful with my quasiquotes, and now even more so, so I didn't actually refer to the word there.
 
@40two "Everthing" is indeed nothing.
 
There's a greek saying "The tongue has no bones, yet it has the power to break them"
 
@R.MartinhoFernandes Right, got it
 
9:39 AM
Wait, "verb" can be autological if you verb it.
I should go back to work.
 
robot running self-stress tests
 
@R.MartinhoFernandes tell your manager "it compiles"
 
@40two he can't. He's using VS2013
 
VS2013 is the new VC6.
 
9:40 AM
Shouldn't that be "VC12"?
 
LOL
 
VC12 = 2 * VC6
 
@AndyProwl Maybe. It actually looks more interesting that way.
 
true
 
@LightnessRacesinOrbit why not edit that section onto the other answer (ie. mine)?
 
9:41 AM
@40two posting Google redirect links. nice.
 
 
VC12 is the new VC6.
Fixed.
 
lol, it was ok nevermind my pedantry
 
@FilipRoséen-refp Because I do not exist for the purpose of researching material then incorporating it into your answer for you?
 
This way is better.
 
9:43 AM
It would be better off in yours, though, so if you'd like to incorporate it then I'll happily delete my answer as being redundant
 
@LightnessRacesinOrbit honestly I feel your answer is more of a comment, than an answer.
@LightnessRacesinOrbit I might, soon, just gonna do some other stuff first
 
@LightnessRacesinOrbit hope I fixed the disgrace.
 
@40two ;)
@FilipRoséen-refp It's a verbatim quote, from someone who is authoritative in the matter, that directly answers the question.
 
@LightnessRacesinOrbit You left on the question? I am disappoint.
 
guys, why is there [domparser] and [dom-parser] seperately?
 
9:46 AM
@R.MartinhoFernandes Thought I'd removed it??
 
Xeo
guy, why would we know?
 
Xeo
Ask on meta to merge them
 
Oh, different question; I'd taken it off this one. And now some twat has added it back in.
 
@Joeytje50 Because someone created them. Suggest a synonym if you have the power, or ask for merge on meta.
 
9:47 AM
ok
 
This sounds incredibly dubious to me, but NASA and Google seem to believe it
Oh, and they've done it before on smaller scales in 2007 and 2011 apparently. I only vaguely remember that.
 
> Quantum analogy: Standard computers "walk" across a landscape to find the lowest point (the "optimal" solution to the maths problem), whereas D-Wave's computers "tunnel" through the mountain range
Gotta love this nonsense.
 
Loving the .....
Yeah, that.
:D
& gratuitous full-width photo of a mountain range
 
> Leela: I didn't wanna leave them either, Fry, but what are we supposed to do?
Fry: Well, usually on the show someone would come up with a complicated plan then explain it with a simple analogy.
Leela: Hmm. If we can re-route engine power through the primary weapons and reconfigure them to Melllvar's frequency, that should overload his electro-quantum structure.
Bender: Like putting too much air in a balloon!
Fry: Of course! It's so simple!
 
> "What the quantum annealing process does for you is effectively to tunnel through the mountain... until it announces: 'The lowest point I found was X'." "It shortcuts everything, and that's how it speeds up."
 
9:52 AM
Sounds exactly like this.
 
Grilliant. Rigorous.
@R.MartinhoFernandes hah
 
> Leela: It's not working! He's drawing straight from our weapons.
Fry: Like a balloon and ... something bad happens.
 
lol
 
> A refrigerator cools the chip to a temperature around 150 times colder than interstellar space
 
That sounds like weasel numbers.
The cosmic background radiation is at 2.7 K.
 
9:59 AM
> In Rose's chosen martial art of Brazilian Jiu-Jitsu, opponents start off on their feet and typically end up grappling on the mat. The aim in quantum annealing is also to reach the "ground state" - in this case, the lowest energy point.
 
What is 150 times colder than that?
 
EM radiation doesn't have temperature
 
@R.MartinhoFernandes google.pl/…
 

« first day (1312 days earlier)      last day (3629 days later) »