News for hackers. Stuff that matters.

4kelly

Re:Python environment setup seems complicated and unsolvable on Friday November 10, 2023 @09:51PM (#38227212)
Looks mostly good, but also has extra elements you don’t really need.

Pyenv - managing / installing multiple python versions.

Then all you need to start is regular virtual environments ‘python -m venv .venv’ with ‘requirements.txt’, but I also recommend poetry. This is for dependency isolation between projects.

Packaging up projects for distribution is a whole other venture though!

Re:Why adults still dream about school on Thursday September 22, 2022 @08:05PM (#32946258)
I think this is one of many explanations. While exams were stressful. I loved learning and would love to go back for my PhD or even a brand new discipline if I had the funds to support my family with that lifestyle.
Re:What Is Unraid? on Monday April 04, 2022 @02:24PM (#30910227)
My perspective was that I purchased unraid because it satisfied my requirements at that point in time. I don’t really expect _any_ major feature additions. The fact that it’s getting better is amazing IMO.

I think a lot of peoples perceptions are skewed from SaaS models maybe?

Re:What Is Unraid? on Sunday April 03, 2022 @07:31PM (#30901841)
To be clear it was a one-time lifetime payment!

Kinda seems like this latest release accumulated a lot features and could be part of the relatively slow release pace.

https://forums.unraid.net/bug-reports/prereleases/unraid-os-...

However, their iteration approach seems smart to me. As far as I can tell they have experimented with some of the big features as optional plugins before adding them to an official release.

For example: in between the latest official release and now they released MyServers plugin to remotely monitor and perform high level server operations. It’s great and has been gone from early access alpha to a full fledged product.

Additionally the wireguard integration was released as a plugin first, and will simply be more deeply integrated in the latest upcoming release.

https://unraid.net/product/my-servers

Re:What Is Unraid? on Sunday April 03, 2022 @02:10PM (#30899217)
+1 for unraid. I’ve been using it for about 4 years. IMO it’s usecase sits in between synology and a completely self administered server.

I found synology features great, but was frustrated about the hardware lock in. I also didn’t want to spend too much time tinkering with a bare bones server. Enter unraid.

I use it as a backup server, fileshare, time machine backup. As well as plex and other popular self hosted docker images.

Re:Ask HN: How to move away from Google on Wednesday March 30, 2022 @05:10PM (#30860818)
These are all great tools. But I wanted to gingerly hop on this thread to say that de google doesn’t have to mean self hosted.

I found it very rewarding to put my money towards companies that are aligned with my priorities (be it privacy or other) even if there were free alternatives.

Re:Ask HN: How to move away from Google on Wednesday March 30, 2022 @05:04PM (#30860749)
Fair enough! That’s rough. Apologies I assumed English :)
Re:Ask HN: How to move away from Google on Wednesday March 30, 2022 @04:44PM (#30860547)
Fastmail for email.

I used to use syncthing to maintain backups and syncing, but eventually just gave into iCloud as a compromise. Setting up and maintaining syncthing on wife and kids devices became a pain.

DuckDuckGo for search. Dropping down to google when I’m stuck. Honestly I’ve found google worse for technical topics due to all the junk websites that recycle content.

You’ll be fighting against the current trying to ditch google with an android phone! I’m sure it’s possible though.

A great benefit of de googling (and also dropping most social media) is that I am barely exposed to ads at all! It’s is shocking using other peoples devices now ahah.

Re:Python 3 Types in the Wild on Friday March 18, 2022 @03:27PM (#30726449)
There is definitely truth to this statement. However often when I write something that’s hard to type, it’s a code smell. Ex. A complex nested map should probably be represented by a few concrete classes/abstractions.

(Similar to when you something you wrote is hard to test, it’s probably just poorly abstracted code.)

Re:Buf raises $93M to deprecate REST/JSON on Wednesday December 08, 2021 @07:30PM (#29492439)
I can highly vouch for Bufs protobuf linter and breaking change detector [1]. It’s open source.

IMO. Generating gRPC code in multiple languages is pretty tedious setup and maintain. Buf has the potential to replace / free up a lot of time for a small team of people maintaining this sort of thing in house.

- person who helps manage a protobuf monorepo.

[1] https://docs.buf.build/tour/detect-breaking-changes

Re:I wish I'd self-published sooner on Monday November 29, 2021 @07:18PM (#29387167)
Thanks for sharing. I’ve always wanted to go out on my own and achieve something similar to what you’ve built. Congrats on making it a reality!
Love the style and configs! Feature suggestion that I think fits the minimalist style.

Support an optional “footer” argument in ‘site.json’. Useful for copyright, social links, ??

Perhaps out of scope for your use case, but what’s the status of SEO support? Using frontmatter to generate basic meta tags, twitter/open graph for pretty links, etc.

Might be a useful FAQ entry.

So far so good! It matches my desired style and feature set, so I’m probably the ideal candidate ahah.

Left a GitHub issue with the precompiled binary install. But it might be my fault.

The closest thing to this in terms of out of the box simplicity is probably Material theme for MkDocs [1], which has other features, but no official blog support.

[1] https://squidfunk.github.io/mkdocs-material/

I definitely have spent too long learning and fiddling with SSG’s.

Going to give this a try!

Re:Ask HN: What are the best-designed things you've ever used? on Saturday November 27, 2021 @09:45AM (#29360533)
Darn Tough socks. You won’t be able to go back. Great feel, super durable, different styles and thickness for any use-case.

Oh and a lifetime warranty (I have personality returned one pair 5 years later for a new pair).

+1 for Material MkDocs. It’s beautiful and functional by default so I can just focus on documenting.