Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thraxil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
thraxil
3y ago
See also Line Wobbler by Robin Baumgarten: https://www.youtube.com/watch?v=9dufXuWDjLU 1D dungeon crawler hardware game.
62.
▲
by
thraxil
3y ago
Yeah, they also miss (IMO) one of the biggest advantages of using something like fail2ban which is the reduction in logging noise. I've seen multiple VMs effectively DoS-ed because their disk filled up with SSH log entries. I've b
63.
▲
by
thraxil
3y ago
Good article. I highly recommend the book "Kill it with Fire: Manage Aging Computer Systems (And Future Proof Modern Ones)" by Marianne Bellotti if you've ever had to deal with these kinds of legacy systems.
64.
▲
by
thraxil
3y ago
Yeah, and not to justify or minimize it in any way (just old enough to remember the US before smoking bans started up and contributing a bit of explanation of how people thought back then), but cigarette butts are also a bit less "port
65.
▲
by
thraxil
3y ago
I don't know what they're talking about with "available only in hardcover". Hypermedia Systems is here: https://hypermedia.systems/ available in HTML online, ebook format, hardcover, or you could go to t
66.
▲
by
thraxil
3y ago
Yes, it's exactly like having a bug in your code. Using Templ means that it gets caught at compile time (if not earlier since your IDE can show you that there's a problem as soon as you write the code). That's (IMHO) almost
67.
▲
by
thraxil
3y ago
I'm not sure what you mean. Eg, here: https://gist.github.com/thraxil/5ee7cdb4edb3b4846580e33f17ec... there's an obvious typo of a variable name in the template "Titl" instead of "Title".
68.
▲
by
thraxil
3y ago
I'm in a similar position. I dismissed Templ by default when it started getting mentioned; I've always disliked JSX and the approach reminds me of that. I realized that it basically enables compiler and type checking of the templa
69.
▲
by
thraxil
3y ago
RSS feeds are still around, but they're starting to disappear. Like, eg, Google removing RSS support from their developer blogs...
70.
▲
by
thraxil
3y ago
Have you read the book's discussion of this? Again, I encourage you to engage the actual arguments that the book makes rather than an imagined straw man version of what Sapolsky might be saying.
71.
▲
by
thraxil
3y ago
I think you'd like the book then if you like to have your views challenged. This is exactly the kind of argument that he engages with in extreme detail (and spends an entire 500 page book on, so I won't just repeat his arguments).
72.
▲
by
thraxil
3y ago
Have you read the book? He spends a whole chapter on this (and for the record, my background includes a Physics degree). The gist of his argument, which he does a reasonably good job backing up, is that quantum effects just don't scale
73.
▲
by
thraxil
3y ago
Determined: Life Without Free Will by Robert Sapolsky. He's a Stanford biologist/neuroscientist. You may have come across lectures from his class on Human Behavioral Biology which is on Youtube for free and highly recommended. The
74.
▲
by
thraxil
3y ago
Your server and DB are both UTC. If not, that's something you just need to fix. The server can then calculate the difference trivially. Then you no longer need to do anything on the client. Eg, this is what Django's timesince or t
75.
▲
by
thraxil
3y ago
Yep, my theory is that often that's done as a way to sidestep difficult issues around dealing with time zones. "2 hours ago" doesn't require you to think about whether your user is in the same time zone as your database.
76.
▲
by
thraxil
3y ago
I once migrated a monitoring task from a smallish VM to GCP Cloud Functions triggered by the Cloud Scheduler. Nothing super fancy; imagine some code that runs on a cron once per hour, collects a bunch of metrics on various things then write
77.
▲
by
thraxil
3y ago
> A small British pedal company that I don't recall the name of also made a pressure-sensitive pad with a TRS output but they weren't available for separate purchase when I checked. I think you're talking about the Rainger
78.
▲
by
thraxil
3y ago
Flash was proprietary. Open standards and formats are what we've always kind of expected would keep working.
79.
▲
by
thraxil
3y ago
Just need to point out that "Most HTML is valid JSX" doesn't really sound true to me. Eg, show me a non-trivial HTML web page that doesn't have any `class="..."` attributes (I've managed to avoid doing muc
80.
▲
by
thraxil
3y ago
The Lidl near me in London has a similar issue. There are 14 self-checkout stations, but they're mostly broken all the time (and the store is only about two years old, it's not like they're ancient technology). The most I
81.
▲
by
thraxil
3y ago
Here's a post I put up just a few weeks ago showing how a completely dynamically generated blog with zero caching or performance tuning handles the traffic from ending up on the front page of HN, being served off the free tier of Fly.i
82.
▲
by
thraxil
3y ago
I worked with Molly for years at the Web Standards Project. We all owe her more than most people realize when it comes to being able to use and build on the modern web. There aren't many single individuals out there who had a larger im
83.
▲
by
thraxil
3y ago
At the same time, "build vs buy" isn't always as straightforward as it sounds. You can easily end up doing a lot more work to integrate a bought component/service into your app and customize its functionality to do exact
84.
▲
by
thraxil
3y ago
> I live in Sweden and we're very far down the path of "cash is dead" - there's a considerable number of stores and fast food joints that do not even accept cash. However, when I moved to this country I couldn't
85.
▲
by
thraxil
3y ago
> The architectural concepts underlying Livebook put it on a path to surpass Jupyter, if only we can get critical mass adoption. > > The stuff emerging in the Elixir + ML space thanks to Nx and Axon gives me some hope that Elixir
86.
▲
by
thraxil
3y ago
(Author here). Yeah, it may be unfair. phx_gen_auth is definitely one of the main ones that I encountered and struggled with (compared to, eg, django-allauth or django-social-auth). Even just the basic approach to working with Phoenix seems
87.
▲
by
thraxil
3y ago
Executing them in production by running `mix ecto.migrate` is essentially equivalent to running `manage.py migrate`. That part of the two approaches is really the same.
88.
▲
by
thraxil
3y ago
It takes the more Rails-like approach where you run a mix command to generate a migration (and that potentially writes out an elixir module with the Ecto schema, eg, when defining a whole new table) rather than Django's approach of upd
89.
▲
by
thraxil
3y ago
Author here. I do love me some Django admin, but I find that I tend to use it a lot early on in a project and then slowly move as much away from it as possible as we build up more specific admin/management-type functionality in the app
90.
▲
by
thraxil
3y ago
Yep. If you're a tourist standing, blocking the subway door like an idiot and not paying attention, you can expect a loud "get the FUCK out of the way!" from a New Yorker and probably a shove. It's definitely going to fe
More ›