verstra

joined 2 years ago
[–] verstra 12 points 13 hours ago

sus of them to drop the slogan "don't be evil"

[–] verstra 8 points 13 hours ago (1 children)

Interestingly, the name of cat command comes from "concatenate", which implies that the original purpose of the command was to concatenate byte streams into one. But for me, it is now just the command that "prints a file"

[–] verstra 7 points 13 hours ago (3 children)
[–] verstra 3 points 2 days ago

Apparently, PHP has a low threshold for making something an "official" api

[–] verstra 6 points 2 days ago

Gender PHP extension is a port of the gender.c program ... The main purpose is to find out the gender of firstnames.

As of why, you don't need a why in open source. Some people treat gender as a function of their firstname, apparently, and need that information somewhere - maybe for localization, maybe for personalization, maybe for form-filling auto-suggestion purposes.

[–] verstra 3 points 4 days ago (4 children)
[–] verstra 55 points 1 week ago (15 children)

Power corrupts. No single country should be a global superpower

[–] verstra 4 points 1 week ago

Climbing helped. If you say "I'm too old for that" it is joe ver for you already

[–] verstra 12 points 2 weeks ago (3 children)

What's the other 10%? BSD?

[–] verstra 4 points 2 weeks ago

Same here. I have a sushi belt for asteroid chunks and ammo, whose primary function is being a buffer that can hold a bunch of items.

Then there is reprocessing hooked right into it, with a single decider per crusher to control it.

[–] verstra 9 points 2 weeks ago (4 children)

I've just built the first platform with railguns and was great improvement over rockets for big asteroids. I do find that going slower does mean less asteroids, which gives your guns more time to shoot them down and also more time to manufacture ammunition.

So even if there would be no correlation between speed and asteroid density, you don't want to go too fast as that overwhelms turrets and manufacturing.

[–] verstra 5 points 3 weeks ago (2 children)

My quick guess would be that this a theory that explain some weird phenomenon we don't have a good explanation for yet. Like how we observe that stars and galaxies don't orbit as they should and then say that there is "dark mass" which is responsible.

208
submitted 2 months ago by verstra to c/programmer_humor
 

If it compiles it works, right?

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

112
submitted 2 months ago* (last edited 2 months ago) by verstra to c/programming
 

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
submitted 3 months ago by verstra to c/programming
 

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.

-2
The Origins of Wokeness (paulgraham.com)
submitted 3 months ago by verstra to c/[email protected]
 

An interesting take. Not sure if it goes here.

5
Trains go brrrr (programming.dev)
submitted 4 months ago by verstra to c/[email protected]
 
 

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?

 

It seems like the nodes I find using wishbone are small and underwater. Are they even worth it?

view more: next ›