verstra

joined 1 year ago
[–] verstra@programming.dev 5 points 2 weeks ago (11 children)

Documentation should be generated from code imo

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

I agree, this is an anti-pattern for me.

Having explicit throw keywords is much more readable compared to hiding flow-control into helper functions.

[–] verstra@programming.dev 5 points 4 weeks ago (2 children)

Positive and negative what?

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

We do have "permanent address" here too and it is used to determine the voter station and district and thus the representative candidates you can vote.

Is the "permanent address" a thing just for the voting system, or is it used for other bureaucracy as well?

 

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?

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

That's right. Let's return to basics, to the first programming language we learn as developers: Pascal. Well at least I have, I assume everyone does too.

/s

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

Maybe search for this on kaggle? Or scrape Wikipedia?

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

It works great for a closed group of people, all on one instance. Another data point that federation is hard.

[–] verstra@programming.dev 1 points 2 months ago

Oh, i have to try these out to see if it effects my development cycle. I do notice that cargo check is super fast, but cargo build takes a long time. So codegen and linker could be the source of slowness.

[–] verstra@programming.dev 15 points 2 months ago (2 children)

For a clean build: number of cores (because cargo builds each crate dependency in a separate process), for a build of your crate only: single core perf.

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

This is all hard to do because it is hard to determine people's race on lemmy. Some usernames give it away but most don't. And I don't go snooping trough their post history to find that out.

[–] verstra@programming.dev 6 points 3 months ago

I'm reading this at 4:39 it seems like you got woken up by the alarm, could not fall asleep again and grudgingly made this comic

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

In my case, it just worked, on two machines. Just added steam and lutris into the config along with two other options recommended for gaming and it worked.

 

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 ›