skysight-inc/HackerNews huggingface dataset:
A simple approach: Set up your apps' supervision tree such that you got poolboy [1] with a fixed pool of 20 worker processes and the one GenServer that distributes the work.

If you go with one GenServer per node, then that one just connects to redis and just pulls jobs (using BLPOP or whatever). When it has gotten a job it checks out a worker from poolboy and assigns it that work.

You could also just have every single worker process go directly to redis and have it pull jobs in a loop. But where's the fun in that ;)

If you want a single global coordinator instead of one per node you can use :global [2] to globally register a process in the cluster. This process is then cluster-wide reachable under its registered name. It can talk to each of your worker pools in the cluster and round-robin try to check out workers and assign them work. And if you do this you might as well ask yourself if you really need redis instead of keeping it all within your Elixir system.

Deciding on which node this process lives is still up to you, but there are libraries like locks [3] that allow you to automatically determine a leader in your cluster.

And once this is done you can start dealing with overload :)

Of course this is just a simple and naive approach, there are a lot of really useful Erlang libraries to check out. Here's a list of libs that helped me when getting started by reading their docs and sources in no particular order:

https://github.com/heroku/canal_lock - Erlang lock manager for concurrently variable resource numbers

https://github.com/jlouis/safetyvalve - queueing facilities for tasks to be executed so their concurrency and rate can be limited on a running system

https://github.com/fishcakez/sbroker - process broker for matchmaking between two groups of processes using sojourn time based active queue management to prevent congestion.

https://github.com/ferd/backoff - exponential backoffs and timers to be used within OTP processes when dealing with cyclical events, such as reconnections, or generally retrying things

https://github.com/jlouis/fuse - A Circuit Breaker for Erlang

https://github.com/basho/sidejob - Parallel worker and capacity limiting library for Erlang

https://github.com/pspdfkit-labs/sidetask - My humble Elixir wrapper for basho's sidejob

[1] https://github.com/devinus/poolboy also used in Ecto, look through the Ecto sources if you want to see how it's used in Elixir.

[2] http://erlang.org/doc/man/global.html

[3] https://github.com/uwiger/locks and then https://github.com/uwiger/locks/blob/master/doc/locks_leader...
1/ Probably a better description would be "human nature". There are certain ways people tend to work and interact, and you discover those as you go along in life, as well as ways to manage them.

2/ Mostly it involves facilitating self-actualization in those you're managing. People want to feel like they are being heard, and are making a useful contribution. There are exceptions, of course, but I'm talking about the norms. Some people have bad habits that need to be broken. Others are fearful and need encouragement. Others are thin-skinned and need more experience working with teams. People go through life challenges, crises, epiphanies... Even if you're not a manager, it behooves you to learn humanity and how it works. It's one of the few things in the technology sector that doesn't change.
I understand. I also understand that most media actively try to censor race from most crime reportage. They'll say something like "two males were seen fleeing in a car at high speed after the shooting". Why even say males at this point? Just say people. So, on the one hand they avoid mentioning physical descriptors like race, or age, for most violent crimes, on others, they actively highlight physical and psychological characteristics like race and mental health, and assumed bigotry.

So it's a very uneven treatment.

Also, statistics are unhelpful here. Overall whites are a maj. in the U.S. They may or may not be in the locale where the crime happened, and minorities may or may not be a majority in the place a crime happened. So it very much depends how large you want to make this "place"
I'm one of those who I think you would say "Just Don't Get It." Judging from your rhetoric, you clearly don't understand why some people do not think gay marriage is a good thing for the country. I don't think you have earned the right to say we "Just Don't Get It" and need to be "dope-slapped" until you actually get why we disagree with your viewpoint. If you can coherently argue for my position (even though you disagree), and you still don't think I'm being reasonable, then maybe you can use that kind of rhetoric.
My advice to you is that you need to answer the question, "What is Orange?"

Your page right now focuses much more strongly on answering what it isn't. It isn't klunky, like C++. It is neither typed nor untyped. It doesn't "limit user's expressivity". It doesn't require you to declare variables, except that's also optional.

It almost comes across like it's nervous that some people might disagree with some design decisions. Let me put your mind at ease: If you are serious, and if you attain any success, I solemnly promise you the Internet will string up your language, dismember it publicly, douse all the pieces in gasoline, light them on fire, and dance around the flames. Why is that actually something that ought to put your mind at ease? Well, it's inevitable anyhow, so you might as well go ahead, have some fun, and make some decisions about what Orange is going to positively be. If you get to that point, remember you'll be the one in possession of a language that's gotten enough attention for that to be worthwhile, and they'll just be hecklers.
Since the original question was never answered, if anyone has experience with my problem set please email me ldavis at placeavote.com.
May be a lame question but why are Rails versions 4.2.3 and 4.1.12 co-existing? Project lead couldn't decide on numbering scheme?
This is the critical thing for me and what makes that particular dissent so baffling ("This issue has been stolen from the democratic process!"). It is a crime and tragedy every day we go on where gay people can't marry. People are (were) suffering emotionally, materially and in principle - millions of people - because of that law. It's already been excruciatingly, unbearably, unjustly slow to get this far - and people should wait around for a better fix? No.
Others on the thread report otherwise. I'm with you; I will take my drive when I'm done, and never am going to ask 'mother may I'. If it fails, I'll file a bug report. Its a minimum standard of function in my viw.
Rant time.

This talk about "church's definition of marriage", etc. is a red herring, and just a couched way of saying "we don't like homosexuality and homosexual behavior".

I got married in India. In a ceremony presided over by a local priest. There was no "church" involved. But guess what? No Christian here (in the US) has ever doubted the authenticity of my marriage.

And then I got divorced in the US. The courts here had no problem recognizing my marriage, even though it was performed in some other country, by some unknown religious authority. The officials had no hesitation in breaking up this marriage. Why don't we require the Church's blessing to break up a marriage (I am aware that Catholics have a certain process of appealing to the Pope, but not all churches do)?

If you don't support the idea of the government getting involved in marriage, you shouldn't support the idea of government-approved divorces either! Go to your church and get a divorce!
Event Sourcing in practice
Is it memory-safe? Is it garbage-collected?

Edit: Looks like it does extern calls to `malloc`, with no matching frees. Supporting proper dynamic resource management is fundamental for a system language, as the whole point of an operating system is to manage resources for user programs.
Where in Indonesia?

Skills that you can offer?
Perhaps to avoid the same situation with FB Messenger Erlang to C++ conversion? What do you think?
... and adopt and raise children, pass their SS to their spouse when they "die" (go bankrupt?), marry human "persons", marry horse, dogs, the subway train et al?

They have no SS? Absurd, why not?
How Zimbabwe's Econet Frustrated Six Million Customers
Your language here is what I prefer. You wrote this:

"professionals in tech that wouldn't mind making $170k to do literally nothing but proxy votes for their district"

This description of your first candidates is what I find cynical. They should feel like true believers. Not opportunistic passive income collectors.
Can you expand upon what you mean by complete Haskell stack ? What do you feel are currently missing from Yesod ?
Nope, they were not turning 80% receivers into 100%, they were starting with aluminum billets according to this article (see this page for a 0% receiver you can buy ^_^: http://www.80percentarms.com/products/0-billet-ar-15-lower-r...).

But in either case, why build when you can, in theory, buy?

Each has different levels of difficultly, and in this case, if true, it was probably harder than buying or stealing. But a different set of risks....

I mean, I've heard of Afgans doing this by hand from scratch, but I've never heard of this level of organization making rifles, heck, most nation states don't.
You can have their launches show up in your calendar automatically, add this to your Google Calendar for instance: http://spacexstats.com/calendar.php?launch=all
Why is the gov in the business of approving who is married anyway? There is no reason to need "licenses".
My jaw landed on the floor when it said that pinterest runs on AWS. AWS is fantastic but I would've expected that the performance-per-dollar ratio is way below having your own colo'd hardware at pinterest scale -- and would leave you spending talent on trying to optimize your software, instead of just throwing more hardware at your operation.

Is this common now, that pinterest-sized businesses are running on AWS?
So the child of a divorce has to move between more than 2 homes now? A wealthy man can split his income with more than 1 wife that doesn't work?

It's not the same, it's qualitatively and quantitatively different. Is there a limit to the number of members? Can you join a union halfway through? Can you leave a union without dissolving it? Those questions don't come up under 2-person unions.
Text of the original article: http://www.theatlantic.com/magazine/archive/1945/07/as-we-ma...
Pretty crazy to think how far America has come on this and related issues. America isn't so good at changing as soon as we should but we've made a lot of social progress in our short ~300 years.

The other day I was watching Eddie Murphy's "Delirious" special [0]. It's widely considered one of the best standup specials ever and it's Eddie in his prime. But he spends the first ~5 minutes just spewing anti-gay jokes. Not hateful stuff, but just saying over and over how he's scared of gay people, etc. And he was probably the biggest star in the country at the time and at the peak of his abilities as a comic. I don't think that would go too well now (even if it is comedy).

Anyway, congratulations to anyone who was previously unable to get married and can now do so. It's a real victory for the good guys.

0 - https://en.wikipedia.org/wiki/Eddie_Murphy_Delirious
Facebook could easily promote more privacy and anonymity while remaining profitable. It could have been a non-profit and aimed to make money without compromising privacy. It wouldn't be as profitable but that's a different story.
It started long before Rust 1.0, and not a moment too soon in my opinion.
annotate.el looks pretty interesting, thank you.
Hard to call Twitter a startup :), but yeah by the articles own admission they're using mostly Scala with some Java.

Can you elaborate a bit on why you're using Java8 in your startup project?
Hit-and-Run Driver found by “pinging” his cellphone-Detectives did not elaborate
url doesn't work (Forbidden, You do not have permission to access the requested address (URL)).

In any case, I think the book parent is referring to: http://www.amazon.com/Common-LISP-Introduction-Computation-E...
Funny, it never came up while earning a finance degree.
If you take a look at the wiki article, there are some versions listed. Those are still in use. If our company forced people to use SNI, we would be out of business. There are TLS 1.0+ enabled apps that can't do SNI. Perhaps you and I are just in very different business models.
I go as far as to have a dedicated project notebook for big new projects, I write everything down that I come across that I need to remember or need to question.

I've often been dropped into codebases where there is only a month to question the previous maintainer before all the business knowledge is lost as they move on to bigger and better things. So getting all the questions/queries down asap is the fastest step to get the undocumented business logic documented.

Even when you can't ask the questions I like to turn all the unknown unknowns into known unknowns. :)
They are meant to be a play on words, with several different possible meanings.

In the books, the original AI's would get to name themselves after much reflection.
I'd advise you to actually read the article you are linking to.

> in which a person asserts that some event must inevitably follow from another without any rational argument or demonstrable mechanism for the inevitability of the event in question.

His argument is not a fallacious one. The reasoning used to justify applies to other scenarios. Polygamy is the main one brought up on this thread: Why are we telling adults who and how many people they can marry?

If you legalize [x] because [y] and [y] also applies to [z] then [x] and [z] are equivalent for reasons [y]; therefore [z] should be legalized if [x] is legalized unless [x] and [z] are demonstrably not equivalent for reasons [y].

I'd also like to note that the cutoff for being an adult should be 25, not 18. Therefore people shouldn't be able to be married until they are 25. The age of 18 is arbitrary and in many places that age is 16. In some places that age is 14. When exactly is the cutoff? Well it's based on an individuals mental maturity, which is not equivalent to their age. I've met 12 year olds who are more rational and mature than 30 year olds.

Furthermore:

Hebephilia and pedophilia are often merged concepts when people speak. For the people speaking on this subject, can you clarify which you're talking about? It's difficult to tell which people mean, but it usually gets clarified to the 13-16 year old ranges. At that age, I'd argue most children understand marriage, can be educated on the government-related issues to marriage, and understand sexual relations and pregnancy. The idea that they can consent to sexual relations of other minors, but not of adults, is some form of double-think. Note that in this context it doesn't seem marriage is what is being brought into question: just sexuality.

Note that I'm not defending it: I think people shouldn't be able to have sex or get married until at least age 25 unless they can demonstrate the ability to proper care and provide for a child with a stable income.
Except that it'll have a mountain of sensors on it and will be able to show you were at fault.
I would assume they use the same radar tracking cameras that NASA does.
Really cool. Two suggestions:

1. Widescreen aspect ratios

2. Volume slider, not just control. I'm listening on headphones at my desk at the lowest volume on OSX and it is still too loud. If I try to go any lower the sound turns off.
I would say ES6 for anything that will be worked on by more than 2 people.
CoffeeScript for one man show projects.

But honestly...ES6 will be the norm and you should know it anyway. So the question is..If you already know CoffeeScript should you keep using it ? The answer is YES ! If that makes you happy why not. But keep an eye on ES6 and learn it.

More delicate question would be. If i start with JS should i learn ES6 or CoffeeScript first ?
Largely, the same goals are served, but the symbolism is a little different. In the US, the moment when the marriage becomes official can be during a religious service; in the Netherlands, it can't.
"Come about is fair play."

You may say it is "fair play", but it really does nothing to help the cause because it's so hypocritical.

This sort of behavior only makes innocent people like me having to resort to the same tactics to correct the wrongs in this world...and people that get their lives ruined and or their careers destroyed really can't complain.

"Especially when you operate in a market that's so overwhelmingly liberal in the first place. If he was the CEO of an Oil company, maybe it'd be a different story."

So, if a christian organization oppressed and bullied a CEO for supporting gay marriage until they quit, it's "fair play". Correct? I'm just trying to see your logic here.
Marriage has everything to do with procreation.

For most of human history, and without having to get into more specific details, a man and woman living together for more than a short time usually resulted in children. The institution was enacted to encourage such couples to avoid getting into such a situation unless they agreed to stay together, ensuring the likely offspring would be raised by their own parents (generally the best possible conditions).

There's no point in formal social recognition of a union if there's no chance of reproductive consequences thereof. And by "no chance" I mean "the notion is utterly preposterous", not "they may choose not to" or "parts don't work"; if literally two bits of information (one quarter of a byte) is enough to make the decision, that's enough.
JIT generated hidden class from plain objects (V8)
Netflix runs on AWS (at least a lot of it does). Which is a bigger business than Pinterest, and more interestingly to me, in direct competition with Amazon.
git grep.

I search for strings that appear in the frontend (or generated HTML source, or whatever), and then I use a search tool (git grep) to find where it comes from. And then I the same search tool again to trace my way backwards from there to where it's called, until I find the code that interests me.

And then I form a hypothesis how it works, and test it by patching the code in a small way, and observe the result.

Oh, and don't forget 'git grep'. Or ack, or ag, or your IDE's search feature.
> But, why not?

Because gays not being able to marry is an injustice, an unfairness, oppression, etc. Priority #1 is to stop doing harm to those people however it can be implemented. We didn't* say "Oh black people should have rights, but let's postpone that until we can come up with the best possible way to write it in legislature"

*racist people did in fact use that argument
One problem with using "reflect" this way, apart from the fact that it's (a) counter to idiom and (b) takes your code in a direction of being counter to idiom in general, is that "reflect" is pretty slow.

You can do it, but since the only reason to do it is to avoid spawning goroutines, I'm not sure why you'd bother.
Marriage confers very special rights, such as permanent residency or social security inheritance, that you cannot obtain through private contracts. Therefore the government has to be involved.
> Other folks in this thread have pointed out it doesn't work

F-1 OPT isn't mentioned any where else in this thread. So you still haven't explained why "OPT is broken".

> Because they need a sponsor to switch ... which is not free

Practically speaking, for people in tech, this isn't a problem, because most/all companies sponsor, and are willing to bear the $3-$4k cost.
> I might be making a false distinction but it just seems to be more personal and gets to the core of your being.

I sort of responded to this in my edit to my previous post. I think that each person's notion of self is different and largely a consequence of where they've spent energy developing themselves. If you focus on chess for years, a loss at chess will hit you harder than a loss at golf. If you focus on golf for years, a loss or a particularly uncharacteristically bad showing will hit you harder than a loss at chess.

I'm competent in mental games and passable at sports. I can outsprint a lot of people younger than me and more practiced primarily because of a fortunate body type, not because of practice. But if someone came in and tore my code apart (I've literally been programming for 75% of my life, starting at age 8), that'd hurt me more than any game or sport. Still mental, like chess for you, but it's probably more significant that it's been my focus for so much of my life.
A while back, I was joking to American gay friends that if they wanted to have their rights recognised in post-Citizens United America, they ought to set up an LLC together rather than get married.
And compared to 15 years previously that was also 'unaffordable' (even with the crash in the 90s)
It actually can make more sense for larger websites than for smaller ones, as Pinterest can scale with demand and thus be running 50% or less VMs during quiet periods (e.g. middle of the night).

I'm not exactly sure how you jumped from them using AWS to the assumption that they're "throwing more hardware at [their] problems" rather than optimizing their software. AWS or other cloud services don't really indicate a certain priority as far as internal development, just like first party hardware doesn't (and there are companies that throw additional hardware at problems, just like there are companies that throw extra virtual capacity at it).
GitHub changes their logo to be rainbow themed
Are you talking about Stack Overflow or Hacker News?
The graph is sorted by performance, with the worst performing (not necessarily the most common) on the left. We've also done more profiling and optimisation since we took those measurements.

FXL employed some tricks that were sometimes beneficial, but often weren't - for example it memoized much more aggressively than we do in Haskell. Mostly that's a loss, but just occasionally it's a win. When a profile shows up one of these cases, we can squash it by fixing the original code.

What matters most is overall throughput for the typical workload, and we win comfortably there.
You've clearly never experienced the traffic in Mumbai, Bangkok, or Moscow. London isn't exceptional.
That might be very clear to you and I but I'm hearing a lot today about religious liberty being trampled. So I suspect it isn't as clear to a lot of people.
I didn't really understand his argument as to why it was relevant to SO. Though, I think he probably could have just said "I'm gay. It's my site. I feel like celebrating." and it would be sufficient justification.
Sorry, you're absolutely right, I've seen modern perl and it was actually quite clean. I didn't mean to offend by saying this!
> I'm aware of loving, which said nothing different? Loving basically said the same thing i did - they need a legitimate state interest. Race based discrimination is not a legitimate state interest. Therefore, this falls.

How is sex-based discrimination in marriage a legitimate state interest but not race-based discrimination in marriage? I'm having trouble seeing how Loving — which overrode states' control over marriage when it was unnecessarily discriminatory — can be a good ruling while Obergefell is a bad ruling because it overrode states' control over marriage when it was unnecessarily discriminatory.
Does that work with Cython compiled dependencies?
Come about is fair play.

The pendulum swings both ways.
DID does not exist in the Tumblr version that gets talked about a lot. Actual DID is rare and has different forms. The DID you're talking about affects maybe 0.1% of the population.

Women, on the other hand, are about 50% of the population.
> So, if a christian organization oppressed and bullied a CEO for supporting gay marriage until they quit, it's "fair play"

You're missing the point: Advocating for the violation of basic civil rights is different than whether or not a dude can have a job.
"You cannot understand a system until you try to change it."
~ Kurt Lewin