skysight-inc/HackerNews huggingface dataset:
This is incorrect. useRef takes an initialValue argument, but it does not treat functions as lazy initializers like useState does. If you pass a function to useRef, you’re just going to get that function as the initial value.

If you want to lazily initialize a ref, you need to manually check if it has been initialized and run your expensive code if it hasn’t. Dan Abramov provides what appears to be a pattern officially recommended by the React team: https://github.com/facebook/react/issues/14490#issuecomment-...
It's funny that hydro gets left off these charts, and when it's put on, it's super contentious. The worst hydro accident in history, the Bangqiao Dam failure killed ~200,000 people in one fell swoop. Wiped settlements off the face of the earth. [1]

Brown coal kills 100 people per TWh generated, coal on average about 25. [2]

Chernobyl killed 4000 (31 immediately, the rest were computed over the full course of time including forward looking estimates and counting the people who committed suicide because they feared they were 'contaminated'), Fukushima killed 0, Three Mile Island killed 0.

The US generates about 960TWh from coal per year, or 24,000 deaths. The US' coal consumption alone is equivalent to 6 Chernobyl's per year.

[1] https://en.wikipedia.org/wiki/1975_Banqiao_Dam_failure

[2] https://ourworldindata.org/safest-sources-of-energy
Sabatier reaction plus ordinary rain will solve that problem away but nothing will solve the slow rotation rate and lack of a molten core and resulting magnetosphere. Still Venus is a better candidate than Mars for terraforming.
Ivy league colleges
Canadian companies always lowball Canadians.

20 years ago I worked in the US branch of a Canadian company - we weren’t paid richly but they were paid much less. As a new grad I made 20% more than a 5 year SWE as a Unix SA.
For consistency across generations you'll need something like https://arxiv.org/abs/2208.01618 to carry the concepts across, hopefully nvidia releases the source code soon, or someone that understands the internals of latent diffusion better can implement an open source version.
Pan fry it and put it between white bread with pickle slices and a little mayo + salt/pepper
"A lot of artists feel like they own their work."

I can almost hear the "would be a shame if something happened to it."

Imagine you built a house, and someone came a long and said "I bet you feel like you own that house."

Insanity.
Not just that, but at the specific expense of pedestrians and cyclists.
It's a bit warmer too
Thanks this is really helpful!

>"The power connections to the transistor aren't shown in the diagram; they are off to the left."

What does the power connection to the transistors look like? I guess it's another two vias, one into the source side and one into the drain side that connect to the power rail? I'm guessing there's metal in the source and drain similar to the gate where these terminate?

>"The gate is the important part; it needs to be a rectangle with specific dimensions (based on the circuit)."

Could you elaborate on why it needs to be rectangle? Are the specific dimension based on resistance needed in the circuit then?
During the gold standard the boom/bust cycles were closer to a decade. Also, gold was a currency and Bitcoin is a speculative asset currently used for sending money to other countries and for illegal purposes.
Fastmail user here. I can testify to this strategy. I consistently keep my inbox zero and almost zero spam. Either way, the Fastmail spam filter is excellent. This is from a non-technical user who doesn't use sieve rules (which are even better and more granular)!
Which are the best models the 3090 enables you to load?
A culture shift where a 2/3 bed appt is seen as OK for families would help. Ideally there would be parks / exercise opportunities nearby.
I thought exactly the same thing!
AFAIK safety engineering, at its heart, allows for different levels of severity, and does not censor lesser-severity events as outside its scope. AFAIK the whole meaning of the discipline is to not brush things off.

No one is advocating for any of our current status-quo systems, but that is what we have, for now.
It's not a function, it's an immediately-invoked function expression.

Edit: I guess it would be a bit inefficient to invoke the IIFE every render just to initialize the value once. Probably better to use useMemo with [] as the dependency list then, either one achieves the same result.
Thank you! I will be doing a lot less "<return><return><return>...wait for connection to timeout"!
If you mean ‘software company’ then say that - software isn’t the only form of technology - drive trains are also technology.
from the article:

> If a component has a bunch of props and not a lot of descendants, it can actually be slower to check if any of the props have changed compared to re-rendering the component. (I don't have a source for this claim, but I've seen prominent developers like Dan Abramov make this case on Twitter)

It might vary from application to application but this seems like something that could be tested.

Also on the other side of the coin, you have memo all the things: https://attardi.org/why-we-memo-all-the-things/
That was my first reaction too.
I think it would be irrelevant, since a specific law was passed in Australia forcing them to pay. I think it applies even to bare hyperlinks?

https://www.bbc.com/news/world-australia-56410335
They may be a hypocrite, but that doesn't make them incorrect or bad at identifying markets.

In other news: Fat man says eating less reduces weight and sells pizza
> who billionaires and celebs hire to keep their personal info off the internet

I also do this type of work on the side. When it matters a device level VPN is never the correct option, because every OS leaks to some extent. They get a device where the cellular components have been disabled and it can only connect to a fixed wifi AP carried by one of their EP guys that tunnels the traffic back to a datacenter.
Related: "Enter" then ~ then "C" will open a command prompt that allows to add/close port forwardings. There others. Try "Enter" then ~ then "?".
this happens with android too. Which sucks. Although it is possible with root, which shows the benefit of having full control over your device
One idea I had was being able to share your curated algorithm to others. ie. Your instagram explore page, or your specific tiktok recommends. People could subscribe to x person's recommends and see what they see.
I related to the article. Although I have supported myself by working sporadically for companies, I have put a fair amount of effort over the last 30 years into writing books. In recent years, my books are free to people who don’t want to pay for them, with my blessings. I do have a small following, I guess perhaps 3000 people, who pay for more than one of books. I was thinking the other day how nice it would be to eventually double this, but I really don’t care. I get good feedback and connections from people who enjoy my writing for free and I simply want my efforts to be useful. I do look at the distributions of fraction of paid readership for my books, and take that as a signal that those are the books people like the best so I do more revisions and updates for those books.

I am blown away how much fantastic amateur or semi-professional talent there is on platforms like YouTube. I believe in technology and a future world with much more leisure time and I expect many people will fill up some of that extra time doing crafts/hobbies, writing, making music, etc. I like de-emphasis of corporate media even if there will always be a place for that. I used to enjoy, long ago, corporate media news, keeping up to date, etc. Now, I skip most of that, listen a few times a month to private sources like Matt Taibbi, and I am very happy to reclaim that time by not listening to unproductive things like MSNBC, Fox, CNN, etc. Often that extra time I get back is just reading books and listening to music.
That needs an enter first? That might explain why I've always found ~. to be so unreliable
Apparently rout53 acts as domain registrar as well.

https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/do...
>Why not to build nuclear powerplants away from lands used for other purposes?

Because the longer the transmission lines the more power is lost - so plants are generally close to where they are delivering electricity.
docker compose in prod?? what???

who would do this??
If you already have a pool and casks, why not drill the hole? Seems like a failure of imagination, and a lack of civic responsibility.
The Australian High Court is generally not partisan or political. The Justices are not generally predictable in their rulings, unlike in the US. So, if you're right that it's an archaeic view, I wouldn't put that down to politics.

An example is a recent hot button issue where the Court ruled Aboriginal Australians could not be classified as "aliens" under the Constitution (Love v Commonwealth). The decision was condemned by conservative media as judicial activism. The majority comprised Bell, Gordon, Nettle and Edelman JJ, the latter 3 were conservative government appointments.
Something I think is interesting about this, is that maybe 10-20 years ago, when you heard futurists speak of what the implications of AI would be, it was the accounting, driving, warehouse, positions that the scary future AI were going to automate out of existence. The speculation was that we'd all have to become artists or poets, since, obviously creative work would be out of the reach of AI.
What you're describing is a known limitation of Midjourney and it's default impressionist style. Current solution to that problem: any particular item on the desk can be erased and re-generated with DALL-E, with prompt control, which will add a much clearer item.
Frontend security primer
There would be all kinds of repeated actions, obtaining counter-intuitive objects to get past obscure guards in a way that doesn't quite make sense.

I know this because our best (not sarcasm) humans have done the same thing for years.
Two of New York’s Oldest Mafia Clans Charged in Money Laundering Scheme
Inflex looks really great! I love the no-grid + reactivity premise!
I didn’t want to be the one to say it.
I agree but one could say the exact same thing about the Soviet Union running tests at 2 in the morning at Chernobyl. So if you're willing to discount one it's only fair to discount the other no?
I started looking into this in the 2010s, and the evidence suggests that we're going to see everything humans do as subordinates face a 6-12% annual wage decline starting about now. If you do it as a subordinate, a machine can do your job well enough either to replace you, or to replace 90+ percent of the people in your job, leaving the rest of you to fight over scraps. The part of your job that a machine can't do might seem really important to you, but your boss's boss's boss probably doesn't care about it, since scalable mediocrity is more profitable than whatever "extra" you provide.

Ignore the whining of frontline managers about how "no one wants to work" (i.e., their own bosses are squeezing them by refusing to let them hire, forcing them to do more grunt work). The long-term trend of wages is downward. Labor markets do not find equilibrium. They diverge. The lizardfolk who own all the capital can wait. But laborers cannot; they need to eat. The whole goddamn system is rigged and 99+ percent of us are losers.

This isn't just about AI Art, or the mediocre but serviceable code generated by GPT-3 and the like. We are very likely headed for a broad-based, general wage collapse everywhere in the world, and this sort of situation is likely to result in a global violent conflict between people and capital, in which either an entire socioeconomic system is overthrown (a chaotic situation, but the good outcome) or humanity is thrown into slavery from which it is unlikely ever to recover.
5000 reactor-years is very little in comparison to the amount which would count up if similar units were somehow economically rolled out for industry. To play any significant part in global energy supply hundreds or moreso thousands of these would need to be operated, each for decades. And by civilians - some liable to fail to match military standards of operation. 5000 reactor-years is really a tiny fraction of what many people are interested in.
The "frog riddle" is trying to do a fast one like the Monty Hall goat problem, but failing. It sounds good but it is deceptive.

Kind of like saying the outcome is 50/50 because "it happens or it doesn't".
Xe is a treasure. This whole piece is a treasure. I will never read timer job without thinking "spicy cronjob" ever again.

Anybody rig up anything weird on their deck yet?
Yeah, this one saves (cumulatively) a lot of time. Particularly when you realise that:

(a) remote tab-completion works when typing out an scp command, and

(b) a ControlMaster config makes this tab-completion near-instant (i.e. doesn't require negotiating a connection every time).
"Seen as ok" doesn't change the experience of those living in it.
I really would love to do a project like that, but I'm already trying to justify my "build retro computer using 20 yr old components that are now dirt cheap and a 35-40 yr old CPU projects" - e.g. 68010 and 286 and friends.

I'm way too young to have had the opportunity to experience these machines first hand let alone have any attachment to useful software that may have ran on them. Retro-computing has been a way for me to experience some of computing's past.
Early investors made a bunch of money, before bankruptcy lost everyone else’s money
Depends how dense the oxygen is ;) It wouldn't, but there are methods to retain it. If we had the capability, which we definitely don't, currently.

On earth we have a magnetosphere that protects our atmosphere from erosion from the deluge the sun gives us (hello Auroras!) but Mars doesn't have that. It's size is an issue too plus it's distance and orbit around the sun now. It didn't used to be so barren, it had massive lakes and oceans and possibly life once upon a time. To terraform it now would take a level of engineering that we don't have, but could, if we manage to not nullify ourselves in the next 200 years.
One imagines there are differences in the abilities of various governments to deliver projects. I’ve read that most of California’s projects go to a handful of contractors with poor records.
@all: Some people in this discussion have asked for a kind of tutorial to lambdatalk. I've written quite a few of them without ever being satisfied. Maybe this one could be useful: http://lambdaway.free.fr/lambdawalks/?view=prime_pattern .
the obvious disconnect to me has been that we compare DALLE and midjourney results to what we human-generated art used to look like on earlier Unreal Engine. This is what human generated art looks like now:

https://youtu.be/JXrWPLNp9tw
Forget about WeWork and put ethics aside, the guy turned (pretty much) nothing into billions, they're betting he will do it again. i.e. Neumann has a very high ROI.
6 families live on that land instead of 1. It’s a net benefit for society. You’re talking as if families are being screwed by developers. What I see is 5 mores families getting a home.

You can’t have a society where everyone owns a single family home of 4000sqf. Infrastructure and public dollar can’t sustain all the roads, aqueduc, transit, for such low density. If some people have the money for it, fine, but we can’t have the whole population of North America living that way. It was always a lie of the American dream.
I think we have an opportunity to agree then. Maybe if people are able to opt out of media they’d find seriously upsetting, we can enjoy whatever people feel more free to make without so much caution.
xbar – Put anything in your macOS menu bar
No prob. Often metal guitarists have a some portion of the amps on stage pumping out clean, undistorted sound because it adds a ton of depth. Occasionally this is super useful in cooking, too. Mixing raw and roasted garlic in an aoli is a pro move, as is mixing cooked and raw fruit in a coulis or sorbet being sure to add enough acid to brighten it back up.
How do you ensure that across files on a large project?
I have never seen cross-platform UI that would work and/or look close enough to native. It has always been classic "choose any two": cross-platform, UI, great.

There were many people who claimed they have achieved all three, but at the close examination all of them, 100% without exception, were missing many little things like standard shortcuts, respecting color preference in user settings, or just couldn't see the difference between 11pt and 13pt fonts while looking directly at them.

10 years ago I worked on rewriting Qt interface of a desktop app back to native for a similar reason, and now I am reading all the same story except it's about React Native in mobile apps.
'VPN' is just a nickname for secure tunnels. These can be used for many different purposes.
I’ve been using nextdns for two years. Can’t live without it now.
The same reason people buy crypto.

They expect to resell it at a profit to a bigger sucker before the whole thing collapses.
The problem is incentives. The work necessary to bring a code base like this into production level and maintain it: be realistic - this will not be done by grad student labor without significant supervision, regardless of language. This is many times the effort needed to show "it works" once.

There is currently no incentive model that I know of that can make this work at a university, or even national lab. In these contexts currently it's really hard to get funding for a single "real" programmer for a year, let along a proper effort for something like this. If it became a critical infrastructure project for a federal level agency, sure - but why would they support doing it in public?
Can't find them at the moment (check the Swift forums), but the two big issues I've seen reported are both in TaskGroup. One is a runtime crash under certain conditions, the other a major performance bottleneck when adding thousands of child tasks to a group. Both have workarounds, but they can hit you when using back deployment or any OS that has the 5.5 runtime (iOS 15 - 15.3 for instance). Wouldn't be showstoppers for me, just something to be aware of.
Some have olives as well, I tried it myself years ago. Mortadella is delicious though in the US there are two versions for sale. I forgot which, is the one that is a bit too dry and not to my taste. In my 40s now I stay away from processed meats as much as I can.
They'll need some kind of reactor as solar won't cut the energy needed to run Sabatier, that's for sure.
You can't see how fully controlling the device is required to even be sure VPN works.

This stuff is up to whoever has root on your device, be it Apple or eg. bad guy exploiting 0day in captive portal, but certainly not you.
Hard disagree.

I couldn't get Spotify on my tesla to even see my playlists, much less connect to my Apple Music account (which I would have preferred). The text message handling was abysmal, and the audio reading failed after two weeks and no amount of rebooting or resetting would get my Tesla to talk to my phone again.

My phone supports multiple map apps, podcasts, etc. Lots more choices than Tesla. About the only thing the Tesla has different is Supercharger integration and remaining range integration with the nav. Except the range estimate dropped on the freeway about 1.2 miles for every 1 mile driven, so it was pretty useless for that.
The "de-facto" standard for design and art in public spaces, corporations, websites, flyers, movies, posters, is that which can provably and evidently only be produced by well paid, furnished dedicated professionals. The standard isn't what looks good, it's what is evidently the work of someone or something with sufficient resources to be worth paying attention to. The standard will shift to something that cannot replicated easily by some 10 year old kid with 20 dollars worth of DallE-5 credits.

I can imagine the standard shifts from quality to scale. I.e a company doesn't give a shit that they have nice design, but rather they make something so ugly that noone could mistake it as being something someone commissioned from an AI, and spread it in necessarily low-supply spaces. (i.e. a new social media company's logo is a green poop emoji that they pay every west coast MLB player to get a tattoo of on their forehead).
Delicios but really unhealthy in my oppinion
It's not just microbial activity. Chemical/physical ingredient breakdown is important, too.
so called modern "tech" can't build anything that isn't made out of bits. After that essay, a16z went on to fund a digital nightclub for nerds (clubhouse), tons of crypto schemes, and now apparently the next iteration on landlording. So pretty much anything that doesn't involve building something in the physical world.

when covid came around every single one of these entrepreneurs was spamming twitter with how they're doing their part in saving everyone, yet at the end of the day it was the pharma sector and governments who actually did it.

Even within the software sector it's largely companies like Microsoft or Apple, preceding the Andreessen generation who genuinely build things. Including here on HN in particular there needs to be a critical re-evaluation of the entire 'startup economy' and how much of it is just digital rent-seeking on top of physical infrastructure that other people build.
Getting fired is preferable to quitting as you get unemployment
Let's call it hypocrisy then.
Agreed. FreeCAD is coming along at a good pace. One of the devs (RealThunder) maintains a development branch which fixes the topological naming problem, which was probably FreeCAD's main weakness. It's already very usable; once that fix gets merged into the main branch I think they'll be ready for the 1.0 release.
As a (now casual) game developer, this is absolutely fantastic.

I've never touched the realm of adventure games simply because I lack the skills and I don't have any contacts that are interested to work for free...

Having these type of systems on a dime to generate ideas, narrative and contents is a game changer.

It won't however change the fact that releasing games is part of a big machinery of algorithms - of the 25-35 steam games released every day; meaning: mostly no-one will see or play yours... Indie games are nowadays released like throwing a pebble in the river... See ya... Unless you push a ton of cash in advertising and get a publisher but by that point you'll hate making games anyway...
As opposed to the existing concrete parking towers that usually smell strongly of urine and have accumulated so much garbage that it now acts as a patina on the asphalt...
Specifically it requires propellant, which on Earth is the air intake. For space travel you have to still take a propellant, but it can be essentially any type of gaseous reaction mass - for example, water.
> Compilers didn't put programmers out of business, it just moved them one layer up

That’s a terrible analogy. Compilers didn’t put devs out of business because it still would takes months of learning before someone that needs a program made could leverage a compiler to do basic things. So they hire devs.

It takes 0 hours of learning before someone that want a nice illustration made for them can do it with dalle/midjourney. Why would they hire anyone to do it ?
Some people are going to say prompt engineering is a new skill, but I bet that prompt engineering is going to disappear as fast as it arrived as we build more practical ways of exploring the image space.
I’ve watched this happen in my own neighborhood which is trying to build in additional transit options and build high density housing to ease the pressure on prices.

We have neighbors vehemently opposed to the transit, convinced that it will bring the “bad elements” to town. Then further fighting the housing complaining of how it would make traffic worse. Note that neither is even close to a problem… I just sit and sigh.

Honestly I think these developments will help our values but they don’t see it that way.