HNHacker News
TopNewBestAskShowJobs

pajko

595 karma · joined August 24, 2017

submissionscomments
pajko··on What MS-DOS Can Do That Linux Can't
You might be able to create a shell alias named "cd.." or a short bash script "/usr/bin/cd.." with the appropriate content. Have no tried though.
pajko··on Shell Scripting in C
This is cool. to avoid the repeated recompilation for every execution, you could drop in ccache. It will still add some overhead though, but much less than a full recompilation.
pajko··on The scientific “unit” we call the decibel
Loudness is not measured in dB, but in phon (https://en.wikipedia.org/wiki/Phon) or sone (https://en.wikipedia.org/wiki/Sone).
pajko··on U.S. nuclear base hidden under Greenland's ice for decades
Except when they want to build secret nuclear vaults.

Not sure about how Greenland compares to Alaska, but it also could be a perfect home for a private doomsday seed vault (like https://en.m.wikipedia.org/wiki/Svalbard_Global_Seed_Vault which is controlled by Norway)

pajko··on I ruined my vacation by reverse engineering WSC
https://www.shodan.io/search/facet?query=windows&facet=vuln....
pajko··on If you could only keep one app on your phone, what would it be?
OsmAnd+
pajko··on The Agonizing Task of Turning Europe's Power Back On
https://archive.md/qQwdK
pajko··on One quantum transition makes light at 21 cm
Out of the question, it has no definition which is only related to physics. Well, there's the "the duration of 9,192,631,770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the caesium-133 atom" definition, but this was chosen to match the celestial-based unit related to the Earth's rotation (which does not tell anything to extraterrestrials).
pajko··on Kermit: A typeface for kids
Just wanted to mention this, but actually it has more issues.

trouble / about: the 'u' should be marked, at least for 'trouble' to make it silent (or probably in both cases but differently, not sure about other similar words). But then there's 'o' in lemonade which is different from 'o' in 'trouble'. Also 'oo' in 'loot' seems strange (should be ⊚⊚ with the recommendation above). Or am I misunderstanding something in the point of the markings? Anyway, it hurts my eyes.

pajko··on Ask HN: As a programmer, How do you take notes while coding?
40+ unsaved tabs in Notepad++, mixed stuff, containing keywords about the things I'm working right now, 2-3 line descriptions about an idea or how to proceed with something in the future, copy-pasted and "annotated" fragments of logs or code under reverse engineering (would do most of this stuff by hand but have an awful handwriting). Plus a booklet to scribe quick ideas, play with an algorithm in my head, and draw stuff if that's unavoidable (code graph, state machine diagram).
pajko··on Battle of the Mallocators
http://ithare.com/testing-memory-allocators-ptmalloc2-tcmall...
pajko··on The Barium Experiment
Regarding old features, Manifest V2 -> Manifest V3 was so painful to some that they dropped Chrome.
pajko··on The Barium Experiment
Qt is not just a GUI toolkit and it does not need X or any X libraries, works fine with a framebuffer.
pajko··on Show HN: The C3 programming language (C alternative language)
This is missing Nim.
pajko··on Eavesdropping on smartphone 13.56MHz NFC polling during screen wake-up/unlock
If the transmission contains some identifying information and can be used for coarse triangulation to decide if a specific phone is in a specific building - well, that's pretty bad.

Can be harmful even without identifying information in situations where it's enough to decide if some building is occupied or not.

pajko··on Why America now eats a crazy number of avocados
https://www.weforum.org/stories/2020/02/avocado-environment-...
pajko··on How to protect your phone and data privacy at the US border
As the article says, having no phone at all or having a factory-reset burner phone might be worse.
pajko··on Recommendation for non-DOS/Unix open source OS outside x86/X64
RISC-V, ARM in development: https://en.wikipedia.org/wiki/Haiku_(operating_system)

https://en.wikipedia.org/wiki/AROS_Research_Operating_System

https://en.wikipedia.org/wiki/MorphOS

https://en.wikipedia.org/wiki/AmigaOS_4

https://en.wikipedia.org/wiki/Inferno_(operating_system)

https://en.wikipedia.org/wiki/Illumos

pajko··on Silicon Labs Shrinks Wireless SoCs to Extend BLE to Miniature Devices
The BG22 consumes 0.5 uA in EM4 mode with the BURTC+LFXO enabled.
pajko··on History of Null Pointer Dereferences on macOS
The AVR architecture puts its registers starting from address 0 of its data memory. As a twist, the program memory also starts at 0 (due to the Harvard architecture).
pajko··on History of Null Pointer Dereferences on macOS
What do you mean? There is nothing optimized away. If there would be an if statement to check for a NULL pointer, yes, that most likely would be optimized away due to UB (if something is undefined, it is not NULL, so the check can be removed...). To make it implementation defined, the -fno-delete-null-pointer-checks parameter can be used: https://news.ycombinator.com/item?id=39463804
pajko··on The Internet Slum: is abandoning the Internet the next big thing? (2004)
There was not even an AI back then, what would he say now?

https://www.forbes.com/sites/chriswestfall/2024/12/18/the-da...

https://phys.org/news/2025-01-ai-linked-eroding-critical-ski...

pajko··on A Guide to Undefined Behavior in C and C++ (2010)
UB can be converted to ID by using -fwrapv (to "standardize" the wrapround, which does not necessarily help if the overflow was not intentional) or -ftrapv (generate an exception).
pajko··on Stupid Smart Pointers in C
There's a complete implementation available at https://github.com/Snaipe/libcsptr
pajko··on Recursion kills: The story behind CVE-2024-8176 in libexpat
Exactly. A stack overflow caused by recursion more likely converts to an endless loop. Nothing saves a bad code design.
pajko··on Software-Defined Radio for Engineers (2018) [pdf]
Here's a DVB-S2 receiver: https://github.com/igorauad/gr-dvbs2rx
pajko··on Software-Defined Radio for Engineers (2018) [pdf]
This is a tool for receiving a lot of 433MHz stuff: https://github.com/merbanan/rtl_433
pajko··on Breaking into apartment buildings in five minutes on my phone
Many older games are shipped in a full DOSBox setup with preconfigured config.sys. The question is that is there any will to "conquer the past" and poke around, or not.
pajko··on Greg K-H: "Writing new code in Rust is a win for all of us"
https://www.cve.org/CVERecord/SearchResults?query=rust
pajko··on Humpback whale briefly traps young kayaker in its mouth in Chile
Baleen whales swallow a high amount of water (and whatever comes with it) and filter outwards, keeping the krill inside.
← PreviousPage 3 of 15Next →