Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phaedrus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
301.
▲
by
phaedrus
7y ago
It seems to me that if a logic programming language with nondeterministic search and residuation were used to implement a compiler, the question of how many "passes" it has could be as moot and unimportant as counting the "nu
302.
▲
by
phaedrus
7y ago
Floating point can be tricky. I competed in the first couple years of Sparkfun's autonomous vehicle competition. My robot had a keypad where you could enter GPS coordinates for waypoints. The microcontroller I was using had 32-bit so
303.
▲
by
phaedrus
7y ago
When I was a poor college student I had a GPS map (probably a Tom Tom at that time) do the "route you in a cycle" glitch over a toll bridge multiple times. I was already down to my last dollar(s) so I had a bit a of a "Cha
304.
▲
by
phaedrus
7y ago
I'm a highly visual person, I expect I'd score 5/5 on each of the 16 questions. In the absence of specific hints my brain will happily auto-generate arbitrary details. My mental imagery does, in fact, "crowd out my act
305.
▲
by
phaedrus
7y ago
I had a Neo Freerunner (2008ish time frame). So many SD card vendors ship (or shipped, then) bad/broken/out of spec SD cards whose controllers just barely work on Windows, Linux distros' drivers didn't work around the q
306.
▲
by
phaedrus
7y ago
I am a C++ programmer and yet I also failed to catch on that ^ in the ticket was xor not pow until I read the comments. All it took was being a bit sleepy. A rather unfortunate operator choice on the part of C: open to confusion and preclu
307.
▲
by
phaedrus
7y ago
I like this way of looking at things. I've been (as a studied amateur) reading and thinking about this topic for a long time. In some implementations of logic programming, disjunction is analogous to iteration or sequence (do A then
308.
▲
by
phaedrus
7y ago
My first computing and programming was on a CP/M machine. It was the 90s, Windows 95 was just coming out and I was just 12, but my family was too poor to afford a contemporary computer. The mother of one of my classmates gave me an o
309.
▲
by
phaedrus
7y ago
I built a dual-CPU E5- based workstation with 64 GB of DDR4, and kill-a-watt says it draws only 75W at idle.
310.
▲
by
phaedrus
7y ago
Sure but I ran an out-of-the-box CLion with out-of-the-box CMake, compiled a popular open source project that in theory is cross platform compatible with Mac, and it fails in a C standard library header deep inside Apple's headers af
311.
▲
by
phaedrus
7y ago
Right I eventually found that out (and temporarily fixed it by making a symlink manually). My question about fixing it right is (1) How? and (2) How am I expected to know this? Because: I'm using an out-of-the-box CLion with it
312.
▲
by
phaedrus
7y ago
A couple weeks ago an automatic Mac OS update removed my (I presume, symlinked-) /usr/include directory. I use CLion not XCode, so this move broke my build, through no fault of my own, with little to go on as to what suddenly had
313.
▲
by
phaedrus
7y ago
Here's my experience. This is partly a CMake rant and partly a CLion rant, but I feel like the issues/confusion with CLion are a reflection of the issues with CMake. I've been struggling for months to convert my hobby projec
314.
▲
by
phaedrus
7y ago
Not the OP, but I too was a self-taught programmer as a teen who got a CS degree in my 20s. I independently came up with the idea binary search in sorted data structures. But the first time I encountered hash tables in the course of getti
315.
▲
by
phaedrus
7y ago
You might enjoy reading "A Door in the Sand" by Roger Zelazny. (A minor spoiler) there is a scene in which the main character causes similar confusion in doctors, but in his case the reversal was caused by a mishap with a piece o
316.
▲
by
phaedrus
7y ago
A major issue (for me) with SmileBASIC is they removed (presumably at Nintendo's request) any way to export or import code except for their walled garden. Previous versions of SmileBASIC (for the regular DS, under the name Petite Comp
317.
▲
by
phaedrus
7y ago
I like your idea to support separately tracked indentation levels.
318.
▲
by
phaedrus
7y ago
A huge problem with cout and << is that setting flags (such as to print numbers in hex) is global and a destructive update. If you don't save the stream state beforehand and restore it you change the flags for printing in unre
319.
▲
by
phaedrus
7y ago
Originally C++ lacked templates, and even once it got templates it was 20 (?) years before it got variadic templates. Operator overloads were added early, however, so using an operator for this was a "hack" to make a type safe pr
320.
▲
by
phaedrus
7y ago
Another thing which helps is doing a project in a language or framework which you're not yet as familiar with - hard to get in analysis paralysis when you don't even know how to start the analysis. The thing is if you're cho
321.
▲
by
phaedrus
7y ago
I follow your YouTube channel! Really enjoy it. I've wanted an MR2 Spyder since I saw one in my university's parking lot, but it's always been metaphorically like a couple who would be great together but were always with some
322.
▲
by
phaedrus
7y ago
The vending machine at my college dorm malfunctioned so it would give your selection and give your change back. It went on for a couple days until, over the weekend, an acquaintance / former roommate used the trick to empty the machin
323.
▲
by
phaedrus
8y ago
I wish CLion supported this as an alternative to CMake for project definitions!
324.
▲
by
phaedrus
8y ago
This is actually a useful comment and points out something I didn't know (about how the CMake if statement resolves variables).
325.
▲
by
phaedrus
8y ago
I wonder if something like this was at work when the 96 Eclipse was designed. My then-gf in college had one; I changed her timing belt and water pump. It was miserable:there was only 1/2"of clearance between the engine and bay eve
326.
▲
by
phaedrus
8y ago
This is by the same person who authored Hyperscan, which is also mentioned on this blog & worth a read.
327.
▲
by
phaedrus
8y ago
For the idea to work for cooling, he would need to expand the air in a different location than it was compressed in. (I wonder if standing waves exhibit this effect?) IF it works out that this is possible, I imagine it would be like stand
328.
▲
by
phaedrus
8y ago
In the limit, if all of your types are well enough labelled, you wouldn't even need positional arguments - it could be inferred / would only have one answer. For example if (using C++ pseudo code) "double slope_of(double x,
329.
▲
by
phaedrus
8y ago
I was looking to see if they anneal the brass; maybe the process of removing the solder heats it enough for that, or maybe the brass used in this application doesn't require it? I'm restoring a 25 year old car, and discovered that
330.
▲
by
phaedrus
8y ago
I wrote a series of Markov chain chat simulators as a teenager. In fact I independently "invented" the concept, and I was crushed to discover I'd been scooped by several decades. I figured out a lot of tricks for making the
More ›