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

Yes, it looks like Backblaze is part of that free bandwidth alliance. [1]

Thank you, I was not aware of this policy.

[1]: https://www.cloudflare.com/bandwidth-alliance/backblaze/

comment 5y ago · link · parent

One of my pet peeves with the HTML title attribute is that it requires “hover and wait” to view the content as a tooltip. MDN [1] links to a wonderful guide [2] on how to avoid tooltips whenever possible and make them accessible if needed. For some reason, the accessible tooltips require custom implementation and is not the default browser behavior for the title attribute.

[1]: https://developer.mozilla.org/docs/Web/HTML/Global_attribute...

[2]: https://inclusive-components.design/tooltips-toggletips/

comment 5y ago · link · parent

The market cap multiplied 100X, but whether the company is actually worth 100X is a different question.

comment 5y ago · link · parent

Just remember to let the phone dry fully before charging (unless you’re charging wirelessly of course). Moisture while charging gradually damages both cable and port.

comment 5y ago · link · parent

Dogecoin must be priciest joke in history.

comment 5y ago · link · parent

> Every recorded song has two copyrights—one for the songwriting (the melody and lyrics) and another for the sound recording itself (the “master” recording). Songwriters and publishers, who are separate from record labels, own the songwriting copyright, earning royalties on sales, streams, performances (radio, live) and the song’s use in television, films and videogames. Labels historically have owned the sound-recording copyright, in exchange for taking the financial risk to develop performers.

The software analogy would be source code = melody and lyrics and compiled/deployed software = sound recording, but the analogy doesn’t hold in that it’s easier to replicate compiled/deployed software from its source code.

comment 5y ago · link · parent

These are fast!

Noticeably faster than the default JavaScript DDG.

comment 5y ago · link · parent

Perhaps it’s no coincidence both examples involve the navigation system? Makes it easier to flash an alert and return the driver’s attention to the road.

comment 5y ago · link · parent

Hop on Pop is also a good one, great for learning phonemes.

comment 5y ago · link · parent

> I really enjoyed her talk at lambda world, “A categorical view of computational effects” [1]

[1]: https://www.youtube.com/watch?v=Ssx2_JKpB3U

comment 5y ago · link · parent

It might be less subjective than you think. I suspect there are commonalities in how we perceive color palettes, analogous to commonalities in how we perceive musical chords. There are certain color palettes and musical chords that tend to be perceived as more pleasant.

Furthermore, I don’t think everyone shares your ability to pick harmonious color combinations. It must be a skill that you happen to be good at.

comment 5y ago · link · parent

Yes indeed. I’ve seen HN comments that pretend to be serious until the end when you realize it was parody. This comment accomplished the reverse.

comment 5y ago · link · parent

> I'm not afraid of binary protocols as long as there is tooling to interact with the data.

I agree with this premise but would also note how long it takes for such tooling to become widespread. Even UTF-8 took awhile to become universal — I recall fiddling with it on the command line as recently as Windows 7 (code page 1252 and the like).

comment 5y ago · link · parent

Yes! Maybe centered on an up quark in a proton of a carbon atom in the DNA in the nucleus of a brain cell.

comment 5y ago · link · parent

The lower bound on this map’s logarithmic scale is ~1000 km. I’d love to see it extended down to the Planck length.

2146.

Boeing 757 bound for Seattle makes emergency landing(seattletimes.com ↗)

10 points · by divbzero · 5y ago · 9 comments

comment 5y ago · link · parent

… or at least once every 26 months or so. [1]

[1]: https://en.wikipedia.org/wiki/Exploration_of_Mars#Launch_win...

We sent 3 separate spacecraft to Mars during the most recent launch window. We’ll see how we do next time around.

comment 5y ago · link · parent

The straightforward captions are also delightful:

> The aircraft seen in flight

> The engine inlet in a garden

> Engine debris on the Broomfield soccer field

comment 5y ago · link · parent

It’s cool how rocks on Venus, Mars, and Titan are all quite recognizable. You could easily imagine those photos being taken somewhere on Earth.

2150.

A global environmental crisis 42,000 years ago(science.sciencemag.org ↗)

29 points · by divbzero · 5y ago · 6 comments

comment 5y ago · link · parent

The biggest difference is that Falcon is synchronous while Sanic is asynchronous. With Sanic, you would explicitly specify async/await for asynchronous operations and use asynchronous libraries for I/O. Switching to Sanic could also affect how you deploy to production. Both are plenty fast.

FastAPI [1] is also worth considering if you’re looking into asynchronous API frameworks. It comes with nice features for specifying API schemas.

[1]: https://fastapi.tiangolo.com/

comment 5y ago · link · parent

> I have great experiences with Falcon

Then keep using Falcon! OP’s core thesis is that developer comfort matters more when choosing an API framework because the performance bottleneck is usually found elsewhere. The API itself should be fast enough with some combination of Gunicorn, gevent, PyPy, and horizontal scaling.

comment 5y ago · link · parent

I increasingly lean towards plain SQL over ORMs. It requires greater familiarity with SQL but I prefer that over greater familiarity with ORM-specific syntax that doesn’t translate across frameworks or languages. In addition, you can prototype new queries and profile existing queries in the database and copy-paste directly into your code.

comment 5y ago · link · parent

> When you've got everyone's rifle connected to a network you can know who's having a bad day and have help on the way in case they ask.

This is the one (maybe) plausible use case I’ve seen in the thread so far.

I’m still skeptical though given how fast technologies can change. A gun maintained well can work fine 50 years later. Will Wi-Fi or Bluetooth still work the same 50 years from now?

Speed of change is also why luxury electronics is very different from traditional luxury accessories. How long is the useful lifetime for a gift of a Vertu smartphone [1] or an Apple Watch Hermès [2]?

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

[2]: https://www.apple.com/apple-watch-hermes/

comment 5y ago · link · parent

Bluetooth sync? Check.

Remote operation? Check.

Accidental swipe? Oops.

1
717273
99