skysight-inc/HackerNews huggingface dataset:
A fun idea is to do away with the "guild" servers in the architecture and simply run message passes from the websocket process over the Manifold system. A little bit of ETS work should make this doable and now an eager sending process is paying for the work itself, slowing it down. This is exactly the behavior you want. If you are bit more sinister you also format most of the message in the sending process and makes it into a binary. This ensures data is passed by reference and not copied in the system. It ought to bring message sends down to about funcall overhead if done right.

It is probably not a solution for current Discord as they rely on linearizability, but I toyed with building an IRCd in Erlang years ago, and there we managed to avoid having a process per channel in the system via the above trick.

As for the "hoops you have to jump through", it is usually true in any language. When a system experiences pressure, how easy it is to deal with that pressure is usually what matters. Other languages are "phase shifts" and while certain things become simpler in that language, other things become much harder to pull off.
There is in the slack demo video. Maybe you can convince Geoff Lion to bring it to production.
https://news.ycombinator.com/submitted?id=77yy77yy

Hm.
Still ongoing work. My personal bet is a bit more on modernizing HiPE however (by using the LLVM backend more).
Actually a 2-5% improvement over state-of-the-art is a research contribution in its own right.
No it wouldn't, because China doesn't really consider NK an ally worth fighting over, especially against USA, because unlike with NK China and USA are very strong trading partners. Of course China strongly prefers a buffer between South Korea and itself, but if some action did happen, likely China would just not participate in the war and then help with the cleanup and new government since they are a border state and would require any UN resolution to have compromises. The only way China would get involved is if it involved or risked their land or people, not NK.
I would argue that this issue is not decided by a long shot

On the contrary. The SCOTUS defined this already. ObamaCare still exists only because it is a tax and, therefore, pre-emption applied.
The banner image in the article appears to include reflected tiles.
No, the error is yours, I think. We trust experts like police and surgeons to do certain dangerous tasks because their expertise offsets much of the risk; however, they're still more likely to make a mistake since they have to roll the dice more frequently. If the probability of a layperson wrongly killing someone is 20% per police-like-encounter, and the probability of a trained police officer killing someone is 1%, who has the greater odds of killing someone? The layperson who rolls the dice one time or the police officer who roles the dice a couple times a year (or a couple times a week in some places)?

> A doctor doesn't get a free pass if they kill someone due to incompetence when performing a surgery just because they do it more often.

So you have data that police are being acquitted of shootings (when a jury finds that the shooting occurred due to incompetence) at a higher rate than surgeons? Or are you using different standards for "incompetence" (for surgeons, presumably the result of an investigation, but for police it's the opinion of the first pundit you heard?). Mind you, none of this has any bearing on comparing police shootings with civilian shootings, which was the topic of your original point...
Indeed, a broken modern digital clock is likely to just be blank.
That's a massive cherry pick right there. People who, you know, buy GPUs to play games, run windows because the experience is _always_ better.
> Where, where does it say that std::deque is supposed to have O(sqrt(n)) space requirement as worst case?

Nowhere! Where did I even claim it said that anywhere?!
Couldn't you use ago instead?
No you call it curated.
China has went to war with the US over North Korea before, at a time where they didn't even have a nuclear option. Saying things won't happen due to economic and military losses is the exact rhetoric you heard before WWI and a WWII.
No need to hire an accountant, the IRS treats Bitcoin as property, so it would be capital gains tax at sale, not income.

There's very good reasons to pay off the mortgage, it certainly is not "nearly always a bad idea." If you were given a house free and clear would you immediately take out a mortgage on the house? Once you pay off your current mortgage are you planning on immediately taking out a second one? We don't know a thing about this person's finances so we can't advise either way. The feeling of having no debt is amazing and that sort of emotional security can't just be discounted. Finances are just as much about emotion as they are about cold hard numbers. Of course, everyone is different. "But you can get a higher return in the market," you say. You can also lose money in the market, too. It's a great idea in a bull market but a terrible idea in a bear market. If you have a time machine you'd already be filthy rich. Many people think equities are overpriced right now and we are heading for a correction. "But mortgage interest is tax deductible," you say. Only if you itemize and not everyone itemizes and interest on a margin loan is tax deductible too.

Some people may not want to retire at all and if they did why should they wait 30 year, specifically, if they want to retire? The poster didn't give his or her age so he or she might already be retired or is approaching retirement age. They may be younger but with significant assets. A million dollar windfall is enough for me to retire on right now.
The History Channel's Hitler obession happened because the last WWII vets were dying off so the History Channel rushed to interview them, putting out a bunch of WWII documentaries
Copying data is usually necessary in OTP 20 as well I'm afraid. That new optimization doesn't trigger for most of this. But binary data is not copied and hasn't been since at least OTP11 :)
Ugh. Because you've piqued my curiosity I read http://www.waggish.org/2007/gene-wolfe-the-book-of-the-new-s...

The reviewer disagrees that all the questions are answered. Unanswered mysteries for the sake of nothing? Not sure I can stomach it.
It would, from the SEC. There is no analog for lawyers.
NBN Australia's reasons for not rolling out fibre to the premises are misleading
I develop on an i3.xl (950 gb)

My team has hundreds of terabytes of compressed data stored in s3 so I sometimes jump up to the limits when I am doing data pulls for analysis.
Attempted TLDR:

China tolerates North Korea because NK acknowledges that China's the big boss in the region, and restricts most of its bad behavior to places where China doesn't have to care.

If the US seeks to "pressure" China into reigning in North Korea, it'll backfire, because that threatens the air of authority that China was trying to get in the first place.

Lastly, China doesn't want a unified Korea which is in the US' pocket.
The problem is that algorithms and math are explicitly forbidden from being patented. This is why most software patents include some sort of clause specifying that the work is done using a computer.

The patent office has simply done a lousy job when it comes to software patents.
Republicans have no power in CA. Democrats hold the governorship and have supermajorities in both the Assembly and Senate.

CA infrastructure doesn't have a funding problem. It has a spending problem.
Hey, I can't knock them for succeeding. I just don't think most are in it for the speaker (nor is it marketed as such).

So, I'm just pointing to the fact that, ultimately, Amazon seeks (and likely will get) more value out of the Echo than does the customer (or at least much more than the initial cost). Yet, they are able to get the customer to pay for the privilege.

Cool trick if you can pull it off.
IMO that's not the case at all. Our family uses it 90% to listen to music on Spotify and 10% to get morning news. We don't consume any Amazon services with it. Pretty soon the entire house will be automated with it: lights, thermostat, sprinklers, fireplace and fans. "Alexa, turn on all the lights."

It's a new interface device. We can finally, easily, use our voice to accomplish tasks-- anywhere in our house. Before, with phones, it was clumsy and required pulling out the phone.
Very interesting article! One thing I'm curious about is how to ensure a given guild's process only runs on one node at a time, and the ring is consistent between nodes.

Do you use an external system like zookeeper? Or do you have very reliable networking and consider netsplits a tolerable risk?
Seems like you ought to be able to create a process that adds impurities that mimic natural diamonds.
Ah, is this the reason behind Sonos' conspicuous exclusion from the list of AirPlay 2 partners at WWDC? It was a hellstorm on Twitter after the fact, with plenty of Sonos faithful begging the brand for an answer...

It seems (seemed?) like Apple and Sonos happily shared some consumer overlap until then. I find this news quite intriguing in that light.
Amy ETA on when we can start using beamjit?
I don't understand why you are being downvoted.

1. The United States and South Korea are indeed an existential threat to Kim's government.

2. Nuclear weapons will guarantee that North Korea won't see a regime change anytime soon.
Why aren't people taught how to think explicitly? The Greeks and the Romans thought it was a good idea.
Over half of people in jail are drug offenders, most with no other crimes other than drug possession or dealing.

You want to know where the resources are going, instead of being used to catch people raping 13 year old girls...

Just look where the most money is MADE in the justice system to find out where the manpower is directed.
Systemd is a whole group of small, factored tools that call to each other.

So, I haven't tried the exercise myself, so maybe it's easier than I've been lead to believe; but I keep hearing that the problem is that those "small, factored tools" talk to each other and pretty much only each other and that it's very difficult to, eg, rip out and replace just one of them. The argument, as I understand it, is that SystemD is "modular" in theory, but is a monolith in all practical terms.

Note that I'm not arguing for this position so much as restating it to the extent that I understand it. I'm currently using SystemD and while I have my doubts about it, it doesn't cause me any specific pain ATM, so I haven't bothered messing with it.
I'm curious to hear from AMD about the L3 cache latency issue. The article shows L3 access just a few ns quicker than going to DRAM, even to the other CCX on the same die. That's ugly!

This strikes me as either a bug or a benchmarking glitch, though other benchmarks seem to imply that the situation is real.

Assuming it's legit, this gives AMD a great opportunity for a boost in their first respin of the 8C/16T die.
The release says "Erlang literals". Wouldn't that be things like atoms, integers, booleans, tuples, and the like? That plus binary data should cover a good deal, unless I'm reading too much into the blurb on the release notes.

Under what circumstances does it get triggered (since you seem to be more knowledgable about this than I am!)? I expect records would not fall under this.
JVM written in Javascript, what could be wrong?
Apple’s Third Co-Founder Has Never Used an iPhone and Has No Regrets
Thank you for posting that. Looking for a source for one of the quotes, I found this: https://www.scribd.com/doc/139421699/oh-patterson

(here's the bit I was looking for)

> Look, I’m stupid, all right? I’m not some brilliant person. I’m a little child. You know the emperor’s new clothes? I can see the naked emperor, just because I’m a little child-minded person. I’m not smart. I mean, good scientists are like that. They have the minds of children, to see through all this façade of all this other stuff that they know is stupid nonsense. They just don’t see it the way other people see it.

I for one indeed have never heard to of him before, and I'll have to learn more; and that on top of the article and the subject matter of it being vitally important! Thanks again.
Losing the buffer state would be seen as a direct threat on their land and people, and the UN would be powerless in a conflict between two security council members.

Strong trading ties doesn't stop war. This is one of the largest lessons of WWI, and why an isolationist leader of the US is terrifying. It's sold as putting America first, but its scarily similar to the mad dash for guaranteed access to necessary resources before WWII.
It sounds like what students need are better teachers. I haven't been to school in a while but I had plenty of classes that were more interesting than surfing YouTube; and some that weren't.

The same is true for meetings at work. In a good session, people are using their laptops to look up contributing information. In a bad one... well... you know.
It isn't that likely the OTP20 optimization helps here. If the process never sends a message containing the literal value, then there is no benefit in the optimization. What `mochiglobal` and friends are good at is when you have a large set of data (A ring, say) which update rarely, so you can treat it as semi-static data in the system. But then you shouldn't really send that ring data around in the system too much, although it will now be free. [There is a nice subscription-based approach to updates which are now feasible in OTP20, but that is more for convenience]

if send/2 takes 30us to 70us, I'm guessing blocking as well, either on distributed communication or something else along those lines. For local message passes to take that long, my something-is-amiss-sixth-sense is tingling.
Hey! I'm one of the co-authors of the Elixir implementation Absinthe. Absinthe has an extensible middleware mechanism from which you can build a variety of different batching patterns.

We run our API at http://www.cargosense.com/ entirely via GraphQL over quite a lot of postgres tables and this has remained very performant for us. Elixir makes it easy to do concurrent batched requests, as well as in memory caches that live for either the duration of the request or long as desired.

For some particularly complicated cases we have a materialized view, but this is largely used to power a reporting service that builds snapshots from this.

Any questions you have in particular?
I don't think that it's really fair to say that he's being disingenuous here, regardless of the underlying byte form the strings look indistinguisable and often users (devs) will expect them to function as such.

I think it would be less confusing to define .length as the number of characters and have an additional .size method returning the number of bytes (I'm assuming that's what .length returns, if not it's even more confusing).

Of course, that already wasn't done - meh.
How a Montana mom became the target of a neo-Nazi troll storm
Life is not a b-tree
>We don't consume any Amazon services with it

Give it time!

Seriously, in addition to the ease with which you can also use your voice to buy on Amazon, Amazon will surely launch other services based on user behavior. In fact, they may even acquire popular services you currently use.

And, of course, it's compiling data on you.

It's a useful trojan horse, but a trojan horse nonetheless. Of course, if it wasn't useful it wouldn't succeed as a trojan horse. So, not saying it's evil. But, it's amazing that they are able to get people to pay for something from which they will ultimately collect many times the value.
S/he gave an example already--Google Earth. Apple Maps also has generated 3D maps.
NYC subway dashboard: real-time updates and historical performance
Giving up the ghost: investors bail on Snap
In some problems this is incredible.
We trust experts like police and surgeons to do certain dangerous tasks because their expertise offsets much of the risk; however, they're still more likely to make a mistake since they have to roll the dice more frequently.

And therefore the consequences should be significantly lessened for them relative to an untrained civilian?

The approach you advocate will result in the perverse incentive that a cop is better off always pulling a gun in any situation, as the lack of consequences means the incentive is to always minimize personal risk in an encounter in the short term, as there's no risk as a result of a mistake in the long term.

It's perverse.

In effect you place the power of life in death in the hands of a trusted individual, and then create a situation where they're incentivized to use it, especially in situations where even a whiff of short-term personal risk is perceived (like, say, in an encounter with a person in a minority where racial biases may come into play).
The true evil approach is to send the socket around, not the message, so that there is no copying required no matter what ;)
This is one of many insane places on Koryo's "Abandoned Russia" tours, which have long been on my bucket list:

https://koryogroup.com/tours/84

From $7,300/person, but you'll need to wait until next year since this year's kicked off today.
I can foresee a great many stubbed toes in the future with this technology
Already uninstalled Facebook, now I'm uninstalling Messenger. Too bad because messenger's not that bad but not worth getting ads from. Even Facebook is too milktoast at this point to even waste time reading their ads for.
I understand where they are supposed to fit, but the problem is there are so many existing tools to fill the same needs already.

As an example Erlang and Elixir both fit essentially the same bill so it seems to me what was already a small niche is just getting fractured.
No more faith in humanity': A day in the life of Berlin Facebook moderators
Are you also suggesting that we shouldn't teach kids to read until they are in high school and decide they are interested?
oh, is that all!
Students are best of with the least amount of distractions
The government is made up of people who are fundamentally no better or worse than anyone else.

Instead of accepting that anyone is an angel or devil, we should approach all results with a critical eye and push for reproducibility.
Yes, there's updates:

http://www.erlang-factory.com/sfbay2017/lukas-larson.html
It's not an "excuse" because he doesn't have to excuse himself to anyone for his handwriting. He found what works for him.
And, by to way, that's not actually an essay about how to read Gene Wolf.

5) Reading Gene Wolfe is dangerous work. It's a knife-throwing act, and like all good knife-throwing acts, you may lose fingers, toes, earlobes or eyes in the process. Gene doesn't mind. Gene is throwing the knives

How does that help me exactly? Answer, it doesn't. Reading Gene Wolfe apparently motivated Neil Gaiman to write a bunch of words that say almost nothing. This is not encouraging.
Good find, but aren't neonatal deaths are a subpopulation of the overall infant mortality stats, so there is unfortunately, still no clarity. Canada it was noted had similar pre-term birth rate as America (and presumeably higher than Austria and Finland).

It's like a grim logic puzzle where one gets a pile of facts and try to discern the answer.

Country A has higher infant mortality rate than country B.
Country A has higher preterm birth rate than country C.
Country B has a higher neonatal death rate than country A.
etc..
> or contain pop-ups or pop-unders that interfere with site navigation.

Then..

Google on "AdSense Page-level ads"

> We don't count them as "advertisements" when evaluating your site for compliance with our valuable inventory policy.
https://support.google.com/adsense/answer/6245304?hl=en

Yes, these ads are not ads compared to other ads: we profit from these.
"Just-in-time server" would have been much more descriptive and accurate as a term.
That reflects the problems with research funding - they too incentivize "desired" results, rather than knowledge (good or bad).
For those that don't see why it's so simple.

https://plus.maths.org/content/trouble-five
agreed. I couldn't find one thing I'd like to buy. Just Amazon devices over and over on every page.
New Hyper Key
Looks like they're doing 3 minutes per dip - that sums to over two days of continuous dipping.
The Art of More – Season 1
Comment on the Hacker News system - most combinations of {edu,ac,gov,mil}.{$ccTLD} should probably be collectively treated as a TLD for site-display purposes. e.g. sdu.edu.cn (Shandong University) would be more descriptive than plan edu.cn (some academic institution in China).
The iPhone Is an Ideal Machine for Exerting Intellectual Property Control
Yes, people are outraged at that too, but they also blur that with the more dubious claim that "she did nothing wrong".

Let's just admit it: if she were white, it wouldn't have turned out this way

She arranged the sale.

She had the seller's info.

She had the keys.

She had the paperwork.

Only problem is, she 1) is black, and 2) looked like a guy.

Could this situation have been handled differently? Sure. But I struggle to lay more than a small piece of the blame on her. I'd just as soon blame the mother-in-law for not telling her cowboy son that she'd sold the car.
Impressive, loaded a clojure.jar, got a repl and wrote/called some silly functions, it worked...
the pillars of science are theory and experiment.

memorization is a side-effect of these, not a foundation.
Given that it has been postponed a couple of times, no. JITs are hard to pull off and it will probably have a period of worse stability as well before it matures. Another problem is getting a JIT to be faster than the interpreter. Erlang's BEAM is threaded code and also macro-instructions, so it almost looks like a JIT internally.

The big gains would be in inlining across module boundaries and type speculation. But I hold that if we could compile bundles of modules in HiPE, we would have the same gain for a fraction of the development and maintenance effort.

The biggest lure of native code generation would be that we could get rid of a lot of C code in the system as the native cogen would be able to rival the C code in speed. Many Erlang programs spend shockingly little time in the emulator loop, especially if they are communication heavy.

If you need speed today, don't underestimate a port-program. My test is that you can pipeline about a million requests back and forth to an OCaml program per second per core. So if your work is on the order of 1+ milliseconds, this is usually a feasible strategy. Espcially because OS isolation means you can handle exceptions in the OCaml program from the Erlang side by restarting the port.
But... why??

Edit:

> This paper presents DOPPIO, a JavaScript-based runtime system
that makes it possible to run unaltered applications written in generalpurpose
languages directly inside the browser.

Someone should really have told them about webassembly...
Twitch is moving all they can to more efficient technologies such as Go. At that scale every CPU cycle counts and any delay is perceived by users.

"We use Go at Twitch for many of our busiest systems. Its simplicity, safety, performance, and readability make it a good tool for the problems we encounter with serving live video and chat to our millions of users..." - blog post a year ago.

Do your research before spreading old news.
> (Read the academic paper)

I admire the effort, but: doesn't "academic" mean "scientific"? Can there possibly be any "science" in having a well-known VM reimplemented in a well-known programming language?
How Initial Coin Offerings Fueled a $100B Crypto Bubble