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

12:06 AM
@Rapptz for my part I kinda want to go back to hacking on Sphinx now. I guess we’re both hopeless
 
I made my own Sphinx theme
:^)
 
I was thinking 'why can’t I append requires to my function templates' and remembered that’s cos it would involve parsing C++
 
@Rapptz can I steal see it
my eyes!
 
ye it's white
 
12:08 AM
racist
 
:^(
I had to change the way the HTML is generated: github.com/Rapptz/discord.py/blob/rewrite/docs/_templates/…
not too much though
the rest is just ~500 lines of CSS
and some javascript
would not do again/10
 
@Rapptz on my end if I pick 'Extensions' in the ToC on the sidebar(?) it’s 'Additional Information' that’s highlighted there
granted that happens on a shitty browser but also on a venerable Firefox
 
I'm using firefox too
it's kinda wonky because the Extension section is really small
 
yeah I'm seeing a scrollbar jitter when I move the cursor across
 
it works on other pages with sizeable sections though
docs are WIP so I plan on padding the section a bit more
that way no one can see my buggy JS
 
12:20 AM
in git status i have a modified file. why is it that running 'git checkout HEAD' doesn't clear those changes? my understanding is checkout will update the working tree to the state of the current commit. (the branch i'm on) which would not have the changed that caused the file to be modified.
 
> Cette expression a vraiment perdu tout son sens. Tu vas à la machine et il n'y a plus de Pepsi ? C'est un déni de démocratie.
@EdgyAlpaca si tu trouves cette blague pas drôle c’est un déni de démocratie
 
 
1 hour later…
1:24 AM
> We're pretty sure the above answer is actually the correct greatest lower bound.
oh well, as long as we are pretty sure what could go wrong
 
1:54 AM
> If it was 1680 we might have had to bike shed this for a while
 
@Borgleader
 
@Mysticial nice unclicked rep
 
questoins tend to be stolen by goblins
if you want them to stay you need to ask questions
 
 
2 hours later…
4:29 AM
Android sharing through intent acts somewhat differently with and without fileprovider
ios & android both have fileprovider, lol
 
> "komplizieren" (to complicate) -"verkomplizieren" (to thoroughly complicate);
how expressive
 
4:43 AM
Local supermarket trying to bribe ppl with a can of 250 ml coke?
Lemme quickly check my cheapskate status to see whether I would be tempted
 
@EdgyAlpaca on a mis un trompe-l’œil dans le hall de guilde
 
5:07 AM
@wilx Perhaps you'll also like this one.
 
5:29 AM
@rightfold That's more than a month late but thanks :)
Good morning everyone
 
5:49 AM
Sup guise
@wilx Personally I think it's highly depressing
 
@Rerito ...in a hilarious way.
 
not even remotely so
sorry to be the party pooper here, it's just what I genuinely feel about that story
 
6:09 AM
@wilx I don't find it hilarious at all either /cc @Rerito
 
@BartekBanachewicz glad to see I'm not the only one with a bit of empathy :)
 
:)
 
That being said, I think a lot of artists feel their education should somehow give them a privilege to only work the jobs they enjoy
IMHO that's largely unbased. I can imagine that there are a lot of jobs like emoji design or other shitty graphic design noone wants to do and yet someone has to. If you're not good enough to sell yourself and dictated the terms, this is the way to go. Of course artists are paid awfully for such jobs, but maybe if they stopped pretending that drawing anything they don't like isn't good enough for their artists' selves and started doing it like everyone else.
 
To me that's the perfect illustration that the student loan + ridiculously high tuition fee is just crazy af
my twin's gf made a architecture/design masters
she ended up learning to do some web development to work on websites design
not quite what she was interested in in the first place but at least it'll pay her bills
so while I agree with you a bit @BartekBanachewicz, they're not all self-entitled special snowflakes (fortunately)
 
@Rerito of course not. My GF is an artist as well and is also basically doing everything she can find.
@Rerito yeah at least here studying is free
 
6:21 AM
exactly my point
 
well you pay when you fail a semester but that's not ruin-your-life-debt either
 
sure you can make an art degre that will never land you a job you like that's paying well (if you're not highly talented) but at least you won't be drowing in debt for the rest of your life and can take on different paths after
And though my parents earn decent money, with factors like distance to the family home etc, I met the criteria to get a refund on my tuition fees (which were like not even 2k€ per year)
 
6:38 AM
@rightfold @Ven ^
 
Web scraping in haskell looks painful
It seems that I have to implement my own monad to deal with "remember the server set this cookie" thingy
 
@Shoe State [Cookie]? or Reader perhaps
 
Cookies will be modified at every request
So State looks good
 
@Shoe by the handler code or the server?
remember you can hoist Reader into State
 
Oh wait, maybe it's not needed
Network.Wreq seems what I need
 
6:47 AM
hoistReader :: Reader r a -> State s a
hoistReader f = get >>= runReader f
possibly with flip
 
7:47 AM
also lol @ people who don't earn enough and blame capitalism for that
 
nwp
@BartekBanachewicz do you have any empathy at all?
inb4 "not with losers"
 
Is empathy a currency? No? Then I don't have it
 
@nwp you've answered yourself. There's a lot of things that can make people poor, but capitalism isn't one of them.
if you (or your family) isn't hit by sickness, natural disaster, war or some other random thing, blaming the system that promotes making money for you not having money is nothing but hilarious
a lot of people coming from non-capitalist experiences assume the system will provide for them or care for them and their bad career choices
 
So what's new in C++ land?
 
not much
 
7:59 AM
@BartekBanachewicz The system is too complex to predict how everything will go. There are shitton of unfair situations in the system.
 
@Shoe raises a question of what's even "fair"
 
IOW it's not always people's fault if they are poor.
 
for a lot of people being born into a rich family is "not fair"
 
So maybe blaming capitalism is ok
 
yes it isn't fair
 
8:01 AM
@Shoe or maybe not
 
@BartekBanachewicz Are you saying that capitalism is a perfect system?
 
@Shoe I'm saying that it's treated as a catch-all for all poor people without any reasoning behind whatsoever
> I'm poor because capitalism
> QED
Or maybe you're just lazy or incompetent or you made poor career choices?
 
Assuming capitalism is not a perfect system, sometimes it's capitalism's fault if people are poor
 
nwp
@BartekBanachewicz What would you do with incompetent people?
 
@nwp find them something they're good at
@Shoe yeah but that doesn't mean you can assume it's at fault without backing that up
 
8:05 AM
@BartekBanachewicz So it's possible that capitalism is at fault?
 
don't blame capitalism, blame human nature
especially some people's
 
@Shoe in the same sense the world can be at fault, yes
world is cruel and unfair so it's at fault for poverty and hunger
 
nwp
Well that is a fact. But what do you do about it?
 
The world is not a humanly created economic system, so I'm not sure what you find similar
 
nwp
It feels like you would want to just let people starve.
 
8:18 AM
new error ..
No apps can perform this action
 
8:37 AM
@Shoe my point is that it's a set of rules
@nwp It feels like you would want everyone to have everything
I for one think that lazy people shouldn't get as much as the hard-working ones.
where "lazy" doesn't mean like physically lazy but lazy in the sense of not doing anything. If you're an investor and you spend days laying on your couch while your money works for you, that's not really "lazy" in the capitalist sense.
 
nwp
@BartekBanachewicz I do and I see nothing wrong with that. Limited resources are a problem that needs solving, not reinforcement.
@BartekBanachewicz It is morally wrong though and should not be accepted by society.
 
@nwp that's an opinion
@nwp it promotes laziness, for one. Isn't the investor from my example a perfect example of your dream of unlimited resources realized? He doesn't need to work physically to have shelter and food.
 
Ven
@Shoe fwiw, I don't find scraping in Haskell to be that painful.
I had to write my "own" (I stole parts from a SO answer) gzip parser however. (here)
But parsing the XML wasn't too bad.
 
nwp
@BartekBanachewicz I don't think so. According to kant you can check the morality of something by asking "If that was a universal law, would the resulting world be good or bad?" In this case you cannot have "money working for everyone" because money doesn't work, people do. That investor is living a parasitic life that only a few can, hence it is immoral.
 
Ven
@BartekBanachewicz are you running that twitter account :P?
 
nwp
8:48 AM
@BartekBanachewicz If he didn't do it at the cost of society it would be.
 
@Ven unfortunately I'm not nearly smart enough
 
Ven
@BartekBanachewicz Let it be known you said that ;-).
 
@nwp notice how the society feeds him willingly
 
nwp
@BartekBanachewicz How so? The system of draining some people of their money and forcing them to do labor for rent/tax/whatever which ultimately goes to the investor is exactly what those capitalism-critics are complaining about.
 
@nwp according to the same moral standard you'd label vast majority of jobs immoral btw
@nwp do you know how investing works? He is neither forcing anyone to sell goods to him nor to buy from him. He just sets a fair price.
 
nwp
8:51 AM
@BartekBanachewicz For example?
@BartekBanachewicz He doesn't set a fair price. He maximizes profit. Not the same thing.
 
@nwp accountants, artists, politicians
@nwp There's no such thing as an unfair price unless it's not the same for everyone.
fair pricing means that everyone can get a thing for exactly the same price, not that it sits at some arbitrary level
one could argue that dumping prices is unfair but that's a more complex topic and also the opposite of what we're talking about here since you complain that he buys low and sells high.
 
@Mysticial o.O sure... goblins
 
nwp
@BartekBanachewicz That would mean demanding 1000$ for a bottle of water while you are dying of thirst is fair.
 
@nwp If you're dying of thirst, demanding any money for it is being a dick
a better analogy would be that demanding twice the money for a car 10% faster is not fair.
 
Ven
@BartekBanachewicz so things being cheaper in poland than in e.g. britain is unfair?
 
8:57 AM
@Ven macroeconomy is different, I could've said I mean stuff like race or e.g. not liking someone
you don't even have to switch countries, it's enough to compare gas prices in different regions from the same provider
so maybe let's just add "at a given place and time" to what I said.
 
nwp
@BartekBanachewicz I don't see that. Not everyone can have the same job, but that doesn't mean every job is immoral. Accountants, artists and politicians provide some value to society. The investor doesn't. And no, I don't consider "providing liquidity" to be value.
 
@nwp so you're now changing your definition of a moral job to 'provides value to society'. That's a different argument. Does that mean we're dumping Kant?
 
Ven
You Kant dump him
 
because then we're back to "that's an opinion"
 
nwp
@BartekBanachewicz I thought it was the same argument. If you add value to society you can have infinite people doing that no problem. If you have people draining society of value you cannot as it eventually runs out.
 
9:02 AM
@nwp yeah I know you thought that, but see above
I'm not disagreeing with you on your fundamental ideas, but I think you're completely ignoring the complex reality we live in.
 
Ven
9:15 AM
okay let's switch topic
What language should a newbie start with
 
Ven
Someone said clojure: no syntax, immutability, jvm for libs.
 
I'd say with something modern that gives nice results fast in the area they desire to explore
Something that doesn't require build or has a very simple build as well
I suppose it matters more that the person actually gets into programming, not that he or she gets into a particular language or paradigm
Once you're confident they're in you can introduce the "good" languages
@Ven if I had to pick one at this very moment no questions asked I'd say JS
 
Ven
:|
 
@Ven well, argue with me! :D
 
Ven
9:24 AM
It's not particularly easy to learn, it doesn't have batteries included so that a newbie doesn't have to look around, things change very fast so you can't start teaching best practice
 
user1804599
@Ven Haskell
3
 
Ven
@rightfold shut up
it's hard to introduce immutability in JS, as well as functional techniques, and you have to teach prototypes or class-based OO instead
(because most of the JS is written that way)
 
user1804599
Well, at least you can't blame me if the newbies become badlets /shrug
 
PHP
newbies should learn newbie language? ... if that stands, I would say swift or kotlin
 
Ven
@rightfold no but at least people can't blame me if newbies become like you
@Telkitty well, argue it a bit please. why those?
I feel a mobile bias
 
9:26 AM
on the premise that newbie should learn newbie language
 
user1804599
Whatever you tell a newbie, they'll assume programming "just has to be like that"
 
Ven
how are kotlin and swift newbie languages..?
@rightfold yeah but if you need to teach them the whole CT baggage they won't end up doing anything
barrier to entry is v important
 
user1804599
So you might as well teach the right thing, not the bad thing, from the start, instead of first brainwashing them with bad ideas and then having them go through the paradigm shift
 
Ven
yeah you might start teaching them CT for 3 years before they realize they don't actually give a fuck and end up not learning programming
 
@Ven but looking around is easy enough. Including jQuery or Three.js is copy-pasting a line. And I'd say it's as easy to learn as it gets given numerous resources and dumb primitives.
 
user1804599
9:28 AM
Straw man much
 
@Ven That's not entirely true. You can show them HOFs, you can show them functional implementations, you can show them pure functions and the idea of immutability. What it lacks is a formal expression of all of the above.
 
Ven
straw man? are you saying CT is easy to learn and doesn't take time?
@BartekBanachewicz if I only knew about those as used in JS I'd believe they're awful
 
@Ven ignorance is a thing that tends to go hand in hand with the lack of knowledge ;)
 
Ven
So maybe don't teach them the bad form first
 
user1804599
9:30 AM
No, you don't need to learn CT
 
Ven
lol
 
@Ven the form isn't necessarily bad; it's oversimplified and lacks structure
 
user1804599
You need to learn Haskell
 
Ven
I just tried to argue with rightfold
am I retarded
what happened to me
 
He's right in that everyone needs to learn Haskell
 
9:32 AM
but seriously, newbies should learn Java
 
user1804599
You can easily port Haskell code to inferior languages
 
why did I unplonk telkitty
7
 
user1804599
Not so much the other way around
 
but I'm not entirely convinced that someone who has absolutely no idea about programming should learn haskell
 
Java is like C++ ... with safety net
 
user1804599
9:33 AM
I am 😁
 
an analogy I'd make is giving a high-end sniper rifle to someone who's shooting a gun for the first time
is it more advanced and more accurate and well plain better? clearly.
 
C# is safe too, but C# is gigantic
 
but for people who don't even know how to shoot any gun it'll just over their heads
 
for newbies, one should start small and concise
 
user1804599
Sniper rifles aren't better
 
user1804599
9:34 AM
They serve a completely different purpose
 
Ven
@BartekBanachewicz yeah but starting with haskell?
you need a baggage
 
user1804599
Someone should port SICP to Haskell
 
@Ven I just said I don't think that's a good idea just above
 
The std::constexpr_allocator proposal is quite nice.
 
am I the only one thinking this logo is weird - like a big mouth eating + shaped snack?
C++ (pronounced cee plus plus ) is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation. It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights. C++ has also been found useful in many other contexts, with key strengths being software infrastructure and resource-constrained applications, including desktop applications, servers (e.g. e-commerce, web...
 
nwp
9:40 AM
C is eating the ++. Let's take it as an omen that C is taking over C++ and all switch to C.
 
I agree
 
@nwp Of course it's eating the ++: most of their evolution proposals that do not involve 50 new keywords are backports from C++.
 
Ven
void what_do_you(int mean[static restrict 5 co_yield]);
 
@Ven There is a proposal to delete static array bounds.
 
Ven
lol
 
9:43 AM
And restrict was another new keyword x)
 
user1804599
Y u post c code
 
Ven
9:57 AM
C code best code
 
C code pest code
 
10:23 AM
User Ven has been kicked from the room Lounge<C++>.
 
Ven
:[
 
user1804599
10:34 AM
Can Boost.Asio notify me of available data, but not provide the data?
 
user1804599
I have a socket file descriptor.
 
user1804599
It seems I can construct a basic_stream_socket from a file descriptor.
 
user1804599
10:51 AM
6
Q: Asynchronously waiting until a socket is available for reading/writing in Asio

petersohnI want to do the following with Boost Asio. I have a socket and I want to register a callback to be called when data is available for reading/writing on the socket, but I don't want it to actually do the reading/writing. Basically, what I need is similar to async_read_some/async_write_some, excep...

 
user1804599
Coolio.
 
All arguments should be named arguments
discuss
 
@BartekBanachewicz you mean like memcpy(dst = p, src = q, length = sizeof(*p))?
 
yes, precisely
 
I can see the use for it when dealing with long param lists and magic constants
 
11:05 AM
3
Q: Boost::Future deferred continuation unwrapping deadlocks

matteodelabreI am using Boost’s promises and futures and encountered an edge case while using continuations. My code uses a continuation that returns a future, and unwraps then()’s result before getting its value. #define BOOST_THREAD_VERSION 5 #include <iostream> #include <boost/thread/future.hpp> int mai...

Anyone with the Boost Future chops? It's interesting
If you still want to know the answer to this question, I think you should set up a bounty for it, and offer 50 of your own rep to the answerer. I have a feeling this is happening because the deferred callback means that it is executed when you call get() on the resulting future, but after you call unwrap() the resulting future is no longer the one you call get() on, so no callbacks are called. The callbacks essentially are not carried over. But I am not sure as to why such a decision was made by Boost, therefore the bounty might help! — Curious 2 days ago
 
@ratchetfreak well where wouldn't you use them?
 
@BartekBanachewicz single arg functions for one
 
@ratchetfreak Why? It still makes it clear what the function takes
 
and functions I know very well (where adding the names is just noise)
@BartekBanachewicz the name of the function ought to be enough for that
of course having a tool that figures out the names you meant based on order/type and adds automatically to the source them will help to minimize typing while still letting people know what the params are meant to be
 
11:29 AM
3
Q: Chat won't scroll in Chromium on Ubuntu

Madara UchihaI'm using Chromium version 58.0.3029.110 built on Ubuntu, running on Ubuntu 16.10 (64-bit). Chat doesn't scroll on new messages, mine or otherwise. Observations: This has been going on for a long while now, every time I logged in from Ubuntu in the past couple months at least. I can reproduce ...

if you're also having this problem please upvote
 
Can't reproduce on Chrome Unstable 61.
 
and yet it's happening consistently in dev channel
 
11:46 AM
@ratchetfreak yup, that's exactly what I'd want IDE to do
 
nwp
@BartekBanachewicz sqrt(WhatWasItCalledAgain = 42)
 
@nwp you should know what you're passing to the function, even as simple as sqrt
 
nwp
I know that I'm passing the number 42. I don't see why I have to memorize another word to use the function.
 
you don't have to memorize it
 
nwp
And I foresee that if you enforce that a common practice will emerge to name all numeric parameters n, all strings str and so on and you gained nothing.
 
11:50 AM
@nwp I gained everything in all other cases
you picked one case where the gain is debatable, but you should discuss whether the overall implications are worth it
I think they are
also n is typically a natural argument; sqrt(x=...) would be nicer
so it already conveys some information even w/o reading the signature
I was thinking about strong type aliases in haskell where they suggested something similar
 
you will end up needing a naming convention for the arg names as well as the function names
 
@ratchetfreak you already need one, since you're naming the parameters anyway
the Haskell suggestion was about e.g. functions mixing units with unitless params, so then f (Money 5) (Ratio 0.5) was immediately readable
 
nwp
@BartekBanachewicz Currently I don't need to know the parameter name of std::sqrt.
 
@nwp yes, I know you don't. That's the whole point of the idea.
incidentally (and quite funny), it's Haskell which signatures don't have name information
 
nwp
I would make it at least optional like in python.
 
11:55 AM
C++ signatures can (but don't have to), yet still everyone provides it
@nwp that has the downside of introducing at least two conventions (about 6 in Python)
 
Ven
@BartekBanachewicz I might be alone then
 
:37880631 precisely
 
Ven
A big part of it is that haskell types are much more expressive than C++ types, of course
 
objective C requires param names,
 
Haskell's partial application is so worthwhile I would still keep it as is, but in more classical languages I think going away from the argument order completely is a great idea
esp. when you consider optional arguments then
and OpenGL API
 
11:58 AM
@BartekBanachewicz opengl is a C api
 
@ratchetfreak which could still use structs which are essentially packs of named arguments (or named tuples)
void glClearBufferSubData(GLenum​, GLenum​, GLintptr, GLsizeiptr​, GLenum​, GLenum, const void *);
 
nwp
How would variadic parameters be handled? min(first = 1, second = 2, ...) is not feasible. You would need to do something like min(args = {1, 2, ...}) and effectively ban variadic parameters. Which opens the door to anyfunction(args = ...).
 
I'll buy you a beer if you call the above fun correctly on first try w/o docs
 
biggest problem with opengl as a C api is that everything is an int
 
Ven
won't buy me a beer otherwise? :[
 
12:00 PM
@Ven I will if you visit me <3
I'll be awfully lonely with my GF in the UK
 
Ven
Poland is a bit too far away.
 
planes are cheap though
and I'll pick you up from the airport sooooo
 
Ven
that's not what i remember for trying to go to uncon last year
 
hmfph
@nwp just pass a list, honestly
 
Ven
it was 400e+
 
12:01 PM
if you need a list of different types in unspecified order... what the fuck is your function even doing
 
Ven
that's a third of my salary
 
@Ven how early did you search for the tickets? time-wise
 
Ven
i don't remember. a month or two beforehand
 
@Ven where would you be flying from?
 
Ven
paris
i don't remember which city it was tho (uncon last year), maybe i was a smaller one
 
12:03 PM
@Ven apparently the tickets start at €20 on that route :P
well I'm seeing tickets for around €180 both ways
4-5h trip
 
Ven
hurts
 
so keep looking for last minute deals then :D
I'm hosting a lan party probably on the first weekend of august, then no plans
 
Ven
i think i'm using the last of my days off for my holidays in august :P
 
I still have majority left
and when I finally fetch my diploma from my uni I'll get 6 more
 
Ven
6 days?
 
12:13 PM
@Ven yea
 
Ven
damn
 
@Ven it's 20 at start, and 26 after some years of experience but uni counts as a lot
 
Ven
that's nice
 
how much do you have?
 
Ven
15 i think
 
12:33 PM
Now that std::string is required to store the null terminator in the underlying buffer, if were are going to reserve a string to fit a specific amount of data, should we add 1 to the amount we reserve to make sure there is room for the terminator or should that be handled by the implementation?
 
woah. we have a mandatory 2-week vacations at work
that wouldn't leave too much
 
@NathanOliver "should we add 1"? no
imagine if that was the case: all the programs ported from C++03 would have their iterators invalidated
 
@milleniumbug Thanks. I figured I was over thinking it
 
nwp
Looking at questions on SO is bad for my mood.
Seeing this getting upvoted makes me upset.
 
12:48 PM
lemme guess, you are still doing it
 
nwp
@Telkitty I'll stop for today. If I repeatedly stop for the day I might stop altogether.
 
maybe you suffer from masochism
 
nwp
If you make me work for fake internet points at least don't give them away for non-work.
@Telkitty Breaking news: Stackoverflow so painful that it cures masochism.
6
 
@nwp Why, because dupe and repwhoring?
 
nwp
@Rerito And primarily opinion based.
 
12:56 PM
@nwp Opinion based? It' s just a reference to std::map::operator[]'s doc
Oh, the question is opinion based
Yeah right
 
1:19 PM
It would be cool if the proposed product type features could replace the tuple-based features, but it looks like it's unlikely :/
 
> proposed product type
heehehhehehehe
"let's introduce tuples as a library feature, surely no one will... oh wait, wait, wait, noooooooo! now let's fix it while we can"
 
Also the "let's use tuple features for structured bindings".
 
user1804599
2:12 PM
The answer doesn't answer the question.
 
user1804599
It repeats part of the question.
 
nwp
@rightfold Proper answers usually do that.
 
user1804599
They should do at least more.
 
user1804599
3:15 PM
> In an odd base, a number is odd iff it has an odd number of odd digits.
 
@rightfold something odd about that?
3
 
3:33 PM
@BartekBanachewicz increase minimum wage by 1% then increase price on everything by 5%
It wouldn't matter much if people were paid 1$ per hour as long as you're able to live with that much money.
 
3:45 PM
@Borgleader
@fbuekert - Man, you really are missing the point. My "hurt feelings" don't matter a bit here, as a matter of fact, the only "hurt" here is the lack of knowledge that comes from the down votes with no explanation. That is frustrating because I can't contribute to the community with good answers if I can't fix what's broken in the question because I don't know what's broken. You said it yourself - it's about building a high quality repository of knowledge. Part of that comes with the questions and their relative worth. How to judge and repair if there is no guidance? — Mick 15 hours ago
> My "hurt feelings" don't matter a bit here
^^ I think they do actually.
 
4:01 PM
@Mysticial in fact not knowing why downvotes is quite irritating
 
a no comment downvote is just as bad as "it doesn't work" with no elaboration in a question
 
@LoïcFaure-Lacroix I'm in favor of anonymous downvote comments. It won't bring any less butthurt to the OP, but at least it prevents the revenge attacks.
 
ah well obviously
 
@Mysticial xD
 
4:40 PM
I come before you for another recommendation: I need to develop a websocket application (which is probably gonna be deployed on some PaaS) that requires a high degree of parallelism and needs to be efficient at parsing HTML and making web requests. The expected amount of threads is around 1500 at any given time.
What technologies and stack would you use?
 
@Shoe coroutines, and pick any that supports them unless you're doing long running tasks
 
I'm doing long running tasks
 
@Shoe then I have no recommendations
 
Each thread will probably execute for days. It will sleep about 14 hours a day though.
 
@Shoe PHP front-end C++ back-end. Haskell and R for the network stack.
 
4:43 PM
@Shoe ah I was talking about execute heavy tasks, for stuff that sleeps a lot coroutines would work
 
@Mgetz It sleeps because at that moment it can't continue (it's unable to complete the work) not because it finishes the tasks at hand and is put to sleep. So it needs to sleep while maintaining the state it has.
@Mysticial What do you mean with front-end back-end there? Isn't PHP a server side language?
 
@Shoe this would seem like a classic case for coroutines... but I probably am misunderstanding you
 
@Mgetz I don't know what coroutines are I think. I'll read about them, thanks.
 
@Shoe coroutines are like userspace threads that are resumable, basically you try to use as few threads as possible and when a coroutine is ready to continue the thread wakes it up and executes it until it yeilds or awaits again
 
@Mysticial That said, the revenge attacks are well protected anyway. I remember receiving a strike of downvotes then after a couple of days the rep came back.
That said, revenge attacks are done on the comments you made and the person didn't agree with you which is weird because constructive comments are supposed to improve quality of answer/questions
if people aren't capable of coping with comments it's a bid sad and make anonymous downvote "worth"...
 
4:57 PM
@LoïcFaure-Lacroix Some people don't take well to any sort of criticism. And they won't change their position no matter what. So you'll come after you.
 
Anonymous downvote is the lazy way for admins to handle people's ego problems
 
00:00 - 17:0017:00 - 00:00

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