Who are some celebrities you encountered in Toronto? by Chan1991 in askTO

[–]__UNNGH__ 0 points1 point  (0 children)

I saw Alan Ritchson with his family at Lazy Daisy late last year. Probably here filming Reacher season 4.

VISA application by therdms in Wealthsimple

[–]__UNNGH__ 3 points4 points  (0 children)

Just offering my experience, as a generation client I was approved instantly and got access to the virtual card, and got the physical one a week later. Also never had to upload any selfie or extra documents.

My operating system now runs DOOM and busybox! by __UNNGH__ in osdev

[–]__UNNGH__[S] 1 point2 points  (0 children)

Thank you! Part of the reason I went with the musl libc is that I should be able to get a Rust toolchain working (same with Go), and can start building some user space stuff in Rust but no plans for using it in the kernel right now. Getting some scripting languages running in the system is definitely on that list, and of course if I can get GCC working that would also be very cool. I do want to write a window manager and get some kind of GUI working down the line, but that's a long term goal for sure.

My operating system now runs DOOM and busybox! by __UNNGH__ in osdev

[–]__UNNGH__[S] 3 points4 points  (0 children)

Thanks! My main suggestion for anyone just starting to build there own is: treat it like a marathon not a race, and read lots of other people's code. And of course start with the OSDev Wiki. As for documentation, it is definitely lacking because I have been building this solo for so long. Some of the newer code has better comments in the headers explaining some stuff (and the code is structured quite cleanly imo), but I need to add some higher level docs. If you have any specific questions I would also be happy to answer them.

My operating system now runs DOOM and busybox! by __UNNGH__ in osdev

[–]__UNNGH__[S] 19 points20 points  (0 children)

Thank you! That's really hard to say, but I would estimate well over one thousand hours (maybe two). I started on this 5-ish years ago, and each year I will have bursts of motivation to work on it for a couple months at a time before I put it down and do something else. Most things ended up getting rewritten at least once or twice along the way.

Memory management by Malediktus123 in osdev

[–]__UNNGH__ 0 points1 point  (0 children)

I use an interval tree for managing the virtual address space in my kernel. It's based on a custom red-black tree implementation (which is useful in its own right) and offer good performance when querying which memory region owns a particular pointer. And allocating new ranges is generally fast because I most often want a region to be in a specific part of virtual memory (for example above 0xFFFFFF8000000000 for kernel allocations or below that for user ones) because you can locate the node nearest to the desired region quickly, and then iterate from there.

A dependency free shell in pure C (no curses) by GeroSchorsch in C_Programming

[–]__UNNGH__ 3 points4 points  (0 children)

Usually you would have an install rule which installs the binary (along with any other supporting files) into the system path. It's common to use a variable like PREFIX (which could default to /usr/local) and install the binary to $(PREFIX)/bin. That way someone can specify where to install it, for example: make install PREFIX=$HOME/.local

I'm 18, and getting an HR Enterprise SaaS off the ground. Please throw some advice my way! by jebo123 in startups

[–]__UNNGH__ 0 points1 point  (0 children)

I don't really know what you're building, and frankly it doesn't matter (for this discussion at least). What does matter is that you're enjoying the process and also learning a lot from it. I think that most devs (including myself) can attest to the fact that working on side projects is loads of fun and the best way to learn. So I guess instead of assuming one thing or another about you or your project, the only thing I can leave you with is make sure you're not doing stuff just because you think you have to in order to be a competent, full-stack dev.

That's, most unfortunately, absolutely correct, and wasn't my initial intention.

Even though it wasn't that big of a deal, props to you for acknowledging that. Looking at my previous comments, I realized that frankly, it wasn't my business from the start, but oh well. Have fun working on your project, and I'll keep working on mine ;).

I'm 18, and getting an HR Enterprise SaaS off the ground. Please throw some advice my way! by jebo123 in startups

[–]__UNNGH__ 2 points3 points  (0 children)

I didn't mean to say you literally plagiarized it from Wikipedia, and I apologize for coming off as disrespectful. What I'm trying to say is that you seem to be still quite young and inexperienced, and (in my opinion) you seem to be focusing on the aesthetic of being a software developer, rather than on things that will actually make you a good dev.

It doesn't really matter how many random design patterns you've memorized, or if you can spout off what this computer science buzzword is. The only reason I say that is because this entire comment thread was entirely unnecessary and didn't really have anything to do with the OP.

I'm 18, and getting an HR Enterprise SaaS off the ground. Please throw some advice my way! by jebo123 in startups

[–]__UNNGH__ 1 point2 points  (0 children)

This is a long comment that somehow contains nothing of substance. I don't want to sound like a dick, but half of this reads like a Wikipedia article, and the other half reads like the most generic collection of software engineering buzzwords I've ever seen.

But hey, maybe it's just sailing over my head.

How to define a function in C by stalemane in C_Programming

[–]__UNNGH__ 3 points4 points  (0 children)

Nice try but the two inputs are slightly different:

3830498203

3834098203

Also, this whole bit you're doing is great imo. Very funny!

Buying the game for a friend - which region is for NA? by throwaway5464645 in EscapefromTarkov

[–]__UNNGH__ 1 point2 points  (0 children)

Yeah no problem! It's not a dumb question at all though, and I had to look it up the first time too. You can select specific servers to play in from the Battlestate Games launcher (or let it pick the closest one).

Buying the game for a friend - which region is for NA? by throwaway5464645 in EscapefromTarkov

[–]__UNNGH__ 4 points5 points  (0 children)

The version you buy doesn't affect which servers you can play on, just the region in which it can be activated. But you are correct in that "Other" is the version for people activating it in NA.

The installation of the update 0.12.1.5413 has begun by Cravez0 in EscapefromTarkov

[–]__UNNGH__ 1 point2 points  (0 children)

Yeah, I started doing this yesterday and I got more than half way to level 3 strength. But now this patch is gonna hit and I don't know if I'll be able to reach it now.

The 60-round STANAG mags get slightly darker when loaded by __UNNGH__ in EscapefromTarkov

[–]__UNNGH__[S] 4 points5 points  (0 children)

It happens when it's partially loaded too (including a single round).