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 The time Terry Pratchett’s German publisher inserted a soup ad into his novel (2011)
I have a copy of that edition and I remember being very confused and annoyed by the ad. It's also something I don't remember seeing in other books but I could be wrong.

I switched to reading his novels in English (imports from the UK, expensive but worth it).

i_don_t_know··on Combinatorial Optimization in VLSI Design [pdf]
Two of the authors (Korte, Vygen) also wrote a textbook on combinatorial optimization: https://link.springer.com/book/10.1007/978-3-662-56039-6. I haven't read it and I don't know enough about the subject to be able to say how useful the algorithms in the book are specifically for VLSI design.
i_don_t_know··on VLSI Physical Design
I came across this survey paper on Combinatorial Optimization in VLSI Design: https://www.or.uni-bonn.de/research/montreal.pdf

I don't know how up-to-date the information is. Two of the authors (Korte, Vygen) wrote a textbook on combinatorial optimization. I haven't read it and I don't know enough about the subject to be able to say how useful the contents are to VLSI design. I think they focus more on the theory than the application: https://link.springer.com/book/10.1007/978-3-662-56039-6

i_don_t_know··on VLSI Physical Design
Can you recommend books on the algorithms used in frontend synthesis? And/or FPGA-specific algorithms?
i_don_t_know··on macOS Sonoma is available today
It's not just playing the wrong band / app. It's signing you up for a subscription. You still have time to cancel before you have to pay. But it's one more thing you have to worry about now.

It should have confirmed that you're fine with subscribing if that's what you have to do to listen to the band. And it's also fine to play the wrong band if you have a subscription already.

i_don_t_know··on Writing a debugger from scratch: Breakpoints
I believe when you resume the debugger, you can tell the process/thread to single-step over one instruction. So it's something like this:

1. Overwrite instruction with int 3.

2. When you hit the breakpoint, restore the original instruction.

3. Single-step over the original instruction by changing the thread's EFlags (Intel).

4. Restore the breakpoint with int 3.

5. Resume normally.

i_don_t_know··on ECE6133: Physical Design Automation of VLSI Systems
Nice! Looks similar in content to this book (that I haven’t read but am interested in): https://www.ifte.de/books/eda/index.html
i_don_t_know··on The Power of Prolog
Not OP. He might be referring to the looping or enumeration pattern: evaluate some clause to get the first solution, “fail” to trigger backtracking and to get the next solution, etc. At the very end after printing all solutions, the program returns “No” because there are no solutions left.
i_don_t_know··on Learn Physics with Functional Programming
I’m working my way through a German book that explores Physics with Python: https://pyph.de/1/2/index.php?name=intro
i_don_t_know··on Elevator Saga: An elevator programming game (2015)
A long time ago I took an AI class where we wrote an elevator simulation. The elevators were intelligent agents that tried to learn strategies for moving people faster / reduce wait times / etc. This was long before neural networks came into fashion. We used logic, rules, but also decision trees. Fun times.
i_don_t_know··on Modern Computer Architecture and Organization - Second Edition (2022)
If you're interested in ARM and hardware design, "Digital Design and Computer Architecture: ARM Edition" by Sarah Harris and David Harris is available in the ACM Digital Library as a free PDF: https://dl.acm.org/doi/book/10.5555/2815529
i_don_t_know··on Kernighan and Pike were right: Do one thing, and do it well
To me, Wirth’s Oberon system has the same philosophy of having small composable tools and being extensible. There’s no distinction between system language and scripting language. Text is also a common way of passing data, but you can use whatever data structure you want. I think of it less as an OS than as an application shell that you shape to your needs.
i_don_t_know··on Zoom is making its staff return to the office
That’s odd. I’ve been using Teams without problems for years on two Intel MacBooks (currently on Monterey). In my experience it’s always been my PC colleagues who’ve had problems with audio and video.

What problems are you running into?

i_don_t_know··on Ask HN: Best compiler/interpreter books for hacking on Scheme?
Andrew Sorensen used Tiny Scheme as the programming language for his Impromptu app on the Mac a long time ago:

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

There’s lots of good stuff on the project’s website but the papers section might be of particular interest:

http://impromptu.moso.com.au/downloads.html

i_don_t_know··on Convex Optimization (2004) [pdf]
https://link.springer.com/book/10.1007/978-0-387-40065-5
i_don_t_know··on The Embeddable Common Lisp (2005) [pdf]
Try pointing one of the environment variables mentioned here to your installation of SDL2 before launching ECL:

https://developer.apple.com/library/archive/documentation/De...

    LD_LIBRARY_PATH
    DYLD_LIBRARY_PATH
    DYLD_FALLBACK_LIBRARY_PATH
I don’t know if there’s a way to do that from within ECL.
i_don_t_know··on The Embeddable Common Lisp (2005) [pdf]
No idea, but when you build C projects you have to tell the compiler/linker where to look for the library with sdl2-config:

https://manpages.ubuntu.com/manpages/jammy/man1/sdl2-config.....

Have you tried that?

i_don_t_know··on Paradigms of A.I. Programming: Case Studies in Common Lisp (1991)
What 1980s-era ML technique are you using and why is it better suited for your application than something modern? Is it „just“ the ability to explain solutions, or is there something else like guarantees for XYZ?
i_don_t_know··on How simulations work (2016)
The book on „Continuous System Sinulation“ by Cellier and Kofman also discusses much of this material, including various integrators, simulation of differential-algebraic equations, and quantized state simulation.
i_don_t_know··on British government mocked for advertising head of cyber role with £57K salary
There must have been something about the job that appealed to you. Why did you accept this job vs some other job in the industry?
i_don_t_know··on Theseus and the Zipper
Come to think of it, Deutsch, Schorr and Waite’s algorithm for traversing a data structure by reversing pointers within it can also be viewed as a form of a zipper. Except that DSW’s algorithm predates the zipper.

DSW’s algorithm is used in the mark phase of garbage collection. It traverses and marks all reachable data in constant space.

https://inst.eecs.berkeley.edu/~cs61bl/r//cur/graphs/garbage...

i_don_t_know··on Theseus and the Zipper
My favorite paper on zippers (and one of my favorite papers in general) is Norman Ramsey’s and Joao Dias’s „An Applicative Control-Flow Graph Based on Huet’s Zipper“

https://www.cs.tufts.edu/~nr/pubs/zipcfg.pdf

In section 5 they say their zipper turned out to be a little bit faster than the imperative version (they use Ocaml). And the resulting code is simpler and less buggy than the imperative one (section 6.3).

i_don_t_know··on The World Cup of Microsoft Excel
I don’t know if these books address your specific question, because I haven’t read either one.

Peter Sestoft has looked at spreadsheet implementations:

Spreadsheet Technology http://www.itu.dk/people/sestoft/funcalc/ITU-TR-2011-142.pdf

Which seems to cover similar topics as his book: Spreadsheet Implementation Technology https://mitpress.mit.edu/9780262526647/spreadsheet-implement...

i_don_t_know··on Ask HN: CS Master's and non-traditional background. How to get first internship?
Look out for on campus career fairs, and the student career center or whatever it‘s called at your school. They should have a database where you can enter your resume and companies can find you. You might also ask a professor, some have connections to industry through projects and former students.
i_don_t_know··on A Little Smalltalk (1987)
I'm going to have to take a look. I really liked the simplicity of that version. Thank you.
i_don_t_know··on A Little Smalltalk (1987)
Great book for learning OOP and how to implement a bytecode compiler and interpreter for a small language. One of my favorite books.

A few years later Budd worked on a successor where the compiler and much of the system was written in Smalltalk and image-based. Only the VM was in C: stop and copy garbage collection, bytecode interpreter and primitives. Small and straightforward. A wonderful system for learning how to implement languages.

Sources to several versions: https://github.com/crcx/littlesmalltalk

i_don_t_know··on Ask HN: Best resources on implementing constraint logic programming?
I found a paper on compiling constraints for clp(fd) in the context of GNU Prolog: https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.30...
i_don_t_know··on Ask HN: Best resources on implementing constraint logic programming?
SICP contains a chapter on non-deterministic programming that’s similar to how Prolog executes: https://mitp-content-server.mit.edu/books/content/sectbyfn/b...

There’s also a chapter on logic programming but it doesn’t quite work the same way as Prolog: https://mitp-content-server.mit.edu/books/content/sectbyfn/b...

Peter Norvig has a couple of chapters (11,12) on how to implement Prolog in his book PAIP. He also has a chapter (17) on constraint satisfaction but IIRC it’s not integrated into his Prolog system: https://github.com/norvig/paip-lisp

Many real Prolog implementations are based on the WAM. For an excellent introduction to the WAM look at: http://wambook.sourceforge.net/

I don’t have books or papers on implementing constraints and how to integrate them with Prolog. But here are two great classes on Coursera that explain how constraints and constraint propagation work. You can audit them for free:

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

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

I believe constraints are typically integrated into Prolog through attributed variables: https://www.metalevel.at/prolog/attributedvariables

But I don’t really know how that works. Markus Triska has a few papers on constraint solvers for SWI Prolog on his webpage. He can probably give you more and better pointers: https://www.metalevel.at/

i_don_t_know··on Oberon (2009)
Interestingly, one of the authors (Felix Winkelmann) created Chicken Scheme and their Oberon compiler appears to be written in it.
i_don_t_know··on The largest model airport and railway
Miniaturwunderland is great! They have really creative solutions to various problems too. Take the “behind the scenes” tour.

My favorite are the hidden “gas” stations for the small cars. When it’s time to refuel, cars drive to the station, electrodes connect to the outside mirrors on the cars, recharge the battery, and then the cars drive back to their respective cities.

← PreviousPage 4 of 10Next →