HackerTrans
TopNewTrendsCommentsPastAskShowJobs

srhtftw

no profile record

comments

srhtftw
·10 mesi fa·discuss
All I want from a phone is to make and receive phone calls from people I know. I don't want texting. I don't want photos. I don't want apps. I have a dumb Consumer Cellular Link II burner phone if I need to receive an SMS.

I had high hopes for the PinePhone but the one I got can't even reliably make or receive calls so it sits in my desk drawer.

Will someone please sell me a simple phone that works without any smart crap?
srhtftw
·10 mesi fa·discuss
https://en.wikipedia.org/wiki/Fifteen_Million_Merits
srhtftw
·11 mesi fa·discuss
I use SourceHut¹ to serve git for a few private projects.

I wanted to use their pages service as well to serve an SPA but their https://srht.site/limitations prevent SPAs from contacting external services I need. I get why they do that but I need my SPA to let users login to their databases and there's simply no way to do that while adhering to SourceHut's policy.

Fortunately pico.sh², codeberg³ and GitLab⁴ (not GitHub) don't have that restriction. I experimented with each of them last year. All of them worked reasonably well. Eventually I settled on GitLab which had the nicest CI/CD of the three at the time.

¹- https://sr.ht

²- https://pico.sh

³- https://codeberg.org

⁴- https://gitlab.com
srhtftw
·2 anni fa·discuss
I don't believe anyone has done that yet in the way I think you're thinking for Effect-ts - i.e. something which would give effect execution a kind of location-transparency.

That said, the person who built the ZIO project which inspired Effect-ts is now working on an exciting project called Golem Cloud¹ which aims to provide durable and reliable location-transparent execution of Wasm programs.

Mike Stonebraker's DBOS² looks to provide something similar for Typescript.

¹ https://github.com/golemcloud

² https://www.dbos.dev
srhtftw
·2 anni fa·discuss
Indeed both Zod and Schema are great with Effect.
srhtftw
·2 anni fa·discuss
I've used Effect-ts for a little under a year.

It's great for workflows with clear points in the logic where things should happen and it provides more sophisticated (i.e. powerful but harder to master) tools like Fibers and Streams which allow you to reason about failure cases of reactive asynchronous operations. In many cases it offers a clear path out of callback-hell that is more reliable than promises and async/await.

However while the Effect-ts docs are getting better and may be ok for people with a good knowledge of functional programming and Typescript, they are nowhere near the quality they need to be for those who don't. People looking for examples online will get frustrated because Effect API churn over the past three years has made many old posts and articles obsolete. Old github repos won't work out of the box. And you better be comfortable with codemods if you haven't frozen your Effect-ts version.

Fortunately the Effect-ts Discord channel is full of friendly and helpful people and the Effect team provides high quality assistance to people who ask for it. It makes me sad this treasure trove of information is trapped in Discord where search is of little value.

A good book or collection of high quality examples of how to use Effect-ts with de-facto standard frameworks like React could help its adoption grow significantly.
srhtftw
·4 anni fa·discuss
In principle there's nothing wrong with Java but every Java shop I've worked at has made me sad. Lots of dynamic stuff glued together by plugins, DI, crazy configs, weird XML meta languages, runtime NPEs, stuff falling over at all hours, everyone on-call, etc...

Python shops weren't much better. Enormous products of complexity, plugin frameworks to config other plugins...

Go is not without its problems but at least it reins in much of the dynamic complexity (although systems like K8S built above it seem to add it back). For a lot of things it's better than Java or Python.

I haven't yet worked at a Rust shop but I've used it on a few small things of my own and it seems to strike a good balance and Rust/Wasm looks really promising.

So if I have the choice I'll go with a Rust startup, a Go startup, a Python/Java startup in that order.