I use ksp for code generation, so you don't have to write those ugly hacks for kotlin.
You write something like p1 and got something like p2 and p3 automatically.
Setting up a NUC for my friend. I was plan to use some off the shelf solutions like truenas or something, until he told me the demand.
He want a usable linux desktop, while it also provides a way for accessing remotely andprivately. Also he want a media center and a storage device. And it would be so great if I can somehow put a software router in it too.
So I decide to go with opensuse Tumbleweed with Gnome Wayland. Setting up a proxy would ease the internet issues. Then, I use tailscale for private remote access and plex for media center. I also installed cockpit for management (so I can know what's going on if something going wrong in the future).
There are a lot of changes to the original plan. And mostly because I don't know how to create a bridge using want interface under network manager (I'd prefer wicked), so the kvm and openwrt will not run on this nuc.
The plex is a huge pain too. It keeps failing to scan the files and turns out it's me forgetting to change the permissions. I eventually setup a cron script running every minute to apply 777 to that folder, hopefully won't cause performance issue.
Also, btrfs support from opensuse is great. If something goes wrong, I can told him just boot from a previous working snapshot.
I think that's the best I can get. The raw image is ~90MB, and the picture 1 is jpg compressed (~5MB). And the Picture 2 is decoded from picture 1.
For this picture, I only modified Y channel, since UV channel will affect the color and 8x8 block with "wrong" color is super sus.
Also, the way I hide bits into S matrix of SVD is a kind of quantization. With d = 46, bit 0 is `[floor(v / d) + 0.25] * d`, and bit 1 is `[floor(v / d) + 0.75] * d`. A bigger d will result banding and low picture quality. But smaller d won't encode info well.
You have to subscribe to YouTube premium to use the screen lock feature? (The feature to prevent false touch when watching videos).
If you have to subscribe to the premium plan to get high bitrate videos, that's acceptable. But screen lock? VLC has this feature for years, and it's free of charge.
Google, really? 🤔
Tried to implement a paper based on its abstract, because I'm not willing to pay 40 USD. The result is a mix of success and failure.
The paper introduced a steganography called DWT-DCT-SVD, which is applying DWT to a picture and then applying DCT and finally encoding bits into the S matrix of the SVD operation.
The first picture is encoded picture after jpeg compression (photoshop, quality 8, raw picture is 90MB in png), picture 2 is the intended decoded result, and picture 3 is the jpeg decoded result. I would say not bad...
... unless you zoom in on the picture and notice there are a lot of stripes giving off the fact that this picture is suspicious (picture 4).
Samsung dex really amazed me.
If I don't write code and do not need special things (like working with LaTeX or something), in most cast, you can live with a android device. I though android phones are just phones, cannot replace a PC. but now I finnally understand why people don't need a laptop/PC anymore.
But I still miss my spell check plugin (This post is written without any tech assist, hope you can still read what I typed, because I think I made a lot of typo and grammar mistakes).
**I have a job now!**
I'm a Chinese shitizen, but I generally don't post in Chinese to avoid being suffering from other Chinese.
I'm physically a male, but I don't care how people think about my gender. I can be male, or female, or cat. But if you ask, I'd prefer to be referred to as male. Also, I support LGBT+ people, and I'm a copyleft. I don't think I'm too aggressive in arguing things, but sometimes I do. You should handle it with care.
I post about programming (most time is Java and Kotlin, unless I have a new love), and some random things I find interesting. I also post about my mental health, which is in a stable state of instability, thanks to my parents and Chinese society.
Anyway, if you want to follow me, I'm glad to see you. And, have a nice day.
Alt: @skyblond