HNHacker News
TopNewBestAskShowJobs

juliangamble

1,798 karma · joined December 26, 2009

Author of Clojure Recipes http://clojurerecipes.net/ http://www.amazon.com/Clojure-Recipes-Developers-Library-Julian/dp/0321927737

Blog http://juliangamble.com/blog

submissionscomments
juliangamble··on Anil Seth Finds Consciousness in Life’s Push Against Entropy
Theory of Mind/Metacognition/Sense of Agency is well defined in the literature based on decades of research: https://aeon.co/essays/is-there-a-symmetry-between-metacogni...

For the latest in consciousness research - look at: https://arxiv.org/abs/2109.12798 Here (p14) they make artificial consciousness testable by making mental models of action, and the conscious 'thought' is the difference between what the action that was expected vs the action that occurred.

juliangamble··on Reconstructing Roman Industrial Engineering
I accept your broader point. I have a minor quibble on invention of the steam engine:

First rudimentary steam engine was the Aeolipile produced in the first century in Roman Egypt. In this light one can also say China had the steam engine during the Song Dynasty(960-1279). https://history.stackexchange.com/questions/2012/did-the-chi...

The point is that for steam engine technology to take off, there had to be an economic problem it solved. In a nation with prevalent slavery or abundant human labour, an early steam engine is superfluous.

juliangamble··on Simple test reveals if your mental images are more vivid than other people's
Most psychology research is based on self reporting. It is the standard in that field.
juliangamble··on Functors and Monads for People Who Have Read Too Many “Tutorials”
This post brings me back to this idea for industrial programmers: https://www.simplehaskell.org/
juliangamble··on Can programming be liberated from the von Neumann style? (1978)
Could you provide a link or example?
juliangamble··on Forth – The Early Years (1991)
This talk by Chuck Moore at Strange Loop was amazing https://www.youtube.com/watch?v=0PclgBd6_Zs "Programming a 144-computer chip to minimize power"
juliangamble··on Why AI is harder than we think
Link to paper: https://arxiv.org/pdf/2104.12871.pdf

TLDR: Fallacy 1: Narrow intelligence is on a continuum with general intelligence (solving an easy AI problem doesn't immediately lead to being able to solve a hard AI problem)

Fallacy 2: Easy things are easy and hard things are hard (ie AI is hard)

Fallacy 3: The lure of wishful mnemonics (ie people tend to give parts of a computer program anthropomorphic labels, eg "understand" that don't really)

Fallacy 4: Intelligence is all in the brain (our thoughts are grounded, or inextricably associated with, perception, action, and emotion, and that our brain and body work together to have cognition)

juliangamble··on Human life as technology from Greek mythology to Mary Shelley’s Frankenstein
> acquisition of knowledge metaphysically requires distance from, and ultimately denial of, God

Historians James R. Jacob and Margaret C. Jacob have argued for a linkage between seventeenth-century Anglican intellectual transformations and influential English scientists (e.g., Robert Boyle and Isaac Newton).

Philosopher of Religion, Richard Jones, has written a philosophical critique of the "dependency thesis" which assumes that modern science emerged from Christian sources and doctrines. Though he acknowledges that modern science emerged in a religious framework, that Christianity greatly elevated the importance of science by sanctioning and religiously legitimizing it in the medieval period, and that Christianity created a favorable social context for it to grow; he argues that direct Christian beliefs or doctrines were not primary sources of scientific pursuits by natural philosophers, nor was Christianity, in and of itself, exclusively or directly necessary in developing or practicing modern science.

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

juliangamble··on Open Application Model – An open standard for defining cloud native apps
The spec doesn't appear to address the 12-factor app spec which does a similar job in a more general way.

https://github.com/oam-dev/spec/search?q=12+factor

https://12factor.net/

juliangamble··on A Simple Scheme Compiler (1997)
Ghuloum's scheme compiler tutorial essentially follows a useful process: http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf. It starts with emitting x86 machine code for constants, then unary and binary primitives, local variables, conditionals, heap allocation, procedure calls, and finally closures. It helps that Scheme has little to no parser to speak of, but it is straightforward to extend the technique to a language that does.
juliangamble··on Why general artificial intelligence will not be realized
Not disagreeing with this.

Does anyone have a reasonable article or book making this point (for or against) that is well-researched and argued?

juliangamble··on Homoiconicity Revisited
Here is why that reasoning is wrong:

https://stackoverflow.com/questions/9533139/what-would-cloju...

The point is that macros become much harder once you move away from leading parenthesis.

Apple tried your reasoning with the Dylan language in the 90s - and the Dylan language died.

juliangamble··on Lemmings 2: The Tribes
The concept video of Lemmings for Augmented Reality is lots of fun:

https://www.youtube.com/watch?v=vluX8rrWlNY

https://futurism.com/videos/this-classic-90s-game-is-making-...

juliangamble··on The Spherical Solution
You can build it out of Lego https://www.lego.com/en-us/product/sydney-opera-house-10234
juliangamble··on Emma Willard's Maps of Time
They reminded me of the Conspectus of USA Political History: https://losthunderlads.com/2012/10/29/the-political-history-...
juliangamble··on Quine
You can write a minikanren program that will generate quines.

> We will teach attendees how to use the relational (logic) language miniKanren to write several relational interpreters and reducers capable of automatically synthesizing recursive, symbolic programs, including quines (programs that evaluate to themselves) and fixpoint combinators (such as the famous Y-combinator). https://www.thestrangeloop.com/2014/program-synthesis-using-...

- miniKanren, live and untagged: quine generation via relational interpreters (programming pearl) (http://webyrd.net/quines/quines.pdf) by William E. Byrd, Eric Holk, and Daniel P. Friedman

juliangamble··on How to undo almost anything with Git (2015)
It's missing git revert merges

  git revert -m 1 88113a64a21bf8a51409ee2a1321442fd08db705
juliangamble··on Structure and Interpretation of Computer Programs – JavaScript Adaptation
http://www.sicpdistilled.com/ (Clojure)

http://www.afronski.pl/sicp-in-clojure/2015/10/19/sicp-in-cl...

juliangamble··on The least common divisor and the greatest common multiple
How about 'highest common factor'?
juliangamble··on Love Letter to Clojure
> I will discuss the following:

> * What the Second Ideal of Focus, Flow and Joy Means to Me Relearning Coding: How Coding Mostly Left My Daily Life in 2008, But Came Back in 2016 (or If I Can Learn Clojure, Anyone Can)

> * Why I Love LISPs Now

> * Functional Programming and Immutability (and John Carmack)

> * A Mistake I’ve Been Making Since Grad School, and How I Fixed It: Composability

> * The Epiphany I Had Reading “An Introduction to React in 2019 (For People Who Know Just Enough jQuery To Get By)”

> * What Rich Hickey Says About Simplicity: Where The First Ideal Of Locality and Simplicity Comes From

> * Solving Business Problems, Not Solving Puzzles—Why I Detest Doing Infrastructure Work These Days

> * Lastly, the REPL…the Ultimate in Fast and Fun Feedback Loops!

> * The Amazing Clojure Community, Parting Thoughts, and What I’d Like To Write About in the Future

juliangamble··on Darwin, a Game of Survival of the Fittest Among Programs (1971) [pdf]
Watching a variation of this (Tierra) run on a Mac is just magical: https://github.com/smfr/mactierra
juliangamble··on Lisp is not based on the Lambda Calculus
There are some common themes here. Let's get some precise terminology so we can all talk about the same thing.

Some questions to ponder:

Is Lisp a term re-writing system? https://news.ycombinator.com/item?id=9554335

Is lambda calculus a term rewriting system? https://cstheory.stackexchange.com/questions/36090/how-is-la...

Is the Mathematica language a term-rewriting system? https://mathematica.stackexchange.com/questions/119933/why-d...

And to round it all up: Is Lisp an evaluation system and Lambda calculus an evaluation system? [I'll leave this one to the reader]

juliangamble··on Why the French love to say no
'Yeah nah' - has variations across the English speaking world: https://english.stackexchange.com/a/253960/15280
juliangamble··on Ask HN: Why do new(ish) programming languages eschew OOP features?
The author of the article below lists the strengths of Object Oriented Programming:

1. Encapsulation

2. Polymorphism

3. Inheritance

4. Abstraction

5. Code re-use

6. Design Benefits

7. Software Maintenance

8. Single responsibility principle

9. Open/closed principle

10. Interface segregation principle

11. Dependency inversion principle

12. Static type checking

He then goes on to debunk them showing alternatives from functional programming.

http://www.smashcompany.com/technology/object-oriented-progr...

juliangamble··on Where Has the Magic Gone?
Fred Brooks - The Mythical Man Month http://pages.cs.wisc.edu/~param/quotes/man-month.html
juliangamble··on Solid Principles: A Software Developer’s Framework to Robust, Maintainable Code
There is a fantastic talk by Kevlin Henney where he deconstructs the SOLID principles as each being either misunderstood when they were written - or frequently misunderstood after. It was done here:

https://vimeo.com/157708450

I won't spoil it by writing all the points here - just some pearls.

* The Open/Closed principle is redundant because it is already covered by the Liskov substitution principle.

* Bob Martin's view of the Dependency Inversion principle is in fact the Single Responsibility principle.

He suggests 5 more principles - but I won't spoil it by listing them here. Go see it!

juliangamble··on Life of Brian at 40: an assertion of individual freedom that still resonates
I showed my kids the falling from the tower scene, including the commentator on the landing. They cracked up.
juliangamble··on Why Language-Oriented Programming? Why Racket?
Some notes on Data > Functions > Macros in Clojure: https://lispcast.com/data-functions-macros-why/
juliangamble··on Whiteboard problems in pure Lambda Calculus (2017)
My team at Vivint, the Space Monkey group, stopped doing whiteboard interviews a while ago. We certainly used to do them, but we’ve transitioned to homework problems or actually just hiring a candidate as a short term contractor for a day or two to solve real work problems and see how that goes. Whiteboard interviews are kind of like Festivus but in a bad way: you get the feats of strength and then the airing of grievances. Unfortunately, modern programming is nothing like writing code in front of a roomful of strangers with only a whiteboard and a marker, so it’s probably not best to optimize for that.
juliangamble··on Tide-Predicting Machine No. 2
If you want to know about Tide-Predicting Machine No. 0 - read the following from Charles Pezold:

In the late 1860s and early 1870s, British scientist William Thomson—later known as Lord Kelvin—developed a technique based on Fourier analysis to mathematically predict the pattern of tides for particular seaports. Never just a theoretical physicist, Thomson then designed a machine to carry out these calculations. One of these tide-predicting machines is on view in the Science Museum in London. Today we categorize this machine as a special-purpose analog computer. While it’s certainly interesting from a technical perspective, it also has a surprising role in the history of 19th century science: William Thomson began his research into the tides in the midst of the Darwin Wars following the 1859 publication of The Origin of Species, and part of the impetus behind this astonishing machine was nothing less than to prove Darwin wrong. From the clash of thermodynamics, geology, and evolution, the era of analog computing was born.

You can read more here: http://www.charlespetzold.com/blog/2016/12/Computer-of-the-T...

← PreviousPage 3 of 8Next →