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 3y ago · link · parent

When I learned FORTRAN, I recall each line of code was prefixed by a numeric label. From the “Hello, World!” presented on the website, it looks like that’s no longer the case in modern FORTRAN?

  program hello
    ! This is a comment line; it is ignored by the compiler
    print *, 'Hello, World!'
  end program hello
https://fortran-lang.org/en/learn/quickstart/hello_world/

962.

Homeric Question: With No Predecessor to Imitate, No Successor Could Imitate Him(fantasticanachronism.com ↗)

30 points · by divbzero · 3y ago · 1 comment

comment 3y ago · link · parent

5% error is incredible. I wonder what Eratosthenes thought of his own measurement. Did he believe it was accurate? Or questioned if unknown factors could have thrown off his calculation?

comment 3y ago · link · parent

> Draw art on the maps using gps.

Reminds me of this easter egg from the last 747 delivery flight:

https://news.ycombinator.com/item?id=34616511

965.

Endless fallout: the Pacific idyll still facing nuclear blight 77 years on(theguardian.com ↗)

5 points · by divbzero · 3y ago · discuss

966.

Mystery company is buying up Bay Area land. Is it building a new city?(sfchronicle.com ↗)

25 points · by divbzero · 3y ago · 1 comment

comment 3y ago · link · parent

dir is a global attribute that can be set on any HTML element:

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...

What I don’t understand is why dir="auto" isn’t set as the default value, allowing browsers to choose text direction based on the lang attribute or the text content.

comment 3y ago · link · parent

> nobody with congenital blindness has developed schizophrenia

What’s the rationale for why this might happen?

comment 3y ago · link · parent

> They are institutionally incapable of finding the already-existing answer within themselves.

Or sometimes, as OP mentions, they have the answer already but need consultants for political cover to implement the solution.

comment 3y ago · link · parent

This is good bullshit because it’s close to the truth. Not quite a dozen lives but order of magnitude right:

  (50,000,000 seconds saved per day) ÷ (60 seconds / minute) ÷ (525,600 minutes / year) ≈ 1.6 years saved per day
  (1.6 years saved per day) × (365 days / year) ≈ 580 years saved per year

comment 3y ago · link · parent

British vs. American English seems like a good analogy given that they also have distinct language codes. Would Google translate camión to lorry vs. truck depending on en-GB vs. en-US?

comment 3y ago · link · parent

The Eiffel-inspired tower in Tokyo is painted orange to comply with air safety regulations [1]. The color always looked odd to me but I guess it’s not so different from the Eiffel in the past.

[1]: https://en.wikipedia.org/wiki/Tokyo_Tower

comment 3y ago · link · parent

This uses the /embeddings API endpoint that OpenAI released last year:

https://openai.com/blog/introducing-text-and-code-embeddings

comment 3y ago · link · parent

The iOS version of this article would be:

App settings that aren’t found in the app

comment 3y ago · link · parent

TIL: You can run scripts you write via the Script menu.

https://support.apple.com/guide/script-editor/access-scripts...

comment 3y ago · link · parent

I’m surprised/impressed by the quick turnaround between the original LK99 paper submitted on 22 Jul 2023 and this reproduction attempt submitted on 31 Jul 2023. Could there have been a pre-print of the original paper that allowed the reproduction attempt to begin earlier?

comment 3y ago · link · parent

The Baroque Cycle contains a fun digression describing the combinatorial logic behind this machine.

comment 3y ago · link · parent

What was your role in the trial? Was there anything from your experience that stood out as particularly surprising or interesting?

comment 3y ago · link · parent

Between this, Natural Earth, OpenStreetMap, USGS, and others, the availability of map data today would be stunning to early cartographers.

980.

An Invisible Line Has Always Run Through Indonesia. Scientists Finally Know Why(popularmechanics.com ↗)

4 points · by divbzero · 3y ago · discuss

981.

Paris to bring back swimming in Seine after 100 years(bbc.com ↗)

275 points · by divbzero · 3y ago · 228 comments

comment 3y ago · link · parent

Thank you for developing and offering the self-hosting capability. I use spreadsheets for my planning at the moment but self-hosting makes this a serious option.

comment 3y ago · link · parent

> the logo looks too much like the button you click to close your browser

… which is exactly what many us do now whenever we hit the paywall.

comment 3y ago · link · parent

OP will soon be ranking for the exact phrase he discusses.

(If we discuss “a comprehensive ecosystem of open-source software for big data management” enough, perhaps we can get this thread to rank too.)

comment 3y ago · link · parent

Thank you, that’s a clear explanation of the cause and 3D shape of jet streams.

986.

Humans are pumping out so much groundwater that it's changing Earth's tilt(space.com ↗)

9 points · by divbzero · 3y ago · discuss

comment 3y ago · link · parent

Nice, I didn’t pick up on that one. And I do have Caps Lock mapped to remapped to Escape haha.

If any vim enthusiasts haven’t read this history before, this article [1] provides a good overview of how ex/vi came to be. The photo of the Lear Siegler ADM-3A keyboard used by Bill Joy largely explains the odd choice of keys.

[1]: https://twobithistory.org/2018/08/05/where-vim-came-from.htm...

comment 3y ago · link · parent

I can see both points of view.

I’ve definitely been down the Vim config rabbit hole and struggled to find the right balance between “cool” (actively developed with newer features) vs. “best practice” (more mature and stable). My current approach is to search Hacker News comments for “vim plugin-feature-I-want” and the most popular comments usually point me in the right direction.

For what it’s worth, I use Neovim with ALE at the moment and it works just fine.

1
323334
99