[-] I_like_cats@lemmy.one 93 points 1 month ago

My mother uses some software that runs in the browser for her shop. It can print out receipts and scan items. To do these things it has a small "sattelite" application that runs on the system and interacts with the printer and scanner. This software only runs on Windows and Linux doesn't have drivers for the scanner.

When I switched her over to Linux and found this out in the process I wanted to stop, give up and install windows.

But then I had a stupid idea. I could run the sattelite program in a Windows VM and pass through the USB devices for receipt printer and scanner. The webapp uses requests to localhost:9998 to communicate with the sattelite so I set up a apache server that proxies these requests into the VM. I also prevented the VM from acessing the Interner so Windows doesn't update and screw everything up.

And it works. It has been in use for a week now and I've heard no complaints. I'm just praying to god it doesn't break

3

So, I've had a bit of a stupid idea for my next programming project, which would be implementing a Microsoft Recall alternative for Linux where the data is encrypted. I've now written a bit of code and have come to the point where I'd need to encrypt the files. My plan was to use asymmetric encryption where the secret key is again encrypted using something like AES and the user needs to decrypt the private key to view the screenshots taken / data extracted from the screenshots.

I have now learned that asymmetric encryption is very slow and it's generally not designed to encrypt large chunks of data, so I'm not sure how to continue. Do you think asymmetric encryption is feasible for this? Any idea how else to do the encryption? Ideally I would like for the server that takes the screenshots to not have a key that can decrypt the files since that wouldn't be as secure.

[-] I_like_cats@lemmy.one 226 points 6 months ago

The HDMI forum is run by big companies so that is not happening, sorry

[-] I_like_cats@lemmy.one 62 points 9 months ago

What? This meme is about a transaction between two trans people but that doesn't mean all Paypal users are trans. But I agree that PayPal is proprietary software and should be banished. I will delete my account now. I planned to do it for a while but haven't got around to it yet

424
Deadname rule (lemmy.one)
[-] I_like_cats@lemmy.one 50 points 9 months ago

I know. I also use VSCode. However I just hate how much ram it uses. I had a Laptop with 4Gb of ram and I could not open VsCode on that thing when I had literally anything else open because the system would freeze.

Just because VsCode uses Electron doesn't mean that Electron is not bad

[-] I_like_cats@lemmy.one 104 points 9 months ago

There's no such thing as a efficient electron app. First electron apps have 80MB of overhead since electron needs to bundle a whole ass browser. Also in runtime this requires 120MB of ram.

If you really want to use webviews to make an app use Tauri.

30
ich🤮 iel (lemmy.one)
submitted 10 months ago by I_like_cats@lemmy.one to c/ich_iel@feddit.de
[-] I_like_cats@lemmy.one 53 points 1 year ago* (last edited 1 year ago)

Little bit sus.

Go to the ublock origin extension in firefox and click open dashboard. Then unter filter lists make sure to select everything under annoyances. I haven't tested it but it should work

Edit: Also click the confirm and update icons at the top

14
submitted 1 year ago by I_like_cats@lemmy.one to c/rust@lemmy.ml

I want to build a small gui application in rust. What are my options for application storage? I have heard of the confi crate but I want to save a bit more than just configuration. Is there a crate that handles this for me easily?

[-] I_like_cats@lemmy.one 84 points 1 year ago

There isn't one. I watched it yesterday. There's just a scene where the bombing is announced to the scientists

[-] I_like_cats@lemmy.one 50 points 1 year ago

That's the clutch and the brake tho

[-] I_like_cats@lemmy.one 64 points 1 year ago

But that's something new to learn and configure. I just want to code why should I spend my time learning another text editor when vscodium is fine

[-] I_like_cats@lemmy.one 130 points 1 year ago

Linux has a merged mitigation so when the new kernel comes out Linux users will be safe

[-] I_like_cats@lemmy.one 77 points 1 year ago

Great! Automated discrimination against the poor

30

Mine are:

  • Turning the spark wheel on a lighter in my pocket
  • Biting a finger
[-] I_like_cats@lemmy.one 204 points 1 year ago

Meta plans to work with ActivityPub, a vendor that already partners with Mastodon and is currently working on a deal with Tumblr. The agreement isn’t finalized yet, but has been referenced in press releases announcing Threads.

Lol. The author of this article is braindead and has no Idea what he's writing about. ActivityPub is an open standard not a vendor. There can't be an agreement because there's no one to agree with. All they will do is implement the standard

111
Ru(wu)le (lemmy.one)
10
submitted 1 year ago* (last edited 1 year ago) by I_like_cats@lemmy.one to c/196@lemmy.blahaj.zone
92
rule (lemmy.one)
62
rule (lemmy.one)
5
Look at him (lemmy.one)
submitted 1 year ago by I_like_cats@lemmy.one to c/aww@lemmy.ml

:)

15
submitted 1 year ago by I_like_cats@lemmy.one to c/196@lemmy.world
7
view more: next ›

I_like_cats

joined 1 year ago