Show newer

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.

I would say groovy is the best scripting language on JVM platform.

And character encoding is the worst thing in the world. I use UTF-8 to make my file compatible with other OS, but stupid windows decide to use GB2312 when I use Chinese.

So, in the screenshot, you can see I successfully integrate groovy scripting in my program, but somehow the JVM failed to translate the file related string from gb2312 to UTF-8.

According to StackOverflow, from PS core v6+, UTF-8 without BOM is the default encoding. But sadly, I'm on v5.

Wow.

Somehow, visualization is the most fascinating tech to me. Of course, sounds and other things are fantastic, but it all takes time to feel. For example, the sound, you have to listen to it second by second. Any fast-forwarding will result in an abnormal feeling (and we called it "distortion"). In contrast, images are just lying in front of you, and you can watch the whole film by seeing all frames (assuming it's a physical film, not something digital).

And by converting sounds and other info into images, we humans might not able to read it (you can't read a QR code by just staring at it, right? Right?), it's kind of abstract to us. But it is also concrete enough that allows us to roughly understand what's going on there. Just looking those digital dolby sound encoding in the film, it's not the changes in air pressure (something we called sound), it is the SOUND.

* Maybe, I mean maybe, because I don't know how to properly write frontend things and do data visualization, so I feel it's super cool to me. LOL
----
The Optical Audio of Sound-On-Film
by Technology Connections
youtube.com/watch?v=tg--L9TKL0

Show older
Qoto Mastodon

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