HNHacker News
TopNewBestAskShowJobs

daly

1,804 karma · joined December 14, 2011

submissionscomments
daly··on Several legally free books (FPGA design, Machine Learning)
Perfect timing (pum)... I just bought an Xilinx Pynq Z2. Thanks.
daly··on From Common Lisp to Julia
My C code from last century fails to compile due to changes in "more secure function definitions".

C++ changes "the standard" every couple years. When someone tells me they "know" C++ I have to ask which "standard" they "know".

Common Lisp code I wrote in the last century runs unchanged today.

So the complaint about Common Lisp being stuck in the past is actually a feature, not a bug.

When Julia settles on a standard (and only one standard) then it will be worth the learning investment. When that happens I can write code that will run without change in 2070.

daly··on Daniel Weinreb: Rebuttal to RMS’s Story About the Formation of Symbolics and LMI
Slightly related... I worked at IBM on Lisp projects (pre- and post- Common Lisp), most notably on Axiom, a computer algebra system in Lisp, which is now free software. This was all pre-internet.

On request I would create a "tape" containing all of our source code and tool chain to send by physical mail. There was never any question about protecting the software.

daly··on What percentage of skilled hackers, coders and engineers are morning people?
I work in a room with no windows. It turns out that my natural cycle is a 27 hour day. So my "work time" slowly shifts around the clock.
daly··on Prototyping in C
I prototype in Common Lisp (described as "clay for the mind"). This gives a clear, standards-defined, prototype.

Then I hand-translate it to C, usually without bugs since every function has a well-defined specification.

The key issue is "impedence mismatch" (eg, hooking a soda straw to a firehose).

C is "close to the machine" and "far from your problem".

Lisp is the only language I know that is close to the machine and close to the problem. So, for example, (integrate (car x)) uses a machine pointer (car) on a data structure and then calls a "problem specific routine" all the same statement.

Think in Lisp, code in C.

daly··on The AI Researcher Giving Her Field Its Bitter Medicine
A matrix is a 2D tensor.

Non-linear mathematics would be more likely be "bitter medicine".

daly··on In 1961, the First Robot Arm Punched In
I was one of two people in the "research department" at Unimation. I believe we were the first to connect a general purpose computer to an industrial robot. The first connection was a Data General Nova, connected to a 2-arm robot. That project was led by Pete Rogers. The second was a PDP-11/03 connected to a Unimate. William Perzley led the "research department". Curiously his name is never mentioned. Also, no one ever mentioned Maurice Dunne, the chief engineer.

The 2-arm robot built speed regulators for automatic transmissions.

The Unimate worked on the problem of training a robot in a static position but playing out the training in time. The robot was trained to weld a car "in a static position" but later to weld the car as it went by on a conveyor line. I worked on the mathematics and computer programs to do the time/distance translation.

I also worked with Vic Schienman and did modifications to the VAL language for robot control. Vic was an interesting guy. He did the first demo of his tabletop robot on my desk (I sent him the film shortly before he died.) During that demo the arm motor failed. He used our machine shop to completely build a motor from scratch and then re-ran the demo.

I was the "technical liason" to SRI (Stanford Research Institute). There Bill Perzley and I learned about Denavit-Hartenberg matrices from Richard "Lou" Paul.

We also did a lot of work on "out of position seam welding" for Kawasaki Heavy Industries. In many cases seam welding is done by rotating the part so it lies flat. Only master welders do things like vertical seams. Kawasaki built ships like oil tankers and they can't be rotated flat.

Joe Engelberger was an interesting guy. He would go to various industries and then come back to Danbury. He kept explaining different things he saw and asked me to figure out how to get the robot to do them. For instance, he saw a company making bricks. The bricks have to be stacked a certain way to cool properly. We talked about ways to get the robot to do the brick stacking problem. One difficulty was the robot used a plated wire memory which was quite small, not large enough to handle the number of bricks in a pallet.

daly··on Zero width or invisible ASCII in Unicode?
I encoded ascii using morse code with a dot becoming a space and a dash becoming a tab. I wrapped the whole thing with a trivial C program to encode/decode.

The end result was "Hello, World" in C but completely invisible. That made it possible to include code that no-one can see but will still be compiled.

daly··on Ask HN: What LaTeX editor do you use?
Emacs in fundamental-mode.
daly··on 2.5T cubic feet of natural gas found offshore south cyprus
If I recall correctly both Greece and Turkey claim Cyprus.

Greece and Europe in general need natural gas.

Turkey needs natural gas.

Methinks this isn't going to go well at all.

daly··on In two centuries, the labor to produce a kilogram of grain was reduced by 99.7%
Does this also include the labor to find/mine/refine/ship the fuel and the labor to mine/refine/shape/assemble/maintain both the factory machines and the farm equipment?
daly··on Amazon's acquisition of the Roomba is dangerous
Why? Surely you didn't actually connect your Roomba to your wifi, right? I have a Roomba and it cleans without a net connection.
daly··on Flight Simulator 2022: Ultra Realism on RTX 3090 with $100 Graphics Mods [video]
At 10:45 I nearly had a heart attack
daly··on InMotion unveils ‘fastest in the world’ 87 MPH V13 Challenger electric unicycle
Thank you. I haven't laughed that hard in a long time. The visual of someone passing me on the highway doing 87 mph on a unicycle left me literally on the floor laughing.

Imagine if it caught fire mid-ride!

Oh, my sides... I can't breath :-)

daly··on Ask HN: Do you honestly still use your first programming language?
Lisp. 50+ years. Still use it.
daly··on Manchin Pulls Plug on Climate and Taxes
Joe is a millionaire who makes his money from his coal... are you surprised he doesn't support climate actions or taxes?

Joe claims his objection is due to inflation issues. But inflation is being driven by external factors such as the price of food and oil. And, yes, we do need to import oil. The U.S. produces light sweet crude but we also need heavy oil for diesel and asphalt so we need imports. The whole world is suffering from inflation at the moment.

Joe wants to reduce the deficit and debt... which is what more taxes would do. So it seems he doesn't want to reduce the deficit or debt.

daly··on A working flight simulator, no computers necessary [video]
I gave my friend an hour in the link trainer for his retirement. He tried to take off, enter the approach, and land. 45 minutes later he failed. When he stepped out of the trainer he had sweat so much he looked like he took a shower.

I got a turn after him. Just a simple task, take off, enter the approach, and "follow the needles" back to the runway. I managed to get it down on the grass parallel to the runway. I also looked like I had taken a shower.

The wild part is that (a) it feels REAL and (b) they added weather while I was flying.

I want one of these at home.

daly··on Ask HN: Who has ditched their phone and what is your replacement?
Ditched my cell phone over a year ago. I have a landline hanging on the wall.

I "get by without a cell phone" just fine. People who want / need to speak to me call.

daly··on Could you land a plane in an emergency?
You need to know the "speeds and feeds" of any given airplane. What is the stall speed? What is the landing speed? On a small single engine you can cut the throttle when you cross the fence but you'll hammer the landing gear on a commercial jet if you do that. How much flaps do you need? How do you enable thrust reversal? Does your plane have carb heat? Can you center the needles on the glide slope? Can you crab into a crosswind?

Commercial pilots are required to be trained for each type of jet they fly, even if they have years of experience.

After 2000 hours in the flight simulator I'm certain I could get a commercial jet on the ground but even the coroner wouldn't consider it a "landing".

daly··on They Think It's Murder
Oh, and the blocking person must also pay all medical / hospital / incidental costs. Plus they must provide medical insurance.
daly··on They Think It's Murder
Pass the following law:

If a person seeks to block an abortion they must agree to adopt and raise the child until age 18.

daly··on I Spent over 1000 Hours Reading the Best Business Books to have ONE Book for us.
I suggest Soley and Wilms "Beyond Product". It seems to cover startup to large business in readable and simple terms. I found it quite useful.

https://www.amazon.com/Beyond-Product-Jill-Soley/dp/16427912...

daly··on W, X, and Z: The Layers of a System
Someone just rediscovered MVC, the Model-View-Controller architecture.
daly··on Not a Book Review for a Canticle for Leibowitz
I read A Canticle for Leibowitz... I highly recommend it. It is excellent.

I now have to read Faust in Space.

daly··on “Silicon Valley” Nails Silicon Valley (2016)
Having worked at several startups and having tried to create my own startup I can honestly say...

Silicon Valley is SO perfect. Even the picture of Lena on the wall and the binary on the shirt!

I swear to God I know Gilfoyle. His conversation with H.R. is dead on.

I stop the show to yell to my wife...OH, MY GOD, They got the REAL guy! He's NOT an actor!

I know someone at a startup that can't watch it. He can't get through season 1. He claims it is too real to acknowledge. It makes him anxious.

Kudos to the writers / producers.

daly··on Notkia puts a Linux PC inside the shell of a Nokia 1680 cellphone
I want a cell-phone format computer that has a port for power, keyboard, mouse, display, and a port for a memory card. Just a black-box with ports. With USB-C this could probably be just a power and USB port that I can attach to an external peripheral box. The peripheral box could have the same form-factor.

That is, a CPU / memory / wifi device I can carry in a pocket.

daly··on Lucid Turns to Saudi Arabia for Future EV Factory
Two words: supply chain

Are they going to import all of the car parts?

daly··on [dead]
Gun Control -- cut off the money.

Prohibit gun makers who sell to the general public from listing on the stock market.

Prohibit banks from lending to gun makers who sell to the general public.

Tax gun shops and gun sales at 100%.

Take the money out of guns ... and you'll take the guns out of circulation.

It is all about the money.

daly··on How to learn programming without any programming language?
Write a recipe for cake.

Should you think that is easy, think again.

What pan should you use? It depends on the size of the cake. Where is the pan kept? Is it in a cabinet? What kind of door handle, twist or pull? Is it under something?

What ingredients? How do you combine them? Do you 'stir'? How many times in how many directions for how long?

What kind of topping? (That's a subroutine). Again, what ingredients? How combined? How stirred?

Do you use milk? Is it in the refrigerator? If not, do you go to the store? How do you go to the store? By car? What kind of car? Does it have enough gas? How do you navigate? What if the store does not have milk? Do you find a cow?

Think of all possible questions and provide answers as part of the recipe.

NOW you're programming.

daly··on Could this pottery shard be a 1k-year-old hand grenade?
Perhaps from the holy hand grenade of Antioch? Was there a rabbit nearby?
← PreviousPage 7 of 27Next →