Can't believe there is sus C/C++ code mixed in my Kotlin/JVM project 😜
Must be Broadcom wifi card. They are pain under linux https://www.cyberciti.biz/faq/fedora-linux-install-broadcom-wl-sta-wireless-driver-for-bcm43228/ always go with intel or Atheros
AI doesn't help on my SCSI issue. They can't provide me with a manual or book or reference or something else. They just claim it. I won't allow unclear code to stay in my project. Either I figure them out, or I remove them.
And to my surprise, while I didn't get any useful help from AI (llm), a lot of my ex-classmates and friends said chatgpt help them learning. ![]()
As I'm still being unemployed, I have greater and greater pressure to get a job every day.
Thankfully, I don't have a debt to worry about.
----
what school didn't teach you about money
by Answer in Progress
https://www.youtube.com/watch?v=CA3_urdUAoQ
Several days ago I was suffering from jextract and the new project Panama things. Since it's new, there is not much useful documentation and can't get it work in a frustrating day. I was thinking maybe I'm not good at java stuff and should quit and become a Uber eat delivery guy or something. (I blame HR for those negative thoughts)
After several days of suffering and trying, I kind of know how it works and now I'm even writing win32 library in C++. I
m amazing ![]()
Several days ago I was suffering from jextract and the new project Panama things. Since it's new, there is not much useful documentation and can't get it work in a frustrating day. I was thinking maybe I'm not good at java stuff and should quit and become a Uber eat delivery guy or something. (I blame HR for those negative thoughts)
After several days of suffering and trying, I kind of know how it works and now I'm even writing win32 library in C++. I
m amazing ![]()
Can't imagine now I'm writing C++ and using windows api. I almost reject everything that cannot run on JVM.
Yesterday I thought I'm going to give up during configure the project or compile with MSVC. But appallingly, I get it working and go those far.
Life is full of surprise.
Can't imagine now I'm writing C++ and using windows api. I almost reject everything that cannot run on JVM.
Yesterday I thought I'm going to give up during configure the project or compile with MSVC. But appallingly, I get it working and go those far.
Life is full of surprise.
Never though I'm going to dive so deep in this Win32 rabbit hole.
I was originally thinking just wrote a simple wrapper of win32's tape API, but then I realized that the encryption is missing. With Win32's tape api, you can basically implement something like `/dev/st0` (simple read and write) amd `mt` command (rewind, seek, set compression, etc.). I was thinking just use LTOEnc for encryption control.
But that software can only read the encryption key from a file, which, to me, is a big security hole: I can do that in memory, why write to the disk temporarily?
So I start reading LTOEnc's code. I found Microsoft really don't want you to directly talk to SCSI. I read their documents, they never said about IOCTL_SCSI_PASS_THROUGH_DIRECT. They are recommending something like IOCTL_CDROM or something that is not so lower level.
Anyway, thanks to LTOEnc, and Oracle's helpdesk generously providing HPE product's tech ref manual, I now can implement the encryption control in my win32 lib. And soon I can do that in Java.
**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 a 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 (for Chinese content): @skyblond