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

It’s really cool to observe, e.g. placing white stems of scallions in water and seeing green leaves materialize within days. The underlying biochemistry is fascinating too. [1]

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

comment 6y ago · link · parent

Yes, something like (CH2O)n + n O2 → n H2O + n CO2 for sugars and analogous for fats and proteins.

comment 6y ago · link · parent

> It’s not exactly hard to write some simple code from scratch to read the input files, pass them through various parsers, templates, processors, and write out the result.

I think this is it exactly. You could roll your own if you wanted and package it as a library without too much difficulty and I haven’t found compelling reasons why any one static generator is superior to another. It seems to come down to which generators are supported by default by your hosting service, or your language of preference if you’re building custom extensions.

comment 6y ago · link · parent

“Only load the CSS you need” is the piece I don’t have a go-to tool for. Coverage in Chrome DevTools provides a quick but manual way to identify above-the-fold CSS. Critical, criticalCSS, and Penthouse all look like good options for a build process. [1] [2]

[1]: https://web.dev/defer-non-critical-css/

[2]: https://web.dev/extract-critical-css/

comment 6y ago · link · parent

It’s hard to tell from the comments here, but the author actually ends her article on a hopeful note and offers concrete proposals on how we could fix the shortcomings of Web Components and fulfill its promise:

– No dependencies beyond one <script> tag

– Syntax and API in line with conventions of built-in HTML elements

– Accessible by default via ARIA

– Themeable via ::part(), selective inheritance, and custom properties

– Only one component of each type in the directory

Which proposals would be beneficial is up for debate (esp. the last one IMO) but they’re worth highlighting and discussing.

comment 6y ago · link · parent

> This article is tailored to attract the web components haters. IMO it does not foster a constructive thread of discussion, and some of the critique just as easily applies to the JavaScript ecosystem overall.

I think you missed reading to the very end! She concludes on a hopeful note that we can do a better job with Web Components, with a few specific proposals on what a better future could hold.

comment 6y ago · link · parent

The severance appears respectable to me given the circumstances. It’s on par with many layoff packages and more generous than the ongoing “pay to quit” program from Zappos and Amazon. [1]

[1]: https://www.cnbc.com/2018/05/21/why-amazon-pays-employees-50...

The extended window for exercising options is something I haven’t encountered before. I’d be curious to hear if others have seen it offered elsewhere.

comment 6y ago · link · parent

> customisation isn't exactly a new phenomenon

Another classic example: https://skins.webamp.org/

comment 6y ago · link · parent

It also removes context menus from app icons, reduced functionality on top of slower launch time.

2380.

COVID-19 basic reproduction number and estimation from early-time SIR dynamics(journals.plos.org ↗)

2 points · by divbzero · 6y ago · discuss

comment 6y ago · link · parent

A DuckDuckGo feature I’d love to see is for multiple bangs to open new browser tabs, e.g.

  hoverboard !as !gs !target !walmart
would open separate tabs of “hoverboard” results from Amazon Smile, Google Shopping, Target.com, and Walmart.com.

comment 6y ago · link · parent

Looks like at the moment he simply lets them drop:

  $ dig -t MX bar.com +short
  $

comment 6y ago · link · parent

What I’m curious to learn is which mail server he uses to handle the influx of emails to foo@bar.com…

comment 6y ago · link · parent

Love seeing the triple release. PyPy has come a long way on Python 3 since Py3k [1] and Fulcrum [2] and great to see a non-EOL Python 2 out in the wild.

[1]: https://morepypy.blogspot.com/2012/01/py3k-and-numpy-first-s...

[2]: https://morepypy.blogspot.com/2014/06/pypy3-231-fulcrum.html

comment 6y ago · link · parent

Setting aside CO₂ concerns for a moment, I was explaining cement to a young child today and was suddenly struck by how marvelous cement is: It’s poured as a liquid yet solidifies into rock, and has been known since ancient times [1].

[1]: https://en.wikipedia.org/wiki/Cement#History

comment 6y ago · link · parent

GitHub Actions provide another option for testing against macOS: See action-tmate [1] and fastmac [2] for reference, as well as previous discussion on HN [3].

[1]: https://github.com/mxschmitt/action-tmate

[2]: https://github.com/fastai/fastmac

[3]: https://news.ycombinator.com/item?id=24452384

comment 6y ago · link · parent

It sounds like “gigantic steel, concrete, plastic and glass structures aren’t just going to dissolve” really depends on timescale, and geologic timescales are far beyond our typical experience.

From the Atlantic article by one of the authors: [1] [2]

When it comes to direct evidence of an industrial civilization—things like cities, factories, and roads—the geologic record doesn’t go back past what’s called the Quaternary period 2.6 million years ago. For example, the oldest large-scale stretch of ancient surface lies in the Negev Desert. It’s “just” 1.8 million years old—older surfaces are mostly visible in cross section via something like a cliff face or rock cuts. Go back much further than the Quaternary, and everything has been turned over and crushed to dust.

[1]: https://www.theatlantic.com/science/archive/2018/04/are-we-e...

[2]: https://news.ycombinator.com/item?id=24601382

comment 6y ago · link · parent

Thanks for correcting my error. Stupid “smart” dashes on my phone.

comment 6y ago · link · parent

Another quick visualization method built into Git:

  git log —-graph —-oneline —-decorate

  # —-graph for the visualization
  # —-oneline for compact commits
  # —-decorate for tag and branch refs
You can also add:

  # —-all to include all branches
I typically add aliases to ~/.gitconfig to use these options by default.

2390.

Pinterest beat back vaccine misinformation(statnews.com ↗)

1 points · by divbzero · 6y ago · discuss

comment 6y ago · link · parent

I kept thinking this too. Cow movement seems to be a very thoroughly solved problem. Would love to hear if other ranchers think otherwise.

comment 6y ago · link · parent

I sympathize with situations like this.

If anyone reading is in a similar boat, asking for positive written feedback from the teams you work with and including that in your performance review is one way to get recognized for high impact low visibility work. It sucks that you have to go out of your way to gain recognition and it won’t always work but that can be how it is in large companies.

comment 6y ago · link · parent

Does IPv6 reduce the feasibility of full Web port scans? If so that to me would be a compelling reason to use IPv6 beyond “it’s the right thing to do”.
1
798081
99