Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bogomog
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
bogomog
16d ago
In the early 90s I was doing IT type C with SQL database software. There was one pattern of goto usage common: clean up at the end of a function if something went wrong (close db cursor, log something, return error code, and the like). When
2.
▲
by
bogomog
16d ago
Corporations are extensions of the government? I think an argument can be made for the opposite view (lobbying, the military-industrial complex, regulatory capture, DOGE) but I suspect the reality is tentacles of influence going in both dir
3.
▲
by
bogomog
3mo ago
I was mildly disappointed the other day when I did a <C-h a>, and instead of "apropos" I saw "search for command". Apropos was one of those killer features that was, as far as I know, unique to emacs (until the &qu
4.
▲
by
bogomog
3mo ago
20 or 25 years ago it almost never crashed. Now I might see a crash or freeze once a week or so. And slowdowns several times a day. Of course I'm running more modes now in a more customized environment. Hopefully this new version with
5.
▲
by
bogomog
5mo ago
A modernization, really.
6.
▲
by
bogomog
10mo ago
My favorite, kind of ironic, advantage of tubes over transistors is that it's easier to source replacements.
7.
▲
by
bogomog
10mo ago
But capacitors may hold high voltage DC, if there's no path to discharge them.
8.
▲
by
bogomog
1y ago
The arc of the U.S. economy over the last 80 years contradicts your position. There has been reduced regulation since the Reagan administration, and also reduced competition. A few blips when internet companies "disrupted" an exis
9.
▲
by
bogomog
1y ago
And to add to this, you rarely need to read a log message when just visually scanning code, its fine going off the screen.
10.
▲
by
bogomog
1y ago
That's why Python should have gone all-in on significant spaces: tabs for blocks, spaces after tabs for line continuation
11.
▲
by
bogomog
1y ago
I find it jarring compared to commas after the words, making the commas unnecessarily prominent.
12.
▲
by
bogomog
1y ago
+1 to this. Why throw away an extra dimension of expression available by choices in formatting in the name of consistency? I find it helpful to use blank lines to separate code into "paragraphs". A complex conditional may be made
13.
▲
by
bogomog
1y ago
yes
14.
▲
by
bogomog
1y ago
Aye.
15.
▲
by
bogomog
1y ago
Yeah, that stood out to me as a virtual tie also. When I got pretty good at debugging was when I began to recognize which of these approaches would likely be most effective in a given situation, and when to back out and use another approach
16.
▲
by
bogomog
1y ago
I think graphical debuggers are a big help: 1. It separates the meta-information of the debugger into the graphical domain. 2. It's easier to browse code and set/clear breakpoints using the mouse than the keyboard.
17.
▲
by
bogomog
2y ago
That's why I gave the caveat that if using a language with the ternary operator, one should know that operator. Python tried using English words for a ternary, but I think that's awkward from a readability perspective. A limited s
18.
▲
by
bogomog
2y ago
function getOddness(n: number): return (n % 2 === 0) ? "Even" : "Odd"; Lowest boilerplate makes it the most readable. If working in a language with the ternary operator it ought to be easily recog
19.
▲
by
bogomog
2y ago
Exactly. And a certain amount of maga are still in favor of a coup, and then a certain amount of blissfully ignorant new voters.
20.
▲
by
bogomog
2y ago
How is not a big deal that a few thousand citizens were various levels of conscious and unconscious participants in an organized coup attempt?
21.
▲
by
bogomog
2y ago
Stopping payments authorized by congress, for one.
22.
▲
by
bogomog
2y ago
Arguably, they aren't government officials, because DOGE isn't a legitimate part of the executive branch.
23.
▲
by
bogomog
2y ago
I forgot it existed, was using it at a couple of jobs circa 1989-1992. Completely blocked it out of my mind.
24.
▲
by
bogomog
2y ago
I never felt real comfortable with Xcode. Working on a medium sized c++ project now, and mostly using emacs. Xcode only for the debugger, which I much prefer in a GUI. CMake sets up the project, so low pain there. If on Windows, I would do