skysight-inc/HackerNews huggingface dataset:
The last time I had to work on a Gatsby project, it had build times of approximately nine hours.

Last thing I heard from them, is that when faced with the need to update news on the site more quickly (not on realtime, but "sooner"), the development team had to make a separate mechanism to query the news from the backend when the site was running on the browser, instead of doing it at build time, using the builtin GraphQL database. This defeats the central idea that everything on Gatsby comes from a central data source.
Thank you! This looks excellent.

https://en.wikipedia.org/wiki/Life_Itself_(2014_film)

I have been wanting to join http://blog.scarecrow.com/ for awhile now, it is a Seattle based video rental place with lots of rare movies and videos. Years ago we rented 2001 on laserdisc and a laserdisc player. Not quite as cool as running a film projector but still a fun experience.

If it wasn't clear in my first paragraph, Siskel and Ebert were definitely in a class of their own in the professionalism and thoroughness they brought to film criticism.
>to realise how easily we can (and do) destroy ecosystems.

when you are in Russia, especially outside of large cities, especially toward the East or North, the vastness of your surroundings doesn't let you feel that you can do anything that will make any sizable imprint on the surroundings, and that feeling has been ingrained into the psyche for generations (it also correlates, with some philosophers claiming a cause here, with the Russian approach to politics in particular and the whole worldview in general :). As result you do everything you need or want without thinking of consequences, kind of like a puppy behavior toward large dog (the issue of course is that the "puppy" has long since grown up and possesses a large nuclear and chemical industries among the other things) .
Do you have any examples of people in your country receiving jail time for polluting the environment?

On second thought - that's not the right question to ask. The better question is - does your country have many examples of people not receiving jail time for polluting the environment?
You _can_ win the lottery too, that statement asserts exactly nothing.
Kamchatka isalso home to a great deal of volcanic and geothermal activity. The cause here might not be human.

https://youtube.com/watch?v=KILQ0M5ilIo
That was very well done, I really enjoyed it.

I liked that a few of the exercises had multiple solutions; it's often the case in real-world use that various approaches can work. The exercises themselves do cover many common situations such as having to edit a commit that's not the HEAD, or porting changes from a branch to another, or finding the source of a bug.

I had only ever used git-bisect once but had the same impression then as I did now with these exercises: that it was super powerful for this particular situation.
I agree, I'm Canadian :p

I'm just highlighting another advantage of public healthcare.
Very strange to call Apple out as being a liar and can't be trusted with user data because of Safari's cookie and tracker policy.

Because of all the browsers they have led the way in reducing the ability for advertisers to track you.
It seems that's the same bay as for Petropavlovsk-Kamchatsky, which with a population of 180,000 is Kamchatska's largest city. So this is very close to what amounts to a large population for Kamchatka.

The Russians have always been cavalier about pollution and, as much as it may be hard to believe for some Americans, even more cavalier than here in the US. Not the Russian people of course but their political systems whether Communist or post-Communist. Corruption, lack of accountability and so on. Then obviously Siberia is very large and very sparsely population and interested parties might think: big mess? No big deal.

Sort of like the intermontane west generally in the US. Wasteland, right?
The question is whether Bell's inequalities really imply that there is an objective reality. If I understand correctly, the loss of objective reality is one explanation for Bell's inequality, but not the only one.

And no, I'm not going to watch a 20 minute video to find out what your argument is.

And as for the second point, even if you don't like "objective reality" in there, do you deny that there are natural laws that govern things? (Bell's inequality would be one such law.)
The author is Rob Pike; https://en.m.wikipedia.org/wiki/Rob_Pike
>> numerical simulations show that the system reaches thermal equilibrium and the average rates of heat and work provided by stochastic thermodynamics tend quickly to zero.

It make sense, but the problem is more subtle. It's better compare the clock with a brick.

In the example of the clock there is a temperature difference that can be used to extract "useful" energy. You can use it to move the clock, or make a sound or light or something.

(I'm saying "useful" as in the a quote of the main author of the paper "What we did was reroute the current in the circuit and transform it into something useful.” .)

If you put a brick in a oven and keep it at the same temperature for some time, until the temperature, humidity and other properties have stabilized, you reach thermal equilibrium. It doesn't mean that the heat energy in the brick is perfectly constant, it exchanges heat with the oven. The heat energy has small random variations.

But unlike in the clock scenario, you can't use this additional accumulated energy for something "useful". To check if it is in a high or a low, you need a variant od the Maxwell's Demon. You can measure the energy exchange and analyze the theoretical and experimental properties anyway.

(Also, if you put the clock in the oven at a constant temperature for a long enough time, it will stop working.)

Stealing the name from a sibling thread, to make the grapheme device produce "useful" energy, you probably need a Maxwell's Diode.
I drank coffee for several years (around 4 cups a day, not later than 4pm) and suffered from insomnia and didn’t know the origin. Since I stopped caffeine intake, my insomnia is basically gone and I feel a lot more functional because of better sleep.

So my impression (yeah I have to admit it’s a study of size 1) is rather that caffeine is more dangerous than I thought.
Scientists Successfully Extract DNA from Insects Embedded in Tree Resin
The worst is when project B is a closed source project. I have such an open-source project A that interacts with such a project B. That is the worst. Then I get a bug report, project B got a new version and your project A does not work anymore. Fix it! Then I ask what was changed in the new version of project B. Then they say, they do not know. Then I ask the company of project B. They do not respond. Then I get another email from a user, you need to fix it for the new project B version. Then I send 5 emails to the company of project B. Then they respond, "we do not support project A". And I do not have access to project B myself
Tiktok?
Advice on the "A Broken DOM" section: it sounds exactly like a hydration mismatch. Hydration is the process of React correlating existing DOM nodes from server-rendered HTML (SSR) with the initial render of the React app on the browser-side. (As opposed to what happens without SSR, which is almost always the app being rendered into an empty DOM node – no content exists yet.)

Satisfying hydration constraints is by far the hardest part of doing React server-side rendering. The basic requirement is: whatever HTML you rendered on the server, the initial render of the browser app MUST output that exact same DOM structure. Otherwise, it won't be able to correlate them correctly, and will get confused about which DOM nodes to update. You can seriously mangle your entire page this way – but usually, it looks like nearby content stuck in the wrong place, or incorrect updates.

Some things that lead to hydration mismatches:

- Time-based rendering. Time passes between when the server rendered the HTML and the browser initializes the app. So any component using `new Date` to make decisions can potentially have a hydration mismatch.

- Randomization. Let's say you wanna choose a random promo image to show. The `Math.random()` result is going to be different on the server and client.

- Anything involving browser APIs, like the browser window size, or checking `typeof window`, etc. The server has no access to this info, so it either needs to skip rendering that content, or fallback to a default.

Once in the browser, here's the important part: you need the app's components to make all the same rendering decisions that they made on the server, on the first pass specifically (when hydration occurs). Then, using the component lifecycle, you can make them update to take the latest client-side info into account.

In other words, it's not enough to simply detect `typeof window` and render different content – you're only "allowed" to render that different content after the app has done its initial mount.

The somewhat-reassuring aspect of all this is that it's almost certainly your components at fault, not Gatsby or React, so it can always be fixed without too much effort. But it's an annoying foot-gun to have to worry about nonetheless.
Apple does product analytics.

Whenever you install/update iOS/OSX they specifically ask you if you want to send anonymised data to Apple which details how you are using the OS. They couldn't be more upfront and clear about it.

And when I was working at Apple years ago they were using a very old and clunky SAP system for all of their customer purchases. It would be pretty common sense to ETL this to a data lake in order to do reports e.g. which apps are popular.
“The fires have released about half the typical annual emissions from the transportation sector. And they’ve topped annual emissions from all of the state’s power plants—a threshold that hasn’t been passed even in recent severe fire seasons.”

“In Oregon, a similar story is unfolding—except there, wildfire emissions have managed to surpass annual transportation emissions as well.”

https://qz.com/1903191/western-wildfires-are-producing-a-rec...

This was weeks ago before the recent fires in Napa, Zogg, and the August complex kept burning.

Kinda incredible and gives you perspective into how much co2 is being released.
After regulations have been relaxed recently, I wouldn't be surprised.
Ask HN: How would you feel about a candidate with a hacking conviction?
Epic has desktop alternative, tiktok is mobile only
The uses you mention are common, but digital signage for advertising is big in retail. It's almost always trying to drive you to purchases.

Some network operators run 3rd party advertising to offset costs of running their network.

Also, if you see a sign at person level in a public space there's a high likelihood it's collecting demographics information on (age, gender, ethnicity - via video image processing) on everyone passing by while also trying to identity the mobile device in your pocket to geotag your advertising identity.

I work in a company that provides general interest "filler" type content for networks to display - news, weather, sports e.g.
To be fair so much of the overall land prone to fire is under control of the feds - literally 47% according to the article. Having grown up in northern CA there’s just vast swathes of land to cover, and I doubt they’re spending nearly enough on controlled burns for the current climate. It’s 100% true that the land just wants to burn, pine needles 1-2” thick across an area half the size of New York State.
Cocaine and meth are actually schedule 2 drugs unlike marijuana. It is surprising that they used Cocaine instead of a more common stimulant like Adderall or something.
It started with the Pentium 4. The tradeoff of power/heat for the increased clock speed stopped paying off. In fairness, Apple/IBM/Motorola also learned this lesson with the G5 but they were minor players in the market and were largely ignored. So it was roughly between 2005 and 2008 when perf/watt became a thing. I think public awareness of it had a lot to do with Steve Jobs relentlessly pushing perf/watt to help explain the PPC to Intel transition as Apple was just starting its public awareness rocket ride thanks to the iPod taking off.
> The good thing of open source is that people pick the best available

At least at the fringes, popularity can be anticorrelated with quality.

I can't count the number of times I've looked for a library to do some task, found an extremely popular repo with thousands of stars, tried it and had it fail in an obvious way, find that the bug was reported already (and ignored or closed or a pr was opened and ignored).

I then try some alternative, built by an unknown author, and find that it has reasonable tests (!) and good docs (!) and actually works. 12 GitHub stars.
> - Like the author I don't know much about this topic, but for hashing BCrypt is pretty well known and appears well respected (https://github.com/BcryptNet/bcrypt.net)

bcrypt is a "Password hashing function", not a cryptographic hash. bcrypt has tunable performance, it's not particularly fast to start but can be made extremely slow (to thwart brute-forcing of weak passwords). It also takes multiple inputs (passphrase, salt, parameters) vs 1 parameter for a cryptographic hash (data to hash). For a cryptographic hash you probably want SHA2, Blake2, or Blake3.
The big popular ones that advertise (Hims and Roman) are very overpriced. I found Blink Health sells a generic version for much cheaper ($2 a pill).
> By "stable lifetime employment" do you mean staying at a single company for one's whole working life?

Mainly I mean a full-time, non-temporary work contract. Traditionally, in Japan that kind of contract also implies "staying at a single company for one's whole working life".

> Do you have any statistics showing that this is decreasing?

Look at the second chart here: https://www.nippon.com/en/currents/d00151/

> Even if it does, I don't think that's necessarily a bad thing.

You think so because in the US and Europe, "staying at a single company for one's whole working life" is usually sub-optimal for the employee's career and earning potential. When switching companies, you can usually negotiate a higher salary than you could get via raises at your old company.

In Japan, it's different. High salaries and career prospects are basically only available in those "staying at a single company for one's whole working life" gigs, and they are given only to fresh university graduates. If you don't manage to get one of those (because companies weren't hiring when you were a fresh graduate), you'll be forever a second-class employee with a temporary contract, lower pay and less benefits.
The New Intolerance
Show HN: NasNas, a new intuitive and user friendly C++ game framework
I'm a little bit younger, and pretty much the same on all of this (except vyvanse for me). I really wish I'd figured it out in my teens or twenties.

Also, every time a post on here comes up about elaborate methods of achieving focus the comments are full of people typical-minding what really might actually be ADHD (the whole "everyone is like this right?" thing) and I'm just sitting there like.. maybe you should look into this it probably shouldn't be that hard.

Of course if you post that you get a bunch of replies from people who insist that, "no, actually, it's cell phones' fault" or that it's totally normal to absolutely loathe doing any mundane task.
New formulations are advances. I'm on Vyvanse and it has way fewer side effects than other amphetamine formulations. I could see someone deciding meds are not for them based on side effects or short duration and the come-down lows, and then have those go away entirely by taking Vyvanse.
Once upon a time, we were going to have a Do Not Track setting in our browsers...
Consolidation is very bad for the markets. These players aren't trying to help the retail markets. They want the data.
With low-end branding and possibly sub-par performance.
It’s true that they may have extended him a genuine invitation. It’s also true that he may have overthought it. But that is kind of the point of the story, no?

After you endure enough discrimination and persecution, your trust in others are eroded. You start to irrationally question the motives of others. Eventually you lash out preemptively because you’re afraid.

This is why discrimination and oppression is bad. It tears at the fabric of society.
Keep in mind that "environmental interests" is a cover worn by numerous other interests as cover for their actions. It is simultaneously strongly sympathetic and a convenient scapegoat, whilst masking true motives or dynamics.
> Apple’s in-house cloud stuff is mostly Java

Can u give some more details? I am not really familiar with Apple eco-system

But wouldn't most of it (storage, web, streaming) be based on commodity C/C++ projects ?
I assume it's LD_PRELOAD instead of LD_LIBRARY_PATH ?
Google’s ML Tool Turns Humming into a Beautiful Instrument Solo
You're not the only one. If you read the opinions in United States v. Jones, the supreme court makes a pretty big distinction between the kinds of surveillance a police officer could reasonably do on their own, versus the scaling up that technology allows, and how that might kick otherwise allowed surveillance without a warrant to requiring a warrant just about the sheer amount of information being acquired. And that's even with data that could be available from watching from public streets, if there were enough officers to watch everyone.
That's interesting; I imagine that they're not going to just wholesale replace std::sync::Mutex and the like with the parking lot versions due to the fact that at least last time I checked, doing that would cause breaking API changes (e.g. Mutex::lock not returning a Result, so are they planning on just making a separate module with the parking lot API as an alternative? (I supposed they could just make the parking lot Mutex return a Result that always returns Ok, but that doesn't really seem like it would appeal to most people).
>“We require that you sign up with a valid US phone number to verify your identity as a human for security purposes.”

How does collecting personal data improve security? Why is identity verification needed when the point of using the service is to avoid automated identification in the first place?
Good tool to find files in Linux
It's not based on old footage, but A VR experience for WWI was created.

https://www.warremains.com/

It uses CG, but in an interview the head of production talked about how he kept trying to get his team to push the audio and visuals as much as possible since he really wanted to get the "viewer" to understand even a fraction of what it would have been like to be there.
He wanted to make sure the viewer felt something instead of just being a fly on the wall like a lot of VR experiences.
There's no reason I shouldn't be able to go to the cookie policy services like OneTrust themselves and opt out of every one of their customers forever.
New York City night view scarf
Sequencing is important. IP doesn't guarantee order; the kernel takes the segments of a TCP connection and then delivers them in order to the application as it reads from the socket. It will hold segments that arrive early and block if a segment is missing.

If you don't care about the order you are receiving things then you want UDP.

Is it better for userspace to do the sequencing? Maybe given NUMA - a process might be "closer" to its memory than the kernel and therefore could eat its traffic in the correct order locally faster than being fed by the kernel.
A large part of this is that the move to zero-fee trades meant there's less money to maintain current operations, so by acquiring, they can, yes, "buy revenue," and save money by reducing redundancies and economies of scale. A world with zero-fee trades can only support so many brokerages.
I like to watch talks by programming language designers. Some that readily come to mind are Rich Hickey, Joe Armstrong (RIP), and Stefan Karpinski.

Some of my favorites are:

- Simple Made Easy (Hickey): https://www.youtube.com/watch?v=oytL881p-nQ

- The Mess We're In (Armstrong): https://www.youtube.com/watch?v=lKXe3HUG2l4

- The Unreasonable Effectiveness of Multiple Dispatch (Karpinski): https://www.youtube.com/watch?v=kc9HwsxE1OY
On 1.:

As others already noted, Git has a GC-mechanism, which means that objects can still linger around in any copy of your repo for a while. And if you need to version binary files, you'd better use git-lfs or git-annex. Obviously, if you don't need them, just nuking them outright with BFG or `git filter-branch` is fine, too.

If you'd like to try git-lfs: It also includes tooling to retroactively migrate your Repository[1], but that'll re-write your history (although BFG obviously does that, too).

If GCing your repo will not reduce its size, you'll probably have to hunt down any remnant branch and/or tag that might reference the old history and thus "keep it alive".

On 2.:

I'm not entirely certain I understand you correctly. Which commits were duplicated? The resulting merge commits?

Assuming that, if you wanted to, you could probably build some shell script to get rid of them (or use something like `git checkout prod; git rebase -ir <first_commit>` and remove the duplicated merges yourself).

But from a repo perspective, this shouldn't cause too much trouble (i.e. the additional space required will be negligible), and doing so would, again, mean that you'll rewrite history, potentially causing issues for others who still have local copies referencing your old commits.

Also: If you try to go the rebase route: Make sure you understand the log Git will create for you. Using `-r`, it will preserve merges, but how they are represented is not very intuitive and you'll have to wrap your head around that first.

You could also try to achieve the same result with `git filter-branch` and `--commit-filter`. In this case, you'd probably want to write a script that only performs the `git commit-tree` command if the tree ID passed to the filter is not the same tree as the first parent commit was referencing already (this should weed out all commits that don't change anything).

[1]: https://github.com/git-lfs/git-lfs/blob/master/docs/man/git-...

Edit: As an idea for 2.:

Describing issues in commit histories as prose text is tricky :). If your problem looks different than I assumed, you could try to create a bogus Git repo that showcases the pattern in its history and put it on GitHub as a reference.

You can create "empty" commits for that via `git commit --allow-empty`.
Similarly: https://www.technologyreview.com/2020/09/17/1008473/wildfire...
Also MIT != MIT Media Lab. (Although in terms of reputation the two are usually conflated.)
Yes. Microsoft is happy to oblige and Qualcomm seems to be ramping up their Snapdragon 8cx program, with it in a few recently released devices.
> Do you have any examples of people in your country receiving jail time for polluting the environment?

Yes [1].

The same is true across much of the EU. Russia’s lack of rule of law isn’t exactly headline material.

[1] https://www.epa.gov/enforcement/criminal-press-releases-2019
A simple hash function may be something like dividing by K and taking the remainder, which is probably considered an "elementary operation" by definition.

But in general, keys and the hash function could be anything. For example, if the keys are strings of length N, then it's O(N) for just calculating the hash. Or if the keys are bitmap images, the hash function could apply image recognition and use recognized features as hash values. So, textbooks and other sources probably just ignore the key size and hash function because they could be literally anything.
They have to report the exact fraction of orders they sell, to whom, and for how much, so no need to speculate: https://content.schwab.com/drupal_dependencies/psr/606/2020-...

TL;DR: they primarily sell to Citadel and Virtu.
> Otherwise it's behold, we found a high-resistance path for our battery to run a light bulb.

It's like a nano Rube Goldberg!

Paper is here btw: https://arxiv.org/abs/2002.09947