Better HN
topnewbestaskshowjobs
Log inSign up

swlkr

935 karma · joined Sep 21, 2009 (17y ago) · 419 submissions

https://swlkr.com
Submissions

comment 10mo ago · link · parent

I love this. digital sovereignty sounds so cool too

comment 10mo ago · link · parent

Oh, I didn't know that, I guess from the outside it never seems that way.

comment 10mo ago · link · parent

My conspiracy theory is that the EU is actively trying to create their own cloud through regulation after seeing the economic success from china's internet companies after the great firewall.

comment 10mo ago · link · parent

Im not sure whose job it is to only write beautiful code.

If that's the case, zero programmers should be worried.

Beautiful code only tends to exist in open source.

comment 10mo ago · link · parent

there's always carp lang but no gc

comment 1y ago · link · parent

Pulling everything into the type system does lead to madness.

Luckily i'm just the mad scientist to recreate a non-async rust web stack, here's the sqlite bit if you're interested.

https://github.com/swlkr/sqltight

comment 2y ago · link · parent

im fairly sure helix-gpt does this, though i haven't tried it

comment 2y ago · link · parent

I also use helix and i've been getting some mileage out of aider, the cli tool. Confusing name, as I don't believe aider is affiliated with aide

comment 2y ago · link · parent

will do, it definitely needs some documentation tlc

comment 2y ago · link · parent

It really is, axum is great by itself, but it's always nice to have a few nice-to-haves on top

comment 2y ago · link · parent

It also has a db! macro that lets you write sql and it maps it to rust structs and fns, I've made some improvements to the macro here https://github.com/swlkr/static_sqlite

12.

Show HN: Ryde, a Rust Web Framework(github.com ↗)

48 points · by swlkr · 2y ago · 10 comments

comment 2y ago · link · parent

rust and ryde (my own framework on top of axum and rusqlite)

comment 2y ago · link · parent

I'm the same way, it's one of the reasons I use helix, even for non rust dev

comment 2y ago · link · parent

We are humans but to HR, we're human resources.

comment 2y ago · link · parent

If they stuck with a scheme syntax, it would have been easier to make it a compiler target.

We might have had web assembly earlier

comment 3y ago · link · parent

Rails really is the premiere framework for web development speed

comment 3y ago · link · parent

A little trait heavy, but overall it's ok! I like the extractors, didn't at first but I learned to love them.

Middleware::from_fn was a life saver in the current version, middleware was kind of annoying before that was added.

Would prefer something more like graphul but haven't given it a shot yet.

comment 3y ago · link · parent

rails for work, axum for side projects

comment 3y ago · link · parent

Dioxus liveview or if you don't want websockets, dioxus fullstack, you can use warp or salvo but axum is good.

Rust embed is also great, I cross compile everything into a single dynamically linked binary and scp to my vps, deployment is a breeze.

comment 3y ago · link · parent

it's not possible currently

comment 3y ago · link · parent

electric is the state of the art in clojure nowadays from my understanding

comment 3y ago · link · parent

cars dot com uses it

comment 3y ago · link · parent

This feels like they spent a lot of money on the metaverse, it didn't work out, so now they're raising money by doing layoffs

comment 3y ago · link · parent

Dioxus liveview is so good.

I tried it with salvo and it just worked (tm).

The only downside which they're working on is some kind of socket reconnect if someone navigates away and the socket gets disconnected for some reason

comment 3y ago · link · parent

This article is a great intro to prompt engineering.

It helped me with my own prompts!

comment 3y ago · link · parent

I've used dokku to great effect.

SSHing into a new linux VPS can be intimidating but there a few good digital ocean tutorials that'll take you from new VPS to dokku and once you're there it's very much a PaaS

comment 3y ago · link · parent

There have been incremental improvements lately that might lead to code in a db instead of flat files at some point in the near future:

- rise of autoformatters

- language servers decoupling editing from editors

- all in one build tools (cargo, go)

This might be case of happens slowly then all at once.

It's not an insane jump from LSPs to new editor UIs and since the code is formatted on save, people care less about the minutiae of 80 char lines.

comment 3y ago · link · parent

I own a 2018 4Runner, best purchase I've ever made.

The touchscreen is small and only for music or nav.

The controls for A/C and cruise and everything real are large, beautiful buttons.

comment 3y ago · link · parent

- helix https://helix-editor.com/

- cleanshot x https://cleanshot.com/

- btm https://github.com/ClementTsang/bottom

12345
14