Better HN
topnewbestaskshowjobs
Log inSign up

ComputerGuru

32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions

mqudsi on most sites.
Submissions

comment 4y ago · link · parent

The Arabic scripts are breathtaking but I had some difficulty discerning the Reem Kufi examples. It might be just me, but I've never seen the right+left connected ع drawn that way in Kufi scripts. It seems both alien and a poor match for the rest of the characters in the Reem Kufi fonts - I first thought it was a ligature error!

comment 4y ago · link · parent

And, counter-intuitively, get off the brakes! This returns/angles the nose of the car up, which can be the difference between life or death if colliding head-on into a larger object (like a deer).

comment 4y ago · link · parent

> Obviously the motor coils will heat up very fast, so this is probably a one-use-only failsafe, like airbags.

Replacing airbags (at least individually) is cheap enough. Having your entire engine-equivalent need a replacement just to reduce the sprung weight?

comment 4y ago · link · parent

The link is down for me. Here is a cached copy so you can at least see what all the hype is about: https://archive.ph/ok1ro

comment 4y ago · link · parent

I thought that but it turns out that Netflix is culturally/principally anti-advertisement. They’re caving to shareholder demand and introducing a cheaper, ad-supported plan but their regular plans are - at least for now - to remain ad-free.

comment 4y ago · link · parent

Cable also started off ad-free.

comment 4y ago · link · parent

https://appleinsider.com/articles/21/12/15/apples-hold-on-im...

comment 4y ago · link · parent

Do you have a better link? I can’t understand anything from the promo pics they have on display and there’s no actual text.

comment 4y ago · link · parent

They generate opaque short links now, so you would have to open the link in a new tab and manually scrape the resulting address. Scrolling horizontally while selecting text in a fixed-width text fields is a PITA on iOS.

comment 4y ago · link · parent

Yeah. Modern (but not bleeding edge) optocouplers can do 100ns pulses which would give you 10mbps - but I’m not sure how that plays with the failure mode for the transmissions. Ethernet doesn’t care how many packets your sending per second, it’ll try to do the full speed from the get-go, so the question is whether the errors would be exacerbated or alleviated by retransmission from higher up in the stack.

comment 4y ago · link · parent

You’re right, they’re not comparable: Apple was going to be scanning for CSAM on your device, without the photos even reaching their servers (by uploading a backup, texting a copy, etc). Google, so far as I can tell and as corroborated by the article, doesn’t do that. Apple and Google both already scan anything uploaded to your Photos account for CSAM and report to authorities.

comment 4y ago · link · parent

Most providers don’t offer that, though. I can recommend Hover.com for multi-year leases without crazy rate upcharges.

comment 4y ago · link · parent

I’m not big on PayPal but I have some domain names set up for recurring PayPal payments (with cc as a backup) because PayPal is insidious with regards to how far they go to fund your account (charging multiple cards, goopy your bank account, sending you letters for debt collection, etc) which, for most things, would be exactly the opposite of what I want but for domain names it’s a huge burden lifted.

comment 4y ago · link · parent

Yup. I have my 1U switches, patch panels, and PDUs in the back, and my one 2U server in the front so it’s fairly easy to take down on the rare occasion I need to. The front drive bays minimize the need to do that very often, though.

comment 4y ago · link · parent

Good question. It’s fairly short depth and there is great airflow under it (not being constrained like in a cabinet) - I have the fans nuked in my (lightly loaded) switches for noise reasons and still have great temps with just ambient cooling.

comment 4y ago · link · parent

How often are you doing that (vs using the drive bays up front), though? Anyway, I have a 4U with 1U devices like a switch, patch panel, and PDU in the back and then a 2U server in the front. You can just unscrew it and pull it out from that position (rather than having to pull it all the way out). I wouldn’t want to do it with more than one 2U server, though.

comment 4y ago · link · parent

Thanks. I just used the share feature from the app because I didn’t have a url to copy.

comment 4y ago · link · parent

Which is part of the reason sendfile doesn’t work well for ZFS.

comment 4y ago · link · parent

I prefer the minimalism of a "vertical rack" which, for some reason, I tend to never see. If you don't have more than 6U or so of equipment, it's really the way to go because of its minimal profile and amazing load-bearing ability: it is load-bearing parallel to the direction of gravitational pull (vs regular rack cabinets where the load is perpendicular to the posts), and then that weight is all redirected towards the wall, so even the heaviest servers or whatnot that would normally sag unless it comes with rear-mountable rails for 4-post racks (which, for some reason, very few do) work amazingly well. I've bought a few of this StarTech one [0] over the years, but I've also seen people weld together a couple of metal struts to accomplish the same.

[0]: https://amzn.to/3QTmVee

2210.

SecureStore: A rust alternative to storing secrets as environment variables(neosmart.net ↗)

6 points · by ComputerGuru · 4y ago · discuss

comment 4y ago · link · parent

Assembly is easy enough to write, but a nightmare to try to understand what someone else - or you - previously authored without great comments.

comment 4y ago · link · parent

It does on first web sync after the ebook is transferred. It can be fixed (by transferring again) and then it won’t be removed on subsequent sync.

comment 4y ago · link · parent

Yes, I tried (a few months ago) mocking a PR for this that refactored the enum variants into ZST structs and that was the only sticking point for backwards compatibility.

comment 4y ago · link · parent

While this article is specifically regarding the 0.100 release of SecureStore for rust, SecureStore itself is a language-agnostic open protocol for a plain-text, git-versioned alternative to storing secrets as environment variables (which is inherently insecure and prone to leakage) or via network-accessible secret management servers (which are a really heavy dependency, incur a fairly significant devops cost, and are overkill for most companies’ needs). SecureStore implementations are available for other languages, and the protocol was designed from the ground up to be portable, git-friendly, and easy to use.

SecureStore vaults unify the way passwords are stored and retrieved in-development and in-production and make spinning up development environments really easy (since the secrets are actually cloned alongside the code when you just check out the repo, you just need to know the password or be given a single decryption key). The git versioning makes sure that your secrets are committed at the same time as the code that uses them, and the usage of separate vaults for production and dev use means you can separate who has access to what.

comment 4y ago · link · parent

Likely only once we finally get const parameters specified as regular arguments.

It doesn’t need const at all, though. You just need three traits and either first class enum variants as types or a pseudo enum (mod/struct Ordering with ZST structs Acquire, Release, etc)

comment 4y ago · link · parent

One runtime panic I wish was a compile-time error in the rust standard library is the use of an incorrect memory order, eg Ordering::Release with AtomicBool::load().

It would have been fairly trivial to set up generic constraints specifying if a read, write, or read-write ordering semantic is expected and to fail to compile if it wasn’t met.

comment 4y ago · link · parent

I couldn’t. It was the first thing I hired for and the last thing I stopped when winding down a product. If you’re a solo dev, that product customers are rudely disparaging is your sweat, blood, and tears. It’s important to know what your customers run into so you should be checking the tickets, but just assign them for someone else to deal with. Your sanity is not worth having to swallow and nod politely while an angry or rude customer has their way.

comment 4y ago · link · parent

It was poor reactor design combined with downright stupid actions by management. But a nuclear plant should be somewhat stupid-proof.

comment 4y ago · link · parent

That's been around since Windows NT. Whether or not Microsoft uses it for their own (in-box or out-of-box) products is a different question.
1
737475
277