Readit News logoReadit News
j4mie commented on Happy 20th Birthday, Django   djangoproject.com/weblog/... · Posted by u/davepeck
n3storm · a month ago
Laravel keeps copying Django (I mean it in a good way)
j4mie · a month ago
Laravel’s ORM was originally inspired by my now-long-dead PHP projects Idiorm and Paris:

https://laravelpodcast.com/episodes/c7807d42/transcript (Search for “Paris” to find the relevant section)

https://github.com/j4mie/idiorm

https://github.com/j4mie/paris

Idiorm was started in early 2010 while I was still writing PHP professionally. I’d heard about Django from a talk @simonw gave at the FlashBrighton meet-up group in 2009 and immediately fell in love. Idiorm and Paris, although not direct attempts to duplicate Django’s ORM, came from frustration that such an elegant ORM and query builder didn’t exist in the PHP world.

So in a roundabout way, Laravel’s ORM was absolutely inspired by Django.

As a side note, I’m still doing Django 16 years later and love it more than ever.

j4mie commented on Switching Pip to Uv in a Dockerized Flask / Django App   nickjanetakis.com/blog/sw... · Posted by u/tosh
j4mie · 2 months ago
It's worth noting that uv also supports a workflow that directly replaces pyenv, virtualenv and pip without mandating a change to a lockfile/pyproject.toml approach.

uv python pin <version> will create a .python-version file in the current directory.

uv virtualenv will download the version of Python specified in your .python-version file (like pyenv install) and create a virtualenv in the current directory called .venv using that version of Python (like pyenv exec python -m venv .venv)

uv pip install -r requirements.txt will behave the same as .venv/bin/pip install -r requirements.txt.

uv run <command> will run the command in the virtualenv and will also expose any env vars specified in a .env file (although be careful of precedence issues: https://github.com/astral-sh/uv/issues/9465)

j4mie commented on Heroku Is Down   status.heroku.com/... · Posted by u/cornfieldlabs
j4mie · 3 months ago
Things that are down or impacted:

* Heroku and most of Salesforce

* Pipedrive: https://news.ycombinator.com/item?id=44234098

* OpenAI: https://status.openai.com/incidents/01JXCAW3K3JAE0EP56AEZ7CB...

* Lobsters: https://news.ycombinator.com/item?id=44234075

What's the common denominator?

j4mie commented on Prepper Disk   prepperdisk.com/... · Posted by u/Timothee
IlikeKitties · 4 months ago
> The product offering of an AI chatbot for when the power goes out made me laugh out loud.

To be fair, the current iteration of this is of course bullshit but imagine this in 10 years when raspberry pi sized devices can easily host AIs that outperform or at least match current best models and has been specifically trained to be an emergency assistant.

Kinda reminds me of the public access defibrillators that talk you through an emergency [0]. I can see an AI Assistant be useful during emergencies.

[0] https://www.youtube.com/watch?v=zApKRGDs1sk

j4mie · 4 months ago
"Please state the nature of the medical emergency"

u/j4mie

KarmaCake day4276May 28, 2010
About
https://www.mtth.org
View Original