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

OP attempted this using Python.

What would be the fastest way using *nix commands? A naive solution would be something like:

  echo -n password | sha1sum | cut -d ' ' -f 1 | xargs -I hash grep hash pwned.txt

comment 3y ago · link · parent

I believe the parent is referring to Sigma-Aldrich?

Here is an example of their search results:

https://www.sigmaaldrich.com/US/en/search/edta

1083.

A Georgia company grew the grass for the World Cup–and then flew it to Qatar(qz.com ↗)

3 points · by divbzero · 3y ago · discuss

comment 3y ago · link · parent

The article characterizes the Web Share API as “Poorly supported” but it’s actually not that far behind the others in terms of % global usage:

      Page Visibility API  98%
            Web Share API  90%
    Broadcast Channel API  93%
 Internationalization API  98%

comment 3y ago · link · parent

Yes, GOV.UK walks the walk: far more consistent than .GOV in the States.

UK

– 10 Downing Street https://www.gov.uk/government/organisations/prime-ministers-...

– HM Treasury https://www.gov.uk/government/organisations/hm-treasury

– Department for Education https://www.gov.uk/government/organisations/department-for-e...

US

– White House https://www.whitehouse.gov/

– Department of the Treasury https://home.treasury.gov/

– Department of Education https://www.ed.gov/

comment 3y ago · link · parent

This makes me wonder: Did Dutch financiers in 1648 grasp the concepts of net present value and convergence of infinite series? Or was the price of perpetuities simply set by market demand?

comment 4y ago · link · parent

Reminds me of this Bay Area incident from 2013 that has never been explained publicly:

https://www.wsj.com/articles/SB10001424052702304851104579359...

comment 4y ago · link · parent

People also brag about about listening to audiobooks, podcasts, or video lectures at high speed. As for me, I stick to ¼× or less for the highest quality stuff.

1089.

Chaturanga(en.wikipedia.org ↗)

2 points · by divbzero · 4y ago · discuss

comment 4y ago · link · parent

There are limited cases such as ChromeOS or iPadOS where Puter could be more flexible than the host OS.

1091.

Nature Conservancy buys insurance for Hawaii’s coral reefs(nytimes.com ↗)

1 points · by divbzero · 4y ago · discuss

1092.

Two volcanoes erupt simultaneously in Hawaii for first time in decades(cbsnews.com ↗)

1 points · by divbzero · 4y ago · discuss

comment 4y ago · link · parent

Long Term Capital Management [1] is a good example of a company with “good, but illiquid investments” that failed because they made trades that went the wrong way temporarily, ran out of margin, and had to be rescued with a bailout before the trades recovered. Market prices stabilized after the bailout and the rescuers eventually exited the trades with a small profit.

I agree with your assessment that Alameda / FTX put customer deposits into “completely inappropriate investments” but there is a bit of a judgment call involved. Crypto fanatics could argue that the market will bounce back and those investments will be successful in the end.

[1]: https://en.wikipedia.org/wiki/Long-Term_Capital_Management

comment 4y ago · link · parent

> Who was on the other side of these losing trades? People need to follow the money trail. Where did the money go?

There doesn’t have to be another side to the losses. If Alameda / FTX was holding assets that depreciate in value, they would book losses along with everyone else holding the same assets.

1095.

USGS Mauna Loa Volcano Updates(usgs.gov ↗)

1 points · by divbzero · 4y ago · discuss

1096.

China just announced a new social credit law(technologyreview.com ↗)

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

comment 4y ago · link · parent

… and ignored by most humans just as robots.txt is ignored by most robots.

comment 4y ago · link · parent

2 of 5 FAANG companies appear to implement humans.txt.

F: n/a

A: n/a

A: n/a

N: https://www.netflix.com/humans.txt

    |\  |\   |                                                       |   /|  /|
    |\  |\   |    +---------------------------------------------+    |   /|  /|
    |\  |\   |    |               .                             |    |   /|  /|
    |\  |\   |    |   *              _  _  _                    |    |   /|  /|
    |\  |\   |    |            |\ | |_  | |_ |  | \/      *     |    |   /|  /|
    |\  |\   |    |            | \| |_  | |  |_ | /\            |    |   /|  /|
    |\  |\   |    |       .                                     |    |   /|  /|
    |\  |\   |    |                                .            |    |   /|  /|
    |\  |\   |    |  .          .     STARRING           .      |    |   /|  /|
    |\  |\   |    |                                             |    |   /|  /|
    |\  |\   |    |         An all-star cast of talented        |    |   /|  /|
    |\  |\   |    |             designers & engineers           |    |   /|  /|
    |\  |\   |    |                                         *   |    |   /|  /|
    |\  |\   |    |    *                                        |    |   /|  /|
    |\  |\   |    |                   JOIN US!        .         |    |   /|  /|
    |\  |\   |    |         .                                   |    |   /|  /|
    |\  |\   |    |               jobs.netflix.com         .    |    |   /|  /|
    |\  |\   |    |     .                              .        |    |   /|  /|
    |\  |\   |    |                                             |    |   /|  /|
    |\  |\   |    +---------------------------------------------+    |   /|  /|
    |\  |\   |                                                       |   /|  /|
    |\  |\   |=======================================================|   /|  /|
    |\  |\__/                                                         \__/|  /|
    |__/         _                                                         \__|
    |          _[_]_   88     _      _              o     _      (_)          |
                ( )  s(  )s  ( ) /  ( )            -#-   ( )    =()
              .----. .----. .----. .----. .----. .----. .----. .----.
              |    | |    | |    | |    | |    | |    | |    | |    |
             _      _            __     _             __     _      _
            { }    [ ]          q  p  <( )>          (  )  ~( )~   ( )
          .----. .----. .----. .----. .----. .----. .----. .----. .----.
          |    | |    | |    | |    | |    | |    | |    | |    | |    |
G: https://www.google.com/humans.txt

  Google is built by a large team of engineers, designers, researchers, robots, and others in many different sites across the globe. It is updated continuously, and built with more tools and technologies than we can shake a stick at. If you'd like to help us out, see careers.google.com.

comment 4y ago · link · parent

Seems like nginx should update its default settings. Can’t think of a reason to not make keepalive the default.

comment 4y ago · link · parent

Instead of commenting on the author, perhaps we could share an example of the appropriate nginx config:

  upstream http_backend {
      server 127.0.0.1:8080;
  
      keepalive 16;
  }
  
  server {
      ...
  
      location /http/ {
          proxy_pass http://http_backend;
          proxy_http_version 1.1;
          proxy_set_header Connection "";
          ...
      }
  }
https://nginx.org/en/docs/http/ngx_http_upstream_module.html...

comment 4y ago · link · parent

Mastodon docs provide a guide to running an instance:

https://docs.joinmastodon.org/admin/prerequisites/

(I don’t run one myself so would be curious if any admins have tips or suggestions.)

comment 4y ago · link · parent

Very cool project but I wish they had named it Manganese. Certain isotopes of chromium undergo beta decay Cr → Mn + e⁻ so it would have been a propos for the two derivatives of Chromium to be Manganese and Electron.

comment 4y ago · link · parent

I like this a lot in principle but would add two notes about doing this in practice:

1. Promote self-documentation as much as possible—e.g. meeting notes typed straight into Google Doc, discussions typed straight into Slack, issues typed straight into GitHub, comments typed straight into code—so you’re documenting as you go in a way that’s automatically archived and searchable for future reference. There are times when separate out-of-band documentation is appropriate, but that takes extra effort and can get out-of-date more easily.

2. Promote an it’s still okay to ask culture in parallel with the high-documentation culture. Asking questions in Slack can be a shortcut to finding the right document or finding out something is yet undocumented, and should be encouraged especially if the asker has already done a quick search without locating the needed information.

comment 4y ago · link · parent

GitHub wikis or something similar can work well as an in-between option: edit in browser or git clone, whichever is easier in your context.

https://github.blog/2011-01-17-git-powered-wikis-improved/

comment 4y ago · link · parent

> Pure HTML / CSS / vanilla JS sites. It's a shame that it's turned into a niche scene, but I'm always a fan of inspecting sites that don't bloat themselves with unnecessary frameworks.

To expand on this, I like thinking about how standard browser APIs can act as the framework without using third-party libraries. An early example was document.querySelectorAll obviating the need for jQuery’s wonderful $. More recently, I’ve waited eagerly for Web Components to come into their prime, which has been just a year or two away for a decade now.

comment 4y ago · link · parent

This kind of bug is unacceptable for a supposedly private cloud service. I wonder how long the bug has been around and whether it is at all related to the recent roll out of iCloud Shared Photo Library.

https://support.apple.com/guide/icloud-windows/use-icloud-sh...

comment 4y ago · link · parent

Interesting, the missing SVGStyleElement.sheet must be a Safari bug not captured by MDN’s compatibility chart? Your workaround of finding the sheet in document.styleSheets is clever and seems to work.

comment 4y ago · link · parent

How about Wales?

Apparently, Wales was formally a part of the Kingdom of England in 1707 when the Kingdom of England and the Kingdom of Scotland combined to form the Kingdom of Great Britain. The subsequent union with the Kingdom of Ireland in 1801 created the United Kingdom of Great Britain and Ireland.

https://en.wikipedia.org/wiki/United_Kingdom

1
363738
99