Hacker Newsnew | past | comments | ask | show | jobs | submit | alright2565's commentslogin

There's no need to type "cd", just the folder name and hit up until you get to the right command.

That's not default behavior in most shells (e.g., `autocd` in Zsh, and, for the record, that's also not default up arrow behavior in Bash or Zsh [it is in Fish]).

But my question is specifically about relative vs. absolute paths when recalling directory traversal from history. I'm still struggling to follow how you'd use Zsh history as a zoxide replacement without always using absolute paths.


The official download option doesn't download it to your filesystem as a file. It just lets you watch the video offline in the official app/website. Just tested it now.

Meaning the video file exists in your file system somewhere, so downloading at a higher speed than possibly viewing the video is an existing functionality in the app.

If you're on iOS no way to access it, and I think on Android it's in protected storage as well.

Looks like the eagle is hundreds of PNG files on a javascript timer, and it's dropping frames.

The big question is why not build the turbines offshore?

The article briefly mentions this, and that the off-shore blades are over twice the length of the blades this airplane is designed for, but it doesn't look at all at the economics of either option.


Offshore is not a problem, they build a factory on the coast and put it on a boat.

On shore is a problem - there is a lot of the world where people live that isn't close to a sea. Iowa has more than 6000 despite being hundreds of miles from the nearest sea. (most aren't even close to the Mississippi river)


This page was very slow to load for me, probably partly because it's being hugged by HN. But it would help a lot if images had the `loading="lazy"` attribute, and if they were compressed to about ~100KiB each instead.


Hope they have an unlimited bandwidth plan. I bailed out at about #20, which is unfortunate because it's otherwise a nice list. I'm going to assume 51. Get a Free Kia, isn't part of it.


I always forget that the US still has bandwidth caps.. something which has never really existed where I live for fixed broadband.


Server bandwidth wherever he's hosted.


I don't think it's very common anymore.


I'm not sure what Netlify is doing, but the heaviest assets on your website are your javascript sources. Have you considered hosting those on GitHub pages, which has a generous free tier?

The images are from steamcdn-a.akamaihd.net, which I assume is already being hosted by a third-party (Steam)


I'd rather not involve Microsoft but I recognize there are other options. It is additional work/complexity I'll probably have to take on.


In part because this particular proof of work is absolutely trivial at scale, with commercial hardware able to do 390TH/s, while your typical phone would only be able to do a million and still have acceptable latency.


> "Unicode Scalars", aka "well-formed UTF-16", aka "the Python string type"

Can you elaborate more on this? I understood the Python string to be UTF-32, with optimizations where possible to reduce memory use.


I could be mistaken, but I think Python cares about making sure strings don't include any surrogate code points that can't be represented in UTF-16 -- even if you're encoding/decoding the string using some other encoding. (Possibly it still lets you construct such a string in memory, though? So there might be a philosophical dispute there.)

Like, the basic code points -> bytes in memory logic that underlies UTF-32, or UTF-8 for that matter, is perfectly capable of representing [U+D83D U+DE00] as a sequence distinct from [U+1F600]. But UTF-16 can't because the first sequence is a surrogate pair. So if your language applies the restriction that strings can't contain surrogate code points, it's basically emulating the UTF-16 worldview on top of whatever encoding it uses internally. The set of strings it supports is the same as the set of strings a language that does use well-formed UTF-16 supports, for the purposes of deciding what's allowed to be represented in a wire protocol.


You're somewhat mistaken, in that "UTF-32, or UTF-8 for that matter, is perfectly capable of representing [U+D83D U+DE00] as a sequence distinct from [U+1F600]." You're right that the encoding on a raw level is technically capable of this, but it is actually forbidden in Unicode. Those are invalid codepoints.

Using those codepoints makes for invalid Unicode, not just invalid UTF-16. Rust, which uses utf-8 for its String type, also forbids unpaired surrogates. `let illegal: char = 0xDEADu32.try_into().unwrap();` panics.

It's not that these languages emulate the UTF-16 worldview, it's that UTF-16 has infected and shaped all of Unicode. No code points are allowed that can't be unambiguously represented in UTF-16.

edit: This cousin comment has some really good detail on Python in particular: https://news.ycombinator.com/item?id=44997146


The Unicode Consortium has indeed published documents recommending that people adopt the UTF-16 worldview when working with strings, but it is not always a good idea to follow their recommendations.


You're not wrong; I gave more detail in a direct reply https://news.ycombinator.com/item?id=44997146 .


The average American discards 80lb/year of clothing. That absolutely isn't serving a human need, that's plain overconsumption.


That number sounds impossible but I guess there must be some people that throw away a lot more clothes than I do.

I'm not sure I even own 80lbs of clothes.


Doesn't this value include unsold clothing?


> talking thousands of chargers, for most parking structures

My home has an average of 10 chargers per room; I don't think it's really been a big driver of its cost.


I imagine the chargers you have are not drawing 3kW each though.

That's the main problem - your legacy infrastructure is most likely wired for 220V@32amps for the whole garage/street just to run the lamps from it, so 7.2kW. That's one EV charger, or two if you want to split them into 3.6kW feeds. If you want to run a proper 7.2kW charger from every lamp post or next to every parking space, that's a lot of brand new cabling that you need to add.


Yes, but potentially easier than adding 250kW per charger for a bank of DC fast chargers.

The grid connection for one fast charger could serve 50+ L2 chargers, potentially even 100 with load-sharing chargers.

There are good use cases for both kinds.


1.6kW is the limit; but no, they aren't. But you don't need 7.2kW all the time! There's no way that every single car would need to charge at every moment, and I know this from walking through parking garages and seeing some cars not move for days at a time.

A EVSE could easily serve multiple spots, and fairly (or unfairly, for profit!) distribute power between cars from a limited supply


Please note, the context here is level 1 charging. 7.2KW is level 2.

With level 1 charging is only 3 to 7 miles per hour, so average of 35 miles in a 7 hour day (assuming you drive for your lunch break). Where I am, the average distance to work is around 27 miles (one way), so a net loss of charge.


But the reason you drive such a long distance to work is to be able to live in a suburb, right?

Looking at the actual stats, you're a bit of an outlier: https://aaafoundation.org/wp-content/uploads/2023/09/202309_... (p. 12). The average commute trip is 22 miles, and keep in mind you also could use a level 1 charger at home.


No, it's 22 miles to/from work, one way [1]! My commute distance is only a few miles more, and my commute time is almost exactly the average time listed there.

For most, the purpose of living further from work is reduced total cost of living, especially if you're near a big city [2], where it's not usually an option. I save thousands a month by commuting a little, for the same number of bedrooms (which has a legal minimum where I am). If I wanted the same square footage, I'm saving > $10k/month, compared to being 1/3 the distance from work.

[1] https://www.census.gov/topics/employment/commuting/guidance/...

[2] https://www.tandfonline.com/doi/full/10.1080/02723638.2022.2...


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: