skysight-inc/HackerNews huggingface dataset:
Shameless plug. I published a little guide some months ago, on how to use GPG with keybase.io to sign commits.

Link: https://github.com/pstadler/keybase-gpg-github

Discussion on HN: https://news.ycombinator.com/item?id=12289481
> > X shouldn't get paid more just because they have children, sick or not.

> What is the moral basis for this claim? Do you also oppose welfare?

Those are completely different issues and I think the above commenter is right. Kids, sickness, mortgages should be as relevant to an employer as my potential affinity for expensive cars, audio equipment or playing golf. Which is to say not at all. The employee's value to the company is the only thing matters in my opinion. Should you be paid less because you opted for cheap living space and your coworker bought a mansion he can't afford? Of course not.

And don't get me wrong, I'm not indifferent to sick children - it's just that most other countries use social security systems like health care, financial child support, great public schools or welfare to deal with these issues. It is not the employer's responsibility to decide which misery is worthy to support.
If you really do not believe that, by your own logic you should never defend yourself or kill anyone. Because if you're not precious to yourself, others might be worth more.

Otherwise you presume either hard equality between everyone (easy to rebuke) and/or omniscience.

Or you revert to consequentialist ethic where only consequences matter. (Not essentialist.) From that place, going from basic utilitarian ethics you can show what sort of value certain human lives had.
I do work on my own branches indeed. But something like "git sync" would be nice, no commits, no mess for your collaborators or in your Git history, just my current work, safe on the server, to be synced elsewhere without formally committing anything so that commits can be real improvements that require a commit message. Git sync would be the equivalent of hitting ctrl-S working on a doc in a Dropbox folder. You hit ctrl-S, boom it's safe on the server. I'd setup git sync to sync regularly and allow you to go back in time, or if you want, completely back to the last formal commit.

Git feels so local and thus vulnerable to theft, breakage, power outages etc.
>Other than not going out, or not getting home, you didn't have many options.

I don't understand. Of course you do! Just go out and don't drink...!

When I grew up we would just take turns. A car seats 5, so you would be the driver every 5 times. That's not too bad...

You could still have a beer or two, or just have a sober evening and the next day without a hang-over.

Also, everyone knew the formula by which blood alcohol gets reduced over time, and how much alcohol would be in a glass of beer. At one rare event when I knew I would have pretty much maxed out my quota I once got in a police control and got tested at night. It was very accurate... I missed the limit by 0.02 per mill. I played a bit safer from then on, though. The limit in our area is at 0.5 per mill, but if you had an accident with over 0.2 you might already get in trouble with insurance coverage. Apart from the fact that of course the risk of having an accident goes up and can destroy lives.
Is it possible to do that kind of stuff (e.g. Einstein's Puzzle) in Haskell/OCaml/F# and how would one approach it?
Phones are already damn powerful, and will get more so.

Why should we all have to buy another completely separate computer if we want to use a mouse/keyboard/monitor, when we already have phones?
Ba-dum-tsssss...

However it brings up a funny story: the original name is Ovomaltine, not Ovaltine, referring to the egg (ovum) and malt ingredients (I think there's no eggs inside anymore). But there was a typo in the trademark application for UK early on, and the name stood like that.
It's still Ovomaltine in Italy, for example.

Now, on Wikipedia there is no source for this story, and it might be possible that they decided to change the name for easier pronunciation in English, or because the connection ovum->egg was difficult anyway, or other unknown reasons, but I want to believe the first version anyway.
I would just argue that dictionary.com has missed a context for sharing. Consider, "They shared everything." It's best understood as the reciprocal agreement to either partition or grant access to possessions.
I think it is simpler than that. That whiteboard interviews are stressful and people don't like the additional stress on top of the already stressful interview process.
Computers aren't special, rarified objects. Computers are dirt cheap, and it's simply more convenient to have lots of different computers lying around than to have to move one around.

No one has to worry if the compute core of the family room computer is available, for example- they just use the family room computer, which is its own separate device, and already affordable for nearly everyone.
About to offer my own personal HN heresy, after reading the original Paul Graham article: in reading many of his essays, am I the only person who gets the impression that the author has a major superiority complex about his own intelligence? Something about the tone, and sometimes the examples he chooses throughout his essays.
Also works in Ubuntu.
Carbon Design System
Dozenal clock
it means paid ads are coming back !!
asciiquarium and pipes, too.
I'am working on building a interactive Website with lots of JS and CSS3 animation and The platform built with Drupal 7.

Problem: I'am quite new in Drupal platform.
He will be the richest man in the world by 2020 I think.
You could push to a private git repo or server, that way you don't bother anyone, and then when you're in a clean state push to the origin
We have to eventually leave Earth if we want to ensure the survival of our race. A base on Mars that eventually can become self-sufficient is a great first step.
How are they going to do this? Can they enter his house and then search his computer and disks? Take anything and ask for his password to decrypt them? If they simply ask him, and he wouldn't want them to find these files, he could delete them or put them on an encrypted stick that they don't know about.

How does this work???
On GNOME 3 you can toggle between Windows using Alt + Esc.
> The most successful companies all use whiteboard interviews

Not much evidence to demonstrate that this is a significant contributing factor in their success. The five companies listed are pioneering behemoths that transcend the boundaries of rote startup analysis.

Personally, I'm of the opinion that whiteboard interviews are fine, but I think programmers tend to dislike them because the physical act of standing up to write code on a whiteboard is awkward and disconcerting, especially in the context of a high pressure interview. The skill of using a large unwieldy marker to render text by hand on a vertical surface requires a significant amount of practice and I think many programmers just resent the need to hone this skill which is mostly useless outside of an interview setting. Something like a written test or questionnaire with pencil and paper is much more well received, or more ideally an offline workstation running something like notepad that's hooked up to a projector or big screen.
> After all, when you write a function that returns an array, do you typically have it take in a boolean argument for whether or not to reverse the array's contents?

And the granularity of unix is much more course than a single function. Have you never written a program or application that returns the array and sorts it?
Because things can only be bad or only be good right?
Here is one of the most extensive collection of react resource that I often check https://github.com/enaqx/awesome-react

Also find some resources here: http://codecondo.com/reactjs-resources/
Maybe not on Mars, but in low gravity environments. Metallurgy in low-gravity is interesting.
Well...

"You shouldn't eat mud" actually felt like a bad example because it follows from some other widely agreed upon truths like "mud is indigestible" and "mud can contain things that can harm you".

"Red light means stop" is obviously a social convention. There's nothing inherent about red light that means stop, it's just a visual language that's become somewhat ubiquitous.

"Human life is a precious thing" is the most abstract of the three. It's usually treated as a basic axiom that doesn't need any further justification. The question isn't really "is it true" but "why do we treat it as if it were true". If you look closely the seams become apparent: what is life, what is a human, what follows from something being precious, etc.

The three aren't really three examples of a kind but three different examples of different kinds of truths we generally believe "because we were told so".
The cost of allocating memory and cheating like crazy for best performance
There are no fundamental reasons to believe that SpaceX can and will not reach a similar level of reliability.
You've chosen to raise complexity or "advancement" (snort) as the value pinnacle, but that's just your chosen value system. Any other metric could be just as true and consequently just as false.

If you have a red cube and a blue cube and a green cube, only one of the cubes is red. It is the reddest cube. Does being the most red make it precious? Is the blue cube precious because it is the most blue? The green cube? If you have a million cubes of all different hues, is each and every one precious because it is the most its-hue of all of the cubes? If each of the cubes is only mostly a cube, but actually deviates from being a cube in some way, is each one precious for being the most its-shape? But this one is the most pumpkin and the most missing-some-atoms-right-there! Ok, great. So what? So now everything is precious, because everything is the most of something? Let's congratulate ourselves and sing along with Monty Python, "Eeevery sperm is saaaacred....".

Or maybe being the most of something doesn't objectively carry any inherent value other than what we decide to put into it.
Because that is literally the single and only reason for their existence: to define and protect the Open Source Definition.

(I'm not sure if it's still a Service Mark or not, though it was at one time.)
Yikes. Most jurisdictions I've worked a clause like that would be entirely unenforcable.

In Norway, employer even have only limited rights to access things like your employer owned devices if they are personal to you, on the basis that it would be an invasion of privacy unless a lot of steps have been taken to prevent you from accessing or storing personal information on it.

Though in a case like this where they have evidence that implies wrongdoing, that would be sufficient to search equipment the employer owns or have financed. The barrier for searching private equipment is massively higher, though, and would normally require going to court.

Personally I'd never consider working for anyone that demanded a clause like what you outlined. I understand their liability concerns, but the at the same time if they won't trust me, then I can't trust them.
People still use twitter?
Do you want Warhammer 40,000: Dawn of War III? open beta allows to test
besides yourself running into cars, that try to avoid you... and run into someone else...
Because patterns are neat.

(I mean that less flippantly than it reads.)
Q: Why are so many people starving while a minority is endangering their lives by eating too much?

Q: Why are places that manufacture most things poor rather than rich?

Q: Why are so many humans dying all the time?
Are we forever going to be stuck with dumbed down, crippled hyper-consumerized phone OS's?

Meego died, Sailfish is bordering on irrelevency, Plasma mobile isn't going anywhere, and now Ubuntu mobile isn't happening.
IRS algorithm is screwed :)
What are some good Code editor with full support of Vue.js
I've been working on a project and I need to work on Vue.js as a new Vue.js programmer, I need a good code editor that can help me on my project?

Do you guys know some best editor that fully supports Vue.js (Snippet, Suggestion and color profile).
I had one of your business cards for a long time.

I may still have the shards it finally splintered into one day as I was rescuing a system....
Afri-Fi Win $75,000 in Funding at the Mozilla Equal Rating Challenge
If you can write C at the level of K&R, you'll probably be fine.

Hanson's C Interfaces and Implementations is another great book that would better prepare you for this.
Yes, but I preferably compose it of two functions: one that gets the data and one that sorts it.

Only rarely that isn't the right thing to do. For example: if the data comes from SQL, I tend to do the sorting in SQL, it I see that as a problem with SQL: it composes badly.
You should see British Virgin Islands.
How do you define precious? Would it be logically consistent to say "I'd like to stay alive, but I don't think I'm precious"?
How can I build a Nuclear Reactor in my backyard?
> Human life is the most advanced creation of evolution; the pinnacle of billions of years of evolution. No other life is as advanced.

This is a biased view of evolution. All species today are "the pinnacle of billions of years of evolution". Humans are not especially advanced, at least not in evolutionary terms.

There may be some argument to make about humans being especially intelligent, or something like that, but it has little to do with evolution.
> "It's about as close to objectively true as you can get"

I read that as you saying that "Human life is precious" is true, though maybe I have misunderstood. (Don't take this as that I agree with the other guy though).
I've booked cabs before going out (UK) and had the agree to meeting me at 2/3am at a specific locstion, and they just don't show sometimes.

I've had one no show über driver, and when he didn't show another showed up in his place.
I don't know how common falsified credentials are in school administration, but I'll mention a parallel experience that was a formative part of my upbringing.

While I was in high school, my father taught at a small private college in Wisconsin, where he was on the hiring committee for the new college president. After being hired, the chosen candidate's behavior was surprisingly erratic, prompting my my father to continue researching his background.

After a bit of digging, he found that the new college president had falsified almost his entire resume. Thinking he had solid proof of this, and not being politically savvy, my father presented his evidence to the other faculty who had been on the hiring committee.

To his surprise, he (rather than the fraudster) was promptly fired from his supposedly tenured position for "gross insubordination". Shortly thereafter, the "fake" college president pocketed the proceeds from remortgaging the college dorms, drove his college provided little-red-sports-car out of town, and was never heard from again.

Embittered by the lack of backing from his purported colleagues, my father never returned to academia, and instead turned to odd jobs and house painting. Not long after, the college lost its accreditation, and went out of business: https://en.wikipedia.org/wiki/Mount_Senario_College.
FIX – sudo: add-apt-repository: command not found
Good post.

Since we're contributing taboos, here's my offering: Prolific commenters on Internet message boards tend to be less professionally capable and not more. High HN karma is evidence of poorer impulse control and time management, and most importantly, less time spent on the day job. For each person who is a prolific commenter, an identically appearing person who comments less is likely to be the better source of knowledge. Equally importantly, the perspective of these people is hopelessly skewed by the community they're in.
The workflow is entirely up to you and your collaborators. "commit" does not have be literally a commitment. Try branching on your branches so that you have the freedom to experiment.
I do basically what the parent suggested for all my git work, i.e. it's my workflow. Call your branches wip-* to signal that you'll be using it haphazardly, don't bother doing "clean" commits while working (just commit stuff whenever you feel like it or when you might want to backtrack an experimental change, use the message "wip" or whatever). Push to branch whenever you want a "backup", e.g. when moving to a different machine.

When done, clean up the history[1], push to a different "real" branch for review. Delete wip-* branch.

Unless people have actively checked out your branch locally they shouldn't have any "mess" on their end. (They'll have a remote branch listed by "git branch -r", but all of those can be cleaned up periodically with a "git prune ...".)

I haven't heard any complaints so far. (I've been doing it this way for 4+ years, I think.)

[1] I usually find that it's easier to split/clean up after the feature is almost completely done and ready for review. When I'm "in the zone" I don't want to have to suddenly switch to the "cleaning up history" mode.
That's no horse, that's a nag!
Wholeheartedly agree. Making my own lisp was an eye opener on how programming languages work - and that's after I've read a lot of theory on the matter.

By the way, is there are similar resource for building your own relational SQL-based database?
Why Netflix replaced its 5-star rating system
At least in London people are saying these apps are adding to road traffic and congestion, so the extra pollution (by other traffic being stuck also) might be harming health and causing early deaths to balance out any lives saved by stopping drunk drivers.
Take note of everything
I mostly agree with you, but wanted to note that the money they spend doesn't get "burnt". Spent money gets just moved around, it isn't destroyed. And a significant part of the money spent on climbing Everest stays in Nepal - an extremely poor country - where it can maybe do some good.

Edit: Typos
Self interest. You can't control other people, but you can participate and propagate (hence strengthen) social norms. Unless you believe you and the ones you care about will always be in power, it's good insurance to propagate the belief "all human agglomerations are equally precious". (Same exercise as "which world do you want to live in as a rational being")
So if you get 3k karma from this comment, what would that mean? :)
"You shouldn't eat mud" actually felt like a bad example because it follows from some other widely agreed upon truths like "mud is indigestible" and "mud can contain things that can harm you".

Being indigestible or possibly containing things that can harm you do not mean that you shouldn't eat mud. They mean that eating mud might hurt you, which is not the same at all. If anything it's a bad example because it overlaps with the assumption that human life is precious.
I completely agree. I wonder how self driving cars (i.e. no driver to watch you) are going to change that. The consensus is that we will be using shared cars as opposed to owning your own car. But if the tube in London gives us any indication, when you order a self driving car in London on a Saturday night, you are likely to find it covered with vomit and other bodily fluids. I do believe that owning a self driving car will still be a thing. (and for another reason: everyone will need it at the same time).
And, to be fair, humans might end up wiping each other out via chemical or nuclear weapons, while ferns and tardigrades and bugs survive, so maybe we might not be so advanced after all...
You can get the full 32-bit result in only three multiplications using https://en.wikipedia.org/wiki/Karatsuba_algorithm , but it requires more additions.
They're not always unlicensed. In the U.K. all Ubers are licensed private hire vehicles.
Imago Dei is basically "I am precious because I am precious to God (as is all life, especially humans)". I could also say that I am precious because I am precious to my parents.
"hated", as if it were a thing to enjoy.
Hanami v1.0.0
> It's also a value judgment that virtually everyone would agree with

The interpretation of this judgment has varied a lot across the times. Historically, in less individualistic societies, I think that the loss of human lives for the good of the group was considered less taboo than today. There were also different interpretations of what "human" meant, obviously, with the life of slaves, strangers, women, different-looking people, etc., being less precious.

People from the future could find that they disagree a lot with our current interpretation of "human life is precious". Western societies today don't seem to care much about the fact that human life in most of the world nowadays isn't "precious" in the Western sense, so this might be a shock to someone from the future. More generally, we are fine today with the fact that everyone dies eventually, whereas a futuristic society having achieved practical immortality would perhaps see each individual death as a catastrophe.
One would assume that harvesting energy is practical (sans the launch cost), but practical way to transfer the energy back to the earth is the unsolved problem.
>> It's been taboo for a long time to cast aspersions against the church

Perhaps in Catholic countries but never in protestant countries

https://en.wikipedia.org/wiki/Anti-Catholicism
This is the best method in my opinion. Back up simply by

git push backup my-new-branch
Surprised nobody commented on bb yet. This thing is really impressive - and I thought that mplayer -vo caca is jaw-dropping!
Sure and thanks for the wait!

To give a bit of background: I run a service for some folks that allows them to get status messages. Some of my users wanted stats on the kinds of messages they received. My first implementation was quick and dirty: shell scripts which would run filters and aggregations through combinations of grep, sort, and uniq. Eventually as more demands came in with different types of functionality, this became unscalable, so I wrote an analysis engine in Prolog.

Problem: Find status lines that have valid "http" links in them.

First attempt: SWI Prolog contains a goal sub_string/5 (http://www.swi-prolog.org/pldoc/man?predicate=sub_string/5). The goal is invoked as: sub_string(+String, ?Before, ?Length, ?After, ?SubString). I was storing status messages in the Prolog database wrapped in the "status" dynamic goal, so a status message looked like: `status("hello world")`. At a Prolog REPL, to query for all status messages, I could match along the goal `status(X)` and all bound instances of X would be the messages.

I created a DCG and wrapped it in a goal called `parse_http_string(String)` which would evaluate to true if `String` was a valid HTTP string. My first attempt was a goal like:

`status(String),
sub_string(String, _, _, _, Needle),
parse_http_string(Needle)
`

This is an O(n^2) query. We first bind `String` to a status message, and the `sub_string` predicate will match _all valid substrings_ of `String` and stuff it into `Needle`. `parse_http_string/1` will then run on `Needle` and return true when the goal succeeds on a substring.

This was slow, but the query wasn't used very often and it worked for my customers.

Second Attempt:
I realized that all HTTP links started with the text "http". By searching the status message for the string "http" and then starting the substring search at the starting index at the beginning of this match, I'd only be doing an O(n) search of substrings (because I'm only varying the end index of `sub_string/1` rather than both the start and end index). The modified goal looked like the following:

`status(String),
sub_string(String, HttpStart, _, _, "http"),
sub_string(String, HttpStart, _, Needle),
parse_http_string(Needle)
`

This produced the expected O(n) algorithm, despite only adding a single line and modifying the next line. This also made the query a lot faster, so I could rest easier when my customers began to look for links en masse in their status messages! (Which they did, as surely as any product you hand to users ever scales).