Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. OpenJev(openjev.com ↗)
    92comments
  2. ZCode, the GLM coding agent, silently uploads your Git history(tokenstead.ai ↗)
    16comments
  3. Jemalloc 5.4.0(github.com/jemalloc ↗)
    53comments
  4. Microsoft exec called AI scraping 'the largest theft of labor in human history'(techcrunch.com ↗)
    161comments
  5. The scourge of x86 emulation(fex-emu.com ↗)
    34comments
  6. Astra for Law(openai.com ↗)
    597comments
  7. Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint(prismml.com ↗)
    141comments
  8. Subnormal floating-point numbers are expensive on Intel processors(lemire.me ↗)
    1comments
  9. Replacing Pull Requests with Delta(zed.dev ↗)
    16comments
  10. Bend – A language that blocks AI mistakes via proof, on CPU and GPU(bend-lang.com ↗)
    238comments
  11. Qwen 3.8 Omni Flash(qwen.ai ↗)
    87comments
  12. Hister: A private search engine for the pages you visit and the files you keep(github.com/asciimoo ↗)
    171comments
  13. Wax motor(wikipedia.org ↗)
    74comments
  14. Warren Buffett Steps Down as Berkshire Chairman, Names Son to Replace Him(nytimes.com ↗)
    9comments
  15. Fujitsu launches made-in-Japan next-generation CPU FUJITSU-MONAKA(global.fujitsu ↗)
    235comments
  16. When the fractional part of a float fixes your shader(crocidb.com ↗)
    7comments
  17. Pre-Greek: The lost language hidden within Ancient Greek(linguisticdiscovery.com ↗)
    42comments
  18. Dr Julius Neubronner's Miniature Pigeon Camera(publicdomainreview.org ↗)
    discuss
  19. Google illegally retains customer data,and I am taking legal action against them(medium.com/istokovicsgyorgy79 ↗)
    6comments
  20. How to Write with an LLM(sockpuppet.org ↗)
    124comments
  21. A heap overflow and SSO misconfiguration to compromise OpenAI internal repos(hacktron.ai ↗)
    159comments
  22. Shapelearn Qwen 3.8 27B (13.1 GB VRAM)(byteshape.com ↗)
    15comments
  23. Ask A Monk – A digital wilderness for thoughts with no immediate answer(askamonk.online ↗)
    27comments
  24. Flet 1.0 – Build cross-platform apps in Python(flet.dev ↗)
    63comments
  25. Telstra outage: The night a network decided the year was 2006(netnod.se ↗)
    29comments
  26. Speeding up gearhash on ARM64(sam.dev ↗)
    discuss
  27. Diplodocus, Long Thought Exclusively American, Turns Up in Spain(sci.news ↗)
    45comments
  28. The most important product decision is what you don't build(liamnugent.me ↗)
    41comments
  29. Why I didn’t sign the Fields medallists’ letter(gowers.wordpress.com ↗)
    374comments
  30. How do we prevent mathemathics from devolving into the Medieval Era of secrecy?(mathoverflow.net ↗)
    120comments

Download Lisp to my brain.

9 pointsby 17y ago
13 comments
If I were a character in the movie The Matrix, I could ask an operator to download a program to my brain so I could fly a helicopter or something. I would like to learn Lisp and, well, download it to my brain as rapidly as possible so I can start working with it to write a roguelike. I am looking for good online resources, preferably including a sand-box or similar. I learned to code my websites by having a template (gifted to me by a friend) and playing with it and I still learn new things when I want/need to do something new on my sites. I know a little (X)HTML and CSS already and had intro to VisualBasic about 7 years (which I don't particularly remember, of course).

Yes, I know I can google this. But since I know nothing, I can't judge the quality of the sources. So I am hoping folks here will indulge me.

Thanks.

PS: Am I supposed to do an intro? I just joined today and this is my first post.

17y agoHN ↗

You might wanna revise that "download to brain" requirement. Programming is a skill learned and polished over years; none of us are Johny Mnemonic ;-)

17y agoHN ↗

Just hoping to convey a concept. I already write code by hand, just not programming languages. :-)

Thank you!

17y agoHN ↗

Lisp nowadays comes in two main flavours (dialects, technically): scheme and Common Lisp.

I prefer the former and my favorite implementation at the moment is plt-scheme (http://www.plt-scheme.org/).

From the website above you can download the distribution of the language for your platform. It also has a very nice IDE which has been designed primarily for learning.

Here's a book to get you started (it is fully available online): http://www.htdp.org/

Happy hacking!

17y agoHN ↗

Thanks! Any reasons why you prefer scheme to Common?

17y agoHN ↗

For me it's mostly an aesthetic thing. It's difficult to explain.

I just find simple things more elegant than and Scheme is terser and all the implementations (that I know of) are lighter than CL. It' s also very easy to embed in C code.

I'm by no means an expert, though.

17y agoHN ↗

In addition to "How to Design Programs", there is also the excellent "Structure and Interpretation of computer programs", also fully available online (and also from MIT): http://mitpress.mit.edu/sicp/

SICP is a very very good computer science book, for beginners as for advanced programmers. It uses Scheme, but it is much more than a Scheme book.

(I haven't read HTOP, so I can't say, but it also has a very good reputation. +1).

17y agoHN ↗

I too recommend SICP. It is great, especially if you haven't been exposed to much CS stuff already.

I have found newLisp : http://www.newlisp.org/ very good. It runs on all common platforms and the net-eval mechanism is excellent for distributed computing. For all out grunt and 64 bits, you might want to take a look at picoLisp-64 http://www.software-lab.de/down.html

Don't get too hung up about the Common Lisp vs. Scheme vs. the other 2763 Lisps arguments. Once you understand the concepts only the details vary and you can implement whatever you find works best for you. After all, Lisp is a "programmable programming language". Read some of Paul Graham's essays to get a feel for the power of macros.

17y agoHN ↗

Clojure is another important dialect which has recently arrived, has good reputation and a growing following. You can start with the following resources:

http://clojure.org/ is the place to keep track of the language progress (maintained by the creator of the language).

http://jnb.ociweb.com/jnb/jnbMar2009.html is a great introduction in the language.

http://en.wikibooks.org/wiki/Clojure_Programming and http://en.wikibooks.org/wiki/Learning_Clojure are also helpful resources for a beginner.

Offline, there is a recent and very good book from the Pragmatic Bookshelf, http://www.pragprog.com/titles/shcloj/programming-clojure. Another book is being prepared by Apress, http://www.apress.com/book/view/9781430272311, obviously I cannot say how good it is going to be at this point.

On a more general note, SICP (http://mitpress.mit.edu/sicp/) is a classic and a great introduction in the world of Lisp, functional programming and programming in general. It uses Scheme as the basic language material. A more recent book, Practical Common Lisp (http://gigamonkeys.com/book/) is an introduction in Lisp on the basis of the Common Lisp dialect.

This is just to start, there are more resources for all levels.

Good luck!

17y agoHN ↗

For an online sandbox, you can use the Lord of the REPLs from Google: http://lotrepls.appspot.com/.

You can evaluate expressions (= program) in 2 Lisp dialects, Scheme and Clojure, directly in your browser! (You can also use other non-Lisp languages, notably Ruby).

17y agoHN ↗

Thank you everyone. This thread is the best internet discussion experience I have had in a long time. :-)