886 karma · joined Nov 29, 2017 (8y ago) · 177 submissions
comment 3w ago · link · parent
comment 8mo ago · link · parent
Since we're both working on a similar project, I think it could be fun to talk about OS development and share our findings (and weird bugs!) I have this same username just about everywhere, so do reach out if you're interested! Best of luck with your project either way :]
comment 8mo ago · link · parent
It's been a ton of fun to work on. Every subsystem is still flaky so I run into the wackiest bugs imaginable. I'm really grateful for the resources[1] and incredible tooling[2] that enable me to work out my frequent mistakes. I can hardly fathom how Torvalds did this with just his PC running Minix!
No idea how long I'll keep working on it. I think I'd be pretty happy if I got a real-world, non-trivial program running on top of it, but in the meantime it is serving as a good distraction from life worries at least :]
[1]: Intel 80386 Reference Manual, Linux man pages, wiki.osdev.org, various datasheets and the occasional query to ChatGPT free tier.
[2]: QEMU+gdb, Bochs, GCC 9 & binutils
comment 1y ago · link · parent
Broken link points here and shows no commits: https://github.com/torvalds/linux/commits?author=vkoskiv&sin...
If I correct the date range to include the maintainer commit date (May 15th), the commit shows up: https://github.com/torvalds/linux/commits?author=vkoskiv&sin...
Also strange that if I only filter on author[1], nothing shows up. Though I suspect that dataset might only be updated periodically.
[0]: https://docs.github.com/en/account-and-profile/reference/pro...
[1]: https://github.com/torvalds/linux/commits?author=vkoskiv
comment 1y ago · link · parent
[0]: https://www.getzola.org/ [1]: https://github.com/micahkepe/radion
10.
My first contribution to Linux(vkoskiv.com ↗)
701 points · by vkoskiv · 1y ago · 88 comments
comment 1y ago · link · parent
Fun project, and it's really cool to see my little renderer in the interactive viewport in Blender, but I have also learned that I don't particularly enjoy working with non-trivial amounts of Python code.
[1] https://github.com/vkoskiv/c-ray [2] https://github.com/vkoskiv/c-ray/blob/51a742b2ee4d0b570975cd... [3] https://github.com/vkoskiv/c-ray/tree/51a742b2ee4d0b570975cd... [4] https://github.com/vkoskiv/c-ray/tree/51a742b2ee4d0b570975cd... [5] https://github.com/vkoskiv/c-ray/tree/51a742b2ee4d0b570975cd...
comment 1y ago · link · parent
https://www.youtube.com/playlist?list=PL-_93BVApb58I3ZV67LW3...
comment 1y ago · link · parent
https://raw.githubusercontent.com/ghaerr/elks/refs/heads/mas...
I could use some help testing it on EGA and VGA hardware, as I don’t have any 8 bit cards for those in my collection.
comment 2y ago · link · parent
Initial C implementation got me to ~70 for a short time, then very sloppy racy pthreads one kept me at the tail end for a bit longer, but my again very sloppy cuda program running on my GTX1070 has me at 35 at the time of writing.
Rough calculation shows it to be doing 28.6MHashes/sec, and I suspect I could do a lot better than that if I knew anything about cuda programming.
I didn't read enough to know how to pick good values for blocks/threads per block, so I just benchmarked all the combinations of powers of two to arrive at the best result.
Really fun challenge!
Would be fun to see the total amount of valid submissions, and maybe the number of leading zeroes of a hash for those of us that need a moment to figure it out from hex in their head :]
comment 2y ago · link · parent
What a confusing article.
comment 2y ago · link · parent
With this, I've passively memorized far more advanced motions in the last 12 months than I did in the ~8 years before that. And since Helix is a vim style editor, many of these motions also work in vim!
I feel like Helix is the perfect editor for people like me who know just enough vim to be comfortable, but never got very deep into customizing or muscle memory with advanced motions. Helix does some things differently compared to Vim, which I hear puts off some more advanced Vim users.
The built-in LSP & highlighting support with a stack-based "jump to symbol" and keybinds to traverse the stack also perfectly maps to how I want to navigate code, it has made me far more productive than ever before.
I'm not affiliated with the project myself, I'm just super happy I found the perfect editor for me :]
comment 2y ago · link · parent
Considering what they are working with, I'm surprised they don't have even more downtime.
comment 2y ago · link · parent
Harsh conditions + dark winter means that we have lower max limits in the winter. (i.e. 120km/h -> 100km/h, 100 -> 80)
The signs are pretty obvious to humans, though: https://moottori.fi/wp-content/uploads/2017/04/muuttuva-nope...
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
-----
#!/bin/bash
if [[ ! -f "$1" ]]; then
exit 1
fi
git rev-list --no-merges --date-order --reverse $(git branch -a | grep -v '*' | grep master) | awk '{print "p " $0}' > $1
exit 0
-----
Then I can just:
-----
pushd monorepo
GIT_SEQUENCE_EDITOR=../inject_reflist.sh git rebase -i --root --force-rebase
popd
-----
And off we go! Apparently there were a few branches + merges, and we have some ongoing feature branches, so I need to find a way to bring in branches other than master as well, preferably while conserving the merges as-is, instead of skipping them like I do above.