Better HN
topnewbestaskshowjobs
Log inSign up

coder543

6,699 karma · joined Jul 18, 2012 (14y ago) · 1,967 submissions

My email is at gmail using my username.

Backend-focused full-stack engineer with 8+ years of experience, mostly focused on Go, Rust, and TypeScript, but open to other options.

Resume: https://drive.google.com/file/d/1VNC272B3n7ZEfppMHkm2wGgaINwYl4Av/view

Submissions

comment 3y ago · link · parent

This also applies to the new MacBook Pros as well, to be clear.

comment 3y ago · link · parent

To truly be Apples to Apples, I would factor in the $100 option for 10Gb ethernet, which brings the price difference down to $200... and the extra $200 is getting you an M1 Max.

comment 3y ago · link · parent

Yes. You can buy an NVMe SSD and put it into an external thunderbolt enclosure.

Here is one random $115 option for a thunderbolt external NVMe enclosure with seemingly good reviews: https://www.amazon.com/dp/B0BB74BQVN

Realistically, you probably don't even need a thunderbolt enclosure to have a good experience with an external Apple Photos library, but this option is still way cheaper than the prices Apple charges.

comment 3y ago · link · parent

Apple disagrees, and I would take Apple's advice over some random anecdote. There is no reason that an external photo library would be inherently worse than an internal one.

If that person actually did use a hard drive (not an NVMe SSD), then yes, the experience would probably be janky. I don't think modern Apple Photos is built to handle slow spinning rust very well.

If someone uses an external SSD with equal or greater performance to the internal SSD, then it would naturally perform as well or better than the internal photo library would have. Apple was putting a ~3GB/s SSD inside the M1 Mac Mini, which is hardly cutting edge and can be matched by an external thunderbolt NVMe enclosure. $120 for the enclosure + $70 for the SSD is still way less than the $400 that Apple is charging, and it can actually be upgraded down the line. Or someone could get a 2TB SSD for $130 (+ $120 for the enclosure). Apple wants $800 for 2TB of storage!

Even if Apple upgraded to faster SSDs for the new M2 Mac Mini (which is not clear at all), 3GB/s would still perform exactly as well as it did on the M1 Mac mini's internal SSD, which is to say... it would perform plenty well.

comment 3y ago · link · parent

Photos would work that way too, as shown in the help article I linked.

comment 3y ago · link · parent

If macOS is installed on it, Photos won’t even think of it as an external drive.

However, yes, you can: https://support.apple.com/en-us/HT201517

comment 3y ago · link · parent

As I mentioned here[0], it is worth considering using an external, upgradeable SSD instead of paying Apple's exorbitant prices for more internal storage on a Mac mini. For a laptop, you would definitely want to upgrade the internal storage.

[0]: https://news.ycombinator.com/item?id=34413582

comment 3y ago · link · parent

On the plus side, with a desktop like this that isn't going to be moving frequently, there's really no compelling need to upgrade the internal storage. You could attach an external 1TB (or bigger!) NVMe SSD and you should be able to install macOS on that. You could just use the internal SSD as an extra storage drive. AFAIK, you're not required to use the internal SSD at all.

comment 3y ago · link · parent

This is the real problem. M2 is just using LPDDR5. The memory modules themselves don't appear to be anything special; it's just the memory interface bus that is different. Apple is charging multiple times the actual cost per GB, and they do the same thing for SSDs. The entry-level product is a decent value, but the upgrades are ridiculous.

comment 3y ago · link · parent

> Making ram faster doesn't mean it can magically store more.

For real. This myth that "Unified RAM" doesn't need as much capacity as "regular RAM" needs to stop being perpetuated. Intel-based Macs already had memory compression and SSD swap.

My M1 MBA with 16GB of RAM was definitely limited by the amount of RAM a number of times throughout its life, and my 24GB M2 MBA has a much better balance due to the additional RAM.

8GB is fine for someone who doesn't do anything but basic web browsing and word documents, but I'm not comfortable recommending 8GB of RAM to anyone who intends on doing more than that. I'm honestly a bit uncomfortable with 16GB these days, but it is tremendously nicer than 8GB.

If Apple hadn't just lowered prices by $100 on Mac mini, I would say that 16GB should be the minimum, but for $599... I think 8GB is probably fine for what you're getting.

comment 3y ago · link · parent

> edit: the ad says up to 24/32GB of ram, but seems like 8gb/16gb models are the only ones available for pre-order at the moment.

I see both 24GB and 32GB configurations on the Apple Store configurator. Not sure what you're looking at.

comment 3y ago · link · parent

If the only research you did is secondhand word of mouth, I think you need to do a little more research.

Heat pumps are extremely excellent, and have been for years. We've even reached the point where heat pumps are able to work effectively in places like North Dakota. For reference, the UK doesn't even have the concept of weather like that.

comment 3y ago · link · parent

The one without the comma, absolutely.

comment 3y ago · link · parent

I ignored your point… about adding a random comma to preserve the original title’s word choice? I’m confused how that’s relevant. If the comma makes things less clear to the majority of readers, then it would not be an improvement.

Based on the distribution of downvotes and upvotes between your original comment and my original comment (which is at +13), I think most people on this post overwhelmingly agreed with me, for whatever that is worth. Good communication requires figuring out what works for most people, not just one person, and short of running some focus group testing, the vote distribution is the best available proxy for that here, in my opinion.

> It could be improved.

Communication can always be improved, and I’m always trying. I agree there is still room for improvement. I’m sorry if it isn’t good enough yet.

comment 3y ago · link · parent

That rule of thumb doesn’t really contradict anything I’ve said, and a rule of thumb is not to be relied upon anyways. If we want to consider the rule of thumb, just extend the sentence. If the pause would be there, then it would also be there even if the sentence were longer. “System76 AMD-Only Laptop Returns to Market”. I certainly wouldn’t pause between “laptop” and “returns”. But again, a rule of thumb is a general guideline, and it will be wrong in many cases.

The real, specific rules that are listed after also don’t contradict anything I’ve said, as far as I can see. Can you please point to the specific rule on that page that says a comma would be useful here?

A comma does not fix this title.

I’m not claiming to be the single best person in the world at English grammar, but I have tried my best to learn a thing or two about it over the years. I have also tried to clearly explain the relevant grammar to the best of my ability. I have apparently failed to explain it well enough, so I’m done here, since trying more won’t make a difference for such an irrelevant diversion from the main topic.

comment 3y ago · link · parent

> People calling 1080p "2K" is a pet peeve of mine.

Can’t edit now, but clearly I meant to say 1440p in this sentence, not 1080p.

comment 3y ago · link · parent

I think clear communication is important, and I initially tried to avoid digging into grammar until they doubled down on a weird use of a comma.

There are two verbs in your example, so it’s simply not a relevant example since the second verb is forming a separate sentence. It’s just connected with a comma in order to inform the reader that it is reusing the context of the previous sentence. In this specific example, that really makes it a broken sentence fragment, but it is often acceptable if it is being done poetically, which it arguably is there.

I phrased my previous comment carefully. The verb is never isolated from the rest of the sentence by a comma. “Posts” is the complete sentence; it just has an implicit subject and object.

It’s possible there are nuanced counterexamples somewhere that I’m somehow overlooking, but none of them are relevant to whether putting a comma between “laptop” and “returns” would make the title clearer.

But, if you’d like to try again with only a single verb…

comment 3y ago · link · parent

> You absolutely will not notice the difference

If you make absolutes like that, then everything I could respond with is automatically “wrong”, so that’s not a great conversation opener.

My smartphone is not a gaming monitor either, but 120Hz is hugely noticeable. My windows desktop is using a 144Hz monitor. I had a 120Hz MacBook Pro for awhile. I’m familiar with how I experience high refresh rate on different types of devices.

You may not care, and that’s fine, but what’s the point of asking why I care and then telling me in no certain terms that I won’t? And how do you know if I would be gaming on this or not? Valve has put immense effort into making Linux viable for gaming. If you’re instead trying to say the monitor’s response times suck, how do you know that already?

comment 3y ago · link · parent

The 7840HS is also designed for thin-and-light laptops, according to AMD, and it has 8 cores. It is a "35W" chip, but AMD says it is for ultrathins ("The Ultimate Ultrathin Processor"), and TDP is a relatively meaningless number these days.

That wccftech article is the only one I can find that lists a 7640U (not HS) processor. I think they combined some previous rumors with the actual announced specs by accident. I can't find any indication that the 7640U actually exists.

comment 3y ago · link · parent

This is 100% correct.

Source: https://en.wikipedia.org/wiki/2K_resolution

> Another resolution that is often referred to as 2K is 2560 × 1440 (1440p) however that is a common mistake in marketing[12] and is called QHD by the DCI.

It is a mistake to refer to 2560x1440 as 2K.

People calling 1080p "2K" is a pet peeve of mine. 2.5K is a more appropriate name for 2560x1440, if you want to use that naming convention, but I think just saying 1440p is simpler.

comment 3y ago · link · parent

No... it's less clear too. The verb is never isolated from the rest of the sentence by a comma, but a list of nouns will be isolated by commas, even if the conjunction is missing for brevity in a title. Separating "returns" like that makes it appear even more to be a noun, which is the thing that the original comment was confused by. Correct interpretation of the title relies on the reader realizing that it is a verb in this context, and the comma does not help with that.

Given the ongoing mess with the AMD 7900 XTX GPU vapor chambers, I initially interpreted the title to mean there was some problem with AMD laptops, so System76 was offering returns only for those laptops with AMD chips. That is not the case.

comment 3y ago · link · parent

It is a 144Hz display, which makes it significantly more interesting than an average 1080p display. 60Hz just feels so stuttery these days.

But, I agree that a higher resolution would be nice, and if I'm being completely honest... I would want OLED. Tons of affordable OLED laptops have come to market over the past year.

comment 3y ago · link · parent

No, that would actually be less correct and less clear.

"System76 brings back AMD-only laptop" would be an extremely clear way to phrase the title. I'm not even sure the "only" is even that helpful; it could probably just be "AMD laptop".

comment 3y ago · link · parent

> There was a recent flurry of buffer overflows in SHA3 implementations. I'm aware of at least PHP being affected.

Both your comment here and some stuff FiloSottile implied in the comment above seem like they would be (largely) mitigated by what the "Go 1.20 Cryptography" post mentions about using formally verified primitives that are generated by "fiat-crypto".

Beyond the curve primitive, wouldn't the majority of the code involved be shared/identical? These are closely related curves, not some oddball algorithm that requires a bespoke implementation. If things were more bespoke, I completely agree that would drastically alter the calculus, but if Ed448 is closely related, that seems like it would limit the surface area for mistakes quite a bit?

comment 3y ago · link · parent

I removed that from that comment several minutes before your reply to just focus in on the terminology issue. I had already made the point about Ed448 being stronger than Ed25519 in the previous comment and the implications that has, so it seemed redundant to repeat here.

Regardless, whether it is "far less likely" or not, it appears to be a very real possibility that is being ignored in favor of what, exactly? An extremely marginal performance gain?

> I suspect that many cryptographers believe it's far less likely than an API handling multiple curves creates opportunities for vulnerabilities that otherwise wouldn't exist. Particularly when one of those code paths is used extremely infrequently.

Honestly, that's just as much an argument in favor of entirely deprecating support for Ed25519, in my view, but that would be an unpopular opinion. In reality, the ECDSA curves support multiple security levels. Has that additional curve support ever been the direct cause of a vulnerability?

comment 3y ago · link · parent

I agree. I'm mostly happy to hear that the new API is able to support Ed448 in the future; that it isn't locked out by a compatibility choice being made today.

comment 3y ago · link · parent

Perhaps that is a clearer choice of words, but I find it debatable to say this categorically isn't defense-in-depth. Choosing a stronger curve is similar to an additional level of defense, since it mitigates additional theoretical weaknesses that the lesser curve would not. The point of "defense-in-depth" is to add additional layers that mitigate different weaknesses.

Maybe making a stronger layer isn't the same as adding an additional layer, but it has the same outcome, so it feels like a distinction without difference.

1
323334
66