Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickjj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
631.
▲
by
nickjj
4y ago
This is a topic I know very little about but doesn't this type of "absolutely insane" thing happen to other small businesses due to estate taxes too? For example: - Your uncle owns a farm for the last 50 years - Ove
632.
▲
by
nickjj
4y ago
> why would you wait until April 15 to ask for your money back if your biggest concern is not giving them an interest free loan? It's not always possible to file accurately that early. A number of investment related tax documents do
633.
▲
by
nickjj
4y ago
> Overpaying: so the IRS issues a refund. That's part of the process. Isn't this a 1 way street where the IRS wins? For example, if you underpay don't you have to pay interest at a set rate for the whole year you underpaid
634.
▲
by
nickjj
4y ago
> You still have to buy the $4 bottle of water You can technically bring an empty bottle of water or container and fill it up inside of the airport. Your options would typically be a water fountain, bathroom sink or asking a bar tender t
635.
▲
by
nickjj
4y ago
I'm happy to see improvements like this. In 2018 I opened a github issue around container startup time[0] with Docker. A couple of things have changed since that issue but generally speaking we are talking about ~5s (containers) vs 150
636.
▲
by
nickjj
4y ago
This works well near the end of the day or before a weekend too where you spend a few minutes dropping in a brain dump of context near the code you're working on so you can pick it up the next day and also avoid having to actively thin
637.
▲
by
nickjj
4y ago
It's interesting that IH promotes sharing business details and figures from all of their guests but they don't share their own info. On one hand they mention they're at $0, but also say Stripe is still being supportive as an
638.
▲
by
nickjj
4y ago
> zero if cache is hot (but 20 cache queries) Rails lets you fetch_multi which means it would be 1 cache query if you used this feature. > It is only a win if DB is the bottleneck View rendering is pretty slow in Rails, rendering a vi
639.
▲
by
nickjj
4y ago
> cache invalidation when something changes, and much more overall complexity With Rails this style of caching is built into the framework, it's not too bad. It can be applied to other frameworks too because most of the "magic&
640.
▲
by
nickjj
4y ago
There is a case where having N+1 queries are beneficial. In Rails terms, it's when you perform Russian doll caching, but you can do this in any framework. The idea is you can cache a specific X thing which might make a query to an asso
641.
▲
by
nickjj
4y ago
Question: When reading programming tutorials or a write up about a tech concept do you prefer if the article has a hero image or not? This would be an image loaded at the top which sums up the title of the post visually. On a related note,
642.
▲
by
nickjj
4y ago
A git post receive hook. You can set up a bare git repo which lets you push code to it. Then when you push to it, the post receive hook runs which can be any script you want. In this case you can run the commands to restart your containers
643.
▲
by
nickjj
4y ago
> Can you elaborate a bit more on why are you preferring standalone commands instead of going all-ansible? I very strongly believe: - Ansible is a great tool for setting up a server to get it to the point where you can run / deploy
644.
▲
by
nickjj
4y ago
> Do your examples support zero downtime deployment and zero downtime rollback? Those examples are for running your app, not deploying it. Zero downtime is also a loaded term. MRSK isn't zero downtime in a way that's commonly d
645.
▲
by
nickjj
4y ago
Hi, Thanks. I made a video and blog post on why I stopped recording it here: https://nickjanetakis.com/blog/taking-an-indefinite-break-fr... The state of the show hasn't changed since then, it's RIP'd fo
646.
▲
by
nickjj
4y ago
Not for all of the Ansible bits but for the Docker Compose apps I do have up to date repos for Flask, Rails, Django, Node and Phoenix[0]. All of those example apps are deployable to production (and can be used in development) once your serv
647.
▲
by
nickjj
4y ago
Pretty much. I've been using Ansible with Docker Compose since 2015. I can set up a full server with all of the bells and whistles in about 20 lines of inventory configuration. Behind the scenes there's a bunch of portable and gen
648.
▲
by
nickjj
4y ago
I think it's super dependent. The place I'm currently at is hiring a principle engineer. I've performed a few tech interviews so far. We just started the process less than a month ago. We have (2) interviews. The first is mor
649.
▲
by
nickjj
4y ago
If anyone is looking for a snippet to handle both positional args along with required and optional flags (both with short and long form formats) along with basic validation I put together: https://nickjanetakis.com/blog/
650.
▲
by
nickjj
4y ago
Makes sense. Someone asked me a similar question and I had the same sentiment. I used a different analogy of if a robot were able to do specific mechanic skills to fix a car that wouldn't necessarily put mechanics out of a job. Someone
651.
▲
by
nickjj
4y ago
> Here is a quick exercise: imagine I announce the next Elixir versions will require at least $300/year to use. I bet everyone would be fine with it. The cost of running a business and all that, right? That's not a fair analogy
652.
▲
by
nickjj
4y ago
> This rules out basically any project where one or more contributors have made any money from consulting, which is ~all major open source projects. You're right, he's built a multi-employee consulting agency around Elixir whic
653.
▲
by
nickjj
4y ago
I don't understand why there's so much backlash on this. Let's be honest here. Docker has been directly involved with creating a container runtime and has provided this for free with no strings attached for about 10 years. Th
654.
▲
by
nickjj
4y ago
Has anyone tried this for a free ngrok alternative that works with HTTPS, doesn't require setting up a server and has no rate limit within reason? https://developers.cloudflare.com/pages/how-to/preview-with-..
655.
▲
by
nickjj
4y ago
> I'm pretty comfortable with posix shell. It's ok to trust yourself. Write 1 file shell scripts for convenient zero dependency command line tools that will work on most systems. If things start to get rough due to shell limita
656.
▲
by
nickjj
4y ago
How involved is your user model and what type of machine do you have? I'm on an 8 year old i5 3.2ghz CPU based workstation running in WSL 2 with Docker. With Rails 7.0.4 and Ruby 3.2.1 (YJIT not enabled): 1M empty hashes: Benchma
657.
▲
by
nickjj
4y ago
For a multi-clipboard manager I'm looking for: - Configure hot keys to bring up the clipboard selector (I use CTRL + Alt + V) - Quickly select a clipboard item via hot key, arrow keys or mouse - Search through the list of
658.
▲
by
nickjj
4y ago
> It is very rare these days to have an application that is all of the following... Yep. On Windows there's: - IrfanView for image editing - foobar2000 for mp3s They've been on my "must have" install list
659.
▲
by
nickjj
4y ago
I do a mix of Flask and Rails personally. Hotwire Turbo works with Flask out of the box minus the websockets bits which you could make work but you'd need to handle the broadcasting server side bits since Turbo is a client side library
660.
▲
by
nickjj
4y ago
> I've been trying to get into Elixir and I figured Phoenix was the way to do it, but I have to agree about the resources for Phoenix, learning it has been a nuisance, and sucked all the fun out that I might have been unfairly expec
More ›