HNHacker News
TopNewBestAskShowJobs

c0deR3D

67 karma · joined November 3, 2017

https://github.com/foxhoundsk
submissionscomments
c0deR3D··on Linux VM without VM software – User Mode Linux
Had been using this quite some time ago, it is sad that it has only 1-CPU support, preventing some SMP bugs from emerging.

Wonder if it's hard to make it SMP, if too many places use something like #ifdef CONFIG_ARCH_IS_UM to tell whether it is single CPU, it might be hard.

c0deR3D··on Apple M3 Ultra
Same here.
c0deR3D··on Apple M3 Ultra
When would Apple silicons made natively support for OSes such as Linux? Apple seemlingly reluctant to release detailed technical reference manual for M-series SoCs, which makes running Linux natively on Apple silicon challenging.
c0deR3D··on Linux as co-operative Windows process (2017)
Reminds me of User Mode Linux, which AFAIK, runs only on Linux, maybe *nix.
c0deR3D··on Ask HN: Why is Yocto so slow but so popular?
Nope, mine runs on a native Linux box featuring Intel i7-1370P and 32GB RAM. Maybe Xilinx has some tuning which makes Yocto become slow at parsing the recipe dependency and the likes.

I've tried asking the Xilinx community, and got only a reply saying that there is a database in Yocto which limits the scalability.

c0deR3D··on Ask HN: Why is Yocto so slow but so popular?
Your scenario makes me suspecting that it is Xilinx flavored Yocto causing the problem. I think that removing some unused Xilinx-specific layers/recipes can reduce the prologue and epilogue execution time.
c0deR3D··on Pipe Viewer – A Unix Utility You Should Know About
Got me wondering, how does it works?
c0deR3D··on KUtrace: Low-overhead Linux kernel tracing facility
Out of curious, does BPF now capable of capturing all the context switch events such as CPU trap?

Also, if the overhead is negligible, maybe the author can try to merge this into mainline with the use of static key to make the incurred overhead switchable. In spite of the static key, the degree of the accompanied inteferences on cache and branch predictor might be an intriguing topic though.

c0deR3D··on Project Gameface launches on Android
In the near future, people can control appliances with purely their own consciousness, and the only prerequisite is that it requires a minimum consiciousness level, which is reachable for most of the human being. Lastly, we usually think that people living in the Stone age are primitive people. Are they?

https://twitter.com/Michell51304

c0deR3D··on Ask HN: Why can't modern smartphones play music smoothly?
If this is the case, it's weird then. Why releasing CPU for only a glimpse saves battery?
c0deR3D··on Ask HN: Why can't modern smartphones play music smoothly?
Sure, I'd try remove the app from the power efficiency restricted app list, which by default are enforced on all apps.
c0deR3D··on Ask HN: Why can't modern smartphones play music smoothly?
Yes, I was using Bluetooth headphones at the moment. I don't have the app name at hand, but I know that the app is also a file manager.

So there's probably jitter in my headphones, or the app was not suppose to do music playback smoothly because that's not its main usage.

c0deR3D··on Ask HN: Why can't modern smartphones play music smoothly?
Nope, mine is a playlist with only 3 local-stored tracks. Yes, I loop these 3 tracks all the time.
c0deR3D··on Reverse engineering a mysterious UDP stream in my hotel (2016)
Is it then possible that one can "decorate" the elevator music? At least at a interference level. :p
c0deR3D··on The 539kernel Book: A journey in creating an operating system kernel
If I want to porting it to x86_64, except the register width, what else do I mainly need to take care of? Thanks!
c0deR3D··on GhOSt: Fast and Flexible User-Space Delegation of Linux Scheduling
I don't think that the vanilla scheduler would get abandoned, instead, it would then acts as a fallback scheduler when customized userspace scheduler crashed or getting an update and so on.
c0deR3D··on PatchELF: Simple utility for modifying existing ELF executables and libraries
BTW, is there any recommended open source dynamic binary patching tool?

Have been using Intel Pin, but fine-grained patches would incur noticeable performance regression permanently.

Thanks!

c0deR3D··on The AMD 3rd Gen Ryzen Deep Dive Review: 3700X and 3900X Raising the Bar
But comes to C/P value, Intel is totally ruined.
c0deR3D··on [dead]
I'm impressed. This should be awared when programming on embedded system.
c0deR3D··on Let's Talk About Capacitor Failure
Sometimes, a capacitor's failure also cause invisible damage to other ICs, it's pretty annoying since some ICs can't just use volt-meter to check if it is still functional.
c0deR3D··on C-Sky: A $6 Linux dev board with HDMI and USB
Why using XX32F103C8T6 instead of its complete model at specification of UART?
c0deR3D··on AI Failures in 2017
Formal Verification is truly needed especially on this.