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

comment 6y ago · link · parent

I subscribe to the theory that Moore’s Law was in part a self-fulfilling prophecy, in that the expectation that transistor density should double every two years led to product roadmaps that aimed to hit that target.

If only we could popularize an analogous law for software performance…

comment 6y ago · link · parent

Yes, I think this is the right intuition. Given the size and weight of the hull, physics is operating at a different scale and “sharp” looks quite different from our daily experiences.

It reminds me of a Fermi estimate that my physics professor presented of how tall the tallest mountain on Earth or a generic planet of mass M could be. He started with the intuition that when the weight of a mountain overcomes the typical strength of chemical bonds, what we typically experience as “solid” rock will behave like a liquid and collapse.

2283.

Home sought for UK's ground-breaking prototype fusion power plant(gov.uk ↗)

1 points · by divbzero · 6y ago · discuss

comment 6y ago · link · parent

Yes, and “long enough for us to see them” actually comprises two independent factors: (1) survivorship bias, in that red ochre on rock can last a long time, and (2) “discoverability” bias, in that red ochre on rock is relatively easy to spot.

comment 6y ago · link · parent

Physics is amazing. Reminds me of non-line-of-sight optical imaging which makes perfect sense scientifically but still boggles my mind. [1]

[1]: https://news.ycombinator.com/item?id=20813557

comment 6y ago · link · parent

I haven’t found a compelling need to switch to Poetry, but independent experimentation and competition can be good thing. I wouldn’t be surprised if the new pip resolver was partly inspired by Poetry, similar to how some NPM improvements were motivated by Yarn. [1]

[1]: https://javascript.christmas/2019/10

2287.

Hacker News over Gemini(portal.drewdevault.com ↗)

41 points · by divbzero · 6y ago · 21 comments

comment 6y ago · link · parent

Kudos for at least trying.

For one large web app I worked on, we had a setup where browser loading time would always print out in the dev tools console. We had no hard requirement for UI changes to stay under a certain threshold, but seeing that loading time with every refresh during development was enough to keep us mindful of payload.

comment 6y ago · link · parent

There is also an additional challenge for apps like Jira or GitHub where the iOS app lags behind the web app in functionality.

comment 6y ago · link · parent

Indeed, can’t decide if I’m happy or sad to see this news.

comment 6y ago · link · parent

6 kB fits in the initial congestion window (first round trip) for TCP. [1]

Does an analogous window exist for QUIC and HTTP/3?

[1]: https://hpbn.co/building-blocks-of-tcp/#cwnd-growth

comment 6y ago · link · parent

There are vestiges of user.css like the Style sheet option in Safari. [1] I do wish they were better supported, and that user styles automatically had priority over webpage styles.

[1]: https://support.apple.com/guide/safari/advanced-ibrw1075/mac

comment 6y ago · link · parent

Just wait, we’ll soon have an app for that — the equivalent of fake engine sound for EVs.

2294.

Why money is changing hands much less frequently(economist.com ↗)

1 points · by divbzero · 6y ago · discuss

comment 6y ago · link · parent

I like the use of CSS variables for the gray bars:

  width: calc(var(--data-size)/1000 * 100%);

comment 6y ago · link · parent

Agreed. 1MB seems more reasonable as a per-site threshold. Or, alternatively, somewhere between 10kB and 100kB as a per-page threshold.

For context, 1MB is the same order of magnitude as the original Doom which was about 2.4MB in size. [1]

[1]: https://www.wired.com/2016/04/average-webpage-now-size-origi...

comment 6y ago · link · parent

If anyone finds this overview article brief and wants to dig deeper, remember to click into the links to two journal articles. [1] [2]

[1]: https://www.jstor.org/stable/43707865

[2]: https://www.jstor.org/stable/2410522

Separately, the article reminds me of another fascinating evolutionary tale from phylum Arthropoda. [3]

[3]: https://en.wikipedia.org/wiki/Carcinisation

comment 6y ago · link · parent

1213486160 is just the decimal representation of 0x48545450.

comment 6y ago · link · parent

Apple laptops have finally regained a hardware edge.

About a decade ago I overcame my Apple skepticism and moved from Windows to Mac because the MacBook Air simply had better hardware that I couldn’t find for the same price in the Windows world. Apple laptops lost their hardware edge many years ago and are only now winning it back with Apple Silicon.

comment 6y ago · link · parent

> hesitant to share about my burnout publicly

Wish this weren’t the case! The more open and okay we are with it the less perceived stigma there will be. We should consider it as typical and normal as physical conditions like asthma or diabetes that many of us have experienced or live with today.

2301.

Australia bourse suffers full-day shutdown after software glitch(ft.com ↗)

2 points · by divbzero · 6y ago · discuss

comment 6y ago · link · parent

Lots of damage done, but for Charles Koch there might be time still to heal some of the polarization.

comment 6y ago · link · parent

Thanks. I suppose it could be related to the rate of change in the ecosystem. Python’s data science / scientific programming stack definitely changes faster than Python’s web stack which is currently my primary use case.

As mentioned elsewhere in this thread, resolving this dependency issue would require a change in the Python language itself.

comment 6y ago · link · parent

This is my experience too. I’ve never actually encountered a global dependency conflict with Python pip though in theory it’s possible. But I have encountered the same version conflict problem in dependency chains that exists with Node npm.

And yet, I hear so many more complaints about Python pip and I really don’t understand the disconnect. Perhaps dislike of pip is actually triggered by usability issues? And then people look for other reasons to explain their dislike?

comment 6y ago · link · parent

For people like me who are unfamiliar with the proposal, 103 Early Hints [1] would work like this.

Client request:

  GET / HTTP/1.1
  Host: example.com
Server response:

  HTTP/1.1 103 Early Hints
  Link: </style.css>; rel=preload; as=style
  Link: </script.js>; rel=preload; as=script
  
  HTTP/1.1 200 OK
  Date: Fri, 26 May 2017 10:02:11 GMT
  Content-Length: 1234
  Content-Type: text/html; charset=utf-8
  Link: </style.css>; rel=preload; as=style
  Link: </script.js>; rel=preload; as=script
  
  <!doctype html>
  [... rest of the response body is omitted from the example ...]
[1]: https://tools.ietf.org/html/rfc8297
1
767778
99