towerful

joined 2 years ago
[–] towerful@programming.dev 1 points 9 hours ago

No idea. Haven't started digging into it yet

[–] towerful@programming.dev 6 points 2 days ago (2 children)

27:1 kd would be accused of cheating in video games.

Because this stat isn't really a stat and isn't hyped or published, I'm going by DDG AI assist which suggests US k:d in Iraq is 44:1

The U.S. military suffered approximately 4,492 deaths and around 32,292 wounded during the Iraq War, while estimates suggest around 200,000 Iraqi civilians were killed. This results in a rough kill-to-death ratio of about 44:1, favoring U.S. forces, though this does not account for all combatants and the complexities of the conflict.

Considering that Ukraine isn't killing civilians... Classic AI bullshit uselessness.
If I killed 27 enemy aggressors while defending my country, I would die happy. I don't ever want to be in that position, I don't think anyone should ever be in that position. But that is an achievement, under the circumstances, to be proud of

[–] towerful@programming.dev 8 points 2 days ago* (last edited 2 days ago) (2 children)

TIDALs continued awesomeness suggests suitable alternatives.
Spotify pays Joe Rogan how much? And pays artists how little?
TIDAL does music.
I changed a few years ago, and all I miss are the integrations.
I'm lucky that I have decent speakers & dac on my desktop, and decent IEMs. So I can listen to music where I want.
But I can't buy a "tidal speaker" in the way I could buy a "Spotify speaker".
But I'm arrogantly confident enough to waste some money solving this with home assistant, some rpi/nucs, and some speakers. I feel I don't need (I actually don't want a vendor locked in) "just works" solution, and I'm happy rolling my own.

[–] towerful@programming.dev 7 points 3 days ago

And so it begins

[–] towerful@programming.dev 4 points 4 days ago* (last edited 4 days ago)

Yeh, either proxy editing (where it's low res versions until export).

Or you could try a more suitable intermediary codec.
I presume you are editing h.264 or something else with "temporal compression". Essentially there are a few full frames every second, and the other frames are stored as changes. Massively reduces file size, but makes random access expensive as hell.

Something like ProRes, DNxHD... I'm sure there are more. They store every frame, so decoding doesn't require loading the last full frame and applying the changes to the current frame.
You will end up with massive files (compared to h.264 etc), but they should run a lot better for editing.
And they are lossless, so you convert source footage then just work away.

Really high res projects will combine both of these. Proxy editing with intermediary codecs

[–] towerful@programming.dev 26 points 5 days ago (1 children)

I'd rather they u-turned shitty ideas than waffle-stomp them through.
How the fuck the OSA seemed to just drift through is astounding

[–] towerful@programming.dev 2 points 6 days ago* (last edited 6 days ago) (1 children)

I think it's the take(10) that makes it performant.
I guess things like any() will also short-circuit having to process the entire array through a chain of operators before acting on a subset of the final processed array.
If that makes sense....

But if you are filtering then mapping an array, an iterator won't help. You need to go through every element of the source array (to filter) then every element of the filtered array (to map) anyway. There is no opportunity to short circuit, so an iterator won't help.
Edit: and I bet there is overhead keeping iterators active/alive and context switching as each new iteration gets requested, instead of batch processing an array then moving on to the next batch process.

[–] towerful@programming.dev 3 points 6 days ago

They are only open sourcing the spaghetti that sticks to the wall.
Carefully curated and redacted/obscured/replaced where appropriate.
Probably removing hard coded rules like "always show musk tweets" and stuff like that

[–] towerful@programming.dev 4 points 1 week ago

What I'd recommend is setting up a few testing systems with 2-3GB of swap or more, and monitoring what happens over the course of a week or so under varying (memory) load conditions. As long as you haven't encountered severe memory starvation during that week – in which case the test will not have been very useful – you will probably end up with some number of MB of swap occupied.

And

[... On Linux Kernel > 4.0] having a swap size of a few GB keeps your options open on modern kernels.

And finally

For laptop/desktop users who want to hibernate to swap, this also needs to be taken into account – in this case your swap file should be at least your physical RAM size.

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

I've been using EndeavourOS for 12 months now.
Very light steam gaming. Office stuff is basically web browsers (occasionally I have to swap to windows boot for silly excel spreadsheets that don't work online). Programming is delightful.
It's been solid, and the installer was great.
The major issues have been from dual booting windows (disable fast boot!) and from not updating frequently enough (keychain issues, tho endeavouros has plenty of "newb needs to update" helpers).

I love it. It's mine, I own that laptop, and endeavouros works for me. I feel so much more in control than I ever did on windows.
I do have some basic experience running Debian servers (VMs for single service, or docker stuff), and I do programming.

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

I did this my my new pixel 8 pro. I loved it.
It was so easy, it worked, I was in control of my device.

Contactless payment didn't work.
Which is a deal breaker for me.

I looked at some fin-tech solutions, I even bought a pixel watch (which didnt work because I have a workspace account). None of them let me work around the issue. Contactless just wouldn't work.

Had to go back to stock android.
I'm constantly checking in on their attribution/verification/whatever status that would allow them to offer contactless payment (currently offered by android/apple/banks, but no open source software).
I want grapheneos and contactless so badly!

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

Yeh, ventoy takes an extra step (but ventoy is itself an extra step): find the iso from a legit source instead of using the media creation tool, install software to edit iso, add unattended.xml to the iso, plop iso on ventoy drive.

Anyone playing around with or working with Linux/windows:
Check out ventoy. I think they've solved their issues of binary blobs and it is so useful.
Create a Ventoy usb drive. Drag any and all OS ISOs onto the USB stick. Boot from the USB, choose which ISO to actually boot.
Want to switch flavours of live Linux (or try another installer)? Boot from usb, choose different ISO.
Absolutely fantastic software

 

(not sure where to post this...)

I had an idea there might be a TUI lib for typescript. A duckduckgo search came up with an article that described exactly what I wanted!
So of course I immediately searched for this fabled tui lib. A quick search didn't reveal anything, and npm can't seem to find it either! https://www.npmjs.com/search?q=Tui
Navigating directly to the npm package page reveals a 10 year old got repo with no actual code... (https://github.com/basarat/tui)

What the scuff is this world coming to?!
This seems to absolutely align with my experience of using LLMs

(Also accepting suggestions for typescript TUI libs that actually exist!)

 

I've been here a while, and I appreciate the community and the defed/hiding list.
I also know programming.dev contributes to upstream Lemmy repos.

I saw another post about another instances funding.
Which reminded me....

Is programming.dev on track for funding?
Need some more donations?
Is there a runway?

view more: next ›