verstra

joined 2 years ago
[–] verstra@programming.dev 2 points 4 hours ago

Ok, good point, most languages I know use "C-style sequential function-calling" paradigm. Is there a specific idea that you have for a language that would better utilize our CPUs?

Notation that treats asynchronous message-passing as fundamental rather than exceptional.

I'm pretty sure there exists at least one research paper about notation for the actor pattern.

You explain pretty well why you don't think C is a good fit for hardware we have today, but that warrants a proposal for something better. Because I for sure don't want to debug programs where everything is happening in parallel (as it does in pong).

[–] verstra@programming.dev 1 points 4 days ago (3 children)

Pigs is a blanket? Why, americans, why do you invent such strange names for normal food, such as "sausage in bread"^1?

[–] verstra@programming.dev 1 points 3 weeks ago (1 children)

I wouldn't say so - it's not streaming app views from the server, it provides containers for apps, segmented into "grains". So each open document gets it's own container. Other than that, it's just normal web apps (like immich or seafile).

[–] verstra@programming.dev 2 points 3 weeks ago

For example, ether pad (document editor) is a) packaged to be single-click deployable on sandstorm (this is similar to dokploy), but also b) modified so that it runs each document as a "grain".

In sandstorm, "grain" is some chunk of data + an instance of the app running. So when you open a document, it will spawn a new process for it on the server and attach the data needed to that process (similar to how you would attach volumes to docker containers). This grain is isolated from other open documents, which is good for security, but also good for development:

  • apps don't need to handle the organization or storage of documents (they just write to a dir and sandstorm associates it with the grain),
  • apps don't need to handle user auth or permissions,
[–] verstra@programming.dev 2 points 3 weeks ago (2 children)

The revolutionary thing about sandstorm is not all that much about administering hosting as it is about integrating deeply with applications.

 

Is anyone here running Sandstorm? If yes, what's your experience?

I really like the idea of "grains" where an instance of the app runs for each document/project/unit of data your app has. It does improve security a lot, because it is very similar as running root-less docker.

I also like the unified auth and user management sandstorm provides.

[–] verstra@programming.dev 9 points 4 weeks ago (1 children)

My matrix server is nearing 5 years old. I have federation disabled, because I don't need that - we are using it as a family chat. sqlite database I'm using is now 2GB, but other than that it is working great.

I do acknowledge that I'm not leveraging the things matrix is designed for (federation, e2e encryption), but to be honest, it's not really good at that.

[–] verstra@programming.dev 11 points 1 month ago (2 children)

clap already supports all this: https://docs.rs/clap/latest/clap/struct.Arg.html#method.conflicts_with It's just a great library, having you could think of and applying the same parse-don't-validate mentality.

[–] verstra@programming.dev 8 points 1 month ago (1 children)

What would you say is the benefit to the consumer of common ownership here?

[–] verstra@programming.dev 12 points 1 month ago (7 children)

Jellyfin, and yes it thinks its very cleaver with mumbling metadata.

[–] verstra@programming.dev 7 points 1 month ago (1 children)

What has to be linear? Vector?matrix? Tensor? Neither makes sense

[–] verstra@programming.dev 5 points 1 month ago (1 children)

What's your location? America, Europe, Asia?

Try this out: https://identify.plantnet.org/

[–] verstra@programming.dev 2 points 1 month ago (1 children)

Small frutis might mean it is too cold. It could also lack nutrition.

You should think about different conditions (how wet is the soil, have i provided enough nutrients, what was the temperature) and cross-off different causes of this.

 

I don't have much to say, only that I expected flutter to be a bloated fragile abstraction on top of different native GUI APIs, but no.

It's quite fast, relatively easy to develop and it just works.

I'm working on a desktop app that needs a high-perf rust impl, and (for now) flutter looks like a much better choice than tauri.

 

When I was in high school I found Sublime Text and learned "multiple cursors". Since then, I've transitioned to vscode, mainly because I need LSP (without too much configuration work) for my work.

I keep hearing about how modal editing is faster and I would like to switch to a more performant editor. I've been looking at helix, as the 4th generation of the vi line of editors. Is anyone using it? Is it any good for the main code editor?

The problem that I have is that learning new editing keybindings would probably take me a month of time, before I get to the same amount of productivity (if I ever get here at all). So I'm looking for advice of people who have already done that before.

My code editing does involve a lot of "ctrl-arrow" to move around words, "ctrl-shift-arrow" to select words, "home/end" to move to beginning/end of the line, "ctrl-d" for "new cursor at next occurrence", "shift-alt-down" for "new cursor in the line below", "ctrl-shift-f" for "format file" and a few more to move around using LSP-provided "declaration"/"usages".

I would have to unlearn all of that.

Also, I do use "ctrl-arrow" to edit this post. Have you changed keybindings in firefox too?

 

Anyone using soucehut (sr.ht)? Can you please explain to me how you navigate the site?

I really like the minimalist approach and extremely fast website UI, but I just cannot navigate the site.

If I'm looking at source of a repo on https://git.sr.ht/ and want to see open tickets, how do I navigate to https://todo.sr.ht/ ? If I click on "todo" at the top, it takes me to my todo lists, not todo of the project I was just looking at.

 

I'd expect the state to have a list of all its citizens and their basic personal info (age) which could be used to determine their eligibility for voting. In my country, we get a "invitation" to the vote, with your voter station and info on how to change it.

Instead, I'm seeing posts about USA's "voter rolls", which are sometimes purged, which prevents people from voting. Isn't this an attack on the voting system and democracy itself?

So why doesn't USA have a list of voters? Are they stupid?

 

I know that the answer is yes, I should, but outlets near the setup are not grounded (even though they look like they are) and I don't want to have wires running though my living room.

The real question is what are potential problems ? Occasional system reboots? Permanent damage to PSU? Permanent damage to other components?

 
 

I'll just come out and say it: 50W. I know, I know an order of magnitude above what's actually needed to host websites, media center and image gallery.

But it is a computer I had on-hand and which would be turned on a quarter of the day anyway. And these 50W also warm my home, although this is less efficient than the heat pump, of course.

What's your usage? What do you host?

view more: next ›