skysight-inc/HackerNews huggingface dataset:
The beefiest you can. Exactly.

A 2U or 4U server is $10k to $20k. You're going to fit all you can in the box, including a minimum of 512GB of memory.

It's not just about license costs though, it's about hardware costs and capacity management. You want to have as few servers as possible for a given capacity, it's easier to manage and cheaper. You must have VmWare to abstract the hardware, a bit like AWS. You work with virtual machines and it packs them on the hosts.

Last I bought it but that was a few years ago. VmWare was $5000 per node for the full package. There was a free edition limited to about 100 GB of memory, but without cluster management and live transfer of running VM (vMotion).
Ask HN: How to start learning Machine Learning in 2019?
emacs is a great OS but for text editing I prefer vim.
> vs. spying on its citizens (which is never ok).

Yet everyone does it. The NSA snoops up everyone and their dog, same does GCHQ, same does the BND, same do the Russians and Chinese for anything they can get their paws on.

Doesn't even matter if it's own or other countries' citizens - the NSA simply asks BND or GCHQ to spy on US citizens on their behalf, and vice versa. Laws meaning to protect citizens from their own secret services are for all practical measures null and void.
The entire economy is Fyre Festival
Now we can keep X% of the knowledge of humanity on a portable device. That should help.
In all seriousness, I'd prefer to edit code in Sublime Text, or if I want something on the CLI just use vim. All I really need when I'm messing with a bash script or something is some syntax highlighting and I'm happy.
I'm personally also not sure if space tourists would be referred to as "astronauts" (which might only be the crew).
Posts like these is where I realize that the average HN crowd is just way too rich. $500k in liquid savings? $1M nest egg before starting? That's an exit event for me.

So many of the entrepreneurs I know just started with whatever money they had and just made things work somehow.
I think you are missing the point, the argument is AI ethical isn’t the same as can AI be ethical.

AI is a tool, and while you can say some tools are easier to abuse than others it has not baring on their ethics since tools have no ethics to begin with.

And the leverage or force multiplication you get from a tool is directly tied to how easily it can be abused but also to how useful it is to you in general.

Is a gun less ethical than a siringe because it can be used for violence? How about siginges fuling the drug epidemic?

Are nukes less ethical than conventional weapons?

Were the looms that the luddites seek the destroy unethical because they put people out of work?

Should we consider combines and modern agriculture unethical because they drastically changed the balance of power of various nations?

Ofc not as all of these arguments are silly and flawed once you actually begin to deconstruct them.

This has nothing to do about gun control I have no problem controlling guns because I don’t want to get shot and if someone does break into my house I prefer them not to be armed.

I also prefer the police not to be armed at all times because I think that it’s just as important not to bring a gun to a knife fight as it is the other way around if you don’t want to escalate things.

I have no problem of regulating the application of AI when necessary.

However it does not mean that I think that it has anything to do with its ethics but with ours.

Some uses of AI could be deemed by society to be unethical for the same reason that society deemed that harvesting the organs of a random person to save 5 people is unethical because people wouldn’t be able to function knowing that they might be harvested at any moment.

So if we bring this back to AI it’s not that I would think that say an AI run mass surveillance system is unethical because I’m not sure if the AI can make ethical decisions I would consider it unethical if society wouldn’t be able to function well under it.
Guess the US will need to add a tax on all European cars.
Show HN: A drop and drag web builder (desktop only)
interesting pattern when you zoom out - most of planet density is concentrated in a sorta 2pm clock direction (or around 45deg clockwise). Wonder why...does that coincide with the direction the Kelper telescope is looking at mainly?
$450k is approximately the package (salary, bonus, 1 year of RSU vesting) for the “career level”, the point in the ladder that all devs are expected to make if they’re not fired. AppAmaGooBookSoft people can tell you the exact name of it at their firm.

It’s not insane, it’s the market.
I quit my job to start a startup while having a family and kids and I consider it a mistake. I’m not sure it would have changed the outcome (successful exit) but it caused a lot of extra stress, and I can safely say that I didn’t quite know what I was doing and it would have been better to have a stronger plan (especially marketing), a longer runway, a more complete prototype, and more evidence of a market, before I took the leap and quit my job. All those things can be done on the side while holding down a job, even with a family. (As long as the job is closer to 40 hours a week than 60 or 70...) $1M is a nice runway, but most people don’t have that, and even with it, the more you have locked down before you quit your job, the better.
Wasn't there some kind of art project by a rich millionaire in the end of the '90s/start of '00s which was kind of like a hacker space, but everything was recorded with cameras? Does anyone remember the name of it?
One wouldn't know about the best code they have inherited because beautiful code denies its existence so perfectly.
I also do a bit of affiliate marketing on the side. It's not much, but my site just crossed $1k/month December. I've worked about 20 hours on it since this year. My total investment on it is about $800, excluding my time.
Is that happening? Are service workers in SF paid a living wage?

Or are people like fast food workers being paid minimum wage and commuting 2 hours?
This seems to be a perfect use case for GNU Parallel[0] to download and process, say 10 ids, in parallel. If you have already downloaded/processed and have no need to do it again, then probably doesn't matter now.

[0]: https://www.gnu.org/software/parallel/
What evidence is there that this 1 sample is average? I don’t think it is.
I think the argument is that with Brexit it's easier to change laws because you only have to deal with/convince one government instead of 30+ ones.
Highly recommend Steph’s blog post, she puts it much better than I ever could.

Totally agree that could kill the idea of doing both. At times employers have made folks sign very strict contracts, most though would not stand up in courts as long as you never use their equipment and never do it on work time.
That wouldn't prevent some of the shenanigans described above. For example, giving my IP away for cheap to a subsidiary in a low tax jurisdiction that actually performs the sale.
A better title would be the subtitle of the article: "The npm Registry uses Rust for its CPU-bound bottlenecks".

Note that only one service (authentication) was rewritten from node to Rust.
Show HN: CLI Tool to Send Newsletters
No surprise here, good language design pays off for real world applications especially at scale like the NPM infra.
I would not describe HN (or Reddit as a matter of fact) as addictive.

For me, HN is about the quality of content and quality of the comments on the said content.

It’s almost like no matter how obscure something is, if it’s interesting enough to hit the front page you’ll have at least a couple of people that have deep expertise on it and can give you their honest opinion.

It’s also about discovering things and learning about things you already knew.
Simple Secrets – Emacs-based password manager
I think the genesis of a lot of the cooling arguments goes back to just one article in National Geographic:

http://www.wmconnolley.org.uk/sci/iceage/DSCN1557-nat-geog-1...
Hi guys,

I've been working on this web builder, with the goal is to be able to just drop & drag to create web apps (current only build static websites with animation)

Your feedbacks are appreciated!
Lots of discussion here, but is anybody here working on a negative emission technology that might help? Would love to hear about it!

We’re working on carbon negative industrial hydrogen at Charm Industrial, and we’re hiring: https://www.charmindustrial.com/about
The problem is that we already have regulations to avoid broadcasting on restricted/licensed bands.

In general, current regulation makes the owner of the equipment responsible for the broadcast.

This new regulation will just stifle development on SDR technologies
Impressive that you quit on your own and see the important things around you that will keep you on the path to get those for yourself. You should be proud. Hats off to you.
whiteboard = artificial. I don't agree. When I interview I don't expect working code on WB, I expect discussion about what is written there. Also I expect when interviewed that there will be discussion about approach I took.

WB usage is also testing presentation skills. It is used in companies when you want to present your ideas to others, etc.
We have enough measurements to do reasonable estimates of the monthly average temperature in one region of the UK (with a bit of finagling), but that doesn't help here. This record high is effectively the maximum temperature at any location in the UK, which is something that can only be determined with a widespread network of temperature stations taking multiple measurements a day, and we didn't have that until relatively recently.
All communication companies have a similar quote.
https://www.ericsson.com/en/about-us/sustainability-and-corp...
Didn’t knew NPM had a speed issue.
Amen.

I think your story is important and why I think we should be pushing people more to this sort of arrangement.

Even VCs will never give you a penny without first quitting your job, but honestly some of the seed stuff I don’t see why one couldn’t do both if there is promise.
Can anyone comment on how this interacts with the idea of the single market? Why can Google Ireland Ltd. be charged a special tax for doing business in France?

In my (limited) understanding I thought this was not supposed to happen, and that most goods and services could automatically be sold EU-wide. France could not charge import duties on Guinness trucks, nor demand that beer good enough to be sold in Ireland is not good enough to be sold in France.

(This does not sound at all like the usual discussion of the tax on multination's profits, and whether declaring that your business unit in the Bahamas actually made the profit is avoidance or evasion. It seems to be a brand new tax on some kinds of business-to-business sales.)
I believe that national origin can make a human a cosmonaut, taikonaut, or spationaut. Are those also astronauts? Not sure.
Example to Call Functions of Other Class from Current Class in React Native
Ubar and airbnb are commercial services. The people living within this system have absolutely no control over the definition of "good behavior." there is no opt-out. The idea that such a system could be used for anything except abuse is laughable.
In the example above the American company presumably has most of its employees in the US and ought to pay significant tax there somehow.
>They only have to win once, you have to be vigilant and win every single time

The law is not a blockchain ledger. If bad law gets in, it can also get removed later.
Isn't PPX supposed to replace Camlp4?
Can you give example of several useful tools in the MSSQL garden?
Jake started Altair, a declarative visualization library that is becoming quite popular. Check it out at https://altair-viz.github.io/.
The Interesting Double Standards in the Piracy World
These are being built all over the place and I can't help but wonder how they will stand the test of time.

This article explains that many of the large skyscraper structures are being built with new material known as Cross-Laminated Timber (CLT).

https://www.popsci.com/article/technology/world%E2%80%99s-mo...
Title could be improved, as I was wondering if the command line tool npm had itself been rewritten.

It’s actually one of npm’s web services that was rewritten.

FTA: “Java was excluded from consideration because of the requirement of deploying the JVM and associated libraries along with any program to their production servers. This was an amount of operational complexity and resource overhead that was as undesirable as the unsafety of C or C++.”

I find this comparison a bit odd. Even if not using containers, the JVM isn’t hard to deploy as distro package managers include it. Unless a team is managing servers manually rather than an automated tool this doesn’t seem that complex. Am I missing something here?
Feel free, it exists to be read. And you just gained a subscriber.
Removes paywall, and reduces page load 91% - from 3.93MB to 349KB, uses zero JavaScript: https://beta.trimread.com/articles/215
Top books discussed on Stack Overflow and other Stack Exchange sites
Funny enough, I posted an animated plot on Reddit generated using the Matplotlib xkcd style a couple of months ago and the top comments were about the choice of font - for people not familiar with the xkcd comic, this seemed to be distraction point.

https://www.reddit.com/r/dataisbeautiful/comments/9wcsm5/dis...
I had a task the other day to aggregate some logs. So I wrote a one liner, which did most of what I wanted. I took about 4 minutes to run.

Then I decided to run it on larger dataset (because I needed too). Like week of logs, not a day of logs.

While it was running, I wrote rust CLI, which was working like
`cat /*.log | logparser` and did one day in 12 seconds, and a week in a two minutes.

And I gave up waiting on awk, btw. It is not always better to use command line. If you have gigabytes or tens of gigabytes of data, it would be easier to write some cli tool to help you out.

Also, it was much easier to put significantly more complex logic into it because of type checking, and, you know, being actual high level programming language, not hack&slash awk script.

EDIT: Looking back on my "one liner" vs "rust cli" I would not be able to make meaningful adjustments to one liner comprehension. It is, to my sorrow, write-only thing.
For a host providing a free service that they have to pay actual money to run, and having a finite & non-advertised limit on disk space, it makes sense to put a heavier mental price on large files, so that a 1GB upload actually does feel heavier to the user than a 1KB upload.
It may be a good message, but it's so hard to take it through such a condescending and off-putting way of delivering.
Kudos for being extremely financially astute about the decision. But I can’t help but ask - why not just move to a cheaper location? With 1.4 million, you can more or less retire / have a runway of 20+ years if you didn’t live in one of the most expensive metro areas in the country.
SQL Joins for Scala Maps
I'm writing an Electron app too:

https://getpolarized.io/

We're pretty far ahead so you could probably look at the source code repo if you want to look for ideas.

Anyway.

Do this...

Create a public/private key pair. Require the user to enter a 'key'. The key is just ascii armoured encrypted data from the private key. Just make sure the key validates.

They're competitive body builders not alpha hackers. Just obscure it in some way and you're probably good.

This system works offline too since you distribute the public key with the app.

The ASAR stuff in Electron has some obfuscation related framework but I haven't looked at it much.
A key feature in many obfuscated corporate structures designed to avoid tax is differing corporate structure declarations in different tax juristictions.

As companies are made up of many different sub companies by declaring your corporate structure as one way to the US tax authorities and another to the, say, Luxembourg tax authorities you can make intra group loans appear and disappear from different sets of accounts. And as a result the costs and, crucially, income from those 'loans' materialise wherever you want. Or not appear at all.
If you're interested in reading more about the subject of AI and Ethics or AI and Fairness, I kindly suggest this reading list I've been working on for a while: https://github.com/chobeat/awesome-critical-tech-reading-lis...

There are also other topics but it's intended as a primer for engineers interested in understanding the social problems created by new technologies.
Yet, many don't start anything, despite wanting to.

Financial "success" brings with it a problem. Suddenly there's more to lose than to gain. Once you realize you've "won the lottery" and you find yourself with a nice nest egg, you start worrying more about losing it, than about using it to gain some benefit.

It took me quite a bit of mental effort to break out of that myself. My approach was to mentally write off everything that wasn't super important to me. This helped me to stop worrying about losing my nest egg (and my career), and start taking speculative risks with it.
If I have a choice between dealing with it and not I’ll choose not every time. It’s an annoying dependency that got even more annoying when Oracle decided to be a pain in the ass. Just because something is “easy” doesn’t mean it’s easier than the alternative.
To quote Scott Adams, why are people seeing a single data point as evidence for climate change, when those same people deride the alt-right for seeing cold weather in April in their town as evidence against climate change?

It's behavior like this, reeking of bias in which singular data points count and which don't that gets the other side to think climate change is just a base/faith political belief instead of something derived from evidence.

Even the article itself is editorially-suggestive. The question is posted throughout the article "what fraction is due to climate change? we don't know!". A single record-breaking 20C day above a trend of say 5C is 15C warmer, whereas the best guesses for the magnitude of human-caused sub portion of global warming is about 1C. The quote in the article say says the warm record is largely due to global warming is totally misleading in the R^2 technical sense, and even needs to be couched in the technical language of "well the trend of warmer temperatures..."

For full disclosure, I believe climate change, but also that these singular data points have very little information value.
I’m mixed on this if you use tools like GitHub or gitlab where it’s fairly easy to navigate the history so my rule is picking a quiet time to autoformat (i.e. coordinating open branches) and then marking the commit clearly as having no other impact so people can avoid reviewing it line by line.
Editorialized title. Don't do that.
The thing is though that we don't have the ability to setup starter projects for any language that anyone might use.

For one thing because we don't know every language and every type of project you might use. For instance I don't think we have anyone that could setup a JavaScript SSR app. I certainly have no idea how that works. I am not a JavaScript developer. If you want to solve our challenge that way then you are certainly welcome to do so, but in that case you would need to set it up yourself. If setting up a JavaScript SSR is time consuming or a major hurdle to you then maybe use something else? If we where providing starter projects JavaScript SSR wouldn't be one we would offer anyways.

CMake isn't that much to set up for simple projects if you know CMake.

I personally think it is fair to include project setup in this test, because it will show me how well you understand the tools you use.
Censoring Self-Harm on Facebook Might Do More Harm Than Good
The usual solution is a "General anti-avoidance rule" (GAAR). This doesn't get into the intent of the tax law, only into the intent of the business action. If there would be a simpler, more natural, and otherwise cheaper way to do it, but it's been done a particular way to avoid tax, then it's unlawful.
The camps have many uses. People of chinese heritage outside china fear them more than many inside china, where media controls mean few realize the scale. "Do X or your grandmother goes to a camp" is a hugely effective tactic. It is evil and not yhe fault of the NYT, but articles like this one are part of that fear.
Nice that it went flawlessly, the first stage landed back well, and they reached the ISS a bit ahead of time. They even did some intentional back and forth maneuvers to test the dragon. Do they need more tests before the manned flight?
>Austria and Switzerland for instance push for this.

This is the kind of law that's only pushed by wealthy countries like Germany or the UK. I live in a shithole which would never get a law like this. Getting rubbish like this, net neutrality, copyright reforms, etc. would never happen here on its own because we have much bigger fish to fry.
I know you cite burnout but maybe take the time to develop one or more side business of your own and try to make them profitable enough so that year off becomes permanent. It's different when you do the job for yourself rather than an employer. You set the pace, stress, at least for me, was non existence because I didn't I herit it from others around me. I took 7 months off after 7 years in a startup I built. And during that time I built a new business and redone an old one. They are not profitable enough yet but I can see them becoming so. The hardest part is to find a niche to fit in but you can do it by looking back and finding ignored pain points you think people would pay a small amount to have removed if given the option.
This will also help you develop new skills. Maybe reignite some passion for coding.
Karat is a Seattle-based startup that conducts software engineering interviews on behalf of top engineering organizations -- primarily first-round technical interviews. Quickly-growing companies can spend a significant fraction of their engineers' time interviewing; we help take the load off.

We are a well funded and quickly growing startup. Due to this quickly-growing demand, we're looking to hire more Interviewers, Software Engineers, and Data Analysts.

Freelance Interview Engineer - Remote - 7-40hrs per week
Apply here: https://grnh.se/72443c0e2

Senior Software Engineer - Seattle - Full Time
Apply here: https://bit.ly/2EHFNuB

Software Engineer - Seattle - Full Time
Apply here: https://grnh.se/3179fedf2

Data Analyst - Seattle - Full Time
Apply here: https://grnh.se/90a4d5732

Questions? Email cate@karat.io
HN has a wide distribution of folks at different career stages, employers, career tracks in the tech industry (and a substantial contingent outside), geographies, etc.

Well-compensated engineers at AppAmaGooBookSoft do quite well for themselves. I hope we can temper “This is not a situation everyone has” without swinging over to the common “... they must be lying about that then” because knowing true market conditions is instrumentally useful to many, many HNers.

Many here started businesses with substantially less; I think I had maybe $2k to my name when I went full time.
Basically an Amazon shopping list for them to make money off comissions.
Why moral imperative? Perhaps you mean ethical or legal, but is not even legally required, so far as I know, that a corporation must maximize return to investors.

More broadly, society created the concept of the corporation and imbued it with valuable privileges such as limited liability and a potentially favorable tax regime. Some argue it would be morally reasonable to require it balance the interests of stakeholders.
To Wash It All Away (2014) [pdf]
New way to turn carbon dioxide into coal