HNHacker News
TopNewBestAskShowJobs

daly

1,804 karma · joined December 14, 2011

submissionscomments
daly··on Auto executives are less confident in EV adoption than they were a year ago
Well if you're sitting on a hundred billion dollars of factories to produce gas cars and it will cost you a hundred billion dollars to convert to electric cars then I guess you'd be "less confident" in EV adoption. Admitting that electric cars are the future would undercut your current market. Volkswagon fired their CEO for saying exactly that.

It's the same argument the horse industry said about cars.

Meanwhile California is seeing huge percentage increases in new EV car registrations. Electric car batteries last 1 million miles. I've never had a gas car live anywhere near that long. Electric cars have fewer parts and are cheaper to build. There are over a dozen battery factories being started in the U.S. this year. Tesla gives free upgrades over the air overnight, not next year. Cars can be charged at home.

My tools are all electric. My riding lawn mower is electric. My next car will be electric. I live in "Pickup Truck, Pennsylvania" and I see a lot of Teslas.

"Confidence" is not facts.

daly··on Ask HN: On my remote team, every meeting turns into an “everything” meeting
John Cleese Meetings, Bloody Meetings https://www.youtube.com/watch?v=2JpC67gw7B8&ab_channel=MetaM...
daly··on Project Management: Time Estimations
To quote:

Time estimates matter not only to the business but they’re a reflection of your level of expertise as a software developer. An experienced software developer can keep tasks on schedule and communicate delays in advance.

I have 51 years as a software developer. Time estimates are worthless.

daly··on Ask HN: Why is there so little info on the web about IBM mainframe programming?
I was an IBM mainframe systems programmer (VM/370) for years.

All of the information you need is in the manuals. IBM is exceptionally good at documentation.

Also, the hardware instruction set is set in stone.

daly··on Ask HN: Are there any books that changed your life during college or school?
Lying: Moral Choice in Public and Private Life by Sissela Bok

Lying involves not just what you say. It includes what you don't say.

daly··on Interview Series [Comic Strips]
!Brilliant. +2 points!
daly··on You can't throw away your smartphone
Sorry. You're wrong. I got rid of my smart phone 2 years ago. Now all I use is a landline. I got rid of all social media except email. My world continued.
daly··on Best IDE for Programming
emacs ... (drops mic)
daly··on Sile: A Modern Rewrite of TeX
I should have mentioned that emacs is also a fundamental tool for all of my work. But since everyone, everywhere uses emacs that would be stating the obvious :-)

I tried orgmode. I even attended a course at CMU that used it for the "live notes". It is excellent for teaching. But it has the same flaw as the "live notebook" idea. There is no generally accepted structure to the approach.

Everyone "understands" books. They have a preface, chapters, an index, a bibliography, pictures, credits, and a table of contents. Literate programs leverage that shared understanding of the structure.

Think of a physics textbook. If you just copy every equation out of the book then you "have the code". All the rest is explanation. They belong together so the explanation and equations (code) are intermingled.

I'm a "primitivist". I work in straight text at an emacs buffer in fundamental mode.

The point of my code is to "talk to the machine". The point of my literate program is to "explain to other programmers (mostly 'future' me)". Note that this is NOT DOCUMENTATION. It is explanation, best presented in book form.

daly··on Sile: A Modern Rewrite of TeX
The literate macro is just standard latex. The command line extraction functions are:

Lisp program to extract latex chunks: https://github.com/daly/axiom/blob/master/books/tangle.lisp

C program to extract latex chunks: https://github.com/daly/axiom/blob/master/books/tanglec.c

Note that the C program is just a hand translation of the Lisp code.

The lisp code has an explanation and the necessary latex macros. The idea is to scan the latex, find each named code 'chunk', and add each one to a hash table. Then the hash table is scanned to dump the requested chunk to stdout. For example:

\begin{chunk}{part1} code for part 1 \end{chunk}

Ordinary latex code between chunks.

\begin{chunk}{part2} code for part 2 \end{chunk}

\begin{chunk}{part1} this code will be appended to the prior chunk \end{chunk}

\begin{chunk}{getall} \getchunk{part1} \getchunk{part2} \end{chunk}

Assuming the above chunks are in the file foo.tex then

tanglec foo.tex getall >getall.code

will print out the named chunk (getall). For an individual chunk use

tanglec foo.tex part2 >getsome.code

daly··on Sile: A Modern Rewrite of TeX
https://en.wikipedia.org/wiki/Axiom_(computer_algebra_system...

This is (most of) the source code for Axiom. The code is extracted from the latex for these pdfs.

daly··on Wired - The ‘Viral’ Secure Programming Language [Rust] That’s Taking over Tech
Oh my...

Does anyone remember Cobol? Pascal? How about Prolog (the 5th gen language)? Standard ML? and now Rust.

Compilers are a dying technology. Stop Writing Dead Programs" by Jack Rusher (Strange Loop 2022) ( https://www.youtube.com/watch?v=8Ab3ArE8W3s&ab_channel=Stran... )

Meanwhile, the hardware world is moving to field programmable gate arrays (FPGAs), Neurocomputing, in-memory logic, dynamic soft-core processors, analog memory, etc.

What does Rust do with memory that self-modifies, or has no defined logic values, processors that dynamically add or remove instructions, etc.

What does Rust do with programs that self-modify?

How long will it be until C++ (2090?) adds borrow checking and Result handling?

What's so "Secure" about Rust? Does it handle row-hammer attacks? DMA overloads? Heartbleed?

Rust is reaching "peak hype".

Sigh.

daly··on Sile: A Modern Rewrite of TeX
TeX and Literate Programming (and Lisp) are my fundamental, day-to-day tools.

Code it, explain it, generate a Literate PDF containing the code.

The programming cycle is simple. Write the code in a latex block. Run make. The makefile extracts the code from the latex, compiles it, runs the test cases (also in the latex), and regenerates the PDF. Code and explanations are always up to date and in sync.

I have found no better toolset.

daly··on Study shows bias in academia: 20% of schools produce 80% of tenure-track profs
Bias? My college / grad school education is not from top-tier schools.

However, I've watched dozens of online courses taught by CMU/MIT/Stanford/Cornell/etc. There is a huge quality difference between my education and those top-tier schools.

Tenure track basically requires someone to advance to the leading edge of a field (or start their own field) and then become recognized for their research. You have about 5 years to make an impact or you won't get on the tenure track. Being taught by the leading edge researchers is a huge advantage.

So, given a higher quality of teaching excellence, higher standards of work, and access to the leading lights in a field, it seems likely that top-tier school graduates would be much more likely to advance their field. It is not always true. Sometimes tenure becomes "on the job retirement".

Being a professor is a job skill. In any job there is a 'bias' toward top-tier people who have demonstrated success. Look at company CEOs. If they have led a successful company they are much more likely to be chosen to lead over someone new.

There is also the "who you know bias", as in any field. When making a tenure decision would you weigh a recommendation from me or from the professor at a top-tier school who taught you, who you work with, and who you respect?

Sure, there is "bias". But that is true of any top-tier profession. If Dolly Parton said of someone "He's the best singer / songwriter I know", would you hire that person to write your songs?

daly··on If you were impressed by Tesla's humanoid
It's the 400 hours I'm looking forward to.
daly··on Ask HN: WiFi smoke detector that doesn't require Internet access
Use meshtastic and an ESP32 wired to the detector.
daly··on Home Heating with Hydrogen: Ill-Advised as It Sounds
I tried this. I bought a hydrogen-powered fuel cell. There are some things you need to know:

Hydrogen makes steel brittle.

Hydrogen WILL leak through any joint you make.

Hydrogen flame is invisible. You can't feel it when you are next to it but it will burn you if you enter the flame area.

Hydrogen is energy storage, not an energy source.

Hydrogen in certain percentages is a REALLY good fuel-air explosive. Sigh.

Platinum will self-ignite hydrogen.

Don't try this at home.

daly··on If you were impressed by Tesla's humanoid
I'd love to get my hands on one. My first use would be to sort, catalog, and shelve my books.
daly··on Multiple FPGAs on a Board
I already have experimented with multiple FPGAs and a big FPGA.

I'm looking into ideas like "push learning into the fingers". For example, when you learn to type you gradually move a computed action (finding the right key) into a twitch reaction (moving it into the fingers). One way to do this is to dump the state machine from an FPGA, add a new state that captures the action, and reloading the FPGA. There are lots of issues to study and puzzles to solve.

For example, if one FPGA is using a neural net to train, can a "piece" of that neural net be "extracted" into a state machine state? I'm experimenting with the interaction / combination of neural nets and state machines. How can a "subset of neural net learning" become an independent state?

I've not found any research on the intersection of state machines and neural nets, nor any research on the idea of "moving behavior into the fingers". I haven't found any research on self-modifying FPGAs, nor any research on self-modifying FPGAs using genetic programming.

I want to be able to A/B test one FPGA output against another.

A single big FPGA requires proprietary software that can't handle the dump/reload idea. Multiple FPGAs have very limited pathways for interaction. Neither seem to be the best medium.

daly··on Elon Musk shows off humanoid robot prototype at Tesla AI Day
At CMU I worked on the problem of human/robot cooperation to change a car tire.

I wish I had such a robot for such an experiment.

daly··on Ask HN: Multiple FPGAs on a Board?
That's a really sweet piece of hardware, definitely out of my price range and, unfortunately, not supported by open source.

Thanks for the pointer.

daly··on [dead]
Marjorie seems unaware that members of congress have staff. The staff would know what is in the bill and would inform their congress person about items that might be of concern. The quality of the staff work determines how well informed and effective a congressperson is.

In particular, the members of the appropriations committee have staff working on the bill, including the republican members. The republicans on the committee are: Shelby (Vice Chair), McConnell, Collins, Murkowski, Graham, Blunt, Moran, Hoeven, Boozman, Capito, Kennedy, Hyde-Smith, Braun, Hagerty, and Rubio.

She writes "They did not tell us ahead of time, no one had any idea." ...

I would find it hard to believe that McConnell was unaware of what is in a 1.5 trillion dollar appropriations bill.

If Marjorie found out about this bill for the first time when the bill was published then it appears that her staff is not doing their job. Or perhaps it might help if she spent less time doing podcasts and more time with her staff on her committees.

Oh, wait... Marjorie HAS no committee assignments. It appears she has a lot of free time to cash her paycheck without doing any work. I believe the correct term is a "no-show job".

Wikipedia: A no-show job is a paid position that ostensibly requires the holder to perform duties, but for which no work, or even attendance, is actually expected. The awarding of no-show jobs is a form of political or corporate corruption. ( https://en.wikipedia.org/wiki/No-show_job )

What this has to do with hacker news is unclear to me.

daly··on Retrotechtacular: The Original Robot Arm
I was one of two people in the Unimation research department. I worked on problems like developing those car welding robots you see everywhere.

The Unimate was hydraulic. It had a normal working weight at full length of about 400 pounds. It was VERY fast. You REALLY don't want to be anywhere within its reach.

daly··on Ask HN: How to you administer your collection of papers/e-books?
I use a "heap" data structure :-)
daly··on Ergonomics for computerists: two and a half analogies
I love your comment that " meta-metaphysics is the analogue of paranoia in philosophy." I might have to carve that into my table.
daly··on Prototyping in C
Which is fine until someone changes the C++ struct definition. This 'non-local' change affects the semantics of your code. Lisp's CAR definition is unaffected by non-local changes.

You can think in any language but as noted by Wittgenstein “the limits of my language mean the limits of my world." For example, while it is technically possible in any language, the ability to write self-modifying code is unlikely to be thought of in most languages. Try writing non-object oriented code in Java.

daly··on From Common Lisp to Julia
A large portion of my (non-lisp) time is taken up because someone changed a language. What used to compile no longer does. Take, for example, Python. A large codebase in 2.7 needs to be ported to Python3 because a customer has a Python3 library. The original problem now needs to be re-coded by people who did not write the original code, achieving nothing of value. Of course, some of the Python 2.7 libraries need to be re-written without access to the source.

The goal for a 'standard' is not ossifying a language. Don't pretend that Python3 is in any way related to Python. Call it Snake or something else. Then 'python' code continues to work and 'snake' continues to work.

The confusion, especially evident in C++, is that 'C++' is at least half-a-dozen languages related by chance. When asked if you know C++, you really should reply with the 'standard' that you claim to know. There are 6 C++ "standards" that I'm aware of. I understand there is a 7th due to arrive in 2023. I wonder if 'concepts' will be in the new 'standard'. If so, do you know what it means to inherit 'up the add chain' versus regular inheritance? If not, can you still claim to 'know C++'?

It takes a LONG time to get "command of a language". Reading other people's code is a great way to see how much you don't know. For example, did you know that in C++ you can dynamically create a class and an instance IN THE ARGUMENT LIST OF A FUNCTION? It can take years to really "know" a language, much longer than the change time of languages.

daly··on Ergonomics for computerists: two and a half analogies
Humor, which seems to exist only in the mind of the listener.
daly··on World’s Largest Cruise Ship to Be Scrapped Before First Voyage
SF should buy it to house the homeless. They could train/employ people to maintain the ship. Leave it permanently docked.
daly··on Ergonomics for computerists: two and a half analogies
I've started reading Bertrand Russell. In your 20s, questioning whether the table exists is a search for wisdom. In your 70s, it is a sign of dementia.

(Philosophy): Does the table exist? ... We can only admit sense data.

(Quantum): Does the table exist? ... It only exists when measured.

(Comp. Sci): Does the table exist? ... That depends. The table definition implies a table that does not (yet) exist. Instantiating the table makes it exist, except in the case where the table is dynamically allocated, in which case it is partial.

(AI): Does the table exist? ... The neural net is undecided whether this is a table or a chair.

(Politics): Does the table exist? ... Let's table that resolution and never speak of it again.

(Amazon): Does the table exist? ... Your table shipment has been delayed.

(Dad): Does the table exist? ... My broken little toe is permanent evidence that the table exists.

(Me): Does the table exist? ... define 'exists'

(Wife): Does the table exist? ... OMG, can you be more pedentic?

← PreviousPage 6 of 27Next →