HNHacker News
TopNewBestAskShowJobs

RedlineTriad

132 karma · joined October 10, 2022

submissionscomments
RedlineTriad··on Firing the Lorentz Plasma Cannon [video]
The last sentence is great, the only thing required for a quarter-mile range lightning turret is a bit of capital and 30ft of capacitors.
RedlineTriad··on Things I Learned from Doing Triathlon in My 70s (2023)
You may already know this but Dwayne Johnson is pretty obviously on steroids or some other kind of anabolic agent.

In Hollywood anabolics are quite common, since preparing for a role can be a very short term thing, testosterone decreases with age, and very low body fat but large physiques are seen as normal.

Also, shorter people generally have it easier to have a muscular looking physique because of how the muscle mass limit scales with size.

RedlineTriad··on Mystery Flesh Pit National Park
I quite enjoyed this narration/documentary of the flesh pit by Wendigoon: https://youtu.be/zcKR0KhTgHg
RedlineTriad··on Show HN: Play with an interactive heatmap of SF crime (and other cities)
As always there is a relevant xkcd: https://xkcd.com/1138/ So many geographic statistics just boil down to population density maps instead.
RedlineTriad··on Creating a matchmaker for your multiplayer game
Google has Open-Match[1] for matchmaking where you just have to provide an API that takes a batch of players and returns groups, and it handles the surrounding stuff, also integrates with Agones[2] to automatically provision servers on k8s.

[1] https://open-match.dev/

[2] https://agones.dev/

RedlineTriad··on HAProxy 3.0 Released
An example of what seems to be a reasonable usecase for UDP proxy is Quilkin[1] from Google. Made for hosting game servers on Kubernetes, and supports session auth, routing, monitoring, and various other features, some of them using prefix bits in UDP packages.

Also used for DOS protection without the traffic hitting the server.

Not sure how usable it is but Google actually has a lot of open-source stuff for game hosting on kubernetes with agones + openmatch + quilkin, I am somewhat tempted to play with them at some point.

[1] https://github.com/googleforgames/quilkin

RedlineTriad··on Who has time to watch a 4-hour YouTube video? Millions of us, it turns out.
A video I rather enjoyed is this history of EVE Online. 6 hours and almost 4 million views: https://youtu.be/BCSeISYcoyI

I find these videos where a person just dedicated months/years to a single subject and condensed it down to hours to be amongst the most interesting.

RedlineTriad··on NetBSD bans all commits of AI-generated code
Small note: Zermatt (the town you are probably talking about) is not the only car-free one in Switzerland. There are quite a few others[0], 10 towns in total, according to this website.

[0] https://urbanaccessregulations.eu/countries-mainmenu-147/swi...

RedlineTriad··on Swipos-GIS/GEO, nationwide GNSS RTK correction for centimeter accurate location
The swiss solution does come with per hour pricing but it's still 0.50 CHF / minute. Which is still very expensive for hobbyists.

I feel like the marginal costs for users is so low that it would be better if it were handled as a common good like GNSS systems themselves.

RedlineTriad··on Swipos-GIS/GEO, nationwide GNSS RTK correction for centimeter accurate location
I just learned that Switzerland has a nationwide RTK network for cm level positional accuracy using GPS, Galileo, GALILEO, and/or Beidou, GNSS systems. And they have a nice map of all the station locations[0].

It's a bit of shame that the pricing seems to be rather steep for frivolous use, but it seems to be rather new.

It would be interesting to see what possibilities a totally free nationwide RTK system would open up.

Swisstopo is a government organization that already provides many services like highly accurate maps for free.

[0] https://shop.swipos.ch/Map/SensorMap.aspx

RedlineTriad··on Ask HN: Social media with a high barrier to entry?
If I remember correctly Hack The Box (The CTF Platform) used to require solving a small challenge to even create an account. Though I wouldn't exactly classify it as social media.
RedlineTriad··on .test
One example where I had issues with Mailhog was that the docker images was very bloated 138.8MB[0], there was a PR that should have brought it back to 7MB or something but it was never merged.

And not sure about this, but at least for docker, the included certificates can become outdated if not frequently rebuilt, and since Mailhog is software used when testing, being able to spin up a ready-to-use sandboxed instance is very useful.

[0] https://hub.docker.com/r/mailhog/mailhog/tags

RedlineTriad··on Why does Windows use backslash as path separator? (2019)
This sadly isn't quite the case as this post demonstrates[0]

> - The path is limited to MAX_PATH (260 chars)

> - Unless you prefix the path with \\?\

> - However using \\?\ disables automatic conversion of / to \ in the path (and some other normalization)

See previous discussion[1]

[0] https://mastodon.gamedev.place/@AshleyGullen/111109299141510...

[1] https://news.ycombinator.com/item?id=37632232

RedlineTriad··on Ask HN: Who are your favorite tech youtubers
Some of my favorites are:

Acerola, GPU and shader programming: https://www.youtube.com/@Acerola_t

Sebastian Lague, various mostly visual algorithms for games: https://www.youtube.com/@SebastianLague

Freya Holmér, beautiful game dev related math: https://www.youtube.com/@acegikmo

pannenkoek2012, how Mario 64 limitations create the most interesting bugs: https://www.youtube.com/@pannenkoek2012

Jon Gjengset, some of the most in-depth rust content: https://www.youtube.com/@jonhoo

AngeTheGreat, physics engine game dev including sound simulation: https://www.youtube.com/@AngeTheGreat

fasterthanlime, diverse, mostly rust content: https://www.youtube.com/@fasterthanlime

Bisqwit, retro programming: https://www.youtube.com/@Bisqwit

CodeParade, higher dimensional and fractal game dev: https://www.youtube.com/@CodeParade

suckerpinch, code that should not be though of, let alone executed: https://www.youtube.com/@tom7

SimonDev, game dev, performance focused, video quality varies: https://www.youtube.com/@simondev758

And many mentioned by SilverCode

RedlineTriad··on Motion blur all the way down (2022)
I was researching this because I was wondering how fast you can make LED flicker for lighting effects before it looks like constant brightness.

I found most of the information on Wikipedia[0], and the limit seems to be at about 80hz, but together with movement, some people can see stroboscopic effects up to 10khz.

[0] https://en.wikipedia.org/wiki/Flicker_fusion_threshold#Strob...

RedlineTriad··on YouTube Says It Has More Than 100M Premium and Music Subscribers
And 15,90 CHF (18.56 USD) in Switzerland (for one person).

Steam and other digital service providers always have really high, or the highest prices in Switzerland.

RedlineTriad··on Infinite Craft
Sadly the creator shut it down, but Elemental 3 was basically the same premise, but instead of AI for combinations it had user suggestions and ratings.

He made a video to visualize some of the final data though: https://youtu.be/rQWwfYSUckY

Also I vaguely remember a game with basically the same premise but the goal was to create life.

RedlineTriad··on Since when does Windows support forward slash as path separator?
According to this post[0] (though I never tested it), sometimes, when using long paths, Windows will disable the forward/backwards slash normalization.

[0] https://news.ycombinator.com/item?id=37632232

RedlineTriad··on Rust-Written Linux Scheduler Showing Promising Results for Gaming Performance
Hard to answer, but I was interested because I assumed it built on the "recent" work to bring rust into the kernel. Where I haven't read much news about how it is being used except for Asahi Linux.

Somewhat disappointed that it is using eBPF instead, but still interesting to learn that even such fundamental and performance sensitive parts such as the scheduler can be changed.

RedlineTriad··on YouTube blames ad blockers for slow load times, not the browser
There is a very nice list of ublock origin filters[0] that removes all shorts from subscriptions, home page, and even the nav menu item for them. Direct links to shorts still work though, in case someone sends a link or something. Improved my YouTube experience a lot.

[0] https://github.com/gijsdev/ublock-hide-yt-shorts

RedlineTriad··on Core to core latency data on large systems
There is also another thread-per-core implementation by ByteDance (TikTok) for Rust called Monoio with benchmarks[0] comparing it to Tokio and Glommio.

[0] https://github.com/bytedance/monoio/blob/master/docs/en/benc...

RedlineTriad··on Show HN: An AI courthouse to resolve arguments with your friends
Very cool idea, though I just want to mention that in the signup form the TOS and privacy policy links almost have the same color as the background, and also the dark green in the login form clashes with the blue.

Might give it a shot some time, I know some people who would find it fun.

RedlineTriad··on Google Cloud Spanner is now half the cost of Amazon DynamoDB
What is more important for me when using Grafana (though a summary is as well) is actually units, to know if it's second, millisecond, microsecond, and also if 0.5 is a quantile or what.

Numbers without units are dangerous in my opinion.

RedlineTriad··on Keycloak – Open-source identity and access management interview
Yeah I know, nothing except maybe the JIT that requires java programs to use more memory than Go, but in practice Java apps are almost always significantly worse. C# is also pretty bad, but not quite as bad I think.

I can only assume it's a cultural thing since reflection and abstraction is used so much.

Rust apps are always nice since they are generally <20MB or something.

RedlineTriad··on Keycloak – Open-source identity and access management interview
I just never heard of it, I went through reddit and looked at what people were using, and awesome-xyz lists, and then went through docs and pages to see which projects had the same priorities as me. And Authelia looked like the best match.

I think I looked at:

- Keycloak

- Zitadel

- Authelia

- Authentik

And maybe a few more, but I never heard of Casdoor before today, and even now there are few Reddit references to it.

RedlineTriad··on Keycloak – Open-source identity and access management interview
Authelia actually supports a yaml file with password hashes as the user database. I thought about using that, but decided to try lldap instead.

But I wouldn't want to figure out how to write the password hash into the databases of each application like grafana, or grocy.

RedlineTriad··on Keycloak – Open-source identity and access management interview
Thank you for the help on GitHub with running it as a read only image BTW. Since I try to keep my deployments clean and mostly stateless getting that to work was very nice.

The lldap config I use is here if you want it for any examples or something: https://github.com/RedlineTriad/private_server/tree/master/s...

RedlineTriad··on Keycloak – Open-source identity and access management interview
I tried the Quarkus version, but it does some kind of build step at container startup, and that is what used the most memory.

You can apparently build an "optimized" image[1] so it doesn't do it at runtime, but I didn't want to build a custom image, and I felt like the KeyCloak philosophy didn't align with my own.

In general I found myself avoiding Java applications because of their memory footprint.

[1] https://www.keycloak.org/server/containers#_creating_a_custo...

RedlineTriad··on Keycloak – Open-source identity and access management interview
It's been pretty good, I never really used LDAP before so I had a bit of a learning curve, but it's not too complicated.

1. My original goal was not having 5 different passwords for my own server because although I have a password manager it's still a bit annoying. Also just for learning.

2. You can see the services here[1], since my entire setup is provisioned from GitHub with Terraform and Ansible.

3. I have about 5 users.

4. I would say simplify so far, but it depends on what kind of complexity you care about, and which services you want to integrate.

[1] https://github.com/RedlineTriad/private_server/tree/master/s...

RedlineTriad··on Keycloak – Open-source identity and access management interview
I tried Keycloak for my homelab, but I found the resource usage especially on startup to be too high (3 GB memory or something) and since I wanted minimal sever footprint I went with lldap[1] as the user store and authelia[2] to do forward auth using traefik.

Pretty happy with this setup, though it has less features than Keycloak, it's easier to administrate from code.

[1] https://github.com/lldap/lldap [2] https://www.authelia.com/

Page 1 of 2Next →