Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickjj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
931.
▲
by
nickjj
4y ago
> The most annoying things about neighbors are dogs that bark all day, and the leafblowers and lawnmowers. Do you not encounter leaf blowers and lawn mowers in a HOA community? I would have expected it to be much worse because there woul
932.
▲
by
nickjj
4y ago
Aren't linguistic names a form of mold? I find Rails' conventions are very good around this, for example datetime fields end with _at and dates end with _on. This way you end up with variable names like published_at or published_o
933.
▲
by
nickjj
4y ago
Surprise is a decoupled feeling from enjoyment I think. Having a good surprise in music is great because you think "wow, I can't believe that was so good" but then you can enjoy it 100 more times over the next 5 years. I can
934.
▲
by
nickjj
4y ago
Hmm, I spot checked a bunch of songs in the list and only listened to songs I haven't heard of and I didn't get goosebumps or any hint of frission once. But I get goosebumps / etc. all the time when I listen to music I like,
935.
▲
by
nickjj
4y ago
I don't have anything written up but I extensively compared Argo CD vs Flux about 6 months ago and chose Argo CD in the end. I'm really happy with it and currently deploy multiple services to multiple environments (different AWS a
936.
▲
by
nickjj
4y ago
A lot of popular web frameworks have their take on how to arrive at the same goal which is to be able to create responsive feeling sites without writing a lot of JS and creating API backends. Rails has Hotwire Turbo (which is technically ba
937.
▲
by
nickjj
4y ago
> Why would you need 5 web workers, would one running on primary not be ideal? It's not ideal due to some frameworks using background jobs to handle pushing events through to your web UI, such as broadcasting changes over websockets
938.
▲
by
nickjj
4y ago
This is something I've thought a lot about over the years too. Runtime performance is great and very much welcome if you can get it for free but for a ton of web apps it's not a major selling point on its own. If I can write 30-10
939.
▲
by
nickjj
4y ago
> Imagine a dentist who is passionate about pulling teeth out ... That's a great metaphor for code-before-you-know developers. A key difference between a big decision and a small decision is what it's like to change your decisi
940.
▲
by
nickjj
4y ago
It's not the $2/mo at face value. For me it's the idea of them pushing to make paying for SSL certificates the norm again after Let's Encrypt has put in a huge amount of effort to change that field. Not that there's
941.
▲
by
nickjj
4y ago
Most of the popular background workers in Ruby run as a separate process (Sidekiq, Resque, GoodJob). The same goes for using Celery with Python. I'm not sure about PHP but Laravel's docs mention running a separate command for the
942.
▲
by
nickjj
4y ago
> Are you asking if you can run Docker inside a VM, and parcel that single VM out that way? You've got root in a full-fledged Linux VM, so you can do that. On a single server VPS I'd use Docker Compose and up the project to run
943.
▲
by
nickjj
4y ago
Does Fly let you run multiple commands in separate Docker images? That's usually the pattern on how to run a web app + worker with Docker, as opposed to creating an init system in Docker and running (2) processes in 1 container (this g
944.
▲
by
nickjj
4y ago
> You don’t need to route every write to primary though, but only those writes that have dependencies on other writes. Thanks, can you give an example of how that works? Did you write your own fork of Postgres or are you using a third pa
945.
▲
by
nickjj
4y ago
> Guess what? fly.io offers a turnkey distributed/replicated Postgres for just this reason. You use an HTTP header to route writes to the region hosting your primary. Doesn't this take away a lot of the benefits of global distr
946.
▲
by
nickjj
4y ago
I've had this shell function / alias set up for years: weather () { curl "https://wttr.in/${1}" } This lets you run: weather nyc, a zip code and everything else wttr.in supports.
947.
▲
by
nickjj
4y ago
Nope. I'm self taught in the sense I never went to university but I like to think of it more as self guided. I've read thousands of blog posts and learned a ton from other people. If you asked me to whiteboard a red-black tree on
948.
▲
by
nickjj
4y ago
> It does have a premium but I wouldn't say 'really expensive' EKS Fargate costs $29.55 per 1 vCPU and $3.25 per 1GB of memory per month. This is listed in their official docs: https://aws.amazon.com/fargat
949.
▲
by
nickjj
4y ago
> That means keeping unused or partially used EC2s up which means $$$. It does but having a pre-sized cluster that's overprovisioned can end up being cheaper than using Fargate because Fargate is really expensive. This isn't ac
950.
▲
by
nickjj
4y ago
This blog post doesn't account for an extremely important detail. Right off the bat it mentions "Fargate is now faster than EC2" but this is not the case for practical usage on pre-sized clusters, at least not on EKS. As of t
951.
▲
by
nickjj
4y ago
Having a statically typed language doesn't mean you don't write tests. Sure, there's a subset of tests you can avoid writing but you're still going to be writing a ton of tests with both language types. I also think this
952.
▲
by
nickjj
4y ago
> they could have probably build a very Ruby on Rails like framework on a language more suited to the size and scale of these platforms. I have a hunch they would rather have tens of thousands of other folks using a framework that has ma
953.
▲
by
nickjj
4y ago
Fun read as I also played that game in the past. In the article he mentions "the game has changed" with new quests and a synergy system but these weren't added to resurrected. The extra act came with the D2:LoD expansion in 2
954.
▲
by
nickjj
4y ago
I use it to manage my dev environment with a bunch of sessions. One for my blog, podcast, 2 side projects, contract work, etc.. I usually have 6-10 sessions. Although I don't use fzf to search through them. The built in leader+s key ma
955.
▲
by
nickjj
4y ago
Number 2 is fun, I get a call from relatives at least twice a year because their screen was rotated 90 degrees from a keyboard shortcut that was hit when a cat walked across their laptop when the lid was left open. The crazy thing is it
956.
▲
by
nickjj
4y ago
I've never liked a single video on Netflix and I've had them for a number of years. I think with no direct likes the rating system starts at 99% and might also take your viewing history into account to adjust it over time based on
957.
▲
by
nickjj
5y ago
Yep. If you run 2560x1440 at its native resolution you can fit (4) side by side code windows at 80 characters with a very readable font size. Having 120 character lines only lets you have 2 (3 will cut off the last one by a decent amount).
958.
▲
by
nickjj
5y ago
> Is it really possible that this many people are ill, or is society expecting impossible things from people and ADHD-like symptoms are the consequence. Or is it something else? I've never researched any of this but something does f
959.
▲
by
nickjj
5y ago
Yeah that's a good way to go about it. If you relate it back to programming, creating accounts are like abstractions. You wouldn't really start off with a bunch of perfectly named accounts until you get a feel for what you're
960.
▲
by
nickjj
5y ago
I didn't include this in my original reply but today is May 1st. Since GnuCash involves manually entering in transactions it's easy to think that'll take a ton of time. I just timed myself and it took 5 minutes to input every
More ›