skysight-inc/HackerNews huggingface dataset:
Sashimi and gyoza cost about the same amount but I had both for lunch yesterday.
I don't see this happening. Basic income will be a terribly spartan existence (I estimate not more than $650/person/month with pretty generous guessestimating).

Anyone who works for the government (including teaching & military) with retirement benefits is not going to subsist on just UBI once they stop working.
See? I told you that seven is a magic number.
What the Pluto probe has found
Test Pilot team member here.

I don't think that such an experiment is being considered right now, but we definitely take pitches! Our Discourse would be a great place to do give one: https://discourse.mozilla-community.org/c/test-pilot/develop...
Right.. Basic income essentially wants to take mone out of the pot currently reserved for the needy and disabled, and distribute it to able-bodied people who choose not to enter the work force.
There's a few subtle things here. Flow does support annotating types with comments, and can type check React's flowtypes, so you actually can get a fair bit without a compiler at all. In practice, no one does that, so you're still right, but it's worth nothing.

And it's worth noting that TypeScript having its own parser vs the rest of the world using Babel is a pain in the rear. See the time it took for ESLint (having to us TSLint in the meantime), now Prettier, having to use TypeScript with an ES6 target and piping the output in Babel to get proper plugin support, the difference between webpack's resolution mechanism and the one used by TypeScript in tools (an issue Flow also shares), and so on.

Some features like enums (omg, TS enums die die die) namespaces, decorators, and the old module system are also pretty awkward when blending with modern javascript. Makes you want to add lint rules to prevent them from being used.
I like this one https://dotnetfiddle.net/ (F# needs to be selected as a language)
I didn't really think about this that much before, it was more like "yeah, full colors, sure, why not?". Holding the proof copy in my hands I realized what a nice touch it was and that I haven't seen this in other programming books. Of course, the full colors come with a cost, but once I saw it, I couldn't go back to black/white :)
Yeah I'm to be honest just trying to awaken people to the priority being that we need to establish a self-sufficient colony somewhere other than Earth.
There's no such thing as freedom. Everything that exists is constrained somewhere by something. The economy is no different.
Getting permanently off fossil fuels is a one-off cost. Basic income is an ever increasing and perpetual cost.

I don't think they are comparable.
Banned from Club Penguin in 29.1 Seconds
The next logical evolution is writing a bot that responds with "yes" and some BOFH-style explanation in your stead when securitybot comes asking.

Which is my way of saying that those automatic queries will likely start to annoy folks very soon, and they'll find a way not to deal with them.
Any idea how it compares to oData?
Isn't that the whole relativity theory: that if you emit a photon while at celerity 1c, it looks like it goes away at 1c both from you and from a still reference? hence blue is still blue at 1c?
Huh, I guess that's changed. I remember looking at mbed at one point, and at that time it had no offline option (which basically made it a non-option for me).

I'll have to re-evaluate it the next time I need a little mcu board!
Project Skybridge was cancelled in 2015 (supposedly something to do with GF 20nm). Maybe they'll look at it again once current plans are proven to be executing well.
My subjective opinion is that a reader would learn more from a person that went to discover a new topic and wrote down the steps and knowledge acquired along the way. The reader is essentially taking the same steps, learning the same things. If however an expert would write about the same topic, she will have hard time to follow the same pattern.

I believe that J.K. Rowling used the same pattern for her Harry Potter books. She started writing them for children and then each book followed the same kids to their adulthood.
>the structure REST mandates.

There is no structure that REST mandates, if there were it would be a specification and not an architectural style. There is nothing that says that you can't query for that:

GET /comments?sort=votes&limit=3

The exact string doesn't matter, what matters is the client can discover this. How HTML does this is by generating query parameters based on form inputs.
The problem is far easier to state than implement.
Pick the target, freeze it, personalize it, and polarize it
Four traits that make startups stand out
Rotavirus vaccine estimated to have saved the NHS £12.5M a year
I had a home server that used an FX-8350, but it used a LOT of power... and the performance wasn't that great, I mean for the price sure, but in less than the cpu lifetime, you've already paid more for the extra electricity than a higher end i7.
The Alternative Facts of Cable Companies
I was gonna say this.
This is Y Combinator giving people money, not a state actor. It is probably(or should be) unconstitutional for the US to provide basic income, though the state of California might be able to.
Well, yes and no. There are several factors. First of all, government can both help (by providing money/actual housing) and impede (e.g. by requiring ID checks when renting out). Help may include giving money (or pseudo-money, such as vouchers) to participate in the private market.

Second, many illegal immigrant are poor, or comparatively poor (e.g. housing in SF Bay Area is crazily expensive as you know, but in other parts of California is not super-cheap either usually) - and thus the government has a choice - either provide at least some assistance, or deal with tons of homeless people and all the problems that arise from that. California has pretty mild climate, which can be good because people won't freeze to death, etc. in most places most of the time, but that also means they can actually live on the street in most places most of the time, and the rest of the population usually gets uncomfortable when this happens. So they ask the government to solve this somehow.
Maybe I should clarify. The left does need to stop calling their opponents names and ignoring hard truths. I love talking with people who can expose me to hard truths, even if I reflexively reject them. But the right also needs to open their perspective and understand how their goals affect people who are different from themselves. The GOP has seemingly lost all compassion for their fellow humans and that's what the left is rebelling against.
I love their web interface. If the VPN interface is similar, I'd be willing to try. I've been looking for a cheaper alternative to iVPN lately, since I don't use it nearly as often as I thought I would.
I think this article sums it up:

http://www.quickanddirtytips.com/education/grammar/begs-the-...

tldr: Begs the question is a formal term for when a conclusion is not supported by given arguments. Using it the way most people do is technically incorrect, but has become common enough that it is in the gray area where one can consider it the new correct usage.
XXE Vulnerability − how to send emails using Java's XML parser
It takes a while to consider what you're saying. But actually yes, that's a very distinct possibility.
Yeah, but Another Earth's main character is fascinated by astronomy and gets accepted to MIT
The parser features are fixed. The plugins enable/disable them, but they're already "there", just toggled. As far as I know at this point the parser is not pluggable. Babel is a playground for the official TC39 proposals so it might get stuff a little early, but that's about it.

Where the plugins shine is when compiling those (part of the standard) features to something interesting for production. Better inlining, adding debugging and instrumentation, compiling away certain things, optimizing your views for performance, etc.

All things that don't change the language whatsoever, but can improve your debugging or production experience.

That can be done in TS world (and is quite common) by targeting ES6 and piping the result in Babel though. It's just annoying.

You do have things like Prettier not being compatible with TS because different parsers, though.
I believe the basic idea is to use that able-bodied distribution as an excuse to heavily raise taxes, with the goal being that the needy and disabled would not receive less. The logic being that if everyone has a safety net, we don't need to reward people as much since they now have lower risk.

Personally I don't believe that would actually happen, but the idea does account for that angle.
> Once we solve the gravity problem

I have a feeling I'm going to regret asking, but here we go: what "gravity problem"?
I'd be surprised if there isn't other microbe-like life in our own solar system. And the path from microbial to "complex" life is just a matter of whether the environment provides enough energy to support it (nearby sun + photosynthesis in our case). This is because cellular communities will always have certain niche advantages (homeostatis etc).

Complex life developed on Earth because it is advantageous in a physics/evolutionary sense, not because the universe accidentally slipped on a banana. Complex life is only an "accident" in that the search algorithm took a while to find the maxima. Otherwise it's just a matter of running the search long enough, and for that all you need is a star.
The server chip business is essential to Intel's revenues these days. If they do well, it could really hurt Intel.
I own a few Omnitiks, and they are a total PITA to work with, so no, definitely not going with Mikrotik.
XAwards by Hotjar – best digital experience prize for early startups
Hacker newsletter is pretty good
Advisory: Java/Python FTP Injections Allow for Firewall Bypass
Ah, that's what I thought, I was so surprised when i thought you said they had a 256 bit fpu XD

I'm dumb.

It's interesting that power consumption increases with avx instructions. Do you happen to have a link?
The best way would be to use a space elevator pipe for this. But it's still not feasible.
Teens aren't millennial. They're gen z.
How is the experiment going. Are people using this yet?
This is a great hack! For those of us that don't have time but want a similar result, 1FactoryRadio sells a lot of OEM radios with bluetooth upgrades.

http://www.1factoryradio.com/1984-2002-ras-chrysler-jeep-dod...
If they were smart they could have avoided all that by taking advantage of the Haavara Agreement

https://en.wikipedia.org/wiki/Haavara_Agreement

But instead they had to miraculously survive eight gassings apiece and countless trips to the banks for decades afterwards to cash their survivor checks.
But webkit has 100% support for ES6 (according to kangex) while nobody else does...
There's nothing inherently wrong with not entering the workforce in the post-scarcity society we are rapidly approaching. People can instead choose to spend time raising their children, practicing a hobby, or trying to start their own business without fear of not being able to support themselves.

Most humans naturally don't want to sidle idle all their lives, some will, but the vast majority will find some productive use of their time - a basic income means they don't have to work 40 hours a week just to survive so they can do what they really want to do in their spare hours.
The article and discussion regarding "Common Multithreading Mistakes in C# – Unsafe Assumptions" (HN 2017/02, https://news.ycombinator.com/item?id=13704763) were good, and as others noted applies to a large degree to Java as well as C#.

This brought to mind a related problem in Java, which the original article here discusses very well -- "What Do You Do With InterruptedException?". I worked with Java for several years recently at a low-engineering-function place where properly addressing InterruptedException was really really low-priority compared to other problems. So ... only one other team member seemed ready to discuss properly addressing InterruptedException though it was relevant to a lot of our use cases ...

So I'm curious:

* have others worked in environments where InterruptedException
was actually both handled correctly, and proved useful?

* how often have others seen frameworks that demand that you,
as a framework user/extender, properly handle
InterruptedException/Thread.interrupted() because they, i.e.,
the framework, will notify your framework thread to stop
what it's doing via Thread.interrupt()?

* how well to library-code implementers (e.g., code in public
Maven artifacts) adhere to best practices in this area?

As a product developer, or as a framework user, I don't think I'd ever want to exclusively rely on Thread.interrupted()/InterruptException to deal with "canceling" work. Of the 10 to 60 libraries I might typically use that do network I/O, disk I/O, sleep, etc., I don't think I ever could rely on all libraries properly propagating the "interrupted" status back to my own code. And I'd likely not manage to get co-workers to honor and propagate that either. I'd always end up writing own separate "job-status-checker" in worker threads to get them to find out whether they should continue with their work or quit, since there's low-trust with InterruptedException.

So ... what's been your experience?

[edits: re-wording, grammar]
Context: Friendly banter

>> Bottom line - your server should always return HTTP status 200 and a separate API error response.

That is a very absolute statement from a pragmatic guy, asking people to concede viewpoints other than their own :)

I'd be interested in learning how status codes other than 200 cause problems at scale though?
Obviously if the same money is spread among more people, some people will receive less than they used to. If social security isn't enough to live on, replacing it with basic income could be worse. Eliminating bureaucratic overhead helps but it's not clear how much.
Why did you bring it up then?
I'm afraid I don't really know what to suggest on developing consensus systems. the only thing I can bring to mind right now is a rather dry but worthwhile book called Adversarial Legalism by Robert Kagan which I think has a lot to say about the psychology of disputation in the US and (indirectly) how our whole system of governance has become so politicized.
Indeed you need a client that is capable of mapping allowed methods and links to something useful, but it's not hard to imagine how one might go about this:

* For related resources (imagine a DB FK), instead of listing a uuid you point a link to the location of that resource. This means if the resource location changes the client doesn't need to be updated, it just uses whatever the new link is.

* Methods listed can drive available actions, e.g. imagine you have both mutable and immutable objects, a smart client could reason if PATCH is available then a UI element can be spawned allowing the user to modify this resource.

This is useful in a single client scenario whereby the API schema can be modified to a certain extent without the need to modify the client. It is also useful in a multi-client scenario (either distinct or versioned clients) for ensuring consistency between clients as you no longer need to ensure all clients are modified to use the new schema.

At least, this is how I understood it, I haven't tried it in practice.
>Ideally over time people will start assigning real world value to the coins and then the daily income you receive from Swift Demand will function exactly how Basic Income is supposed to work.

How is this going to happen?
Client libraries can be helpful and sometimes reduce a lot of plumbing/boilerplate that you would end up writing on your own (eg: authentication, paging).

Most environments -- Ruby, Python, PHP -- have minimal HTTP clients in standard libraries however they all have capable third-party libraries. Unirest as you mention, but also Requests for Python or Guzzle for PHP.

Product-specific clients generally build on these third-party libraries or go with the standard libraries instead. The product-specific clients generally offer more comprehensive error handling, for example if an API relies on arcane error codes that wouldn't immediately be obvious to an end-user.
This is a part of the Beaker p2p browser project [1]. This server lets you host websites over the Dat protocol with DNS shortnames, as well as HTTPS as a fallback for (let's say) "legacy" browsers.

Happy to answer questions.

1. https://beakerbrowser.com/

EDIT: direct link to the repo https://github.com/beakerbrowser/dathttpd. We also have Prometheus/Grafana integration which is pretty handy; it's currently the easiest way to watch the health of a swarm.
25 years ago people would have said the same thing about OS kernels, and yet here we are. Some of the underlying problems I see are that the game industry is still young and hasn't really standardized everything yet. Because of that, there is still ruthless competition between the hardware and GFX card vendors. Vulkan is a step in the right direction, but it will obviously take time for it to become adopted.

A lot of it is also driven by the popularity of consoles and mobile devices which are still largely locked-down walled gardens. They intentionally make it difficult to share code between platforms too. But, soon enough game developers will get sick of writing the same code over and over again, just as OS developers did in the 90s. Once this happens you'll start to see a lot more ad-hoc code sharing which will pave the way for more engines being made free software.
It's not a given, though. We used to think Mercury is tidal locked, but that turns out not to be the case. These planets, as I understand it, are in similar orbits, so they may not be locked either.
You can pick up Relentless on GOG :] https://www.gog.com/game/little_big_adventure
So what is the benefit of this over JSS or Radium or other thing out there for inline styles?
Google Wifi – mesh network for the home
This all depends on how many jobs are displaced due to automation, if 40% of our workforce ends up unemployed due to robots taking over their jobs it doesn't seem unreasonable to take 30% of the GDP to supply a BI program (which would give roughly 1/2 the median income to each person in the country if my math was right).
What the Small Rubik’s Cube Taught Me about Data Structures, Info Theory & Rand' [pdf]
Assuming people do assign value to these coins, how do you plan to handle inflation?
The production version of basic income is clearly government-based. YC is doing a private beta to decide whether to lobby governments to provide basic income.
> Hiring for Basic Income

So much irony in just four words. I love it.
Here's the HN story: https://news.ycombinator.com/item?id=13697480
My anecdotal observation is that in the last week or so, the extremist right-wing[0] trolls have returned to HN after being silent for a time, maybe since Trump's election and especially since the inauguration time.

First there were brand new accounts that posted trolling questions to otherwise intelligent discussions. Things like, 'how can we really predict the climate years in the future?' or 'maybe Putin really is an ally' - i.e., the old technique of raising vacuous, speculative, provocative questions, without contributing anything substantive. Then I saw older accounts doing it.

[0] To be clear, they have no more to do with the rest of people on the right than al Qaeda has to do with Islam. One is not a reflection on the other.

EDIT: Also, others are voting for them. For example, I can only wonder how this relatively bizarre comment (judgmental, I know, but a pretty safe judgment in this case) get voted to the top of a front-page thread?

https://news.ycombinator.com/item?id=13703286
Now technically, according to the International Astronomical Union, these bodies can't be planets since they don't orbit the sun:
https://www.iau.org/static/resolutions/Resolution_GA26-5-6.p...

"1. A planet is a celestial body that
(a) is in orbit around the Sun"

Makes me wonder how much this definition of a planet was motivated by the desire to be able to give elementary schoolers a nice small set of things to memorize.

Edit: actually I might be incorrect about this, the resolution is titled "Definition of a Planet in the Solar System", I'm not sure the IAU actually has a definition of what a "planet" would be outside the solar system, but they may be open to the idea that they exist :)
Curious that they don’t mention HTTP conditional requests [1] even in passing. This mechanism is typically used for slightly different things, but you can, for example, make a PATCH request “idempotent” (in their sense) by adding an If-Match header to it. I’d say that Idempotency-Key itself may be considered a precondition and used with status codes 412 [2] and 428 [3].

By the way, WebDAV extended this mechanism with a general If header [4] for all your precondition needs. I’m kinda glad it didn’t catch on though...

[1] https://tools.ietf.org/html/rfc7232

[2] https://tools.ietf.org/html/rfc7232#section-4.2

[3] https://tools.ietf.org/html/rfc6585#section-3

[4] https://tools.ietf.org/html/rfc4918#section-10.4
We're reasoning about a simple case, however. GraphQL is recursive, and HTTP parameters are generally not. You can use them to wrap a recursive language, but at that point you're just using the URL as a transport layer for the recursive language, and if the language is expressive enough it won't fit in a GETtable URL anyway... Past a threshold of complexity, you get into wanting that GraphQL client.
I'm talking about radiation from other stars or what ever. Imagine if every star in the star field in front of you shifted from visible light to gamma.

I'm sure there is a study out there that describes the exact amount of radiation exposure you would receive at reletivistic velocities due to blue shifting.
Why the future of enterprise IT includes containers, clouds and, yes, IBM
The "Transcension Hypothesis" is a possible solution to the Fermi Paradox...

http://www.sciencedirect.com/science/article/pii/S0094576511...
How is:

{
"@context": "http://json-ld.org/contexts/person.jsonld",
"@id": "http://dbpedia.org/resource/John_Lennon",
"name": "John Lennon",
"born": "1940-10-09",
"spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
}

Better than:

(http://json-ld.org/contexts/person
(id http://dbpedia.org/resource/John_Lennon)
(name "John Lennon")
(born 1940-10-09)
(spouse http://dbpedia.org/resource/Cynthia_Lennon))

Note that the latter specifies a single canonical representation[1], which can be hashed and used for comparison, while the former does not (unless one specifies e.g. alphabetic ordering of properties). The latter format may also has a standard specification for transmission e.g. as a URL parameter[2].

And it's obviously a student-level exercise to write a validator, spec or grammar for the latter format, while the former is rather more open-ended.

Friends don't let friends JSON.

[1] Which HN sadly turns into a linked mess — Base64-decode the transport representation[2] if you'd like to see the canonical representation.

[2] {KDM0Omh0dHA6Ly9qc29uLWxkLm9yZy9jb250ZXh0cy9wZXJzb24oMjppZDM5Omh0dHA6Ly9kYnBl
ZGlhLm9yZy9yZXNvdXJjZS9Kb2huX0xlbm5vbikoNDpuYW1lMTE6Sm9obiBMZW5ub24pKDQ6Ym9y
bjEwOjE5NDAtMTAtMDkpKDY6c3BvdXNlNDI6aHR0cDovL2RicGVkaWEub3JnL3Jlc291cmNlL0N5
bnRoaWFfTGVubm9uKSk=}
If you want to try an F# to JavaScript compiler. Try Fable:

http://fable.io/repl.html
You can check out some information on the stats page: https://www.swiftdemand.com/stats

I actually only released the website less than a week ago so it's still incredibly new, but people have already done some cool stuff with it. This guy set up a website to write haikus in exchange for coins http://swiftpoetry.club/

I'm planning on setting up a service to allow people to more easily exchange coins into their local countries currency and develop an API so websites can more easily accept Swift Demand as a payment option, but these things are still in the pipeline.