News for hackers. Stuff that matters.

halfer53

Re:My from-scratch OS kernel that runs DOOM on Thursday April 24, 2025 @02:37AM (#43779874)
Nice work!!!
Another one damn
Re:Unity Software to cut 3.8% of staff in 'company reset' on Tuesday November 28, 2023 @06:11PM (#38452904)
The contract has been signed already. How do they even end the software ip purchased from weta?
Re:OpenAI announces leadership transition on Saturday November 18, 2023 @05:00AM (#38317573)
hypothetically if the board faced enormous pressure from the public/investor and decided to reverse their decision, is this theoretically possible?

of course its highly unlikely that board would do that, but I'm just asking if this is theoretically possible?

Re:McDonalds Event Driven Architecture on Wednesday December 07, 2022 @05:41AM (#33892837)
backend of McDonald's app is handled by a third party new Zealand company plexure

https://www.plexure.com/

not sure what their architecture is

Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @07:00PM (#27656268)
Thanks for sharing this, that's very insightful.
Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @08:43AM (#27651131)
Thanks for the info, good to know that it's easy to implement from kernel's perspective
Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @08:02AM (#27650896)
Oops, typo :p
Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @07:46AM (#27650780)
It's certainly plausible

It's currently using wcc to compile the kernel https://github.com/wandwramp/wcc. We can swap it with gcc for sure, but require bit of work, especially the output format and backend.

Winix assumes the output file is in srec format https://en.wikipedia.org/wiki/SREC_(file_format), so we would need to tweak gcc to support this header format and add backend support for WRAMP architecture.

ELF is quite complicated, if I have to do this, I probably just copy some codes from linux.

Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @05:14AM (#27649928)
True, agree NZ is a great place to work. In fact, I quite enjoy my lockdown-free life in NZ.
Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @05:14AM (#27649922)
Linus is a genius, I don't think I could ever reach his level

Yeah it was a side gig for me, I did spend major of my days for the duration of 2 months last year to work on this.

In fact, I paused on the development of this project for 1-2 year.

But most of the time, it's just 1-2 hour per week side projects on average.

Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @02:17AM (#27649075)
Wow, I didn't know WAND had a github page. I'll get my fork merged with the main repo in that case.

The custom fork basically adds a extra button "Quick Load", since the srec file can be quite large to transfer through serial port to load, so I just implemented extra button to read srec file directly into memory.

Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @12:59AM (#27648738)
:P
Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @12:27AM (#27648586)
Depends on the audience

I did struggle to explain the significance of this project when I was applying for graduate roles, especially to HR people who only look for keywards in CV.

But there are people who appreciate my work.

I got my internship at AWS because my interviewer who had technical background was very impressed with my work, hence the reason I got hired.

Sometimes you just have to find the right audience.

Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @12:18AM (#27648543)
OP here, Yeha I did study in Waikato.

NZ is a very small market compared to the rest of the world, so there is a lot less opportunities here in NZ in terms of number of startups and number of tech firms. The salary is also lower compared to other developed countries. Any software engineer in NZ can easily get a 30-50% salary raise by going to Australia. A lot of talents ran away from NZ because of this.

There are still some exiting companies, for instance, Serko whom I am currently working for is expanding into the international market to seize the post-pandemic opportunities. But overall it's bit stagnant compared to other OECD countries.

Re:I spent 5 years writing my own operating system on Sunday June 27, 2021 @12:03AM (#27648485)
That's a very smart way of debugging concurrency. I did a lot of logging as well when I was doing debugging concurrency. Overtime once you got familar with the projects, I started to develope instincts on how everything fits together. That's when reading code line by line, making educated gusses start to become viable way of debugging concurrency.

But for complex projects, reading code or relying on instincts may not work alone as brain power run out of capacity. That's why logging helps a lot

Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @10:33PM (#27648005)
Thanks will do
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @10:14PM (#27647908)
Lol, I like your description of the project, sounds much more promising than mine
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @09:38PM (#27647745)
Yeah they are still using to teach computer systems and operating system course
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @09:26PM (#27647677)
Thanks. The OS is roughly 90% compliant with POSIX.1, but there's still a lot of work to make it fully compliant. That would probably be my next goal. This is a hobby project, I will probably spend 1-4 horus every other week to work on this. I am working on optimising memory usage of the file system which is almost completed in a separate branch.
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @09:24PM (#27647660)
I agree, X86 is too complex with its legacy hardware and obscure instructions and environments. It might not be a good starting place to develope hobby projects.

The OS is running in a customised RISV hardware in MIPS for educational purposes, you can read more here https://dl.acm.org/doi/pdf/10.1145/1275462.1275470 The simulator https://github.com/halfer53/rexsimulator

The BIOS has already been written for the serial ports, etc. So it is quite easy for me to interact with the devices in the OS.

Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @08:51PM (#27647474)
Yeah, I'll definitely share that
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @08:34PM (#27647364)
Thanks mate :D
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @08:34PM (#27647362)
Thanks, that's a good point. I'll definitely do that
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @08:31PM (#27647340)
The hardest part is debugging concurrency and weird scheduling bug. It's hard to debug because I can't reproduce it, which is quite frustrating. Over time, I found that making educated guesses, or running the code in my brain, it a lot more efficient than debugging every line of the code.
Re:I spent 5 years writing my own operating system on Saturday June 26, 2021 @08:30PM (#27647327)
Author here, this project is just for fun, nothing more than that.

The OS is designed for MIPS architecture at this stage, I don't think tcc supports MIPS at the moment.

Re:AWS hearts multi-cloud? It's gonna happen on Tuesday November 03, 2020 @08:57AM (#24979671)
lots of public sector customer is using outpost for data sovereignty
Re:Why mmap is faster than system calls (2019) on Thursday October 22, 2020 @03:47PM (#24862549)
Why can AVX be used during page fault but not during syscall mode?

Older »