skysight-inc/HackerNews huggingface dataset:
yup it's strange, for instance Serbian and Croatian are almost the same in many things (even used to be treated as one language for a long time before the political split), but still many common words have a different gender - e.g "flu" is in Sebia "grip" (masculine), while in Croatia it's "gripa" (feminine), but "planet" is in Croatia just "planet" (masculine), while in Serbia it became "planeta" (feminine). And there are even the words like "bol" (pain) that is written and pronounced exactly the same in both languages, but feminine in Croatian, and masculine in Serbian.
We already have SQLite, difflib, et al. What's so bad about pathlib? I use it all the time, it's great.
I haven't dived into plant-based milks and health risks/benefits too much. What I can tell you is that Animal based Milk in general is not healthy, they are high in saturated fats, have a too high calcium and estrogen concentrations and increase the risk to prostate cancer[1], ovarian cancer [2], uteri cancer [2] and other health risks.

Do note that a lot of pro-milk studies are industry backed. The new Canadian food guide has discarded all industry backed studies and based on science created a new food guide [3]. This food guide removed the "recommended" glass of milk based on these studies with water.

[1]:https://link.springer.com/article/10.1023/A:1008823601897

[2]: https://www.ncbi.nlm.nih.gov/pubmed/16125328?dopt=Citation

[3]: https://www.treehugger.com/green-food/canadians-would-rather...
IMO it's just a question of design emphasis. That is, Slack/IRC work well for this kind of thing specifically because their rooms are created for the discussion of some broad topic. Social media (Facebook/Twitter/MySpace/Instagram/etc) generally doesn't because it doesn't have the same emphasis on topical discussions (Facebook groups being something of an exception, although uptake is limited).

So to create social media that lends itself this direction, take the focus away from individual expression in a bubble and put the focus on topics, just like Slack/IRC/forums/BBSes do/did.

Google+ was actually a step in this direction and was the home to a number of topic-focused communities as a result, but Google wasn't prepared to follow through. Maybe someone else will.
Nobody drives a shitty, old, inefficient, dirty gas guzzler because they are addicted to them. They drive them because they can't afford something better.

A solar panel is probably an unaffordable object for at least a quarter of the world's population.
>encrypted system partitions

Does this include bitlocker? Or is this an issue with third party boot loaders so bitlocker is fine but truecrypt is not?
The Full Stack Data Scientist Part 2: A Practical Introduction to Docker
> UI/UX design as it is today is almost entirely about sacrificing utility to boost sales.

I think this statement is just about as true for design as it is for development.
Show HN: Cryptocurrency Alerting – A Bitcoin and Crypto Alerting App
I wish we could quit Slack altogether. It makes it too easy to people to disrupt each other's work. Unless the office is on fire, send me a well-formulated request instead of doing it one line at a time and flooding my screen with popups.
> ads quality will help you decide about content quality.

Why should someone rely on correlation between content quality and ads quality, when she is capable of making decision based on an actual content?
> which anecdotally, I have talked to a lot of drivers who really like this aspect of it

Really? What is it exactly that they like about that?
> Those people lose their money. I can't think of a good reason why they'd expect to get that money back, they were paying for a service that was being provided up until the company could no longer provide it.

> Losing your money to a failed company is a cost of doing business sometimes, it's a risk everybody takes when they purchase things in advance. The company/owner would owe a refund for the service not provided due to company collapse, whether or not they can pay that is another matter and should be accepted as part of the risk. There's no such thing as risk free business and attempts to remove the risk inevitably remove part of the value too.

I think we as a society have deemed it unacceptable to hold consumers accountable for company selection in some specific industries. Banking and healthcare come to mind. We certainly don't think it's okay for depositors to lose their shirts over a banker's risk taking and we hold that value to such a degree that in America at least it has been codified into law.

I know at least NJ mandates a separate fund that insurers must pay into to protect against this instance.
Its absence distinguishes a non-package from a package.
Show HN: Komiser – Detect Potential AWS and GCP Cost Savings
> I heard https://nvd.nist.gov/vuln/detail/CVE-2019-1804 is Cisco's ninth backdoor so far this year.

Also the 9th they have fixed.

> Not ninth security problem total, ninth backdoor. The ninth security problem Cisco shipped intentionally.

How can you be sure it was intentional?

> Meanwhile, the router that serves my office is from a company that's had fewer than nine security problems in the past ten years.

How can you be sure? Did you audit all the source code yourself? Did you compile the source code yourself and are you running only binaries you compiled? Are you sure you can trust the compiler you used?

Or, are you assuming that, because there isn't a CVE, there isn't a vulnerability or security problem?

Fewer CVEs doesn't necessarily mean more secure, it may just mean less validation/testing etc.

But sure, it could mean more secure, it's just not a guarantee.
I'm just waiting for resetera to die.
Lol, I agree their packaging looks a bit different but the contents of the package are basically the same.

Working with both Laravel and Rails will make it clearer that they try to follow the same principles of convention over configuration and programmer happiness :).
Luckily it's a dynamic language, so you can keep reusing one or two for everything!
I have been struggling with this. Obviously Farnam Street and some medium posts have done a great job here. I wanted to teach mental models to a younger audience and make it more fun and actionable so I just started this and am collecting a group of kids (including mine ;) ) http://www.enchanting.io
Ah yes, PHP, the garbage fire of the Software Engineering world which like the cancer that it is, just refuses to die.
Millennials Are Helping to Sound the Credit Card Alarm
We do currently witness mass death for insects, which had managed to survive through quite a few geological revolutions but which apparently cannot survive the humans’ need for industrialized agriculture (and you cannot feed 8 billion people without industrialized agriculture). And the extinctions among the mammal genre are already pretty well known.
Are airlines really expecting passengers to fly in that plane in the future?
I really hate that __init__.py thing about modules it confuses the F out of teachers and students. Using files without a "program" on the command line is a massive leap as it is.
I have to admit, this made me laugh more than I’m willing to admit.

It is a mistake to equate software development with graphic design. To compare C with International Style sounds promising on the surface, rings all kinds of bells but your analogy breaks down as follows.

Machine code > ASM > C > Java > Python > Django framework > Web apps > Saas. This is a hierarchical abstraction. So comparing C to JavaScript is comparing different abstraction layers. Writing C is not suitable for web apps so much as designing a font from scratch to put a webpage together is not a productive use of your time.

International Style is not a lower abstraction or “building” block for design. It is a framework of principles.
Or maybe an escrow service for extortionists who makes sure the amount is refunded if the extortionist does not deliver.
Show HN: Real-Time Protection via Neural Networks
The consonants are the same, but whether the vowels are the same depends on your accent. In most British accents the vowel in 'lox' is fairly distinct from that in German 'lachs'. (Or I should probably say 'would be', since it's not a word known to most British English speakers.)
No, they just have to prove they're the real person with photo ID and admit they are the person being referred to as the criminal.
Tbh most of it is wordpress, and that is not terribly inefficient.
Wikipedia blocked in China in all languages
I'm definitely going to give this a try over the next few weeks. I like that its live. I like that I can mouse over an end point and pull up and entire thread (an interesting use case). I reckon this could become my 'go to' HN comment reader. I've been a long time lurker but created an account simply because of this. Great work!
Nothing makes this less sad. Not even Doom music.
Multilingual Folk Tale Database
Mass production.
> Imagine a drug company put a drug on the market that might kill your or leave you crippled

Taking out of context by cutting off your sentence, but pretty much any drug has a listed side effect like this.
It's a shame this has happened. I wonder to what extent this has been archived, I've taken a quick glance at it on archive.org, and it seems the main page has been well archived but I'd be sceptical if any of the "deeper" pages so speak were archived.

It makes me wonder what will happen with similar online communities as time drags on, and makes me sort of concerned for them too and the content that could be lost due to their disappearance.

With the web going forward, it seems as if similar memetic communities will primarily exist on platforms such as reddit, and possibly tumblr?
a vicious circle
What is the future of sleep and will we still need it in 50 years?
In the Cybersecurity field, yes!

You'd be surprised how often you'll be rolling up to your competition to compare the virus files you pulled from each of your networks and reverse engineering on VMs together... then next week you have to pretend you hate them until something else goes wrong again.
Dark mode comment: in the last week of traveling, I have been asked twice by strangers in airports what programming language I am using. In both cases I was writing an email in OS X mail in dark mode.
Machine Learning at Microsoft with ML.NET
All of those increase environmental impact, they just do it less than historical approaches. Actually rolling back environmental impact is another thing altogether.
> (PHP devs memorize the common functions..

Nope (c) Me, after 5 years on trying to but still falling back to googling every 20 minutes despite years and years of using the language.

... And just writing code without looking into docs much after a week with ruby
Seems like to know PHP, though, you need to know all the history that the author has picked up by following the PHP space since forever. Which mysql functions are appropriate, etc. If knowing the language means "being a working programmer in 2010 so that you could gain a working knowledge of the old APIs and some context for the new ones" I'm out. Keep PHP, I'll move to a different language where knowing historical baggage isn't a prerequisite.
A Hardware Accelerator for Tracing Garbage Collection
> But climate change has shifted from a technological problem to a policy problem.

There is no such thing as shifting from a "technological problem" to a "policy problem". Technology creates the landscape on which political choices are made. Where a problem cannot be solved due to political costs, technology can provide alternative solutions that are more politically tenable.

We may have a "cocktail of tech" ready for fighting climate change, but it's not of the right mix; it doesn't have the right political taste.

Getting Gates involved in politics? That's not without its own risks, and it may not be the best use of his time.
> the issue is granting extra free speech rights

Nope. It is about prohibiting corporations and unions from using their funds to make independent expenditures for speech [1].

> In fact, some companies having a tendency to curb free speech through contracts denying people the right to talk about certain things.

Your example is strange. Such contracts are not imposed by the government.

> corporations get used to dodge personal liability by their owners and employees

You should clarify what you mean by this and how it is relevant to the issue at hand.

[1] https://www.supremecourt.gov/opinions/09pdf/08-205.pdf
Yeah you got my example.

But regarding your conclusion; my entire point is that it IS more useful than you might think. Disclaimer: I often use emacs e g regex-replace and other means of code generation as well, both a couple of internal dsls that I've built and directly one-off by programming (normally clojure).

To just expand on the code generation part: The fact that it is a large "cell based" structure means that I can move stuff around manually, quickly see the entire new structure, make overrides and so on. If I have some class that's supposed to match a csv with 80 fields, it's really hard to view that in any good way in source code.

I won't argue this with anyone, I realize many people vehemently hate spreadsheets, and Excel in particular, and disagrees with anything positive said about them. I'll just end with two final points.

1. The spreadsheet is a general purpose functional programming language with very large adoption and pretty much unseen "code editing" tools (outside of emacs), such as duplicate removal, sorting, user editable conditional formatting, and so on.

2. This was a tips on a tool to have in one's arsenal that is often overlooked, I wasn't looking for a debate.
Uber represents the new kind of company where all the risk is pushed to the employee, while all the profits are pulled to the company. Making all your employees supposedly outside contractors facilitates a race to the bottom between these contractors.

Same with food delivery companies. The drivers have to provide and maintain the vehicle, organize their own health care, pension and insurance. Some companies even disallow them to work for different companies, which is a direct violation of the contractor dynamic.
Recently a Dutch judge ruled that these food delivery contractors were not actual free agents but bound to their one supplier of rides. The judged ruling was that this is not correct as they lacked the freedom to work for other companies.

I find it very disappointing that companies like Uber and Airbnb managed to create these amazing platforms but have such disrespect for the wellbeing of their workers or how they affect communities in the world.
There are languages which have great design from the start though (like Clojure).

PHP, javascript are not them.

Probably that's the reason why Clojure tends to be in top of the "developer happiness" polls.
This is not "eating your seed corn", as that story is about a single resource, and the short-term planning of when to consume it.
If laravel is the best we have were fucked.

Laravel is fine for prototyping but it breaks backwards compat constantly, probably due to the massive amounts of over abstraction, not to mention layer upon layer of IOC hell.
This is a nice chart for that: https://www.theatlas.com/charts/HJBLgF8_f - compare to https://tradingeconomics.com/south-korea/gdp on max range.

(If the scale disappears on mobile, it's 1960 - 2015)
Show HN: I made an app of Roskilde Festival's complete history with no code
This Easter egg is responsible for one of the most terrifying evenings of my life.

My first project in grad school was a visual perception experiment, written in Matlab. People were shown images that were either just noise (think static or clouds) or noise + a very faint shape, and asked to report which was which. The goal was to analyze the noise patterns associated with each response to identify how people recognize shapes (e.g., do you need all four corners to recognize a + sign).

I tested the task on myself first. It’s fairly late, maybe 9:30 or 10pm, when I finally get everything running just so. Sitting in our pitch-dark testing room, in the middle of a deserted floor of a medical school, I run the analysis code.
I’m expecting to see some simple shapes emerge from the processed noise; I think I used crosses, triangles, and Gabors as targets.

Instead, however, window after window pops up with the creepy, distorted face of that child. I was tired, hungry, and had just seen The Ring, so I did the obvious thing: I slammed the laptop shut and high-tailed it home.

The next morning, my labmate helped me figure out that I had written imagesc somewhere, instead of images, the variable that contained my results.

TL;DR: Typo terrified me.
In case anyone is stuck on older versions of Python for any reason, here are some backports of some of the listed features:

* f-strings: https://github.com/asottile/future-fstrings (this is a pretty crazy hack, all the way to Python 2)

* pathlib: https://pypi.org/project/pathlib2/

* typing: https://pypi.org/project/typing/

* enum: https://pypi.org/project/enum34/ (doesn't include any additions in 3.5+)

* functools.lru_cache: https://github.com/jaraco/backports.functools_lru_cache

* dataclasses: https://github.com/ericvsmith/dataclasses (3.6 only, requires ordered class __annotations__)

I'm half-expecting someone to come along with a hacked-up Python 2 backport for implicit namespace packages :)
I'm not sure to what extent YTMND itself would be archivable. The last I saw it it loaded frames with some Flash loader, which handled sync with the audio (as opposed to the very early YTMNDs which were just a gif/audio and text).

Places like tumblr and reddit are much more easily archivable as they're just text and image files, and now video files which with modern web standards can just be grabbed as is and put into archival systems with automatic transcoding as standards change.

I just hope whoever was running it at the end makes the archive publicly available.
The Game of thrones style commit message checker
VMware to Acquire Bitnami
Languages have foot guns. Most however don't default to being loaded and already pointed at your foot.
Build a SAAS app in Go (paid course)
My mother is Italian and I used to live in England which means I spent many summers in Italy as a teenager.

I also noticed that American teenagers seem to be very focused on the "let's make a group to exclude other folks" model. In Italy, however, the idea always seemed to be "let's include as many people as we can in the group!"

Case in point: one summer in Italy, there was a girl that no one really liked but she was always included in any groups activities. It was unthinkable that you would exclude someone just because you didn't like them.

I chalk this up to American "individualism" vs an older European model of "your town is basically an extension of your family". In the American model, what identifies you is what's different between you and someone else whereas in Italy, the group is how you identify yourself.

There are certainly pros and cons to both. E.g. "Going along with the group" can certainly lead to problems. On the flip side, rugged individualism can lead to the type of loneliness described in the article.
Your experience converges with mine.
If we insist on a system with exponential growth the natural outcome will be self destruction, no matter what technology drives this growth.
> but it's not of the right mix; it doesn't have the right political taste.

What's that have to do with the technology?
Tail Call Elimination
>> Surely that wouldn't be the case?

That literally was the case in 2008 with AIG
Climate change happens right now!
https://www.epa.gov/sites/production/files/styles/large/publ...
I've been using static methods in java that follows the pure function way, it proved very easy to maintain even to those who inherited my code later on.
Seem's like it'd have to be the "honor system". They could certainly add somethings to detect the software being used on multiple domain, but you could ultimately remove that if you were motivated to.
See https://news.ycombinator.com/item?id=19917166
It's been going since 2015. I doubt it'll ever really take off the way that Tor did.
>>> If an engineer signs off on a design that they know to be fundamentally unsafe

The problem is you don't know its unsafe. It sometimes takes a disaster to shed lite on a problem. Engineering and design is hard.
Why the downvote? This is a genuine question!
I used to live in Manhattan and there were certain parts of the city that would take more time to get to than my current suburban commute.

e.g. I lived on 42nd street and the west side and to get to the 20's on the east side might take me up to an hour walking.
RIP: Bitcoin Exchange Cryptopia Begins Liquidation After $15M Hacking
I prefer having the REST API running on a raspberry pi or a local server, that can proxy things to Google Cloud and back, just because in case something happens to the internet connection, your house is bricked, by having a local instance your system does not rely on your ISP for speed and availability.

I'd be curious of how do you update these devices, did you get OTA to work through an nRF24? did you need some external eeprom for that?
> PHP is only still relevant because of WordPress

There's also Drupal, which is very common in higher ed.
Nepal climber scales Mount Everest for record 23rd time
If you read the article, it's full of notes about "this was fixed in 5.4" or whatever. A decent chunk of the remainder has been fixed in the 7.x series, and some of the remainder is slated to be solved in the (as of yet, unreleased) 8.0 version.

Just scrolling through at random:

> A function’s return value can’t be hinted.

But of course, this has been incorrect for years. The next was fixed in 5.3, the next two be fixed in 7.4, the next was fixed in 5.4, etc., etc. Which is fine; it's an old article, and one which was deeply influential on PHPs development, but it's completely false to suggest that "literally every single thing in that post still holds true". Many are outdated.
and I would add "5) Higher density of nutrients"
I can't imagine how many peas you'd have to eat to get the same amount of protein that you would with the powder solution.
IIUC it's not a software you can download, but a blog where you post about virus removal.
Is this how the free market is supposed to work?
> Server are cheaper and vastly more powerful now than in PHP's infancy

Slightly off-topic, but I think that nowdays it's actually less of an argument than when PHP started becoming popular. The thing is, back in the days, statically typed languages were just bad and unproductive. Today, they are way better, and the fact that I can run my service on $3/month server with 900M of RAM and not think about the price tag at all is actually quite a decent argument to stay away from dynamic languages (but not the main one, tbh).
Resy Acquired by American Express
It's the same with industries like film in the US, only difference is the hourly rate gets to be pretty high after a few years of work and presumed advancement.
Conda with pipenv = great
Let's be careful with the whole 'Europe' vs 'American' thing. The difference between say Italy and Sweden or Russia is probably larger than the difference between Italy and some US states.
in GAME.C

domovethings()

fakedomovethingscorrect()

fakedomovethings()

getpackets()
That's an interesting question. I couldn't find any summary of the history of string interpolation. The first version of PHP in '94 had it. Bash predates that by 5 years and Perl by another 2, but I'm not sure about the initial feature set of either of those. The first POSIX standard for command interpreters is from 1992. I suspect the feature comes from early versions of csh in the early 80s.

However I think it's fair to credit PHP with introducing generations of programers to the idea.