skysight-inc/HackerNews huggingface dataset:
When it is a matter solely for the individual, that's fine.

If an "article" claims that exercise and vegetables are bad for you and that Brawndo is nutritionally complete, then it's tough luck for the idiot who chooses their lifestyle based on that post.

On the other hand, when the "Dey Turk Er Jurbs" crowd are persuaded to get the (metaphorical or literal) pitchforks out, then the tough luck falls on other people, regardless of the commitment to truth that those unlucky people have.

It is not my responsibility or even within my power to determine the veracity of what other people read, but other people can make decisions based on misleading content that have a negative effect on my life.

It is a tricky question, how to deal with "bad" content without putting too much power to define "bad" into the hands of either a nefarious or an incompetent actor who could make the problem worse. But you're just shrugging and blaming those who have been lied to for not spotting the lie.
Double woosh
And if you're using cat because it keeps the filename out of the way when editing the pipeline, then just put the redirect before the command instead, so instead of e.g.

cat file | grep pattern | sort -u

you can write

< file grep pattern | sort -u

and the filename is out of the way compared to

grep pattern file | sort -u
I don’t mind it being a desktop app but I don’t want users specifying database connection info and having a raw database view. Metabase has admins setup the database connection and then users go through the regular email/password access. You can create all sorts of custom data views (not sql views).. hah, this sounds like an ad. So, a simple email/password protected login possibly with 2fa and then allowing operators to edit results of predefined custom views is what I’m missing. Typically this is reimplemented everywhere
The fact that russian army shot down MH17 from occupied territory doesn't change much really.
To me, that they designed it to last that long, and it actually did, just makes it more impressive. Otherwise it would just be blind luck.
Also https://twitter.com/DavidCleevely/status/1095228159010791424 .
All cloud native networking options, including Cilium: https://landscape.cncf.io/category=cloud-native-network&form...

All service proxies, include HAProxy, NGINX, and Traefik: https://landscape.cncf.io/category=service-proxy&format=card...
HR Budgeting Tips for Small Business Owners
perl one-liners are pretty powerful and can replace awk/sed/cut/tr/etc. That being said, then you have to remember which command-line options you should give perl (was it -lane to do X, or was it -pie, or something else entirely?).

But yeah, the perl rabbit hole goes as deep as you want to, and in some sense it makes it more difficult to say "screw it, I'm redoing this in a real language" as complexity rises. And then you end up with a thousand lines of line noise.
Conduit – High performance lazy sequences using C++ coroutines
"What do you want your obituary to say?"

Is this really one of the questions?

So, it's funny, I tell people there's usually two kinds of people. Those that want to be a <X> and those who want to have been an <X>. The former enjoys the journey. The latter wants to skip to the end. This question seems like it is targeting the latter group. Shouldn't YC be trying to target the former?
My son (9 years old) goes to a special school one day per week. Another day he's in the school's own gifted program. He has to do the regular 5 day school week in the remaining three days. This seems to be working quite well.
Tado API Guide – Updated for 2019
Gary Bernhardt[1] gave a great talk about practical problem solving with the unix shell: "The Unix Chainsaw"[2].

"Half-assed is OK when you only need half of an ass."

In the talk, he gives several demonstrations a key aspect of why unix pipelines are so practically useful: you build them interactively. A complicated 4 line pipeline started as a single command that was gradually refined into something that actually solves a complicated problem. This talk demonstrates the part that isn't included in the the usual tutorials or "cool 1-line command" lists: the cycle of "Try something. Hit up to get the command back. Make one iterative change and try again."

[1] You might know him from his other hilarious talks like "The Birth & Death of JavaScript" or "Wat".

[2] https://www.youtube.com/watch?v=sCZJblyT_XM
100% troll comment but what other OS will allow for a modern, native and friendly GUI? :D
I really like the post, except for the conflation of brute force search and using recomputation as state restoration.

In my opinion, a brute force search algorithm is an algorithm that will explore the whole search space without any intelligent pruning of sub-trees (it will visit every element of the state space). Such an algorithm needs to use a state restoration policy, with three main flavours being saving undo-information (trailing asin SAT-solvers, Knuths dancing links), saving redo-information (in order to do recomputation), and copying (saving whole search states in each node) are all valid and useful. They can also be combined, with adaptive recomputation being quite nice in some cases (leaving copies of the seaerch state every now and then, closer togheter the farther down the tree one is).
I'm sorry but I have to point out the irony in showing so much disgust about a few lines of code that happen to literally say "I love you."
"Core support" in which sense exactly? It is part of the standard library: https://docs.python.org/3.7/library/venv.html
Switch class names like a boss with Deciders
Dreddit; the front page of the crypto-verse
I started my IT career in the late '80s...and the buzz of the day was SQL. All the money those days (consulting, I mean) was for dBase. But the limits were becoming obvious (scale, mostly) and relational db's were moving rapidly. Yep, when Oracle was just an RDBMS. To learn SQL... well, hit the library. Lots of boring stuff on "relational calculus", but nothing I perceived as valuable. I found Maier's book...and while it had a lot of math, there was enough practical content that the lights came on for me. After that, I found books from E.F. Codd and Chris Date...wonderful! If you want to nerd out on this stuff, find the more recent works by Chris Date. I recall having many beers over null. And wacky joins. I haven't had to write SQL for pay in years...but for me, SQL and RDBMS are a wonderful diversion on the occasion I'm asked to unravel an issue. For some reason, the relational model still makes sense to me...and I don't know if it is because it's the first formal model I worked with, or of it's intrinsic value. Perhaps you never forget your first love. Anyhow, my advice to people digging into this, is to install (or get access to) a reasonably complete RDBMS, and create/populate a few tables and attempt to predict what your SQL will return. This is a key skill. I see so many devs writing queries and testing them... and watching what comes back and then (somehow) thinking they've got it right. Sure, with a few dozen rows...but try that on several million records. Nope. At scale, you must understand the relational model in general, AND you must profile the RDBMS you are running by experimentation to see exactly how it behaves... especially around nulls, default sort orders, and joins. Not all RDBMS behave the same way... and this will surprise most.
what do you mean with 'edit options'?

We have a tool similar to metabase - this is seektable.com - which also can be used for as 'database viewer' where end-user can define custom HTML formatting for each value in the table; there are no values editing yet so it is interesting to hear maybe we can add something to make this possible.
A change in structure might be helpful:

$ ls data
0001.csv 0002.csv 0003.csv 0004.csv ...
$ ls algorithm_a
0001.csv 0002.csv 0004.csv ...
$ diff -q algorithm_a data |grep ^Only |sed 's/.*: //g'
0003.csv ...
Show HN: Cortex – machine learning infrastructure for developers
Sounds like s/he perfectly understood that, but still didn't like it. Often (always?) politics get in the way of actually getting things done in a smart fast efficient manner.
Yeah

>According to SpaceX founder Elon Musk, this design was explicitly intended to achieve full reusability of all rocket stages and, as a result, "a two order of magnitude reduction in the cost of spaceflight" (wikipedia also)

And they hope to make the oxygen and methane on Mars for the return journey, using CO2 and ice found on there plus energy from solar cells.

It will be impressive if they do any of those.
VC economics, the billion startup lottery
I run a remote team and would love to buy some of the tools these folks want to invest in.
This really interesting Business Week article from early 2017, "Is Emirates Airline Running Out of Sky?", is probably relevant:

https://www.bloomberg.com/news/features/2017-01-05/is-emirat...
About 10 years ago, I started to design a learning system like this. It was before I had heard of Khan Academy. The idea is like that, but on steroids. Imagine a wiki where every lesson is available as a lecture and in writing (and where possible, an interactive lab, either in app or in real life). Every topic forms a graph that is explorable via links to get proper scaffolding. See or hear a word or topic you don't remember or understand? Click and follow the rabbit hole. The system would provide different styles of lecture and reading that align with a given student's preference. Educators could upload new content and students could rate that content as to help the best content raise to the top for other students to explore. To advance up the tree of a subject, a student would have to pass quizzes and the system would identify the holes in the student's understanding and provide content to fill the hole.

Such a system could effectively flip teaching where teachers facilitate and help with questions while the software ensures the "best in class" content is provided and assessed.

I still think about building that from time to time, but life and work don't leave me with the time to start building that. 10 years ago, I got a little ways into the engine for it for an algebra course and that was it.
David Cleevely has a Twitter history going back YEARS vehemently opposing Brexit. For the American readers here, I would say it drives him more crazy than how Democrats feel about Trump + how Republicans felt about Clinton from 1994 up until the OK City bombing.

Anyway this was very clearly a political stunt. Many things are dumb about Brexit, and this was kind of a smart PR move for his view, but that’s all it is.
As far as I know, Boeing was selling smaller planes at a loss or at very near a loss and subsidizing it with the 747's. Hence Airbus made the A380's. The A380 was not meant to profit, but to stop Boeing from subsidizing other smaller planes.
France has a similar presidential system and even there are other parties with double digits votes. It's a purely cultural thing.

You could argue the duopoly prevents extremism by straightjacking the political options, but after the Tea Party takeover the GOP and now Trump, that has been thoroughly debunked.
Excellent point, haha!
I was expecting it to be the same algorithm in two different languages, but the Python version is a mathematical description whereas the C version is RLE-compressed.

Relatedly, there is this video on how to procedurally generate a 3D heart:

https://www.youtube.com/watch?v=aNR4n0i2ZlM
sounds scriptable; cool weekend project?
I like this article, but that's because it's confirming thoughts I've had myself. The main idea behind the article is that disciplined people usually just like doing the things they do, rather than forcing themselves to do them. You stumble on this same idea when you look into ADHD. People with ADHD have trouble doing things they're not interested in, but they can sit down and spend hours upon hours on something that does interest them.
Yes, so long as the government's actions ostensibly align with their own values.
I am clearly blaming Gmail for discontinuing IMAP support, which seems to me clearly as a foul practice of abusing dominance over the market via introduction of non-standard ways, while also halting support for the standards. They would perish if they were to do this as a small company, and make benefit out of it by "pushing" their products as a bundle, just because a sizeable amount of people are dependent on their services.
High population density cities in Asia inevitably create the same economic conditions as the hub and spoke model. Busy airports with high volume of traffic and high capacity rate.

All estimates point to the future where there will be multiple mega-airports with more than 100 million passengers in Asia.
even better:

a binary you can execute. on first launch you allocate space and bandwidth. Thereafter, it stays within configured paramethers and just seeds whatever the archive wants you to seed.
How does it compare to Sequel Pro (https://www.sequelpro.com/) that would make me want to pay?
Emacs plugin for automatic time tracking and metrics generated from y prog act
Choose Your Cofounder Wisely
This is beautiful software designed and implemented right. If you do use this then don't look back at other similar tools or you'll be sorely depressed to use them.

No, I don't work for this company!
Of course software can play a bigger role, but don't underestimate the importance of contact with human teachers and colleagues of high expertise, as well as feeling valued by other humans instead of making a virtual skill-level go up
I waited almost 3 to pick up my wife in Boston some years back because of the same issue.

If only they knew when those flights were arriving so they could schedule customs and immigration staff to handle the traffic /s
Open source plugins for automatic programming metrics
We're not talking about a general case situation though. We're talking about dealing with rather specific companies where a lot of money moves around. While laws against murder might not affect whether the general public kills one another, it probably does affect a business environment that is cut-throat.
> If these companies want to continue to make money (they do), they'll figure out a way to make it work.

Tell that to the Spanish people who used to use Google news or the Europeans that are now getting 451 errors on various websites.
I haven’t coded Perl beyond one-liners. What attracts me to it are its regular expressions. So much of Unix scripting seems to involve regexps. So I figure Perl+utilities is the better option compared to utilities+Bash.

I wouldn’t wanna use it for more than short scripts. Perl 6 might be fun, but it doesn’t seem to have a large enough community.
This is one of the many reasons I think PowerShell did UNIX philosophy better: you don't need to parse text because the pipelines pass around typed objects. You can kinda almost get the same behavior from some UNIX commands by first having them dump everything into JSON and then having the other end parse the JSON for you, but you're still relying on a lot of text parsing. Personally I think it is high time the UNIX world put together a new toolset.
not sure if Redis has such thing but the failover mechanism through key hashing by memcached clients (not on the server) is something simple and effective (if you have enough nodes)
Fascinating that this made it on to the front-page of HN. I feel sorry for this fellow in as much as his surname must cause some terrific confusion.

The King James version has remained popular as a result of its wonderful prose - to see someone approach the Hebrew Bible from a modern angle with the same intent is very interesting - I'll be having a read.
awk one liner:
ls | awk '{split($1,x,"_"); split(x[2],y,"."); a[x[1]]+=1} END {for (i in a) {if (a[i] < 2) {print i}}}'
Virtualenv and Docker have two very different purposes: the former basically sets the environment variables to isolate Python runtime environment from the rest of the filesystem, while the latter isolates OS processes.

No "languages have moved [...] into [...] Docker" -- it's just that you can isolate your running process using Docker, so any platform that runs a process (hint: all of them) can use Docker. Python virtualenvs have the primary purpose to isolate Python environment during development, and Docker is not the right fit for that purpose: one container basically isolates a single process, and when developing you want to be able to run a number of different processes at will: tests, code with or without debug etc. With docker, you either need a container for each process, or you can parametrise a single one, and each of those solutions adds unnecessary complexity.
The two functions from Python one: y = sqrt(1 - |x|) * sqrt(|x|), y = (-3/2) * sqrt(1 - sqrt(|x|)). How do they produce the desired output? Is there a way to construct such functions?
So what's going to happen if you write "nigger" that you're so unwilling to write it? It's not like you'd be calling someone a nigger, you'd be using it in a clearly informative manner,
> Modern, native, and friendly GUI tool for relational databases: MySQL, PostgreSQL, SQLite & more

For one, it's not just MySQL.
I've had a couple of flights with the A380. Basically once you are inside it's just another airplane that just happens to be big. I was on a A330 once as well and they are similarly nice and probably make more sense economically. I imagine the same is true for the 350.

The 747 can be OK but not if it's a decades old one in need of renovation/retirement. Lufthansa had a few really old ones operating between Frankfurt and Boston until quite recently. The difference with the A330 I had on the same route. But I'd take Lufthansa on a 747 over their partner United on pretty much anything. The last few times I made a point of booking such that I was on a Lufthansa operated plane both ways.

I'm guessing that the limiting factor for the airbus was that it needed specialized infrastructure at airports and that most smaller airports just never got around to bothering with that; thus limiting where you can fly with them. This was always a risk and probably became more of a burden when it became clear it wasn't selling well.
Fast, nice looking, cross plattform. Pick any 2.
Wow...I can't even begin to imagine how awful you must have felt. But, in hindsight, it's really cool too, in a weird way.
That’s three software companies, (Booking, SAP and Spotify) one of which I mentioned, one of which is a wholly owned subsidiary of an American company. I concede on Spotify, though it is worth one tenth of SAP.

I regret I was unclear, using tech instead of software. The top five most valuable companies in the world are all US software companies. The only European software company on that list is SAP. Oracle, Netflix and Salesforce also make the cut. SAP is worth 15% of Apple, 25% of Facebook, just barely less than Netflix. Alibaba and Tencent are in the global top ten.

China has big tech companies like the US does. Europe does not.

https://www.statista.com/statistics/263264/top-companies-in-...
Contact is in the profile, reach out and I’ll make the time.
My impression is that most schools don't like accelerating kids, because they can end up way too young among much older class mates in a completely different phase of their lives. The Dougie Howser idea is terrible; Dougie is not a doctor, he's a child and should get the chance to live as one.

Better is challenging children in other areas: find things outside the regular school curriculum to challenge them with. Robotics, philosophy, science, politics, or other projects that are interesting and challenging but don't make them bored about next year's school curriculum.

My son did skip a grade despite his school not being a fan, and he did so at a point where next year's curriculum would have been mostly a repetition of the previous year's. That would have been a recipe for boredom, so it makes sense to skip that. But other than that, he just does a bit extra in less time and gets other interesting challenging stuff to keep him occupied.

When I was a kid, my schools did nothing of the sort, and I ended up bored and demotivated. By the time I went to university, I still hadn't learned to do homework, because I never needed to. Turns out being able to work is rather an important skill in university. I plan to make sure my son learns it on time. But not by skipping too many grades.
One of my land-line numbers is so spam filled, i ignore it and use it as the default phone number for such antics.

I disconnected the ringer so it doesn't bother me.
Cheers. I get really cranky about my keyboard not working (twitter's web UI manages to break it under a bunch of circumstances, which aggravates me at least once a week) but I'm well aware that there's always a billion things that need doing :)
For actual text processing, I recommend a book.

* https://oreilly.com/openbook/utp/
So one which one does this fail in your opinion?
FWIW, there are other alternatives for entrepreneurs to get financing without giving up equity. MainVest offers Revenue Sharing Notes (RSN) and Equity-alternative Revenue Notes (EaRN) through Reg CF crowdfunding. Here are some examples of how they work:

RSN:
A $200,000 RSN that matures in 5 years and 5% of revenue is paid back quarterly until a total 50% return (i.e. the "cap") has been hit. In this example, the business is expected to pay back a total amount of $300,000 by paying 5% of their revenue to investors over five years. If at the end of the 5-year period, the $300,000 has not been paid, then the business has to pay the remaining balance at that time.

EaRN:
A $200,000 EaRN that matures in 10 years and 5% of revenue is paid back quarterly until a total 25% return (i.e. the “cap”) has been hit. Upon reaching the “1.25x cap”, the company then pays a smaller percentage (e.g. 2%) on revenue until the maturity of the EaRN is reached.

The entrepeneurs set the terms of their offering and investors in their community decide whether they would like to invest.

Source: https://mainvest.com/securities

Disclaimer: I am a CoFounder of MainVest.
Data science is different now
I didn't realize Canada had such a heterogenous national composition. Thanks for highlighting, and the poster below who linked to the wikipedia article on the provinces and territories.
That's three times you've declined to say how you really feel about them.

I'm starting to think my 'straw man' was pretty accurate :). Cheers.
Published an app on the App Store that tried to connect to localhost instead of the production API server...
>I think the history of capitalism, communism, and economics as a field of study are all too young to make such an absolute statement.

I'll agree with this statement on capitalism. But we know communism is a disaster. That won't change.