HNHacker News
TopNewBestAskShowJobs

divbzero

11,223 karma · joined October 8, 2017

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 ]

submissionscomments
divbzero··on The gaslit asset class
China, on the other hand, did.

[2017]: https://www.cnbc.com/2017/09/11/bitcoin-price-falls-on-repor... "Bitcoin price falls again on reports that China is shutting down local exchanges"

[2021]: https://www.cnbc.com/2021/06/22/china-crypto-crackdown-wipes... "China’s renewed crypto crackdown wipes $400 billion off the market as bitcoin slides"

divbzero··on Genomic analyses of hair from Ludwig van Beethoven (2023)
Gattaca did portray hair as being more than enough for forensics. (“Keep your lashes on your lids where they belong. How could you be so careless?”)
divbzero··on Genomic analyses of hair from Ludwig van Beethoven (2023)
Well, they managed to analyze DNA from centuries-old hair in this paper.

From the methods section:

> Nuclear DNA in hair has an extremely low average fragment length owing to the activity of endonucleases expressed during hair formation.

But the researchers made adjustments for that during sample prep before sequencing, and alignment after sequencing.

divbzero··on Data Viz Color Palette Generator (For Charts and Dashboards)
Does using a range of hues generate colors that can be differentiated by those of us who are color blind?
divbzero··on Cloudflare Email Service: private beta
You know, it might be closer to AWS SES and SendGrid than I thought initially. My first reading of blog post gave me the impression that Cloudflare Email Service was designed for Cloudflare Workers only because that’s what they emphasized upfront. But I missed this piece:

> We’re also making sure Email Service seamlessly fits into your existing applications. If you need to send emails from external services, you can do so using either REST APIs or SMTP.

divbzero··on Cloudflare Email Service: private beta
To be clear, Cloudflare Email Service is not a full-blown email provider like Fastmail, nor is it even comparable to email services like AWS SES or SendGrid. Cloudflare already offered email routing and Cloudflare Email Service just adds the ability to send email via Cloudflare Workers, so there’s a long way to go before Cloudflare could be an option for replacing Fastmail.
divbzero··on Firefox 143 for Android to introduce DoH
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?
divbzero··on Turgot Map of Paris
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.
divbzero··on How the restoration of ancient Babylon is drawing tourists back to Iraq
Do we really want ancient buildings to be restored? I think I would prefer original ruins over modern reconstructions.
divbzero··on The PC was never a true 'IBMer'
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.
divbzero··on I didn't bring my son to a museum to look at screens
> 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.

divbzero··on I didn't bring my son to a museum to look at screens
Physical books in libraries is another example: They can typically last just a few dozen circulations.
divbzero··on I didn't bring my son to a museum to look at screens
It’s not just museums. Schools today also face the challenge of limiting screens in favor of hands-on activities.
divbzero··on Some thoughts on personal Git hosting
> 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

divbzero··on Anscombe's Quartet
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?
divbzero··on Submarine Cable Map
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...

divbzero··on Oldest recorded transaction
> 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.

divbzero··on Cape Station, future home of an enhanced geothermal power plant, in Utah
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...

divbzero··on Cache
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?
divbzero··on UK Electricity Generation Map
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?
divbzero··on Static sites with Python, uv, Caddy, and Docker
> 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.

divbzero··on Crimes with Python's Pattern Matching (2022)
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
divbzero··on Code formatting comes to uv experimentally
> (Ruff is installed when you invoke `uv format`, rather than bundled with the uv binary, so if you never use `uv format`, there aren't any material downsides to the experiment.)

That’s thoughtful design and could be worth mentioning in the blog post.

divbzero··on Derivatives, Gradients, Jacobians and Hessians
Would love to see div and curl added to this post.
divbzero··on PYX: The next step in Python packaging
The combination of

– “client (uv) and server (pyx)” and

– “You can use it to host your own internal packages, or as an accelerated, configurable frontend to public sources like PyPI and the PyTorch index.”

is what really helped me understand what pyx aims to be.

divbzero··on PYX: The next step in Python packaging
There’s nothing wrong with just using virtualenv. I too have used virtualenv plus pip (and sometimes pyenv) for the longest time without issue.

However, uv is the first alternative that has tempted me to switch. uv offers performance improvements over pip and handles pyenv use cases as well. I’ll be paying attention to pyx to see how it pans out.

divbzero··on Galileo’s telescopes: Seeing is believing (2010)
This is incredible. Did he ever describe how he made the replicas? How did he know what the originals looked like?
divbzero··on Galileo’s telescopes: Seeing is believing (2010)
A few years ago I pointed out Jupiter in the night sky as I was leaving a friend’s place. He told me to take a closer look with his binoculars and I was stunned: The Galilean moons were unmistakable. I had no idea they could be seen with a simple set of modern binoculars.
divbzero··on Millau Viaduct
I have wondered why the Millau Viaduct was built instead of a highway that descended into the valley. The descriptions in this thread make the reason clear.
divbzero··on All known 49-year-old Apple-1 computers
Of the 92 “verified and almost verified” Apple I computers in this registry, 67 are confirmed to be in working condition.
← PreviousPage 5 of 34Next →