HNHacker News
TopNewBestAskShowJobs

arrowleaf

382 karma · joined August 16, 2023

submissionscomments
arrowleaf··on Eloquent JavaScript 4th edition (2024)
The book is actually maintained on GitHub too, https://github.com/marijnh/Eloquent-JavaScript.

When I was just starting out I read this book and noticed a small mistake, I was really proud that one of my first contributions to any open source project was a PR to this repo.

arrowleaf··on Nvidia hits $2T valuation as AI frenzy grips Wall Street
The time value of money is constantly in flux, so even if future growth were priced in / perfect market theory held, prices would still change with P/E swings as investors can get more or less for their money elsewhere.
arrowleaf··on Nvidia hits $2T valuation as AI frenzy grips Wall Street
Hah, when? It's always been a random walk.
arrowleaf··on After 14 years in the industry, I still find programming difficult
I've always hated this saying, and I think the reason applies here too.

If you take up running and it never gets easier, that means you're never managing your pace and you're always going full throttle. That's a straight shot towards injury if not chronic disability. Most aerobic benefits happen at zone 2, where your heart rate is just above 'easy effort'. When you start out, this might just be walking, so it makes sense to run. But once you are able to sprint, you open up the ability to do more than just walk or sprint. You can jog, skip, run at a tempo pace, run at a race pace, etc., and you need to do those to maintain fitness and build up your chronic training load. That's not to say there aren't hard efforts at times, like when you do a sprint workout or hill repeats, but 90% of the time it should be and feel easier than when you started.

You can bring that to programming too. If it never gets easier, that means you're always pushing yourself and seeking challenges. That's not good for you, your coworkers, or your projects... everyone needs some grounding and to perform at a level they excel at. Not only will your velocity be more predictable, you won't burn out as easily. Challenges that increase that comfortable pace can be sought out, but usually they come naturally too.

arrowleaf··on The perverse policies that fuel wildfires
Yes. There's business interest in getting legislators/officials distracted from what is really good land management, namely prescribed fires and public services around clearing combustibles away from infrastructure and homes.
arrowleaf··on Built-in workaround for applications hiding under the MacBook Pro notch
You seem to be thinking that Apple will introduce under-screen cameras next... I highly doubt that. Under-screen will never have the fidelity of a camera without layers of screen in front of it. If anything the notch's dead space will become physically smaller, with the visible notch staying the same size to provide 'dynamic island' functionality, like on the iPhones. I'd pay for that.
arrowleaf··on Built-in workaround for applications hiding under the MacBook Pro notch
I'm saving up to replace my personal intel MBP with a new one partially because using my work MBP I really appreciate that little bit of extra screen space. In regular use I hardly notice the notch, sometimes I'll even have fun watching my cursor jump back and forth when it gets close to one side of it.
arrowleaf··on The perverse policies that fuel wildfires
Fighting wildfires is expensive, which means it's big business. There's absolutely business interests in keeping wildfires raging. Fire suppression means the government gets to purchase planes and helicopters, 3M can supply countless brand new sets of fire resistant gear every year considering how high wildland fire employee turnover is, Perimeter Solutions gets to sell Phos-Chek faster than they can produce it, etc.
arrowleaf··on Apple built iCloud to store billions of databases
Even better, external NVMe SSD enclosures over Thunderbolt 3 can reliably read at 2500 Mbps and write at over 1500 Mbps. That's faster than internal SSD R/W speeds a few years ago. The newer generation of enclosures coming out claim to use the full bandwidth of USB4, 40 Gbps, and get >3000 Mpbs R/W.
arrowleaf··on Apple built iCloud to store billions of databases
My point is that I'm sure the only way iCloud is profitable or even break-even for Apple is if they rely on over-provisioning storage to users of the more paid plans. I started paying for the 200GB iCloud+ plan, and once my photos exceeded 200GB I ponied up for the 2TB plan. Unless I take up a photography hobby it'll be a long time until I get close to that 2TB, and I'd wager this is what Apple expects. Raising that baseline usage with Time Machine backups would mean it would need to be more expensive for end users, either by making iCloud+ more expensive or rolling out a new subscription product.
arrowleaf··on Apple built iCloud to store billions of databases
I agree with you here and that's why I'm mildly surprised they haven't come up with a solution rolled into iCloud yet. Syncing apps and preferences shouldn't be that difficult, but unless they're App Store applications the binaries would take up a lot of space. Most of the apps I care about are from outside of the App Store. AFAIK our iOS backups don't actually back up application binaries.

The way I was looking at it is that Apple has successfully sold iCloud+ 2TB plans to a lot of people who don't need much more than 200GB. If everyone on the 2TB plan used even close to 2TB, I'd bet they'd have to charge me a lot more to make up the provisioning and usage costs of storage.

arrowleaf··on Apple built iCloud to store billions of databases
I'm mildly surprised they haven't, but the reasons seem pretty obvious. Redundancy (in offerings), storage costs, and home network upload speeds.

Redundancy because the thing most people care about backing up is media and important documents, which are likely already stored in iCloud. If you care about Time Machine back ups you probably want your whole filesystem with point-in-time restores. That's a lot more data for Apple to hang onto, for a small segment of its target market. Of course, Apple does have 2TB+ iCloud+ plans, but I would bet that the average iCloud+ subscriber is using nowhere near their limit.

arrowleaf··on Beaver Drop
In this situation it's not necessarily how 'big' the rural area is, it's the topography. As the crow flies, the basin in the SNRA these beavers were dropped into isn't more than ~60 miles away from where they were picked up from.
arrowleaf··on In 2024, please switch to Firefox
Yeah, I actually switched from Firefox to Safari this month. I didn't know Safari had tab groups, the feature I missed from Chrome when using Firefox. No speed differences and Safari has less of a battery impact so far.

Hard to complain about a browser that still cares about privacy, but with tighter OS integration.

arrowleaf··on Amazon receives FDA warning letter for supplements with undeclared ingredients
Right. Walmart doesn't let someone drive up with a semi-load of what looks like bags of King Arthur bread flour, mark the pallets with a tag, and cut them a check when they stock the items from that pallet onto the shelf. That's basically what Amazon does.
arrowleaf··on Amazon receives FDA warning letter for supplements with undeclared ingredients
Grocery stores typically have an extensive if not integrated supply chain they have absolute control over.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
The treatment itself didn't generate any new floaters, but in the past year I did start experiencing a set of new floaters which correlates with the new atrophic hole my doc found. It's taken a few months but I can finally just ignore them or not even see them if I'm inside.
arrowleaf··on Chevrolet Blazer first drive: GM's EV platform goes mainstream
Oh, that's good to know. Throttles are commonly by-wire, but I must have misinterpreted the move away from hydraulic to electric steering assist as moving from mechanical to signals. Thank you for the correction.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
I briefly took up a hobby of trying to raise some tomato plants indoors. The lights that claim to emit the full spectrum of non-visible light to match sunlight are insanely expensive (thermally and otherwise). There's probably more to the sunlight's effects on dopamine production than lux.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
The article talks about that a bit, there have been a number of 'causes' of myopia that are 'common knowledge' but end up not holding water. Genetics and close-up work being the two major scapegoats. Modern studies are showing a lack of dopamine in the eyeball to be the most likely factor, without a strong link to genetics.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Very true, if it were very common you'd see retinal surgery centers in every hospital or more blind folks in rural communities. Thankfully it's not so rare that we don't have decent treatment for it. Like the article pointed out, rising myope rates are concerning for the implication on how many people will experience retinal issues. Sight is the last sense I want to give up, maybe the warning signs of RD should be as common as knowing the warning signs of strokes.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Glad you got yours taken care of! They were definitely concerned about the tear, they're apparently common but when asymptomatic they're hardly noted (or even noticed if in the peripheral retinal areas).

The laser is definitely uncomfortable, hard to say if it's even pain when your ocular globe is injected with so much anesthetic. Brain freeze, but extremely acute and right behind your eyeball might be accurate. During one of the prophylactic treatments he did some 'spot welds' near my optic nerve. I couldn't tell if I was even looking at his ear like he told me to, every burst of green triggered my reflexes. It was impossible to keep my other eye open. At least the discomfort is so temporary, I forget about it until someone asks if it was painful.

arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Same here (until I started getting new ones)! The best thing to do is to get a dilated fundus exam by someone who really knows retinas to rule out anything major if you start noticing them more.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Well, the real problem is that children's eyes aren't getting enough sunlight exposure to trigger dopamine production, which regulates the lengthening of the eyeballs, while cooped up inside. Eye strain is muscle fatigue, unrelated to myopia.
arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Close-up work (crafts, reading, computers) causing myopia 'makes sense', I heard the same thing as a kid in the States.

It makes me wish we would have had more P.E. classes outside, rather than 'giving our eyes a break' by playing kickball indoors under fluorescence.

arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Floaters have many causes. An early sign of retinal detachment will be floaters until it progresses closer to the macular hole, at which point the symptoms will be more of a curtain being drawn across your vision.

I was able to catch a retinal tear that had a very high chance of proceeding to a retinal detachment (horsehoe tear with sub-retinal fluid) by getting some new floaters checked out.

Floaters are commonly caused by a (mostly) benign aging phenomenon called posterior vitreous detachment, where the vitriol gel liquefies as a person ages.

arrowleaf··on High myopia is now the leading cause of blindness in Japan, China, and Taiwan
Three years ago at age 25 I booked an eye exam due after getting some new floaters. After imaging my eye doc came in and asked if I was comfortable driving while dilated, because he would be dilating and numbing my eyes before sending me off to the retina specialist for an urgent exam. The ophthalmologist immediately diagnosed me with lattice degeneration and saw a horseshoe tear. That same afternoon he sat me in a chair and used a laser to create a barrier of scar tissue around the tear to prevent it from progressing. Three years later I have had two rounds of prophylactic treatment of those weak spots in each eye. I most likely will never experience a retinal detachment, but annual dilated eye exams are in my future.

I don't even have very bad myopia (-2.75/-3.25), but I kick myself for not spending as much time outside during my childhood as some of my friends did.

arrowleaf··on Granting pardon for the offense of simple possession of or use of marijuana
I've always taken it for granted that stuff like MIPs on your record get sealed or expunged once you hit 21. IMO it's silly to have it be a mark on your record even temporarily, but insane to me that some states don't automatically expunge misdemeanors for kids.
arrowleaf··on Polymers capable of killing bacteria without inducing antibiotic resistance
I'm assuming the intended application of this is to kill bacteria colonizing a biological host. In order for that to work, the treatment needs to be selective in what it kills. If human/animal/plant cells have any mechanism to avoid being killed by the antibiotic, eventually the bacteria will adapt them.
arrowleaf··on Chevrolet Blazer first drive: GM's EV platform goes mainstream
It's a real concern for fire departments that don't have readily available equipment to deal with massive battery fires. Even though it's rare it's still worthy of criticism.

EVs are way heavier than ICE vehicles with a similar form factor, more energy involved in collisions. They also go through tires and wear down the road surface faster.

← PreviousPage 4 of 5Next →