HNHacker News
TopNewBestAskShowJobs

simonmysun

178 karma · joined December 7, 2022

https://maoyin.eu/
submissionscomments
simonmysun··on OpenSSH Backdoors
It seems that Google Translate simply output garbage when you input garbage. So it should be indeed a coincidence to get this translation.
simonmysun··on OpenSSH Backdoors
Amazing. How did you find it out?
simonmysun··on No "Hello", No "Quick Call", and No Meetings Without an Agenda
I believe the author means "quick call"s. They are not against scheduled calls.
simonmysun··on Quines in LLM
I wonder if it's possible to use different (natual) languages to implement an Ouroboros[1]

https://en.wikipedia.org/wiki/Quine_(computing)#Ouroboros_pr...

simonmysun··on Renderings Created with Only a Pencil
This reminds me of works of Maurits Cornelis Escher. I believe his extraordinary observation skills are only part of what makes his work so remarkable. His deep understanding of mathematics and geometry is equally crucial to his creations.

[1]: https://en.wikipedia.org/wiki/Hand_with_Reflecting_Sphere

[2]: https://en.wikipedia.org/wiki/Three_Spheres_II

[3]: https://en.wikipedia.org/wiki/Still_Life_with_Spherical_Mirr...

simonmysun··on Sam Altman Is Battling with Governments over Your Eyes
https://archive.is/jDjg9
simonmysun··on Tell HN: Immersive-translate plugin may expose you to XSS attacks
I might have indicated it's DOMPurify's problem. Sorry I didn't mean that.

The browser add-on is unfortunately not open source and I don't want to spend a lot of time to investigate it. According an earlier issue (#1437), they should have fixed it already. I guess the later envolvements changed that.

I agree with you that what DOMPurify does should be cared of by the Browser.

simonmysun··on Tell HN: Immersive-translate plugin may expose you to XSS attacks
Yes. The issue is caused by the browser add-on. Before they get it fixed, I think it's better to notify HN users who use it.

They said in previous posts that they are using `DOMPurify` to sanitize the code, but it turns out that it did not work well.

simonmysun··on Tell HN: Immersive-translate plugin may expose you to XSS attacks
Screenshots to prove: https://imgur.com/a/vaKVo52
simonmysun··on Complex Beauties: Calendars with visualizations of complex functions
For the past 14 years, Freiberg University of Mining and Technology has been publishing calendars of Complex Beauties, which include 12 stunning visualizations of complex functions each year, along with the background information and the related mathematicians. I would highly recommend reading the stories behind these complex functions. I have bought several copies as gifts in recent years and feel sad to learn that the 2024 version is the last one. I guess this is because Prof. Wegert may have retired.

Prof. Elias Wegert, the author who actively contributes to these calendars, also wrote Visual Complex Functions: An Introduction with Phase Portraits[1].

[1]: https://doi.org/10.1007/978-3-0348-0180-5

simonmysun··on Aristotle – How to live a good life
You will need a percise definition of virtue and end up using the muddled complex intellectual frameworks. You may have no problem understanding the virtue concept with simple words because you grew up with it, but people with different environments may understand a different thing.
simonmysun··on Total War: Rome II and Creative Assembly – My Statement Ten Years On
What is the solution of this management problem? I imagine someone may say "agile" but does that make the experience of developers and users better or worse?
simonmysun··on Aristotle – How to live a good life
Yes but it affects how other people comprehense it. Imagine making laws based on the idea of virtue from Aristotle.
simonmysun··on Aristotle – How to live a good life
I'm glad you have a choice. I might also be able to choose not to, but there are more people who can't.
simonmysun··on Aristotle – How to live a good life
> In what sense is it more complex?

The life is more complex because of the muddled and complex intellectual frameworks. This is because the 3-5 letter word concepts need to be defined to make sure everybody is talking about the same thing when people have to interact with more people.

simonmysun··on Aristotle – How to live a good life
Sorry, I typed some words but in the end found I can't do it better than GPT and decide not to post them. The quoted comment describes a fact that various other philosophers raised different views.

Most of the arguments can be seen as overthinking. This is how we make our life worse.

simonmysun··on Aristotle – How to live a good life
We are forced to make our life complex. You can't deny the fact that the society we are living in has evolved. Of course one still has the oppurtunity to get rid of it and live in a cave, but how many people are doing this?
simonmysun··on Aristotle – How to live a good life
Aristotle lives in the old versions of the Earth. The outdated concepts may not stand up to modern thinking, but are sufficient for dealing with a simple life. Unfortunately, most people's lives are not simple.
simonmysun··on Visualizing Complex Functions
It reminds me that each year Freiberg University of Mining and Technology publishes a calendar of Complex Beauties[1], of which I buy several copies as gifts every year.

It includes 12 visualizations of selected complex functions and their background and related mathematicians. I would highly recommend reading them. Prof. Dr. Elias Wegert, the author who actively contributes to this calendar, also wrote Visual Complex Functions: An Introduction with Phase Portraits which is mentioned by another comment here.

[1]: https://blogs.hrz.tu-freiberg.de/mathekalender/english/

Edit: Navigate to the german page if you want to buy it

simonmysun··on Show HN: Ell – A command-line interface for LLMs written in Bash
This looks nice! Thanks for mentioning it. I should definitely install this on my servers.
simonmysun··on SponsorBlock – skip sponsor segments on YouTube
I would rather expect an extension like AdNauseam[1] which automatically play the advertisement muted in background.

[1]: https://adnauseam.io/

simonmysun··on Show HN: Ell – A command-line interface for LLMs written in Bash
Thx! Will look into that.
simonmysun··on Show HN: I built a simple, open-source tool to manage servers and SSH keys
Unfortunately, ArchLinux is not doing so. It is hard to define common though. I guess that's one of the reasons such package does not exist.
simonmysun··on Show HN: I built a simple, open-source tool to manage servers and SSH keys
Wow I didn't know that. I will definitely try it! Thx!
simonmysun··on Show HN: Visual A* pathfinding and maze generation in Python
It reminds me another JavaScript path finding algorithms visualization: https://qiao.github.io/PathFinding.js/visual/
simonmysun··on Show HN: I built a simple, open-source tool to manage servers and SSH keys
I would rather require a tool to manage host keys. I really wish to write them along with the host configs in my `~/.ssh/config` instead of `known_hosts`. Additionally I think other host keys e.g. from GitHub should be delivered in a better way. For example, on Archlinux I would prefer getting them from package manager instead of being prompt during connection. Unfortunately host keys can only be written in `known_hosts` and `known_hosts` does not support importing or other method to seperate into different files.

EDIT: I was wrong. See comments.

Does anyone have any suggestions?

simonmysun··on Show HN: Plain Vanilla – a tutorial website for vanilla web development
I'm totally into vanilla web development. Almost all the frameworks are either trying to solve the problems caused by the browser, or trying to force developers follow their style so that the developers make less mistakes.

But the browser evolves:

- Convenient and flexible browser APIs totally replaced jQuery

- HTTP2 HPACK, multiplexing and connection coalescing make SPA and bundlers unnecessary

- Web Component and Shadow DOMs helps you write modular HTML and CSS

etc etc

And developer needs to evolve, too! These frameworks make too many leaky abstractions that developers should think about. It turns out if they don't encounter problems at the beginning, they will meet them later with interest.

I was going to write a similar document, but thankfully you write it so well!

P.S. I'm also not against the framework to solve engineering problems like testing or CI/CD.

simonmysun··on Show HN: Plain Vanilla – a tutorial website for vanilla web development
http://vanilla-js.com/ (the SSL certificate expired 15 years ago)

It is a framework, but just vanilla :)

simonmysun··on I Made an Extended Version of Vimtutor – Introducing Vimtutor Sequel
I had exactly the same experience: I learned vim and started enjoying reading the manual, and then I started to use emacs. Unfortunately, the number of emacs users around me is fewer and fewer. To be precise, there is no one using emacs in my daily social circle anymore. I no longer hear people arguing whether vim or emacs is better, and have to solve any problem I met in emacs myself.

Apps nowadays don't need a manual because they have very low density of information and very low density of functions. Engineers who refuse to maneuver anything without reading the manual first becomes rare. This is not completely bad because it means the living condition of engineers improved.

simonmysun··on Show HN: Ell – A command-line interface for LLMs written in Bash
That truly is a visionary article; thank you for sharing it. We still cannot afford to be complacent, but I believe it is the responsibility of the users to ensure safe and ethical usage.
← PreviousPage 2 of 4Next →