HNHacker News
TopNewBestAskShowJobs

i_don_t_know

882 karma · joined June 3, 2015

peter dot ilberg at gmail dot com

https://www.linkedin.com/in/peter-ilberg/

submissionscomments
i_don_t_know··on Trealla – A compact, efficient Prolog interpreter written in plain-old C
(a ? b : c) means (if a then b else c). The line is a nested if-else construct:

  if l is static string (?)
  then src = l->val_str
  else if l is a string buffer
  then src = l->val_strb_cstr + l->strb_off
  else src = l->val_chr
i_don_t_know··on CACM special issue on Lisp (1991)
The scanned PDFs of the articles are available for free. Click on the article you‘re interested in and then click on „Save PDF.“
i_don_t_know··on Writing my PhD using groff
Here's an old but good book on Unix Text Processing with nroff/troff and its companion tools eqn, pic, tbl. It explains how to use the tools and how to write your own macro packages for them:

https://www.oreilly.com/openbook/utp/

i_don_t_know··on Integer vs. Linear Programming in Python
I have enjoyed these courses on Coursera. You can audit them for free.

Discrete Optimization https://www.coursera.org/learn/discrete-optimization

Solving Algorithms for Discrete Optimization https://www.coursera.org/learn/solving-algorithms-discrete-o...

The second course is the last part of a three part series. The first two parts are on modeling of problems with MiniZinc. They are also quite enjoyable.

i_don_t_know··on Ask HN: What are some interesting examples of Prolog?
What’s the best way to get started with Prolog on macOS? Implementations, editors, etc?
i_don_t_know··on Project Oberon
There's a hint of what he thinks about Smalltalk in his book "Programming with Oberon" (co-authored with Martin Reiser). See sections 12.6.1 and, in particular, 12.6.2 (pages 236-239): https://people.inf.ethz.ch/wirth/ProgInOberonWR.pdf
i_don_t_know··on Debugging simple C programs in VS Code?
I have used this extension: https://marketplace.visualstudio.com/items?itemName=ms-vscod...

The page provides links to various bits of documentation, including this link with instructions on how to set up debugging: https://code.visualstudio.com/docs/cpp/cpp-debug

i_don_t_know··on The Mac Malware of 2021
What are good anti-virus/malware tools for macOS?
i_don_t_know··on NASA Ogma: generate hard-realtime C runtime monitoring applications
I looked around on the Copilot page and found a link to the papers: https://github.com/Copilot-Language/copilot-discussion

You might consider adding a Publications or Papers section to the documentation page that links directly to the PDFs. (But the link to the repo is fine too!)

Very nice project!

i_don_t_know··on NASA Ogma: generate hard-realtime C runtime monitoring applications
I find this space fascinating. Can you recommend books or other resources to learn more about hard real-time systems, modeling and model-checking, and hardware-in-the-loop testing?
i_don_t_know··on Ask HN: How to convince big tech team that tests and code quality matter?
See Chesterton's fence: "The principle that reforms should not be made until the reasoning behind the existing state of affairs is understood." [https://en.wiktionary.org/wiki/Chesterton%27s_fence]

There might not be a particular reason for why things are the way they are. It might have just grown to be this way.

I haven't read it but I've heard good things about "Working effectively with legacy code" by Michael Feathers.

i_don_t_know··on Germany locks down unvaccinated people, as leaders plan to make shots compulsory
The number of ICU beds may have been inflated. At the start of the pandemic, hospitals had to report available ICU beds, and they received money for the number of beds they reported. I know of two hospitals that reported all of their beds (the physical objects) when the intention of the law / regulation was to have only those beds reported that could be operated / staffed.
i_don_t_know··on Effekt – A research language with effect handlers and lightweight polymorphism
The example for the Yield effect [1] looks suspiciously like the condition system of Common Lisp and restarts.

[1] https://effekt-lang.org/#intro-handlers

i_don_t_know··on APL Compiler Based on Tail (Typed Array Intermediate Language)
If you want to work with APL, you probably want to install the free APL fonts and keyboard mappings from Dyalog at https://www.dyalog.com/apl-font-keyboard.htm

If you just want to play around with it, you might try https://tryapl.org/

i_don_t_know··on Ask HN: Recruiters want people who do side projects, yet contracts forbid them?
Your employment contract should say if and when you need to ask your employer. Aside from that, you also need to worry about Arbeitnehmererfindungsgesetz: https://www.gesetze-im-internet.de/arbnerfg/ Especially if you intend to make money off of it.
i_don_t_know··on Ask HN: How to start learning embedded systems?
You might look into the Raspberry Pi Pico https://www.raspberrypi.org/products/raspberry-pi-pico/

It’s very affordable and you can program it in C/C++ and Python. There are lots of projects on the site as well. You might also enjoy HackSpace magazine. Free downloads of issues are available at https://hackspace.raspberrypi.org/

i_don_t_know··on Ask HN: Getting Started with FPGAs on macOS
Nice! Thanks for the pointer.
i_don_t_know··on Ask HN: Getting Started with FPGAs on macOS
Thank you! I'll look into those options.
i_don_t_know··on Conway's Game of Life on FPGA
Dataflow languages might be an even better fit. But I don’t know if there are any HDL languages based on dataflow and if they provide useful means of abstraction.
i_don_t_know··on A virtual machine for microcontrollers
They worked on a Smalltalk-inspired VM (OOVM) in the early 2000s. So I don’t think they claim that running a dynamic language interpreter is a new invention, ulisp, MicroPython, or otherwise.

I don’t know ulisp. I believe with MicroPython you basically have one monolithic Python application running in the interpreter on the device. I believe their claim is that their system enables you to have several applications run in their interpreter with reasonable isolation between them. So I think it’s more about having a single monolithic application vs a set of specialized applications / services that you can combine.

I believe their original system OOVM did allow for lisp-style (smalltalk-style) interactive development. I don’t know if their new system supports it too.

i_don_t_know··on Ursula Le Guin Books
My impression was that they had a form of communism on the moon, with all the associated problems. I didn’t see it as anarchic or libertarian. Quite the opposite, it felt unfree like communist societies in Eastern Europe.
i_don_t_know··on Show HN: A RISC-V core in Racket
The message-passing model might refer to discrete event system implementations of digital logic simulators. That is, you can think of the events as messages between logic gates and wires. See for example the simulator in SICP: https://mitpress.mit.edu/sites/default/files/sicp/full-text/...
i_don_t_know··on Show HN: A RISC-V core in Racket
This is great! I also like your other posts in the series on tiny-hdl. Thank you for writing this up!
i_don_t_know··on Ask HN: How to relocate to Europe as a software developer
No free healthcare. You have to buy insurance (legal requirement). Depending on your pay, you may buy private insurance at a fixed monthly premium, or public insurance at 15% of your income. Your employer covers half the cost for each one.

Currently, the max on public insurance is about 800€/month incl. „Pflegeversicherung“ for when you need permanent care after injuries or old age. You‘re paying half of that, your employer pays the other half.

There‘s also tuition at universities but it’s not comparable to US universities. I don’t know the current level. It was the equivalent of around 100€ per semester when I was a student.

i_don_t_know··on Any Feedback on “Software Design for Flexibility” by Hanson and Sussman?
The Indigo store has a free preview of the first few pages of the book, including the table of contents. Amazon might have a free preview for the Kindle version as well. Click on "Buying Options" on the book's website and follow the links.
i_don_t_know··on The Toit Programming Language
Sounds like a continuation of their first attempt: a Smalltalk based development platform for embedded systems „OOVM“.

http://esug.org/data/ESUG2003/lars@2bbak@2besug.pdf https://verdich.dk/kasper/thesis.html

i_don_t_know··on The birth of Prolog (1992) [pdf]
The closest thing that I know of is "Warren's Abstract Machine: A Tutorial Reconstruction" by Hassan Aït-Kaci. It's out of print but available as a PDF at http://wambook.sourceforge.net
i_don_t_know··on Fluxus – A 3D game engine for live-coding worlds into existence
There‘s also Impromptu: http://impromptu.moso.com.au/

https://en.m.wikipedia.org/wiki/Impromptu_(programming_envir...

i_don_t_know··on A Brief Introduction to Forth (1993)
Lars Bak (and others) founded a startup that tried to use a Smalltalk VM for embedded systems: OOVM. See for example: http://esug.org/data/ESUG2003/lars@2bbak@2besug.pdf

There‘s also a Master‘s thesis about the implementation: https://verdich.dk/kasper/thesis.html

And another overview: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.84...

Among other things, Lars Bak worked on the StrongTalk VM that became the Java VM. And he is/was behind the V8 JavaScript engine.

i_don_t_know··on Why Learn Prolog in 2021?
The Art of Prolog is available as a free download (PDF) on the MIT Press website under „Open Access“.

AFAIK the biggest item that’s missing is constraint logic programming. Markus Triska discusses CLP in his Power of Prolog book.

← PreviousPage 5 of 10Next →