verstra

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

There is also gruvbox. Not as much support, but I like it.

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

My laptops runs postgres, but it is still pretty portable

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

We are a matrix family, mind you.

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

Fun fact: in rust and python, they use "selfself" instead of "meme"

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

There are only two hard problems in computer science:

  • naming things,
  • cache invalidation,
  • off-by-one errors.

I'm afraid you've fell victim to the problem 2.

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

Well, no. They are not certainly using int, they might be using a more efficient data type.

This might be for legacy reasons or it might be intentional because it might actually matter a lot. If I make up an example, chat_participant_id is definitely stored with each message and probably also in some index, so you can search the messages. Multiply this over all chats on WhatsApp, even the ones with only two people in, and the difference between u8 and u16 might matter a lot.

But I understand how a TypeScript or Java dev could think that the difference between 1 and 4 bytes is negligible.

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

Maybe checkout Pixelfed, which is (from what I gather) similar to what instagram was 10 years ago

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

I hate that the pleasant news about standardization of CSV come with the let-down that is using two bytes for new lines.

[–] verstra@programming.dev 3 points 1 month ago

Or a pair of boots, a great backpack, hiking trousers, helmet, harness and a "via ferrata cable kit".

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

~10 manual mid-range tools and enough wood to make a nice looking jewellery box.

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

Dan Luu. From summary of summaries:

I suspect I might prefer Rust once it's more stable.

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

Just because we cannot prove something, doesn't mean that we can treat strong claims the same way as proven hypnosis. If we cannot prove that UBI is overall beneficial, we just cannot believe it with the same certainty that we would if we had a bunch of studys on our side.

Look, I'm not saying that we have nothing - I'm just saying that what we have are educated guesses, not proven facts. Maybe "open question" was too strong of a term.

 

I've played driller with all possible weapons and when going on a haz 5 dreadnought mission, I figured cryo was the best main weapon.

And it sucked. Real low damage output. I've tried to freeze it and then throw the axe, but it was not dealing much damage.

Is it just me, or should we be picking 2 engies and 2 gunners for dreadnoughts?

 

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.

 

If it compiles it works, right?

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

 

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.

 

An interesting take. Not sure if it goes here.

 
 

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 ›