skysight-inc/HackerNews huggingface dataset:
I always wondered how he got that site running in the first place. I had my own similar "dumb idea" that I created: http://www.ipaidthemost.com, but I have no idea how to get it out in front of people, even though folks tend to react well enough when I show it to them.
It's more that you can get the information about the state of the browser or server's URL down deep into the component tree and then more easily act on it (with a few components, rather than a larger case statement).

It's basically idiomatic JS vs idiomatic React/JSX.
Also: sleep. If you find yourself staying up late at night trying to focus and instead reading Wikipedia articles about the Hapsburgs, stop. Get yourself on a sleep schedule. Download RainyMood[1] and Freedom[2] if it helps you.

[1] https://rainymood.com/
[2] https://freedom.to
Where's the line between refugee and economic migrant?
Sorry, maybe I'm dense: what exactly are you afraid of being extinguished here?
I love the title. Economist article titles are an endless source of word puns. Someone should start a thread just to post the best Economist titles.
I saw an article not long ago that clarified for me what Twitter is: it's the community for journalism. It's the perfect place for journalists to quickly pick up the current vibe on a given topic, then repackage what they learn as a news story.

Here is what journalists are learning now about Twitter: https://multimedia.journalism.berkeley.edu/tutorials/twitter...

Lots of people fancy themselves as part-time journalists, so the community of journalists is much larger than people who have the job title. I am a Twitter community member because I see myself as a part-time journalist.

As I see it, Facebook is trying to become your daily newspaper, but I think Twitter has a better chance of achieving that goal, because differences in the way Twitter and Facebook treat privacy mean that Twitter can theoretically draw upon a much larger body of content. Twitter ought to consider using a news feed prioritization algorithm similar to Facebook, since Facebook is turning out to be rather good at showing me what I care to see and pushing down the chaff. Twitter still makes me wade through it all.

In short, I think Twitter should focus on being better at what it already is: the central gathering place for journalism.
Oyo Rooms Losing 22.5 K USD per DAY
What's the significance of where the sun is? Would the Milky Way be in a fixed position relative to the sun?

I'll have to give this a try. Unfortunately the least light-polluted place I often visit, up around 8000ft, there are tall mountains to the south.
Thanks for the link!

However, it seems like the page linked in the post is not available anymore.
DC sucks for transmission over more than a few meters. I'm thinking, even in a house, you still want AC in the walls.
In my experience, you have that one friend who uses Twitter a lot, so you look through their mutuals and you discover "oh, these couple other real-life friends of mine use it," so you follow them any they follow back. You see them retweet or you poke through their followers/following and you see people you don't know, but who post good content, so you follow and maybe interact. Sometimes they follow back. Sometimes you end up DMing them and becoming online or maybe irl friends.

Your network continues growing like this until you've got too much on your feed to follow, and you need to take a step back and maybe eliminate some follows. It's a pretty organic thing and you end up with a couple close friends plus a ton of other people semi-connected to your real life friend network.
Great post!!

I'd add a few things that I've learned over the years:

1) Always be invested in the market. Corollary, don't time the market. This is by far the largest mistake people make.

Investors typically pull money out at the bottom after they've suffered a physiologically devastating loss, like at the end of 2008 and hence they miss the rebound, like 2009-now.
This isn't quite the same but it shows what missing the top 25 days in the market over the past 45 years does to your returns.

http://www.marketwatch.com/story/how-missing-out-on-25-days-...

If you are an investor you need to be in the market, period.

2) Accept that you will lose money some years. If you are buying index funds then you will get market performance, ex fees. Markets go down sometimes. Stay the course.

3) Don't look every day or you will go nuts.

Keep in mind that the largest draw down (top to bottom) will be larger than what the returns look like if you just look year over year. Ie if you look and see the S&P lost 28% in 2008, understand that if you watched the S&P every day of 2008 then it probably lost more than 28% from its top to its bottom but rebounded slightly at the end of the year to make the year over year loss less than the maximum loss.

4) Have some exposure to outside of the US markets. Consider the scenario of investing all your money in the company you work for. In a rough time for your company you get the double whammy of losing money and possibly your job at the same time.

Similarly to how you are told to not invest all your money in the company you shouldn't invest solely in the country you live in, same principle.

EDIT see child comment, I mangled the English language in point 4
Would there be an opportunity to take advantage of his ability to learn anything he puts his mind to in the sense of understanding everyone else's motivations for why they do and say what they do some kind of fascinating project - treat it like a game. Perhaps spinning social function around like this will help him to grasp that empathy and understanding of others motivations(?)

I ask this rather than put it out there as a solution mostly because my only understanding of autistics that have come and gone in my life have all had this thread of bottomless abilities to absorb information on topics that fascinate them as well as loving things they can game. Would turning understanding emotions into a game assist his learning here?
If you had studied economics, you would know that profit and income are fundamentally different concepts. The existence of profit (rather than breaking even) implies a market failure.
is the "lifetime" subscription just a hail-mary money-grab?
which would be completely solved by single payer would it not?
I always thought this would be a great application of computational photography. Take a bunch of shots, segment stars/foreground with optical flow, then stack with no star trails.
I know everyone is different, but one of my greatest periods of productivity was when I was finishing my EE degree. My employer let me drop my hours down to 30/week, but it didn't really change my responsibilities / workload. I used to come in to work, bust ass, and get to class. It was a really happy time for me, professionally speaking.
You don't have to file Federal taxes if you make less than $10,300 per year.
Yes it is the milky way band. The next time you can search for Milky way on sky apps like Google Sky map and point your camera in that direction.
I LOVE Python and really am pleased with Pandas, but ...

I use R exclusively for data science. Really encourage you to just give it a try. The tools, packages, community and the industry support is just awesome.

I did my reports for the end of the year and people loved the reports but the office is so MS Office focused that they wanted them in Word and PowerPoint (UGH), R has great tools for that RMarkdown and ReportRs library convinced me to switch. Also index being 1 is super strong selling point from now on for doing data science. http://davidgohel.github.io/ReporteRs/
OK but what about Russia?
Weaponize? That's just wrong. Minecraft, retroactively dubbed Minecraft Java Edition, is totally cross platform. So, how does this new product help MS dominate education?

Answer: it doesn't. It's like arguing that Bröderbund (I hope I spelled that right) weaponized Zoombinis to take over the education market.
> intermediate level of weight training

in which population?
Like cryptography[1], rocketry has an inherent political character. If you disagree, then how would you feel about training a team of North Korean scientists in the type of long-range rocketry involved delivering a payload to a target as small as ISS?

I personally trust China with rocketry far far more than I trust North Korea, but "Do we trust this country with knowledge useful for killing large numbers of people?" is totally within the scope of a government to decide.

[1] http://web.cs.ucdavis.edu/~rogaway/papers/moral-fn.pdf
That version of the site will work best with Chrome. The newer version will fix for Firefox: https://react-router-website-xvufzcovng.now.sh/

The next build (now.sh versions URLs) will have both working. Sorry about that!
> Routing stateful apps using string URLs is not a solved problem. Which thick-client app gives you a universally shareable string that restores it to a specific predictable state?

Google Maps seems to have solved a version of this problem. There is a unique URL for every position and oriention of your view of the world, including street view.

But even then it doesn't log you in as the user who sent you the link. (That would be crazy.) The link will probably also not include any user-specific display preferences. If Google Maps had a "kilometers from you" widget in the corner, you would not expect that value to be reconstructed from the URL.

So really URLs are not keys to the entire state of the app. They represent a "location" which is both abstract and very specific to the application.

Personally I think of the URL as just another input to the state of the application, really not that different from user events, HTTP responses, etc.
For me, it's a shame it's a chrome app, rather than a plain ol'd desktop app. Having to fire up chromium to run something this simple seems like an overkill.
> what Lisp is to Lambda calculus

It's more like what Binary Lambda Calculus is to lambda calculus. See my IOCCC entry

http://www.ioccc.org/2012/tromp/tromp.c

http://www.ioccc.org/2012/tromp/hint.html

which happens to include a Brainfuck interpreter...
We are humans. We adapt the world. If the waters rise we will build dikes. If flooding will become frequent we will build dams and use that to generate electricity and regulate the water cycle. The only people who won't do well are those who insist on being victims and refuse to see the opertunity in the challenge (and there is always an oppertunity).
There's also a form of fraud where one reports one's own dead if a parent dies. Advantage is that keeping the parent 'alive', pension payments continue.

Rumor has it that some of the claims of "world's oldest person" actually are due to this form of fraud.
There's a feedback loop to increasing greenhouse gases and increasing temperature.
Unique addresses can be accomplished with aliases. Gmail allows

<username>+label[+morewords]@gmail.com

where + is ignored by Gmail servers when matching, and 'label' can be defined by you. This keeps emails routing to the same account, but allows you to filter.
"One Million People" - Huh, well I never. I had a similar idea, inspired by the Million Dollar Home Page, but 5 years before "One Million People".

I think mine was a bit more innovative, (but just as likely to have failed!) - rather than just a grid of faces, with users paying $3 to add theirs, mine was free, and was going to scale the images in proportion to traffic and likes for that user. The aim was to get users to promote their image (therefore the site) through social media. The user that drove the most traffic would share in a prize funded by ad revenue.

I wrote the shape fitting algo, then abandoned the idea! :)
McLeod hopes to save Hinge which is bleeding users/plummeted to 1.5-star rating
> Hollywood says we'll see a loss of culture (fewer movies, songs, books).

One would hope so. Commercial culture is dishonest and shit, and crowds out everything interesting.
Like what? I assume you're referring to testing. Tests are a way to ensure that for some set of inputs you will get some set of desired outputs. And this is assuming you wrote correct tests.

Types are far more rigorous - you can ensure, with types, that your code behaves in a certain way given any input. Yes, this extends to "design" bugs ie: not just crashes - you can write a type that ensures that an API can only be used correctly, for example. You can encode logic like "Don't allow unauthenticated users to access this content" into your type system - and you no longer need tests.

Of course, type systems don't prevent you from writing tests. They actually make it easier, you can generate test cases based on types, as an example.
I don't think it's a given that breaking it down introduces complexity. I've found that creating a sub-function for the sole purpose of just giving it a name does wonders for making it easier to understand the code. Names describe intent and are easier to remember than lines of code by themselves.
The moderators were making judgment calls on which drugs were not high quality enough, keeping only the drugs that met some minimum standard.
Indeed. If twitter is for news, then the people who create the "news" - politicians, celebs, artists, journos - are the foundation of the network.

Most of us live mundane lives and while events in our lives may be news to friends (marriage/births/etc) there is already a network to share that kinda news: fbk.
I feel the same way about the kind of art that "a 7 year old could do". The part I admire is their ability to get funding.
Well, in this case if was because of something he did.

The initial page idea was great and almost inevitable to succeed: cute when you hear about the concept, very easy to implement, almost sure to attract media attention (and have stories bring in more interest), etc.

So, in a sense, the lotto was coming up with this idea, not that the idea succeeded.

The problem is that his other attempts where either rehashes of the same but with no novelty factor anymore, or not that interesting in the first place.
Making it easier to see more live events with your friends
Could you clarify who is rejecting FSF's philosophy? Apple? HN community? Microsoft?
Kangaroo notebook
Because running the ads team at Twitter alone would take 75 people.
Well, if "by fine", they mean mass migrations away from the equatorial band, fragile areas near deserts, and increased conflict as immigration controls block that migration.

We are looking at pretty much everything from Florida to Brazil being rendered unfit for humans.
> where ever second you're not working...

More lile, every second you are not at your desk appearing to work. I've seen this in established companies in the US too, so it's not exclusive to startups
Ironically, the completionist in me would be stressed out knowing there's new content waiting for me everyday. I'd feel compelled to listen to the day's new audio track before it has a chance to pile up over a week, which makes for good business, but would personally stress me out and ruin the whole point of Calm and similar mindfulness services. I'm probably just a weirdo edge case, though :]
Sorry about this! If you use the older now.sh link, it will work: https://react-router-website-uxmsaeusnn.now.sh/

It's fixed in git, Ryan just needs to push a new build.
I'm sure it's very popular in the west. Traditional mindfulness meditation requires only your body, that's it. Leave it to marketing to make you think you need to create a perfect environment (clothes, smells, sights, sounds, tools) in order to meditate.
So they report, but they have already spent the money. I do not think it will be straightforward take it back
Most of Europe sneers and looks down at American posturing while living happily behind the aegis of America's participation in NATO. America's profligate spending on their military has given Europe the luxury of not spending much at all on theirs and pretending that this is 'principle'.

If the US withdrew from Europe and NATO, Russia would aggressively bully most of eastern Europe. Do you remember a few years ago how Russia invaded Georgia? Or how they are currently in the process of invading Ukraine? It isn't an accident that the Poland is one of the most eager participants in NATO and is the only other NATO country other than the US that is meeting their 2% GDP membership requirements.
And?

I am aware of that, my point stands "its a pain in the ass and requires effort for very, very little return."

Good luck finding services that accept a + in the email address and this is so common you aren't fooling anyone, it takes just a couple lines of code to strip pluses out of gmail addresses to get the "real" address if you are a spammer.
EpiPen prices have been rising for years. What made people finally notice?
The US had one... even invented INFOSEC developing it... that mandated a combo of features, assurance, and pentesting by NSA hackers. Under Computer Security Initiative, DOD combined clear standards for how to do it with financial incentives for market to produce it. The result were quite a few systems produced that survived 2-5 years of pentesting with none at least admitting a hack in the field around 20 years. Standards evolved into EAL6/7 of Common Criteria but red tape and handwaiving dominates. That's because Congress changed acquisition policy to force them to buy more COTS garbage to benefit campaign contributors plus NSA started competing with market under MISSI. High-assurance mostly collapsed.

So, it can be done but politicians are preventing it. Market is bigger problem, though. Burroughs B5000 was first, high-security system nearly immune to code injection in 1961. They did good in market but IBM had better price/performance. That plus more feature improvements is all market will really buy. Something uglier, slower, a few less features, and cost double for the security? Most wont go for that. They usually dont do it even if the software is free and easy to use like a few in FOSS with strong security. So, suppliers are right to keep giving them the garbage they demand until they'll pay for something better.

Note: Companies and CompSci people continue developing higher, security stuff anyway. Just very few of them with commercial stuff costing big $$$ due to low volume/demand and academic stuff delivered in prototype form since FOSS people dont put time in them. Hard to see how it will get better on a large scale.
I'm really glad I live and work in Norway where such conditions are illegal.
I used the equivalent about 15 years ago and you could get windows, office, visual studio and a bunch of other stuff. Good deal.
Steradian cone in sphere – editable in LaTeX
I have had some decent success with the Milky Way this year and while this article is decent, here are a few more tips:

1) Use an app to find where the galactic core will be at what time. This is harder than it sounds because ideally you want to compose an image with something interesting in the foreground (a mountain, rock formation, building, etc). Poor timing, but peak season has already passed this year in the Northern Hemisphere--it's a Summer pursuit. I use Sun Surveyor, but there are lots of apps that do this.

2) Focus is extremely critical and very hard to do after it's dark. I set the focus manually before sunset using a distant object and then use gaffer's tape on my lens so that I don't accidently bump it later. There is nothing worse than coming home to a bunch of slightly blurry stars. Do not trust "infinity" on your lens, it's not accurate!

3) Use the rule of 400 to decide on maximum exposure time. Divide 400 by the length of your lens to get max seconds (e.g. 400/24 = 16.66s for a 24mm lens). Some people use 500, but either way you get a nice ballpark. More time than this and you will get star trails. Neat if that is what you want, awful if you want a nice shot of the Milky Way. This rule assumes a full frame sensor, so if you have a crop sensor remember to adjust (a 24mm lens on Micro Four Thirds would be 48mm for this calc).

A couple of my shots from this year:

https://www.instagram.com/p/BJBgSTvg-wO/

https://www.instagram.com/p/BGU-1d0uyJN/
Cracking Open the Mac
> "Open a traditional IRA or a Roth IRA. The traditional IRA contributes pre-tax money, the Roth IRA post-tax money. The upshot is that if you believe your marginal rate at retirement to be higher than your present rate, you should pick a Roth IRA, otherwise, you should pick a traditional IRA. If you don’t feel like forecasting that, take my word for it that 90% of you should have Roth IRAs."

I simply cannot fathom why he would state that. I cannot imagine a scenario where my retirement income would (nor should) be as high or higher than my peak earning years.

Typically in retirement you have a home and all sorts of hard goods (clothes, furniture, cars) paid off and thus need less money.
I think the sun would add haze to the horizon and obscure the stars near sunrise/sunset?

Also because the solar system is on the galactic plane, for half of the year (winter in the northern hemisphere) the galactic center is behind the sun.
I wouldn't say it's one time. There are many islands (like Hawaii) that have to import diesel to run their generators, which is very expensive. Replacing diesel generation with renewables + storage will be very attractive for a long time.
I think it is more correct to say that software security is not a priority. Another issue is why the US connect highly sensitive systems into the internet in the first place.
Apple pays £89m tax fine for underreporting income in Japan
I have a friend who served 5 years for some chronic reckless DUIs before he got sober. He is, quite literally, one of the most gentle souls I've ever met. He's a pretty small guy, but tough as nails (still works 12+ hours a day running his own construction company doing manual labor)

After about 30 days in, he was on the phone when a guy come up to him and started poking him in the back, "Come on man, get off the phone." And started to get more aggressive, "Fuck you, fucker, get off the fucking phone", tapping him more insistently, spitting on him, etc. He turned around and realized about 30 people were watching the interaction.

He calmly said, "Don't ever fucking touch me while I'm on the phone" and then proceeded to crack open the guy's head with the phone receiver and break his jaw with it. Got some time added to his sentence, but no one ever fucked with him from that day forward.

He said that he regrets greatly that he had to hurt the guy so bad, but he is 100% convinced that if he let such behavior pass without violent retaliation, his life would have been made a living hell from that day on.

His advice, paraphrased, "No matter what you do there will be a moment where you have to show weakness or strength. If you show weakness, you will be tagged as weak and nothing you do from then out will change that. It will be a terrible moment, but if you show overwhelming force and violence in that moment, the rest of your days will be able to be peaceful."

Prison is terrifying (and unneccesary).
>The huge change is because the maintainers are apparently unwilling or incapable of either A. Creating something good enough on the first, second, or third attempt

Well, it was "good enough" to be the #1 used solution and be adopted by almost everybody in the ecosystem, even if it wasn't "perfectly nailed" the first, second, or even third time. So, there's that.

If there are some better developers out there that can do it better and with less churn, where are they, and where's their project?

>B. are completely oblivious to the needs of devs trying to create practical software and don't understand that project stability is just as important as a good API.

Well, given the rate of churn in the NPM world, they aren't unlike anybody else...
Yes, that is a popular technique. Lots of apps to do it too, Starry Landscape Stacker is a good one.
VR Doodler