Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hathawsh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
451.
▲
by
hathawsh
8y ago
My Google-foo is failing me: isn't there a site that catalogs UX/UI anti-patterns? This library edits what the user types in real time, which is a serious anti-pattern because it causes users to compound mistakes. I would call it
452.
▲
by
hathawsh
8y ago
That's cool! I'd opt for Minetest (a good open source clone of Minecraft) instead of Legos.
453.
▲
by
hathawsh
8y ago
The limit is 65k connections per client IP address, limited by the number of available ports on the client. You can theoretically accept connections from all possible client IP addresses simultaneously. This means that in order to test 1M s
454.
▲
by
hathawsh
8y ago
Interesting question! There is probably a name for that kind of fallacy. The regression fallacy is close: "Ascribing a cause where none exists in situations where natural fluctuations exist while failing to account for these natural fl
455.
▲
by
hathawsh
8y ago
Intellectuals suffering from a crisis of meaning should ask themselves a sincere question: do I rely on relative intelligence as the core of my identity? When you frame the question that way, a number of obvious problems with that identity
456.
▲
by
hathawsh
8y ago
There is a place for SPAs. I just built a single page React app (using the create-react-app package) that mostly replaced a complex pile of spreadsheets. It came out fantastic, I think. The entire compressed Javascript is about 150 kilobyte
457.
▲
by
hathawsh
8y ago
The coding equivalent would be overzealous linter rules. For example, sometimes linters demand that all variable and function names follow a project-specific capitalization convention, but I find that type of consistency is often counterpro
458.
▲
by
hathawsh
8y ago
Actually I was referring to manual translation of Python code to Rust. My experience with PyPy has been rather bad, unfortunately (it runs my code at less than half the speed of CPython) and I figure human translation should be a lot more e
459.
▲
by
hathawsh
8y ago
Oh right--I was thinking of the STM (software transactional memory) version of PyPy, which is still very experimental.
460.
▲
by
hathawsh
8y ago
This is wonderful. This could become the best way to move Python projects to Rust: initially just run on the RustPython interpreter, but then optimize low level routines in Rust. In 15 years I wouldn't be surprised if this or something
461.
▲
by
hathawsh
8y ago
Is the author aware that the prices depend on the day of the week? Competition in Utah has driven all the big theaters to charge only $5 for all movies every Tuesday, making the movies cheaper than even Wyoming. I'm curious to learn wh
462.
▲
by
hathawsh
8y ago
Of course. :-)
463.
▲
by
hathawsh
8y ago
I agree static types can help, but there are many kinds of errors not caught by static typing. Did you misspell a key while encoding to JSON? Did you add two values where you should have subtracted? Did you forget to log an error (and did y
464.
▲
by
hathawsh
8y ago
My understanding is that refactoring may require changes to unit tests, but not integration tests. On the other hand, there have been long, unfruitful Internet discussions about the precise definition of refactoring, and I find it's be
465.
▲
by
hathawsh
8y ago
My rule of thumb: tests cast away fear. Whenever I get that sinking feeling that I'll break things when I change the code, I write tests until my doubts disappear. It works every time. In response to the article: it's true that &q
466.
▲
by
hathawsh
8y ago
This makes me wonder why people bother working for Instacart when there are so many alternatives. I googled for "service economy gig" and got this huge list: https://www.wonolo.com/blog/best-gig-economy-apps&#
467.
▲
by
hathawsh
8y ago
Extending your example: I've heard from mechanics that looser tolerances also lead to cars that age much better as the components change in shape due to wear and corrosion. Expensive cars have expensively machined parts to avoid the ne
468.
▲
by
hathawsh
8y ago
Interesting. What if I own a shop and I want to use this technique to graph the number of people near my shop over time? Would I be in the clear if I hash the MAC addresses?
469.
▲
by
hathawsh
8y ago
FWIW, the Tesla model 3 has an internal camera (probably more than one) that Tesla probably plans to use to observe the occupants when in self-driving taxi mode. I think the camera would deter most high tech vandals.
470.
▲
by
hathawsh
8y ago
Right. Whoever does this needs to be competent at building a safe, stable, and usable router OS.
471.
▲
by
hathawsh
8y ago
There should be a marketplace for apps running on home routers. It would change the Internet as we know it. Developers should be able to create router apps and submit them to marketplaces and users should be able to install router apps of t
472.
▲
by
hathawsh
8y ago
This is really cool. It could be the next Flappy Bird / 2048. Do more enemies show up when you score 100? :-)
473.
▲
by
hathawsh
8y ago
The AppImage has been great. No downsides.
474.
▲
by
hathawsh
8y ago
CadQuery looks very interesting, but it worries me that it's not compatible with Python 3. Is someone working on that? Edit: Never mind, yes there is a plan for Python 3. https://github.com/dcowden/cadquery/is
475.
▲
by
hathawsh
8y ago
The OpenSCAD releases seem to be in chaos. I've been using an AppImage release in Ubuntu, build 9.4, since February. Later releases seem to just crash. I get the feeling I'm building on an unstable foundation. :-(
476.
▲
by
hathawsh
8y ago
Same here. I've dabbled in various CAD software packages but I always come back to OpenSCAD because it lets me build a well structured text file with every detail of my model, with no possibility of hidden variables. I'm willing t
477.
▲
by
hathawsh
8y ago
Chargemasters may be going online as early as next week: https://www.healthleadersmedia.com/finance/put-chargemaster-... It's not clear that this will have the intended effect (since insurance always pays a heavil
478.
▲
by
hathawsh
8y ago
FYI, these kind of beliefs surface mainly when people engage in groupthink. Few individuals actually believe these things. The vast majority believe in helping each other, but they prefer to help voluntarily rather than forcefully. Helping
479.
▲
by
hathawsh
8y ago
I think people are holding on to the hope that competition in the marketplace will control prices and bring them back to reasonable levels. I know I held on to that hope for a long time, but it's becoming clear that mere competition am
480.
▲
by
hathawsh
8y ago
The trouble with Tesler's Law is that it's often difficult to distinguish between essential complexity and incidental complexity. When I face a UX problem that seems like an insurmountable barrier, if I step back and consider many
More ›