HNHacker News
TopNewBestAskShowJobs

Walkman

1 karma · joined July 1, 2023

submissionscomments
Walkman··on Websocketd
> Each inbound WebSocket connection runs your program in a dedicated process. Connections are isolated by process.

I see you and 10,900 other "software developers" get the point of WebSocket. It's especially "impressive" when you written the whole thing in Go and could have used goroutines and channels, which could easily handle hundreds of thousand of connections (maybe millions). Terrible design!

For a long time I thought every software developer must be smart, but a lot of them don't see the big picture very often.

Why this bothers me so much? You created something that a lot of developers think is good enough, so less innovation will happen and more and more slow websites will appear because of tech like this...

Walkman··on Reahl – A Python-only web framework
You took a declarative language (HTML) and mad it imperative (Python). Why is that a good thing?
Walkman··on How I use my Raspberry Pis to help me work on with my side projects
The article has 9 subchapters. It could have 2 or 3 by saying "Install GitLab", but maybe GitLab can't run on a Raspberry? If you are not restricted to a Pi however, try GitLab and you are done with all the steps described in this article.
Walkman··on How to teach Git
This is very good explanation, but only explains what happens with the files, nothing about the graph what is a git repository. This talk helped me tremendously to finally understand what's going on in git: https://www.youtube.com/watch?v=1ffBJ4sVUb4

It is one of the best talks about git for beginners with an unfortunate title :D

Also, this interactive visual tool helped me to understand branching: https://learngitbranching.js.org/

Walkman··on Notion – All-in-one workspace for notes, tasks, wikis, and databases
yes
Walkman··on Ask HN: How do you motivate yourself to keep working on a project?
For me personally, the only reason for doing something is always that if it is useful for others (solves a problem, creates real value in the world) it worth doing. Extra points if I could make money with it :). If not, I was not able to continue working on it.
Walkman··on Ask HN: What is the difference between Burnout/Depression/Laziness/Wrong job?
Depression is a serious mental illness, in which 7-10% of the patients die (because of suicide). Not kidding. It is caused by the imbalance of serotonin and readrenalin neurotransmitters.

Depression is NOT a synonym for "bad mood" or "being tired", it's much more serious than that.

Walkman··on Strong and Weak Technologies
Very good point!
Walkman··on Google cans the Chromecast Audio
It's about the stupid trend they kill things which have not enough interest. That's why we can't have nice things...
Walkman··on Google cans the Chromecast Audio
I would not buy anything from Google at this point. Definitely will not use anything else except Gmail.
Walkman··on Adding Glue to a Desktop Environment
And you can write your own. I use i3wm and was not satisfied how it handles Window Titles by default, so I wrote my own daemon for renaming windows automatically, which makes a huge difference for me: https://github.com/kissgyorgy/i3-window-title-changer
Walkman··on Ask HN: Is web development still a viable career choice?
I don't understand how is this a question? Do you really want to learn it because it seems to me that you are trying to find a bogus reason not to... no offense, but if you don't like it, you shouldn't pursue this career, otherwise the simple answer is there is huge demand and good salary for Web Developers.
Walkman··on Coconut: Pythonic functional programming
Coconut, aka take a beautiful language and fuck it up with ugly syntax :D Well done!
Walkman··on AdGuard DNS: A Privacy-Oriented DNS Server
Another great solution is Pihole: https://pi-hole.net/

It does not just protects your privacy, but improves your bandwidth too.

Troy Hunt wrote about it a couple of months ago: https://www.troyhunt.com/mmm-pi-hole/

Walkman··on Notes on how systemd's job engine is structured and other related bits
They are enabled by default and you can't simply just disable, some of them will still start. You have to mask them in order to block them entirely. Also it doesn't matter if you have ntpd running, systemd-timesyncd still started for us...
Walkman··on Notes on how systemd's job engine is structured and other related bits
That's starting to be not true. In the beginning, there was just systemd, now starting with bionic, it's components are tied together so much that's it's hard to turn them off or not use it. I liked systemd a lot, but started to understand the complaints when we had a lot of problems with systemd-timesync, systemd-resolved and co...
Walkman··on Things I Don’t Know as of 2018
I know most of these things in detail, I can understand them and use most of them daily. I know NOTHING about JavaScript at all. It's ok, you work on frontend, I'm on backend.
Walkman··on Show HN: Open source JavaScript library to record and replay the web
This is NOT Open Source in a way you think it is yet, because the repo doesn't have a LICENSE attached to it, so the owner own every right and you are not allowed to sell it or do whatever you want with it.
Walkman··on My one-liner Linux Dropbox client
Yes, I also found that git is too much hassle for notes.
Walkman··on Hyper.sh cloud service will shut down on Jan 15
It's a shame. It was one of the most innovative cloud provider and my personal favourite.
Walkman··on Go Modules in 2019
Go works with Jupyter Notebook pretty well. It's a little bit complicated to set up, but it is the same REPL than you use for Python: https://walkman.cloud/s/dtoSfw753YSiMAs
Walkman··on Go Modules in 2019
Go's main use case is for writing concurrent servers (mostly web servers) or daemons and command line applications that need to be really fast. Go is a generic programming language, but Python is "more generic", which I mean that you can go far more in a lot more domains (one of them is scientific computing and data analysis) than with Go. If you want to use go for data analysis I suspect that it would feel "a lot more work" to do the same thing than it would take in Python, mostly because it's a lower-level language and the ecosystem is not that huge than for Python yet.
Walkman··on OpsMop – Config management and app deployment from the creator of Ansible
It's interesting, we have developed a very similar framework internally for our appliance and use it in our product for 4 years. We "present" files from templates filled with variables coming from the user interface and those presenters call "notifiers" (e.g. restarting a systemd service when a file changed on disk).
Walkman··on Reasons Python Sucks
A great example of how Trump has been elected. He lied a lot, (or said stupid things because he was ignorant in a topic) but it doesn't matter, because rebuttal takes a bit more effort than saying stupid things so what he said stuck with a lot of people. Sorry, but this article is just ignorant in almost every point.
Walkman··on Ask HN: What are your “brain hacks” that help you manage everyday situations?
Oh, wow, I realized I started doing 2) a couple of months ago, because one of my coworker is thinking in completely different ways about code in general, which forces me think in completely new and different ways. I already questioned my judgement about "good" or "bad" and started thinking in terms of "different" and I'm truly starting to believe it.
Walkman··on Show HN: Open-sourcing my wedding website on my first anniversary
I still find the idea of a digital wedding invitation pretty strange, because here in Hungary the bride and the fiancé invite everybody in person together. Maybe distant relatives are invited by mail or something.

Is digital invitation a common thing nowadays? Or was it more common even years ago in other countries?

Walkman··on YouTube will delete existing video annotations on January 15, 2019
> "on average they close 12 annotations before they click on one of them."

Yes, and that is only by accident because I couldn't fucking click on the X because you put it on the corner on purpose. I'm really glad they will go away!

Walkman··on Fifolock: Synchronisation primitives for asyncio Python
I don't understand the need for this. Can't the Read-Write example simply written like this?

    import asyncio

    read_lock = asyncio.Lock()
    write_lock = asyncio.Lock()
    
    async def read():
        async with read_lock:
            # shared access

    async def write():
        async with read_lock, write_lock:
            # exclusive access
also the standard library has asyncio.Semaphore, which seems like the exact same thing like the third example?

https://docs.python.org/3/library/asyncio-sync.html

Walkman··on Fifolock: Synchronisation primitives for asyncio Python
It has a weird API.
Walkman··on The process of open-sourcing BuzzFeed’s single sign-on experience
> Why is this not ethical?

Everything I learned about authentication, I learned at this company by digging the code base and understanding our customer's problems. I don't think this is the same like "I worked a lot with XY web framework so I start a startup with XY." I actually learned the domain of authentication only on company time.

> If its not ethical why not build it in your current company?

That's a good question I'm not allowed to answer here :D

Page 1 of 22Next →