Readit News logoReadit News
silvester23 commented on I know genomes and I didn’t delete my data from 23andMe   stevensalzberg.substack.c... · Posted by u/bookofjoe
michaelsshaw · 2 months ago
It's difficult for me to imagine what in your mind would justify extrajudicial disappearances. You don't even account for the immorality of certain laws, you assume that the law _IS_ morality. Quite interesting, indeed.
silvester23 · 2 months ago
I respect your ability to react to such a post in this way. All I could think was "What the fuck?!"
silvester23 commented on Uncommon Uses of Python in Commonly Used Libraries (2022)   eugeneyan.com/writing/unc... · Posted by u/sebg
silvester23 · 2 months ago
If you want to combine a mixin with a base class you have no control over, just put the base class last in the inheritance chain. Then it does not matter if it calls its super __init__.
silvester23 commented on Switching Pip to Uv in a Dockerized Flask / Django App   nickjanetakis.com/blog/sw... · Posted by u/tosh
gchamonlive · 3 months ago

  # Ensure we always have an up to date lock file.
  if ! test -f uv.lock || ! uv lock --check 2>/dev/null; then
    uv lock
  fi
Doesn't this defeat the purpose of having a lock file? If it doesn't exist or if it's invalid something catastrophic happened to the lock file and it should be handled by someone familiar with the project. Otherwise, why have a lock file at all? The CI will silently replace the lock file and cause potential confusion.

silvester23 · 3 months ago
This is actually covered by the --locked option that uv sync provides.

If you do `uv sync --locked` it will not succeed if the lock file does not exist or is out of date.

Edit: I slightly misread your comment. I strongly agree that having no lock file or a lockfile that does not match your specified dependencies is a case where a human should intervene. That's why I suggest you should always use the --locked option in your build.

silvester23 commented on Ask HN: How are you acquiring your first hundred users?    · Posted by u/amanchanda
rwieruch · 4 months ago
If anyone wants to check out these things:

- CloudCamping (still only German market for now) https://www.cloud-camping.com/

- The Road to Next (fully launched last month) https://www.road-to-next.com/

- Music https://soundcloud.com/schlenkermitturnbeutel

Feel free to AMA.

silvester23 · 4 months ago
Was there any particular reason you stopped making music?

I'm listening to one of your mixes right now and I'm wondering if you were influenced by Klangkarussell at all (or maybe the other way around?) or if that was just the general 2014 vibe.

silvester23 commented on TikTok says it is restoring service for U.S. users   nbcnews.com/tech/tech-new... · Posted by u/Leary
richardw · 8 months ago
He’s also the guy that triggered all of this by signing a presidential order to change TikTok ownership during his first run.

Does he have a coherent position on this that these actions support?

silvester23 · 8 months ago
Does he have a coherent position on anything?
silvester23 commented on Celebrating the timeless allure of Tintin's aesthetics   collegetowns.substack.com... · Posted by u/thunderbong
rramadass · 8 months ago
Right.

Wikipedia as usual has the details - https://en.wikipedia.org/wiki/The_Adventures_of_Tintin#Contr...

Note: The archive.org collection has some parodies and pastiches which are decidedly not meant for children - https://en.wikipedia.org/wiki/The_Adventures_of_Tintin#Parod...

silvester23 · 8 months ago
I'm not sure I understand the sequence with the rhino. Is he actually killing the rhino by drilling a hole in its back and lighting a stick of dynamite inside the hole? Or am I reading this wrong? That seems pretty out there.
silvester23 commented on Using uv with PyTorch   docs.astral.sh/uv/guides/... · Posted by u/charliermarsh
paradite · 10 months ago
I was just getting used to pipenv and pyenv combo.

Is this worth switching to?

silvester23 · 10 months ago
I would also say absolutely. We've been using pipenv for ~6 years and have managed to build a pretty good workflow around it. But uv is just _so much faster_. So we've started moving everything over to uv and I don't think we'll ever look back.

Migrating is not super hard, we wrote a small script that moves all the information from a Pipfile to a pyproject.toml and it works like a charm.

silvester23 commented on The Ultimate Guide to Error Handling in Python   blog.miguelgrinberg.com/p... · Posted by u/kdamica
BerislavLopac · a year ago
> the language lacks a “throws” statement

I'm not sure what you mean by this? Python has the "raise" statement [0], which "throws" an error from within a function or other code.

[0] https://docs.python.org/3/reference/simple_stmts.html#raise

silvester23 · a year ago
What they mean is that in Java, for example, a method has to explicitly state which exceptions it might throw as part of its signature. Note that they said "throws", not "throw".

Python does not have that.

silvester23 commented on xAI announces series B funding round of $6B   x.ai/blog/series-b... · Posted by u/frisco
dagmx · a year ago
Are there any notable people associated with this other than Elon?

I’m curious what they’re bringing to the table to be able to fetch that valuation.

silvester23 · a year ago
There used to be a list of people on the about page but they changed it, apparently. Here's a snapshot that still shows it:

https://web.archive.org/web/20240415120557/x.ai/about

I don't know enough about the AI/ML scene to say if any of these are notable people.

silvester23 commented on Private company landing on the moon today   intuitivemachines.com/im-... · Posted by u/SigKill9
azinman2 · 2 years ago
There is a meaningful difference between national pride and 2 for 1 at Dominos.
silvester23 · 2 years ago
True, for instance no wars have yet been fought over 2 for 1 at Dominos.

u/silvester23

KarmaCake day498November 7, 2018View Original