Live data from Hacker News

Ask HN: What you up to? (Who doesn't want to be hired?)

news.ycombinator.com

271–280 of 874 posts

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#271

I'm trying to write a test tool that recompiles a .Net binary so you can swap in mock objects without dependency injection. The goal is to allow you to write normal code without all the ceremonies needed to make it testable; and the let the test tool create testing hooks after compilation. It's interesting working closer with IL, and without a lot of StackOverflow posts when I get stuck.

Similar to Moq?

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#272
post #260

I'm making a smartphone OS for my personal use. Gonna opensource under GPLv2 once ready. OS kernel is Alpine Linux from https://postmarketos.org/ The entire userland is custom: graphics is on top of drm, kms, gles2, FreeType. Audio is on top of ASIO with just a few third party libraries like soxr, fdk-aac, minimp3. IPC is mostly domain sockets, input is raw input, wifi is controlled through wpa_supplicant. Most of th…

Oh! This sounds like something I wanted to do. Mostly to see if you can actually get decent GUI speed on the Pinephone.

> if you can actually get decent GUI speed on the Pinephone.

Having used sxmo, I promise you can. Whether you can be performant and user friendly is still open.

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#273
My pet project is attempting to reimplement an old roguelike to have modding support. So far I've managed to spend about 4 years on and off hitting roadblocks and prototyping things related to it, purely for the sake of iterating on the idea a bit more each time.

With this project, I am faced with the problem of how to redesign an existing game to have a modern modding interface. Unlike the problems faced by developing a game from scratch, most of the work goes into engineering, since the game's design has already been proven to work, and I'm approaching everything with a mindset of backwards compatibility. There are dozens of forks of the original game that add their own features or make specific changes to things like the experience formulas, but all of them are fragmented and incompatible with each other. Figuring out how to integrate these changes in a way that can be toggled on and off at runtime means delving into topics like aspect-oriented programming, and designing the game object model to allow adding and removing extra per-mod state and behavior dynamically.

Originally, I came up with an interesting idea: what if you could dynamically program a roguelike in the same way you can program Emacs? And not just a bespoke roguelike with an original game design that might or might not work, but a fifteen-year-old game with some amount of cult recognition and a lot of development history behind it? To that end, I wrote an Emacs layer for the engine and integrated it to the point where I could hot-reload maybe 80% of the game's code without needing a program restart. I also added an in-game REPL that could call pretty much any API available to the engine and mods, and used it in significant capacity to prototype and debug things on-the-fly.

The interesting thing is how little gamedev-related information there is online about things I would consider to be essential to solving the problems I encounter. I think this is because most people are interested in just shipping games instead of bikeshedding over how to create a well-designed modding interface for all eternity because it's too much fun. One example of a difficult problem is how to program nested containers of items, as well as allowing mods to create their own containers with special filtering logic or similar. Another is adding extra state and logic for eating/using items while also having the new state compatible with item stacking/separation, deep-copying and serialization. These are the sorts of problems that you take for granted when writing mods for Minecraft or any other game with a robust modding interface. Previously I implemented the game in Lua to allow for maximum flexibility, but I started to run into problems that the choice of language ended up sweeping under the rug. One example is having no explicit interface for deep copying/serialization of game objects, and hoping that a naive key-value visitor would suffice (which it did not).

The interesting thing about this game in particular is that, fifteen years after its initial release, there exists a small but active community centered around a few forks of the game with significant differences in features/balance between them. (I also happen to maintain one of them.) My hope is that these forks can be unified under the system I'm envisioning, while also providing simple ways to add new content and allowing for new features that would have been impossible to implement in the past (the original game was written in an obscure offshoot of BASIC with no English documentation).

But honestly, it's mostly just fun to tinker around with the engine whenever I get some free time. I'm currently figuring things out at my own pace, to the point where having the finished product becomes nothing more than a nice bonus at the end.

The source code of the first prototype is here[1], although right now I'm trying to see if using a language like C# instead of Lua would solve some of the stability issues I'm encountering.

[1] https://github.com/Ruin0x11/OpenNefia

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#274

Earlier quoted context omitted.

> rich enough to never work again Congrats... but be careful. Some young people underestimate the amount of money needed to "never work again". If you're not working then you don't have group health insurance. You're in the individual market, which often has crappy insurance providers. If you have a serious health issue, and get into a dispute with the insurance provider, your illness can cost millions. If you have >…

Even for a serious health issue, millions seems very unlikely. Additionally, while health care in the US is expensive compared to everywhere else, it isn't likely that the premiums for a single 27 y/o would be the deciding figure in "can or can't retire".

He won't stay 27 forever.

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#275

I won the IPO lottery and I’m in the middle ground between rich enough to never work again but not quite rich enough for the yachts/mansions/private jets lifestyle. I haven’t worked in 6 months and I’m struggling to find a larger meaning to my life beyond getting yet another tech job. I’ve considered going to college for a math degree, moving to my parents home country, and joining the military (among many other opti…

I think you can cross the military off your list. If you've made enough money to not work, I feel like you'll get tried/frustrated of the BS involved in a lot of it before your commission is up. I could be wrong though - just things I've seen.

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#276
I've been steadily sinking deeper into Go (the board game, not the PL) for the last few years. I keep thinking that my enthusiasm for it will dry up soon, but it just keeps increasing. The depth is immense, every few months I feel like I'm swimming along the bottom of the ocean, then I come to a continental shelf and as I stare into the depths below, I realize that I've only explored the shallows, I dive, and leave the surface behind even further.

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#277

I won the IPO lottery and I’m in the middle ground between rich enough to never work again but not quite rich enough for the yachts/mansions/private jets lifestyle. I haven’t worked in 6 months and I’m struggling to find a larger meaning to my life beyond getting yet another tech job. I’ve considered going to college for a math degree, moving to my parents home country, and joining the military (among many other opti…

If your interest in moving to your parent's home country is not brand new and therefore it's more than something you're just beginning to consider, jump on a plane "tomorrow" and start reading Russian lit and spending hours on Reddit there. This assumes you haven't spent a ton of time there in the past because if you haven't then you will find immediate meaning living there. And if you decide to do one of those other…

I don’t know op’s situation - but visa/green card is a big monkey wrench in those plans.

Also consider the wealth expatriation tax of your host country-they can really sting.

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#278

I won the IPO lottery and I’m in the middle ground between rich enough to never work again but not quite rich enough for the yachts/mansions/private jets lifestyle. I haven’t worked in 6 months and I’m struggling to find a larger meaning to my life beyond getting yet another tech job. I’ve considered going to college for a math degree, moving to my parents home country, and joining the military (among many other opti…

what about "meaningful" work, like at the internet archive or Allen Institutes or something -- smaller paycheck, possibly impactful work

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#279

I won the IPO lottery and I’m in the middle ground between rich enough to never work again but not quite rich enough for the yachts/mansions/private jets lifestyle. I haven’t worked in 6 months and I’m struggling to find a larger meaning to my life beyond getting yet another tech job. I’ve considered going to college for a math degree, moving to my parents home country, and joining the military (among many other opti…

Apart from philosophy mentioned by the other poster, you can also read into psychology. Some branches in psychology deal with the question of how to live a fulfilled life, eg. positive psychology [1] and humanistic psychology [2]. Also Buddhism has similar goal and teachings interleave with these psychology topics [3].

To start, you can pick a Psychology 101 textbook (I like Psychology and Life [4]) and then read the people and bibliography mentioned in these Wikipedia articles.

[1] https://en.wikipedia.org/wiki/Positive_psychology

[2] https://en.wikipedia.org/wiki/Humanistic_psychology

[3] https://en.wikipedia.org/wiki/Buddhism_and_psychology

[4] https://www.amazon.com/Psychology-Life-Richard-Gerrig/dp/020...

Re: Ask HN: What you up to? (Who doesn't want to be hired?)

#280
post #37

Earlier quoted context omitted.

I had a similar feeling for a long time. Today I realized that the whole Web3 movement makes much more sense than I previously thought. All the NFT and cryptocurrency stuff is just the tip of an iceberg that might result in a truly decentralized web, following up the current cloud-based centralization. So I decided to start learning more about what has been going on the past few years in that space and to start getti…

Any reading recommendations re: web3? I still don't really understand what it is but I've been meaning to do a deep dive.

I agree with what another commenter said about getting some money and trying it out for yourself.

I'd add on though to try out some DeFi protocols as well. Using things like DEXs, lending protocols, and yield farms. Experience is the best way to learn for sure.

Post reply on HN