skysight-inc/HackerNews huggingface dataset:
GPL is about enabling freedom for end-users. An end-user could be anything from an individual to a corporate entity. Your definition of freedom appears to be just "permissive licensing". Unfortunately, permissive licensing like BSD, could mean that one's code ends up being wielded by a corporation to remove end-user freedoms, typically to lock them in as paying customers.

I am a Free Software Foundation (FSF) member because I believe that end-user freedoms are becoming increasingly under threat as of late and they appear to be among the few that are taking the problem seriously.
It depends entirely on where you live. In rural Ohio, my parents have been buying farm raised cattle from family friends and having it processed locally for something like 4 decades. It's mundane, commonplace. But, where your absolutely correct, is that it's also _significantly_ cheaper than what I pay for it in California. The worst of it is that I have to source from north of the bay area and I live in Orange county. The farm I do business with (I did visit them once, many years ago when I first came to CA) has a processor on site and handles delivery, but my last order for a quarter came out to something like $9.80/lb. My parents are still paying under $3/lb. back home. I'd love to order a half but I can't afford it and so my wife and I just don't eat a lot of beef as a result.
If you read most of it in 2017 I say it still counts. Nice to see some fiction on here, these lists are almost always non fiction and make me feel uneducated because I read almost exclusively fiction
I think the questionable (in terms of traditional mountaineering ethics, I guess) was that Simon Yates had to cut off his partners rope. It's probably the pragmatic thing to do there, but that was definitely the part that was discussed afterwards. He had to assume that he was dead after that, that part was never questioned.

On the other hand, he stayed at their basecamp for a prolonged time (if I remember it correctly), which in the end helped Joe, who crawled back there through the glacier with his broken bones and almost dead from dehydration. So he still somehow believed in the miracle that happened.
I'd recommend a process rather than a handful of implementation-specific rules of thumb that are, IMO, at risk of being applied too generally. I'd hate someone to read this article and then go ahead and avoid 'new' wherever possible because they think that's how you make code fast, or avoiding boxing and polymorphic call sites, etc.

My process for writing fast code on the JVM:

1) Measure. Set up a benchmark so you know whether you're on the happy path or not, or whether you've fallen off a performance cliff, for whatever reason. Make this part of your testing suite with some kind of notification for regressions.

2) Start small, ideally with a do-nothing loop over the input. This gives you a baseline; you can't go faster than a do-nothing loop (presuming you can't skip part of your input, which is an algorithm problem, not specific to JVM optimization).

3) Incrementally build up your algorithm and pay attention to when it falls off the performance cliff, using your benchmark from (1). If and when you fall off the performance cliff, that's when you start bringing in tricks like avoiding new, ensuring call sites are monomorphic / bimorphic, avoiding boxing, reducing pointer indirections and other cache friendly code, etc.

Another trick to consider is playing around with inlining, but not in the way you might think: try pushing infrequently executed code (conditionals) one level deeper in the call stack (i.e. making the body of an if-block into a method and calling it). The idea here is to encourage inlining of method doing the calling. Inlining is where the JVM gets to specialize your code to the specific situation at hand, but the JVM is reluctant to inline big methods because it has a time budget. So you need to help it.
What if a stepping stone to UBI was a basic income to everyone that’s demonstrated some technical aptitude? If scientists and engineers didn’t have to work for, say Zuckerberg, to survive and instead because they genuinely wanted to collaborate, maybe the tech giants wouldn’t be so disproportionately powerful. And creativity in the tech world would skyrocket.
Doubt it was meant as an attack more a statement of fact. If I remember correctly all the songs used to benchmark the compression were of "western-european" origin. Same thing for the people judging the result.

Here is an interview with the creator, mostly about the ghost in the mp3 project http://traffic.libsyn.com/dataskeptic/The_Ghost_in_the_MP3.m...
People who hope for artificial limbs and sneer at attempts to make things more accessible in the meantime, yes.

When the tech is both widespread and affordable, you can start designing for the tech.

Don't even understand what bothers you so much about making pages more screen-reader-accessible in the first place. Great, I'm glad that you have experience in this area and can attest to the fact that screen readers don't always work even when HTML is semantic. But why are you actively resisting semantic HTML?

It sounds to me like you're saying, "It doesn't work well, so we shouldn't usw it at all." What would you prefer, div soup?

It doesn't even need to be the case that semantic HTML is a killer solution for screen reader users. Just needs to be better than nothing once you net costs and benefits.

So I'm genuinely curious: when is it better to not use semantic markup? Or when does the cost of using it become prohibitive?
Looking Ahead, Predictions for 2018
The bicycle helmet instead of the Mofa/Töffli helmet is not in the same league. Cool they are (still) allowed, just like the Elektrotöffli[0].

And our laws are often more lax then Europe's. Specifically when it comes to freedoms (like weapons & privacy). Source: former EU citizen.

[0] https://emovemotors.ch/
It seems to me you have to also reveal that for the individuals. That is "this person reviewed X of their stays."

What about the simple: "Would you recommend this to a friend?" And then a _short_ reason. I mean is "too much morning sun" a bad review? Nope! What it is, it is. Some people will love it. Some won't. Some won't care either way.

The point being in hiding the truth ABB is essentially inviting people to book stays that they are not going to enjoy.

The advantage of leaving a "bad"review is obvious: You might save someone from a shite experience. And if this were the stay'er community standard, that someone could be you.
Isn't this framing of for-profit (prestige is a kind of profit) part of the problem he describes?
Now and then I'll get a "that's cheating" comment. To be honest I spend far more time worrying about what car drivers are going to do than an odd comment from another cyclist.
Twitter Templates for Celebrity Eulogies
I've had high blood pressure since 24. I've had every possible diagnostic test, tried medication (no avail). I'm not overweight and do walk about 50 minutes a day, eat as healthy as can be expected. And still it averages around 170/90. I gave up on it. If global disaster doesn't kill me first, it'll probably be a heart attack around 50. There are worse ways to go. Seriously, even lifestyle changes for the relatively healthy only seem to make a 10 mmHg difference, so eh. Whatever.
A basic income with restrictions is basically a job . UBI needs to apply to everyone to work.
How was he “careless” in any way? Was it not completely legal for him to own it, and completely legal for him to show it to other people, especially in the privacy of a hotel room?

I thought the right to do this was for many the single most important principle of your country, shouldn’t the police have responded to reports of somebody with a gun with “Well this is the USA, nothing to see here?”
> This is why we have closed-source graphics drivers on Linux.

And yet, having Linux being GPL must have given incentive at some point to give code back since nowadays both Intel and AMD have very good GPL'ed drivers.
And without knowing who you are, a requirement most services (including Signal) fail. Does Telegram allow you to create an account without divulging your phone number?
When you're on mobile it's almost impossible to read.
Do you have a flipped version for left-handed typing then?
Unreadable on iPhone and potentially other mobile devices.
Try intermittent fasting and/or keto diet.

My pressure changed from 140/90 to 120/70 only with the diet. Needless to say that literally all aspects of my life improved with this change. Come to the Church of Intermittent Fasting®.
> People don't seem to like accepting quite how rationally intelligent markets are

Because it is wishful thinking?

Where would the rational intelligence of stock markets be right now without the trillions of dollars in shares bought up directly by central banks and sovereign wealth funds or by corporations using essentially free money provided by central banks?

Last time I checked none of the economic theories about optimal markets included massive state interventions to help markets find the optimal price.
What this makes me wonder is, if the problem is not enough funding for visionary work, or more accurately that modern funders misunderstand how and why to find visionary work, then what will change their minds?

Because I feel like I've read a few of these posts, watched similar talks, and I nod along and agree every time. Only problem is, I'm not a wealthy benefactor, director of a research institute, or a business exec with control of discretionary R&D funding.

Where do those people hang out, what would convince them like this post convinces me, and is anyone working on that?
What does the data say about the risks to someone like you (i.e., otherwise healthy, healthy lifestyle, etc.)? Certainly if you didn't take care of yourself the risk would increase. But, perhaps, high BP isn't as risky if it's the only risk you have.
Most of the work is in document segmentation:

https://arxiv.org/abs/1704.01474

https://arxiv.org/abs/1711.07695

https://arxiv.org/abs/1710.07363

I'm pretty sure I've seen some webpage work too, but I don't have the reference.
Humans are Liars
Plus, US tax law has some requirements around nonprofits and number of contributors. The single or few large donors is great, but the org needs to show wide support. So a twenty $5 donations is better than a single $100 donation.
The principle of immutable log streaming is used in the Lambda[0] and Kappa[1] architectures.

It's also used by state management libraries like Redux[2]. The concept is generic and simple enough that it can be applied to any application where a timeline of state snapshots is useful, so maintaining a history for undo/redo purposes and audit logs is a great fit for it.

[0]: https://en.wikipedia.org/wiki/Lambda_architecture

[1]: http://milinda.pathirage.org/kappa-architecture.com/

[2]: https://redux.js.org/
Your agile practice is a Dementor
Telegram is not the alternative to open chat systems that it's fans championed it as.

It's a shame the iPhone won't let background applications run, before it became popular even my mother was just fine using IRC to talk with the family.
Be careful with 2) because of inlining. Can’t count the number of times I wrote benchmarks that got completely inlined away.
Luajit is the only fork you need to care about at the moment. I don't know what you mean by "more and more" there
I think it's fair and necessary to ask: Are the (negative) effects of high blood pressure the same for all genders across all gene pools?

Also, what is the breakdown of high blood pressure being a disease? Vs being a symptom (of another disease)?

We need deeper data.
> police defaults to avoid violence, and defaults to not even carry guns.

I think this might be more of a difference between the legality of guns in the US and UK. Guns are so rare in the UK because they are illegal to own for almost everyone. I can imagine that makes a big difference for a police officer's expectation of the likely potential danger of public adversaries... yes there are still knives and acid and whatnot but those are close quarter and improvised weapons that don't emerge so suddenly from a distance, I think those make you far less "jumpy" for lack of a better description.

PS. Please don't start an "anti guns" thread under here because we all know that never goes anywhere on the internet. I'm simply pointing out that the prevalence of guns will have a big impact on personal risk felt by law enforcers and that is a relevant difference between these two countries.
> The destiny of computers is to become interactive intellectual amplifiers for all humans, pervasively networked world-wide". This vision does not state what the amplification is like or how you might be able to network everyone in the world.

That's a vision that recognizes the value in creating tools, not constrained solutions for the current problem. Freedom can be frightening[1], but letting people explore what is possible with your new tool sometimes leads to unexpected uses and the occasional paradigm-shifting discovery.

[1] (with apologies to DHH[2]) If we give people unconstrained tools, they might change the String class to shoot out fireworks at inappropriate time!

[2] https://vimeo.com/17420638#t=27m27s
Who sneered at attempts to make things accessible?

So I'm genuinely curious: when is it better to not use semantic markup?

It never is - but nevertheless it happens all the time. Perhaps you hadn't noticed it was exactly what this article was about?
There is no "just". If someone can come up with that exploit in an HN comment, it would be incredible if there were no provisions to explicitly forbid this kind of share from being used in this fashion.
I don't know. I'm not a Telegram user and I wouldn't use any of these messaging services if I wanted to organise a protest.

Email is the only reasonably decentralised and diverse messaging infrastructure we have. It's impossible to block without shutting down the entire Internet in a country.
Netflix and chill
Most sites just send password reset info to your email. I thought these questions are usually used just as an extra layer on top of that? So someone would need to hack your email and guess your question, which makes it less of an issue if you keep a secure email account.
It is a very difficult narrative. Mainly because while reading it, I had to think constantly about survivorship bias and appeal to authority. Would I really read this if it was written by a 20 year old without a track record? Or how many Alan Key's are out there that completely failed and would prescribe a totally different approach and attribute the cause and effect on other factors?

I also totally get the point of funding problem finding versus funding business plans that are full of bullshit and pretend to have a risk free solution with a play book that just needs some money to execute it linearly step-by-step. So, for that part it is written very well and the point is clear.

Another topic is: would all kind of innovations really emerge if the funding mechanism was radically different in the last 20 years? Would we see all kinds of big leaps or was ARPA-Parc just a serendipity moment that couldn't be repeated no matter what the funding structure was?
If we're going with hunches (as in the article) free streaming porn seems more likely than streaming conventional entertainment like Netflix. I mean, both have taken off over the relevant period, but porn is obviously a bit more closely tied to sex.
EURUSD: Closes Higher, Eyes Further Upside Pressure
It's the phones, not Netflix. Phone use is a constant source or ire in relationships.
Interesting thought. It might be better for investors if companies like Facebook just did what they are good at instead of trying to "stay ahead of the curve" and eliminate all future competitors. They are always going to fail at that game eventually anyway, so not trying at all might be better for investors.
The Significance of the Twitter Archive at the Library of Congress
Thank you spuz, I totally agree. Full disclosure, I'm the guy who develops and sells these modules. I do this in my spare time. I didn't have any experience in manufacturing and shipping products like these before. A very good friend who lives in China helped me a lot with designing and manufacturing the ESPaper modules. Normally in China you'd have a minimal order quantity of thousands not hundreds. But with his help we can do small batches. Small batches are a driver for the price per piece of course. But there are a lot of other costs involved, pure hardware costs are just little over 50%. You get the ESPaper in a nice package with a pretty enclosure. As somebody mentioned earlier payment gateways want to have a share. And to pay my friend in China for his work and hardware I have to transfer the money using Paypal or banks and they open their hands again. There might even be currency conversions involved, depending on the path the money takes. In rare cases a package gets lost on the way to the buyer or it arrives broken and you have to replace it.

For shipping I use a fulfillment service in China. If you order on Tindie I import the order in my own shop system. From there the order is exported together with orders that came in directly on my shop to the fulfillment center by API. I have to choose the best of sometimes 20 different shipping services and the costs for shipping are different for every case, depending where you live and if value added tax is pre-charged (e.g. EU countries). Then a guy in a warehouse in Dongguan walks to a shelf and picks one of my boxes, labels it and sends it off to you. I had to learn the hard way that sending without tracking is cheaper but quite risky. So I also put insurance on the orders. The guy in the fulfillment center also needs to get paid.

And I spent a lot of time developing a graphics library (MiniGrafx) which gives you a lot more freedom than other libraries available for these displays. And now I'm working on a web server application which will make it super easy to configure the ESPaper remotely. Choose a application (e.g. weather, Calendar, Meeting Room, Sticky Note), configure it and when the device wakes up next time it will download the image information from the server. So all that costs a lot of time and most of the code is open source or will be at one point.

I totally understand if you want to build this by yourself, since I am having a lot of fun doing it. But not everyone has that level of patience or expertise and those who don't I'm offering a short cut.
Would this process also work for WiFi usb dongles, which also operate on 2.4GHz?
TensorFlow Basics
110 Books to Make 2018 a Good Year
who down-votes a paper suggestion, and is too afraid to explain why.
I love the idea of an e-bike but the 25kph limit just kills it. I already average over 25kph on a typical non-winter commute and there are no hills to speak of in my area. There aren't that many stoplights either.
Oh, I thought that given the article date (Dec 26, 2017) that these were upgraded fasttext vectors. Is this just the first time they've released a paper on them?
Agreed that UBI for everyone is the ultimate goal. But basic income for all engineers and scientists could be more politically palatable in the US and have quicker results.
Deactivating mublock also worked for me.
^^^ this. I would also mention the "performance tuning mindmap for Java": https://shipilev.net/talks/devoxx-Nov2012-perfMethodology-mi...
Are the full emails availabe somewhere?
I'm mostly replying to the thread at large, which started with lb1lf pointing out that the police response was the problem, and this side-thread is now bogged down in the quagmire of arguing what constitutes as a non-lethal and lethal weapon.

Of course the weapon in question is also a variable, but I by far the biggest variable is police behavior in the US, where it seems every situation calls for force escalation and solving the matter at hand with a full-on assault of some sort.
I think a part of the difficulty is in the language of coverage.

"100% test coverage" usually means statement coverage due to the nature of popular tooling.

If you deeply care about correctness you are usually more interested in path coverage which is more tied to things like heap shape or state space... (which depending on your system design might encompass stuff in your database). Also yeah, technically the exceptions which can be thrown at each point in your software if you work in a language with those.

Unfortunately there's not much tooling for that so it's not visible in the same way as the more naive metrics.

Anway my point is that you can waste time pushing for "100% statement coverage" measurable by naive tools but still not exercise important paths, which I think is your point.
There's rarely a single 'single point of failure', but there are often single points which can cause your whole business to fail.
Having the keyboard centered on the ipad seems to suggest otherwise.

Typed on Keybee.
Show HN: Track Office files in Git and view diffs of them in online repo hosts
https://github.com/TomasHubelbauer/modern-office-git-diff

Hey everyone, I made this tool which allows one to use it as a Git hook which will then extract modern Office files (ZIP archives of XML files) to directories named by them and take advantage of GitHub/GitLab/Whatever's online diff when inspecting PRs and commits to a repository.

Diffing Office files was not an unsolved problem before, I cite some prior art, but I've decided to take a different route by tracking both the compressed binary files and the uncompressed plain text files in a folder in the repository. This way the diffs can be viewed in online Git hosting services.

I document features and drawbacks of this approach in my repo. It's certainly not efficient, but it solves a different need (the ability to get to the diff in minimal amount of steps) than other solutions and that's why I found it interesting to work on.

Diffs of both the actual XML files (all information, but too much cruft to get a mental picture of the files text content) and TXT files that contain only concatenated text node values of the files in order to get a view of content changes only are available.

In the future I'll work on making this tool faster by skipping unchanged files instead of regenerating them each file, making this suitable for Git repos that track a large number of Office files. I won't worry about the space inefficiency, because I think Git does a good job of compressing the plain text files anyway and there's not much that can be done in this regard on top of that because of the way the tool works.
> But there is no benefit in adding unit tests if you're building a standard chat system for example

Disagree. Finding the right amount of unit testing is an optimization problem. Some amount is nearly always useful.

For starters: Integration tests will not necessarily exercise a full range of inputs for the low-level functions. For a chat system, I would think hard about how to test low-level functions with a wide range of Unicode input.

A chat system must survive in the harsh environment of the public internet. It needs to be hardened against unexpected user input, either incidental or malicious.
The recipe from the article should still work:

Hire a bunch of smart people, give them advance funding for 5 years without strings attached, tell them to build the future without specifying what that means.

From a personal view I have plenty of ideas for things never built before, but I lack the time and energy to do it after hours and I can almost never fit it into the scope of my professional work. Sometimes this makes me sad.
The link from the submission seems to 404. This link seems to work: https://gist.github.com/djspiewak/464c11307cabc80171c90397d4...
Jolla – 2017 the year in review
Thanks for that, and you're right, but... really, HN should be able to render code-quote (leading spaces) in a mobile-friendly way.
So your ego was bruised by some trek and your solution is to ruin it for everyone else? "rich Western idiot" logic. Also just fyi - most sherpas die supporting guided climbs not rescuing solo climbers.