skysight-inc/HackerNews huggingface dataset:
If motivated leaders can’t find a credible pathway over decades, I’m skeptical that an “urgent system wide transformation” is possible or desirable.

I’ve noticed the lack of realism in climate policy for a while now. Plans that assume critical material supplies will be available when needed, ignoring mining development; plans assuming batteries will become cheaper when needed, ignoring development time; assuming there are enough skilled workers to install huge swathes of renewables, ignoring housing limits. Don’t get me wrong: these problems can be solved given time, but cannot be sped up arbitrarily to meet our unrealistic policy goals.

The article does similar: claims that our system is fundamentally broken but instead of suggesting a realistic fix, decides it’s best to scrap the whole system! To replace with… something else that doesn’t have these problems. Conveniently this replacement is not discussed.

Most people’s mental calculus has already started shifting to geoengineering and other amelioration tactics. Many people are convinced it is all too late: so why bother.
We're already getting there.

Maybe Amazon brands will at least be predictable, but the non-Amazon brands on Amazon will be increasingly counterfeits and noise.

(A contributor to the current problem of eroding non-Amazon brands with counterfeits seems to be Amazon's commingling from different marketplace sellers of the "same ASIN". And the current mass-spam search DoS of random-name brands and near-identical products from overseas sellers is also a problem. Amazon can not only shield their own brands from both of those problems, but can also exercise more supply chain integrity control for its brands than is possible for the non-Amazon brands if Amazon doesn't cooperate.)
Yeah, I always find it hilarious that it ends up showing that you may not need it but it sure is nice to have.
If you read the article, the first paragraph explains that this was the replacement drive that WD sent him when his previous one failed.

So it’s at least 2 drives in a row in a short period of time. Statistically that will happen, but it’s like gambling - if you win too much you get shot.
How Cooking Videos Took Over the World
The XRDs are nearly identical. It's a dead horse.
TXR Lisp also fails this test:

1> (len
(with-stream (s (open-file "/usr/share/dict/words"))
(get-lines s)))
** error reading #<file-stream /usr/share/dict/words b7ad7270>: file closed
** during evaluation of form (len (let ((s (open-file "/usr/share/dict/words")))
(unwind-protect
(get-lines s)
(close-stream s))))
** ... an expansion of (len (with-stream
(s (open-file "/usr/share/dict/words"))
(get-lines s)))
** which is located at expr-1:1

The built-in solution is that when you create a lazy list which reads lines from a stream, that lazy list takes care of closing the stream when it is done.

If the lazy list isn't processed to the end, then the stream semantically leaks; it has to be cleaned up by the garbage collector when the lazy list becomes unreachable.

We can see with strace that the stream is closed:

$ strace txr -p '(flow "/usr/share/dict/words" open-file get-lines len)'
[...]read(3, "d\nwrapper\nwrapper's\nwrappers\nwra"..., 4096) = 4096
read(3, "zigzags\nzilch\nzilch's\nzillion\nzi"..., 4096) = 826
read(3, "", 4096) = 0
close(3) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
write(1, "102305\n", 7102305
) = 7
exit_group(0) = ?
+++ exited with 0 +++

It is possible to address the error issue with reference counting. Suppose that we define a stream with a reference count, such that it has to be closed that many times before the underlying file descriptor is closed.

I programmed a proof of concept of this today. (I ran into a small issue in the language run-time that I fixed; the close-stream function calls the underlying method and then caches the result, preventing the solution from working.)

(defstruct refcount-close stream-wrap
stream
(count 1)

(:method close (me throw-on-error-p)
(put-line `close called on @me`)
(when (plusp me.count)
(if (zerop (dec me.count))
(close-stream me.stream throw-on-error-p)))))

(flow
(with-stream (s (make-struct-delegate-stream
(new refcount-close
count 2
stream (open-file "/usr/share/dict/words"))))
(get-lines s))
len
prinl)

With my small fix in stream.c (already merged, going into Version 292), the output is:

$ ./txr lazy2.tl
close called on #S(refcount-close stream #<file-stream /usr/share/dict/words b7aecee0> count 2)
close called on #S(refcount-close stream #<file-stream /usr/share/dict/words b7aecee0> count 1)
102305

One close comes from the with-stream macro, the other from the lazy list hitting EOF when its length is being calculated.

Without the fix, I don't get the second call; the code works, but the descriptor isn't closed:

$ txr lazy2.tl
close called on #S(refcount-close stream #<file-stream /usr/share/dict/words b7b70f10> count 2)
102305

In the former we see the call to close in strace; in the latter we don't.
> I want people to see something consistent with that on the web.

Don't get too hung up on picking a file format then. All sorts of middleboxes, CDNs, and edge network acceleration systems can potentially "right-size" your image for what the requesting device can handle optimally.
Some people say "well, it could be worse" but my go-to version is "at least it's not fucking etcd"
Patience. Just that. It will come out, either positive, or negative, but as long as it is inconclusive there is only patience. No need to get jubilant, no need to be jaded or 'cool'. Just wait.
What do you mean you run badblocks? Can you talk more about your drive testing process?
I'm suspecting it's fraud. In a few months they'll come out and admit they fudged the numbers. I honestly hope not, room temperature superconductors solve a lot of problems, but we've been down this road before.
Who is to say there will be one? And if there is one, then there is no need to wait for it. Typically those are awarded after we're all very much aware of what they are awarded for.
Debian 12.1 out of the box, I'm sure there's a workaround, but I had to google 'How do I shutdown my computer.

s/ipconfig/ifconfig/

> Overall, from the one of your reply, I have the impression that you might be happier switching to a less opinionated distro like Void Linux or Gentoo. Something as curated as Ubuntu isn't a good fit for you.

I agree, but I work in infosec. Nobody ever got fired for running Ubuntu, particularly when there's at least some auditing of source before they push out deb packages. I know there are minimal case studies, but one day someone will get malware into a distro, I'd like to reduce the risk that it happens to the distro I'm running.

I also moved away from Gentoo ~ 10 years after systemd was mainstream, at that point it was basically impossible to get Bluetooth Audio working without pulseaudio, which seemed impossible to run without Systemd. I fully understand that Systemd is probably better in a lot of use cases and I really don't care what's running under the hood, provided it doesn't get in my way.

Edit: And the reason I hate whatever is responsible for the 'ip' command is that it's virtually impossible to google specifically for that command (y'know, because 'ip' was a protocol not a command, convoluting things unnecessarily)...
Ask HN: Reincorporating Company in US to Fundraise
I'm the co-founder of an Australian pre-seed startup with over 50% of our clientele in the US. We're targeting US investors and plan to reincorporate there in the future.

We've heard mixed advice: some Australian investors suggest we should flip post-term sheet, while others in the US advise flipping before fundraising.

Given the current trends, it seems some VCs might be screening out non-US firms, making US fundraising challenging. Is this a genuine concern? Are US VCs at the pre-seed and Seed stages becoming selective about company incorporation locations?

Would appreciate insights on whether to flip before fundraising or secure a term sheet first.
What I’ve never understood is how all this complex cooperative behavior emerges out of a relatively small number of mutations. I get that these are all repurposing of existing mechanisms, but still the overall coordination seems so much more purposeful than something that would happen with a few initial mutations and then some further selection. Particularly things like metastasis, which sounds like a many-stage process that would be hard to spontaneously evolve.
Environmental damage is mostly not included in the price of goods. Economics has a word, externality, to describe this.
My main concern: Where are the original authors and why are they not helping people synthesize the replications?
If you can't beat them, join them. My pen name is now Tim Ferris, look forward to my upcoming books to be published in 2024: The 4-Hour Nap, The 4-Hour Romance, The 4-Hour Deep Work
It really helps me get a better idea of what I should be doing. Like any answer from anyone, you have to understand and peer review. I usually end up rewriting ~50% of anything I get out of chatgpt.
Ask HN: What is the best framework for someone who doesn't know JavaScript?
What's a good front-end framework for someone fluent in Python yet who knows nothing about JavaScript? I don't really know what to choose here.
Transit App works fantastic in urban US, Canada, Western Europe, Aus, NZ. (It's also great when visiting a new location for discovering which routes get you from A to B, speed/frequencey/cost, as opposed to commuters who already know which mode, route and stop they want, and primarily want real-time updates, ETAs. Obviously you can supplement it with the local transit app/website.)

There's not much patchworking/assembling once you bookmark your preferred locations, research what times they open/close, select favorite transit modes, bookmark specific lines, research which exact stops. Don't mentally lock into Google Maps as your primary thing.

I said the c) part is already done by Transit App and generally better than Google Maps (shows rideshare time-and-cost estimates, bikeshare/scooter pickup locations etc.) Where 'taxi' has generally been replaced by rideshare and by 'private bike networks' you mean bikeshare. Not sure if by 'private bus network' you mean coaches, or employee shuttles, but those are sometimes not open to the public. (Can you cite us an example location and name the private network companies?)

As mentioned, the amount of local detail depends on how much your municipality participates in open-date initatives; if it doesn't, ask them to. Transit App is adding new regions constantly.
He's courting a new customer base for the Cybertruck.
If you're a proud owner of the mighty PlayStation 5 and have been eyeing an additional DualSense controller, now is the perfect time to grab one. In an exciting development, Sony has slashed the price of its PS5 DualSense controllers to an irresistible $49, making it an ideal opportunity to expand your gaming setup or replace a worn-out controller.
Love your channel, it has been a true inspiration!
What part of physics is it that states this and how do you explain that 'room temperature' just happens to be the range that is related to us and our environment and not to anything particular in physics? Or is it that you suspect that there is an exclusive or relationship between the conditions that allow complex biological life to never have overlap with those that allow superconductivity?
Yeah, with things like these, I prefer the watch something else option. It doesn't matter how many of these arxiv papers and dubious twitter videos I look at, I still won't know the answer until there's a scientific consensus. Until then, I see no point in investing any effort. I'm not a physicist. There's no way this information will materially affect my life in the next several years. And there's a pretty huge chance it will never affect my life at all(if it disappears).

It is fun to watch the absolute torrent of confirmation bias and people changing their minds all the time in the comments though. Must be exhausting to constantly wax and wane like that.
Anyone who is afraid to be wrong shouldn’t entertain the notion of becoming a scientist.

If it turns out they’re wrong, then they will likely do a follow up paper that explains what their mistakes were. No biggy. It’s just a couple of preprints, after all, and it’s widely believed that it was pushed out without all of the authors’ consent in the first place. It won’t leave them with lasting reputational damage from their peers, though it may place slightly more scrutiny on their outputs at a later point.

They may get ridicule from the people who took their paper at face value without noting the informality of the format, the incomplete studies performed on the sample, the almost-clear methodology etc. But those people aren’t scientists - all of the scientists who have discussed this have assumed from day one that it is likely an error, and perhaps toyed around in case their assumption is wrong.

To have reputational damage, they’d need to refuse to retract their work, refuse to elaborate further, claim they invented room temperature superconductors without sufficient proof, then attack anyone who questions them.
I'm the author of the source blog. Happy to answer any questions about the research I conducted on this! Was a fun project to run through and discover additional attack vectors!
A textbook I coauthored was translated into Chinese, Korean, and some other languages and published.

Without any contract or compensation for me and my co-authors.

We were delighted! :)
still, one paper said it had near-zero resistance at 110K. Above the temperature of liquid nitrogen. so, uh... big if true
It's not actually that complicated, iirc, I have an ansible script to trigger the build based on a 2-line patch.

The maintainers proposed a similar patch to Gnome/GTK as a hidden option in dconf, but iirc their dev team took the opinionated 'our way or the highway' approach, as they've done on many other occasions.
That would imply that from a biological stand point it should have had a self serving purpose. But it kills the host. So what gives? Where is the logic?
> 1) scala/java ... is that fundamentally difficult?

It's certainly at least more so as you have a highly configurable VM in-between where you're forced to learn java-isms to manage (can't just lean on your unix skills)

> 3) durable disk management ... I mean, it's data, and it goes on a disk.

Most MQ don't store things to disk besides memory flushing to recovery from crash, in most cases the data is cleared as soon as the message is acked/expired.

Look, I'm not saying not to use Kafka, I'm just pointing out the evaluation criteria. There are certainly better options if you just want a MQ, especially if you want to support MQ patterns like fanout.

The reality is if you're doing <20k TPS on a MQ (most are) and don't need replay/persistance, then ./redis-server will suffice and operationally it will be much much easier.
Love Shiey and he also goes on quite a few trips with this guy (https://www.youtube.com/channel/UC8iPVSFr42KUFf8DKsmnvSw) who is very well educated and more philosophical and artistic than Shiey. Like them both a lot, but they're different flavors of the same genre.
The fullest and most beloved restaurant supply store in Toronto (2019)
Does anyone else feel tired of their tools being spying om them? Maybe I grew up comfortably, but I remember when the idea of huge corporations and everyone im between knowing every detail of pir life was either incredible (not realistic) or an abominable concept. Today feels like there's a magnifying glass shoved into every crack of life. And it's "normal". Maybe I shouldn't have read 1984 in school.
Scallop is in reference to the cut type. As in scallop cut potato.
Guess what? Candles are more aestheticlly pleasing for romantic dinners than lightbulbs. I guess that means Edison-Swann was "in some ways a market failure" because they failed to romance the stone enough for that need.

You can buy warm and cool LEDs. People did approach the problem. It's a bit silly to say there was insufficient R&D towards solving this problem when in fact a french metric tonne of merde was applied to making LED lights both bright and aesthetically pleasing, without the warmth energy wastage.

What was a market failure was the failure to settle on bayonet or edison screw. What was a market failure was to intrude mercury CF lamps in between incandescent and LED.

What was a market failure was educating so many people in pop-sci economics when they would have been better led to some other alter of reductive reasoning.

TL;DR it wasn't a market failure in any way.
Conversely, why wouldn't someone believe something if there are no consequences to being wrong?

As you say, unless you regularly dance at the bleeding edge of material science, nothing you believe really matters, so why not jump in with both feet?
>the aerospace version of the Check Engine Light.

why does it use such a vague light. are they afraid one more specific light for "brake pad warning" lamp will just make the cockpit untenable?
AsRock offers the Taichi Lite mobos without RGB and ~30$ cheaper IIRC.

[edit]
https://www.anandtech.com/show/18891/asrock-unveils-z790-and...
Agreed. "Efficient" would have been a much better word. "Elegant" just feels like ragesadbait
It's hard to hide a crash, but it's easy to downplay one. Threaten a few witnesses, pay off a few bereaved families and you can turn a catastrophe into a minor incident.

Russian warships in the Black Sea have been "catching fire" at a suspiciously high rate since February 2022. Same for petroleum facilities and ammo dumps near the Ukrainian border. We all know what really happened, but the Kremlin can spin a line and nobody who saw what actually happened is brave or foolish enough to contradict that line.
Sure, but those types of things are stopgap measures that work in a normal, unsanctioned market. Like, they need a part now, but there's none available in the maintenance hangar (or whatever), and it would take a few days to order one, so they ask another airline at the same airport to float/sell them the part. Once the ordered part arrives, they're back to their usual number of parts.

In this case, Aeroflot just cannot get more parts, period. The market for new parts is completely closed to them right now due to sanctions, and secondhand parts will only get them so far. We're talking about brakes here, which wear out to uselessness, so I doubt there's even much (if any) secondhand market for those. Once all the "Boeing brake pads" wear out and run out in Russia, that's it. They can't get new ones without someone violating sanctions. Well, unless they manage to bum spares from countries like China that aren't sanctioning them, or unless someone local can manufacture them to the correct specs.

Regardless, these other options get more and more expensive as time goes on.
I was aiming, albeit rather belatedly, for kinship, rather than smugness.

But being socially ineffective = sometimes missing the mark, when it comes to conveying feelings, despite best efforts or intentions.

I'll take your read under advisement. :)
Has anyone even seen a ferromagnet stand up like that in a magnetic field?
It's already automatically enabled and shows up as "trails" in the address bar suggestions.
I did not realize SanDisk used WD. Does anyone have an alternate storage brand to recommend?
https://en.wikipedia.org/wiki/2003_Angola_Boeing_727_disappe...
"instigating" you mean?!
A bit late, but I built a BattleBot back during the original show days. Never finished/competed though - I was in high school and couldn't make anything competitive with my birthday money. Learned a lot about radio controllers and aluminum angle bars! Taught my younger brother and we battled in the driveway.
Marx? Genocidal? Are we even thinking of the same Marx here? Or is there a well known serial killer buried in North London that happens to be named Marx?
I skimmed it, saw some nonsense syntax, saw some further nonsense down below.

Went back and re-skimmed, it does still seem like a joke, but it falls a bit flat for me...

But it could be legit someone's crazy project, there are pretty zany things that end up on here.
> Needs to be unsigned to get this failure mode, any signed loop gets compiled assuming no overflow for a different (though similar!) failure mode.

In C and C++, compilers will optimize assuming that signed integer overflow doesn't happen, but that doesn't stop it from actually happening. Unless you set it to trap on overflow, signed integers still wrap; it's just that compilers make (incorrect) optimizations assuming that it doesn't happen.

You know, this makes me wonder whether it's better pointers to be compared with signed or unsigned comparisons. Currently, my compiler emits unsigned comparison instructions for them.
Then it sounds like the previous comments claiming no one is getting paid are incorrect.
There are two distances to calculate, called accelerate-stop and accelerate-go.

Accelerate-stop is the distance needed to accelerate to V1, lose an engine instants before that, take the first action to abort at V1, and the resulting accelerate-stop is the distance between the start and end of roll. On an uncontaminated runway, this is computed without thrust reversers. On a contaminated runway, you can compute it with thrust reverser on the assumed non-failed engine(s).

Accelerate-go is the distance needed to accelerate all engines to just below V1, lose and recognize the loss, continue to Vr, rotate, climb, accelerate to V2, and reach 35 feet above the ground at V2.

When the accelerate-stop and accelerate-go are the same for the chosen V1, we call that the balanced field length.

Brakes are critically needed to achieve anything close to the book accelerate-stop distance.
Probably just a chaise longue surviving the salty, damp air outside like a champ.
WD owns SanDisk, they bought them several years ago
You sound about the same era as me. I'm 35 now, have been using Linux since 2001 until now. Just remember, that when you started using Linux, it was about 10 years old. It's now been 20 years since then - double the time has passed since you started, compared to what came before it. Some stuff is going to change. Sure some of those commands come from older Unixes but the point still stands :)

Some of your complaints are practical but 2 specific ones I'd note:
"ip" has been the tool you wanted to use since even the mid 2000s - ifconfig wouldn't even show you every IP on an interface since then unless it had an alias. Something that may help you make the transition is the "-brief" (-br for short) switch which gives a very compact simple output that is a little easier to visually parse. If you're using a systemd-networkd system, "networkctl status" is also handy.

For systemd, I have never been bitter about it, but while it has changed many commands and interfaces or ways you work, if you just dig a tiny bit below the surface it has SO many modernsations and conveniences that more than make up for it. Make your own rosetta stone for your top commands, but then look around at all the other things systemctl, etc, offer and find some pluses to make the pain worth it :)

See also: https://github.com/certsimple/rosetta-stone
Yes it was called vimcrypt or something like that.

The difference compared with gpg is (among other things) that with vimcrypt you could use an arbitrarily short key, say 12 characters, like a password is long. That is much too short to be secure.
I actually drove someone across the border from Mexico to the U.S. for healthcare (voluntourism injury).

The reason to go to Mexico is price. The reason to go to the U.S. is quality.

How about for Canada vs the U.S.?

If you're a Canadian citizen, Canadian healthcare is cheaper, but generally has much longer wait times.

U.S. healthcare is much more expensive, but much more quickly available, and specialty care (e.g., rare disease treatment) is much better.
Because it leads to a habit of getting overly excited about every press release.
Codex Atlanticus, by Leonardo da Vinci, 1119 pages, spanning years 1478-1519