Better HN
topnewbestaskshowjobs
Log inSign up

scott113341

183 karma · joined Mar 13, 2016 (10y ago) · 35 submissions

https://www.scotthardy.me https://github.com/scott113341
Submissions

comment 11mo ago · link · parent

One I'm familiar with (but don't know deeply about) is Iron-air batteries [1]. Form Energy [2], an interesting grid-storage startup uses them. They're not energy-dense whatsoever, but very cheap, which makes them economical for that application.

[1]: https://en.wikipedia.org/wiki/Metal%E2%80%93air_electrochemi...

[2]: https://formenergy.com/technology/battery-technology/

comment 1y ago · link · parent

Neat project and approach! I got fed up with expensive registries and ended up self-hosting Zot [1], but this seems way easier for some use cases. Does anyone else wish there was an easy-to-configure, cheap & usage-based, private registry service?

[1]: https://zotregistry.dev

comment 1y ago · link · parent

"I made 14 kWh more during lockdown"

https://secondlifestorage.com/index.php?threads/glubuxs-powe...

^ has a wild picture of full setup

comment 4y ago · link · parent

If you thing this is cool, also check out CalTopo (my favorite mapping software for backpacking):

- https://caltopo.com/map.html#ll=40.10094,-105.61557&z=15&b=m...

- Right click and select "Simulated View"

- Change to "WireImagery" in the upper right

comment 4y ago · link · parent

You reminded me of this scene from Battlestar Galactica that has stuck with me since I watched it (spoiler alert). Conversely, the character laments the sensory limitations of the human body :)

https://www.youtube.com/watch?v=mPnx3zO3SDc&t=73s

comment 4y ago · link · parent

I was actually thinking about Tay-Sachs this morning on a walk, after I passed by a church with a billboard out front that says "Christ died for all, even babies in the womb".

I learned about Tay-Sachs in high school biology. I think we watched a short documentary on it, as an example of genetic inheritance, and the importance of enzyme function. I remember being so surprised that something so simple (absence of one protein) could be so horrible. A beyond-grim prognosis, and immeasurable/unavoidable suffering for everyone involved. Since then, it's been something that I can't reconcile with the existence of a higher benevolent being. I'm no expert, but it made a lasting impression on me.

I'm so uplifted that researchers have made progress on curing this senseless disease.

comment 5y ago · link · parent

I’m a huge fan of Postgres. This one is “user error”, but we still got bit pretty hard.

A query plan changed, on a frequently-run query (~1k/sec) on a large table (~2B rows) without warning. Went from sub-millisecond to multi-second.

The PG query planner is generally very good, but also very opaque. The statistics collected during an ANALYZE and used by the planner are subject to some significant caveats. Essentially, the planner would sometimes wildly mis-estimate costs due to under-sampling, and would choose a bad plan. We fixed it in two different ways: 1) lower the auto-ANALYZE threshold; 2) increase the number of rows sampled when collecting statistics for the relevant column.

Again, this was “user error”. That said, it will probably happen again on the same or another query, because it’s hard to know if/when a query plan is about to change, and pg_hint_plan and similar are very heavy-handed solutions.

comment 5y ago · link · parent

One strategy I've found useful when asked for an estimate is to ask back: "What do you need the estimate for?" Often, this leads to a useful discussion, and we can discover things like:

- They don't actually need to estimate, because the task can very obviously be completed by the previously window

- They're simply trying to prioritize two different features, so the estimate doesn't need to account for who will be working on the project, known vacations, meetings, etc.

- The business is trying to use the estimate for strategic planning, so high-confidence, or multiple estimates (optimistic/normal/conservative) are actually needed.

It's similar to when someone comes to engineering and asks "Please build this button for me" - it's always crucial to ask "Why?" and understand the problem they're trying to solve, since often what they've asked for is not what they need.

comment 5y ago · link · parent

I've been loving my COROS. It's quite simple, and the battery life is astonishing. No music functionality though, if that's a dealbreaker for you. I got the APEX 42mm about 5 months ago.

https://coros.com/compareChartPage.php

comment 6y ago · link · parent

I've been kicking around a related idea for a while. A static "death day" is great because you can internalize, and countdown towards it, but it loses the distribution behind life expectancy. A single day is probability's expected value, but there's a huge range of days that could be your last - even today!

My idea is a daily (or weekly/monthly/etc) notification that re-computes a "death day" for you, on that recurring basis. Each notification would include a day, and together, they'd form a distribution that faithfully represents the variance in days you're likely to die.

For example: me; 28-year-old male. I'd regularly get "death days" that are ~50 years out. Occasionally, maybe they'd be 25, or 55 years away. And very rarely, they'd be things like 10, or even 5 years away. A perfect reminder to play hooky, or call up a friend, or tick off a bucket list item every once in a while!

Anyone interested in this? I'm kind of fishing for an excuse to build it...

comment 6y ago · link · parent

Robocalls are super annoying, but kind of an amazing way to ask someone out on a date (not first date - followups where you know they'll say "yes").

Twilio has this thing called "Twilio Studio" [1] that is essentially a UI that can be used to make these fairly easily. I've asked things like cuisine and alcohol preferences, what time is best for them, and even done more creative things like SMS a scammy link for them to send details in order to collect their "grand prize" (the date).

Also, for the same person, I built an online game for her to play with her students, tailored for speech-language pathology. She works in a public school and was having a really hard time adapting curriculum to an online format (due to COVID). She and her co-workers loved it, and since then, we've made a lading page, more games, and thinking about turning it into a business! [2]

[1] https://www.twilio.com/studio [2] https://slpgames.com

comment 6y ago · link · parent

I have a similar script, except that it removes posts that link to domains that I've found to frequently be non-interesting or low-quality.

https://gist.github.com/scott113341/56c03bc7f285eefbea0a6146...

comment 6y ago · link · parent

Looks interesting, I signed up!

FWIW, I ran into the same issue (Chrome): https://user-images.githubusercontent.com/1910118/81509549-a...

comment 6y ago · link · parent

Previous discussion from her blog post on the same topic: https://news.ycombinator.com/item?id=17499137

comment 6y ago · link · parent

Awesome idea, and nice work! Is this open source, and if so, would you mind sharing a link to it? I am beginning work on a slightly similar project [1] to help facilitate speech therapy (girlfriend is a speech-language pathologist) over video chat and would be interested to compare with your approach and tech stack.

I saw this [2] Chess + video chat project the other day, and drew heavy inspiration from its approach [3].

[1]: https://github.com/scott113341/slp-memory

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

[3]: https://glitch.com/edit/#!/rootshirechess

comment 7y ago · link · parent

CalTopo (my favorite mapping software, and originally made for search/rescue/fire [1]) map with overlays: https://caltopo.com/map.html#ll=38.59058,-122.75299&z=11&b=m...

[1] https://caltopo.blogspot.com/2011/12/launching-caltopocom.ht...

comment 7y ago · link · parent

Reminds me of this story posted a while ago:

Story of a failed pentest https://news.ycombinator.com/item?id=18475438

comment 7y ago · link · parent

I got paged 50 minutes before AWS updated their status page. We are running on AWS's managed Kubernetes offering (EKS), and about one third of our nodes were running in the affected availability zone. We were then able to move all of or traffic out of that AZ, which solved our issues. The main symptom was HTTP requests made by our backend to 3rd party APIs failing, but only on requests originating from that AZ.

comment 7y ago · link · parent

Not strictly related to this article or your question, but generating ordered UUIDs can sometimes bring some performance improvements (at least in Postgres) on index reads/writes [1].

[1] https://www.2ndquadrant.com/en/blog/sequential-uuid-generato...

comment 7y ago · link · parent

https://brandur.org/articles

Very clear technical writing, mostly about web technologies.

comment 8y ago · link · parent

> such as around Proxima Centauri, the nearest star to Earth, or TRAPPIST-1, a star about 40 light-years away...

I don't think they are asserting that the laser beam travels faster than the speed of light. I think they are referring to Proxima Centauri being about 4 light-years away from Earth [0].

[0] https://en.wikipedia.org/wiki/Proxima_Centauri

comment 8y ago · link · parent

I don't think jmcgough made such a claim, just offered an explanation for "why is it so taboo to talk about the differences..."

comment 8y ago · link · parent

Monodraw is the best application I've found for ASCII (and Unicode) diagramming: https://monodraw.helftone.com

comment 8y ago · link · parent

> UUIDs are way more painful than serials to recognise, remember, input or transmit...

Completely agree, but I've found this can be a non-technical "feature" too. Serial integer primary keys are much more susceptible to human error when doing any sort of direct database manipulation.

Make a typo on a integer PK? Wrong user gets deleted. UUID typo? Row not found (almost certainly).

Another source of error I've seen is when someone in sales asks "Hey, can you remove User #1234?", but they really meant Customer #1234." With UUIDs, there's no "collision" between the tables.

Clearly there are better process/tool-based ways to prevent these types of mistakes, but it's a useful side effect of UUIDs.

comment 8y ago · link · parent

This is a fun website to peruse every once in a while: http://brutalistwebsites.com/

Its submission from 2 years ago: https://news.ycombinator.com/item?id=11517491

comment 8y ago · link · parent

Works perfectly with my favorite test framework: https://github.com/lxe/no-bugs

comment 9y ago · link · parent

I made an open source version of this. https://github.com/scott113341/southwest-price-drop-bot

comment 9y ago · link · parent

I use PocketCasts in conjunction with BeardedSpice [1] to forward media key commands. It works very well!

[1] https://github.com/beardedspice/beardedspice

comment 9y ago · link · parent

The "Configure the variables in this post" is an incredible touch that makes reading the examples so much more instantly relatable and recognizable. I will definitely be stealing this pattern for my own purposes!

30.

Asch conformity experiments(en.wikipedia.org ↗)

1 points · by scott113341 · 9y ago · discuss

12