[-] verstra@programming.dev 5 points 2 days ago

Sure, do recommend - I'd need a basic overview, but not too deep, as I don't have enough motivation for in-depth review of all socialist governments in the last two centuries.

[-] verstra@programming.dev 1 points 2 days ago

I've tried nextcloud, it felt too slow.

Why would you want that all in one container?

I don't want it, SeaFile provides only such conglomerate Dockerfile. And I didn't have much success with writing my own Dockerfile for it. It's terrible.

[-] verstra@programming.dev 1 points 2 days ago

To be honest, I know little about Mao and beginnings of PRC - I'm quite ignorant about how much of an "absolute leader" he was.

But I do believe that idolizing a person and concentration of power are dangerous to democracy.

And it's interesting how much responses I got on this topic.

[-] verstra@programming.dev 1 points 2 days ago

I would say that Hungary is currently quite authoritarian. And Serbia too. Nazi Germany and Fascist Italy were too, very much so.

[-] verstra@programming.dev 6 points 3 days ago

Any language feature with such a long definition is a bad language feature.

The less such features, the better the language.

Thus, javascript is not a "good" language for expressing your programs.

[-] verstra@programming.dev 2 points 3 days ago

This is just what I need. A few months ago, SeaFile shat the bed and I just could be bothered to fix it. It's deployment is a mess - a server, then a frontend host, a reverse proxy, a database - all in one container!

So I will try this out. I was contemplating building a thing like this myself, so I can contribute fixes/features too.

[-] verstra@programming.dev -1 points 3 days ago

Dronies? Is this an evolution of takies? A subspicies?

[-] verstra@programming.dev 73 points 3 days ago

Have you erased the continuation of the message that is saying something about "similar names, but are actually two distinct types"?

It is a common error if you have two dependecies that export the same third dependency and your code makes an assumption that the versions of the third dep match.

All other languages either straight-up don't support multiple versions of the same dep, or throw random errors at runtime. So this message is a consequence of rust supporting things that other langs only dream of.

208

If it compiles it works, right?

I'm not gonna act like I read it all.

112
submitted 4 months ago* (last edited 4 months ago) by verstra@programming.dev to c/programming@programming.dev

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?

31

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.

56
490
72

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?

[-] verstra@programming.dev 157 points 1 year ago

What i don't understand is how fuel efficiency does not seem to be a concern of an average buyer? It is a large factor for me, and I'm proud to have highly efficient car for its class. Are those large trucks somehow more efficient than older, smaller models? Or are average buyers just not concerned with efficiency?

Well not everyone has seen the light of factorio, so i might be over-fixating on efficiency.

194
[-] verstra@programming.dev 88 points 1 year ago

Oh it would not be Polexit. There are way better names available than that. Polout, for example.

80

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?

[-] verstra@programming.dev 81 points 1 year ago

Please, dont joke with things like this. Someone might take you seriously...

-16
view more: next ›

verstra

joined 2 years ago