Hacker News new | past | comments | ask | show | jobs | submit | jamesfinlayson's comments login

I think someone who works on Chrome did something a few years ago - though I can't remember exactly what they were trying to figure out.

Aww, I didn't think it was terrible (though I have limited experience with UI libraries).

The documentation was almost non-existent though.

What mod(s) did you work on?


It's VGUI2 which was created for the Source engine, re-used for Steam and back-ported to the GoldSource engine when the games were launched on Steam.

Oh yeah, I remember those game .dll files shipping with Steam long after they were disabled.

Yeah the text-based menus were what Half-Life launched with in 1998. Counter-Strike used these same text-based menus in 1999 and it wasn't until 2000 that the engine was updated to include VGUI. I guess Counter-Strike left the old ones in place for those that preferred them.

It was added to Half-Life (and not long after to Counter-Strike) in March 2000 or so. Not sure when Steam first launched but I think there was a beta from 2002?

Not sure - the VGUI code in the Half-Life SDK was a bunch of header files and a .lib file but I'm not sure what actually implemented it. Back in the early 2000s I assume it was either Windows-specific or rendered using DirectX/OpenGL.

Sure is painful (mostly when writing tests where the environment variables aren't abstracted in some way).

But I think it was actually possible to hack around up until Java 17.


if you really wish - you can change the bootstrap path and allow changing env() for whatever reason you want to (likely via copy on write). If you don't wish to do that feel free to spawn a child process with whatever env you desire, then redirect/join sys in/our/err (0/1/2)

Those are trivial things in around 100 lines of code and have been available since System.getenv() got back (it used to be deprecated and non-functional prior Java 1.5 or 2004)


A lot of the Java I'm writing is in AWS Lambda so my options are a bit more limited.

Did you end up releasing your bots?

I tried Ghidra recently and the decompilation seemed decent enough. The UI seemed a bit less complete than IDA's though (I couldn't see a couple of things that IDA does/has though they might just be hidden away in menus).

Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: