Readit News logoReadit News
lofties commented on Do I not like Ruby anymore? (2024)   sgt.hootr.club/molten-mat... · Posted by u/Vedor
benrutter · a day ago
I'm a python developer, and a big fan of the features with gradual typing etc. This article really highlights for me though, how python has very much changed from the language it was even 5 years ago.

Initially, the celebrated feature of python was that it allowed easy and fast development for newcomers. There was a joke a long the lines, "I learned python, it was a great weekend".

As much as I like python's type system (and wouldn't want to see them ever go way!), part of me wonders if moving into a world where hello-world can look like this, is a world where python is no longer the "lean in a weekend" language:

     from typing import Annotated
     import typer
     
     app = typer.Typer()
     
     @app.command()
     def main(
          name: Annotated[str, typer.Option("--name", "-n")],
     ) -> None:
         """Prints out 'HELLO {name}!!' (name upper cased) to the console"""
         print(f"HELLO {name:upper}!!")
     
     if __name__ == "__name__":
         app()
(obviously the example is silly, and I know this is a lot more than you need to do, hopefully you get my point though!)

lofties · a day ago
Personally, I would absolutely not mind it if Python made type annotations required.
lofties commented on Why building a self-hosted SaaS is harder   getlago.com/blog/self-hos... · Posted by u/FinnLobsien
nchmy · 18 days ago
Agreed on both counts - absolutely awful article, and self-hosting is not hard. You seemingly need a phd to do the most basic things on AWS
lofties · 18 days ago
People argue self-hosting is insecure, then open up their AWS RDS instance to the whole world because they can't figure out their IAM settings.
lofties commented on 7-Zip for Windows can now use more than 64 CPU threads for compression   7-zip.org/history.txt... · Posted by u/doener
avidiax · 2 months ago
Why was there a limitation on Windows? I can't find any such limit for Linux.
lofties · 2 months ago
Windows has a concept of processor groups, that can have up to 64 (hardware) threads. I assume they updated 7zip to support multiple processor groups.
lofties commented on Frequent reauth doesn't make you more secure   tailscale.com/blog/freque... · Posted by u/ingve
Mtinie · 2 months ago
> If the password length is 12 to 15 characters, it will be valid for 180 days

> If the password length is 16 to 32 characters, it will be valid for 365 days

Madness.

lofties · 2 months ago
I'm a big fan of "should not include profanity, words of a vulgar nature". It's not unthinkable my password manager comes up with a chain of letters that at one point will include "fuck".
lofties commented on Excitable cells   jenevoldsen.com/posts/exc... · Posted by u/johannes_ne
lofties · 5 months ago
Excellent article! Well written and the animations make it so much easier to understand. However I was unable to get the loops to go.
lofties commented on Bybit loses $1.5B in hack   tradingview.com/news/coin... · Posted by u/tuananh
lofties · 6 months ago
> "Please rest assured that all other cold wallets are secure. All withdrawals are normal," he added.

There are no American infidels in Baghdad. Never!

lofties commented on Jellyfin: We're Good, Seriously   forum.jellyfin.org/t-we-r... · Posted by u/bo0tzz
phito · a year ago
So glad I stopped using Plex, it worked fine but was so bloated with useless garbage and I did not feel like I could trust it with my data.

I need a plex.com account to use my own self hosted instance? Uninstalled.

lofties · a year ago
The garbage is exactly why I stopped using Plex. Yeah, Jellyfin isn't perfect. But at least it isn't bombarding me with crap I don't need.
lofties commented on Using S3 as a Container Registry   ochagavia.nl/blog/using-s... · Posted by u/jandeboevrie
lofties · a year ago
This sounds very, very expensive, and I would've loved to see cost mentioned in the article too. (for both S3 and R2)
lofties commented on Anatomy of a cryptocurrency scam   practicalsecurity.substac... · Posted by u/atilla_bilgic
nradov · a year ago
I doubt the veracity of that story. No real evidence, and it reads like a creative writing exercise. Did the editors even fact check it?
lofties · a year ago
It’s nothing but scams all the way down.

u/lofties

KarmaCake day569April 10, 2017View Original