HNHacker News
TopNewBestAskShowJobs

bullen

750 karma · joined September 11, 2015

https://multiplayeronlinestandard.com https://tinspin.itch.io
submissionscomments
bullen··on One Third of the Web Will Stop Working in 4 Days
I think I figured out a way to do secure registration with a MITM without certificates, so there might be a way out from this mess.

But still you need to transfer the client and check it's hash for it to work and that's hard to implement in practice.

But you could bootstrap the thing over HTTPS (the download of the client) and then not need it ever again which is neat. Specially if you use TCP/HTTP now.

bullen··on Fast
If you want fast try booting your old DDR3 computer, that's fast!
bullen··on Writing memory efficient C structs
Adding to this you want the struct to be exactly 64 bytes, even on Apple MX processors which have 128 bytes of cache.
bullen··on A low power 1U Raspberry Pi cluster server for inexpensive colocation (2021)
I use 3.5mm barreljack splitter cables and 3.5mm barrel to USB micro/C adapters.
bullen··on A low power 1U Raspberry Pi cluster server for inexpensive colocation (2021)
You are in for surprises down the road, RAM and SSD breaks, the larger/faster they are the sooner they break.

DDR2 (667MHz) > DDR3 (1.6GHz) > DDR4 (3.2GHz) etc. in longevity. and cas latency

<100GB SSDs from 2010-2015 out last all later >100GB SSDs.

SD cards can last 12 years before failing I know because I ran 2x 32GB SanDisk into the ground, one is still up sort of...

bullen··on A low power 1U Raspberry Pi cluster server for inexpensive colocation (2021)
I built the cluster thick instead: https://github.com/tinspin/rupy

And selfhost on home fiber.

Saves space and cools silently.

Mixing old 2 and 4 for different use cases.

Raspberry 5 and 3588 are too hot.

Not in the picture Mean Well 50W passive PSU.

bullen··on Boost HTML5 Game Performance with WebAssembly
The javascript bridge including threading bottlenecks are never going away.

It would be faster to put Java Applets back into browsers, including implementing a new sandbox.

bullen··on Can Software Be Durable?
C and Java are the most durable in different ways.

- C gives you the least likely to be broken by evolution of OSes without added effort, because they need backwards compatibility.

- Java will be even more durable as it can be implemented/fixed after you compile your software. I ran my games compiled 20 years ago on a Risc-V computer flawlessly = not a single glitch! That said it requires JVM efforts to be maintained.

Oracle is heading the wrong direction in every aspect (removing fundamental features like sandbox without a clear path to replacement), but the bytecode standard will prevail, ahead of clones like C# and WASM.

That said if you make a VM why not have it JiT/AoT on all 3 bytecodes?

Either way the JVM is the final emulator, as long as it's maintained.

bullen··on Mill: A better build tool for Java, Scala, and Kotlin
I'm still happy with ant.

It works well and I don't have huge dependencies.

I only use mail, db's, JSON and QR, so I can upload the dependencies into the repo and they haven changed for decades.

bullen··on Bitchat – A decentralized messaging app that works over Bluetooth mesh networks
Would it work: yes, could it be disrupted: also yes.

Timing is the key: you want to start working on it when the regular internet shows cracks.

In the meantime, build features that work in both worlds!

http://radiomesh.org

bullen··on Reinvent the Wheel
When people say "don't reinvent the wheel" they really mean to say "don't copy the wheel".

Reinvent means changing something, hopefully for the better:

http://move.rupy.se/file/wheel.jpg

bullen··on Lessons from Mixing Rust and Java: Fast, Safe, and Practical
I agree that Java + native is the way to go.

But does rust really give you an edge over C/C++?

Here is how you do JNI with C++: http://move.rupy.se/file/jvm.txt

So simple it's ridiculous!

Then you can use RegisterNatives to give C++ API to the Java side instead of the stub (Java calls C++ .dll/.so) thing...

bullen··on Show HN: VectorVFS, your filesystem as a vector database
I did something similar, but I use these EXT4 requirements:

  - hard links (only tar works for backup)
  - small file size (or inodes run out before disk space)
http://root.rupy.se

It's very useful for global distributed real-time data that don't need the P in CAP for writes.

(no new data can be created if one node is offline = you can login, but not register)

bullen··on Found a simple tool for database modeling: dbdiagram.io
I made a database ORM editor too: https://tinspin.itch.io/node

Mine is a desktop Java app. that exports XML that then gets converted to SQL (create.sql)

and ORM Java sources with the matching SQL queries. No reflection, just code generation.

Should work with MySQL (MariaDB), Postgres and Oracle.

bullen··on TLS Certificate Lifetimes Will Officially Reduce to 47 Days
If you have the inverse requirement = identity and no encryption I heartily recommend: https://datatracker.ietf.org/doc/html/rfc2289
bullen··on Liberapay
I wish they had ways to setup fixed price recurring payment items.

Right now I use gumroad but they take a very high fee.

bullen··on Java 24
I disagree with them, all.

I also dislike the Win32 removal since JDK 22, but I understand that Windows 32-bit assembly is un-maintainable. There is a reason ARM keeps 32-bit.

The Security Manager was not so hard to maintain it merited a removal without replacement.

bullen··on Java 24
Found this: https://www.reddit.com/r/java/comments/15ksmm2/javas_securit...

Nothing sticks out, except container companies are probably very happy?

I wonder if the guys working on this did a search before starting: https://github.com/search?type=code&q=AccessController.doPri... (187k files)

bullen··on Java 24
I have read it but it does not make sense.

This work is destructive for no reason.

But I am curious how classloaders will work now!?

bullen··on Java 24
I meant to 17 so they would see the warning.
bullen··on Java 24
Can you point to one vuln?

> I don't think I buy your assertion that nobody has upgraded.

Nobody that uses Security Manager has upgraded I meant.

bullen··on Java 24
Security Manager is one of the only unique selling points of Java, to remove it (without removing it because you need it underneath) is as big of a blunder as removing Applets from browsers and replacing it with something worse: WASM without GC and then adding GC to WASM...

If SVTwP is not better than NIO; Java ends with JDK 23.

> Warnings issued in JDK 17–23 generated minimal discussion in the Java ecosystem

Because no feature added after 1.8 made sense, so nobody upgraded. They are taking decisions off the wrong data.

> they are encouraged to transition to alternative sandboxing and API interception mechanisms

Feel free to link to anything useful!

bullen··on Java 24
Yes!

I will compare my NIO multiplayer system to SVTwP (Sync. Virt. Threads without Pinning) and report back!

bullen··on Java 24
For ARM32 and Risc-V releases they should appear in the coming days here: https://bell-sw.com/pages/downloads

Raspberry 2 and Vision Five 2 are very future proof peices of hardware that Oracle and OpenJDK ignores!

bullen··on HTTP/3 is everywhere but nowhere
For bidirectional 2 TCP sockets and HTTP/1.1 Comet-Stream works fine.

Fighting HTTP/1.1 for money is going to fail unless you invent something fundamentally better.

bullen··on We're bringing Pebble back
Hi, please support vanilla linux phones this time?
bullen··on We're bringing Pebble back
I hope they will support vanilla linux phones!
bullen··on I ditched the algorithm for RSS
I made my blog software support all feed types back in the day:

http://sprout.rupy.se/feed?rss

http://sprout.rupy.se/feed?atom

http://sprout.rupy.se/feed?json

http://sprout.rupy.se/feed (my own :P)

It's open-source: http://github.com/tinspin/sprout

bullen··on Bringing garbage collected programming languages efficiently to WebAssembly
So now they are recreating the Java Applet?

I mean you could just re-enable the Java Applet and everything would be solved.

bullen··on The beauty of finished software
I would if they made micro controllers that had better hot-reload.

Also would need more cores, SRAM and some OpenGL ES GPU! ;)

← PreviousPage 5 of 34Next →