skysight-inc/HackerNews huggingface dataset:
Also adding that perhaps the biggest unnoticed feature with uber and lyft is the feedback loop. Good drivers and good riders stay on the platform, which is good for the users. The Cab experience on the other hand is some guy mumbling (best case) into an ear peice the whole ride while accelerating/braking like they are driving an indy car, all while getting into a sticky back seat and needing to settle up akwardly at the end of the ride. If cabs are going to take back some market share, they need to invest in their experience.
hydrate [1] is the API call by which you tell React to initialize itself against a pre-rerendered DOM. In contrast, render [2] is the call by which you tell react to generate the DOM nodes itself.

The idea is not that complicated:

1. You send the page's full HTML to the client. This is good for SEO and to quickly get the page to show. This HTML has been generated by running React on the server and capturing the output.

2. You send the React stuff (React itself, your pages components, extra libraries you are using, etc.)

3. You hydrate React's virtual dom using the already existing DOM (that the browser has created in step 1). This essentially amounts to telling react to attach the proper event handlers to the DOM so it can continue working as if that DOM was created by React itself.

[1] https://reactjs.org/docs/react-dom.html#hydrate

[2] https://reactjs.org/docs/react-dom.html#render
+1

And as patio11 says, combining engineering with good writing skills makes it very easy to be one of the top with your combined skills

I’ve been trying to lean more into that advice the past couple months by publishing on my blog :)

Surprisingly enough, just this morning I woke up to realize someone had shared an article I wrote and it was on the HN front page!

https://news.ycombinator.com/item?id=24251068#24262190
Well, one can assume the eyeballs are akin to an aqueous membrane, but the human ears generally should be non-aqueous for best results. ;)
I ran into this too. Rails has changed a lot in 7 years, even if you don't see it. My friend wanted to learn and somehow found the original demo/getting started page and was frustrated.
It's not that complicated. No one individual process is that bad. The problem is that there's so many that you need to steep in it for ages to pick everything up.

This means it makes most sense to pick up processes that are portable and have longevity. Learning Git is a pretty solid example.
Difficult in places where there is insufficient sunlight for much of the year!
Linux has antivirus software written for it? TIL.
Absolutely. One more additional thing: the latest back-track has been the URP-is-not-a-standalone-package anymore, URP package versions going forward are going to be tied to a specific Editor version. I imagine this is going to make the ability to backport features and bug fixes incredibly difficult because the dependencies are going to be so tightly enmeshed.
Thanks for commenting. These are all great points. For a while I have thought that Vitamin D just became the latest Vitamin C - are people on here old enough to remember when Vitamin C was a miracle drug that treated and prevented cancer? Fortunately you can expel excess Vitamin C much easier than Vitamin D. In my next post on this I really want to go into the human trials. The evidence for Vitamin D supplementation in the general population is just not there. And yes, darker skin color is a risk for Vitamin D deficiency. And the correlations that you mention are all real, which can partly explain the correlations between low Vitamin D and health problems - and then explain why supplementing doesn't seem to help. It's not the Vitamin D causing an increased mortality - it's everything else that might be associated with low Vitamin D and at the same time associated with mortality.
One of these is literally installing sinatra. And if you just want a server to serve static assets, nginx or apache2 will happily serve it out of your /var/www. Symlink what you want there and you don’t have to edit any config files or anything.
Our needs as humans are mostly the same, as are our wants. Thus chains to fill the same needs the same way everywhere.
> Third-parties validating that the code underlying an academic paper executes as expected is no different than third-parties replicating the results of a physical experiment.

First, it's not no different--it's completely different. Third parties have always constructed their own apparatus to reproduce an experiment. They don't go to the original author's lab to perform the experiment!

Second, a lot of scientific code won't run at all outside the environment it was developed in.

If it's HPC code, it's very likely that the code makes assumptions about the HPC cluster that will cause it to break on a different cluster. If it's experiment control / data-acquisition code, you'll almost certainly need the exact same peripherals for the program to do anything at all sensible.

I see a lot of people here on HN vastly over-estimating the value of bit-for-bit reproducibility of one implementation, and vastly underestimating the value of having a diversity of implementations to test an idea.
The Medici Code Review, Legit or a Scam?
I went on vacation in Costa Rica, leaving my Vitamin D pills at home, thinking the same thing.

Not true! I had to shell out like $30 to buy imported Vitamin D tablets because I could feel the positive effects of my Vitamin D supplementation wearing off within 4 days.

And I had gotten enough sun to get a serious tan already.

People process sunlight and synthesize Vitamin D at different levels.
> wealth is supposed to be a measure of one's contribution to society

Curious where that idea comes from - source? Haven't encountered it.

I know that many people _think_ that, or _feel_ that way, but I haven't read anything (philosophy, political philosophy, etc), that actually theorizes it _should_ be that way, or that it really _is_ that way.

Tim Berners-Lee -- how much money does he have, and what is his contribution to society?

Or, the classic kindergarten teacher vs NBA player, etc.
Not everyone is the same, so I doubt being married and having children is what brings true meaning to everyone. Maybe a majority of people feel that way, at least at some point in their lives? But I'd caution against generalizing to everyone. People do have different motivations in life.
It's hard for me to publish my code in healthcare services research because most of it is under lock-and-key due to HIPAA concerns. I can't release the data, and so 90% of the work of munging and validating the data is un-releasable. So, should I release my last 10% of code where I do basic descriptive stats, make tables, make visualizations, or do some regression modeling? Certainly, I can make that available in de-identified ways, but without data, how can anyone ever verify its usefulness? And does anyone want to see how I calculated the mean, median, SD, IQR?...because it's with base R or tidyverse, that's not exactly revolutionary code.
You're paying for the support you need when your developer can't fit requirement X into the component, or when they run into a bug, or whatever other reason.
Nice. Interesting to know that Github starts aren't always a representative metric.
User acquisition is very hard. If you can outsource that to a marketplace the commission is probably worth it, especially if your goal is to be a very lean micro-SaaS.
I think this is part of the joke - that the person who prefers Debian over Ubuntu because it's harder to configure also doesn't know African is not a language.
That’s funny to read, I took my first flying lesson a few weeks ago and had the exact same problem flying over completely flat terrain. I have some simulator experience which made me look at the instruments way too much, the instructor had to remind me continuously to stop doing that and look outside instead.
he does not even bother to explain the premise: why uber drivers should be classified as employees. If that makes me really dumb, so be it. They're paid per job and have no exclusivity to work for one employer. How are they different from say, the plumber?
If you need something much less complex than Sass, but has a similar syntax to Sass (not SCSS), PostCSS + SugarSS has been nice for me. I really prefer indented syntax, and ever since CSS variables became readily available on my project support requirements, there's not been much reason to reach for Sass. A lot of people seem to point to the color functions, but I don't think a lot of people noticed Sass and Less don't do color mixing/darkening properly (they don't square the gamma before doing operations) so I wouldn't advise using these built-ins anyhow.
Yes, people with darker skin is at higher risk of vitamin D deficiency in northern territories.

"Vitamin D synthesis is highly dependent on the concentration of melanin in the skin as melanin absorbs and scatters UVR-B, resulting in a less efficient conversion of 7-dehydrocholesterol to previtamin D3[3]. Therefore, dark-skinned individuals will experience slower vitamin D synthesis than light-skinned ones. "

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4067096/
Kapow If you can script it, you can HTTP it
This is what drew me to Go circa 2012, and I’ve been pleased to find that Go’s value proposition doesn’t end after a short period of time but continues to pay dividends for individual developers and for the project as a whole over the long term.
Different people handle different amounts... differently. There are some folks with really low levels. Often they can not absorb the vitamin efficiently, for whatever reason. I suspect that most of that high dose is passed in these folks, so a beneficial amount manages to make it through.

Unless you are very low and facing a serious illness these mega-doses are not needed. Supervision by a physician of these doses makes sense.
Funny story, just yesterday some friends and I were trying to watch "You're Next" as it is free with Prime. We found the properly spelled entry but it only offered to add it to a watchlist. There was another entry, titled "You're Next'" (note the trailing single quote) that was the actual movie and available to watch. My only guess is some peculiar manual data-entry mistake but that doesn't really explain the correctly titled entry...
A well-written Nix package should be buildable at any point in the future, producing near-identical results. This is why I sometimes publish Nix packages for obscure & hard to build pieces of software that I'm not likely to maintain - because it's like rescuing a snapshot of them from oblivion.
Of Deserts and Decolonization: Dispelling Myths About Drylands
The GPL is a very Ubuntu way of making software.
Chris Masterjohn has an interesting talk called "Resolving the Vitamin D Paradox" where his hypothesis is that vitamin D, A, and K all need to be balanced for proper regulation of vitamin K dependent proteins.

https://www.youtube.com/watch?v=9H7tbWVNrXQ
To be fair, back then, engines were far more limited and there were much fewer platforms to support (only supporting D3D back then was viable).

Plus it's a lot of fun to write your own engine. Sure, texture loading or managing sound buffers won't make your game better than others, but it's definitely fun to write that code.
The entire presupposition that we're supposed to be little happiness optimizing robots always struck me as completely bonkers. I'm pretty sure it's something designed to sell more soap or greetings cards.
Then you make a vm or whatnot and install all the old versions of everything. I haven't seen an open source project in a while that doesn't have old versions for download easily. Still, annoying if you can't stand that kind of stuff.

(people seem to be in two camps: either they hate it or have almost no problem with it)
Business come and go. A city is resilient not because of the business but because there is something.

Chains come and go too. Kmart used to be bigger than Walmart, now gone.
But if this job is hard already for professional journalists on a full-time job, how exactly is an average person with no background knowledge and limited time and attention supposed to do it?

To me this argument sounds like "Sometimes life vests are faulty, therefore they provide a false sense of security, therefore we should get rid of all life vests and just hope people have good swimming skills".

> There are plenty of legitimate studies on those sides, fact checking them away would be lying.

If they are legitimate, why would a fact checker say otherwise?
Is the definition of gentrification here just new things moving in? I don't see how a coffee/bike repair shop moving into a neighborhood is somehow a bad thing.
I didn't know UBI had anything to do with fair ... I thought it was a hopefully-pragmatic approach for creating a just and healthy society in our current era.

Whether it'll work or not, I know that's a larger question.

Also, I think it'd be more helpful if you would lead with what notion of fairness (why put it in quotes?) you yourself believe UBI represents.

Because it's possible that some people may agree with you, and others may not. And that would be a good starting point for discussion.
It seems to me that a big problem with the discussions surrounding Uber and Lyft is that so many people claim they know what drivers want, but it's usually based on little or no evidence.

Who should represent drivers' interests? Uber and Lyft? California lawmakers? California voters? Opinion writers? A union?

Even someone who is a driver doesn't necessarily know what other drivers want, since they might not be typical. Different drivers may want different things.

It gets even worse when we talk about potential drivers. Drivers aren't a fixed set of people. There are people who aren't driving now, but might, under the right conditions.

All of these have flaws. I'm pretty sure I don't know what drivers want, and the average person talking confidently about the issue on the Internet probably doesn't know either. As a result, very little commentary has any credibility.
No, I wasn't familiar, and after seeing that website I'm still not familiar with them at all.
Agree. It's nice to say that I did something and the patient had amazing results, but it doesn't mean that my action had anything to do with how they felt. Many people will recover from the flu without any treatment. It might not matter whether you give a vitamin.
you don't need uber for that, google maps shows you available carpooling ang taxi companies directly when you search for a destination.

For uber is good that wide reach, for the end user not so much.
The RIAA has unsuccessfully tried to claim that "making available(for download)" is infringement. So there would need to be some amount of actual uploading to prove this as a civil case.

But even if you only seed while downloading it is likely even the relatively small amount uploaded would meet the legal requirement, the law does not require that you distributed a full copy of a particular work. Ultimately whether a specific amount would be enough would come down to the judge or jury.
You hinted you’re worried about the perceived and hypothetical lack of synergy of GitHub and Unity reflecting on your perception of the latter, and you spoke about licensing concerns to reinforce that point. You also expanded your position in nearby comments. I’m advising you that the entire concern and approach you’re taking to source management, and your interpretation of the same as well as your beliefs about free software, reflects where you come from more than where you’re going, and you should loosely hold whatever conviction brought you there if you’re serious about pursuing the industry.

I was responding to you. The game industry is fundamentally different from other industries, and approaching it with questions like “why not Git?” or “why no type safety?” or “what about GPL?” marks you as not really understanding the industry, its product, or its motivations. I realize there’s a huge clutch of cash and free time that lets the average Web dev schedule meetings about and argue type safety and microservices and so on among their peers, but game development is an industry driven by a whip and is closer to Hollywood than San Jose. We look to indie to innovate and put in our 80 wishing we had the time.
I have a bunch that use audio coupling, but none that use optical coupling.

An example is this: https://www.ericasynths.lv/triggergen/
Recently there are a lot of "request lab test online" websites; ex. https://www.ultalabtests.com/Shop/Items/Item/Vitamin-D-25-Hy...
Whether that's true or not, I was replying to someone complaining about how Ubuntu was a horrible linux distro. This article is not about the Linux distro.
Slack to this day still tells me that it will not work in FF. So it's still crappy
> exact worry people have when it comes to releasing code: people claiming that their non-software engineering grade code invalidates the results of their study.

If code is what is substantiating a scientific claim, then code needs to stand up to scientific scrutiny. This is how science is done.

I came from physics, but systems and computer engineering was always an interest of mine, even before physics, I thought it was kooky-dooks that CS people can release papers w/o code, fine if the paper contains all the proofs but otherwise it shouldn't even be looked at. PoS (proof-of-science) or GTFO.

We are the point in human and scientific civilization that knowledge needs to prove itself correct. Papers should be self contained execution environments that generate PDFs and resulting datasets. The code doesn't need to be pretty, or robust, but it needs to be sealed inside of a container so that it can be re-run, re-validated and someone else can confirm the result X years from now. And it isn't about trusting or not trusting the researcher, we need to fundamentally trust the results.
I'm seriously worried about the effect AGI would have on our economic structures and I do not think we are at all prepared for the kind of shock that would result from 75% or more of the current workforce becoming unemployed overnight.
https://imgur.com/v4bSD5S

I was paid 1 mile, actual distance 3.5-4.0 miles.

Previous versions of the app would use the first result returned by Google Directions API, which could have been best not shortest (I'm not sure, anyone know?). Newer version (pending app store review) does shortest always.
Bsuthuncs has a lot to answer for.
Micro-Entrepreneurs
Remember the hype around micro-services which allowed teams to work independently and operate at a massive scale?

We got to do that with Entrepreneurs too. Help foster, nurture and create micro-entrepreneur who can solve the niche problem which Monolithic (Mega corporations) wouldn't be interested in due to the lack of market size.

End Result: Decentralization of the internet economy currently operated by a select few corporations.
In 5 years Unity will completely dominate the creative space, even outside of games you're going to be finding this tech everywhere and there is no double in my mind you'll be seeing the unity logo at the end of summer blockbuster credit sequences.
How is it more of a burden to install apache2 vs sinatra? “Significant configuration” required for a static web server with apache2 is limited to just a few lines of configuration specifying the directory you want to serve and on what port.

Look, I love me an ad hoc HTTP server for development work, especially the one Python comes with, but calling it a one line web server is like calling “apt install postgres” a “one line database server”. It’a just not a one liner.
I'm baffled how "just return to our lives" shows up as a foregone conclusion in the way many people think about this disease.

The most realistic path to managing COVID is herd immunity. -> Just return to our lives.

We may never achieve COVID herd immunity. We'll just keep getting it over and over. -> Just return to our lives.

Sure, let's imagine a world where we accept widespread and repeated COVID infection as a presence in the average person's life. That means we should immediately, in every organized society, start planning for:

- Significant growth in the numbers of the long-term disabled: Planning living environments for a population with chronic and lifelong respiratory damage. Many of us will be unable to run, distances we are expected to be able to reasonably cross on foot will shrink, and a lot fewer of us will be able to do manual labor such as construction or do jobs that require prolonged standing.

- Planning for a vastly reduced employment, either because entire segments of the economy are no longer in demand, or because a lot fewer of us can take on certain jobs because of disability.

- Significantly reduced average lifespans: changes to policies around retirement age, senior housing, life and health insurance policies, etc.

I think saying "just return to our lives" obligates someone to describe what we should start doing to be able to live the kind of lives we will return to!
I totally agree. Right now I'm actually very vitamin D deficient (10 ng/ml) and on 50,000 IU Rx dosage weekly, and I'm in Arizona! I just don't get enough sunlight and wear sunblock all the time due to being extremely fair and feeling like meat in a frying pan when the sun is on me. Also staying indoors due to Corona! But I wouldn't have guessed Vitamin D deficiency.

I haven't had any bone fracture issues (thankfully) since I'm still young, but low vitamin D levels can also apparently give you brain fogginess and depression, which I'm suffering from.

But it does seem like Vitamin D testing isn't on most normal testing regimes, it was only when I presented with depression that I got tested.
What you describe are the downsides or limitations of Stage Orange from Spiral Dynamics. That's just another model, though about how societies evolve over time.
Teams is interesting in that it sort of overlaps with both Slack and Zoom.

Zoom’s audio & video feels way better though.

Completely agree re Cisco as well: I also have Cisco Jabber and it’s basically terrible at everything — audio, video and especially screen sharing. Dunno what happened there.
> Spack/Guix/nix are the best solution in theory, but they come with a host of other problems that made them less desirable.

I would be quite interested to learn more what these problems are, in your experience. I've only tried Guix (on top of Debian and Arch) and while it is definitively more resource-hungry (especially in terms of disk space), I don't percive it as impractical.
Today I threw away all the sockets in my set that weren't 14mm, because I only needed a 14mm socket.
COVID-19 is like the golden age of food delivery. If these food delivery apps are not profitable now, they will probably never be profitable. When the severity of COVID subsides in a few years, people will like to go out to eat again rather than have it delivered.
Unless you have AGI, there will always be some human that needs someone to do something in order to make society work.
>why is it so hard to make a good game engine?

Game engines basically seem like magic if you compare them to other creative tools, being able to build and manipulate systems and tooling.

Imagine if Adobe products could work like that.
I mean, there were literally neighborhoods that were legally marked as “whites only”. That seems like a pretty important detail.

You need to also include racist bank and financial policies in order to get the whole picture. While poor whites are indeed excluded from rich neighborhoods, they’re also been the recipients of federal welfare designed to make them rich enough for “respectable” neighborhoods; blacks have not received the same treatment.

See: racial disparities in how GI bill worked.

https://www.history.com/news/gi-bill-black-wwii-veterans-ben...
Small taxi companies could still have general dispatchers.