Ferk

joined 2 years ago
[–] Ferk@programming.dev 5 points 2 weeks ago

git commit -m "$(fortune | cowsay)"

[–] Ferk@programming.dev 4 points 2 weeks ago* (last edited 2 weeks ago)

Allow blob:// videos to be saved normally. It’s just a file. I’m looking at it. Move it from memory to the hard drive.

True. Although in many cases this is indicative of a stream (not really a traditional file for the browser), but at the very least, even in the (rare?) cases that there isn't cached content already, it should theoretically be possible to start saving the video the moment you press on the save button...

Already the "picture-in-picture" mode Firefox offers is a step in the right direction, imho. It allows the browser to take over control of the playback, which is something some places try to forbid.

[–] Ferk@programming.dev 1 points 2 weeks ago* (last edited 2 weeks ago)

All you need is the promptbar. No need to waste resources rendering a bloated page. Have the AI summarize the contents in one sentence and then speak it out loud so I don't have to read.

[–] Ferk@programming.dev 3 points 2 weeks ago (1 children)

What'd be the result for IsEven(1)?

[–] Ferk@programming.dev 5 points 2 months ago* (last edited 2 months ago) (3 children)

I mean, isn't that what "get on or get left behind" means?

It does not necessarily mean you'll lose your job. Nor does "get on" mean you have to become a specialist on it.

The post picks specifically on things that didn't catch on (or that only catched on for a period of time but were eventually superseeded), but does not apply it to other successful technologies.

[–] Ferk@programming.dev 4 points 3 months ago

Real programmers use C-x butterfly

[–] Ferk@programming.dev 1 points 6 months ago* (last edited 6 months ago)

Yes, but you know what I did? nothing, I just have the program exclusively accept lowercase doom.wad

This means it became annoying for the user. The problem shifted and now it's the end-user the one with the responsibility to read the manual and do the work. A lot of people just get a DOOM.WAD, put it there and are surprised it doesn't work.

And there are many many programs that are doing the same thing in many similar situations. In fact, in the Linux world, most software pushes this to the end user. So this is just as much of a problem for users as it is for programmers.

At the end of the day, the question should not be: is it more complexity for the user or for the programmer? ..the question should be: what's the end cause making it complex? is there a way it can be made simpler?

This is the same for every problem. Often user-friendliness is a tradeoff, most user-friendly software I've used keeps so much complexity within that it becomes annoyingly slow and inefficient. I'd rather use the terminal for file management than wait for the GUI file browser to finish loading my huge remote storage directories.

[–] Ferk@programming.dev 2 points 6 months ago* (last edited 6 months ago) (2 children)

But then you are not getting rid of the complexity, you are just forcing programs to become more complex/inefficient.

I experienced this with the doom libretro core, which is meant to be portable and have minimal dependencies... so if I need it to automatically find DOOM.WAD/ doom.wad/Doom.WAD/etc in a directory I would either have to add a globbing library as dependency to handle this case and have it fetch [Dd][Oo][Oo][Mm].[Ww][Aa][Dd], manually check for each possible case, or list the entire directory (I hope you don't have a library of a million wads!) and compare each file (after upper/lower) just to find the one with the right name. And that could be a real pain for embedded devices with low I/O or if there's a remote storage layer behind.

[–] Ferk@programming.dev 1 points 6 months ago* (last edited 6 months ago) (1 children)

I'm with you, and not just from a "human" perspective. Also when writing small programs meant to be relatively lean/simple it can be a problem when the user expects it to find a particular file regardless of its case (will it be DOOM.WAD or doom.wad? Doom.wad? Doom.WAD? ... guess it'll have to be [Dd][Oo][Oo][Mm].[Ww][Aa][Dd] and import some globbing library as extra dependency... that, or list the whole directory regardless its size and lower/upper every single filename until you find a matching one...)

[–] Ferk@programming.dev 3 points 7 months ago* (last edited 7 months ago)

Awesome!

I assume it's storing the images and assets in base64 format, so it might get quite big. I always wished there was a standard way to package a website in a single compressed file. Sort of like an epub / ODF kind of format that keeps the website layout. But this is the next best thing.

[–] Ferk@programming.dev 2 points 7 months ago* (last edited 7 months ago) (1 children)

And if looking for Rust alternatives, there's dua.

Particularly user friendly when called in interactive mode with dua i, you can navigate the tree immediately as it populates and calculates space progressively.

[–] Ferk@programming.dev 0 points 1 year ago* (last edited 1 year ago)

That's horrible for muscle memory, every time I switch desk/keyboard I have to re-learn the position of the home/end/delete/PgUp/PgDn keys.

I got used to Ctrl-a / Ctrl-e and it became second nature, my hands don't have to fish for extra keys, to the point that it becomes annoying when a program does not support that. Some map Ctrl-a to "Select all" so, for input fields where the selection is one line, I'd rather Ctrl-a then left/right to go to the beginning/end than fish for home/end, wherever they are.

view more: next ›