« first day (746 days earlier)      last day (4219 days later) » 

6:00 PM
@R.MartinhoFernandes In more ways than one.
(There's innuendo in there)
@melak47 The thing that bugs me the most about my French colleagues is how they are incapable of saying English words with an English-like accents. For instance, they'll say "logout" as "log-a-ou-te".
 
It would be "parsagem" or "parseamento", and the verbs "parsar" and "parsear". It's amazing how they can ruin even silly stuff like this.
I never heard "parsagem", but "parsar" is a rather common occurence (considering only the appropriate context, of course)
 
@R.MartinhoFernandes "parseamento" sounds like a kind of cheese.
 
probably because it sounds like parmesan
 
@Borgleader Yeah.
 
6:05 PM
@StackedCrooked what the fuck
how does that work...
 
user142019
@StackedCrooked At least they chose WebKit and not Trident.
 
user142019
@Borgleader you embed a view in your application that can render web pages.
 
@Borgleader A Qt widget which contains a HTML component.
 
Oh... And they needed a template for that? You make it sound like it's a simple thing to do
(embed a widget)
 
user142019
@Borgleader oh yeah and creating a window is also a piece of cake.
 
user142019
6:07 PM
They could just as well haven’t added any templates at all.
 
I mean in MSVC the templates actually change a few things in the background, but iirc Qt project settings are barebone
 
> A company with a few patents but no products to its name
Why the fuck are they not shot?
 
US Patent system sucks ass
thats why
 
user142019
Patents are good.
 
Patents are good, their system is what sucks.
Everytime I hear about a patent troll, it's based in the US.
 
user142019
6:11 PM
Patents on medicine are terrible, though.
 
US Patents suck.
 
@Zoidberg'-- So what? A ten-year old company that has four patents, yet not a single thing produced should not exist.
 
user142019
Why not?
 
user142019
If they have ideas they may patent them.
 
@Zoidberg'-- Because patents are not for litigation.
 
6:14 PM
Patents are made to foster innovation. They give the right to the inventor to cash in on whatever it is he came up with. They dont come up with anything, they dont sell their products. Their goal is to piss people off and take their cash.
Patent troll companies should be shut down.
 
Patent trolls limit innovation by creating fear.
It's a corruption of the exact purpose of a patent
 
The only people who benefit from patent trolls (aside from the troll themselves) are lawyers.
I'm curious to see how many "lawyers per capita" the US has compared to other countries.
 
But well, since all these assholes want is for Microsoft to pay for the damages they caused them, and since they never sold or produced anything, I guess MS will have to pay them $0 plus taxes plus interest.
 
That's actually the highest rated comment on ars ;)
 
There are comments?
Oh.
You need to click to see them.
 
6:19 PM
Yeah at the bottom, theres a little tab saying "xx comments"
 
user142019
In a general rolling thread on 4chan, I Ctrl+F “winrar”. Over 100 hits.
 
^ This is supposed to be funny, will check later :)
 
Am I the only one getting a server error on SO?
 
nope
it's down
 
will the chat go down too?
 
6:26 PM
Chat is on a different server.
 
ah ok, cool
Someone accepted my answer from like 1 week ago
+15 rep :)
 
@Borgleader "Hell, it's about time"
 
Oh Tychus you... :P
 
Xeo
@Borgleader Someone accepted my answer from like 9 months ago
:)
 
o.O Wow....
 
6:29 PM
Someone accepted my first answer ever!
2
Q: goto Optimization Refactor

HisturiesI have a "MyFunction" I keep obsessing over if I should or shouldn't use goto on it and in similar (hopefully rare) circumstances. So I'm trying to establish a hard-and-fast habit for this situation. To-do or not-to-do. int MyFunction() { if (likely_condition) { condition_met: ...

Oh gawd. WTF is this.
 
Surprised nobody's posted the goto xkcd yet
Obligatory xkcdPraetorian 9 secs ago
 
fuck
you beat me to it by 16 seconds
 
Ha!
 
My google-fu > yours
 
6:32 PM
Hey kids, it's Carey Price!
 
@EtiennedeMartel Who's that and why do I care?
 
@DeadMG Goaltender for the Montreal Canadiens.
 
@Praetorian How's Google-fu relevant here?
Oh, you mean you don't know the number of that one by heart?
 
@EtiennedeMartel So nobody and I don't. ^^
 
Xeo
I use my browser history as a search engine.
 
6:33 PM
@DeadMG He does make several million dollars, so I wouldn't say "nobody". He's someone, although he's not that important.
 
@R.MartinhoFernandes Am I the only one here who doesn't?
 
@EtiennedeMartel The usurper!!! I want Halak back :(
@Praetorian Upvoted, now it should show all the time :)
 
you only get to be somebody to me if I know you or if you're somebody to everybody
the major sports personalities in my own flipping country aren't somebody to me
 
@EtiennedeMartel Why's he at an Assassin's Creed event?
 
@Praetorian Because Assassin's Creed is made in Montreal, and he's a rather famous person here.
 
6:35 PM
because I generally think of sport as a giant waste of time and money
 
@Praetorian AC3 is made in montreal, he's a goaltender for the local hockey team
 
@Borgleader Thanks!
 
@DeadMG panem et circenses.
 
Xeo
> I am so lucky to have such dedicated viewers. And to be able to make cat noises on camera. STL
 
user142019
@FredOverflow “This is strange, because Carl’s balls are hairy, but his head is bald.” ಠ_ಠ
 
user142019
6:41 PM
> His head looks like a bald testicle, but his testicles aren’t bald.
 
user142019
ಠ_ಠ
 
What the fuck....
 
user142019
The video Fred linked to.
 
user142019
> His head is bald. It looks like a fucking orange.
 
user142019
6:42 PM
At least the English lessons aren’t boring. ಠ_ಠ
 
Is it funny?
 
user142019
@FredOverflow look at my last six messages. :P
 
@R.MartinhoFernandes Agreed, W-T-F!
 
user142019
> I’m not waxing your balls.
 
user142019
ಠ_ಠ
 
6:45 PM
What's happening in there?
 
user142019
23 mins ago, by FredOverflow
 
@Praetorian To be honest, I only know that one and the Bobby Tables one.
 
I don't think I've used an xkcd comic enough to memorize the digits by heart.
 
user142019
@Rapptz Are people really that moronic?
 
6:46 PM
@Mysticial: D'awwwww he called you Mystical meta.stackoverflow.com/questions/153249/…
 
@Borgleader Everyone does the first time. It's a rite of passage.
 
ah, I wonder how many pings I miss like that. :)
 
@Mysticial I'm going to guess about 100+
Even a lot of people in this room thought you were Mystical a while ago.
 
@EtiennedeMartel Hmm.
I'm awesome.
 
@Zoidberg'-- I'm four minutes in, and I think it's just fucking retarded.
 
user142019
6:50 PM
@FredOverflow it is.
 
user142019
But it’s funny.
 
@R.MartinhoFernandes Woop, I never said "Mystical". Except right now.
Looks like I'm not a man.
 
user142019
Whoop whoop whoop whoop whoop whoop whoop!
 
I'm sure I said Mystical at least once
 
6:51 PM
Radek really messed up a lot.
 
@Rapptz I like this one:
Sep 18 at 17:23, by Drise
@Mysticial Wait, Mystical, when did you become Mysticial?
 
But he's like that.
 
Counter suggestion: how about obsessing over writing readable code instead? — FredOverflow 9 secs ago
 
@EtiennedeMartel I think he has the most mess ups
 
Ok, I'm leaving to meet the ape. Later.
 
6:54 PM
> I wish everybody was as nice as I am.
Torvalds is weird.
 
Well... it seems I'm not a man either... I wasn't in that list.
@EtiennedeMartel Says the guy who publicly said FU to nVidia xD
 
@Borgleader Yep.
 
Linus isn't a saint? Colour me shocked.
 
user142019
TIL: Linus Trollvalds is Santa Claus.
 
@Rapptz He's one of the biggest egos in the entire IT world.
 
user142019
7:04 PM
Me too. I’m awesome.
 
That's part of the problem.
But you're young, so I'll let that slide.
 
user142019
lol
 
Yeah I know. I dislike Linus.
 
speaking of authorities, it's been a long time since any visit by His Noodliness
 
7:05 PM
@Cheersandhth.-Alf The flying spaghetti monster?
 
three years ago the discovered rum in space
 
Oh! Behold! He's HERE!
 
He's invisible.
But true believers can feel his presence.
 
7:09 PM
@EtiennedeMartel That's what she said.
 
(Is there booze in the Universe?)
 
@FredOverflow If there is sentient life, yes.
Because being sentient means you need to drink once in a while.
 
It's a mess but I'm trying to make a LINQ like thing in C++. Am I correct in assuming all STL containers have begin() and end()?
 
There was some stuff about that here this week
 
@Borgleader Yes.
Container adaptors don't, however, but then they're not real containers.
 
7:13 PM
 
Because I was thinking of capturing the begin and end iterators instead of copying all the source containers data right away
 
@Borgleader Could you also implement extension methods in C++? Oh wait, we have free functions :)
 
@FredOverflow It's a learning exercise...
For me, by me
 
happy coding then
 
7:25 PM
@Borgleader cirular_buffer has no begin and no end.
 
That exists in STL?
 
Nah, just kidding.
It exists in boost though.
 
then idc :P
 
user142019
Not too difficult to implement yourself anyway.
 
And it has begin() and end() methods as well.
Everything I told you was a lie.
 
7:26 PM
I'm just trying to learn something about templates by working with them, I'm not hoping to make the most flexible LINQ interface you've ever seen
@StackedCrooked GladOS is that you?
 
user142019
I’m going to write my new web app in Clojure.
 
your special site ?
 
Are you hoping to find Closure? lol
 
std::vector<int> even_numbers = from(all_numbers).where([](int n) { return n % 2 == 0; });
Perhaps..
 
@Zoidberg'-- How many Web apps do you write and then scrap?
 
7:29 PM
@StackedCrooked Yes but closer to:
std::vector<int> numbers = { 1, 2, 3, 4 };
auto r = LINQ(from(x, numbers) where(x > 2) select(x * x));
for (auto x : r) printf("%i\n", x);
 
user142019
@EtiennedeMartel a few each week.
 
Well.
You still have much to learn, young Padawan.
(I don't think I'm ever gonna stop)
 
user142019
I’m not going to shave my mustache tomorrow.
 
filter (\n -> n `mod` 2 == 0) [1..]
@StackedCrooked Haskell wins ;)
 
Dammit.
 
user142019
7:31 PM
@FredOverflow [x | x <- [1..], mod x 2 == 0] (prefix mod because of Markdown).
 
@Borgleader What is this? A proposed standard library?
 
@Zoidberg'-- You have to shave your beard, then grow your mustache over the course of november.
 
@Zoidberg'-- I thought this was a C++ channel. =p
 
user142019
@Code-Guru HAHAHAHHAHAHA think again.
 
Xeo
7:32 PM
It's rather underwhelming, to be honest. Sure, nice syntax and everything, but the features..
 
Classic c++ would be something like: std::copy_if(numbers.begin(), numbers.end(), std::back_inserter(even_numbers), [](int n) { return n % 2 == 0; });
 
Xeo
@Zoidberg'-- [x | x <- [1..], x `mod` 2 == 0]
 
user142019
Ah backslash escaping, of course.
 
@Zoidberg'-- I've fallen in love with Haskell lately, so I'm not complaining ;-)
 
@Zoidberg'-- We could also cheat and just say [2*x | x <- [0..]] ;)
 
user142019
7:33 PM
Of course.
 
user142019
Much nicer. :p
 
Or just [0,2,..] :)
 
user142019
@FredOverflow but anyway, is 0 considered even?
 
I just learned about std::replace. Didn't know we had that one.
 
of course, stupid me
 
Xeo
7:34 PM
numbers | filtered([](int i){return i % 2 == 0; })
 
user142019
[x | x <- [1..], even x]
 
even numbers
 
Xeo
I really like the concise way some languages have to create tuples and arrays. :(
 
how can someone delete my question?
 
user142019
@jordan.peoples you can’t?
 
7:35 PM
my latest quesotin was deleted
i asked about nidexes on a string/arary
 
user142019
Probably for a reason.
 
@FredOverflow How's that cheating?
 
Was it downvoted/closed?
 
it was downvoted
and i did choose a acceptable answer
 
@Code-Guru I suspect we would normally use a more interesting predicate than even.
@jordan.peoples What is a nidex, and what is an arary?
 
user142019
7:36 PM
@FredOverflow you put it in the usbscript poerator.
 
@FredOverflow Scala wins: val even = arr.filter(_ % 2 == 0); println(even.deep.mkString("\n"))
 
they are new programming idioms
 
@FredOverflow Are you suffering a neurological disease? :)
 
@Borgleader Underscore to the rescue again? lol Scala
 
user142019
Being too lazy to hit backspace means no, I’m not going to help you.
 
7:38 PM
Aww.
 
Xeo
std::cout << (arr | filtered(_1 % 2 == 0));
 
@StackedCrooked I'm sure I suffer from various diseases. How else would I be able to still cope with C++?
 
@FredOverflow Shorter to write then: arr.filter(x => x % 2 == 0)
 
user142019
@Xeo [x | x <- xs, even x] Haskell ftw.
 
user142019
Or filter even xs.
 
7:39 PM
win
 
user142019
rar
 
eware
 
Xeo
arr | filtered(even) if you have an even function, which C++ just might have... no idea.
 
@Zoidberg'-- you know what I think I can do that in Scala
 
Xeo
Of course, all this is engineered through libraries, not like Haskell's built-in functionality. :(
 
7:40 PM
@Xeo That's a good thing
 
@Borgleader That would be arr filter even in Scala, right?
 
user142019
@Xeo filter and even are not built-in functionality.
 
Xeo
I want (a, b) for tuples and [1..] for arrays in C++... Conciseness ftw.
 
user142019
List comprehensions are, though.
 
Xeo
@Zoidberg'-- That's what I meant.
 
7:40 PM
@Xeo [1..] is not an array, it's a list.
 
user142019
Oh. :P
 
Xeo
@FredOverflow Meh, does Haskell even have arrays?
 
user142019
@FredOverflow but {-# LANGUAGE OverloadedLists #-}!
 
user142019
@Xeo you have vectors.
 
7:41 PM
@Xeo Somewhere buried in the libraries, but you rarely use them in Haskell.
 
@FredOverflow Seems like an elegant solution to me.
 
Arrays simply aren't a great functional data structure.
 
@FredOverflow Quite possibly, I'm not sure exactly how I'd code it I have to look it up, but there's surely a way to get really close to that notation
 
Xeo
Well, lists are better for functional, GCd languages I assume.
 
user142019
You can also use ByteString if you need an array of bytes, which is very often used.
 
7:42 PM
@Code-Guru It is if you really want the list of even numbers. But we were discussing LINQ syntax in general, at least I think so :)
@Borgleader Pretty sure that's the verbatim notation.
 
@FredOverflow I probably have missed some of the conversation since I'm bouncing between several windows.
 
@Xeo I love vectors in Scala (not to be confused with std::vector). Dunno if Haskell has them.
 
user142019
 
6
Q: Why are vectors so shallow?

FredOverflowWhat is the rationale behind Scala's vectors having a branching factor of 32, and not some other number? Wouldn't smaller branching factors enable more structural sharing? Clojure seems to use the same branching factor. Is there anything magic about the branching factor 32 that I am missing?

@Zoidberg'-- The rightmost column is funny :)
 
user142019
@FredOverflow the middle column too. :)
 
user142019
7:44 PM
And I like how Haskellers see C as a bomb, because it’s so fucking unsafe.
 
Xeo
I wonder how C++ would look like on that list
 
Bottom left is fucking hilarious.
 
@FredOverflow ideone.com/VNEnV2 Yep, line 8. I just had to try it myself.
 
It would have been better as a garbage truck.
 
@Borgleader Scala is so fucking awesome. It's like a wonderful mix/compromise between Haskell and Java.
 
user142019
7:49 PM
I used Ruby on Rails before it was cool.
 
I wrote DATA 234 if I needed a nop ;)
 
user142019
0x90!
 
.28s just to do that?
 
Pretty sure NOP was 234 on 6510.
 
user142019
0x90 on x86, aka XCHG EAX EAX
 
user142019
7:51 PM
It swaps eax and eax. :)
 
I know, cool.
 
user142019
That’s a one-clock cycle nop.
 
What if the instructions before or after use eax? Does that introduce a register stall?
 
user142019
Oddly, I have no idea what a register stall even is.
 
It also has an implicit locking as well. Not sure how that applies to xchg eax eax though.
 
7:53 PM
@Zoidberg'-- If you write to eax and then read from eax in the next instruction, it cannot be pipelined as efficiently or something.
pretty sure Mysticial can explain it better.
 
I think that explains the idea pretty well.
 
user142019
Oh.
 
user142019
Well, I don’t do micro-optimizations so I don’t really care. :P
 
@Borgleader ftfy
 
Sweet, you saved 2 lines. I was looking for a way to store the lambda directly but settled for the solution you saw earlier.
 
7:56 PM
> seraient bientôt automatiquement s'ils ne sont pas utilisés à l'intérieur de 30 jours.
I guess they accidentally a word there.
 
@Zoidberg'-- I used to worry about that stuff when I was still writing x86 assembly for a living. Well, more for fun really, but life didn't seem worth living without writing x86 assembly back then, so... :)
You had to intermix instructions so you wouldn't get stalls. Those two pipes had single character names, but I forgot them :(
 
user142019
I prefer high-level languages.
 
So do I nowadays.
 
I prefer C++ but I'm starting to enjoy Scala
 
I wouldn't want to live without lambdas and type inference anymore.
 
user142019
7:58 PM
Sometimes I do C.
 
user142019
For fun.
 
@Zoidberg'-- Burn.
 
C can be fun if you do it right. But you don't get very far, unless you invest a lot of time.
 
@FredOverflow And that's why I don't want to go back to C# 2.
 
user142019
C is fucking easy.
 
Xeo
7:58 PM
@FredOverflow Seconded.
 
user142019
C only sucks because you have to do the data structures yourself, but on the other hand that makes you understand the data structures better.
 
@EtiennedeMartel Or pre-C++11 ?
 
@Borgleader That was part of the joke.
Slowpoke C++.
 
@EtiennedeMartel There was a C# before C# 4.0? ;)
 

« first day (746 days earlier)      last day (4219 days later) »