skysight-inc/HackerNews huggingface dataset:
I think everyone should turn off their power for a couple of hours (when convenient) just to see if and how well they'd manage. Because it's so easy to become reliant on something without realizing that it could go.

Powers gone off? Guess I'll put the kettle on and make some tea while I wait - no power. It's got a bit dark - put the light on. Listen to spotify? No songs downloaded and no data etc etc. And that's not even covering food preparation yet.
> But the flip side is that naive Rust code just isn't useful for multithreaded work and tends to require heavier abstractions (e.g. copy "commands" or whatever in and out of queues vs. just taking a lock around some shared data). I occasionally try to look at the natural way one expresses the kind of stuff we do in Zephyr in a Rust kernel, and... there's really not much there besides copious and extensive use of unsafe.

You can take a lock around some shared data; the standard library has such a thing. If the standard library lacked such a thing, then you could implement that abstraction in unsafe, but that at least narrows the amount of code you need to reason about the thread-safety for. Of course that only prevents data-races, not deadlocks and livelocks.

Most code that you can't "just do" in Rust is code that really should have a lot of eyeballs on it were it implemented in some other language. Kernel code gets a lot of eyeballs, usually a lot of testing, and still ends up with fielded bugs[1].

For kernel code, I imagine Rust shines for device drivers; TFA applies well there; a multithreaded kernel could have thread-oblivious device drivers and no future "optimization" would accidentally share data between threads.

There are data-structures and algorithms that put you in conflict with Rust's type system (a non-concurrency one that comes to mind is trees with parent pointers). Sometimes the solution is to pick a different data-structure, other times it is judicious use of unsafe.

1: Note that the same is true with parts of the Rust stdlib that are implemented with unsafe.
How to explain the KGB's success identifying CIA agents in the field (2015)
Ask HN: Is there an editor with insert mode and free cursor?
Looking for an editor (Linux) with insert/overwrite mode and free cursor movement, i.e. you can place cursor anywhere and start typing in any random column without having to pad lines with spaces first. This is kind of a nice feature from one of my Casio pocket organizers from the '90s. Thanks for any tips.
Sabine Hossenfelder did a good video on this topic recently
https://www.youtube.com/watch?v=B_M64BSzcRY
WTAF? At the end of the day, advertisers are the real customers. How is their experience not a priority?!
what value do they provide other than speculation/gambling/betting?
You will be surprised how many times in the news about those missiles they were specifically called Russian-made/produced.

Another funny fact that most likely it's USSR-made missile. I don't think Ukraine bought any arms from Russia, so everything they have is USSR-made they were an integral part of.
This might actually be pretty cool combined with a proxy to convert sites to the subset of supported HTML.

It obviously is at least possible for it to have the blessing required for DRM content that is unobtanium.
To me the greatest thing about TypeScript is that there are times that I absolutely know that something doesn't need to be extra safe or to have validation, and I can easily slap a `// @ts-expect-error` on it and either ignore it or come back and fix it later. I know some people think that's a horrible thing and sacrilege, but damn it if it makes it easy to move fast when you need to.
"The first is an activation model, which allows users to enable features on Xeon processors through a one-time activation. This involves a six-step configuration process, where the customer makes an upgrade request to an infrastructure provider, which then shares the request with Intel to receive a license for the customer, according to an official diagram."

fuck this bull shit. no fucking "pay to win".

i already dislike software vendors doing pay to enable features.

we going to need either ARM or RISC-V. if Intel is doing this bullshit on x86.
First, it's gorgeous to be the first open-source alternative to xxx in different industry segments. In comparison, it's just commercial competition that more and more OSS alternatives to the same project. ⁣ ⁣

Then, it's difficult for me to have a good discussion with u on the AI coding project. There are so many problems, such as licenses, trademarks, and secrets of contribution behind AI coding. ⁣ ⁣

Thk u.
Does it though? The ad engine was either in place already or it wasn’t. There shouldn’t be a shift in performance of the engine due to people being let go.
For the Thrill of It
FEMA would take a week or longer to even wake up and they don't have the resources to help Texas. Source: Katrina.
The OPCW mission was totally compromised.
https://thegrayzone.com/tag/opcw/
Luckily, if you have a gas stove, you can still heat up water for tea at least :)
Python is not readable to you? The beginner friendly, whitespace-enforcing, almost-like-pseudocode-in-English language - that Python? - is not readable enough, but Rust, where you liberally sprinkle ', {}, !, &, :: or #[] everywhere _is_ readable to you? You must be trolling.

You know what Rust looks like to me? Perl without the dollar signs. There's your write-only language, you just have it backwards.
It's pretty clear from his court released texts that moderation was one of his main concerns.
Check out Mesa's llvmpipe[1]:

> The Gallium LLVMpipe driver is a software rasterizer that uses LLVM to do runtime code generation. Shaders, point/line/triangle rasterization and vertex processing are implemented with LLVM IR which is translated to x86, x86-64, or ppc64le machine code. Also, the driver is multithreaded to take advantage of multiple CPU cores (up to 32 at this time). It’s the fastest software rasterizer for Mesa.

[1]: https://docs.mesa3d.org/drivers/llvmpipe.html
So you agree with me then, I was replying to a post that said "no one".
can’t a malicious employee get sued for willfully causing harm to the company?
In the long run, country, because you have more room there to build your own off-grid infrastructure.
... but especially for a small team, having people able to cross-operate on adjacent pieces of the tech is vital. You can't just not develop if all your Rustaceans catch COVID at the same time.

So "there's a huge bifurcation between people who know this language and people who don't" is a good reason to pick another language. As with so many such techs, network effect can dominate other benefits.
It appears that the question of what is valid on a moved-from object is tricky. Here is one discussion:
https://stackoverflow.com/questions/7027523/what-can-i-do-wi...
FWIW, here is the move operator for the type of the object in question:
https://source.chromium.org/chromium/chromium/src/+/main:bas...
I thought there were a few more days buffer at each point he discussed, but it's mostly in line with my expectations.

We need to spend quite a bit more on redundancy than we have been doing.
Anyone interested in this should check out the book, The Knowledge: How to Rebuild Civilization in the Aftermath of a Cataclysm by Lewis Dartnell.
The difference between Zuckerberg “wasting” $100B is that Meta is still a cash generating machine and has been since before it went public. Twitter has been a listless barely profitable shit show and now has to service more debt per year than it has cash flow.
Laughed out loud at this
Montague Grammar
All of his business associates in this are right-wing activists. Why did right-wing activist and non-tweeter Larry Ellison offer Musk a blank check to finance the Twitter deal?
The US has 3 separate grids… which isn’t actually a lot. I don’t really trust FEMA if something took out, say, all 3 (Texas being one). If you can’t pay your FEMA workers while their families are panicking, you are toast. Total collapse follows quickly.
I believe the old DOS editor edit.com had this built in. If you went into insert mode.... actually.

I think even notepad has it actually, in insert mode. I can't imagine that Linux doesn't have something similar.
The missiles aren't even Russian made. They're Soviet made, and there's a fair chance they were even made in Ukraine at least partly. Yes, someone is playing dumb here.
Parts of Ukraine are there now.
Most charities don't have a charity with an exact opposite goal.

Most charitable donations are net good. Sure there exist a small subset of charities that aren't probably doing harm but that's the exception.

Would you argue that charitable giving is neutral or bad?
The reason that Musk bought Twitter was because he was forced to after signing an ill advised contract.
Specialization means the country is lacking too. Farmers may have a garden but they count on regular trips to the grocery store. OTOH farms almost universally have fuel tanks and generators and so can get by without the grid for weeks.
A lot of old Cold War preparatory war game scenarios start with EMPs blanketing the continental US. It only takes a few (like 1) nuclear weapon detonations in thin atmosphere (a few dozen km up) where the primary heat transfer mechanism is radiative (vs. convective, conductive) to cause enough EMP to take out pretty much the entire continental US grid.

The military is fully hardened against EMP. Civilian infrastructure, not so much.

"The EMP robustness of the civilian infrastructure of the United States can be summarized far less equivocally: it is entirely non-existent. Our civilian telephony, electricity, broadband communications and electronics plants are all naked to our nuclear-armed enemies. They were neither designed, nor engineered, nor constructed nor are they operated so as to survive nuclear explosion effects, even at very great distances – for the 'invisible hand' of the marketplace provides no incentives for EMP robustness, nor penalties for failing to so prepare. Large electric power and telephony systems are known to fail under the effects of solar storms, which impose far smaller electromagnetic stresses than are known to arise from high-altitude nuclear explosions of even modest scales. Consequently, even a modest, single-explosion EMP attack on the U.S. might well devastate us as a modern, post-industrial nation."

https://spp.fas.org/starwars/congress/1999_h/99-10-07wood.ht...
In the country it's also easier to be raided by people who know or suspect you have food and water. One house with nothing around it for miles vs an apartment in a huge building, is basically hiding in a crowd.
What credibility? They lost it years ago
Show HN: Vinyl: Relational Streams for Java
Vinyl extends Java Streams with relational operations. I wanted to try a different approach than what I'd found in the wild, to get at a solution that feels good. Vinyl offers type-safe access without type bloat. It offers an extremely expressive API without scores of opinionated methods to learn. It integrates with the Streams we already have, and plays nice with parallelism. If we can do it in SQL, we should be able to do it in Java.
Interesting, sounds exactly like Ukraine. Maybe how this war happened in the first place?
Longtermism/William MacAskill is what happens when free market capitalism meets moral philosophy. If you assume the free market is efficient, then you must also admit that there should be a philosophical line of thought that would champion certain billionaires (namely, those sponsoring it) as the paragon of morality of our times. No other line of moral arguments fits this characteristics better than Longtermism.

I've had some long conversations with Effective Altruists (both self proclaimed and not), and my takeaway is Longtermism is a cancer EAs need to grapple with and defeat lest their entire philosophy of doing good effectively is hijacked by rich thugs who want to feel good about themselves.

Edit: and for those who are not sufficiently convinced that "EA" had enough information to be suspicious: https://www.semafor.com/article/11/18/2022/effective-altruis...
I think most assemblers know what functions are. There are usually directives to indicate this. They help with emitting symbols (you need the function name to be emitted or no-one can call it), stack unwind information, and other information (some of which may also be required by the ABI). Here's some relevant documentation for MASM
https://learn.microsoft.com/en-us/cpp/assembler/masm/proc?vi...

The short version of it is that assemblers these days are rarely - if ever - just a zero-context stream of machine instructions. There is far more, some of it actually required.
Dimming the Sun to Cool the Planet Is a Desperate Idea: We’re Inching Toward It
I think it would depend on how "total" the collapse would be.

For there to be support, something still has to be working to coordinate it. And if nothing is working, it would be interesting to evaluate how long that would take to come back up. Meanwhile, I'd think the country would be better.
So you're happen to separate charities into "good" and "bad" but wouldn't be ok breaking them down into "bad" "ok" "good" or "bad" "good" better?

You're happy to assign a number of 1 or 0, but would never want to rank them any more than that? That doesn't make sense to me.
`-Wformat-security` [0] to the rescue!

[0]: https://fedoraproject.org/wiki/Format-Security-FAQ
It all comes down to whether the team is faster at writing safe code in a tight language or debugging a loose language. My experience has been even with the lossage due to initial errors, teams I'm on have been better debugging errors, especially when the task is so small that the errors are obvious.
But is the military hardened against deserters, starving soldiers, starving military families, and so forth caused by civilian infrastructure collapse? I doubt it. If you can’t feed or heat/cool people, alliances quickly change - especially if you have no way of tracking who becomes AWOL.

As far as I know, military bases don’t have their own nuclear reactors or coal plants.

EDIT: Apparently the DoD requires diesel backup with enough fuel to last… “one to two weeks.” Meh… if I’m an EMP-empowered nation who hates the US, the grid looks tempting… sure, they can counterattack, but if you make investigating difficult and spread enough pandemonium… all you need to do is keep the government haphazardly distracted and confused for two weeks and you win…
That's correct, I am working in mobile world since 2005 and the latency of mobile networks is the most bad thing when you build mobile apps. The more requests you do the more latency you introduce to the user, especially if it's fetching data for UI, even if you do it asynchronously you have to wait for the data to update the UI.
For you, yes.
It seems to be a common thing among corporations. The need for infinite growth to the point where they sabotage themselves into bankruptcy. Tech switched from engineers doing cool and useful things to MBAs trying to optimize every penny. Why can't businesses just be happy making enough money to pay their salaries? I guess i know why, we have a inflationary currency...and so income needs to increase infinitely since the value of the dollar decreases infinitely.

Hopefully this is a result of the fed running a fake economy on free money for the past decade and not a failure of switching off the gold standard.
Binary isn't terrible, but you could use a factor of three or five every once in a while to make it more divisible... like 12 or 60. 8)
I was going more for the “Bob is going to blargh, he always blarghs when he gets flustered like when he blarghed at the thinger last year” sort of dynamic that people don't necessarily otherwise talk about. Nobody becomes a completely blank slate when they sit down, and some tendencies are something you might take advantage of in a game, where you would compensate and allow for it in real life. And those tendencies might be something the other party is sensitive about, but because it never came up otherwise…
Multiprocessing as in openmp?
Yeah rural folk may last longer then city folk in the short term but then consolidation comes and there are very few winners
Was the story false? Because Polish government sources also strongly suggested it was Russian until a meeting with Biden, where they backpedelled hard...

As of right now, the Polish investigation is ongoing and it's never actually been confirmed that it's a Ukrainian missile. But the story's been buried.

So was the AP source not vetted and did the journalist screw up or did officials change the narrative for political reasons?

The US has not said anything more definitive than it was "probably" a Ukrainian missile...

As for the reporter being fired, feels like a scapegoating...
It's a mostly human process, and the humans that pay money are the ones most likely to be heard first.

Many social media systems experimented with a purely automated system and had difficulty with automated systems that likewise reported everything that they didn't like and that resulted in the content creators getting banned for non-reasons.

This leads to needing to having a human check things - and humans don't scale.

Look at the stories of Youtube content moderation - both the humans involved and the false positives from when humans aren't involved - for examples of "why we can't have nice things."
but man, I don't like to just say I don't like something without some rationale vs just some ignorant feeling
It’s not even the Mississippi River it’s a log chute arm of the river. If you look up top you can see where the arm ends.
I agree that the public evidence for the secret negotiations has been light, thus far. ;-)
Sorry but that's not true, no network provides the same experience and dopamine flavor:

- twitch: parasocial/games
- youtube: long videos/reviews
- tiktok: short videos/random stuff/zoomers
- facebook: friends/stalking/boomers
...

- twiter: microbloging/townhall/news

Totally different use cases with each having a clearly defined space (of course there is some overlap, it is all about human interaction after all).
I am reminded of an excellent Twilight Zone episode: https://www.youtube.com/watch?v=oPOoEQ2vx7w
Depends if the gas is from a canister in your house or if you're relying on the gas grid which can also fail during a prolonged widespread power outage.
We can hope for a future where the "recurring revenue" model melts down.

There's two sorts of it, as I see it, and both of them do have weak spots:

* Turning everything into a data vaccuum to sell to marketers. Something like the GDPR but angrier could pop that balloon pretty decisively, as could shifts in marketing trends if advertisers start considering tracking critically as a cost centre, rather than the current FOMO snowball.

* Unbundle bits and pieces of the experience to sell back to you on a subscription. This still feels like the data's not in yet for a lot of products.

I suspect we see it being trialed a lot with cars because so many of them are leased and therefore have a predictable trade-in life. As long as the annoying $10-per-month service comes with a three-year trial, the original lessee never needs to think about the subscription model, it more becomes an albatross to make the used car look less appealing by comparison. It's harder to pull that particular trick for other products, as their service lives vary widely. I suspect that, for example, many home appliances with a subscription would end up with a lot of angry and confused calls to support when the machine "stops working" at the end of a trial/missed payment/etc. Having to pay for that support burden and associated brand damage may unwind most of the profit the subscription yielded.
> defensive alliance

against whom?

> not the country that continually attempts to annex and invade post soviet states

when? post the NATO expansion?

> Ah yes I keep forgetting the US forced Russia to invade and then after that they even forced Russia to rape and torture Ukrainian children.

This is a play of words. I can say the same about my fellow Ukrainian soldiers - it's just not in prime time.

> My only question for you is how can you support this war given the countless documented and even caught on video atrocities that the Russians commit?.

I _do not_ support the war. That is a misleading assumption. What about the countless atrocities that the Ukrainians commit? Those are f*cking public as well.
I was on a project that had "board level visibility" once, at a Fortune 500 company. Once I dug into a bit, I'm not even sure what they were shipping, other than a minor upgrade to an existing project. Also, it turned out that like 6 people at the company actually used the product, although it integrated with pretty much everything in the supply chain.

This project also was planned to have a Phase I and Phase II, and they ended up eating all the budget and time in Phase I and ... I guess Phase II wasn't really all that important?
They are also easy to spot online
IMHO it's better in the country. We have a backup generator setup that will run everything for a month or so 24x7 or much longer if we only run it a few hours a day. Well water. Propane heat. Deep freezer in the garage full of food. Fully stocked pantry. Our neighbors all have similar setups and we're all very supportive of one another. Our neighbors have large gardens, flocks of sheep, herds of cattle, chickens, etc....

People living in the country are both more used to being self reliant, AND more willing to to help our neighbors (in part because out here emergencies can easily become life or death).
Thank you for that excellent dose of reality. The fact is also that European leaders (especially Macron caught on hot mic) are terrified that the US essentially had NO realistic/effective plan to replace Russian gas for the EU.
The 'joe' editor in 'picture draw' mode does exactly what you describe.

https://joe-editor.sourceforge.io/
Careful, it rains lead in the fields.
> If there were no advantages gained from C99, it wouldn't exist (people don't release language updates for no reason).

That's not what the post said. He didn't say that C99 offered no advantages to anyone. He said no one could come up with benefits to the curl project that would be gained by moving to C99, therefore the risk introduced by doing so was not worth it for now (my paraphrase, obviously).

It sounds to me like a perfectly good reason to stay with the current standard for that project.

[edited to fix a typo]
Punishment for whom?
So long as you have some lighters, matches, or a mechanical sparker because the built-in ignitors won't work without power.
> Where is the data sourced from?

https://opendata.transport.nsw.gov.au/dataset/public-transpo...
Well, I disagree with the cynicism (as I believe people are caring more & more) but my bad on misinterpreting.
This looks really cool and I definitely want to play with it, but is the logo supposed to look so sinister? Is this a Rorschach test that I'm failing? Or a shape that everyone but me recognizes?
Ukraine should know not from AP whose missile it was, but they are still in denial, can you imagine?
Give Micro a try: https://micro-editor.github.io/

It's insert-mode only but well-worth giving a whirl for faster edits.
I think Bitcoin is pretty great example of an egregores
In other words, zsh uses format strings. You don't need to use the format specifiers, it's just there for convenience so that you won't need to spawn a bunch of processes to do trivial stuff. Here's one example that is very much ergonomic and convenient as the fish way:

setopt prompt_subst
PROMPT='$(whoami)@$(hostname): $(pwd) \$ '

Things don't have to be "accreted around" in zsh either. It has a powerful completion system, convenience commands and keybindings built into it. It can do pretty much what people want from fish sans the syntax. It's just that there are an abundance of plugins and frameworks around zsh because it was designed to be extensible from the ground up. Some of those frameworks do slow down the shell, but that's a problem with that particular framework, not inherent to how zsh works.