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

I can't say I relate at all (5 years of experience). They'll have to pry my 1000-line .zshrc from my cold, dead hands. For example, zsh-autosuggestions improves my quality of life so ridiculously much it's not even funny.


I moved away from 1000 lines .zshrc when I had to do stuff on linux VMs/dockers and I was lost a lot. But you zsh-autosuggestions, and fzf-tab is not going anywhere.


Chess.com is fundamentally a scam operation masquerading as a premium service. They've built an empire by paywalking features that should be free - and ARE free elsewhere. Lichess proves every single day that unlimited puzzles, deep analysis, opening exploration, and even advanced features like studies and cloud analysis don't need to cost a dime. They're open-source, ad-free, and completely transparent about their finances.


That's still not a scam. They tell you what you're paying for. If you don't like it, then go somewhere else. There's no deception going on.


So the hecklers selling overpriced trinkets at every major tourist attraction in Europe or the US aren't scams? I disagree.


Unless they're trying to force them on you, no, they're not. Them being annoying as fuck doesn't mean they're dishonest.


So like Windows then? Cause a free alternative exists?

Or farmers markets? Cause you can just grow all those crops for free yourself.

Or carpenters? Just get some tools, do your home renovations for free.

Or sex workers? Cause you can just go to a bar and get it for free.

Oh, they are differences between the free and the pay options? The occupy different niches in the marketplace? You don't say. Maybe they are not scams after all, just cater to different tastes.

(I also prefer lichess over chess.com but that doesn't mean I think this is a reasonable argument.)


A better analogy: imagine if someone built a public water fountain, then chess.com set up next to it selling the exact same water for $100/year while limiting the public fountain to 1 cup per day through lobbying. Then they sponsored all the popular hydration influencers to only drink their bottled water on camera.

> Cause you can just go to a bar and get it for free.

Not at the same convenience, can you ;) So they are selling convenience. Chess.com isn't selling convenience - both platforms are websites you access identically. They're not offering portability or solving a distribution problem. They're artificially limiting a digital service that costs them essentially nothing to provide unlimited access to.


How, specifically, are chess.com limiting anyone using lichess?


> that costs them essentially nothing

If you know how to run such a platform for free, then I'm sure you could sell your knowledge for a lot of money. And the company running chess.com would be your highest paying customer.

In other words, I think you are underestimating the effort. Just ask the lichess guys.


None of that makes it a scam. It makes it "more expensive".


Yeah, it’s textbook USdefaultism.

"Look how global we are… as long as you have a U.S. address, the correct passport, a bank account in a supported country, a smartphone with the correct OS."


I get that it works, and it's actually pretty cool that you can do this. But honestly, it feels like it would good, readable code into a tangled mess pretty fast.


> it feels like it would good, readable code into a tangled mess pretty fast

It definitively can, no doubt about it. But used sparingly and only when there is no other way, it can help you remove enormous amount of boilerplate and other things, in a relatively simple, fast and safe way. In my codebases, it does lead to a lot less code, even when most projects just have 2 or 3 macros at most.

Just as one basic example that comes to mind just because I had to do it today: imagine you have a testing suite. When some assertion fails, you'd like to display what value was expected, what value it actually got, and what the exact code was. In JavaScript, I think the most you'd be able to get without involving 3rd party compilers, reading source code from disk or whatnot, would be some functions name (`myfn.toString()`), while in Clojure your macro could capture the entire source code within it, and print it, trivially.

Basically, if you want a function that can take the arguments without evaluating them before executing it, you can do so with macros but without macros you cannot do that. Personally, being able to do so leads to me finding simpler solutions, and expressing them in better ways, compared to if I didn't have them available.


> I host this blog on a single core 128MB VPS

No wonder the site is being hugged to death. 128MB is not a lot. Maybe it's worth to upgrade if you post to hacker news. Just a thought.


It doesnt take much to host a static website. Its all the dynamic stuff/frameworks/db/etc that bogs everything down.


Still, 128MB is not enough to even run Debian let alone Apache/NGINX. I’m on my phone, but it doesn’t seem like the author is using Cloudflare or another CDN. I’d like to know what they are doing.


128MB is more than enough to run Debian and serve a static site. I had no issue with doing it a decade ago and it still works fine.

How much memory do you think it actually takes to accept a TLS connection and copy files from disk to a socket?


Modern Linux is much less frugal these days:

https://wiki.debian.org/DebianEdu/Documentation/Bullseye/Req...

* Thin clients with only 256 MiB RAM and 400 MHz are possible, though more RAM and faster processors are recommended.

* For workstations, diskless workstations and standalone systems, 1500 MHz and 1024 MiB RAM are the absolute minimum requirements. For running modern webbrowsers and LibreOffice at least 2048 MiB RAM is recommended.


That's for some educational distro, which presumably is running some fancy desktop environment with fancy GUI programs. I don't think that is reflective of what a web server needs.


Bookworm minimum requirements are 256MB of RAM. Without desktop.

https://www.debian.org/releases/bookworm/armel/ch03s04.en.ht...

128MB should be plenty. I used systems for years with much less. But in reality, Linux is much heavier these days.


A web server is really only going to be running 3 things: init, sshd, and the web server software. Even if we give init and sshd half of 128 MB, there's still 64 MB left for the web server.


Theoretically, sure. But standard Linux distros are much heavier these days. See my other reply on this thread.

Unless the author is using some very slim distribution or perhaps something more interesting, it’s a challenge to run an up to date HTTP server like Apache or nginx on 128MB alone, even though it shouldn’t.


Moving bytes around doesn't take RAM but CPU. Notice how switches don't advertise how many gigabytes of RAM they have, but can push a few gigabits of content around between all 24 ports at once without even going expensive

Also, the HN homepage is pretty tame so long as you don't run WordPress. You don't get more than a few requests per second, so multiply that with the page size (images etc.) and you probably get a few megabits as bandwidth, no problem even for a Raspberry Pi 1 if the sdcard can read fast enough or the files are mapped to RAM by the kernel


Yes! https://github.com/musistudio/claude-code-router

Claude Code wrapper to run any models. Even local ones.


Fascinating! I want to get into this type of stuff. But I have no idea where to start, I just have just a CS degree and 3 years experience as a developer.


I recommend a Brachiograph build. It will introduce you to some fundamentals of PWM and inverse kinematics. It is well documented but not cookie-cutter. Using a Raspberry Pi will give you more direct access to running the servos than the microcontroller experience. All the parts are infinitely reusable afterward if you don't want to keep it around.

https://www.youtube.com/watch?v=u4Jh1daCl60

https://www.brachiograph.art/

https://github.com/evildmp/BrachioGraph

  Sample Supply List for $80 budget:
  Pi Zero with header $20: https://www.adafruit.com/product/6008
  Power supply $9: https://www.adafruit.com/product/1995
  SD Card $10: https://www.adafruit.com/product/1294
  Three hobby servos $18: https://www.adafruit.com/product/169
  Breadboard wires $5: https://www.adafruit.com/product/153
  Breadboard $5: https://www.adafruit.com/product/64 
  Glue, popsicle sticks, pen and paper $10


Arduinos and hobby servos. No, neither of them are "industrial grade" and yeah, you'll reach their limits pretty quickly, but building a physical thing that does stuff is (in my experience) a huge motivator.

Or if you're already all over the basics, figure out what kind of stuff you want to build and then try and build it. :)


Can you recommend where to find beginners projects that “do stuff”.


https://hackaday.com/ - cool projects and interesting stuff https://news.sparkfun.com/tags/tutorial - tutorials on embedded software, electronics, etc. https://learn.adafruit.com/ - electronics tutorials


To begin with you can get a cheap robotic kit from Amazon, there are many of them, and put it together. That's probably the easiest and fastest way. From here you can read more about servos and controllers, modify its mechanics and software.


Just like the article, there's a huge amount of hobbyist-accessible projects on youtube, you can click around the recommended videos.


Grab a servo and start playing with it.


A solid place to start is building something simple


For tactics I really like chesstempo.com. It has free, unlimited puzzles. It is to my mind superior for tactics training. It also has a comments feature which I really like.


There is a nice native app for offline lichess puzzles. Written in rust:

https://github.com/brianch/offline-chess-puzzles/


AFAIK you need a username to be able to extract anything from instagram at all.


You don't, I don't have an IG account but my wife occasionally sends me links to reels that I use yt-dlp to download.


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

Search: