Show newer

Trying to print some data using this 57mm pocket thermal printer.

Tried data matrix, aztec, qr code and pdf417. Although pdf 417 and data matrix code looks nice, the best one seems to be qr code. With finder pattern on the corner, it's more resistant to the wobble of the paper.

Aztec put the finder pattern on the center, didn't perform better than qr code.

A pratical way to test memory leak.
Run this program with -Xmx128M, if it finished the loop, then your'r leak free. LOL

Anyway, after digging into win32's doc, it should be working. Now it need some OOP wrapping and then will be ready to go.

Pcap4J is AMAZING!!!

My Java code created a tun device, assigned v6 address: 0020::100/7. That's all.

I use pcap4j to parse the request packet and build the reply packet. It works!

I really want to pay someone to port those win32 headers for me.

I got the LUID, then to assign IPv6 for that tun device, I have to port the MIB_UNICASTIPADDRESS_ROW structure to Java, which of course is nested with other structures.

OMG

I hate win32.

Apparently, I forgot to run my Java program in privilege mode, so it gives a error 5 (Access is denied), which you have to ask it by invoking GetLastError().

And then, there is encoding issues. I give it plain ASCII chars, and windows think it's some Chinese characters.

My heart is physically pain at the moment.

好想买磁带机啊

但是好贵啊

而且我还没有工作

When I saw this replication at 14, it's really amazed me.

Now I'm 22, I'm still amazed.

Maybe nixie tubes are low efficiency, power hungry, fragile, but it's romantic.

If I got the opportunity to invest in something, the first thing might be an anonymous P2P overlay network, then followed by recreating those nixie tubes, not designing new ones, but mimicking the shape of those classic models.

Apparently, the Chinese government is still hesitant to block my server. My server gets blocked, then unblocked, then blocked again. And all it runs is i2p and ipfs. LOL

(Maybe tor? I don't remembered)

Just did a quick search in this leak.

I did not find myself, or my friends.

Boring.

(Actually, I'm pretty glad that I'm not in the leak. My email address will deanonymize me easily.)

That might be the fanciest email I got about closing my account.

Other websites, even the big companies like adobe, is like "yeah, your account is closed, bye~", or NordVPN is like: do really want to close your account? Ok, your account is delete, you can register again at any time.

But hey, at least they closed my account, and I do get a response. Good job.

I really appreciate the website that allows you to close your account by yourself.

Maybe, sending an email to request that is acceptable.

But adding a "customer support" on telegram/WeChat/QQ? Why do I need to talk to a person when I just want to delete my unused account?

And I certainly remembered there is a company that does the email things for you, but I can't remember the name. It's the sponsor of some IT related YouTubers. When I saw the ad, I thought who needs that, closing accounts is super easy. Now? I see it's a torment and I definitely need one.

Why I have to download their app to delete my account?

Stupid Chinese websites.

My app use jnr-fuse, so even if groovy can be somehow optimized by GraalVM/s native image, the jnr part would be failed anyway.

So, now I'm curious about how much faster can I get by only switching the JVM to GraalVM.

When I test with Minecraft, Azul's Zing gives the best optimization, but it only runs on Linux.

So, maybe GraalVM can give a similar result AND running on Windows?

How could firefox screwed this up?

Firefox 108.0.1, come with openSUSE by default. Open jetbrains.org, try find the IDEA page to download it, then firefox crashes.

How to recreate: Just open jetbrains.com/idea/ , it crashes.

Show older
Qoto Mastodon

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