« first day (2448 days earlier)      last day (2493 days later) » 
00:00 - 17:0017:00 - 00:00

Ven
5:14 PM
@Mysticial wtf
 
@Shoe coroutine are routines that cooperate
The best use case I can think of is the producer/consumer pattern
Coroutines is more like people having a dialog while threading is people yelling at each other simultaneously.
 
user1804599
5:33 PM
@Shoe Go or Haskell
 
user1804599
Possibly Erlang
 
user1804599
Don't do this without green threads.
 
I'm amazed nobody recommended nodejs
 
user1804599
There are a number of problems with Node.js, which prevent it from being ever useful for anything.
 
user1804599
Examples are the countless bugs, incredibly shitty libraries, and lack of parallelism.
 
5:54 PM
I wouldn't say lack of parralellism is worry much in a IO bound world. If you really need cpu bound, set something like Celery to make your cpu bound tasks async
 
user1804599
> that requires a high degree of parallelism
 
I believe task queues are pretty much designed with that in mind
 
@rightfold That's overstating it a bit. I've seen people get some reasonable use from it for slapping together quick and dirty proofs of concept. I'd say it's a horrible idea for anything like a production environment, but it can be useful for some purposes anyway.
 
I've made a lot of "tools" for bootstraping buildout environment in nodejs to fetch a load of gitrepos in parallel since they are technically IO bound things
nodejs is really nice for prototyping, I wouldn't mind using it for production but I guess it really depends on the "needs" you have
as he's asking for websockets, the nodejs environment is pretty much around this
 
6:13 PM
0
Q: Why is destructor of base class called from noexcept constructor

DobbyObjects of class B are never deleted, so i want disable destructors, to save space. I wonder, why is A::~A() used in B(), despite noexcept. struct A { A() noexcept {} ~A() = delete; }; struct B : public A { B() noexcept {} ~B() = delete; }; g++-7 -std=gnu++1z says: main.cpp: In const...

> Objects of class B are never deleted, so i want disable destructors, to save space. I wonder, why is A::~A() used in B(), despite noexcept.
 
user1804599
"Prototyping" is a hoax and Node JS isn't nice for it
 
@Borgleader my brain hurts
 
user1804599
Go and Haskell and Erlang have much better websocket implementations than nodejs
 
I need to try Alexandrescu's median-of-ninthers selection algorithm.
 
/cc @Mysticial
 
6:26 PM
@Borgleader I think my IQ just dropped about 10 points.
 
Ell
@rightfold prototyping isn't a hoax
IMO you often have to iterate through several incorrect solutions before arriving at a correct one
 
user1804599
"Prototypes" are too expensive to throw away
 
user1804599
So if you make them shittily using shitty tools, you'll end up with shitty production shit
 
user1804599
So don't
 
Great, people are asking me for the AVX512 version of my Pi program because there are no (publicly-available) AVX512 stress-tests that exist yet.
And I still don't have my fucking mobo.
 
6:39 PM
Hehe, you're becoming unavoidable :D
Uuuuh, Alexandru's C++ is a bit ugly ç___ç
 
6:54 PM
not as ugly as your face
@LoïcFaure-Lacroix Using a dynamically typed language for any production purpose is fucking stupid
7
 
ç_ç
 
ouch
 
in fact I'd argue for basically any purpose
 
Xeo
@Mysticial aaaand the season is over. Most anime had their last episode sometime this week
SukaSuka ;_;
 
I finished Busou. But that's it.
Gonna be a busy weekend. And next weekend is AMW.
 
7:04 PM
anime marathon weekend?
 
Anime Midwest
The timing of this Skylake X release is just terrible. It's too close to AMW.
 
nwp
@Mysticial Tell them you will trade it for a mobo.
 
Black metal & sax <3
 
@nwp They wouldn't be able to ship it to me in time for the weekend anyway.
My mobo's delivery ETA got moved up from Monday to tomorrow. But I'm only cautiously optimistic.
 
@Mysticial then tell them to overnight you hardware
 
7:15 PM
Last time (Ryzen in March) I didn't have this problem because I went to Microcenter on launch to pick up the CPU + mobo in store. But I'm not doing that this time because the costs are 3x higher and I'm not paying an extra $150 tax for that. I'd also lose the free expensive-looking headphones which I'm probably never gonna use as well.
 
7:42 PM
oh no, not the expensive-looking headphones!
 
7:55 PM
Heh, Privacy Badger started blocking ajax.googleapis.com, and that killed the chat.
 
@milleniumbug I've never actually had real gaming headphones before.
Now I will.
As in the ones that comes with a mic attached and everything.
So I'm gonna have this brand new rig. Glass case with RGB from top to bottom with the latest processor and a massive radiator, a decent video card, and a set of gaming headphones. And I'm going to...
Write C++ on it.
 
8:18 PM
@Mysticial you are truly living the life
 
Phew! Fixed my citation record generating tool and associated library! Now I can finally read the blog post @JerryCoffin has linked me this morning.
 
8:47 PM
Damn benchmarks, always showing different things.
 
it's almost like the universe did not design itself with you in mind
 
@Morwenn How different is different?
 
@Puppy no, it is the universe who is wrong!
 
@wilx In one of my benchmarks, my sorting algorithm based on pdqselect is the slowest for random data, but with another benchmark it's almost always the fastest.
 
@Morwenn Try to count CPU cycles instead of real time?
Turn off power management and CPU clock throttling?
 
8:52 PM
@wilx Well, one counts CPU cycles and the other time x)
 
Also plug in the cord.
 
nwp
9:16 PM
Seeing this about net neutrality on meta, I remember joel writing about paying some service provider to "make the connections go faster" which he wrote sounded like bs, but he did it anyways. He then described being in some hotel with shitty internet in austria (?) where even loading google.com took a minute but stackoverflow was super fast due to using those premium lines.
Unfortunately I cannot find it anymore, maybe it was deleted. I really wish I could post that in an answer.
 
9:31 PM
@wilx So what do you think? Was I being excessively harsh, or just pointing out things that were so obvious they weren't worth bothering to say at all?
 
@EdgyAlpaca bons mots
 
@JerryCoffin Well, I think people need to hear/read that. However, for me it is not news. :)
I agree with your conclusions.
 
9:43 PM
@wilx Yeah--kind of preaching to the choir in this case.
 
@JerryCoffin Yup. :)
 
10:24 PM
@wilx Which blogpost?
 
@Luc avec la nouvelle interface bien débile du chat je peux plus rep à des messages en particulier, mais re: trompe l'oeil, c'est celui de caudecus nespa
 
@EdgyAlpaca vi
 
10:52 PM
@Puppy Write anything in asmjs and come back saying the same thing.
Anyway you're not being fair, dynamically typed language might not even hope to be the fastest languages but at least you don't have to fight much with the compiler vs interpreter
 
What is this guy on?
 
@набиячлэвэли whoever you're talking about, the probability that he's on a chair is quite high
9
 
11:31 PM
@LoïcFaure-Lacroix Virtually every time I'm stuck using a dynamic language, I find it a nearly constant struggle. In virtually every case, there are simple rules about, well, types of things, and I'd really like to have those rules enforced. Since it won't help me with that, I end up with ad hoc type enforcement spread liberally throughout all the code.
This violates the DRY principle, and virtually ensures that enforcement of those rules will be uneven (at best). Some routes through the code will leave exceptions that weren't intended, while others narrow the rules in unintended ways, and still others just waste time enforcing the same rule three times over, because they can't depend on the compiler having done it automatically.
 
11:48 PM
@JerryCoffin Technically in python you could write a metaclass to enforce some "things". You can virtually enforce anything you want at the class level. You could even enforce types in the class you create and have some kind of typed python framework... But really nobody want to spend time on such thing because it's more likely to just slowdown without actually gaining anything
Nothing is perfect, I think it all goes down to what you're comfortable with
People actually write code in PHP as incredible as it is... One nice thing of "typed" languages is when you want to transmit data. We had a bug lately when one client wasn't able to communicate with their server with xmlrpc
I found out that their php script was storing some ids in $_POST or $_GET as strings... end to call our endpoint they had to actually cast all their parameters explicitely. PHP is one example of a mess where a variable can change type at will
 
00:00 - 17:0017:00 - 00:00

« first day (2448 days earlier)      last day (2493 days later) »