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

The same applies to counting in other bases too. For instance, in 1-indexed counting grids for kids, the last column always feels out of place.

0-indexed decimal grid:

   0  1  2  3  4  5  6  7  8  9
  10 11 12 13 14 15 16 17 18 19
  20 21 22 23 24 25 26 27 28 29
  30 31 32 33 34 35 36 37 38 39
  40 41 42 43 44 45 46 47 48 49
  50 51 52 53 54 55 56 57 58 59
  60 61 62 63 64 65 66 67 68 69
  70 71 72 73 74 75 76 77 78 79
  80 81 82 83 84 85 86 87 88 89
  90 91 92 93 94 95 96 97 98 99
1-indexed decimal grid:

  1  2  3  4  5  6  7  8  9  10
 11 12 13 14 15 16 17 18 19  20
 21 22 23 24 25 26 27 28 29  30
 31 32 33 34 35 36 37 38 39  40
 41 42 43 44 45 46 47 48 49  50
 51 52 53 54 55 56 57 58 59  60
 61 62 63 64 65 66 67 68 69  70
 71 72 73 74 75 76 77 78 79  80
 81 82 83 84 85 86 87 88 89  90
 91 92 93 94 95 96 97 98 99 100

comment 4y ago · link · parent

Or alternatively:

  size_t i = length;
  while (i--) ...

comment 4y ago · link · parent

I was thinking that the website would be recursive in that

  cat welcome.htm
would have the same output as the webpage itself.

In reality welcome.htm [1] deviates from index.html [2] in a curious way.

[1]: https://github.com/rootvc/cli-website/blob/main/welcome.htm

[2]: https://github.com/rootvc/cli-website/blob/main/index.html

comment 4y ago · link · parent

My gut feeling is to create a separate key for signing but I’m not sure why. Is there downside to using the same SSH key for both signing and login?

comment 4y ago · link · parent

What is the benefit of signing a commit with a SSH key vs. a GPG key? Is it simply being able to use ssh-keygen instead of gpg?

comment 4y ago · link · parent

I like that photograph of kids playing soccer next to a ziggurat built thousands of years ago.

comment 4y ago · link · parent

Perhaps they can pivot to avian delivery of one-time passwords — turn the inability to access arbitrary destinations from a bug to a feature.

comment 4y ago · link · parent

I’ve tried PouchDB before but only on “toy” projects not deployed production. What challenges have there been with PouchDB or other offline-first techniques?

1269.

NASA reveals where it wants the next Americans to land on the moon(washingtonpost.com ↗)

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

comment 4y ago · link · parent

I won’t argue with “keep things simple” but if you’re ever forced to work with multiple inheritance in Python try inspecting:

  SomeBusinessyThing.__mro__
https://docs.python.org/3/library/stdtypes.html#class.__mro_...

comment 4y ago · link · parent

“12 different servers” and “minified JavaScript” were indeed workarounds for head-of-line blocking, but I think the GP’s main point is that “300 resources” and “2 megabytes” should not be required for displaying a web page.

comment 4y ago · link · parent

I recently initiated a transfer from a American Express Business Checking account to a business checking account at a different bank. The funds were deposited the same day which seemed way too fast to be ACH. Does anyone know how the funds could be transferred so quickly?

comment 4y ago · link · parent

Sunken caps for the number keys are a great idea. When touch typing I would have confidence I’m not over-reaching for F1 F2 F3 or under-reaching for QWERTY.

comment 4y ago · link · parent

I like Google Meet and Skype in large part because they have decent web clients with instant meetings without sign in [1] [2].

[1]: https://meet.google.com/

[2]: https://www.skype.com/en/free-conference-call/

comment 4y ago · link · parent

When I look at this I can’t help thinking that desktop UX reached its peak (or plateau?) three decades ago. What improvements have there been since System 6? Perhaps multiple desktops, tabs, and universal search (e.g. Spotlight) but those improvements feel more incremental than fundamental.

comment 4y ago · link · parent

Philip Jarmain captureed an echo of Detroit’s former opulence in a series of photographs titled American Beauty:

https://www.kostuikgallery.com/project/american-beauty/

comment 4y ago · link · parent

The Detroit Industry Murals reminded me of the Coit Tower Murals [1] which turns out to be more than mere coincidence: Several artists who worked at Coit Tower, including the project director Victor Arnautoff, had worked with or were otherwise inspired by Diego Rivera [2] [3].

[1]: https://argcs.com/portfolio-item/coit-tower-murals/

[2]: https://livingnewdeal.org/projects/coit-tower-arnautoff-mura...

[3]: http://www.coittower.org/artists/bios.html

comment 4y ago · link · parent

I didn’t realize Greg Maffei used to be CFO of Microsoft. He now leads part of John Malone’s empire of media and entertainment companies.

comment 4y ago · link · parent

Can Curiosity really claim the title of “loneliest robot in the universe”?

comment 4y ago · link · parent

Looks like 3D Touch survived 4 years, appearing in: [1]

– iPhone 6S

– iPhone 6S Plus

– iPhone 7

– iPhone 7 Plus

– iPhone 8

– iPhone 8 Plus

– iPhone X

– iPhone XS

– iPhone XS Max

The feature was discontinued with the release of iPhone 11. [2]

[1]: https://www.businessinsider.com/does-iphone-have-3d-touch

[2]: https://www.businessinsider.com/apple-discontinues-3d-touch-...

comment 4y ago · link · parent

This is a very interesting idea. In addition to calendar syncing via Google Calendar, it would be great to have calendar and task syncing via CalDAV and notes syncing via IMAP.

comment 4y ago · link · parent

Even if one party objectively spams more than others, personal observation could be biased by (a) how your email address has been passed around and (b) subjective assessment of what constitutes “spam”.

1283.

Apple seeks more control of vehicle software with CarPlay’s new features(marketplace.org ↗)

1 points · by divbzero · 4y ago · discuss

comment 4y ago · link · parent

DuckDuckGo still supports all of those developer tools:

https://duckduckgo.com/?q=base64+foo

https://duckduckgo.com/?q=ascii+table

https://duckduckgo.com/?q=qr+code+foo

https://duckduckgo.com/?q=color+picker

https://duckduckgo.com/?q=json+formatter

Along with the timer from OP:

https://duckduckgo.com/?q=6+minute+timer

comment 4y ago · link · parent

My hope that Microsoft’s professional oversight would be a healthy moderating influence has not panned out.

comment 4y ago · link · parent

Coincidentally, the same command can work for both Million [1] and Mithril [2]:

  m('div', {id: 'box'}, ['hello'])
[1]: https://millionjs.org/docs/api/basics/m

[2]: https://mithril.js.org/hyperscript.html

comment 4y ago · link · parent

I suppose they opt for really short TTLs for faster failover if needed?

comment 4y ago · link · parent

There is some precedence for post-publication edits. They are available for many ebooks [1] and have also occurred for prominent films [2].

[1]: https://www.thebookdesigner.com/updating-your-ebook-after-pu...

[2]: https://gizmodo.com/george-lucas-was-incredibly-specific-abo...

1
424344
99