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

And you can find that specilisation here: https://source.dot.net/#System.Linq/System/Linq/Last.cs,80


Why does the implementation of .Last not just check if .Count? It seems like there are things that don't implement IList but can still be indexed by the last entry?


In a strongly typed compiled language, how would you do so (in a type-safe and performant way) only knowing that the type is some IEnumerable<T> implementation and not a particular shape that may or may not adhere to the `T this[int i]` and `.Count //of T` contract?


Is using reflection for a quick property check that much of a performance hit? After all, avoiding it leads to footguns like this where someone didn't realize they were traversing an entire array.

I'm not well versed on this topic.


porque no los dos? use <source>


It's all about convenience for him, Apple's tools generate Jpeg XL so he can't be bothered to resave it for anyone else. He's like "I use Safari and it works fine"


No Apple tools generate JPEG XL by default. You can, of course, export as jxl on newer OSes, since it's built in, but it's not a default. iOS devices still use HEIC as the default "new" image format, but convert to regular JPEG when shared with services which don't support it.


Why would you prefer to have duplicates in different formats when other formats supported by all are available.


This is a common storage vs bandwidth trade-off.


The bandwidth saving is miniscule by any metric though.


and using one image format (or fewer number of them) increases the CDN's cache hit rate, so it decreases latencies and makes your site load faster.


https://youtu.be/wMwjHnspohU?t=585

The oven knows how to cook the food. It knows this because it knows how much energy has been put in to the oven, and how much energy was not put in to the food. By subtracting how much energy was put in, from how much came out, it obtains the kilojoules of energy the food absorbed, or the Gourmet Unit.

Does Miele also design missiles?


>Does Miele also design missiles?

The technology comes form a company called Goji Food Solutions. This is the founder - he has a bunch of other patents, mostly focused in the medical devices, biotech and healthcare spaces: https://en.wikipedia.org/wiki/Shlomo_Ben-Haim


It's a reference to https://www.youtube.com/watch?v=bZe5J8SVCYQ

> The missile knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the missile from a position where it is to a position where it isn't, and arriving at a position where it wasn't, it now is. Consequently, the position where it is, is now the position that it wasn't, and it follows that the position that it was, is now the position that it isn't.


Does this service do anything different/better than jsdocs.io?

I like the way jsdocs.io puts everything on one page.

I was initially confused when I looked up a package on tsdocs.dev and just got the readme. The actual type defs were tucked away out of sight in the hamburger menu. May just be a problem with the mobile site.


Thats quite a spread. Is it up to spec where you are?. In Australia we have 230V nominal, but the allowed range is from 216 (-6%) to 254 (+10%).


To help discern scale, scrub to 23:22:00, when a helicopter flies over


And 22:17 from where it erupts!


Bitwarden (as well as Vaultwarden) supports Passkeys as well now. You can even export the keys!


The OP is saying most of these plugins should be built in.

Using your analogy, WordPress should be a furnished apartment, not one where you have to buy all the white goods yourself. (if renting)


I think the question this raises is: Is Wordpress an application or a framework? Because what it's like at the moment is a half-furnished apartment where it doesn't come with a kitchen sink, but does have a bed for some reason.

If it's an application, a lot of what people need doesn't come in the box.

If it's a framework, a lot of what's built in isn't necessary and it doesn't let users pick what flavour of wordpress they want.


That's a fair criticism. WordPress definitely lacks a lot of seemingly basic features, like a contact form, a decent user management system, etc.

I guess if there's one thing that might be attracting people to hosted solutions, it's that many of them do provide these sorts of features built in.


I don't think this demo is a good demonstration of the features this library can offer. Once you grab a piece, you seem to lock it for only you to use? This means there are no conflicts to resolve, the only conflict is when two people pick a piece at the same time, from which the only resolution is to give it to the user that picked the piece first.

I'd want a demo that shows a much better example of conflicts occuring.


Are you sure about that - when I landed on that page, folks were moving pieces around but didn't recognize that they had to fill up the ALIVE text - and I was able to easily grab a piece that another user had grabbed before and place it in the text - which triggered a eureka moment among other players and we finished the puzzle...


why is it worth mentioning when the article doesn't say anything to the contrary?


The article doesn't mention cache specifically, and it the past having a shared cache and extra H/1 connections has been the justification for using 3rd party domains.


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: