HNHacker News
TopNewBestAskShowJobs

pacman128

181 karma · joined September 13, 2012

Retired Software Developer
submissionscomments
pacman128··on The Nobel Prize in Physics 2020
I don't have a copy of that book, but the abstract of this paper from 1937, co-authored by Einstein, claims that gravitational waves are a prediction of GR: https://www.sciencedirect.com/science/article/abs/pii/S00160...
pacman128··on The Nobel Prize in Physics 2020
Do you have a source for this? I thought they were a direct prediction of GR and this link says the same: https://www.ligo.caltech.edu/page/what-are-gw
pacman128··on A Python Substitute? I Tried the Best Programming Language You’ve Never Heard Of
Quoting from the link, this is what gets me:

Nim is case- and underscore-insensitive (except for the first character). Thus HelloWorld and helloWorld are different, but helloWorld, helloworld, and hello_world are all the same

I really don't understand this feature of the language.

pacman128··on The Floppy Disk of Floating Point
The trick I've seen to deal with this problem is to use a pair of doubles: one for the integer part and one for the fractional part.
pacman128··on Go is boring, and that’s fantastic
Even opening a file with a given path wasn't in the Pascal standard. Different implementations did this completely differently.
pacman128··on GitHub Classroom
Back when I taught CS, I had a colleague who did this. He ran the program and compared the output char by char to what he expected. The assignments went into great detail on the expected format of the output (column-by-column). I believe this was all he did, no check of the source code. The sad thing was he was the chair of the department when I first got there. Fortunately, he retired soon afterward.
pacman128··on Remembering Conway
xkcd has a tribute to Conway today: https://xkcd.com/2293/
pacman128··on Yet another novel I will no longer write
One of my favorite authors. Listening to his novel, Glasshouse, right now. If you're looking for something to read right now, check him out.
pacman128··on Qnice – An Elegant 16 Bit Processor
Randall Hyde created a higher level assembler back in the 90's. It supported writing C like control statements, etc. It doesn't look like it has been updated to x86-64, still just 32-bit.

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

pacman128··on Paper that claimed the Sun caused global warming gets retracted
The discussion linked to in the arstechnia.com article is fascinating. The paper's author has blinders on. https://pubpeer.com/publications/3418816F1BA55AFB7A2E6A44847...
pacman128··on Betelgeuse Remains Steadfast in the Infrared
The effect of a Betelgeuse supernova on Earth: https://www.huffpost.com/entry/the-betelgeuse-supernova_b_65...
pacman128··on Scientists use ML to find an antibiotic able to kill superbugs in mice
Are humans more complex than mice or just different? I've always assumed the latter, but I'm in no way an expert.
pacman128··on State of Oklahoma's New Brand Identity / Logo
Sorta doubt this. OK would be one of the worst possible locations for a Winter Olympics. The Omnibus just did a podcast on the time someone tried to create a ski resort there: https://www.omnibusproject.com/231 (Spoiler, it closed after 3 days.)
pacman128··on Noticing You're Confused
The most infamous hire I was involved in was a guy with a long resume who had an ok technical interview on phone with me. I didn't ask him any real technical questions on the on-site visit (big mistake!). We hired him and literally knew we had made a big mistake hours into his first day. He couldn't do the simplest things (e.g., he didn't seem to grasp the difference between relative and absolute file paths, didn't know what ping was). I still don't know how he gamed the phone interview. The worst part is that management hired him as a senior developer. I could have told them he wasn't at that level, but they just looked at his years of experience on his resume. He really pissed off the junior developers as he bugged them for help on his projects.
pacman128··on A Tandy / RadioShack TRS-80 Model 1 Clone
This brings back fond memories, it was my first computer. Learned BASIC and Z-80 assembly on it.

Happy to see it has Level II Basic. Level I was very limited: https://en.wikipedia.org/wiki/Level_I_BASIC

pacman128··on Science Vigilante Calls Out Bogus Results in Prestigious Journals
Ex-prof here. The whole publish or perish mentality is a big problem. How many good papers can a researcher produce a year? Way less than they are expected to in the academic world.
pacman128··on C++ 20: The Core Language
(1) I know of one problem with C++17 and old code. C++17 removed throw specifications from the language (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p000...) . We use third party libraries that contain these which keep us from using C++17.
pacman128··on Unfork()
Since it brings two processes together, maybe spoon would be a better name.
pacman128··on The Pioneering Maps of Alexander von Humboldt
Listened to a podcast about Humboldt a few weeks ago: https://www.omnibusproject.com/podcasts/alexander-von-humbol...
pacman128··on Smart TVs sending sensitive user data to Netflix and Facebook
My ad supported Kindle Paperwhite has never turned off airplane mode either. I only turn off airplane mode when I have a new book to download to it and turn it back on afterward.
pacman128··on “I would like to maintain the floppy driver”
I had an old Model II 8" drive I had pulled out of old machine that I used in the Intro to Computing class I taught in the 90's. It made a great prop to show how drives work. The read/write head was about the size of a matchbox.
pacman128··on Ask HN: Physicists of HN, what are you working on these days?
PhD in physics, then visiting prof for EE/CS dept at major univ for a year, then CS prof for 10 years at 2nd tier univ, then software developer for last 19 years.

I don't regret getting the PhD. Always was very interested in physics and learned a lot. Did a lot of computational work which helped with the transition to software. I still use the problem solving and some of the math I learned for physics.

pacman128··on PC Assembly Book (2006)
No, it's all in 32-bit protected mode.
pacman128··on PC Assembly Book (2006)
Author here. Surprised to see this here.

I wrote most of the book for the class I was teaching in the 90's. All the textbooks I could find were for 16-bit DOS assembly. I wanted to do 32-bit and use free software. I picked NASM and djgpp because most of my students used Windows. There was no free express version of MS Visual Studio back then. I also wanted to cover interfacing with C since that's how one typically uses assembly, plus it shows how C operates under the hood.

I went into industry in 2000, so never had the time to update it to 64-bit.

pacman128··on Why I use Object Pascal
Things are different today I hope, but back in the 90's when I was teaching CS, Pascal was not very portable or standardized. Even some basic operations like opening a file were not standardized. Turbo Pascal and AIX's Pascal (the two variants I dealt with back then) did this operation differently.
pacman128··on Facebook recruiting and Unix systems
Years ago I had a recruiter pull a list of questions from their technical guy to ask. The first question was something about constructors in C. I carefully explained that the question made no sense for C but would for C++. They insisted the question was correct, so I told them what the answer would be in C++.

They also asked me about if I had experience with the EMACS editor, but spelled out the letter E-M-A-C-S. Why that was an important skill I have no idea. Especially since this was for a contact that several companies were competing for and I was hired by the winning company to work on it. No special knowledge of EMACS was required. Any text editor would work.

pacman128··on SIMD / GPU Friendly Branchless Binary Search
It depends on the optimization level. Using no optimization, gcc 5.4 will use branches for this case, but using -O2, it avoids the branches (on x86_64). Verified by using gcc -S to show the assembly generated.
pacman128··on Chinese scientists test quantum entanglement over unprecedented distance
Another factor to consider is that relativity showed that whether two events at different locations are simultaneous depends on the observer's reference frame. See (https://en.wikipedia.org/wiki/Relativity_of_simultaneity). So you can't even say which measurement of the state is the one that collapses the waveform. Observers in different reference frames would disagree.
pacman128··on Saturn moon 'able to support life'
A common misconception about evolution is that follows a linear progression to higher forms. There is no ladder it's ascending, it's a spreading tree ( http://evolution.berkeley.edu/evolibrary/article/evo_07). It's a system that is exploring a fitness landscape with many local maxima for reproductive success. We have no prove that developing a species with self-aware intelligence is inevitable.
pacman128··on Low-Level Programming University – A roadmap to becoming a low-level programmer
Totally agree. When I taught x86 assembly in college (in the 90's), the goal of the class was to give the student a better idea of how things worked under the hood to improve their C programming, not to be an assembly programming.

Just today, I helped a coworker debugging a segmentation fault that occurred in a library where the debugging info was stripped out by looking at the assembly code.

← PreviousPage 2 of 3Next →