skysight-inc/HackerNews huggingface dataset:
So what you're really saying is that green threads are a good thing.

One of the biggest strengths of Erlang (and Elixir by extension) is that they take the approach of finding practical solutions to real problems.

Sure, theoretically there might be a better solution than green threads, but like you said, we're still waiting for that better solution 30 years later. In the meantime, Erlang has been powering highly reliable and concurrent systems for ~30 years now.
There was another article I read recently that made that connection; but that article did reference George Lakoff.
If (as is typically, though not always, the case with dynamically typed languages) you are distributing source rather than compiled code, all the advantage of deferring until the runtime environment is known and making decisions based on what is actually available applies to statically typed languages, as well. Heck, even without that, dynamically linking support libraries specific to the renvironment has been a solution to this issue forever.

Dynamic typing changes a little bit about how the solutions are implemented, but not the difficulty or even the basic logical approach.
I don't disagree with the sentiment here, but want to add a few comments: If you have to walk once you get off of Bart (and let's be honest, the Bart stops are pretty well spaced out), your commute goes up. SF transit (the 38 Geary, the N) might seem slower, but you typically don't have to walk as far when you get off. Also, depending on time of day, Muni runs more frequently than the specific Bart lines. Compared with NY Metro (or most other major cities), Bart stops are spread thin.

And quick nit on the Presidio: it's a lovely place to live and if you live there, there is a free shuttle to downtown called the Presidigo that's easy and efficient.
> Have people just forgot there are thousands of nuclear weapons ready to go at a moments notice?

I don't know if people have forgot about them, but I am pretty sure many - maybe most - have forgotten (or just don't want to contemplate) what kind of damage they can unleash, both immediately and over the long term - should a full global exchange occur.
It is not. If your builds are being bottlenecked by io, they're probably almost instant.
Absolutely. The goal with Julia is to make it easy to use whatever hardware is best suited for the problem you are solving. This work, IMO, reduces the barrier to entry for writing code for GPUs and gives Julia users more options.
Ask HN: Why is hiring still so difficult?
There are countless of recruiting startups. Why is hiring still not "solved"? I hear recruiters complaining about this daily.
A json object has the type signature:

type Object = HashMap Text Value

which is A JSON "object" (key/value map).

The keys of the hashmap are Text and the leaves are "Value" which contain more JSON

here are different well-formed json values that both resolve to the same type, A.Object (either you get a parse error String for not-well-formed json, or an A.Object)

>>> A.eitherDecode "{ \"name\": \"Joe\", \"age\": 12 }" :: Either String A.Object

Right (fromList [("age",Number 12.0),("name",String "Joe")])

>>> A.eitherDecode "{ \"name\": \"Joe\", \"age\": {\"foo\": \"12\"} }" :: Either String A.Object

Right (fromList [("age",Object (fromList [("foo",String "12")])),("name",String "Joe")])

Then you can access values in the HashMap by key just like a hashmap in any other language.

Or, as noted by chowells, you can use lens-aeson which can be thought of as a DSL to perform queries in a dynamic fashion:

retrieve value of "foo" in "age"

>>> s = "{ \"name\": \"Joe\", \"age\": {\"foo\": \"12\"} }" :: String
>>> s ^? key "age" . key "foo"
Just (String "12")
Is it beneficial for the rest of US to save SF? Won't its demise actually improve the lives in the rest of the country/world as businesses spread out after workers or allow remote work?
For those curious, this is what that script is doing:

var i, elements = document.querySelectorAll('body *');
for (i = 0; i < elements.length; i++) {
if (getComputedStyle(elements[i]).position === 'fixed') {
elements[i].parentNode.removeChild(elements[i]);
}
}
But the fact of our industry is there is no way around these interviews.

Actually, there is. And it's quite simple, really:

"Thanks very much for your time, but I've gone through many, many rounds of questions like these, and have come to the conclusion that, while interesting and to some extent topically relevant, ultimately the ability to regurgitate answers to them on the spot has extremely low relevance to the work that one actually does as an engineer. And BTW I noticed your statement of the problem was not only very muddled, but English-wise, barely readable. And actually, as presented, the problem isn't actually tractable, math-wise. And like, you brought me in here to solve the knapsack problem on a quadrillion integers in 2K of space or whatever and yet, you couldn't even think to stock the whiteboard with fresh markers? Or clean it first, for heaven's sake? Really, what's up with that? And gee, isn't the vibe in here, like, really really starting to suck now, given that at one of the interviewers is starting to fumble with his phone already, indicating that he would clearly very greatly prefer to be somewhere else, doing just about anything else - like you know, actually productive - than what you've forced the poor sap to do for you right now?

"But we don't need to dwell on that. The point is that we have different perspectives on these things, which is of course perfectly fine. So if you don't mind, howabout we part ways and do something else with the rest of our respective afternoons?"

You have to do them.

Beyond tending to basic needs (shelter, clothing, food, etc) you don't "have to" do anything.

You may not get to work for those companies (and it is a great many, unfortunately) that have bought into the whiteboarding cult. And that may seem to kind of suck. But it's not like you "have to" work for those companies (as much as they would dearly, dearly like for you to implicitly and unquestioningly believe exactly that).
Internationally “government” refers to either the monarchy in a strong authoritarian regime, or the ruling coalition in parliament. The US model of separate but equal powers in a federation is somewhat unique.. although it is more of clusters on a spectrum and many countries copied he US model (or had it forced upon them).
As someone who grew up incredibly impoverished it's not bizarre to me. Sounds a bit high, but not terribly so. Rent and food together frequently were more than 100% of my mom's income. We relied heavily on food charity.
As a software person, I'm most impressed by CPU hardware -- all the crazy speculative out-of-order dynamic translation stuff that goes on at GHz timescales. It's astonishing that it works at all, let alone that it's almost 100% reliable.
Please don't break the HN guidelines: https://news.ycombinator.com/newsguidelines.html.

Your comment is problematic because you crossed into incivility. Pugilistic comments on divisive topics produce conflagrations. Those are all the same on the internet and therefore they are all boring and therefore we don't want them here. Since this thread has managed to remain relatively civil despite people being on opposing sides of the issue, a comment like this does more relative damage even than it usually would. That's probably the reason for the downvotes.

The guidelines also ask people not to go on about downvoting, so please don't do that either.
This article really gets it. It's all about transportation. It will never be possible for everyone who wants to be in San Francisco to live downtown, or even adjacent to downtown. Just like the article said, Manhattan is much denser but no more affordable.

But we make it so hard for people to get around. You can take a bus for 45m or take the BART which is overcrowded, unreliable, and has trains that can be as much as 20m apart.

Plus using transit around here requires way too much knowledge. There are so many different major transit agencies that don't make any effort to connect (Caltrain, Muni bus, Muni metro, BART, etc) and they all have different pricing schemes (flat rate, monthly passes, pay by distance, etc).

Living 10 miles from your job shouldn't mean you live an hour from your job. NYC gets that. SF Bay Area does not.
Scale of deployment is not technology leadership
"Someone else should make the sacrifice."

There's the problem right there.

From the article:

"Brisbane ... is currently blocking a large housing development for local reasons."

"And we also probably don’t want high rise condos on the edge of Golden Gate Park. San Francisco isn’t New York."

I've voted in favor of every housing initiative available to me, but you can't make your favorite part of the Bay Area sacred and expect everyone else to give up theirs.
I can't agree with this enough. Taking it one step further: I actively _avoid_ grocery stories that don't have ample self-checkout. If I have to deal with a human clerk once, I'm way less likely to return to that store.
From Vespas to Autonomous Vehicles
> $2.25 in NYC

$2.75 now! Depends where you are going on BART on how the fares match up to NYC. I'm often traveling from West Oakland to Downtown Berkeley, which is 2 bucks, and hence cheaper than NYC.
And more:

Suppose your types are Strings. And your plus operator can add "one" and "two", but fails adding roman numeral "I" and "II", my guess is you'll another type/ADT into your static typing called RomanNumeral so that your type proofer will check you at compile.

Meanwhile I will do exactly nothing because my product manager says he doesn't care if the user types in roman numerals.

Which means I will be building my next business feature while you're still doing type math.
You don't need anything that isn't already publicly available: see every security bug reported on the mailing list, and reliable hop tracing via coordinated parties recording traffic (Tor's version of Bitcoin's 51% problem).

That said, it's still the most reliable limited-anonymity provider I know of.
This has to do with a series of 4chan posts under "anon works IT"

https://imgur.com/gallery/B9wqU
Yes, just like Intel. We engineered our way into this, we'll engineer our way out, and then smooth it all over with more engineering. Entropy wins again.
I agree with everything but your conclusion, but I have an aversion to mocks that isn’t shared by everyone.

If the code changed due to a big behavioral shift then your integration and E2E tests aren’t safe. It’s more than twice the work at the higher layers because people get trapped by the Sunk Cost Fallacy. They try and try to save the old tests before they finally rewrite.

That is the observation that convinced me to stick to unit tests. People aren’t emotionally attached to individual unit tests.
WTF?!? What kind of co-founder is this where you can't sit down and have a honest talk? You two should be able to tell each other this kind of things directly in the eye, without thinking about it twice. Just imagine when you start having real problems o.O
You mention democracy and the "tyranny of the majority", but that's exactly what a democracy is, a doubly edged sword. At this point Spain's citizens have the right to determine Catalonia's fate, just as the people living there.
Not saying that democracy is an end goal and should be protected against all odds, but if you don't like how democracy works, you're free to propose an alternative.

> "pay the price for living in a civilized society" or you end up in an armed battle

But that's how it has always been. In general the state has sovereignty over its territory, which is in general considered to be indivisible. And this is a civilized society, because in such a case people would hang for treason only a couple of hundred years ago.

If I can proclaim my own bedroom to be independent, making up my own flag, then what's the point of having countries with borders and a Constitution?

> "oh okay - I'll stop using nationally-funded roads and you can stop taking my money to start wars elsewhere."

Well, that would be nice, except that you're also occupying a land that belongs to all citizens of that country, being your "property" only because the country's constitution allows it. If you're no longer willing to uphold that constitution, if you want to be free from the state's rule and laws, then it's no longer your land, unless you're able to defend it.

So unless you have an army at your disposal, your only choice is either to bend over, or to move to another country, as people are in general free to seek their happiness elsewhere — unless you live in an isolated country that has closed its borders completely, like what happened in the Soviet block, in which case you're fucked, so I'm personally happy with the status quo.
Are you referring to acts before or after the referendum? If the former, what were they?
I have relatives who live in Catalonia, though they aren't ethnic Catalans. One of them works as an education official in the region, so her view may be skewed, but she also has a view of the situation that others don't necessarily see. She believes there's a systematic attempt by the government in Madrid to minimize Catalan culture and assimilate its people into a single Spanish culture. The Catalan education system has repeatedly had funding and other support denied for Catalan language, history and culture programs.

It may all tie back to money, but painting it as "rich Catalonia wants to not pay to support the rest of Spain" is a 1-sided view of the subject. It's also possible to see it as "powerful Madrid trying to protect its golden goose by actively trying to stamp out Catalan culture." Both have some merit.

What's interesting is that my relatives believed there was very little support for independence before the response from Madrid. But now with their heavy-handed tactics (they witnessed the violence first-hand...I saw their cell phone videos), more people support the idea. Before the violence, as a non-Catalan Spaniard and an American she married who both chose to live in Barcelona for work, they both thought independence was a stupid idea. But now, as she put it, "I now feel that the government in Catalonia is incompetent and the government in Madrid is evil. If I have to choose between the two, I choose incompetence."
It was coming out of a fascist dictatorship at the height of the Cold War. I’d say the context was pretty far removed from the modern EU, even if it was in living memory.
Interestingly enough, when SF and Oakland were both attempting to annex every neighboring town in proximity, SF had designs on consolidating all the Bay Area municipalities under a system similar to NYC's boroughs.
Paris achieves high densities with almost entirely low-rse structres.
Scala's local type inference might suit you.
> So, it doesn't matter if your code is correct or not?

I'm going to need you to walk me so I can see how that part you quoted implies that the code being correct doesn't matter. I honestly don't see the correlation.

> And that leaves more time to design things right and test the stuff that actually matters.

I'm not gonna get into a religious flamewar; if you prefer static typing, all the power to you and I'm not interested in convincing you otherwise.

However, I fail to see how having to write "int", "str", etc before or after a variable name impacts the design process in any way.

As for testing:

- A test in Go:

func TestAvg(t *testing.T) {
for _, tt := range []struct {
Nos []int
Result int
}{
{Nos: []int{2, 4}, Result: 3},
{Nos: []int{1, 2, 5}, Result: 2},
{Nos: []int{1}, Result: 1},
{Nos: []int{}, Result: 0},
{Nos: []int{2, -2}, Result: 0},
} {
if avg := Average(tt.Nos...); avg != tt.Result {
t.Fatalf("expected average of %v to be %d, got %d\n", tt.Nos, tt.Result, avg)
}
}
}

- The exact same test in python:

def test_average():
for param in [
{'nos': (2, 4), 'res': 3},
{'nos': (1, 2, 5), 'res': 2},
{'nos': (1,), 'res': 1},
{'nos': (), 'res': 0},
{'nos': (2, -2), 'res': 0},
]:
assert average(*param['nos']) == param['res']

In a real situation, tests like this one need to be written and the fact that in Go we're specifying types doesn't change a thing, so I'm not convinced that not writing the types means that in a dynamic language I have to test stuff that doesn't matter. For that matter, I'm having a hard time imagining a scenario where the type wouldn't be tested anyway so back to my "... and?"

But, again, I'm also not trying to convince you otherwise. Different approaches for different folks.
This breaks the HN guidelines. Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize.

https://news.ycombinator.com/newsguidelines.html
Agreed. Distributing actual EA assets and using EA-owned branding (and artwork?) seems to be the problem.

Simply running alternate servers, distributing patches to the game, and using their launcher without copyrighted artwork or branding (maybe a "not endorsed by or associated with EA" sort of disclaimer) would seem to be fine.

It's reminiscent of the EverQuest server emulation community. They distribute patches and run open-source server infrastructure, but forbid distributing copies of the EQ game itself, pointing people to legitimate acquisition methods.
We've seen police/military fire into people in many places during protests recently. The Ukranian Maidan protests, in Egypt, Turkey and of course Syria. Why would Spain be immune to events like these while the people are easily as riled up as they were in Ukraine? Spain happens to have a history of civil war too.

All it takes is for armed police/military to meet large angry crowds that won't back down. If Spain sends the military to arrest the Catalonian government, we may end up with both of the ingredients. Perhaps a new Syria is unlikely, but is something on the scale of Euromaidan really that hard to imagine?
> Compared with NY Metro

You end up walking a lot in NYC, too, it isn't some panacea. I had a ~25 minute walk from the N train to my apartment in Queens when I lived in New York.
Honestly I go to hacker news for the comments. Hearing what people with similar interests to me think about a variety of topics is the value point for me. While having a somewhat curated list of things is nice, I like that it's maybe 5% things I'm interested in.
They have 14,000 miles of high-speed rail with an additional 10,000 coming in 10 years. They move 1 billion people a year.

They are also developing production low-speed maglev trains.
You seem to have again missed the point that whataboutism isn't a valid counter argument.

You've also proven you don't know what the definition of whataboutism is. The fact that you don't happen to know the definition doesn't mean it's a "buzzword".

It's a logical fallacy particularly associated with Soviet and Russian propaganda (which is the main point of this discussion).

Please look up the real definition before trying to incorrectly define it and confess to being guilty of it, because you don't even understand what you're confessing to.

The definition you gave was wrong, even though you are guilty of doing it yourself, and what you're doing is logically fallacious and intellectually dishonest.
I think partially this has to do with the lack of overtime pay in a lot of companies. There is no direct cost in wasting people's times. When I started my career in Germany we had a strict 35 hour week. There were almost no large meetings and we spent most of the work week actually working. Despite this the company was very successful and efficient.
Looks like its almost completely worthless for consumers. Real world performance is the same as NVMe drives yet at much higher $/GB
Even facebook acknowledges that React should only be used when complex interactivity is more important than initial load-times: https://youtu.be/TMun9g5o7OA?t=47m28s
Can't the nodes be compromised? I've eschewed using it as USG is purported to have taken over entrance and exit nodes using a combination of threats and bribery.
Maker of In-Wheel Electric Car Motors Goes to China
Errata: sorry I went back and checked and I believe they also required some proof of incorporation. My apologies for the incorrect cynicism. :(
500k sustained random IOPS from a single device is remarkable. To put that in perspective, 500k PIOPS in AWS would cost you $32,500/month (https://aws.amazon.com/ebs/pricing/).

This drive looks like it would be amazing for database workloads, for example.
How much traffic do I get from North Korea anyway?
I wish there was more of this, for other kinds of data. Or, better, a very easy way to fiddle with views for other kinds of structured, predictable data.
Not in my experience. Convincing people to delete tests that only assert one invariant when the business changes its mind is easy. It’s the ones that have residual value after removing one invariant that trap people into spinning their wheels.
Not that I have an immediate use-case.
Let's not be polarized here. Just because I think this narrative is absurd doesn't prove by deduction that I'm a supporter and voter of the current administration.
Since I very frequently interview interns and was one myself (~15 years ago) I certainly know what the intern market looks like. Whereas it sounds like you're a college student, as you said "we do internships," not "we did internships."

Interns are not expected nor required to have any experience. You're being entirely unreasonable if you're looking for experienced interns.

If you're friends were so experienced already that they could land an entry level job by 18 then why did they go to college at all?

BTW, in the context of a job posting, "experience," means "professional experience," not "I threw together some shitty code one weekend in high school."
China started selling U.S. bonds and plans to create a Yuan-oil exchange market and is building a massive army to defend it. I wish good things are coming out, but U.S. leadership won't just stand watching China taking over the power over world leadership (conflicts are already happening in North Korea).
While I respect all the amazing hard working scientists, and the developments, I fear that the biggest problem now is the currency war that can lead to WWIII.
Second this. Advice: if you don't have the ability to tell your co-founder exactly what you just wrote here then you're in for a very stressful time ahead.
Require that a person besides the author has to review code changes before they are allowed into a code base. Do it under the guise of 'transparency' or 'being on the same page'. Don't let him see your post.
so you want to ban those posts so you can have independence from stupid peoples news thus affording you 20% more time for tech articles on HN?
The last time I did anything with Websockets was about 5 years ago and they were relatively well supported by browsers even then. I used socket.io because it automatically falls back to long polling when native Websockets are not supported. I am guessing if you needed 100% support this may still be a good option.

[EDIT] I see another commenter in this thread mentions phoenix.js beating socket.io. Thanks, I will have to look into this!
Funny, almost everything in the market says the "killer graphics server" feature is extremely high performance, flicker-free video from frame 0 and HiDPI support. X cannot do either of those things, period. It just wasn't designed for it.

Extremely vocal minority users like you and the others on Hacker News are simply not in anyone's support matrix. Luckily, all of you folks crying for the lack of this feature are all tech experts - if you want it, go code it up yourself.

Meanwhile, anyone and everyone else that cares will just switch to VNC and move on as if nothing happened.