skysight-inc/HackerNews huggingface dataset:
>But that's not freedom, that's socialism.

Who said that freedom is in conflict with socialism? Socialism takes care of some foundational requirements, so you have more freedom in your movement.

(Social democracy to be more correct, we're not talking about socialism in the Eastern European circa 1960s sense, but about something most of the civilized world enjoys, from Western and Nordic Europe to Japan and Australia).

It's like saying that US citizens are not free to travel because airplane tickets are expensive.

Well, there is a thing as things being "prohibitively expensive". And if some private interests take the public for suckers and keep tickets expensive, then, yeah, those people are not "free to fly" as much as other people are.

Even more so, if it's not tickets but something everybody should enjoy, like healthcare, but some huge interests, like big Pharma and insurance companies, artificially inflate costs using all the tricks of the "free market" and laugh all the way to the bank.

>Freedom means that you get a choice, even if that choice is going to screw yourself later in life - for instance not buying health insurance.

No, freedom means you have basic stuff like "healthcare covered, so you are free to pursue your interests -- not some rigged BS choice, between huge health conglomerates and people who can't afford bread every day.

Strangely, no one extends the "freedom" you described to other basics, like safety, rule of law, and so on. Because in that case, the free-er places would be Western Sahara, or some such country without an official government, where you're "free" to do whatever, as long as you can do it.
> ...hooked to real-world data feeds

I think that's what is meant by "a trusted source of information from the outside world". You can have as many layers of smart, trustless technology as you want sitting between the dapp and the data source, but it always comes back to relying on a trusted (and potentially corrupt/compromised) real-world source. Maybe it has to be multiple independent sources? Sorry - there's still no way for those sources to cryptographically disprove any collusion.
using the quotes "scientific" is the polite lawyer way of saying its total bolocks
Meh, you do what you can. It's an opportunity that might have paid off and given them something they want in life.

Not everything is as easy as HNers in SV make it seem.
Weex is adopted well in the Chinese Community. From what I hear, its used in Alibaba (E Commerce site of China like Amazon) products. Its mature but you won't find well-written docs in English.
Yes plenty of case law precedent for this
Zim Desktop Wiki (http://zim-wiki.org/). It is great note taking application that supports Rich Text features such as bold, italic, checkbox and bullet lists. It also supports Greek letters, subscripts, superscripts, and Unicode, making it very useful for entering mathematical equations.
It's not barbaric, but what I find interesting is different regulatory agencies (e.g. Transportation vs Health vs Defense) assign different economic values to human life.
>that code could have gotten the list of allowed country names from a file, database, or URL.

That is exactly the point. You should be able to do that, because the canonical list of data could easily from any of those and it should the up to programmer's discretion how to fetch it.

The point of validation is to prevent invalid data from slipping through a net at minimum cost and that's how you do that.

Suden, Sudaan and South Sudan were all invalid countries in 2010 and that YAML was invalid. In 2012, Suden and Sudaan were invalid but South Sudan was not so that YAML was valid.

In the above example you have to make no code changes in order to account for that - just update pycountry every so often.

With XML schemas and DTDs either you don't validate country at all (letting Suden and Sudaan) through the net. Or, you rewrite and redistribute the schema by hand every time some dependency like a list of countries changes.

>If I have to send such json to you, I almost would have to write my program in python

Only if I choose to validate that data using a shared schema. Frankly, I've dealt with XML a lot and the number of times I've been handed a shared schema of any kind is very low. People just don't seem to use them. If they define an API in XML for instance they tend to just send examples and give a written explanation (e.g. insert valid country name here).

I don't see much value in making a schema more inherently "shareable" especially not if it means it has to be re-released every month.
I only have used jq, but I noticed that even AWS CLI docs [0] (already mentioned in the comments a couple of times) suggest to use jq for "more advanced features that may not be possible with --query".

[0] https://docs.aws.amazon.com/cli/latest/userguide/controlling...
Check out GhostText: https://addons.mozilla.org/en-US/firefox/addon/ghosttext/

I use it with Atomic Chrome for Emacs, but it supports Vim, Sublime, and Atom as well.
Another nice puzzle:

A cube looks like a square from three orthogonal directions. A cylinder can look like a square from infinitely many directions, but they are all coplanar. Can you find a convex shape that looks like a square from more than three directions, without all of them being coplanar? In particular, can you find a convex shape that looks like a square from two distinct sets of three orthogonal directions? Can you find all such shapes?
Like kweinber, I've also advocated this for years. I'll accept that it's hard, but I won't accept that it's impossible. Think of it as "scientific government." We institute falsifiable hypotheses and test them. This can only be done by folks who want the right answer however, and not too many people in government are like that. They may want their answer to be right, but of course that is not the same thing.

At the very least, set up a criterion (or criteria) at which we will agree that a policy has failed.

Betsy DeVos is being disruptive in U.S. education. Will it work? Take the US rankings now. If in four years our ranking has fallen, we try something else.

Try a tax cut. If the economy is x% worse 18 months after it going into effect, it failed.

I'm sure when we first start this we will struggle to get the metrics right and to ask the right questions. But we should aim in that direction.

I suspect that the reason we don't has to do with money, and in a bad way.
I personally feel nothing is as close as React Native right now. Whether it be Flutter or NativeScript or Weex. It will still require some time to mature as much as React Native is today.
I think the problem is that most people, and that includes doctors and bariatric surgeons alike, don't really know how to diet.

Using only diet, I have successfully lost 90lbs and continue to lose.
It's fantastic! I use this every day and it works great. Thanks for the effort you put into it!
In my case, I work 8 hours because I still get pay by hour :)
If, one day I would manage to get into consulting, I probably would work less on average work-day.
Finite Footprint – Automated Carbon Footprint Monitoring and Offsets
>So you can be enslaved to 2000 things, debt, bosses, ugly laws, big corps, banks, health costs, etc., and just lie there and take it, but you are doing it on your own, as a "free" man.

To those of us who value freedom in the sense you belittle, the extreme alternative to what you proposed is being enslaved to one single thing, the size of those 2000 things you relied on plus another 5000 things that you don't but some other people do.
Amazon accounts for 4% of ALL retail sales. Where are the calls about Walmart?

I think we have to see the bigger picture. Growth, momentum, and investments should be a good thing.

Dominance is not illegal. Nor technically is a monopoly. Using a monopoly illegally is.

Having said that we would have to fundamentally change the definition of a monopoly in order to break up the party responsible for 4% of the market -- and have a record of reducing prices.
ISP revenue - none.

Revenue for all the free services and sites the ISP connects you to - almost all of it.
I've been using jq quite a bit with AWS CLI inside various bash scripts. It allows manipulation and filtering the native api doesn't, which makes it pretty straight forward to get certain values - such as specific tags on the current instance (converted to key-value form, or to turn into bash variables), a list of other systems in the current auto scaling group, etc.

I've also started using it just to get colorized/formatted output from curl or a local json file.

cat file.json | jq
I never tried it but I am expecting the performance to be not good enough, it takes already several minutes with code specifically written to perform the calculations I am interested in. And because I don't know what exactly I am looking for I need more or less interactive speed so that I can try out many different ways to look at the data. But maybe I could use [materialized] views to convey enough information to the query planner how to efficiently carry out the calculations or maybe I am even underestimating how good query planners are. I just have the gut feeling that performing a lot of aggregation will make a database perform a lot of unnecessary work. But maybe I should and will try loading the data into SQL Server and see what happens.

The other thing is that SQL seems not the best fit to me. Say you just want to know how many events occurred in the last three months in any hour, that is straight forward grouping and counting at first, but already rounding the timestamps to an hour is not as obvious as it should be. But if there was no event in a specific hour, your result will just have no row for that hour instead of a row saying there were zero events in that hour. This in turn will cause more trouble if you want to build a histogram showing in how many hours there were say 0 to 9, 10 to 19, 20 to 29, and so on events. Certainly still doable with SQL but we are already entering the territory where writing a single query will take most people several hours to get the desired result.

I also couldn't easily tell how to express calculating the 99th percentile of the event size for every day of the week and hour of the day. I am pretty sure it is possible but I guess it would also be pretty unreadable unless you put in quite a bit of effort to create utility functions instead of hacking together one huge SQL statement. Then again I don't really know much about the more recent SQL features for partitioning and aggregating, maybe I should have a closer look at that first.
TL;DR; Found some irrelevant differences between the exaggerated version and the actual history, and I'm going to pretend that everybody believes the ultra-exaggerated version and that they matter.
A worthwhile alternative to this approach (a JSON-specific query language) is a language for converting JSON structures to newline-delimited records. Then, standard shell tools can be used to query and join: https://github.com/micha/json-table
http://www.dictionary.com/browse/formula?s=t

Definition 6.

They are using the word "formula" as in "baby formula."
In my humble opinion, native means exactly that—identical and indistinguishable from a platform’s native code and full capabilities using its expected native language(s) because the byte code is identical. Native UI—the combined term—means using, not emulating, platform-native UI elements and APIs—it actually uses the platform-native byte code. Things that are indistinguishable in appearance do not qualify as native, unless one clearly distinguishes s/he means native look and feel.

When one says truly native, that is an even stronger claim that, in my opinion, directly communicates we are talking about byte code. On iOS, for example, native means Obj-C and Swift. When I read someone has created a framework/library that provides truly native apps using X and Y, my immediate expectation is we are talking about X and Y compiling down to platform-native byte code, with no VM, unless the platform itself is a VM. An example here is Elixir compiling down to truly native BEAM apps.

For the web, JS is truly native. There are a host of other non-JS technologies that compile down to truly native code for the web. I’ve yet to see any JS technologies that compile to truly native platform code for desktop and mobile (except mobile platforms which use web technologies as platform-native code)[0].

[0]: A quick perusal of NativeScript claims it does not use web views. If it actually lets you directly create and use a UITableView, UIButton, UIListView, and the rest, then perhaps it can qualify as native UI. But there’s still a bridge to cross from there to truly native app, and I’m unsure if it actually becomes 100% platform-native code without a JS VM involved the way, for iOS, Obj-C and Swift are.
This article concludes by saying "... wouldn't two amazon's be better than one?"

But I didn't find any case made for this claim in the article.
The biggest possible difference between Prince Rupert's cubes is 3%, which is much smaller than the difference between sqrt(2) and 1.
"Skill building" and "Leveling up" are nothing more than operant conditioning on a reward schedule. It's nothing more than a skinner box that has two rooms that you walk between with "level up" being the doorway you'd like to go through. No real work is being done, but the facade of work is enough to trick your brain into thinking it's accomplished something. That real effort could have been expended to do something that could actually benefit the organism, but no, it's wasted on an illusion.
How Private Space Industry Could Take Over LEO and Profit
Do mathematicians consider this an open problem or does there exist a well known solution? And what about a name for this problem, does it have one already?
Interestingly most modern investing websites use the over-exaggerated "fake news/clickbait" version of the Tulip mania if it is over-exaggerated, even investopedia uses it as the first example of a bubble: https://www.investopedia.com/terms/b/bubble.asp

The author of the article is seemingly implying that it is rather another form of conspicuous consumption? Such as with fancy clothes or Air Jordans?
Open address has a good map that show this (http://results.openaddresses.io/), but for any area that is grey on that map you are going to be a long way from that "basic first step" you talk about. Adress data is hard, there are so many shitty collections with bad licenses.
Nah, it's nothing as grand as that. I saw it on facebook a few months ago and solved it in about ten minutes, just wanted to share the fun.
I'm glad that at least one IDE gets this particular case right, but I think I missed my broader point.

As a programmer, my job is to produce a set of instructions that a computer can understand. The Unix shell is quirkier than most, but it is a real programming language that I can bring all of my profession's skills to bear on. IDEs, on the other hand, are opaque boxes that work great until you need something they didn't anticipate.

I'll readily admit that my needs are no longer those of a beginner, but my learning path was a pretty steady climb of copy/pasting boilerplate, to making a few small changes, to just starting with an empty file and writing everything from scratch.

I worry[1] that, by hiding complexity from beginners, we may be hindering eventual mastery in the name of making it easy to start learning. Are modern intermediate-level developers asking questions like:

- I've been told to always do X; what happens if I don't?
- This thing I usually ignore seems vaguely related to my current problem; what does it actually do?

[1] Without any real foundation or evidence
And you can easily use that extra carbon for growing plants in vertical farms next to the SMR plant.

Would impurities in the source methane be a problem for this case?
Can you present an example?
Not what I was thinking, but that works. Thanks
> Belgium was designed to be a toothless and spineless state by the UK, France & Germany, and it's playing its part wonderfully.

Belgium is in its own way more often than not, which is a pity because with Brussels the de-facto capital of Europe the potential to become a regional power-house is definitely there. But Belgian politics, the language divide and a surprisingly large amount of corruption (a bit better than France but substantially worse than Germany and NL) do not help.
‘Black Panther’ Is Groundbreaking, but It’s Shuri Who Could Change the World
FTTC can work quite well. I've got that here in Dublin, getting 400/40 speeds.

If Australian internet turns out to still suck, them I don't think it'll be because of the technology. :)
Not new.

Only read the first and last page if the paper, but here was my quick takeaway.

There are 2 things the attacks do: get the victim data into cache, then read it out. This paper just shows a different way to read it out. Instead of flushing the cache it induces false sharing to ping pong the cache line so instead of waiting for main memory to service the request you are waiting on the cache coherence protocol to catch up.

These were already described attacks on the web, so i don't consider this new although they aren't talked about much probably because they are a little harder to understand.

Since the fixes to both spectre and Meltdown are focused on the first part, stopping data getting into the cache, they are work for this new read method.

Meltdown: fix the hardware permission bug on cache hit (probably very easy) and everything will be fine.

Spectre: just as out of order execution can cause funny things in threaded programs, they can in non threaded programs too it seems. Devs just need to be aware of it and guard against it. Spectre is basically a process reading its own memory, and we shouldn't be surprised by that.
Blockchain in space First blockchain node set up in space
Even allowing for the age of the piece this seems pretty partisan.

Only one I'll pick out - RAID5. Who cares about RAID5 with current disk sizes? Should be using ZFS, probably under RAIDZ2 or 3, if you actually care about your data.

Home servers have been running FreeBSD since the days of 2.x. I'll not be giving up ZFS, jails, and what seems to be the best net stack anywhere, any time soon.
You see, in order to create an apple pie from scratch, we must start by creating a universe.
A lot of factors does that. Both genetics and environmental factors have their influence.
I found the studies showing the impact that movies actually have a significant impact on career choice to be interesting.

I never thought the effect would be that large.
there are many examples of countries that have been able to leapfrog certain steps in development. Case in point: most 3rd world countries skipped over desktop computing, straight into mobile. Maybe self driving cars will somehow take over the world exponentially like smartphones have, and developing countries skip over human policing of traffic into a majority self-drive reality.
Most people find it OK until it is their own speech being silenced, and then they have a problem. It's one thing when NAMBLA is banned from a social networking site, and another when your anti-war group is banned.

That aside, there is an important difference between corporations and the government: corporations do not typically have the power to imprison or kill people, and when corporations want to impose a penalty they must ask the government to do it on their behalf. GoDaddy can refuse to provide service to nazis, but cannot do anything about nazis choosing some other registrar. A government can imprison people for running a nazi forum, even if the nazis set up their own registrar and maintain their own hosting.
Total breakdown of trust is a valid reason to fire someone.
Of course Redhat deprecated btrfs support, they are betting on XFS and Stratis. No need to throw resources on competing project, the others in Linux community will carry on.

> Perfect as in "everything except certain common features and expected annoyances" like suspend/resume et al.

I don't think you read that part carefully with proper understanding. The author said, that these annoyances were when running FreeBSD, and that in Debian it doesn't have them.
Ask HN: How do you manage your personal finances?
Managing business expenses, investments, taxes and insurances can be handled professionally with good support of sophisticated software. The interest in such software for private households is on the other hand very low as most people tend to dislike management tasks for their personal finance stuff.

However, some people (often geeks) manage their personal finances as professional as business finances.

Which tools, software, services, habits and techniques do you use to take care of your personal finances?
Yeah Commodore seemed to have some smart people on staff.

Sadly what sunk it was once again boardroom meddling.

the ousting of Tramiel after an argument between him and Gould, followed by Gould appointing a long line of more or less, most often less (one glorious exception was the guy in charge when the Amiga 500 was introduced), competent CEOs.
Ask HN: Does increasing our life expectancy save or cost money?
In the light of the controversy arising from the recent New York Times article about the economic impact of preventative care, should we be asking this question too?
Tutorial: HTTP Client in C with libdill
Ask HN: What do you want to see in Note-taking app?
Howdy HackerNews!

I want to build a note-taking web app. I'm interested in HackerNews feedback and feature requests for the web app. I am posing this question to the garrulous HN crowd, so I'm excited about it, and I'm sure this will be interesting!

Please include in your replies the following bullets:

-CURRENT APP USING: [GOOGLE KEEP, EVERNOTE, ANY]

- HEADLINE: 1-line description of the request

- DESCRIPTION: A lengthier description of the feature.

We're super interested in your feedback!

Thanks, HN!
Hmm...since XML is a meta-language describing a family of markup language[1], every actual XML-based language will be a "subset".

And of course that is why some of the XML tools are so heavy: they deal with the full meta-format. The "nice" thing about JSON is that it doesn't have this indirection step, it's just one concrete language, and that's why it is simple. But again, it's trivially easy to define an actual concrete markup language using XML that is just as simple.

I agree with you that the choice of <key>theKey</theKey><string>value</string> rather than <theKey>value</theKey> was regrettable, had I designed the format I would have chosen differently. I think they wanted one DTD to describe this format, which wouldn't have been possible without keeping the meta-level indirection.

I created XML-based archivers for Cocoa that don't have this problem[2]. Again, this wasn't hard, and the API is NSKeyedArchiver compatible, so [MPWXMLArchiver archivedDataWithRootObject:someObject]; gets you a nice XML representation.

[1] http://www.xml.com/pub/a/98/10/guide0.html?page=2

[2] https://github.com/mpw/Objective-XML/blob/master/MPWXmlArchi...
You seem to forget the power of the purse. Providers would not be free to provide Healthcare in their terms. They would be forced to provide it in methods approved by the government.
...do you know the story of George Dantzig?

https://en.wikipedia.org/wiki/George_Dantzig#Mathematical_st...

I don't mean to say that it seems applicable here - but I also don't mean to say that it doesn't seem applicable here.