HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nop_slide

no profile record

Submissions

The Exe.dev iOS App

blog.exe.dev
1 points·by nop_slide·há 27 dias·0 comments

Welcome to the Wasteland: A Thousand Gas Towns

steve-yegge.medium.com
68 points·by nop_slide·há 4 meses·96 comments

Base Power raises $1B to deploy home batteries everywhere

techcrunch.com
2 points·by nop_slide·há 9 meses·0 comments

comments

nop_slide
·mês passado·discuss
Anyone have a copy? Author seems to have deleted it
nop_slide
·há 2 meses·discuss
This is what I use, great little library and haven’t touched nor thought about my auth since I set it up.
nop_slide
·há 2 meses·discuss
All in*
nop_slide
·há 3 meses·discuss
Anyone remember Sproutcore JS? They used state charts.

https://guides.sproutcore.com/getting_started_2.html
nop_slide
·há 3 meses·discuss
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".
nop_slide
·há 3 meses·discuss
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?
nop_slide
·há 3 meses·discuss
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
nop_slide
·há 4 meses·discuss
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.
nop_slide
·há 5 meses·discuss
why split, you could use railway and render for both front end and back end
nop_slide
·há 6 meses·discuss
You might find https://www.basepowercompany.com/ interesting, 25kwh battery for $700 down and $20/month
nop_slide
·há 7 meses·discuss
Or just don’t do retro and save even more time and money!
nop_slide
·há 9 meses·discuss
> 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.
nop_slide
·há 9 meses·discuss
Sounds like what https://www.basepowercompany.com/ is doing
nop_slide
·há 9 meses·discuss
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.
nop_slide
·há 9 meses·discuss
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.
nop_slide
·há 9 meses·discuss
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.
nop_slide
·há 9 meses·discuss
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.
nop_slide
·há 9 meses·discuss
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.
nop_slide
·há 10 meses·discuss
Ah got it, thanks for explaining and clarifying!

Cheers
nop_slide
·há 10 meses·discuss
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 :)