« first day (915 days earlier)      last day (4035 days later) » 

10:00 PM
I undeleted the question again.
 
I dunno if undeletions cause rep-recalcs on the downvoters.
 
Why do I keep replying to this
 
@CatPlusPlus: The guy looks like a real moron
 
Instead of repdectiviving upvote my comments so at least there's some value of warning people that this is a completely retarded thread
:v:
 
10:03 PM
"I Don't Like Namespace They Are Ugly And I Love Caps !"
 
@StackedCrooked And it went back down to 849.
 
Nitpick: you can't not use scope resolution. Without resolution, everything is unresolved by definition, and no program will ever get linked. What you meant (I think) is I don't want to do explicit namespace qualification on identifier use. — sehe 5 secs ago
 
LOL. So undeletions do trigger recalcs.
 
@Mysticial nice
It was jrok that denied the downvote. So he's in the clean.
 
user142019
Pygments fails at GAS lol.
 
10:06 PM
I just lost Intel SC2 tournament finals
 
And on the subject of "problems understanding English language", I will subtly point at my nitpick comment and let that be the end of this. — sehe 4 secs ago
 
Do you guys always hunt downvoters? I'm gonna be afraid to downvote in the future :)
 
I have another chance of beating the master if I win with the winner of loser's bracket
 
@jrok It's usually me. But you're clean today. :)
 
So, at work we're using a property grid that was made by some guy somewhere.
 
10:07 PM
"I need to store a value but don't want to use variables!!! don't suggest using variables!!!"
 
The last commit on his repo was... 2 years ago.
 
user142019
@Mysticial what's the canonical way to check whether [R11] or R11 equals 0 (assembly)?
 
@CatPlusPlus say that again :)
 
Still found some critical bug today.
 
@EtiennedeMartel This means the software is stable to the point of flawlessness!
 
10:08 PM
@sehe Indeed.
Worst thing is, for all the features we actually use, I could probably implement my own solution in, like two weeks.
Since we only need a subset of what the grid offers.
 
Well it's still two weeks
 
@jrok Actually, this is novelty for me too, and I practically live here :)
 
@CatPlusPlus Incidentally, we're looking for a tool programmer. Wanna do some C# in Montreal?
 
@CatPlusPlus Wisdom. Are you secretly 40 years old?
 
10:09 PM
@EtiennedeMartel tool programming is even worse than writing tests
 
I don't even know where Montreal is
 
@sehe he lives in a basement, remember?
 
user142019
In the Universe.
 
I don't know tool programming can be relaxing
 
@BartekBanachewicz I see you're not working in the games industry, then.
 
10:10 PM
@Zoidberg "canonical" way? It's just the cmp instruction.
 
user142019
@EtiennedeMartel a programmer who listens to Tool? :D
 
@EtiennedeMartel You know where I work, obviously.
 
@CatPlusPlus Right there.
@BartekBanachewicz Wasn't that at Intel?
 
user142019
@Mysticial Ah okay, thanks. I've seen some things with test though. cmp seems most clear.
 
@EtiennedeMartel yup.
 
10:10 PM
@BartekBanachewicz So, yeah. You don't know what writing tools for games implies.
Or maybe you do, and you were simply trolling.
I'm guessing it's the latter.
 
@Zoidberg test is similar. I'm not actually sure when it's used. I don't actually write any assembly.
 
user142019
Oh. :L
 
4 mins ago, by Bartek Banachewicz
I just lost Intel SC2 tournament finals
 
@BartekBanachewicz Wait, what.
 
@StackedCrooked What the Cat said. Also, using y::a; doesn't disambiguate anything. It merely forces y::a to be 'hoisted' into the enclosing namespace (as if using namespace y; wasn't sufficient for that)
 
10:12 PM
@EtiennedeMartel I might be a bit grumpy because of that, huh?
 
@BartekBanachewicz Denied
 
@Rapptz This is not the first time iirc :D
 
@BartekBanachewicz You're always grumpy anyway.
 
@sehe rghtrhsawhfjhada
@EtiennedeMartel what? No! No!
I was positive as fuck about lundi today!
and my new phone!
I can't be grumpy 4 real that can't be happening
 
Ask the ape. He's an expert on the subject.
 
10:14 PM
lol, he'd obviously say that I can't really be grumpy if I am 20yo
 
anyways WRT tooling I just don't really like the coding it involves (C# or Java GUI mostly, etc)
but prolly I just had a bad experience
I guess that you gotta really like the project you write tools for, which failed in my case
meh, moving on.
Let's talk about Ingress.
aaaaand the room is dead.
 
lol, there is a vid with a dog that is ashamed that is somewhat lol
 
@Zoidberg test will work here. test R11, R11 / jnz wherever. test essentially does AND dest, src, sets the flags based on the result, but discards the result itself. You could use a cmp instead, but then you'd use cmp R11, 0, and end up with an 8-byte 0 as an immediate operand. In this case test saves some memory and probably runs faster (uses only register, instead of having to load data).
 
user142019
10:20 PM
@JerryCoffin OIC.
 
user142019
Let me try it.
 
user142019
testq (%r11), (%r11) doesn't seem to work; invalid operand.
 
I should probably add, however, that it probably doesn't run much faster, so unless you're timing pretty carefully, theren't not much change of seeing it.
 
user142019
testq   %r10, %r10
jz      LNotFound
// works
 
@Zoidberg No, it won't. At least one operand must always be an immediate or register. opcode (reg), (reg) won't work with anything. Of course, AT&T syntax simply doesn't work for any reasonable definition of the word in any case.
 
user142019
10:22 PM
Ah, thanks. :)
 
@StackedCrooked It looks rather that the dog is satisfied and is going to lie outside the kitchen while the boss makes all the fuzz getting things cleaned up. The dog looks tired, disinterested and a tad annoyed (why can't we just go sit on the couch?)
 
user142019
@JerryCoffin GAS FTW.
 
@StackedCrooked Them ears :)
 
@sehe Maybe. Hard to tell from that pic.
 
10:23 PM
@Zoidberg GAS can do Intel syntax
 
IIRC it only doesn't work in the global namespace. (This feature is called 'namespace composition btw. So it makes sense..) — StackedCrooked 27 mins ago
 
Also fasm is better
 
@BartekBanachewicz Only if she's really pretty.
@jrok I call BS
 
@Zoidberg Yish. AT&T syntax is sort of all right for some processors, but it's completely horrible on Intel.
 
@sehe I did learn about namespace composition, though.
 
10:24 PM
Oh, I remembered another thing I hate about Skype
Fucking. Ads.
 
@CatPlusPlus Essentially every other assembler on the planet is better than GAS.
 
@jrok Wait till you learn about namespace versioning. open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2013.html
 
inline namespaces can do that why is this a thing
Also using namespace case very clear
Oh 2006
 
user142019
10:32 PM
commit fc9156cb41121881393aaaea2d15c0a263a2fca1
Author: Radek Slupik <rightfold@gmail.com>
Date:   Fri Apr 19 00:23:56 2013 +0200

    Use testq/jz instead of cmpq/je

    Jerry said it was faster.
 
user142019
:lol:
 
Congrats on saving a cycle
 
@StackedCrooked lol wut
 
user142019
@JerryCoffin lol
 
user142019
Congrats on taking me serious
 
@Zoidberg Oh lord, I'm in trouble now.
 
Ugh chat what are you doing
 
user142019
Chat is broken!
 
@Mr.Alien you're making hard work of proving why you need to stop bad practices in the bud. It's never gonna get fixed afterwards. Fact of life. — sehe 14 secs ago
^ that's one horrendous PHP-style comment thread
 
What did Alf P. do to get suspended?
 
user142019
10:42 PM
 
user142019
I fucking love this stuff.
 
user142019
@jrok Very bad things; you don't want to know.
 
user142019
(I'm making this shit up.)
 
10:49 PM
@CatPlusPlus A guy who isn't dead.
 
Also, what do you guys think of that article? The Definitive Reference To Why Maybe Is Better Than Null.
 
Xeo
Maybe <3
 
user142019
The title is good.
 
@jrok Telling people that they are liars in the midst of technical discussions.
 
10:52 PM
@StackedCrooked Hehe, I've seen that before.
 
user142019
@ScottW My mom's tittIe is good.
 
@EtiennedeMartel Maybe is better if only because it explicitly tells you the value might be non-existent, while universally nullable references fail at that miserably
You need conventions and attributes and whole that nonsense
Maybe basically inverts the expectation
T is always there, Maybe<T> is not always there
 
Yeah, like .NET's Nullable<T>.
Except that only works for value types.
 
user142019
Or boost::optional<T>.
 
Okay, just watched Tron Legacy. Was decent.
 
10:55 PM
@Zoidberg That too.
 
It's offset by .NET languages having universally nullable references
If they didn't, and only used explicit option/maybe/nullable whatever then it'd be much better
 
@CatPlusPlus Indeed. Most of .NET's bad decisions can actually be summed up as "let's be like Java".
 
user142019
I like T?.
 
C# became really good with C# 2.
@Zoidberg That's Nullable.
 
user142019
I know.
 
user142019
10:56 PM
I like the syntax.
 
It may be a bad design decision but the intended goal was popularity so
 
Eh, Microsoft had a pushing power, they didn't need to copy Java at all
 
user142019
So Haskell is good because it is unpopular?
 
@Zoidberg Haskell sucks because everything you like sucks.
 
Popularity is the worst thing that ever happened to Haskell
 
10:58 PM
Microsoft has a pushing power but that didn't suffice to make zune work
 
@kbok Because they went against Apple in a market where they were virtually absent.
 
Ell
Hi
 
@EtiennedeMartel AFAIR Apple and Microsoft entered the market around the same time
 
user142019
iPod Classic brings me eargasms.
 
@kbok 2001 vs 2006?
 
10:59 PM
C# going away from Java actually made it better
And now Java is starting to head towards C#
Java 12 will have LINQ I'm telling ya
 
user142019
Java 18 will still not have var.
 
@EtiennedeMartel Ah, well, okay then. Bad example.
 
Give it 40 more years and they'll nail it
 
user142019
Because dynamic typing is bad!
 
What about: Windows CE
 
11:01 PM
What about it
 
Both Java and C++ have slow as piss updates :(
 
It was a complete failure
 
Microsoft entered mobile market quite late too
 
Come on, it's old as fuck
 
@kbok I think that's over-stating the situation (quite) a bit.
 
11:01 PM
@Rapptz Java because of incompetency and C++ because of incompetency and standardisation
 
> Microsoft Windows CE (now officially known as Windows Embedded Compact, unofficially as 'Windows Crap Edition'
omg wikipedia
 
lol
 
Windows CE is used as far as I know
But I never cared for that so w/e
 
user142019
@kbok WINRAR
 
@JerryCoffin Maybe. It's my personal experience though. I never heard of anyone owning or using a Windows CE phone, or any business developing for it
 
11:03 PM
@kbok There, rolled it back.
@kbok All your examples are examples of Microsoft moving out of their comfort zone.
 
user142019
@EtiennedeMartel And now I know ur IP omg I'm so gonna haxx0r u!!1
 
Pushing a new platform and/or programming language is kinda in their core skills.
@Zoidberg I'm at work.
 
user142019
Oh. :L
 
@EtiennedeMartel You have a point
 
user142019
Oh, right. Silly merkins working at 1 AM.
 
11:04 PM
@EtiennedeMartel Youre at work at 7PM? when do you start?
 
user142019
>:3
 
It's 1AM and I'm just starting work
@ScottW You crazy
In my two years I've only once or twice been in the office at this ungodly hour and that's when I wasn't sleeping the night before
 
@Borgleader I left early yesterday.
But I usually do 10-19.
 
In short morning sucks fuck you for suggesting it
 
do you ever cry because you’re here and not in Hogwarts
 
11:07 PM
I'm still better at working at night
 
Like most programmers.
You're sooo original.
 
It's mostly because my sleeping schedule is fucked literally all the time
 
@EtiennedeMartel Ah that's what I thought. During my internships I usually did 8-5
 
I woke up at 15 today
 
Ell
11:07 PM
So a maybe Is a nullable reference which forces null checks?
 
Xeo
I wish I could have a fucked up sleeping schedule and have work allow me to come in at 5pm or something...
 
Went to office for 2 hours to discuss a thing
 
I didn't feel like going to work this morning, so I wake up at 12
I put on a suit to make my colleagues believe I was at some important meeting
 
Xeo
lol
We got our weekly publisher-version tomorrow, and some stuff still needs to be prettied up. Can't just not be there :s
 
@kbok They had around 25% of the smart phone market for quite a while, and sold them at a rate of something like a million a month for quite a while. Granted, that's not very many compared to current smart phone sales, but for its time it wasn't bad.
 
11:09 PM
@Ell The idea is that a value cannot be null unless it's explicitly marked as "nullable". And you cannot implicitly convert from nullable to not nullable.
 
Xeo
Or unsafely get the possibly-empty value
In that regard, boost::optional sucks
And std::optional will suck in the same way
 
@JerryCoffin Oh. That probably didn't hit France then.
 
@ScottW A real programmer who's at the office at 9 is almost certainly about ready to go home soon.
 
Xeo
Because both don't provide a way to map over the optional.
 
@ScottW Has been there all night.
 
Xeo
11:12 PM
Thinking about it, the interface of boost::optional is really primitive.
 
Ell
Meh I rarely return null anyway
 
TIL tac is a reversed cat (it prints the lines of a file in reverse order)
 
@Xeo Maybe is much better with pattern matching and language support for monadic computations
 
Ell
@stacked lines reversed or characters?
 
So really the only thing to improve in optional case is to add maybe() and fmap() to go with it
 
11:14 PM
@Ell It first prints the last line of the file, then the line before that, etc..
 
Xeo
@CatPlusPlus Sure, but they could've provided that convenience atleast... although I guess it goes back to what I touch on in my paper: Providing nice functional abstractions wasn't really feasible without a good way to pass functions.
 
Still needs polymorphic lambdas and more inference
 
Xeo
> without a good way to pass functions
lambdas are one way
[]foo is another :D
 
Oy. Serious cargo cult programming:
while ( !fin.eof() )
{
        if(fin.eof())
                break;
 
user142019
> Hello rightfold, Congratulations! The Qualification Round has concluded, and with 40 points, you have advanced to the First Rounds!
 
11:23 PM
"I heard that while (!fin.eof()) was broken. This should fix it, right?"
 
user142019
Hurray!
 
@Zoidberg Congratulations!
 
user142019
Dankeschön.
 
@JerryCoffin Wow.
 
-1
Q: Write an abstract super class encapsulating a vacation

Real GoonzWrite an abstract super class encapsulating a vacation: A vacation has two attributes: a budget and a destination. It has an abstract method returning how much the vacation is over or under budget. This class has two non-abstract subclasses: one encapsulating an all-inclusive vacation, and the ot...

 
11:28 PM
abstract super class!
 
@Nican Meh - it's java, who cares. Can't be bothered to waste a downvote on it.
 
user142019
You can't waste downvotes.
 
Question downvotes are free.
 
40 votes per day.
although I've only used them all once.
 
never reached the vote cap before
 
11:34 PM
you get a badge if you do ^_^ :P
 
@Rapptz I had been considering writing an answer, but that seemed like just a bit too much...
 
@JerryCoffin OUCH
 
lol
@sehe lol
 
@Ell use tac|fliptext (here) for some serious reversal
 
@kbok Reminds me: first day of of my senior year of high school, one of my classmates had found (raised?) a huge plant, and transplanted it in front of the school the night before. Catholic school, so nuns were walking in commenting about what an unusual oak tree that was (and us kids all like "yeah, oak tree, right. That's it!").
 
11:41 PM
@JerryCoffin :) did it stay there?
 
@kbok Only for a couple hours or so, then some adult apparently realized what it was.
 
@EtiennedeMartel: have you seen this: video.nhl.com/videocenter/console?id=240031 ?
 
ah, bummer
 
@Rapptz OK, well, in that case....
 
user142019
@kbok a man lying in bed with another man must be stoned.
 
11:47 PM
@Borgleader Preceded by a Cisco advertisement, pushing this thing called the Internet that's going to connect us all soon! Sounds amazing! I look forward to chatting on it!
 
Hello, NHibernate
 
@JerryCoffin I have ABP, I didn't see the ad.
 
duh svn y u so slow
 
You're just waiting to ruin my day aren't you
 
@Zoidberg Fuck Leviticus. He was obviously never slaughtered with his mates and could only afford one hotel room.
 
user142019
11:48 PM
Fuck the Bible FTFY.
 
@Borgleader I find many ads somewhat enjoyable.
 
@JerryCoffin Blasphemy
 
I admit some of them must be entertaining (most likely for the wrong reasons), but more often than not i find them annoying. In any case, watch the darn video. It's a beautiful display of solidarity (or wtv you want to call it)
 
user142019
Blasphemy was just legalized in The Netherlands.
 
Xeo
Oh yes, finally managed to get a hold of Richard Smith
 
11:51 PM
check it out: cps_alloca
 
"VB.NET is the best language ever!"
 
user142019
@EvgenyPanasyuk What does it do?
 
user142019
Me having to ask that question means that your code is crappy.
 
@MartinJames A horrible perversion of the one true language: PetBASIC. The one and only!
 
11:52 PM
@Zoidberg alloca emulation
 
@StackedCrooked Ahaha
 
user142019
Aand why?
 
It's brilliant
 
@EvgenyPanasyuk whoa. that' looks nice
 
Xeo
> build #5054 of phase1 - sanity is complete: Success
lol
 
11:53 PM
@Zoidberg cout << initializer_list<char>{103,116,102,111,0}.begin();
@sehe I have never seen it before
 
Still not worth anything
 
That's probably because it's not very useful. But many nice things aren't
 
@StackedCrooked How do I install coliru on my machine? The install docs are... unclear
 
@sehe yeah, just wild idea
 
@kbok That's not officially a feature yet :) But There's a installer script in Installer/ directory. Run that first. To launch the webserver you should cd Web ; ./run.sh. It requires a a linux machine and apt-get. You should not run the installer on your main machine but on a dedicated vm.
 
user142019
11:57 PM
@StackedCrooked make Coliru into a gem!
 
@StackedCrooked I have arch and not a VM so it probably won't work
Does coliru require a VM? I thought it was just a chroot
 
@kbok it is. however, the install script is not very careful, therefore you may want to limit damages by running on a separate system
 
It doesn't require a VM. However, the installer script requires root permissions and will install all kinds of stuff that you might now want.
 
chroot in itself is a crappy security layer
 

« first day (915 days earlier)      last day (4035 days later) »