Show newer

Invitation denied.

10 friends? On ActivityPub? What a luxury.

But I do manage to found some (2) screenshots from movies I watched. Normally I don't save screenshots any more. I used to write reviews, until I found out I'm bad at writing.

Gustavo Ogasawara  
@lgpsales invited me to participate in a challenge in which, for ten days, the person needs to post one image per day from a movie, without posters...

Got a new temporary tent for long time storage. Don't have a dedicated room, but at least got a tent. :ablobnervous:

My last tent is an outdoor tent which has been dismantled by wild cats during the last strong cold wave. They cut the tent and make it a wild cat shelter, which makes it unusable anymore.

Also, the Cat Repellents Sprays are totally useless.

Moving around tapes. Finding out where the tape is after forward and backward N file marks.

Turns out Microsoft's win32 api generates the same result with Linux's mt command.

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 would say win32 api is actually not bad. Despite the fact that I don't know how to write C and CPP in a proper way, meaning not just submit the code to get an "AC", but an actual project, where you build something for people to actually use, either lib or executable.

Microsoft did a decent job with the documentation. The cmake side needs a bit of work. Yeah, I don't know how to properly config it. Thanks to Google, I still don't know how, but it's working.

I blame c++ for my degraded sleep quality.

While jextract makes the header translation much easier compared to JNA and JNR, but win32 api still does not work, and c++ support is not good.

The standard header from llama.cpp is working, but other functionalities like grammar parsing and sampling init is not included. They shipped as a common component in the example codes. While I want to compile the example code as a shared lib and invoke them from Java, the jextract has some problems with C++ headers and not happy with it.

For wintun, it uses win32 headers in its header files, which let jextract to process (almost) the whole win32 lib. The pointer size seems to be a problem. One said it should be 32 bits but another said 64 bits.

No wonder it's still in preview stage.

Got my watch fixed. Spent a week and about 75USD.

I know casio's gshock is very tough.It already amazed me when I found the core is still functional after a great crash. I spent two weeks to regain my ability to walk, and until last week my last wound was healed.

Now I'm amazed again by its toughness. There is a huge crack in the front glass, across both XZ plane and Y axis. I assume the front glass is fragile, but guess what? I pushed on it and it still holds! This huge crack even failed to penetrate the whole glass! The inner side of the glass is still one piece.

With additional 2 backups, I guess it's a lifetime guarantee.

天空вℓσи∂  
Recently I'm thinking about purchasing a new watch. My old watch is destoryed during the bike crash in Oct. Being hesitated on a metal g-shock squ...

这封垃圾邮件整的还挺文雅,最后摘抄一段罗宾科克的《爆发》

可是手段本身太假了啊喂

Recently I'm thinking about purchasing a new watch. My old watch is destoryed during the bike crash in Oct.

Being hesitated on a metal g-shock square, with a electric coated blue circle, about 500 USD (GMW-B5000PC-1). Still not very like it, the blue is kind of green-ish and the whole watch is silver-ish white. And I hate bluetooth on my watch, I don't need it.

On a second thought, I purchased 2 almost new second hand watch which are the same model as my old one (GW-M5610BA-1JF), costing only 300 USD in total. It's not the flagship model, but I like it :)

Also, after a careful visual check, it appears that my old destoryed watch only have damage on the front glass and the resin strap, the core/movement is totally fine (the button is fine, illuminator is working, beeping sounds loud and clear, the multiband wave function is not test because I can't get the signal here).

Today I'm going visit a caiso repaire shop and see if they can fix this "JF" watch (the casio watch that only sold in Japan) here in China, but if I can, then I'll get 3 identical watches. Based on g-shock's reputation, I think I can rest my whole life on them. No need to buy more watch😋

Well, although windows is suck, the powershell is not bad. I like it more than bash.

This is technically a backup. While cygwin has some performance issue with pipe, I can avoid that by letting dd read the whole disk and write to tape.

It's hard to read (have to dump to a spare disk then pick the file I need), but it still cound as a backup, I guess.

Wait, what?

Cygwin can detect my tape drive and put it to /dev/st0?

Now I'm going to read the 9th chapter of tar manual.

Despite TeraCopy has a better GUI, it actually faster than ltfscopy.

The ltfscopy simply calls other program like copy (on Windows, or cp on Linux), then call md5sum twice to get original file hash and target file hash, all in sequence. Which I think you can calculate the hash when you copying it, or just calculate the two md5 checksum at the same time.

With a 330GB file, my SSD can read up to 300MB/s, and LTO6 tape drive can read up to 160MB/s. I can save ~18 minutes just by doing it smarter.

PS: TeraCopy do support SHA3-256 but it can only handle ~80MB/s, which is a huge shame. I have to use Blake3 to speed things up.

Just notice how picky lto tapes are. Winter is fine, and the room temperature ranges from 20 C to 30 C, with 20% RH.

Summer is difficult. 40C with 90% RH.

I can't wait to see my tapes become a solid chunk of films and become unreadable :ablobcry:

While HPE didn't enclose any label stickers in the package, the logo itself looks like a good place to write notes 😂

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.