3
submitted 1 week ago* (last edited 1 week ago) by corvus@lemmy.ml to c/termux@programming.dev

Is there a way to watch YouTube videos in termux using yt-dlp? I installed mpv and tried

yt-dlp $url -o - | mpv -

as I do on Linux desktop. The stream starts but it doesn't show anything.

[-] corvus@lemmy.ml 28 points 2 months ago

Don't missionaries go to heaven as well?

12
submitted 3 months ago* (last edited 3 months ago) by corvus@lemmy.ml to c/linux@lemmy.ml

I have a laptop with an Intel i5-1335 CPU and I'm about to receive a mini PC with a Ryzen 8845HS, which is going to be my main computer now. If I just install the SSD M.2 of the laptop on the mini PC, is there any software I need to install that was not installed when first installed Linux on the SSD while being in the laptop? Or something that I need to change in the configuration concerning the new architecture? is it OK to do that? In other words, can Linux deal with the change without any issue or misconfiguration? Just trying to see if I can avoid the work of installing Linux from zero and all the software that I already have on the laptop. I'm using Debian Trixie.

6
submitted 7 months ago* (last edited 7 months ago) by corvus@lemmy.ml to c/kde@lemmy.ml

Overall I find Plasma 6 a big leap in quality but there are some things that bother me, it could be my ineptitude to find the solution, bugs, definite changes or because of using wayland, so I'd appreciate any clue:

  1. I don't find the way to set autologin in system settings
  2. I don't know how to put Kate as a system tray icon, it's not on the list of entries
  3. If Kate or Okular are already open and I right click a document from Dolphin to open it, they do so but they stay in the background if they were there. The same happens if I open the file from the comand line, like kate doc.txt
  4. meta+arrow_key tile the window according to the arrow key used. Doing the same again return the window back to the original position in Plasma 5 (or X11). Very handy. Doesn't happen anymore.

Probably I'm forgetting something else but solving those would be great.

[-] corvus@lemmy.ml 21 points 7 months ago

Your toxic partner: "What were you doing at that cafe at 5:42 PM"

[-] corvus@lemmy.ml 18 points 7 months ago* (last edited 7 months ago)

Twelve years ago Moto X was launched by Motorola, at that time controlled by Google. I had it and at any moment you could say "Hello Google, what time is it?" and it responded. I was constantly listening. All the time. And it was a perfectly normal phone regarding battery life or data usage. TWELVE years ago, imagine how much easier would be to implement that now, with more powerful and efficient chips and bigger batteries.

From an article about Moto X back then: "If you want to take a selfie, you should be able to simply say “Take a selfie!” In short, your smartphone should live up to its name. That’s the goal with the Moto Voice and Moto Assist software integrated into the second generation Moto X smartphone. And to do that, the Moto X is always listening, for verbal commands from the user and also ambient cues of the context. That emergent behavior is spawned by complex interactions between the software and hardware"

Only much latter I came to the conclusion that with Moto X Google was making its first tests on using the microphone for mass surveillance.

6
submitted 8 months ago by corvus@lemmy.ml to c/cpp@lemmy.ml

Using the -j option is ignored. About two weeks ago I found out that cmake was compiling with only one thread but everything was ok a couple of months ago. I'm using Debian Trixie which is still in testing so I thought it was a bug, but after many system updates I didn't saw cmake being updated. I couldn't find anything after a some searches. Another related issue is that I recently compiled a new version of a qt app with an edit box to set the number of threads for running LLMs, after the last compilation it doesn't allow to set more than one. Any clue?

10
submitted 10 months ago by corvus@lemmy.ml to c/localllama@sh.itjust.works

I didn't expect a 8B-F16 model with 16GB on disk could be run in my laptop with only 16GB of RAM and integrated GPU, It was painfuly slow, like 0.3 t/s, but it ran. Then I learnt that you can effectively run a model from your storage without loading into memory and checked that it was exactly the case, the memory usage kept constant at around 20% with and without running the model. The problem is that gpt4all-chat is running all the models greater than 1.5B in this way, and the difference is huge as the 1.5b model runs at 20 t/s. Even a distilled 6.7B_Q8 model with roughly 7GB on disk that has plenty of room (12GB RAM free) didn't move the memory usage and it was also very slow (3 tokens/sec). I'm pretty new to this field so I'm probably missing something basic, but I just followed the instrucctions for downloading it and compile it.

7
submitted 11 months ago* (last edited 11 months ago) by corvus@lemmy.ml to c/debian@lemmy.ml

In Debian live images the links to download the testing branch are broken. Any alternative way to download them?

29
submitted 11 months ago by corvus@lemmy.ml to c/linux@lemmy.ml

I bought a laptop with windows 11 instaled in its 256gb nmve ssd. I want to install linux but I want to first create an image of the ssd and store it in an external 4tb ssd with a ext4 filesystem (that I use for different backups) so in case I want to sell the laptop later I can restore windows 11 to the same ssd from the image. So what i'm planning to do is:

  • dd if=/dev/drive_device of=external_ssd/images/windows11.img

for creating the image and swapping if and of for restoring. My question is if creating the image of a drive with a windows 11 filesystem and storing it in a ext4 filesystem is possible or can have any issue. I ask this because I read that in the case of cloning the target drive will end up with the filesystem of the source drive in case they are different, which caused me some hesitation.

15
submitted 1 year ago* (last edited 1 year ago) by corvus@lemmy.ml to c/linux@lemmy.ml

The situation is this:

  • I use a bluetooth dongle ASUS UB400 on my PC, bluetooth version 4.0
  • My Sony wh-1000xm5 (bluetooth version 5.3) is not detected by the PC when I scan for new bluetooth devices
  • Another Anker Soundcore Q20 headphones are detected and working fine, like the mouse and a bluetooth speaker.
  • The Sony is detected by my android smartphones and working fine
  • I switched the dongle with another one with different brand, and all the devices were detected (and work fine) with the excepcion of the Sony.
  • Using Debian 12.8 and tested with bluetoothctl

Any advice is welcome.

28
submitted 1 year ago* (last edited 1 year ago) by corvus@lemmy.ml to c/piracy@lemmy.dbzer0.com

I've been using mov-cli and lobster to watch movies and series from the command line, I installed their lastest versions but they don't seem to be working anymore. I really liked their simplicity of typing the title of a movie or series and start watching on mpv. Is there any other software that works in the same way?

[-] corvus@lemmy.ml 27 points 1 year ago

I would say most funny... but the worst because you have to read the whole paper to know what it is about.

48
submitted 1 year ago* (last edited 1 year ago) by corvus@lemmy.ml to c/linux@lemmy.ml

There is a feature in termux (android) history command which when you use !371 to execute the command 371 in the command history it prints that command in the prompt instead of executing it, then you just press enter to execute it. I found it very useful because many times I want to execute a command that is in the history but with some modification, I'm using Konsole in my desktop PC and I couldn't find an option to make such a thing. The only one I found is executing history -p !371, but that just print the command to stdout and not to the prompt itself.

EDIT: the answer is !371:p then up and the command 371 shows up in the prompt. Thanks Schizo!

50
submitted 1 year ago by corvus@lemmy.ml to c/opensource@lemmy.ml

cross-posted from: https://lemmy.ml/post/21430107

I'm having trouble to find a bluetooth dongle at least 3.0 that needs no propietary firmware. It's easy to find dongles advertised as linux compatible or users that claim that an specific brand works fine in linux, but the problem is that many of them are using propietary firmware without their users being aware because their distributions have already installed propietary drivers or firmwares, or ask users to install them and they just do it. I use debian main repository (without non-free software) in which I failed to make work a couple of linux compatible advertised dongles because debian ask me to install a propietary firmware. So if anyone knows for certain that some brand that needs no such a software in linux I'll apreciate your help.

49
submitted 1 year ago by corvus@lemmy.ml to c/linux@lemmy.ml

I'm having trouble to find a bluetooth dongle at least 3.0 that needs no propietary firmware. It's easy to find dongles advertised as linux compatible or users that claim that an specific brand works fine in linux, but the problem is that many of them are using propietary firmware without their users being aware because their distributions have already installed propietary drivers or firmwares, or ask users to install them and they just do it. I use debian main repository (without non-free software) in which I failed to make work a couple of linux compatible advertised dongles because debian ask me to install a propietary firmware. So if anyone knows for certain that some brand that needs no such a software in linux I'll apreciate your help.

[-] corvus@lemmy.ml 18 points 1 year ago

No daily anxiety at all, just being aware of the dangers. When I drive and see a red light I just stop, there is no anxiety involved, I'm just aware of the dangers of crossing. If you are not aware of the dangers of the excessive digital exposure and surveillance you should subscribe to this community and read what's going on in China and in an increasing number of western countries in relation to this.

[-] corvus@lemmy.ml 39 points 1 year ago

How many years until they run out of characters?

[-] corvus@lemmy.ml 18 points 2 years ago* (last edited 2 years ago)

It's about time it's also the title of one of the best introductory books on relativity by David Mermin. Specially for those who aren't good at math but want to understand it beyond popular science books.

[-] corvus@lemmy.ml 18 points 2 years ago* (last edited 2 years ago)

Yes, It is MRI... Man Roughly Incinerated.

[-] corvus@lemmy.ml 23 points 2 years ago* (last edited 2 years ago)

It refers to the ability to locate the source of a sound. It supposes that the localization is achieved only by the difference of the time of arrival of the sound to both ears. That's why the curve is a hyperbola, which is the set of points which distances to the foci (ears) have the same difference, so you couldn't differentiate which of all the points in the hyperbola is the actual source (confusion). But this is too simplistic, the auditory system is much more sophisticated and the source can be localized by other means.

Sound Localization

[-] corvus@lemmy.ml 32 points 2 years ago

It's totally doable because they are real people.

[-] corvus@lemmy.ml 49 points 2 years ago

Unbeatable running multiple threads

[-] corvus@lemmy.ml 15 points 2 years ago

You should try lemmy, it's almost everything what you describe you are missing. Jokes aside, I think that what you refer is mainstream internet, which like music is usually shitty if it's mainstream, to find the good stuff you have to take your time to dig deeper. Internet is an incredible tool and it's being used both to enslave and to free people.

view more: next ›

corvus

joined 2 years ago