Hacker Newsnew | past | comments | ask | show | jobs | submit | jcubic's commentslogin

This is old, found it via Facebook memory (when I posted everything from Twitter), I played this game 11 years ago.

I'm glad that the game still exist.

Now you can cheat a bit by using AI, but it's still fun.


Author here. That's why it's not listed on the official scheme.org website as one of the implementations. I was told that to me called Scheme, you need TCO and continutations.

I made one attempt to implement them some time ago but failed. The code was not working. I based my implementation on someone else code. And later turned out that the call/cc that I based my code pm was not even full continuations and failed my test case.

Most Toy Scheme implementations don't have TCO and call/cc so I can't use them as a reference. But I have an implementation that is really promising that implemented them, the code is very minimal and I can base my code on that.


Unfortunately, I don't have access to a Mac. I can only run Safari at BrowserStack. So I can't test it and fix it.

But this is Open Source and anyone who has a Mac can test it and fix this issue. I can't.


LIPS has documentation builtin into every function. You can see the docstring when you hover over the name of the symbol in the REPL. It also has auto-indent. Also if you press enter you can get back and modify previous lines of code. History doesn't repeat lines only full S-Expressions so it's easy to rerun a big chunk of code.

Even though Try Gambit is a REPL it's not very user-friendly.


The try.gambitscheme.org web app has most of these features and more:

- REPL history with up/down arrows (explained on the landing page's README)

- You can use the "help" procedure to browse the full documentation

- TAB key for autocompletion

- In addition to the REPL there is a code editor to edit programs stored in the browser

- The system supports multiple threads, one REPL per thread

- There is a builtin tutorial to learn the basics of Scheme with examples executable in the REPL with a single click on a "run" button

- The REPL supports single stepping the execution of code

- Easy interface to JS with the SIX syntax extension, e.g. (let ((msg "hello")) \console.log(`msg, 1+2/3))

- The error messages are clear and precise giving the file and line number and highlighting in yellow the piece of code (in the REPL or file) that raised the exception. Just try this in both systems to see the difference:

    > (define (f x) (/ 1 (* x x)))
    > (f 5)
    > (f "hello") ;; the * procedure will raise an exception and highlight "(* x x)"


- in Gambit History works on lines not S-Expressions like in LIPS

- With LIPS you don't need any new syntax to integrate with JavaScript you just use JavaScript directly (let ((msg "hello") (console.log msg)) SIX syntax doesn't look like Scheme.

- Help popup documentation, with LIPS you have documentation directly in the REPL (when you hover over the symbol) and you can access docstring as strings and assign them to values.

- You can create new syntax similar to scheme vectors and make representation the same as code

- You can manipulate almost everything in the language like environments that you can modify

- LIPS show stack trace not one line which gives an error that makes it easier to find where the error happens.

- The Bookmarks allow to run the REPL on every page even PDF files with R7RS spec.

- You can actually run the code that uses quotes (’ The apostrophe symbol) from the spec if you use syntax extension to add new syntax.


I just loaded a page from Europe, it took few seconds to load the images. I thought the page was broken, there were no loader of any kind.


I was told by the author of tRPC, that they use JSON-RPC behind the scene.


Whoa, that's news to me. Is this called out anywhere online? I've been following tRPC a bit and it looks really great. I only wish it wasn't locked into using TypeScript on the server.

It's the dream dev experience I've been chasing. I'm trying to get as close as I can using auto-generated gRPC-Web.


This reminds me my old Laptop with Linux installed that had Optical drive broken and no USB boot option, there was also no option to buy new Optical Drive. I was moving directories around to make some space on root directory. I've moved /var/ to /home directory and create symlink and it worked. But then later I wanted to do the same with /usr directory that had all shared libraries in /usr/lib/. In the process of moving files got some error I was not able to use any binary file like cd, ls or ln. Only applications that was running was working.

I was certain that the laptop was dead and I will not able to use it anymore since I will not be able to install new system. So the task was to copy somehow all my important data. Luckily I was using Firefox and I've had FireFTP installed, so I've borrow my mother Windows laptop and installed FTP server and was able to copy my data over WiFi. Later it turns out that you could buy used DVD burner for that laptop, so it was resurrected and after installing Windows XP I've given that laptop to my mother.


I was reading Twitter and someone posted a tweet with a photo and that it was created in CSS. It turns out the post was a hoax, but I figured that you can actually create photos in CSS, using box-shadow hack (you create 1x1px div and each pixel is single box-shadow). I was using it few years ago to create pixel graphic editor demo. So I've created something quickly on CodePen that get all pixels and create one big box-shadow. When I opened Google Chrome Dev Tools to copy the code it frozen because it was few MB of box shadow data. I was able to copy the text eventually and create HTML file. Later I've added a way to download a HTML file with your image on CodePen.

Here is the demo: https://jcu.bi/css-image


I read HN mostly via email newsletter and I'm interested in like 5% of the content, if I read one or two articles from newsletter it's good. The same as with other newsletters I'm subscribe for. Each social network has different content post by different people. If you merge all those places into one thing you can't keep up with the flood of post.

I've once was subscribed to a few subreddits via RSS and I was not able to read even headlines and they were accumulation over time.

I was also trying HN100 RSS (post that reach 100 points on HN), and most of the stuff was not interesting to me. So even reading headlines was a waste of time. Not to mention that I was not able to keep on reading the headlines to have 0 RSS inbox.

What I would like to see only post that I would really like, and I believe that you can train SMAP filter to do that.

And about SMAP filtering I don't want to filter SPAM as in an email SPAM only stuff I'm not interested in and I see a lot of post on first page on HN that I'm not interested in.

I would like stories recommendation based on my interested not common interest on every HN reader. Most HN readers are not average HN reader.


The Witcher Saga by Andrzej Sapkowski. I'm Polish so I've read the original. This was the best fiction book I've ever read. Also Neil Gaiman's American Gods and Neverwhere.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: