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

241.

The sun sets on India's iconic and controversial Soviet fighter jet(bbc.com ↗)

2 points · by divbzero · 1y ago · discuss

242.

Viral parking ticket app lasts just 4 hours as city kills project(sfstandard.com ↗)

16 points · by divbzero · 1y ago · 1 comment

243.

Skeletons from 'green Sahara' offer genetic peek at a lost human population(science.org ↗)

2 points · by divbzero · 1y ago · discuss

244.

Hundreds plunge into Chicago River in first open-water swim in nearly a century(chicago.suntimes.com ↗)

79 points · by divbzero · 1y ago · 32 comments

245.

Petra's Bedouin resist moves to evict them from ancient cave homes(theguardian.com ↗)

5 points · by divbzero · 1y ago · discuss

246.

Do We See the Same Colors as Others? Brains Respond to Same Hues in Similar Ways(smithsonianmag.com ↗)

2 points · by divbzero · 1y ago · discuss

comment 1y ago · link · parent

Why did Firefox choose to implement DNS over HTTPS (DoH) instead of DNS over TLS (DoT)? Doesn’t HTTPS add an extra layer for DNS queries?

comment 1y ago · link · parent

I noticed the same. At the time, the Louvre Palace was near the western end of Paris, similar to how the Palace of Westminster was near the western end of London.

comment 1y ago · link · parent

Do we really want ancient buildings to be restored? I think I would prefer original ruins over modern reconstructions.

comment 1y ago · link · parent

I find it sad that IBM didn’t view ThinkPad as a core business and chose to sell it instead. They made some of the best laptops at the time.

comment 1y ago · link · parent

> I remember running through the gigantic model heart with other kids.

This is one of the most memorable exhibits in TFI and thankfully still exists today.

comment 1y ago · link · parent

Physical books in libraries is another example: They can typically last just a few dozen circulations.

comment 1y ago · link · parent

It’s not just museums. Schools today also face the challenge of limiting screens in favor of hands-on activities.

comment 1y ago · link · parent

> You can git clone the repo to your local machine, and you can manually move it elsewhere, but there's no way to send a PR from your repo to mine.

There is a native git request-pull command [1] that generates a summary of pending changes to pull into an upstream project, but it doesn’t enjoy support for all the features offered by GitHub pull requests or GitLab merge requests.

[1]: https://git-scm.com/docs/git-request-pull

comment 1y ago · link · parent

I know this is against the main point of Anscombe’s Quartet but just curious: Could skewness or other summary statistics differentiate the four distributions?

comment 1y ago · link · parent

Just this morning I came across and reread “Mother Earth Mother Board” Wired article from December 1996:

https://web.archive.org/web/20151029000518/https://www.wired...

257.

Barnes and Noble to acquire Books Inc, saving 174-year-old store from bankruptcy(sfstandard.com ↗)

5 points · by divbzero · 1y ago · discuss

258.

One of the most sacred places is being turned into a luxury mega-resort(bbc.com ↗)

5 points · by divbzero · 1y ago · discuss

comment 1y ago · link · parent

> The answer: Text.

That was my immediate thought too and led to me wondering: How do you represent BCE dates in ISO 8601?

Apparently ISO 8601 always supports YYYY from 0000 (1 BCE) to 9999 (9999 CE). ISO 8601 can also extend beyond those limits if agreed upon by sender and receiver: e.g. -0001 (2 BCE), -0002 (3 BCE), etc.

comment 1y ago · link · parent

That’s close to the deepest geothermal wells which are about 5 km deep:

https://en.renovablesverdes.com/iceland-is-drilling-the-deep...

https://global.chinadaily.com.cn/a/202411/07/WS672c6803a310f...

261.

Orientation of the Earth, Sun and Solar System in the Milky Way (2016)(physicsforums.com ↗)

4 points · by divbzero · 1y ago · discuss

262.

Biotech VC raises $400M 'opportunity' fund in sign of possible industry rebound(statnews.com ↗)

3 points · by divbzero · 1y ago · discuss

comment 1y ago · link · parent

The Cache API is separate from the traditional HTTP cache. You can access the HTTP cache indirectly by fetching with appropriate HTTP headers, but I suppose there is still no way to access the HTTP cache directly?

264.

SectorC: A C Compiler in 512 bytes (2023)(xorvoid.com ↗)

1 points · by divbzero · 1y ago · discuss

comment 1y ago · link · parent

Are there electricity generation maps with the same level of granularity for other countries? Or is the UK unusual for providing data for each power plant?

comment 1y ago · link · parent

> I explicitly wanted to stay in the Coolify world.

I too was skeptical of the motivation until reading this. Given that Coolify requirement, your solution (build static files in one container, deploy with Caddy in another) seems quite sensible.

comment 1y ago · link · parent

I suppose you could use the same trick with __ror__ and | (as long as the left-hand side doesn’t define __or__).

  x = Model.objects.all() | by_pk | call(dict.values) | to_list | get('name') | _map(str.title) | log_debug | to_json
1
8910
99