HN user

zachrose

2,837 karma
Posts73
Comments903
View on HN
news.ycombinator.com 3y ago

Ask HN: Why does this 90-degree USB adapter have a chip in it?

zachrose
3pts2
news.ycombinator.com 5y ago

Ask HN: Documenting Design Regrets?

zachrose
1pts0
news.ycombinator.com 5y ago

Ask HN: How's the Kickstarter Union Going?

zachrose
58pts21
www.medicinanarrativa.eu 5y ago

Seven Essential Messages in the Time of Coronavirus

zachrose
1pts0
alt-text-as-poetry.net 5y ago

Alt-Text as Poetry

zachrose
26pts3
classes.dma.ucla.edu 6y ago

The Great Gizmo (1963) [pdf]

zachrose
12pts1
news.ycombinator.com 6y ago

Ask HN: “Year zero” for CS students? Use a terminal, etc

zachrose
51pts12
avant.org 6y ago

Math and Mysticism (2017)

zachrose
2pts0
leiterreports.typepad.com 8y ago

The Internet and the crisis of epistemic authority

zachrose
2pts0
classes.dma.ucla.edu 9y ago

The Great Gizmo (1963) [pdf]

zachrose
1pts0
www.washingtonpost.com 9y ago

Antarctica is starting to turn green

zachrose
2pts0
ephemeralpg.org 9y ago

Pg_tmp(1) Run tests on an isolated, temporary PostgreSQL database

zachrose
3pts0
www.nytimes.com 9y ago

North Korea’s Missile Launches Were Failing Too Often

zachrose
138pts95
medium.com 9y ago

We’re a tech company that makes suits so of course we published a hardcover book

zachrose
2pts0
news.ycombinator.com 9y ago

Ask HN: Large scale mapping of JavaScript in the wild?

zachrose
1pts3
www.slate.com 9y ago

Sheryl Sandberg Advises Managers to Ask Employees About Pregnancy (2013)

zachrose
10pts0
stm-udlap.blogspot.com 10y ago

High School Student Builds Scanning Tunneling Microscope (2009)

zachrose
2pts0
wiki.theory.org 10y ago

Reasons why your programming language sucks

zachrose
1pts0
jowett.web.cern.ch 10y ago

Umberto Eco on Macintosh vs. DOS

zachrose
2pts0
www.matthewstadler.org 10y ago

The Internet lacks closure

zachrose
1pts0
www.theageofmammals.com 10y ago

Burgers (2012)

zachrose
1pts0
www.youtube.com 10y ago

Capability vs. Suitability (2012)

zachrose
2pts0
phys.org 10y ago

Functioning 'mechanical gears' seen in nature for the first time (2013)

zachrose
31pts10
world.std.com 10y ago

Perl and Linguistics (1995)

zachrose
3pts1
www.theguardian.com 10y ago

Edward Snowden: we may never spot space aliens thanks to encryption

zachrose
3pts1
www.spectacle.org 10y ago

Is Software Art or Engineering? (1999)

zachrose
24pts43
www.courts.ca.gov 11y ago

California Ruling on LAPD License Plate Readers [pdf]

zachrose
2pts0
news.ycombinator.com 11y ago

Ask HN: Extreme office computer setups?

zachrose
1pts1
solarsystem.nasa.gov 11y ago

Pluto Time

zachrose
1pts0
en.wikipedia.org 11y ago

Communication with Submarines

zachrose
2pts0
Ruby 3.4.0 2 years ago

Does `it` conflict with Rspec's `it`? Surely they've thought of this, but to my eye it looks like it would get confusing.

My read of Albion’s Seed and American Nations is that they’re more about how a regional culture was germinated and founded, under the idea that the culture (including legal and economic systems) is even more durable than a specific group. So it’s not exactly connected to current demographics.

Applying Albion’s Seed to California misses out on Spanish missionary culture and the shipping merchants who came from New York City, which does not have the same puritan roots as New England.

American Nations is a more recent book that describes more of the United States, though with less depth.

Reading that the GBC standard specifies 1 ball per second, it’s fun to imagine a module that puts 1,000 balls in slow moving storage, taking 15 minutes to warm up and cool down

Software galaxies 2 years ago

Perhaps it's the versioning? Like in the way that libraries for Elm 0.18 are often (mostly? always?) incompatible with 0.19.

(N.B. 0.19 has been the latest version for almost six years.)

I think it has to do with what you’re considering as artwork! There’s a traditional distinction between “fine arts” and “applied arts.”

Fine art, like painting, is almost definitionally not supposed to be touched.

Applied arts include fibers (knitting, weaving), ceramics, jewelry and metalwork, etc. Stuff that’s meant to be pleasing and functional.

Whether something should be touched is almost _the thing_ that moves a field from one category to the other.

Applied artists, and their product designer cousins, will spend a lot of time exploring and pursuing tactile qualities.

I've been happily hacking on my Ikea Bekant for three years. I replaced the top, replaced the buttons with a double throw rocker switch (1), built a Mac Mini/laptop shelf on the back half, a KVM switch on a little shelf in the front.

Cable management isn't horrible but there's a lot of room for improvement. I'd like to replace all the AC adapters with one big one that can supply everything.

I've built some outlandish and unsatisfying desks in the past, the gradual approach has been better.

1. This is unsafe for children, as they might figure out a way to flip the switch and crush themselves. Please take this consideration into account.

Sometimes they work together! I submitted an email receipt and it kept getting rejected because Concur only shows the first page of a multi-page PDF unless you go through some very non-obvious navigation to see the whole thing.

About the same amount of land.

In North America alone, 30,000 square kilometers for all oil and gas[0].

For a rough approximation, the US produced 14% of oil in the world in 2021[1] and this guy on Quora[2] says that 12% of the world's oil and gas goes into aviation fuel.

[0] https://www.science.org/content/article/thirty-thousand-squa...

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

[2] https://www.quora.com/What-percentage-of-the-world-s-crude-o...

There are two options for doing things in JavaScript: 1) do it now, or 2) start it now and get back to me when you're done.

JavaScript makes (1) the default. For any kind of object access (dog.legs[1].paw), assignment (const q = 5), math (Math.floor(4.2)), or DOM access in a browser (document.write('yay')), the interpreter will run each statement in sequence, completing each one before running the next.

Historically, the way ask the interpreter to "get back to me when you're done" was to use the "callback pattern," which was little more than passing in a function:

  setTimeout(4000, () => console.log('second'));
  setTimeout(5000, () => console.log('third'));
  setTimeout(3000, () => console.log('first'));
When it came time to construct sequential-looking programs that involved lots of these calls, things could quickly get messy:
  http.get(catalogUrl, (err, catalog) => {
    if(err) {
      handleError(err);
    }
    http.get(catalog.products[0].url, (err2, product) => {
      if(err) {
        handleError(err);
      }
      document.write(product.name);
    });
  });
Promises flipped this callback style into an object. Async/await morphed those promise objects and methods into language syntax that looks like one thing happening after another:
  catalog = await fetch(catalogUrl).catch(handleError)
  product = await fetch(catalog.products[0].url).catch(handleError)
  document.write(product.name)
If the original question were "why are some APIs async and some not?" the answer would be: "JavaScript engine authors (web browsers, node) have decided that some things like network access are inherently too slow to pretend they happen instantly, and waiting on them would mean that the UI would have to become unresponsive, which would make users think something is broken. Other APIs like DOM access are fast enough to get away with freezing the UI and nobody notices."

But the question was, "why can't you call an async function from a synchronous (non-async) function?" The answer there is more like, "Because synchronous functions are expected to return a result without waiting, and if you could call an async function but pretend you didn't, there's not a good solution for what should happen in composition with other non-async functions. Would you proceed without having a result? Would you force a wait anyways? None of those are acceptable answers because they break the model of 1) some things are nearly instantaneous and 2) some things take longer. We still need a mechanism to work with things that take a long or unknown amount of time, without making the UI freeze."

As lolinder points out in a sibling comment, this decision to split things into 1) fast and 2) not fast was ultimately a semantic decision of JavaScript engine/API designers. The downside of this decision is that it takes programmers some time to be comfortable with the unintuitive model. The upside is that it enables programs to be written by (fallible, mortal) programmers and not freeze up all the time.

You’re really on to something here about systems thinking and the relative power of tools. I feel similarly about big IDEs and stateful, long-running test runners.

How about a meta-analysis of several studies?

Respiratory function in patients post-infection by COVID-19: a systematic review and meta-analysis

DOI: 10.1016/j.pulmoe.2020.10.013

[dead] 5 years ago

Have I got this right? 8 K (8°C) is terrifying, but 1,200 ppm is almost 3x where we are now.

Because not everything is a reliable business? Sometimes it’s nice to make something for fun or practical.

I teach front end web development to a total beginner who is only just becoming aware that programming a web app with persistent state shared amongst users requires separate technologies than HTML/CSS/JS. The table API could be ideal for her. The alternatives: shared hosting with PHP/MySQL, anything AWS, or even Google Sheets/Airtable are all much bigger cans of worms that just slow down her cycle of getting things out there and learning the whole of the SLDC.

In that case, in 2002, a man named Larry Hope sued Alabama prison officials for chaining him, shirtless, to a hitching post designed for livestock. For seven hours in the hot Southern sun, Hope had minimal water and no bathroom breaks. At one point, Hope alleged, a guard taunted him by giving water to the dogs from the prison’s K-9 unit. When Hope conceded he was thirsty enough that he would drink it after the dogs, the guard kicked it over so it spilled onto the ground.

Wild that Justices Thomas, Rehnquist and Scalia dissented with the court, finding that the hitching post was not obviously cruel.

https://en.wikipedia.org/wiki/Hope_v._Pelzer#Dissenting_opin...