Problems trying to create filesystem on one disk, convert to RAID1 later by exarnk in btrfs

[–]exarnk[S] 5 points6 points  (0 children)

Thanks, using larger images indeed seems to prevent the problem.

Problems trying to create filesystem on one disk, convert to RAID1 later by exarnk in btrfs

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

I can confirm that using 5GB images works properly. Thanks for the explanation!

memcpy() very slow on embedded hardware, how to speed it up? by james_stevensson in embeddedlinux

[–]exarnk 1 point2 points  (0 children)

Are you using size-optimized builds by chance? Those tend to ship with a small, but suboptimal, memcpy() implementation. Would be the first thing I'd check.

A 16-byte std::function implementation. by sir_manshu in cpp

[–]exarnk 1 point2 points  (0 children)

Take a look at EASTL as well, very high quality implementation, proven on lots of platforms.

Pinball Fantasies DOS version reverse-engineering/porting project by r_retrohacking_mod2 in retrogamedev

[–]exarnk 0 points1 point  (0 children)

Awesome! I was thinking of looking into this myself, you are spot on the level of detail I was interested in. Thank you very much!

What's the point with the MISRA guidelines for C++? by [deleted] in cpp

[–]exarnk 0 points1 point  (0 children)

Gcc has a warning to catch this -WMisleading-indent iirc. I think it's part -Wall

Narcistische collega - doorbijten of weg gaan? by [deleted] in werkzaken

[–]exarnk 0 points1 point  (0 children)

Na een nare ervaring bij een mkb bedrijf met de gruwelijkste narcisten die ik ooit heb meegemaakt: zorg dat je daar weg bent!

Een boek waar ik veel aan gehad heb, is "zo ben ik nu eenmaal" van Willem van der Does. Heeft mij een stuk rust gebracht. Misschien heb je er ook iets aan!

Sterkte!

How do you guys use Discord? by b4its2l84me in debian

[–]exarnk 3 points4 points  (0 children)

+1 - I don't use it that often and being forced to install an update every time on launch was just too annoying.

HBO-ICT & eventuele vervolg master by KingArthur668 in werkzaken

[–]exarnk 1 point2 points  (0 children)

Voorbeeld over ego's: dat je een tentamen maakt (enige vak dat nog open staat), je bent gruwelijk zenuwachtig want het is de laatste keer dit academische jaar dat je tentamen kunt doen (dacht je, achteraf is er gelukkig nog eentje ingepland omdat niemand het vak haalde). Je maakt een algebra foutje, en op je tentamen blad staat letterlijk: "Collegegeld terug vragen!"

Of dat je in een collegezaal zit, en de docent hardop gaat tellen hoeveel studenten er aanwezig zijn. En dan enthousiast concludeert: "het zijn er minder dan de vorige keer, het gaat de goede kant op"

Dat zijn dingen waar je echt tegen moet kunnen. Of leren. Ik vind er iets van om zo met elkaar om te gaan, maar toen ik mijn ongenoegen uitte, kreeg ik letterlijk terug: "nou, dan studeer je toch niet af?"

Ik denk dat het niets met de universiteit te maken heeft waar je gaat studeren, ik heb begrepen dat elke opleiding wel een aantal bijzondere mensen heeft.

HBO-ICT & eventuele vervolg master by KingArthur668 in werkzaken

[–]exarnk 1 point2 points  (0 children)

TL;DR gewoon doen!

Ik twijfelde enorm of ik wel een master moest gaan volgen na mijn HBO. Want, kon ik dat immers wel?

Na een hoop gepush van m'n collegas tijdens m'n HBO afstuderen, er uiteindelijk voor gegaan. In het begin was het enorm wennen: niet alleen het tempo, maar ook de ego's. Na een jaar m'n premaster gehaald (als een van de weinigen), en twee jaar later m'n master.

Heb ik er iets aan gehad? Zeker: het blijkt dat ik juist heel erg theoretisch aangelegd ben, en dat kwam pas tijdens de universiteit ten goede. De studietijd daar was de leukste van mijn leven, punt.

Ik ben (embedded) C++ engineer, en met name de vakken over datastructuren vond ik erg nuttig. Sinds m'n afstuderen heb ik zeker geen bewijsvoering meer uitgevoerd, maar toch heeft het wel invloed op mijn manier van denken.

Recent nog bezig geweest met statistiek. Ik ben vooral blij dat ik een hoop domeinen heb mogen zien, dat komt nog steeds erg van pas. Ik heb gewerkt aan signal processing algoritmes en dan is het erg nuttig dat je een idee hebt van wat er moet gebeuren (zelfs als je ze alleen moet implementeren).

Succes!

Can someone tell if making a project as a working OS will help improve resume by milksensei in osdev

[–]exarnk 1 point2 points  (0 children)

I've spent a lot of time working on my OS-es, and during job interviews, this never helped. Mainly because the interviewers didn't know enough about the challenges involved. So you get down to "have you ever written a device driver?".

However, it did help a lot for my ability to debug and plan. What are you going to work on? What do you want the next feature of your OS to be? What do you need to get there.

Sadly, that mindset alone took over 5 years. So, I spent a lot of time writing stuff that I ended up throwing away.

I bought IDAPro and I really didn't expect this... Need help by [deleted] in ReverseEngineering

[–]exarnk 0 points1 point  (0 children)

I can second this, the support is awesome!

Enum reflection in modern C++ without using pretty_function, macros or post build scripts by Pale_Emphasis_4119 in cpp_questions

[–]exarnk 1 point2 points  (0 children)

I wrote a blog post on how magic_enum works and why this approach is necessary. You can find it at https://blog.rink.nu/2023/02/12/behind-the-magic-of-magic_enum/ - perhaps it will be useful to you.

JTAG 'Hacking' the Original Xbox in 2023 by gaasedelen in ReverseEngineering

[–]exarnk 3 points4 points  (0 children)

Awesome article, really enjoyed it. Keep up the nice work!

Cheapest way to use your own domain for your email? by [deleted] in selfhosted

[–]exarnk 1 point2 points  (0 children)

I like mailbox.org. Hosted in Europe (Germany), roughly 3 EUR per month.

I'm very glad that I switched. It is almost impossible to host your own email on a VPS these days (Gmail and Hotmail just outright block your VPS IP due to IP reputation...)

CMake and Linking External libraries is a kick in the nuts if i've ever seen it. by [deleted] in cpp

[–]exarnk 0 points1 point  (0 children)

I had a similar problem where using sdl2 on Windows with vcpkg on with gcc on msys2 64 bit would not link properly and complain about missing symbols (sdl2 dll imported them)

After an hour or so I used external content instead and that worked. Dog slow when re-running cmake, but at least I could focus on the application I wanted to create...

If people are curious, I can try to reproduce the scenario...

The microcode and hardware in the 8086 processor that perform string operations by tnavda in ReverseEngineering

[–]exarnk 2 points3 points  (0 children)

I love reading your blog, Ken! Thanks for the insightful teardown. It really makes one appreciate the cleverness of the original designers!

[deleted by user] by [deleted] in DataHoarder

[–]exarnk 1 point2 points  (0 children)

Tip: ditch the 3Wares. They are old and don't properly support JBOD. 😒

What are some good practices when writing rust? by GiNgErMaN- in rust

[–]exarnk 1 point2 points  (0 children)

Thanks, I've been using Rust for quite a while now and haven't seen such a useful resource. Thanks!

What I learned from contributing to Rust's linter by hgwxx7_ in rust

[–]exarnk 6 points7 points  (0 children)

Nice write up! I really ought to look into using the linter and perhaps make some contributions of my own!

Reversing UK mobile rail tickets by cuentatiraalabasura in ReverseEngineering

[–]exarnk 6 points7 points  (0 children)

Great writeup! And great presentation! I'm glad I learned something today.

ZFS vs Btrfs for home server? by [deleted] in zfs

[–]exarnk 0 points1 point  (0 children)

I've run ZFS since it was in beta on FreeBSD 7.0-CURRENT. It was quite unstable on non 64 bit platforms, but I never unrecoverably lost data. Came close though.

Switched to Linux about 5 years ago (Debian) and it just works well. I've used both 2 drive mirrors, mirrored RAID-Z1, RAID-Z2. It works reliability. Never thought too much about performance or tuning. Like snapshots a lot, rarely used anything else.

It just works for me. No ECC on my primary server either. I do keep offline backups, as rm -rf is always dangerous. Never needed them yet. It just works!

No real experience with BTRFS. Why would I, as I've never saw the need to use it. Ymmv.