skysight-inc/HackerNews huggingface dataset:
> In principle if you want to return multiple values from a method, you can return them in an array

This is not viable. If I want to return e.g. an (error) code and string, the only Array you can put that in is an array of the root type (Object), losing all type-safety.

In C# and Scala multiple return values use a Tuple class, with some syntactic sugar to easy create and read them. It will eventually be in Java [1], it just takes decades.

It also has very little to do with the optimizer, there's not reason why the JVM couldn't support & optimize it.

[1] http://openjdk.java.net/jeps/305
If you're referring to US federal government debt, it's basically got a zero risk of default. You'll always get your principal and interest back in full. Why? The debt is denominated in USD and who can print any amount of USD at will? The Fed.

Edit: I think I get your larger point though, runaway deficit spending of the kind we've had in recent years does destabilize the riskiness of holding US assets / currency.
Some people would argue that using a text-only editor is not a downside at all
Always blows my mind that US citizens can only contribute a meager $5,500/yr to a pension for tax relief purposes.

In the UK you can contribute 100% of your gross annual income every year, and get full tax relief up to the lifetime contribution limit of £1M ($1.38M).

We also have tax free savings & investment wrappers, called ISAs, in which you can deposit $28,000/yr, and within which all growth is free of any kind of tax.
This is a cool trick. On Linux, the ldd command also tells you what libraries a program wants to link to. You can also play around with LD_LIBRARY_PATH to manipulate what ldd tells you.
I don't agree with the theory that spending the money faster is the same thing as having more money, which is why I discount the velocity of money theory of inflation.
Want to be rich? Are you rich already?

No? Then too bad.

Because "equality of opportunity" in the US is only available to those who are more equal than others.
Deep Work by Cal Newport is next up for me!
Not to suggest that they're perfect, but I wouldn't say they're a rubber stamp. Only 1/5 patent apps is allowed in some art units: https://blog.juristat.com/2017/10/4/the-art-units-with-the-h...
This is really off-base, misses the point, and is another form of the "you don't need containers" criticism which has become very tired at this point.

This is mostly a critique of microservice architectures, not containers. If that were the main point I'd have little disagreement.

> Someone in security is weeping for the unpatched CVEs...

> ...the heavyweight app containers shipping a full operating system aren't being maintained at all...

This is just wrong, it's the opposite of that. Never have I had more up-to-date operating systems, programming languages, and frameworks than when I started using containers. It's just so damn easy, especially if you use `FROM python:3` instead of `FROM python:3.6.2`. It auto-updates every time you deploy.

> There is no substitute for experimentation in your real production environment; containers are orthogonal to that...

They're not orthogonal to it, they're a really useful way to get very, very close to production. The maxim isn't untrue, but again, I sleep better than I ever have in my life because I know that these problems are now rare for me. The difference between my local, staging, and production is tiny. I haven't encountered such an issue in over a year.

All of the problems in the article are true no matter what tools you use to build and deploy. The author focuses a lot on developers' desire to go off in a corner and build their own little world. That's still a risk if you're using Ansible or Chef.

Bottom line: writing a Dockerfile is the most powerful way I've ever found to define your OS's configuration in code. Stop discouraging people from trying it just so you can make grand arguments about the types of problems every engineering team faces.
$ whatis ltrace
ltrace (1) - A library call tracer

That seems nice indeed. It seems to make things a lot slower, but I guess that's to be expected from tracing at this level!
it's sad that someone with real experience and open prejudices/honest thoughts shared about Missouri gets down voted. The Guardian is a UK 'champagne socialist' news organization that devotes a lot of column inches/pixels to appraisals of other societies and is highly opinionated. I read it often, not necessarily a criticism.
I'd like to explore north st louis with Ed Pilkington and see his reaction to the residents of that areas feelings towards him..
Vi Hart and Nicki Case's Parable of the Polygons provides a model that suggests why segregation occurs even when people are willing to accept some diversity. http://ncase.me/polygons/
In my experience the "heads down; just let me code and go home" mentality is more frequently one part of a general ambivalence or even hostility about things that aren't engineering (or, worse, specifically CS).
Is there a runtime lib? That includes e.g. Scala collections for the browser for example? How many kilobytes?
I don't actually know the answer, but what I do know is that no one I know ever talks about Angular, and I haven't run into it in years. I think it's dead...
FWIW no elements except the menu seems clicable on that bootstrapping page (FF mobile).
Show HN: Go HTTP proxy library
You can’t make the law any more strict than it already is without sacrificing everybody’s basic rights.
>His vision where everyone's opinion and speech has equal weight doesn't come close to the reality of the situation in America today, where those with financial wealth can effectively pay to amplify viewpoints they favor.

That's absolutely correct, but let's take it to its logical conclusion: entire American sub-societies with financial wealth can effectively pay to amplify viewpoints they favor, as they can better afford the shortfall that comes when their cultural values and reality don't mesh- throwing out competent people for inconvenient political viewpoints or weird kinks is not something a society that actually had to compete could afford to do (remember, the Civil Rights Acts and Sexual Revolution happened at a time when the whole country had more jobs than people to fill them).

And every society with a surplus does the same thing- for example, China can afford to (and routinely does) kill any political dissident because of its manpower surplus.

This is why everyone in America (if not the entire world) knows the opinions and values of one or two particular anti-freedom American subcultures, but not as much what Americans (as a whole, outside of one's subsociety) value. I hope the other subcultures will be smart enough to present a common pro-freedom message, but I fear they will not.
Q: How do you know you're not paying market rate (or enough)?

A: Good Engineers are not finding you through their network

--------------

Other than that, you need to find good engineers -before they are proven - believe in them and ask for their commitment for let's say 3 years.
Cheap Cellular Phone Plans
Definitely agree there, although 15+ years is enough to time for us to get through the cycle of highs and lows.

Also market timing is hard and subject to many factors (such as those you pointed out) that one doesn't have knowledge and awareness of. It's better to just buy, and hold. When the market goes down, buy some more, but don't expect to access that money for many years.
Prior to your edit you made the claim that “violent speech doesn’t lead to violence”, which is so self-evidently false I was a bit surprised.

The claim that speech is always harmless is also self-evidently false. Volume of speech certainly matters. Doxxing certainly has a negative effect on the targets, despite the doxer not participating in any harassment or illegal action.

Given the history of racial violence in the United States, a black person certainly can’t assume that threats of lynching are idle ones that have no impact on their lives so long as the lynching never takes place. To claim otherwise is naive at best and betrays the extreme privilege of someone who has never been the target of violent, harassing, or reputation-destroying speech. That’s not a sin mind you - simply a lack of experience and perspective. I doubt you’d be so sanguine about it if your neighbors posted signs around your house with big bright arrows that said “child rapist lives here!”. That’s not an explicit call to violence but the courts would probably take your side (and rightly so).

For as long as the concept of “Free Speech” has existed there have been limits placed on it. Following someone around, pointing at them, and screaming “Rapist! Murder! Thief!” is illegal, will continue to be illegal, and should be illegal. The canonical example is shouting “Fire” in a crowded theater. Doing so has nothing to do with “organizing a criminal act” but is still illegal and you can and will be convicted of manslaughter if someone gets trampled to death. Are you arguing that people shouldn’t have legal culpability in such circumstances?
I agree. When the feature launched last year, I asked Netflix about this specifically and was told it was about whatever studio agreements they could get. And even then, some Netflix Original content (Marvel), isn’t always available to download. From what I was told, the goal was certainly to get all future content as downloadable, but the politics behind that aren’t going to work with every studio.

Amazon has a more-limited library, but it was able to get download support (at least on mobile), early on as part of its contracts.

The problem with regions is an even bigger can of worms. Although Netflix is doing a better job trying to solidify its library across regions, it has to make separate licensing deals in every single markets in which it operartes. The licensing side of entertainment, especially internationally, hasn’t modernized the way you would think it has, and the companies or groups who own a license in one place often don’t own it in another. So sales teams have to negotiate every single title, often separately, in every single region. One of the reasons Netflix has prioritized its own original content is that it can guarantee it is licensed in all of its markets. But even then, in the early Netflix international days, there were a few instances where flagship Netflix original content wasn’t available in some markets because that content was actually co-financed by studios that sold the streaming/VOD/rental rights to other traditional networks or local streaming services. That was quickly resolved, but it just showcases how hard international licensing can be for content playback, let alone licensing for download. This is also one of the main reasons Netflix had to aggressively target VPN users who would access the larger content catalogs in other markets. In order to get more robust licensing (as well as to actually enter certain international markets), Netflix had to prove it was actively enforcing geo limits.

It sucks and I’m not defending it, just providing some of the business context.

Amazon is so limited in its international expansion with Prime Video that it hasn’t had to address most of these issues. As Prime inevitably expands, it will also face these same challenges. (Hulu, too. Though Hulu has made some international attempts, largely through partnerships with existing local services. Hulu’s dilemma is exacerbated by the fact that it is almost wholly owned by the major American broadcast networks, who already have their own robust international licensing and sales divisions that aren’t keen on being disrupted.)
Very sad indeed. Can you imagine praying to God that your newborn daughter won't look like you?

I don't think I could do what he's doing: staying in a place where he so frequently encounters threats of violence. But I'm glad he's doing it.
I am stunned that absolutely anyone has ever thought that it was otherwise
The "free market" isn't some sort of benevolent cognitive entity.

Your "free market" can collapse into batshit loopy eugenics as it can a wonderful academic discourse.

Cultures require grooming like any garden.
I would hope calling cruel bigots in Missouri or anywhere else "some of the worst of humanity" is not divisive.

> In 2014, a group of 15 white schoolgirls blacked up their faces for a game of football. A few months previously, as riots blazed in Ferguson after the police shooting of Michael Brown, a group of Sullivan residents, Wehmeyer’s neighbour among them, staged a KKK march through town.

In as much as his comment makes an observation from his own experience that is congruent with the thrust of the article: the American South continues to be flush with cruel, unabashed racists, I'm not sure why it is being censored. Does it cross the line to say in plain language what the article says circuitously?
I suspect this is the real reason why it's limited to 720p. It's on the web where it's not possible to identify that 1080p on a non-hw accelerated rendering device on a fast network won't suffer from playing the higher quality content. Browsers need to provide more feature detection APIs so that Netflix can enable higher quality when it knows it won't impact the end users system. Must be possible since YouTube knows when to upgrade?
If you bought stocks right at the top in 1929 and hodled them until 1980.. you would have lost money.
> In fact, "above" and "below" you are artificial terms. We're all people. Yet some people are more special than others.

So would you be ok, for example, with your employer showing up at your house and telling you how you should be running your side project?

It's their business, sometimes they are going to make mistakes, and by all means you should point out where you see room for improvement. But at the end of the day it's their reputation at stake so they need to be the ones making the decisions. And unless it's clear that they are defrauding investors or something then it's fine if those decisions don't work out, there is no ethical or legal issue there.
Right, but Dropbox had plenty to lose and nothing to gain from their mistake. If this was intentional, there are 170 million reasons why.
Binaries can also use dlopen to open libraries that aren't listed by ldd.
Pianist Maria João Pires panics as she realises she prepared wrong piece (2013)
From one of the video comments: "They (Maria João, conductor, and orchestra) had recorded 6 months earlier three Mozart concerti. This lunch concert was the rehearsal for the evening performance. Since they had rehearsed to prepare the recording six months earlier, this lunch concert was the only rehearsal. She came prepared to play K. 467 and was caught off guard by K. 466 (although it has been in her repertory for years)."
Good point, dlopen is fully run-time, and the strace approach will catch those too, so it's more comprehensive.
I would like it if my coworkers and managers read and took to heart the message behind

• Six Degrees: Our Future on a Hotter Planet
https://en.wikipedia.org/wiki/Six_Degrees:_Our_Future_on_a_Hotter_Planet

• Drawdown: The most comprehensive plan ever proposed to reverse global warming
http://www.drawdown.org/the-book

but sadly most are too focused on their stock options.
Interesting find! I'm rocking my daughter to sleep so don't have a chance to go any deeper, but I tried "site:docs.angularjs.org input radio button" and still couldn't get a result from their site. If I search "docs.angularjs.org" I bring up that page in serps, but I still can't get any deep results. I'll take a look on my laptop and see if I can shed any light on this for you.
In the US, individual A would owe taxes on a $90,000 capital gain. Certainly, private sales aren't subject to any mandatory, automatic reporting; but the tax is still due. This could actually be useful for money laundering -- this $90k gain is clean money, if reported correctly; so maybe buy the art with a mix of dirty and clean money, then claim only the clean money as cost basis.
Agree with you there.
"Free speech" is not about amplification, but about lack of forced attenuation. That is, publicly voicing an opinion should not be a crime.

It is pretty easy to connect to the freedom of religion. The original settlements in America were of various Christian sects persecuted in England and Europe. Since they were various, they had to produce a code of peaceful coexistence. It was set in stone in the US Constitution and the 1st amendment to it: no state-enforced religion and free speech.

As of late, this setup is deteriorating, both in Europe (where it never was a sacred part), and in the US. That same (quasi-)religion that gave us "political correctness" is apparently taking over the variety of other beliefs, obviating the need of a peace pact that a free speech provision is.

Fortunately, it's not (yet) strong enough to actually repeal it, but enough to stymie it here and there, for the sake of "social peace" or "security". The latter case is something that one of the founding fathers expressly warned about: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." But people seem to deeply discount any future problems, compared to an immediate gain (in power) at hand.
Well it does have some priors baked into it by the (convolutional) architecture of the network. See the “deep image prior” project for a feel for just how strong this convolutional prior is.
I have to admit, there was a hint of such subtext :)
Counterpoint, Heinlein’s Razor.

"Never attribute to malice that which can be adequately explained by stupidity, but don't rule out malice.”
Arch Anywhere Is Dead – Long Live Anarchy
>does it really matter if it's 720p or 1080p in the end

For what its worth, a lot of 3rd party content is actually restricted to 480p (at least in Linux/Chrome). That, is definitely noticeable.
Well, that list of languages got me interested. It'll be interesting to see where you're going with this. I think I'll check out the source a bit. I've been itching to hack on another GC for a while now.

Thanks!
A useful tech it is. The problem is 3rd party code from adnets is changing all the time, and they will never tell you about that because they hide all kind of anti-clickfraud trick there. From intentionally broken JS syntax, to intentionally broken Unicode, to actual 0day exploits.
It's in the papers. About 20% slower.

The main use case seems to be speed up dynamic languages (ruby, python, javascript, R), and Sulong is used to handle the C extensions, so that the optimizations can be performed across the language boundaries. Unboxing and inlining mostly in the hot paths. Makes sense.
Plus more memory safety than C/C++/Fortran.
You can contribute more if you have access to a 401k. The current limit there is $18,500.

The argument against unlimited tax free contributions is that above a certain point it becomes a tax break only for the rich.
unmaintained unsupervised support is clearly not an issue, which operating system could they chose with that kind of guarantee?
> Inflation means, afaik, only that the same amount of money has lesser purchasing power than it previously had.

That's a tautological definition.

Money's value is determined by supply and demand, just like everything else. If there's more money representing the same amount of goods, the money gets devalued and you have inflation.

To understand inflation one must understand how money is created and destroyed, i.e. what determines the supply of money. Spending money faster does not create more supply, and McDonald's raising their prices is not inflationary because they did not create more money.

Money is created by printing it, or by the creation of debt. Money is destroyed by burning it or by paying down debt.
Directly populate HTML with fake data using the FakeJSON mock library feature
Note that the original post has been edited (see sibling comment to yours).
I've been finding Google Calendar incredibly buggy as of late as well as other services. It's like they don't care anymore.
You're absolutely right.

One actual theory is that the culprit was lead. https://en.wikipedia.org/wiki/Lead-crime_hypothesis
Guide to undergrad Machine Learning/AI curriculum at Princeton [pdf]
we used to do an ajax load of a resource and doing simply hash of it "by hand," sending "alarm, lib A has suddenly changed" by ajax to HQ
I did a couple of blog posts about UDash recently, one of which was to view this very site using functional programming library Fetch (similar to Facebook's HAXL)

http://justinhj.github.io/2017/10/11/hacker-news-api-3.html

The other was a simple roman numeral converter

http://justinhj.github.io/2017/08/27/roman-numeral-tool-with...

For me the advantage of UDash is for people that want a type safe Scala "all the way down" web application. One of the downsides is that is difficult to avoid runtime errors, at least to the extent that Elm does (by design).

Another drawback is not being able to simple share a template with designers; they would have to be proficient in Scala at least to the extent they can fix compile errors in the page code.

Some plus sides are that it plays well with Twitter Bootstrap and type safe CSS.
> Does it make sense for them to lease unutilized car time from owners similar to what people do with idle CPUs for crypto mining?

I wouldn't want to find a used condom on the floor of my car when it picks me up, or vomit after a night of transporting party goers.
If you go the continuous delivery route, I think you will need a way to canary a pending release. I also think you need really good production monitoring solution that can trigger a rollback to the previous release automatically (assuming you have a way to mark a release as "appropriate to automatically rollback").

The amount of tests you need to automatically release "bulletproof" code is staggering. In one successful example, I noticed there were about 10k tests that took about 30 minutes to run (before the code could be checked in). I would think you need to use TDD to feel confident that your tests are good enough.

The other aspect of CI/CD that bugs me is the dramatic increase in complexity. I thought KISS and Occam's Razor would kill the CI/CD efforts. Moving to weekly release seems a lot simpler and I doubt most teams need to release changes much faster than that. With CI/CD, if you have several components and lots of shared code then managing which component to update given dozens of changes affecting different components is a nightmare. Unfortunately, once you start using CI/CD, there is no going back (often for political reasons).
"Especially in the crypto space, iteration happens fast and bugs like this can come up."

You think it is ok in the crypto space to itroduce bugs like this?
An honest take on the idea of a personal active trading should always mention the opportunity cost. Doing the necessary research is a job. One that takes significant time to learn, and one that will continue to take significant time once you've mastered it.

So, like any job, you better either like it better then the other things you'd be doing instead, or you'd better be confident you can make it pay more than the other things you'd be doing instead.
They did that with terrorism, i.e. the Patriot Act. But that usually only applies to terrorism that isn't based on white supremacy, since white supremacists are useful to the state. See the recent collusion of police in CA with neo-nazis.
He was referring to the original. Hence the comment on "some of the worst of humanity," a bit of wording I used in the original post, not the edited one.
Ok so what awards ceremony selection process isn’t political?

Any guess on who is in consideration of the 2018 prize? I imagine those under consideration are already at top tier institutions.

Is no noteworthy mathematics being done at less prestigious institutions? (Loaded question I know) but it would be cool to see some undiscovered mathematician doing ground breaking stuff at a lesser known university.