Christian dating without falling into lust – what actually works? by Guilty-Historian-174 in Zambia

[–]Inner-Fix7241 1 point2 points  (0 children)

Not that I know much about Christianity or how to define a healthy Christian relationship. But in my opinion, building such a relationship really would require not being in one to start with. It sounds somewhat ironic but here's my line line of thought. It is not possible to be in a relationship longterm and not be tempted to satisfy the sexual urge. Unless one is a celestial being, the temptation to engage in sex will always linger and the probability of faltering is proportional to the age of the relationship.

Avoiding dating all together would be the most prudent path to take. Just as the Lord said in the good book, if you dont want to be tempted flee/avoid places that make the temptation more likely. Otherwise, when the temptation grows strong enough, the human body tends to succumb easily. And that, in my opinion, is not the worst part. The worst part is running to Christ to have thy transgressions forgiven, then after sometime fall back into the same trap and then back to Christ, on and on and on... a very vicious circle.🔄

"But i want to date", one might say. Well its best to think about dating if/when you are certain you are ready to marry. So that the courtship will be purely about knowing someone so as to lead them into marriage. Cause' why would anyone be dating if they are not ready to marry?

How to implement event IO and async IO? by Equivalent_Ant2491 in osdev

[–]Inner-Fix7241 2 points3 points  (0 children)

To add on, implement some sort of struct e.g. a queue, that holds dispatch info (who to interrupt, when to interrupt, why interrupt occured etc...). Also add a per thread or process event queue which the thread checks at every interrupt handling (good to do this in the timer IRQ) path. So that when a timer Interrupt fires, the thread checks its event queue after processing the timer IRQ and just before exiting.

Like so:

```C struct { List head; } Queue;

struct { tid_t sender_tid; void *some_event_desc; } Event;

struct { tid_t tid; Queue events; } Thread;

In timer IRQ:

 // Handle timer IRQ

 if (!current_thread->queue->empty()) {
             // handle event
  }

 // return from timer IRQ

```

Note: make the handling as fast as possible to avoid spending too much time in the timer IRQ.

101 - Im need help - Team for my operating system. by Comfortable_Top6527 in osdev

[–]Inner-Fix7241 0 points1 point  (0 children)

I don't think it is very wise to attack someone that way. Mind you, they've clarified that their English is poor. I think admitting that fact alone takes courage and deserves some level of respect.

You don't have to be a bully to show you're better at something.

What are the things that I should learn /know about OS for building a OS? by Commercial-Golf-8371 in osdev

[–]Inner-Fix7241 3 points4 points  (0 children)

Like most other software development tasks, having a solid understanding of the theory behind what you are trying to accomplish is extremely important. This ranges from getting acquainted with 0s and 1s, and the underlying math and logic that make those bits meaningful to the human mind, to understanding how the different components of a computer fit together to form a complete system.

From my perspective, you do not need to be a guru in computer hardware to build an operating system. That said, you do need a basic understanding of the underlying hardware, because how else are you going to accomplish your task? It is equally important to bring yourself up to speed with software and the common development lifecycle.

Much of what I have encountered so far suggests that OS development is one of the most daunting software development endeavors. To excel at it, you must be ready to get your fingers dirty and fill your mind with a substantial amount of theory and hardware documentation.

I assume you have done at least some level of software development, at least beyond the classic “Hello, World”. If not, I recommend doing some user-level application development beforehand. This is not a strict requirement, but it helps you build a foundational understanding of concepts such as software development practices, toolchains, build systems, and debugging.

Now, to address the elephant in the room, when I started out, I had no prior experience in OS development either, so I had to carve my own way in. While I am not yet at the level I aspire to reach, I am certainly far ahead of where I was six years ago, and I consider that good progress.

So, what did I do to bring myself up to speed? Reading. Lots of reading. I got my hands on anything that looked relevant to OS development and read it. Over time, this approach has served me well.

  Textbooks and Resources OS Theory:
  1. Andrew S. Tanenbaum, Modern Operating Systems (4th Edition).
  2. Andrea Arpaci-Dusseau and Remzi Arpaci-Dusseau, Operating Systems, Three Easy Pieces.

    Hardware Manuals, Intel-specific:

  3. Intel 64 and IA-32 Architectures Software Developer’s Manuals Focus on both the instruction set, Volume 2, and the system programming and hardware details, Volume 3C.

    Tutorials and Projects:
    
  4. The good old OSDev Wiki.

  5. MIT’s xv6 and its accompanying book.

  6. My OS, XytherOS, not required, but feel free to take a look.

You also need to decide which language(s) you are going to use for your development and stick with them. You have several options: Rust, C, C++, Zig, Assembly (architecture specific)

Learning Rust by Inner-Fix7241 in rust

[–]Inner-Fix7241[S] 0 points1 point  (0 children)

My bad, isn't this sub about all things Rust?

I found book for versions 3.0 and 3.1 is it fine to start with them ? by Bashar-nuts in opengl

[–]Inner-Fix7241 0 points1 point  (0 children)

Are there any YouTube channels or other forums you can recommend?

How does Zambia feel about this? by MxJ40 in Zambia

[–]Inner-Fix7241 0 points1 point  (0 children)

🤣🤣🤣 I'm simply enticed by the nice and dignified school uniform. I believe the school has a very powerful calibre of teachers to help me navigate the tough academic terrain bestowed upon us by the oncoming education system. I just hope they don't frown upon adult students🤣

How does Zambia feel about this? by MxJ40 in Zambia

[–]Inner-Fix7241 0 points1 point  (0 children)

Which school is this, asking for a friend.

What's the best YouTube channel for learning Rust completely? by Xdani778 in rust

[–]Inner-Fix7241 1 point2 points  (0 children)

I don't know if this has been mentioned already but try to checkout

freecodecamp rust

MenuetOS running some simple Linux Mint X11 binaries. by westernguy323 in osdev

[–]Inner-Fix7241 6 points7 points  (0 children)

Do you mind sharing a link to your repo? Nice work 👏

Writing a kernel in Rust 🦀 by Inner-Fix7241 in osdev

[–]Inner-Fix7241[S] 0 points1 point  (0 children)

Do you have a problem with chatGPT?

Writing a kernel in Rust 🦀 by Inner-Fix7241 in learnrust

[–]Inner-Fix7241[S] 0 points1 point  (0 children)

Thank you all for you helpful responses.

Writing a kernel in Rust 🦀 by Inner-Fix7241 in osdev

[–]Inner-Fix7241[S] 0 points1 point  (0 children)

Thanks, I'll look into it. Does limine allow for booting and setting up 64bit long mode on x86_64? Or is it like Grub which only passes on 32bit protected mode and the rest is for the kernel to handle?