painchoc
Re:ImHex – A Hex Editor
on Saturday July 30, 2022 @02:11PM (#32288967)
I have no idea how to use ImHex.
Re:My students cheated... a lot
on Sunday May 29, 2022 @03:54AM (#31547303)
I am lucky to have found this Debian package https://tracker.debian.org/pkg/similarity-tester (source https://dickgrune.com/Programs/similarity_tester/ ) to help me detect plagiarism in my students's C++ code. The tool is perfect as it gives side by side comparison of codes to help see if there's a really an issue. Usually, it is easy to confirm by spotting specific constructions or even the positions of punctuation in code. I have found something for Python though.
Re:We are now Solar Powered
on Sunday September 26, 2021 @10:17AM (#28661069)
Exactly. Dithering creates a lot of noise and PNG is poor choice to compress that.
Re:Hrmpf rescue system, built on Void Linux
on Monday September 13, 2021 @06:45AM (#28509815)
How does this compare to SystemRescue ?
Hrmpf has seen no release for the past 8 months https://github.com/leahneukirchen/hrmpf/releases where SystemRescue is updated regularly https://www.system-rescue.org/Changes-x86/ .
Re:Good and Bad Monitoring
on Tuesday July 13, 2021 @02:02PM (#27824089)
During a RCA, you find a specific error message associated with that incident. You deliver a new alert with some documentation about what it catches and what to do. You even generate automatically a ticket when it is raised.
Time passes.
There's a subtle change if the error message. You have another production incident but your alert hasn't fired.
The complexity comes from this: how do you know that an alert is still valid without creating an incident on purpose ?
Re:When static makes your C code 10 times faster
on Sunday July 04, 2021 @11:13AM (#27730256)
It is mostly about the fact that if the variable is not static, then it's non-local to the translation unit and can be modified from everywhere else. So its value needs to be loaded and a plain and slow division is applied.
Having it local or const makes the compiler able to inline it and do a simple bitwise and with a constant.
So yes, make your variables static const by default (if you really need global).
Re:What does First Normal Form mean?
on Friday June 18, 2021 @01:47PM (#27552913)
What about NULLs ? Is it allowed or not ?
I recently discovered on Wikipedia https://en.wikipedia.org/wiki/First_normal_form that it should not be.