Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickjj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
811.
▲
by
nickjj
4y ago
I'm surprised no benchmarks were done with logging turned on. I get wanting to isolate things but this is the problem with micro benchmarks, it doesn't test "real world" usage patterns. Chances are your real production s
812.
▲
by
nickjj
4y ago
> Would you still be ok going through above scenario? Yep 100%, I would take uncertain life vs certain death in the above scenario. If you truly believe this is your one shot at life then giving that up isn't an option.
813.
▲
by
nickjj
4y ago
> For these people who want to save themselves, what on earth do they expect to find after 'the event'? How will they fuel their planes, spend their money, how will they have a future? I'm not part of the club or have anyt
814.
▲
by
nickjj
4y ago
Is this what DHH and Rails did with Hotwire Turbo and their native iOS/Android libraries to allow you to use identical server rendered HTML content that you use for your web site in native mobile apps without needing to write native ap
815.
▲
by
nickjj
4y ago
Oh nice. Yeah it sounds very similar. I never did a touch test to see if it was hotter but heat makes sense. The pink lines and distortions were always present once the problem started but eventually the previous image would fade away. I re
816.
▲
by
nickjj
4y ago
A few years ago I had a 10+ year old LCD start to show pink horizontal lines and it partially blended and distorted 30% of the monitor on the left side. The interesting part was you could see a decent amount of the original screen's co
817.
▲
by
nickjj
4y ago
We must use computers much differently. I don't login from new computers often, I have my personal machine and mobile phone. It's great to be able to login from a phone without needing a password manager or manually typing a 50 ch
818.
▲
by
nickjj
4y ago
> "Logging in" typically refers to the situation where you don't have the cookie and need to get it. Right, and after you click the link in your email to login then your back-end will set a cookie so that when you close yo
819.
▲
by
nickjj
4y ago
> With magic links it happens every single login. Confirmation email only needs to be done once per email. I thought this was obvious? You don't have to do it on every single login. Check my previous reply's comment: > I re
820.
▲
by
nickjj
4y ago
> Magic Links mean that if there is any issue with any of the email servers in the chain (which there often are), my ability to log in to the website may be delayed by 10, 20, maybe even 30 minutes. This same exact thing happens with a u
821.
▲
by
nickjj
4y ago
From the post: > Then, as Kimo suggested, I bought the course materials for other required classes and taught myself, doing the homework in my own time. Then I went to the department head and took the final exam, getting full credit for
822.
▲
by
nickjj
4y ago
I like that there's still options out there around authentication that I haven't seen before but this method is hostile towards folks without a dedicated email client. Personally I only ever login through web mail and have no clie
823.
▲
by
nickjj
4y ago
The webcam and sound are decent enough for casual usage. The keyboard was surprisingly good. I can't speak for the trackpad. When setting up the laptop I found it to be ok but I only have 2 occasions of using it for 20 minutes (2 diffe
824.
▲
by
nickjj
4y ago
> We were unable to make bind mounts work correctly with Windows, due to performance issues (this used to be documented in the Docker docs, but I can't seem to locate it now) Docker Desktop volume performance on Windows is great if
825.
▲
by
nickjj
4y ago
Up until last year I had no smartphone and I only got one because work required it for on-call notifications. Now I use it for nothing except that and a camera (it's a personal device that I ended up purchasing). I never felt disconnec
826.
▲
by
nickjj
4y ago
> For many people outside of HN demographic $500 is a lot of money for "a computer" It would be but it's also kind of overkill based on the specs you can get nowadays for general computer usage. I recently picked up a $399
827.
▲
by
nickjj
4y ago
Independent of GPS I think people are built differently and can understand 3D (first person) vs 2D (top down) worlds in different ways. I know someone who can go anywhere once without GPS and recall directions 10 years later even if they ne
828.
▲
by
nickjj
4y ago
Thanks, I really appreciate it. Word of mouth helps a lot.
829.
▲
by
nickjj
4y ago
I don't know about the author's schedule but: I usually wake up at about 6am. I check my email (I do personal support for the courses I run) and then spend 10-15 minutes glancing HN and a few sub-Reddits. That's usually enoug
830.
▲
by
nickjj
4y ago
Thanks. The postgres variables are sourced in the line above I use them, they will always be set. It's a hard requirement of the Docker postgres image. I did end up pushing up the nounset change and it didn't complain about it sin
831.
▲
by
nickjj
4y ago
Thanks. My thought process around using braces when they're not needed is mainly around consistency. If you pick and choose when to add them then you need to make a decision every time you add a variable. I've written about that h
832.
▲
by
nickjj
4y ago
I did this for a while but make isn't well suited for this use case. What I ended up doing is have a shell script with a bunch of functions in it. Functions can automatically become a callable command (with a way to make private functi
833.
▲
by
nickjj
4y ago
> People have a tendency to talk lot faster than they think. Great speakers know how to control this just like how cars speed up or slow down depending on terrain. I think speed variance is a good tool to have but I wouldn't purpose
834.
▲
by
nickjj
4y ago
Thanks. I am into programming but it's more focused on web development. Gaming is how I got introduced to web development tho, specifically making Quake clan sites and being a part of a Quake III ladder site.
835.
▲
by
nickjj
4y ago
As someone who grew up playing Doom II along with Quake I/II/III I can't thank you enough for name dropping that book. I've always followed id software's games but never really knew their origin story or the full hi
836.
▲
by
nickjj
4y ago
Thanks a lot! By the way the version of the course on Udemy doesn't get updated. The full version of the course is at https://buildasaasappwithflask.com/ which includes lifetime free updates (it has over 10+ hours of e
837.
▲
by
nickjj
4y ago
Yep but it includes "config.asgi" which you can use with gunicorn's uvicorn worker or uvicorn if you want if you want to use async views.
838.
▲
by
nickjj
4y ago
> I believe gunicorn with the uvicorn worker class is the recommended production server. Yep for production that works. In development tho I don't think the gunicorn --reload flag works with that worker type. There is an issue open
839.
▲
by
nickjj
4y ago
> That seems to be using WSGI, not ASGI, though, so no natively `async` views..? One does not simply go async. Changing your entire app to go full async has serious implications, requires every library you use to support it and requires
840.
▲
by
nickjj
4y ago
If anyone is interested I updated my example Django Docker app to 4.1 at: https://github.com/nickjj/docker-django-example It includes running Django, Celery, gunicorn, Postgres, Redis, esbuild and Tailwind through Dock
More ›