HNHacker News
TopNewBestAskShowJobs

67868018

83 karma · joined June 13, 2020

submissionscomments
67868018··on Goodreads plans to retire API access, disables existing API keys
Storygraph is the new hotness

https://beta.thestorygraph.com/

67868018··on Ask HN: How did Apple manage to create such a better chip than Intel?
The M1 CPU only supports a 36bit address space, so nothing can be done right now
67868018··on Ask HN: How did Apple manage to create such a better chip than Intel?
amd64 is the correct term. It's amd's instruction set; they were the first to do it. The BSDs call it amd64, it's only Linux being the odd duck calling it x86_64
67868018··on ZFS: Use mirror vdevs, not RAIDZ
You don’t lose everything, only the files that were on that vdev. I’ve been through this. It’s not fun, though, and your pool is irreversibly damaged but your data is not all lost
67868018··on ZFS: Use mirror vdevs, not RAIDZ
Your mirrors can be more than 2 wide, you can have automatic hot standbys, you can make each mirror its own zpool so loss of some drives doesn’t lose the entire pool.

Actually losing a mirror vdev doesn’t lose the whole pool anymore for several years now. I’ve recovered data off a zpool where I lost one of three mirrored vdevs. It’s not pretty, but your data is still there. Any files on the missing drives are just 0 bytes.

67868018··on Pfizer chairman: We're not sure if someone can transmit Covid after vaccination
Being vaccinated doesn't mean your body instantly kills any virus it comes in contact with. It can still use your body to replicate and spread until your immune system properly tidies it up.
67868018··on Before the BSD Kernel Starts: Part One on AMD64
You can't boot from NVMe with BIOS, not interested in running systems that don't boot off NVMe
67868018··on Facebook was used as a proxy by web scraping bots
They're used by instant messengers too: slack, iMessage, WhatsApp, telegram, signal, ...
67868018··on Facebook was used as a proxy by web scraping bots
Yea but when your request to fetch the oembed data is blocked by a CAPTCHA...

This is a real problem, we experience it in the Fediverse

67868018··on No-Code and the IKEA Effect: Software lock-in evolved to make us never churn
MacOS/iOS is not based on a BSD kernel.

https://imgpile.com/images/uL3CFP.jpg

67868018··on “Oh Jeeeesus”: Drivers react to Tesla’s full self-driving beta release
The feature is not out for everyone to use. I have FSD and do not have this for my Model 3 yet
67868018··on Soylent isn’t Healthy (2017)
One serving of Soylent gives me 14g of fat and 13g of protein. Better than a granola bar and some fruit and nuts, which tend to be only carb heavy with some protein.
67868018··on Wikimedia is moving to Gitlab
This requires asking for a specific number of license seats for your open source project and that's impossible to work with. Every possible user account/contributor takes up a license. How many contributors will I have tomorrow? Don't know. How many spam accounts will I have that waste license seats? Too many, and they're impossible to clean up.
67868018··on Wikimedia is moving to Gitlab
None of your captcha settings work, not even the invisible captcha setting that requires enabling a feature flag.
67868018··on Distribyted: Torrent client with on-demand file downloading as a filesystem
The constant "Out of Sync" errors in Syncthing make me think it's not so great at it's first job.
67868018··on Apache Helix – Near-Realtime Rsync Replicated File System
Java is a significant legal risk. Do not let it into your company.
67868018··on Electoral College Decision Tree
They don't just stuff it through the machine, you get in line as is you were the voter, verify you're on the rolls for your polling place, check you off in the book, etc. No steps are skipped to ensure the voter can't show up and request another ballot and vote again.

This is as described by a friend who had worked elections for years, this year will be my first. Should be interesting to see it in person.

67868018··on Electoral College Decision Tree
Madison Wisconsin pre-sorts mail in ballots by voting ward and has them taken to the polling places on Election Day morning and feeds them through the tabulator after someone cosplays as the voter to ensure the voter can't cast two ballots. I assume the same process is done for all the major metro areas. They'll be counted on time.

(They verify a few absentee ballot envelopes for required signatures etc and then open up the envelopes, someone verifies the ballot is complete, and then mix the ballots together so the ballot is kept anonymous. Chain of custody here is clever and works well. It would still be possible to notify the voter their ballot was rejected.)

67868018··on The local timeline is the key to enjoying Mastodon
I run my own instance and talk to thousands of people on their own instances every day. I don't think you know how this works. Its federation, like email. People with GMail accounts can communicate with Yahoo users in case you missed that...
67868018··on Using all-Apple Thunderbolt hardware to kill my MacBook
I think the NVRAM string that gets corrupted is called HW_BOOT_DATA
67868018··on Using all-Apple Thunderbolt hardware to kill my MacBook
I had this problem, downgraded to Mojave and it went away. Saw recently someone say they talked to CalDigit support and they said to clear the NVRAM with sudo nvram -c

I upgraded to Catalina again, ran this to be certain, and it worked! No more crashing in a whole month. Previous reinstalls of Catalina did not fix it.

My theory is the NVRAM seems to hold some values that look like hints of hardware configuration (I forget the label this long string is under) and if this string gets anything incorrect it panics on wake or even on boot because it doesn't see all the hardware supposedly plugged in and can't speed up the boot/wake using these hints.

This makes sense why it would panic if you unplug while it's sleeping and then it crashes on wake.

67868018··on Ask HN: How PostgreSQL source code is 3x shorter than MySQL's one?
Postgres has storage abstraction since early 2019
67868018··on Tesla Tire Costs 10× Battery Cost, & My Plan to Deflate Tire Costs 90%
In only got 19k out of the stock Model 3 tires. Nobody will get 40k with the weight of the car and the regen. His math is way off, tires are much more expensive than he projects
67868018··on Firefox's JIT is getting significantly faster
Every oil change
67868018··on 21 years after the request OpenPGP support gets added to Thunderbird
Export from the US is not uncontrolled

https://www.schneier.com/blog/archives/2014/11/the_return_of...

67868018··on Fuck Cloud Messaging
Apple has this solved for iOS 14

https://developer.apple.com/videos/play/wwdc2020/10113/

67868018··on Twelve years later, Apple is still trying to erase mac.com email addresses
Push isn't exclusive to Apple anymore but others had to jump through hoops.
67868018··on Matrix – An open network for secure, decentralized communication
Recent benchmark showed Dendrite (go) is slower than Synapse (Python) but I'd guess it's from all the context switching with the multi process design of Dendrite
67868018··on Show HN: My brother wrote this program from jail
Tell him to be proud.
67868018··on LFE: Lisp Flavored Erlang
> coding for the happy path

It's not that complicated. A relatable example would be writing an API endpoint that receives data and then you do something with that data.

1. Write the endpoint so it works for the expected data.

2. You're done

That's it. You don't need to worry about anyone sending you malformed payloads or fuzzing your API. You can ignore it. They cannot exploit anything, they cannot crash BEAM. It will keep working.

Maybe they'll run you out of memory or CPU or bandwidth, but those are problems solved at other layers (unless you include rate limiting in your application).

Ignore all errors you do not need to explicitly handle. That's the whole point. It's wonderful.

Maybe you can do this in other languages with worker pools and supervisors, but it will be very expensive and high latency due to the cost of OS process forking and you're also wasting a lot of resource on context switches with that design anyway.

← PreviousPage 2 of 3Next →