HNHacker News
TopNewBestAskShowJobs

S4M

3,969 karma · joined July 15, 2011

email: samuel.le@gmail.com

currently working on a web app to help junior high school students with math: http://magako.com

I am based in Barcelona, feel free to ping me if you want to meet there.

hnchat:c4KDf32Y296EUsCP5Dcw

submissionscomments
S4M··on Recto – A Truly 2D Language
There is also thje 2D dialect of Racket: https://docs.racket-lang.org/2d/
S4M··on Pen and Paper Exercises in Machine Learning (2022)
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.
S4M··on Ask HN: Analog Chess Tournament?
I will join if someone organizes it!
S4M··on A list of advanced math tricks by Terence Tao
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...
S4M··on Graduate Student’s Side Project Proves Prime Number Conjecture
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).
S4M··on Day trader army loses all the money it made in meme-stock era
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").
S4M··on Strangest Sorting Algorithms
That's just a more sophisticated version of sleep sort.
S4M··on Ask HN: Who wants to collaborate?
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)?
S4M··on Chess.com vs. Lichess
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.

S4M··on Chess.com vs. Lichess
I just went on playok to play couple of games of xiang qi and... I also got murdered...
S4M··on Chess.com vs. Lichess
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...).

S4M··on Good science fiction books about intelligence, AI, artificial life forms, etc.?
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.

S4M··on Show HN: Marvin – A grumpy Slackbot who doesn't like your ideas
> Thanks, but I already have this coworker.

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

S4M··on Why Lisp? (2015)
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.
S4M··on China bans for-profit school tutoring in sweeping overhaul
You might like the wikipedia page about it: https://en.wikipedia.org/wiki/Classe_pr%C3%A9paratoire_aux_g...
S4M··on Ask HN: What's the weirdest/best thing you've done with Emacs?
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.
S4M··on Try APL
> 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?

S4M··on TinyPilot: Month 11
I didn't know what was TinyPilot before so a search gave me this: https://tinypilotkvm.com/ It looks really neat, well done!
S4M··on Why Lichess will always be free
Well, good luck for your endeavors and please let me know (email in my profile) if you need a beta tester or early user.
S4M··on Why Lichess will always be free
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.
S4M··on Show HN: I'm working on a open-source, self-hosted alternative to Disqus
> 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.

S4M··on Lisp-stat: An environment for Statistical Computing
Yes, and maybe a screenshot with some plottings.
S4M··on Ask HN: Why saving webpages on hard disk has not got better?
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.
S4M··on Amsterdam displaces London as Europe's top stocks centre after Brexit
The flight itself should take about an hour, but with the trip to and from the airports, the luggage and passport controls and the need to arrive before the plane takes off, I would say the travel time between two offices in Amsterdam and London will be at least two hours if not three.
S4M··on Soldat: a 2D (side-view) multiplayer action game
For those who are too lazy to compile the game to see what it looks like, here is the official page of Soldat: https://soldat.pl/en/ It has screenshots.
S4M··on Our Response to the Violence in Washington
“Praise and support of the storming of the US Capitol” is non violent for you?
S4M··on Taikyoku Shogi
You are right, the game could just be programmed to stop when one player is mated. The reason they didn't is, I think, to mimic the real life shogi play where the game ends when one player recognizes defeat.
S4M··on Taikyoku Shogi
No, "checkmate" in shogi is the same as as in chess. What I meant to say is that if you are checkmated, you have to resign for the game to be over (on 81dojo). In theory, you could be a dick and not do anything until you run out of time for example, but that would be bad manner and you would be sanctioned for that.
S4M··on Taikyoku Shogi
I also play shogi online on 81dojo like the GP. Yes, I think the penalty is meta-game: people can say you have bad manners, which will affect your "social credit" on the server, or you will banned from playing for a while if you do it too much (not sure about that).
S4M··on Show HN: Arturo – REBOL-inspired programming language and VM written in Nim
Looks great! Just one question: in the roadmap, what do you mean by "Implement LaTeX generation module"? You want to make a templating system like Sweave in R [0]?

[0] https://stat.ethz.ch/R-manual/R-devel/library/utils/doc/Swea... I haven't used it in a while, so it's the best explanation link I could find.

Page 1 of 34Next →