skysight-inc/HackerNews huggingface dataset:
> Impact in corporate law is not necessarily close to neutral at all. You may, for example be promoting income inequality and housing affordability issues by facilitating international investment funds buying up huge swathes of real estate in a city.

This is debatable. If they are renting out the houses this could reduce rents which would improve the lives of the poor who rent much more often than own. If they are sitting on them it's much more likely to be negative.

> You may be helping plutocrats syphon resources and public funds away from developing countries.

I'll give you that you shouldn't earn to give by working for Gaddafi. I think the vast majority of EA would agree.

The third rule at 80,000 hours the biggest proponent of earn to give is

3. Doesn’t cause harm

And their actual recommendations given are

Tech startup founder

Quantitative trading

Software engineering

Startup early employee

Data science

Management consulting

Marketing

Actuarial science

Executive search

Nursing

Allied health
if unnamed "activist groups" are trying to kill twitter advertising then there should be a paper trail of ... activism, no?
Wasm3 leans into the hardware stack I believe.
Can you get Cobalt to return an error status "HTML outside of supported subset - need full browser", for applications where you need a fast-launching embedded browser?

Is there some tool for evaluating pages for "will they run in Cobalt"?

I can see uses for this if you can do that. If you can't, it's limited to sites designed for it.
Doing CW QRP at 1 watt in the right conditions will cover a huge distance, especially if the power has gone out. It really doesn’t take much when you get down to the absolute minimum viable setup.
People in India villages can survive till they die :)
Absolutely. Also even if the staffing count is good, the mix between departments may be bad.
Novas happen in binary systems. The Sun is not large enough to undergo a supernova. It is an isolated star that will simply fade away as a white dwarf, barring any unforeseeable collisions with other stars.
I regard attacks on critical civilian infrastructure as strategically indistinguishable from nuclear attacks, and deserving of a similar response.

Edit: Why is this being downvoted. I'm right. One will kill 100k people instantly. The other will send them back to the Middle Ages. The former group might actually be the luckier one.
There’s a bit of shared lineage there. Joseph Devietti and I started working in this area together around 2015. And Joe had worked on the deterministic dOS at UW during his PhD (which led to Jinx).

Another related effort is antithesis.com which also seems to use a hypervisor approach rather than Hermits Linux-syscall-API level approach.
Ada’s memory management is a mix of memory pools, RAII, and manual memory management.

It often isn’t necessary to explicitly use pointers to dynamically allocated memory. For example, Ada lets you return an array of unknown size by value from a function. These unconstrained objects are stored on what is called a “secondary stack”, which is basically a special allocation pool for holding these objects managed by the language runtime.

When you do use pointers, the compiler is very strict to try and avoid dangling pointers. You can also create custom pointer types and assign them to memory pools, so dynamic allocations of that pointer type get made in the pool (and not in the normal heap).

You can also use manual memory management (using the `new` keyword and the `Unchecked_Deallocation` function similar to malloc() and free()).

There is also a finalizer class you can inherit from that adds a destructor to record types, so you can use RAII, too.
I didn't see it here, but one of the points that doesn't seem to be expanded on too well is that despite liking Rust, I wouldn't use it for a basic web server in a startup environment either, mainly because the whole environment around web stuff is too immature in my experience.

Ruby on Rails certainly isn't perfect, but it's a highly battle-tested web framework. It's been so widely used for so long that you can have high confidence that you won't run into any bugs that will require digging into the guts of it. You can write code against it and be highly confident that any bugs or misbehaviors are in your code, with difficulty of finding and fixing dependent only on how good the code you've written is.

With Rust, I don't think that's the case. The DB and web server related libs just don't seem to have that much manpower behind them, and haven't had big complex services built on them in production for years. If you want to do anything mildly complex, there's a good chance you'll have to dig into the guts of these to figure out what's really happening or to resolve some weird bug or add a feature. That'll require a lot of skill, even if the code you're actually writing is mostly straightforward.
I'm simply going to say this again: Rust's type system doesn't meaningfully mitigate XSS, RCE, or metacharacter injection. You are equally likely to write an SQLI or an SSRF in Rust as you are in Java.

There are exactly two types of vulnerabilities Rust (and some other modern memory-safe languages) mitigate beyond memory corruption:

1. Java, Python, and Ruby have deserialization libraries that can easily be misused to create RCE vulnerabilities.

2. Python, Ruby, and Javascript have eval and eval-equivalents (which is essentially what your first example is).

You can pretend anything is a type system issue, but neither of these two vulnerabilities are properly understood as type safety errors. Java has a sharply more prescriptive and policed type system than Ruby does, but both have deserialization issues; it's just a generational thing.

Deserialization in new Java code is unlikely; deserialization is much less common than SSRF, which plagues Rust code just like everything else. In 2022, there is no meaningful security benefit to Rust over Java.

There are other reasons to use Rust! People should just stop making up fake security reasons to do it.
Show HN: A tiny text editor built with social shareability in mind. open source
Which has nothing to do with this incident.
Cold favors a large body with a higher mass to surface area. But an ice age isn't all ice, snow and eternal winter. There were still seasons south of the ice sheets where the animals lived.
There are a bunch of open source software that does this
Starlink and probably most isps would not last long
I think that last line is really the crux of it. Most of us would survive a “collapse” event exactly as long as it would take for people to get desperate. After that, all the batteries and canned food in the world will do you no good if you don’t have a remote and defensible location, ammunition, and lots of training. I have none of the above, so fingers crossed!
> I also think it is very healthy, we should hate people that hold so much power through their wealth.

War is peace, freedom is slavery, ignorance is strength, hate is healthy?

How is it "healthy"? Sitting there hating some random person you don't know "more and more everyday"? That sounds like someone who needs therapy or, at least, a new hobby.
Are you not using an adblocker?
What do you do about security here?

Isn‘t automatically checking out and opening a repository after clicking a link quite a risky affair? Does it bypass the „do you trust this repo“ screen put up by VSCode?
After the Texas winter fiasco, we had solar panels + backup battery (40kWh worth) + backup whole home generator installed. Thankfully enphase allows you to go fully off grid so if the grid is down, you can still use your panels & backup battery compared to the Tesla system which does not allow that.

The batteries can output up to 15kWh at once so it pretty much is "whole home" backup even if its just the batteries as long as you don't turn everything on at once.

Can't imagine an EMP, but i'm as prepared as I can be at least for Texas.
Bizarre performance characteristics of Alder Lake CPUs
Given that society has been around for about 200k years and power grids have been around for about 100 years, I think there would be a bit of disruption but it will be temporary and then things will adapt. People will sell conversion kits to change refrigerators over to using big blocks of ice, steam ships will harvest ice from icebergs. I doubt horses will come back though, presumably even without a grid factories will operate with local generators or solar/wind power farms, and trains don't need the power grid to deliver goods.
>And someone coming in and taking it away from me.

perhaps there's another thing you should invest in. well, unless you're cool with someone coming in and taking everything from you
I noticed that. There was an announcement of a council, people from certain specific organizations were part of it, then a day later I noticed those same organizations had joined on to pressure advertisers to boycott Twitter. Seemed weird and a bit disheartening, seeing that I was hoping for the various parties to come to some sort of mutually beneficial understanding.
Go has one of the best compiled language IDE experiences out there. GoLand makes it feel easier than Python code :)
I’m saying as long as brands can’t be guaranteed their ads won’t regularly show up next to horrific things, they won’t come back. Especially since they weren’t great To be fun with, having significantly smaller numbers of advertisers than their competitors.
Prepare sure. But make sure you stock up on salt ;)
This sounds like Illuminati conspiracy from Musk. Who is this “coalition”, and why would they be making deals on whether or not to attack his platform?

Also if they were actually activist, why would they be satisfied with just a moderation council? Surely if they cared about causes enough to agree to not criticize Twitter, they would criticize it for other things that would pop up?

This sounds like Elon didn’t bother setting up a council (there was never proof he tried) and is looking to spin the story now that advertisers are dropping off.

Remember that key advertisers dropped off before he even announced the idea of a council. They even specifically mentioned that his erratic behaviour was part of the reason.

I think Elon is going for the classic “victimhood” play to garner sympathy.
But moving it from the zero register to another register would also take time. If what you want is a zero in a register other than the zero register (say, one that is going to serve as the index of a loop, which the zero register cannot do), then MOVEQ should not take any longer than a MOVE from the zero register to another register.
There's a small personal side too. No one likes to see the packaging that their team spent months making splattered in a mud puddle.
>My favorite is people who think gold and silver will matter. Nope.

Seems like they'd matter more than the electronic number of a non-existent/inaccessible bank account of one's so-called wealth?
But I agree that all such instantly barterable items are a better commodity.
`map` and its cousins make Rust error handling code easier to write. It doesn't make error handling easier to follow. And Rust introduces the problem of "thicket of different error types". And that's before we get to the sync/async boundary. There's a lot not to like about both Rust and Go's error handling. People need to stop pretending that either language has this answered perfectly.

People complain about Go's wordy error handling, but systems programming is error programming. The places where Go's error handling is most annoying is in application code, where you'd ordinarily EAFP instead of LBYL. But that's also the code Rust is least convenient for.

Go vs. Rust is truly the dumbest programming language slapfight in the entire industry.
It looks pointless? From YT comments:

Robert C.

I'm a little confused about what's going on here. I looked up the legislative process in NY to find out what provisions NY state has for passing bills into law, and according the NY Senate website, the governor has 10 days to veto a law, after which it automatically becomes law even if she doesn't sign it. If the legislature is out of session when she gets the bill, she then has 30 days to sign it or it is automatically vetoed.

Either way, after 7 months, she shouldn't be still sitting on this bill. It should have either automatically become law or have been vetoed, depending on circumstance.

And if it did pass with that big of a majority, it shouldn't be too difficult to get a veto override, which only takes a 2/3 majority vote of the full legislature.
Usually battery operated on heaters at least
Even if cities we less restrictive on permitting where would they build all these houses? It’s not like SF, SJ or NY have vast areas of undeveloped land available.
What’s the “Demo Mode” part of the headline refer to?
Looks great! Since it's programmable in Go, why not go whole hog ?

1) Accept an SQL schema and automatically diagram all tables that interconnect via PK/FK references (including many-to-many).

2) Starting from main(), reflect a compiled code base (or use source files' parse results from https://pkg.go.dev/go/parser) and diagram it down to some level.
You don’t have to accept deaths! I’ve never lost a dupe yet and have beaten the game multiple times. There are skills to learn though so you can safely conquer each of the hazards presented by different biomes (heat, lack of oxygen, germs etc). I do like to look at other people’s builds etc to learn from them though. There’s a huge community around this game and people have built all kinds of crazy megaprojects (pumping magma, melting steel and regolith, boiling glass to use the vapour for things etc) you can take inspiration from. Francis John is someone mentioned in another post or if you want really insane builds greezyhammer is great although he posts very infrequently.

One key thing that another poster has mentioned is taking it slow. Also learn to use vacuum and similar mechanisms to your advantage. If you look at other people’s advanced builds, they almost always start with a vacuum to control the environment and build from there.
Org size can cause some amount of fatigue, sure. But reliable security engineers are few and far between. Not necessary scale-able to org size.

Additionally, security is one of those things it's hard to get C-suite execs to pay attention to and spend money on. When it's working, you don't notice it. And if your 5 person security team has worked fine for the past 5 years as the org has grown, why should you suddenly scale it up to 10? Everything is fine! That is...until it isn't. But rarely do people think ahead like this.
GHC -> Haskell
There are separate east and west grids outside of Texas.
One option is filtering the air immediately before you breathe it in. The active airflow can greatly mitigate common comfort issues with traditional masking.

It also gives you some protection outside, which is nice.

https://www.amazon.com/BROAD-Rechargeable-Electrical-Purifyi...
All good points. A small note: there's yet a many orders of magnitude difference between the whole power consumption, or even only residential power consumption, and the storage available in distributed sources. Even projecting ahead a few years and counting what's likely to be built. I'd guess between 3 and 5 zeroes, in most densely populated cities.

If anything, I think the bulk of the flexibility will come from the addition of new greener power sources, plus NOT shutting down the old ones but keeping them either at a minimum or suspended.

The eco legislation in Europe in the past years is the perfect example of how not to do things. They kept going with more stringent regulation after covid, lockdowns and massive financial aids, when the likelihood of an economic crisis was high.

In my country (Romania) in a moment of revolutionary enthusiasm, the local law passed to fulfill the wider european legislation had specific phrasing to permanently close existing power plants, with no option to ever reopen them. Talk about misreading the flow. And now we're a net importer of power, even as we're one of the most power-rich countries around.
Ice age was not that much colder than now. Most of Canada was covered with ice, but most of United States wasn’t. Places which are hot today were warm at the time, and places that are warm were temperate. This means that there is no reason to assume that food was scarce.

Here is a way to think about it: Alaska today is probably colder than southeastern US was during ice age. Is food in Alaska so scarce today that it does not support megafauna? Obviously it’s not, quite the opposite. Same was true about most of US during last ice age.
I assumed while(!ptr) ptr=malloc(size) had been the norm for applications for the last 10 years.
The Pedo guy was one of the dumbest things Elon has done. But it's worth noting that the guy had used a sexually explicit insult against Elon on TV immediately before that. It didn't come out of nowhere.
Elon stupidly went much further. Elon is mean to people who are mean to him and nice to people who are nice to him. That makes him kind of easy to manipulate.

Neurotypicals (and those with higher social intelligence) know you're supposed to pretend to be nice to people who are mean to you.
The Windows approach is better from a "perfect system" point of view: in theory an application knows all the code that it is loading and has a grasp on its own memory usage. You still have virtual address space because it is used for other things too (like memory mapped files), but you "commit" your current upper limit. You can be sure that if needed you'll actually be able to malloc (well HeapAlloc) that much memory. It might be slow due to swapping but it won't fail.

The Unix approach is better from a "realistic" point of view: most processes have a lot of library code they don't control and don't have time to audit. Usage patterns vary. And most processes end up reserving more memory than they ever actually touch. Note what they mentioned in the article - 3rd party graphics drivers run code in every process on Windows and that code allocates whatever it wants that counts against your commit limit. That isn't under your control at all and worse most of the time the memory is never touched.

Having lived under both systems I think I prefer the Unix view. In practice almost no Windows software does anything useful with commit limits so it just creates extra complexity and failure modes for little benefit.
Longer than the far-too-many sci-books out there predict. I have lived in areas in the US that went without power for a week or longer...and without the ability to make power for at least that long (New Jersey, Hurricane Sandy as one example)

Society is more tolerant than most people think, and the grid is gradually becoming less of an issue thanks to alternative energy means like solar.

While many will suffer/not be happy if the lights went dark due to a grid collapse, I suspect we would survive.
Noone on the left wants this. It's a solution invented and pushed by people who want to keep using more energy and drag their feet in eliminating fossil fuels. We should be putting every ounce of effort we can into eliminating waste, transitioning to clean sourcez and better distributing the energy budget we have now so the people who have too little can flourish. Not coming up with reasons that those in the global north can consume even more.
Indeed but at the same time, weapons and ammunition begin to look far more valuable than communication. I'm trying to reason through how valuable information would be in a grid-down scenario. Presumably, all the major roads would have check-points operated by the prevailing authority and would confiscate any valuable goods one learned about over the air. It seems to me that having access to defensible food and shelter is vastly more important over the first period of time until things have stabilized at a new local maximum.
The problem is that this is a unique case. If Twitter 2.0 succeeds, then it sends a signal to the capital class that they can proceed in buying up tech companies and gutting them to the bone. The power that Engineers have will be severely reduced and I suspect that avenue towards a respectable middle class life will be further eroded. Hell if Twitter only lasts a few more years, Elon has the potential of turning it around enough to sell it, getting the credit and the profit and letting someone else hold the bag. In this case its not a matter of mean spirited or not. This is a silent war going on and the other side could care less about being nice.
Busses are bosons; they tend to condensate.
Google is just a website too. It’s more profitable than all his companies combined. Why doesn’t he fix a random website and take all of Google’s profits?
San Francisco does, in the upwards direction.
They've severely limited building tall, multi use buildings there. John Stossell did a great video on this:
https://www.youtube.com/watch?v=b9pgh5EO6lw
Very cool project but I wish they had named it Manganese. Certain isotopes of chromium undergo beta decay Cr → Mn + e⁻ so it would have been a propos for the two derivatives of Chromium to be Manganese and Electron.
Coming from India and as someone who has lived, growing up (in the 90s), without power for hours and days...trust me you are going to be deeply inconvenienced but not going to die.

We had hand fans (hot climate) and fire in large bowl shaped vessels (when cold). Nights without power are spent sleeping on terrace. We had oil lamps for light in the evening. Most night activity would siege by 8pm max to wake up early at 4am ish.

For water we have wells and ponds. Flushing...well what's that! Indian toilets were made to not need lot of water flushing or people simply used nature toilet!

No fridge (fresh food ftw), no vacuum (brooms and mop only), no elevators, no mixer grinder! But we lived. People adapt

Society would collapse and go back in time...however people are more resilient.
We're talking past each other. You're describing issues that come up during the git workflow. I'm talking about production bugs.
Telnet into a camera over WiFi to remove software limitations
> In the call, Sequoia partners said the firm conducted due diligence on FTX but believed it was misled by the company’s founder, Sam Bankman-Fried,

So they are lying through their teeth to cover up their own incompetence. Doesn't sound like much of an apology to me.
Maybe slower metabolism/heartbeat since they retain heat better

Also, is it a coincidence that tech gets smaller over time? Maybe there is a shared reason why larger systems are easier to implement, at first
It's hard to take this seriously. It's more of a criticism of utilitarianism (and pretty much all moral reasoning) than longtermism.

Utility is very much a thing, "commensuration" is very much a necessity. You/your country/the world have finite resources that are insufficient for the task at hand. You must choose some option (not choosing is a choice) and what option you choose reveals your moral inclination. At big enough scales, this sometimes just means saving some lives at the expense of others. That's just life.

Also the implication that math is solely just some way to "argue" pet theories and not one of the best tools we have to understand and manipulate the world... is just insulting. (There are surely people who use it this way, but there is no intellectual tool that can't be used this way.)
The worst time to do something for the first time is in an emergency.

Definitely a good idea to jump start on some areas that are lacking, no matter how small the steps are they are worth taking.
Those people are just one news cycle away from not caring anymore.