Better HN
topnewbestaskshowjobs
Log inSign up

arthurdenture

317 karma · joined Jan 15, 2011 (15y ago) · 56 submissions

Submissions

comment 11mo ago · link · parent

This is way more pleasant than the kazoo version by famous children's author Sandra Boynton. https://www.youtube.com/watch?v=U14IBek-wNU

2.

MCP Joins the Agentic AI Foundation(blog.modelcontextprotocol.io ↗)

28 points · by arthurdenture · 11mo ago · 3 comments

comment 1y ago · link · parent

There's also a Youtuber who did this type of journey from San Francisco to Seattle (https://www.youtube.com/watch?v=7OQwA95sMbg) and to Los Angeles (https://www.youtube.com/watch?v=S-Jdfkuy9Ik).

4.

Feasibility of SpaceX's human exploration Mars mission scenario(nature.com ↗)

3 points · by arthurdenture · 2y ago · 6 comments

comment 2y ago · link · parent

> Something that surprised me is that [1] is of a minor key, but the solfege marks are for the relative major

Major and minor keys use the same shapes / solfege system. The major scale is "fa, so, la, fa, so, la, mi, fa", while the minor scale uses the same syllables but starts on la. This means that the shapes always represent the same intervals (i.e. pattern of whole and half steps) whether a song is in a major or minor. It's hard to describe but makes sense when singing.

comment 2y ago · link · parent

One limitation is that the shapes are really only useful for singing, not for instrumental music. They also would not be meaningful for music that switches keys or that isn't tonal (i.e. isn't in a particular key at all). So they are a very good fit for what you might think of as "church music" (at least written before the 20th century), but for other settings they would be either meaningless or a hindrance.

That's one reason shape notation never caught on; another reason is that the notation was introduced by publishers of American sacred music and not by, say, music conservatories.

7.

The likelihood of unilateral solar geoengineering(climate.benjames.io ↗)

110 points · by arthurdenture · 2y ago · 121 comments

comment 2y ago · link · parent

Is it possible that many of those uses predate the current zoning? There are numerous buildings in Chicago that would not be permitted by their current zoning.

comment 2y ago · link · parent

I asked imagen 2 to generate a transparent product icon image, and it generated an actual grey and white square pattern as the background of the image... https://imgur.com/a/KA2yWHp

comment 4y ago · link · parent

Extremely useful .gitconfig snippet:

  [alias]
   git = !sl
catches e.g. `git git status`, which I run shockingly often.

comment 5y ago · link · parent

That was the case many years ago (extremely customized perforce server), but after that there was a full rewrite as a distributed system built on Bigtable etc. - https://cacm.acm.org/magazines/2016/7/204032-why-google-stor... is an overview. It wasn't a ship-of-Theseus type situation where they incrementally replaced components.

comment 6y ago · link · parent

You're comparing regional rail terminal stations, which serve many lower-frequency lines, to subway platforms, which typically serve a single higher-frequency line. (2-10 minutes between trains.) That's the scenario where a mezzanine is less useful.

comment 6y ago · link · parent

I completely agree with the more general point, that consuming external data requires a validation layer. But oh boy do I have feelings about class-validator.

Here's what it looks like to correctly annotate an array of objects with with class-validator and json-schema annotations:

  @ApiProperty({ type: Foo, isArray: true })
  @ValidateNested({ each: true })
  @Type(() => Foo)
  @IsArray()
  items: Foo[];
It's not just that you have to define everything in triplicate, it's that the failure mode for forgetting any of the above is to silently not validate your data. Unless you're very careful, you don't get the safety benefits that were the whole point of using class-validator in the first place.

If I were starting from scratch, I would instead consider either io-ts or a solution that involves a code generation step, where this entire category of risk is avoided.

comment 7y ago · link · parent

The alternative would be to write a side effect inside your `render()` function, which is illegal -- it breaks the new Concurrent mode rendering, which can call render() speculatively.

I mean, I see why it's intuitively unappealing to you, but there are perfectly good reasons for the design.

comment 7y ago · link · parent

Interactions can be extremely negative without making the news.

16.

Solar farm has to switch off every second day due to negative prices(reneweconomy.com.au ↗)

158 points · by arthurdenture · 7y ago · 184 comments

comment 7y ago · link · parent

That is very good to hear. I've used Emacs for a decade, but I recently switched to VS Code because JSX support in Emacs was such a mess.

comment 7y ago · link · parent

That's great as long as the insurance company deigns to cover you. Before the ACA, that was not guaranteed.

comment 7y ago · link · parent

For instance, the polonaise attributed to Kosciuszko might have been composed by someone else. Wikipedia reports the composition as fact, but https://polishmusic.usc.edu/research/dances/polonaise/ suggests otherwise.

comment 7y ago · link · parent

Heh, be thankful you figured out the problem before taking it in for hardware repairs: https://9to5mac.com/2019/06/11/macbook-pro-problem/

comment 7y ago · link · parent

Origin: https://tinyletter.com/data-is-plural

comment 7y ago · link · parent

lit-html is context-aware and safe, just like JSX. It's not a raw string templating library.

https://lit-html.polymer-project.org/guide/template-referenc...

comment 7y ago · link · parent

+1 to freetaxusa. I started using them a decade ago when I first had to file taxes, and I've been pleasantly surprised that they have remained a good choice this whole time. The product doesn't even feel like it has changed much (other than the never-ending tax law changes) over the years, which is a rarity for web-based products. It just does what it needs to do.

24.

Xkcd: how to: absurd scientific advice for common real-world problems(xkcd.com ↗)

3 points · by arthurdenture · 7y ago · discuss

comment 7y ago · link · parent

Eb is probably disproportionately popular due to the common practice of tuning guitars down a half step, making Eb instead of E the natural/easy root chord.

I'm not sure why F would be more popular than D and A. One hypothesis would be that it has fewer accidentals; it's not a fun key for guitars, but many contemporary pop songs aren't guitar-driven anyway.

comment 7y ago · link · parent

No, if the majority of drivers want to drive faster than 35mph, the road is badly designed. It needs traffic calming devices, such as narrower lanes, curb extensions, and, yes, raised crosswalks. Enforcement (including automated enforcement) is a useful tool, but the start should be designing the road so that drivers naturally go at a safe speed.

27.

The Indie Game Post-Apocalypse(goldenkronehotel.com ↗)

1 points · by arthurdenture · 8y ago · discuss

comment 8y ago · link · parent

Similarly, overly elaborate test code can itself be buggy. A specific instance of this anti-pattern is when the test code duplicates the same logic as the code under test, logic which turns out to be incorrect.

In test code, I am a lot more tolerant of straight-line repetition in the name of simplicity, in a manner that would be worth abstracting were it in non-test-code.

comment 8y ago · link · parent

As someone with prosopagnosia, I definitely rely on cues like hair. (It works until someone gets a haircut or changes their facial hair.)

There used to be a great face blindness test online where it first showed you a bunch of full pictures of heads to memorize, then for the quiz it showed cutouts of just the face. I had no idea that I was relying on all these non-face features until they were dramatically removed for that test. (Which I bombed.)

comment 8y ago · link · parent

> Do you think you suffer from prosopagnosia?

I do.

I once watched Up in the Air and had to ask at the end which one was George Clooney. (In my defense, I had previously seen him in Syriana, where he had a beard. Hair and facial hair are the crutches I tend to use to recognize people.) Needless to say, on the Famous Faces test I had trouble with anyone less memorable than, say, Barack Obama.

12