Better HN
topnewbestaskshowjobs
Log inSign up

divbzero

11,264 karma · joined Oct 8, 2017 (9y ago) · 2,949 submissions

Hello, world.

  #!/bin/bash
  name=chris
  user=divbzero
  email=${name}@${user}.com
  code=https://github.com/${user}
  website=https://${user}.com
[ my public key: https://keybase.io/divbzero; my proof: https://keybase.io/divbzero/sigs/o74zfvmaYGlCRV0hSUGRNdI1y03rbNP65tL072qROtg ]

[ my kismet code: ef956b ]

Submissions

631.

What a big experiment giving money to parents reveals(vox.com ↗)

3 points · by divbzero · 2y ago · discuss

632.

Ancient Technology Is Helping Millions Stay Cool(wired.com ↗)

4 points · by divbzero · 2y ago · discuss

633.

Latest sunsets follow the summer solstice(earthsky.org ↗)

2 points · by divbzero · 2y ago · discuss

634.

Are dusty quasars masquerading as Dyson sphere candidates?(physicsworld.com ↗)

3 points · by divbzero · 2y ago · discuss

comment 2y ago · link · parent

Yes, it is available offline if you “Add to Apple Wallet”.

The ticket in Apple Wallet is still revocable if you transfer the ticket to someone else using Ticketmaster’s website, probably through an update that Ticketmaster pushes to the wallet [1].

[1]: https://developer.apple.com/library/archive/documentation/Us...

comment 2y ago · link · parent

> The weight also grows linearly with every embed—resources are not shared: two embeds weigh 2.4 MB; three embeds weigh 3.6 MB (you get the idea).

Why aren’t these resources retrieved from cache? Shouldn’t the same-origin policy should allow for use of cached resources since they are all loading from www.youtube.com?

comment 2y ago · link · parent

Same here: While the difference in speed is noticeable, I would be surprised if it’s much more than 100ms on this specific machine (Safari, 1 year old laptop, Apple M2, macOS Sonoma).

638.

One zip to rule them all: After years of dominance, YKK faces competition (2020)(thehustle.co ↗)

2 points · by divbzero · 2y ago · discuss

comment 2y ago · link · parent

Buffett has been donating regularly since 2006. The record amount donated probably reflects Berkshire Hathaway’s record high stock price which surpassed $600,000 per share this year.

comment 2y ago · link · parent

> We are moving to Fastly. Sucks because we built so much around Cloudflare.

Are there concerns about getting locked into Fastly’s cloud services instead of Cloudflare’s? Will you use some level of abstraction to make the deployment more portable, or that’s another bridge to cross if needed?

comment 2y ago · link · parent

Seattle’s light rail also works this way: no ticket barriers and occasional ticket checks.

642.

Dali departs Baltimore for first time since bridge collapse(baltimoresun.com ↗)

1 points · by divbzero · 2y ago · discuss

643.

It's Mourning in America(newyorker.com ↗)

1 points · by divbzero · 2y ago · discuss

comment 2y ago · link · parent

I knew that Mays was a legend but never saw him play or interviewed. Only today did I learn today that he was black and joined MLB just three years after Jackie Robinson.

645.

Is the New York Times bestseller list politically biased?(economist.com ↗)

2 points · by divbzero · 2y ago · discuss

comment 2y ago · link · parent

A novel way indeed. I love how, while difficult to build without modern computing, the clock maintains the feel of low-key ambient tech.

comment 2y ago · link · parent

Startups are far more founder-friendly than they used to be (thanks in part to YC’s contributions) but we have a ways to go to make them more employee-friendly too.

To call out the employee-friendly equity policies that OP has instituted at his new startup:

> Our employee option pool is 20% which is double the average

> We have a 3-month equity cliff which is 9 months sooner than the average.

> We allow employees to exercise options up to 10 years after they leave instead of 90 days.

> Our equity packages vest over 3 years instead of the industry standard 4-year period.

> … only taking liquidity if I can also offer it to employees as well.

The 10-year exercise window is especially noteworthy since the cost to exercise options can be substantial.

comment 2y ago · link · parent

When did you meet her at this bio conference? I’m curious what aspect of biology she was interested in and whether she dove into the subject further.

comment 2y ago · link · parent

I like that Apple is still investing in the basics, e.g. “a table of contents and high-level summary” for Reader mode in Safari, “topographic maps with detailed trail networks” in Maps, and “history and unit conversions” in Calculator.

comment 2y ago · link · parent

bytes might be lesser-known to younger devs, but it’s very well-known to older devs who used it as str in Python 2.

comment 2y ago · link · parent

For future reference, the ChatGPT’s mistake in the SQLAlchemy model:

  id = Column(String, primary_key=True, default=str(uuid.uuid4()), unique=True, nullable=False)
Can be fixed by making the default a function:

  id = Column(String, primary_key=True, default=lambda: str(uuid.uuid4()), unique=True, nullable=False)
Or, if you choose to use native UUID types in Python and SQL:

  id = Column(Uuid, primary_key=True, default=uuid.uuid4, unique=True, nullable=False)

comment 2y ago · link · parent

> Kinda scary how we can lose knowledge like this...

Also kind of amazing how we’ve come to expect maintaining knowledge like this…

comment 2y ago · link · parent

a.k.a. “Future of the Paper Clip”

comment 2y ago · link · parent

Ironically, the value of employees tend to go up the longer they stay as they grow more familiar with the people and systems at the company.

comment 2y ago · link · parent

Photographs of the launch from Reuters:

https://reuters.com/pictures/boeings-starliner-blasts-off-fi...

656.

US Digital Service 2024 Impact Report [pdf](usds.gov ↗)

2 points · by divbzero · 2y ago · discuss

657.

Webster's 1913 Dictionary for macOS(github.com ↗)

1 points · by divbzero · 2y ago · discuss

658.

Taking the First Steps into a Newly Formed Volcanic Underworld (2023)(atlasobscura.com ↗)

1 points · by divbzero · 2y ago · discuss

659.

China lands Chang'e 6 sample-return probe on far side of the moon(space.com ↗)

116 points · by divbzero · 2y ago · 82 comments

1
212223
99