News for hackers. Stuff that matters.

S4M

Re:Recto – A Truly 2D Language on Friday August 15, 2025 @11:47AM (#44913832)
There is also thje 2D dialect of Racket: https://docs.racket-lang.org/2d/
Re:Pen and Paper Exercises in Machine Learning on Friday March 21, 2025 @05:09PM (#43440842)
Looks neat! My only criticism would be that the solutions are given right after the questions so I couldn't help to read the answer of one question before thinking it through by myself.
Re:Ask HN: Analog Chess Tournament? on Saturday January 14, 2023 @04:36AM (#34378785)
I will join if someone organizes it!
Re:A list of advanced math tricks by Terence Tao on Monday December 12, 2022 @07:20AM (#33953906)
There is also this blog post from 2007 by the same author with some math tricks, very neatly explained (it is Terence Tao after all...): https://terrytao.wordpress.com/2007/09/05/amplification-arbi...
It said that the quantity sum(1/(n log n) for n in A) is always finite when A is a primitive set. The "operation done to each element of the set" is n -> 1 / (n log n).
You are lucky, I kept having the same message asking me to prove that I wasn't a robot and couldn't access to the article at all (same reason as you, they "detected unusual activity from your computer network").
Re:Strangest Sorting Algorithms on Monday February 28, 2022 @10:16PM (#30508945)
That's just a more sophisticated version of sleep sort.
Re:Ask HN: Who wants to collaborate? on Tuesday February 01, 2022 @08:50PM (#30172485)
Hi, I would be interested to help a bit, as I think human trafficking is disgusting and should be stopped. Do you have a contact detail - my personal email is in my HN profile)?
Re:Chess.com vs. Lichess on Thursday December 16, 2021 @07:02PM (#29585775)
I played three games and lost them all. It's as you said, I felt that in the opening they knew something I didn't and they entered quickly in my camp. The strange thing is that when I played last year, I didn't have that feeling at all, the games felt pretty even - I won one game because my opponent resigned after I declined his draw offer.

If you want we can play some games some day. My email is in my profile if you're interested.

Re:Chess.com vs. Lichess on Thursday December 16, 2021 @02:57AM (#29576088)
I just went on playok to play couple of games of xiang qi and... I also got murdered...
Re:Chess.com vs. Lichess on Wednesday December 15, 2021 @09:54PM (#29574275)
I don't have the source, but I remember read the lichess didn't want to implement other board games in their interface.

For XiangQi, I know that you can play it on playok.com (I know the rules and played a few games last time just to get the feeling, but I am more into chess and shogi...).

Hyperion and Endymion by Dan Simmons are quite good.

It's set in the far future, when humans have colonized the whole Galaxy, and AIs have become so advanced that they are sentient and have their own world, somewhat parallel to the human world.

> Thanks, but I already have this coworker.

Something like that could be added in the bot's list of responses.

Re:Why Lisp? (2015) on Tuesday October 26, 2021 @09:16PM (#29008530)
I haven't tried it, but there is Janet (https://janet-lang.org/) that seems pretty well suited for building small scripts. It was submitted a few times recently here on HN.
I use it to connect to my chess server! I play on freechess.org and xboard is my client for it, but I launch it from an emacs shell that becomes my console to interact with freechess. I also added some elisp commands so private chats have their own buffers.
Re:Try APL on Thursday June 10, 2021 @08:37PM (#27467908)
> I got a D from my professor. I questioned why and was told that it was unreadable, and that the solution was inefficient.

That is such a bad faith argument, how can a brute force solution be efficient or inefficient?

Re:TinyPilot: Month 11 on Thursday June 03, 2021 @07:12PM (#27388635)
I didn't know what was TinyPilot before so a search gave me this: https://tinypilotkvm.com/ It looks really neat, well done!
Re:Why Lichess will always be free on Saturday April 24, 2021 @10:11AM (#26924940)
Well, good luck for your endeavors and please let me know (email in my profile) if you need a beta tester or early user.
Re:Why Lichess will always be free on Friday April 23, 2021 @07:56AM (#26913769)
You can make it! There is already lishogi.org for shogi (Japanese chess) and lidraughts.org for draughts. They took the code for lichess and tweaked it for their respective games.
> how many people really want to start a long discussion with a stranger about the merits of different languages?

Plenty of programmers, actually. Just see the comments on HN or reddit on posts about programming languages for example.

Re:Lisp-stat: An environment for Statistical Computing on Wednesday March 31, 2021 @10:23PM (#26655961)
Yes, and maybe a screenshot with some plottings.
I use wget (on the command line) to save a webpage. It has an option to save recursively all the links on the page as well, or only the links from a certain domain.

Older »