Better HN
topnewbestaskshowjobs
Log inSign up

nop_slide

1,680 karma · joined Feb 12, 2014 (12y ago) · 583 submissions

Dev of

https://skatevideosite.com

Hit me up

hn at skatevideosite dot com

Submissions

comment 3w ago · link · parent

I believe the original owner sold it and is working on https://bookdna.com/ now.

comment 2mo ago · link · parent

Funny, I migrated my FastAPI project to Rails 2 years ago and couldn't be happier.

3.

The Exe.dev iOS App(blog.exe.dev ↗)

1 points · by nop_slide · 5mo ago · discuss

comment 5mo ago · link · parent

Anyone have a copy? Author seems to have deleted it

comment 6mo ago · link · parent

This is what I use, great little library and haven’t touched nor thought about my auth since I set it up.

comment 7mo ago · link · parent

All in*

comment 7mo ago · link · parent

Anyone remember Sproutcore JS? They used state charts.

https://guides.sproutcore.com/getting_started_2.html

comment 7mo ago · link · parent

I'm personally fine with a little bit of downtime for my particular small app. I'm just surprised there's not a more detailed story around deploying sqlite in a high availability prod environment given it's increased popularity and coverage over the last few years. Especially surprising with Rails' (my stack) going full "sqlite-first".

comment 7mo ago · link · parent

I still haven't figured out a good way to due blue/green sqlite deploys on fly.io. Is this just a limitation of using sqlite or using Fly? I've been very happy with sqlite otherwise, rather unsure how to do a cutover to a new instance.

Anyone have some docs on how to cutover gracefully with sqlite on other providers?

comment 7mo ago · link · parent

Yoooo thanks for the rec this is spot on up my alley.

You might also like mood indigo on SoundCloud, mix of house and DnB been a solid programming session soundtrack for me over the last few years.

https://on.soundcloud.com/5HzXSAKAdM41bxIvdp

11.

Welcome to the Wasteland: A Thousand Gas Towns(steve-yegge.medium.com ↗)

68 points · by nop_slide · 8mo ago · 96 comments

comment 9mo ago · link · parent

Old ipads are great until apps start not working with the OS. I have a 2017 and Disney+ just dropped support for my current OS version and I can't update further.

comment 9mo ago · link · parent

why split, you could use railway and render for both front end and back end

comment 10mo ago · link · parent

You might find https://www.basepowercompany.com/ interesting, 25kwh battery for $700 down and $20/month

comment 11mo ago · link · parent

Or just don’t do retro and save even more time and money!

comment 1y ago · link · parent

> The Backbone code is brutally honest about what it's doing. An event fires, a handler runs, you build some HTML, you put it in the DOM. It's verbose, sure, but there's no mystery. A junior developer can trace exactly what happens and when. The mental model is straightforward: "when this happens, do this." > The React code hides a lot. And once you move past simple examples, you hit problems that don't make sense until you understand React's internals. I relate to this a lot. I have had to read these two very large articles multiple times to calcify my mental model for understanding exactly _when_ react does something and _why_ it did or did not. https://overreacted.io/a-complete-guide-to-useeffect/ https://blog.isquaredsoftware.com/2020/05/blogged-answers-a-... Backbone was also my first framework that I haven’t touched in over 10 years, but looking at the code examples from the article I completely understood what was going on.

comment 1y ago · link · parent

Sounds like what https://www.basepowercompany.com/ is doing

comment 1y ago · link · parent

At $JOB we're using both flask-pydantic and flask-openapi via those libraries and they are serving us just fine.

But yes async does not matter to me.

comment 1y ago · link · parent

https://github.com/pallets-eco/flask-pydantic

https://luolingchun.github.io/flask-openapi3/v4.x/

> dependency injection

While nice I never found this to be a critical deciding factor of using a technology.

> real async

If you really want it there is Quart which is real async

https://github.com/pallets/quart

I'm not a huge async fan in python anymore so not it's not a huge issue for me. But there are definitely options for Flask if you want to use async.

comment 1y ago · link · parent

Yeah def odd, I'm a recent rails convert and SolidQueue is dead simple and is setup out of the box.

When paired with https://github.com/akodkod/solid-queue-dashboard you get a nice overview.

comment 1y ago · link · parent

After using both Flask and FastAPI extensively I can attest that Flask is the better technology. Flask is extremely stable and has solid organization around them via Pallets. This is a great benefit as they are keeping the ecosystem moving forward and stable.

https://palletsprojects.com/

Versus FastAPI which is lead by a single maintainer which you can search back on HN about opinions on how he's led things.

Flask also has at time of writing only 5 open issues and 6 open PRs, while FastAPI has over 150 PRs open and 40 pages(!) of discussions (which I believe they converted most of their issues to discussions).

Lastly on the technical side, I found Flasks threaded model with a global request context to be really simple to reason about. I'm not totally sold on async Python anymore and encountered odd memory leaks in FastAPI when trying to use it.

22.

Base Power raises $1B to deploy home batteries everywhere(techcrunch.com ↗)

2 points · by nop_slide · 1y ago · discuss

comment 1y ago · link · parent

I setup a fresh rails 8 app on Fly last year, using PG for the main data store but using SQLite for the ancillary solid stack dbs.

Only fuss I remember encountering was with fighting with rails migrating solid queue properly, but this seemed like a rails unit issue and don’t remember it being a Fly issue.

I’ve been contemplating migrating my pg primary to SQLite too. Anyways don’t have much else to offer other than an anecdote that I’m happily using fly with partial SQLite.

comment 1y ago · link · parent

Ah got it, thanks for explaining and clarifying!

Cheers

comment 1y ago · link · parent

Love that you mentioned the skateboarding history of it. I have fond memories of our young crew finally acquiring a “death lens” for our VX1000. It was such a fun challenge to see how close you could get because it looked so sick.

Of course that meant we ended up with a bunch of scratches over the years on the lens, and I had my fair share of hitting the lens :)

comment 1y ago · link · parent

The closest thing I could find on the parent commenters blog was this

https://joshkaramuth.com/blog/django-deployment/

But it doesn't go over multi-instance coordination

comment 1y ago · link · parent

I thought litestream was just for streaming backups? How does it enable you to coordinate with multiple instances of an application? Is one instance the "primary" where writes all go and either can serve as a reader?

comment 1y ago · link · parent

Awesome, going to follow along the development!

comment 1y ago · link · parent

Neat! From a high level what's the difference between litebase and Turso?

comment 1y ago · link · parent

I've been using RSS via the Readwise "Reader" app over the last year and it's been awesome. First time using RSS and love that so many developers make sure they have feeds on their blogs.

The lack of the algorithmic "feed" and the fact that I'm "pulling" rather than being "fed" content is such a great change in content consumption.

12345
20