DasOhmoff San

35 posts

DasOhmoff San

DasOhmoff San

@dasohmoff

Katılım Temmuz 2022
63 Takip Edilen0 Takipçiler
Adam Basis
Adam Basis@AdamBasis·
C macro trick you didn't know, chaining macro calls macro()()() combined with parameter overloading allows something similar to pattern matching. You can have as many (condition, value) maps as you want, the last (value) is treated as the default value.
Adam Basis tweet media
English
1
0
3
116
DasOhmoff San
DasOhmoff San@dasohmoff·
@filpizlo Do you think that doing big refactorings in a let's say 200k line codebase in a non typed language is as reliable and easy as in a staticly typed language?
English
1
0
12
816
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan If deploying and using native Apps on Phone and PC was not that sh***y, I would just build native Apps and be done. But their OS failed, that's why another OS on top (browser) is needed, where installing and using Apps is simple. It's just by opening a URL. If only OS were good
English
0
0
1
94
Datastar CEO
Datastar CEO@DelaneyGillilan·
If you want local first, build a native app. Trying to do so in a browser's local storage, lack of filesystem/syscalls/simd/etc is pure folly. If you want to make web apps, make web apps. I don't care if we are popular, I just care to get off the crazy train. Hypermedia first
Ryan Carniato@RyanCarniato

I mean that is where we are at. Whether we are talking offline first, sync engines etc, these optimistic affordances. If you want to talk SPA this is where things are. You can fundamental disagree with it, but just how Marko couldn't convince people they didn't need a client side router. You have the same sort of challenge.

English
7
0
41
5.1K
Adam Basis
Adam Basis@AdamBasis·
I heard emf is bad for sleep so hear me out, why don't we build a bed but it's in a faraday cage
English
1
0
1
154
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan @asilvadesigns Yes, Datastar looks amazing and a lot better than the alternatives, @DelaneyGillilan made very good points and made me rethink a bunch of things. I still have to process what we talked about and try it out for myself, I am looking forward to try it out on my next site
English
0
0
7
553
Datastar CEO
Datastar CEO@DelaneyGillilan·
@asilvadesigns For posterity, @dasohmoff and I had a great talk about the differences between web as a hypermedia client and as a deployment platform. Can't wait to see what he builds next!
English
1
0
3
63
Datastar CEO
Datastar CEO@DelaneyGillilan·
Just so others can see... You version doesn't follow the Tao and is relying on SPA like front end handling so I revised. Datastar allows you to keep most logic in the language of your choice. It's simpler than you think gist.github.com/delaneyj/fc9c1…
DasOhmoff San@dasohmoff

@DelaneyGillilan 5: The code and content without split into multiple messages and images in case you want to copy it or view it in a single file or so: pastebin.com/Jj3gi7av

English
1
0
11
1K
Datastar CEO
Datastar CEO@DelaneyGillilan·
@dasohmoff Join our Discord and let's have a real conversation
English
1
0
0
66
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan It kind of funny, because I am one of those people that actually dislikes SQL, and would use it as an example of why I dislike declarative stuff, because of me having to deal with it's huge queries and unclear effects, I guess people value different things :)
English
1
0
0
28
Datastar CEO
Datastar CEO@DelaneyGillilan·
@dasohmoff It's declarative nature is it's super power. Like SQL, declarative let's you show intent and leaves the how to the underlying engine.
English
1
0
1
42
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan Yeah, I am actually doing some experiments with webasm and without using any libraries or runtimes to keep the build small. It's not great, but I will see what I can do. I like that my wasm code runs exactly the same on all machines, so that's cool
English
0
0
1
18
Datastar CEO
Datastar CEO@DelaneyGillilan·
@dasohmoff Then to that, raylib and wasm are fine if you don't want to play by the rules and norms of hypermedia
English
1
0
1
53
Datastar CEO
Datastar CEO@DelaneyGillilan·
@dasohmoff Then you are building it wrong imo. Show proof of the issues is we can't help. Datastar is about immediate mode in a language agnostic way.
English
5
0
1
176
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan 4: (There is some comment text at the top of the images, which basically explains what I mean) Just to be clear, I am of course only talking about the frontend code here
English
0
0
1
22
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan To clarify, I agree in many cases state should live on the server. I am talking about all the other parts where state has to be local on the client, like interaction, layout, and transient UI behavior. That is where the declarative model still feels hard to reason about for me.
English
1
0
1
39
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan Is your experience different? Have you found a way to make the declarative side feel as predictable as a procedural rendering loop?
English
1
0
1
32
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan So even if other tooling solves data flow or backend interaction nicely, the underlying declarative model of the web still feels like the main source of friction to me.
English
0
0
0
19
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan And to be clear, this is not about your framework specifically. I mean this more generally about the web stack. When something breaks, there is often no clear control flow to step through, and not even a proper debugger where I can follow execution line by line.
English
1
0
0
33
DasOhmoff San
DasOhmoff San@dasohmoff·
@DelaneyGillilan On top of that, HTML and CSS still feel inconsistent across browsers and devices. Even today, things can render slightly differently or break in subtle ways depending on the environment.
English
0
0
1
17