skysight-inc/HackerNews huggingface dataset:
Without the annoying ads.
Source: AMP, no Javascript, CSS, etc. http://www.nydailynews.com/amp/life-style/remembering-iconic...

http://assets.nydailynews.com/polopoly_fs/1.3829857.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829858.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829859.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829860.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829861.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829862.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829863.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829864.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3830702.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829866.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829867.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829868.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829869.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829870.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829871.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829872.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829874.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829875.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3829877.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3830092.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3830093.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3830094.15191175...
http://assets.nydailynews.com/polopoly_fs/1.3830095.15191175...
Inching closer to a DNA-based file system
Like a broken payment system that takes hours for a confirmation, north of 50$ of commission even if you are transferring a single cent, instantaneous theft of hundred of millions USD and countless hard forks?
I would say I’m very, VERY lucky of not being part of this small niche that apparently burns more electricity than me, my children, my grandchildren and so on until the 50th generation and over...
> The obvious takeaway here is that the city/state/province does not care.

Another problem:

Zug Island is in Michigan (US).

Windsor is in Ontario (Canada).
To avoid the difficulties with reflections, maybe triangulation with drones up in the air could give at least an area where the sound originates from.
> AMP is also extremely slow on desktop browsers that have certain ad-blockers installed. If 3rd party scripts don't load, the user gets a blank page for 8 seconds. (Try it if you don't believe me.)

AMP stands for Accelerated Mobile Pages. Being extremely slow on desktop browsers with certain ad-blockers seems like an edge case of the least importance.
The pattern is to handle form fields locally in the browser as part of the application state.

Basically, the value of the input is tied to a "state engine" that acts as a single source of truth and when the user types in the input you'll update the state so that the rest of the application can know what's going on in the form without accessing the DOM.

The state engine is a fancy word for a variable that has a special setter function so that the changes can be reflected globally.
He responded to another comment which asked why he is homeschooling, if you're interested.
Yeah, we were running the 14TB Hitachi FMD flash drive modules and list price (which nobody pays, I hope) was like $44k a pop. Couple trays of those things runs you $1M easy.
UPDATED: TLExtract 3.5
As I look this over a couple things really jump out at me...

1. VCS tags are mutable. That's lock files store revision ids. Go is being used to build immutable infrastructure but the proposed package management system uses mutable versions.

2. The proposal is less featureful that dep, npm/yarn in JS, composer in PHP, maven, crates for rust, and others. I wonder how people will react to that.
...or:

"I was in rush to take advantage of a valuable offer I just saw at the last stoplight" ...
I think it's maybe three things.

1. The industry is retooling from HDD To SDD, but they apparently can't keep up with demand for SSD's. So the prices are artificially high.

2. Demand for faster, denser, and lower power SSD's are coming from the cloud providers. So rather than incremental price decreases over time, we're seeing the prices are staying the same, and we're getting incremental technology improvements. The V-Nand technology is the hot new thing, enabling 2TB of storage on a single chip.

3. There's no more serious innovation on the HDD's since SSD's will likely eclipse HDD's in 2021.[1]

[1] https://www.statista.com/statistics/285474/hdds-and-ssds-in-...
A lot of this seems to hinge on "go get" being the best way to get Go source code. Most discussions I've read so far come down to "well, this might be cool, but it would break go get, so we cannot ever do it".

I for one could live without go get alltogether. In 99% of cases it boils down to a simple git clone anyway, which could (should?) be done by the package manager anyway.

Maybe it's time to re-evaluate the existence of go get, now that we're seeing that "just clone master and hope nothing breaks" has obviously not worked for everyone outside of Google? Maybe bundling Go (the compiler and linker) with tools for fetching source code wasn't such a good idea after all?

Just my 2 cents...
I bought a place several years ago in Seattle, where the market has been going up like crazy. So has the stock market. Between fees, interest, and opportunity cost of my down payment in the stock market, I'm not sure I've financially come out ahead if I were to sell today. However, non-financially it's been great. I've had stability, a place I can make my own, and haven't had to deal with a landlord. Buying a primary residence as an investment is far from a sure thing. But it might be the right call for other reasons.
Not to be a jerk by pointing at a innocuous typo... but "Mr. Besos" put a huge smile on my face. Especially since "besos" means "kisses" in Spanish.

Mr. Kisses sounds even more ominous!
> which is an extremely tiny portion of people clicking links on the internet.

Most people don't know enough about how the Internet works to have an opinion. It's a specialized field, and only people who understand the related issues will tend to have an opinion.
"Stop losing your mind" is clever but hard to grok.

Maybe "Stop employee brain drain"? That would at least be relatable to people who have heard the phrase brain drain before.
Stride was designed and built from ground up (not just a rebrand). I work at Atlassian, and have been using to since alpha.
For quite a while, up until maybe 10 years ago, every hard drive I bought had more capacity that all the other hard drives I'd ever bought added together.
I have good background in graph theory (IMHO) but don't know many data science use-cases (I'm amateur at that). Could you point to some good start points?
Hadoop coffee machine
Very cool. I'm giving it a quick go whilst doing yet another patchathon on customer systems.

First impressions are that it is very quick and gives some great advice. I'm not really a web. dev. but I even I can see how this can make a good audit tool. Looks great as well.

I suggest caution against using the term "best practice" though. It's one of my pet hates - there is good practice and there is bad practice but its a brave person who claims to know best practice. I think my hatred of that term stems from seeing it plastered all over older MS docs and the usual crop of "me too" copy n paste blog postings that litter the web, not to mention various forum postings. We're all bloody experts who know best in this game 8)
I'm not really enthused by efforts to bring in the same packaging constructs as other languages, which all have the effect of making time-to-compile after git clone longer.

Frankly I think we tend to conflate two separate but related tasks in these discussions: communicating updates, and distributing dependencies.

vendor/ folders are a totally fine distribution system - optimal even. Time-to-compile is 0 because you get the dependencies with git clone.

So really the problem we have is communicating updates (and some git server tooling smarts to deduplicate files but let github solve that).
1) I've heard about vectorized Python UDFs in Spark 2.3. Thanks for reminding of that.

https://databricks.com/blog/2017/10/30/introducing-vectorize...

2) I'm not that familiar with what Uber is doing. My take is I'd like to use Spark for as much as I can, but there are parts that are either more performant or easier to accomplish in Python.

Spark with Arrow will definitely change the game.
That's some scary stuff right there. Who controls what it's used for? How transparent are the data? Yikes!
The attraction of buying a house has always been (to me) the leveraging of the money. I can buy a $500K house for $100K down and the X% appreciation applies to the full $500K.

Better yet, I can put 5% down and buy the same property. Then the X% appreciation of a property turns into X% times 20 return.
But I don't think that was the point of that article. It says:

>> Now that Twitter allows 280 characters, the code of some drawings I have made can fit in a tweet. In this post I have compiled a few of them.

It's about a list of code snippets that you can send around on Twitter, that can generate interesting "art". It doesn't claim to be the shortest code that can be used to generate art. It just says it can fit inside a tweet.
If you’re interested, much of what you’re asking about is actually known: (some) DNA sequences map directly to protein sequences. Because DNA has a 4 letter alphabet (G, C, T, A), it takes three to map to one of the 2x different amino acids that make up proteins. Proteins, in turn, are the “machines” that work in cells.

DNA also contains regulatory segments, errors, “dead” code left over (and carried through generations) long after it stopped being transcribed, DNA once inserted by viruses (both active and inactive) etc etc...

If you want an analogy with computer code: it’s most like a spaghetti-code hair ball of assembly coding it’s own compiler, IDE, vim, a few games, and a neural network ten magnitudes the size of anything tensorflow can do. It does it all on hardware that works only probabilistically. And it is constantly starved for resources, leading to hacks such as DNA sequences that code for two completely different functioning proteins depending on reading it either forward or backward, or starting to read at an offset (what’s called a “reading frame”).

There’s a thick book on molecular biology by Alberts et al. It’s the most phantastic deep dive into this, any many other, insanities. I believe Larry Page used to recommend it to all new googlers.
You can sterilize liquids without antibiotics, very cheap:
https://en.wikipedia.org/wiki/Pasteurization
That makes sense for the arguments to the outermost function but not to the function it self. Why call it A instead of apply and the then have a big cheat sheet where you put that A means apply and T means applyTo ?
I honestly find these two statements hard to reconcile:

Enrich: I do want to make clear that [Hayes] is not an innocent victim here. He is someone who was participating, and he was not acting properly. He was acting illegally, and I think deserves to be punished. I just find it galling that he is alone in being punished.

Also Enrich: This is part of the reason I love Hayes as a central character for this book — because he’s not your cookie-cutter banker out of central casting. This is a guy who is much happier going home after a day of work and having a bucket of fried chicken and an orange juice and watching Seinfeld reruns than he is going out to Michelin-starred restaurants or a swanky club. To me, his massive social awkwardness — the fact that he would go to a dinner party, and sit next to a stranger, and start talking to her very loudly about his dandruff problem — he had no idea how to behave in normal society.

That makes him slightly endearing as a character, I think, but it also kind of helped explain how he stumbled into this. He was just completely unable to pick up on any subtle cues or social boundaries that normally would help moderate someone’s behavior.

So he deserves punishment for doing something bad when he is inherently dependent on others to help him separate the right thing from wrong?
I, too, didn't realize that shebang parsing is implemented in the `binfmt_script` kernel module.

Does this persist across reboots?

echo ':golang:E::go::/usr/local/bin/gorun:OC' | sudo tee /proc/sys/fs/binfmt_misc/register
Why is the "mostly young people" part important?
I've done better with my home investment than I have with my managed investment funds. I bought my flat in 1994 for $107,000 and it's now worth $715,000 after Melbourne had the same rise in house prices as San Francisco.

Two problems, though. (1) The money is locked up. I can't take a couple of bricks down to the travel agent and exchange them for tickets. (2) I am locked up. Google wants me to work for them but are quite insistent that I move to California. I guess remote work can only go so far.
Yes, it does. Apple has the option to not do business there. They can simply walk away. And by walking away, they are allowing other people to hold onto their own beliefs, while not encouraging them.

> Furthermore, Apple has a responsibility to respect the choices of other people. If China had a democratically elected government that choose to intercept all communication crossing its borders, I think Apple would have a moral obligation to either respect that or not do business there. The present government is in power partly because the previous government was so bad that the peasants preferred the Communists, so you could even argue that the present government is there by the will of the people, in some limited sense. We can't just force other people to have our standard.

I don't really disagree with this, but I'm not sure what it has to do with what I posted. Not doing business with a group of people because you disagree with how they want that business done is completely unrelated to "forcing other people to have our standard".
I've used MongoDB extensively for the aggregation framework. The tools within that subset of mongo provide a rather granular and speedy approach to manipulating compound datasets into usable, normalized results. I recently built a translation service using MongoDB as the backend, and utilized the aggregation framework to weight and score translations based on different criterion.
Ask HN: How to collect analytics for a selfhosted web app where privacy matters
I help work on a web-app people host themselves, and am trying to figure out the best method for performing analytics. Curious as to what HN has to say.

My current thoughts are opt-in on setup (there’s a setup wizard) and self host Piwik

Thoughts?
Detailed, reasonable questions with a surprising lack of answers.
Hint: it's not. It's just that it's not your priority and that your are picky.
Many more exceptions are forthcoming, thanks to the National Popular Vote Interstate Compact[1]. If enough states agree, these states will cast all of their electoral college votes to the winner of the national popular vote.

[1]: https://www.nationalpopularvote.com/
Panduan Main Judi Ceme Uang Asli – Gaple Ceme – Asiapoker303
Wild guess:Maybe a constant seismic vibration that is coming from deep under that is of a certain frequency
There are a large number of people in the US who argue that abortion is exactly killing someone.
One anecdatum: I simply lost most interest in having friends by 25. I lost the rest when I had a kid. Now my friends are my daughter’s friends parents. I don’t really like them, I just end up chit chatting with them while our daughters play.
He had nothing to do with Cruise.
It's actually a not unpleasant brown noise-like sound. At least that's how it comes out of my hifi. Over bluetooth and after YouTube compression so perhaps high fidelity isn't the right term.
Boeing X-20 Dyna-Soar Spaceplane
My experience is that it’s pretty damn hard. SOMETHING is generating a low frequency hum that I can hear in my bedroom in Seattle; in fact I’m in there’s hearing it right now. It’s been going since somewhere last summer. I hear it every night and it’s still maddening.
Extremely slow is an understatement. It's literally 8 seconds.

Loading 3rd party JavaScript without restriction is extremely unsafe and not an edge case. It's basic Web-browsing safety.
I think Airbnb should throw away everything they've done to date and hire all the Hacker News commenters to run their strategy instead.

> it's very unlikely that Airbnb wants to admit they're probably being paid for it or getting some other form of special consideration for writing this.

It doesn't look like anyone from Airbnb wrote this. But you're right, that's a good strategy - instead of the accommodation and experiences thing, they should implement AMP and get paid by Google for it. That's how business works: https://i.imgur.com/Vd6gI7X.jpg?1h

Congratulations Brian and Gil on implementing this!
I double this idea
We use MongoDB in several capacities on several projects: A cache/ speed layer for content distribution worldwide (relying on replica set across data centers), an event source for customer loyalty and profile management, and as a backend for an e-commerce style customer facing web store. In each of those projects we leveraged several mongo features that were well suited to the problems we had. Our mongo clusters have been remarkably stable and work very well. Our scale has not required sharding at this point. Our QPS and write rates have been well within the design SLA. We did have to periodically analyze query performance and apply index and or query syntax changes, but other than that didn't encounter any issues. The biggest wins for us was time to market and flexibility: Compared to the RDBMS counterparts, we move faster, resolve issues faster, and deliver web pages faster.
The negative publicity has been "in the noise" and typically reflected more negatively on the generators of such rather than the product itself.
Protect Your NPM Account with 2FA and Authy
Yeah I think it uses pretty generic design language along the lines of Audi A4/5. And it’s been approximately the same for 6 years now. They’re going to have to do an extensive refresh across all models pretty soon or it’s going to look really tired. Inside and out.

Edit: I don’t mean it looks like an Audi (obviously I hope) I mean it’s conservative design language similar to Audi.
Would this have played out the same way if she wasn't running Windows? What if she was using a Chromebook or an Android tablet? For all the tasks she needs her laptop for, would one of these not have been sufficient? Perhaps we shouldn't be equipping users like Jessica with full-fledged workstations. This will be unpopular, but: maybe there is something to walled gardens after all.
I can’t seem to read this right now since I’m over my limit of free articles but I’ll say that Meetup.com has been really helpful to find interesting people in the same boat.

My recommendation to people is to find a meetup (doesn’t have to be from Meetup, could be a sports league, religious group, volunteering...) that meets frequently so that you have a chance to slowly get to know the same group of people over a course of time. I find meeting up once per month is a little too infrequent for growing bonds and prefer weekly/biweekly meetups but sometimes you end up meeting someone who you gel with and it’s easy to meetup many times over beyond the meetup interval.
> but then two years later the manufacturer pushes and update that adds 24/7 tracking and mandatory banner ads. What do you suggest doing in that case? Return your car to the dealer for a refund?

I expect, well more hope, someone to try exactly that. Then for some interesting case law to develop.

I sure hope everyone isn't just going to roll over and accept this shit.
Not sure why you've decided to pick at this point, even the article itself says multiple times that he's far from innocent in all this, but it also seems obvious that he was not the lone-wolf mastermind of an enormous financial scandal spanning many countries and multi-billion dollar companies. It's possible to look at the narrative around a certain character in a story and intuit that something doesn't make a ton of sense, like in this case, why would someone who's doing well in life and enjoys the simple things, risk everything for gains they don't even care much about?
on mobile reddit has a night mode

google amp links break that night mode
Profits from serving ads should be heavily taxed, since they are non-productive anyway. All bussiness are in a bidding war for ads, and they have to try to outspend themselves. By taxing ads, we don't change the balance of power between businesses (so it's still a fair game), but we lower the importance of ad-based businesses which don't add much (if any) value to the overall economy.
> Many more exceptions are forthcoming, thanks to the National Popular Vote Interstate Compact[1].

Maybe, though there is substantial reason to doubt that will meet the require threshold for activation. Still, those would make even per-state votes irrelevant, not make Congressional districts relevant.
Want to master C++ concurrency:Don’t miss the “Concurrency with modern C++” book
Real estate is just another type of investment, and one that can bring diversification to a portfolio. Of course if your net worth is all invested in your home, your risk/reward profile is probably suboptimal (YMMV!)
Recruiting Now
Same. I had friends, but I don't have time for them and frankly my quality of life isn't suffering yet. I suppose this is something I might regret when I'm 60, but for now I can't be bothered.
Right; but dieting is almost entirely psychological — so any ways to trick your brain into eating less have to be valid diet tips, no?
This might not be practical advice for you, but it is worth pointing out: there are two sides to the calorie equation. Increasing calories burned is just as good for weight management as reducing calories consumed (and might provide other health benefits).

So while looking at lifestyle changes, don't forget the activity side. Adding a few long walks, or a new hobby that gets you moving more, might help as much as skipping some dessert.

Like I said--might not be practical for you, but worth remembering.
Switzerland makes it illegal to boil a live lobster
> Nuclear power can (technically) easily replace all fossil fuel power.

It can replace fossil fuel power for electricity. Not all fossil fuel power.

> It would take a decade of serious dedication and leaving behind a "safety first" culture, but no major technical advances are needed.

Strangely enough, it's the clean energy lobby, not the fossil fuel lobby that is the biggest hurdle to nuclear energy. It's so strange to hear the solar, wind, etc advocates claiming they want to save the environment railing against nuclear power.
I used to have a directory oldstuff and newstuff. When I got a new hard drive, I'd copy the entirety of the old disk into the "new" oldstuff. I think I got 6 layers before I decided to ditch that advanced sorting method.
> I think this makes a strong case for not releasing major version upgrades that use the same package names. The very idea of two incompatible things having the same name should set off alarm bells. Instead of trying to make that work, we should be avoiding it.

If you do that, I think you'll find in practice that one of two things happens (or more likely, both, in a confusing mixture):

1. People start releasing packages whose names include version numbers. "markdown2", etc. Then you get really confusing hallways conversations like, "Yeah, you need to use markdown2 1.0.0."

2. People start coming up with weird confusing names for the next major version of packages because the current nice name is taken. Then you get confusing conversations like, "Oh, yeah, you need to upgrade from flippitywidget to spongiform. It's almost exactly the same, but they removed that one deprecated method." Also don't forget to rename all of your imports.