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

Fastapi has completely replaced django for me. I do not miss orm at all.


I’ve also switched away from Django (to Litestar), but the ORM is the mean thing I keep missing from Django. SQLAlchemy feels really clunky by comparison


I think the ORM is fine. There's always some friction coming from mapping rows to classes and objects, but you can always drop down a layer and just pull raw tuples.

What I'm not a fan of, is the query DSL. Normally, the developer works to figure out how to express their problem with SQL; then the DB engine works to figure out how to map that SQL to the data it has on disk. Now Django adds another layer, which is completely unlike SQL, has its own unique pitfalls, etc; sometimes I find myself just dumping the raw SQL, working on that to get the result I wanted, then working that back to the DSL.

I think SQLAlchemy gets it right. The query language is a thin veil over SQL, and mapping to objects is an explicit and clear operation. What does feel clunky to me, is setup: SQLAlchemy expects you to bring your own glue; Django is vertically integrated.


This is my pain point in Django as well, the query DSL. 10+ years with Django and I still don't know how it's supposed to work, given it's all done within the namespace of a function call.

Fortunately, I now have AI to write any Django queries for me.


There's nothing stopping you from using Django with SQLAlchemy or even raw SQL.


What made you choose Litestar over fastapi (which seems to be the most popular choice right now)?


Mostly the better documentation (last I checked FastAPI docs felt more like a series of blog posts than actual docs, but maybe that's improved). I also preferred the community-driven approach of Litestar as opposed to FastAPI's BDFL-type development structure.

I think there were also some technical details I liked better about Litestar where it was more explicit about things while FastAPI was more "opaque magic happening in the background", but to be honest I don't remember all of those.


We chose Litestar over FastAPI mostly because they seemed very similar, but Litestar had a more distributed governance; i.e. a larger bus factor.

We are jealous of some FastAPI features though, so it's possible we could migrate, as Litestar's mapping between domain models, database models and API models isn't as flexible as we'd like.


"If you're not using Django, you're probably just rebuilding it poorly."


I think FastAPI's one major design difference is its dependency injection mechanism. Django is designed to do things differently, with services provided through an app- or project-global collection of middlewares (although I haven't used it in a while, maybe something had changed since then) and while there are DI solutions for Django they don't feel "native" to me - not the way FastAPI does it. Either way works, of course - it's probably merely a matter of the preferred mental model.


Django-ninja is a combination of Django with fastapi.


It's Django and Pydantic, not FastAPI.


I have not used 5-meo, but for n,n DMT the vape is without a doubt the most convenient method.


I've done it a few times. Unlike DMT, you don't have to vaporize it.

It's active intranasally and well as buccally/sublingually.

Effects-wise, it feels roughly identical to DMT but with a longer duration.


As someone who has done a lot of both (as well as drank ayahuasca several hundred times), they are completely different animals especially at the full-dose levels.


Several hundred times? There's a story there…


Maybe, maybe not. It's just life when you work at a center :)


I found it significantly less visual. As in, about as immersive, but somewhat lacking visual depth/detail to things. But everyone's different anyway.


To me it feels like a completely different drug compared to nnDMT. 5-meo-DMT also feels very different depending on the roa from my experience (vaped vs IM)


Ah, a fellow "I've IM'ed tryptamines" person.

I made this mistake exactly once, with 4-AcO-DMT.

That was the last time I ever did such a thing.


Can you expand on this? I just so happen to have evrything to try this, but never even considered it.


I dissolved 20mg of 4-AcO-DMT in 1mL of bacteriostatic water in a sealed, sterile vial and then injected it intramuscularly into my glute.

(If you do this, make sure you inject the upper-outer quadrant. The closer to your midline you go, the further the risk of you hitting a nerve.)

If you're very experienced and want to do it for novelty's sake, go for it; I'd warn you, but anyone considering this should know what they're likely in for.

Nearly immediately after injection, I became so filled with vibrating, psychedelic energy I thought my soul was going to be ripped from my body. I had to clutch the edge of the sink, trying not to vomit while staring at the exploding fractals swirling in the metallic reflection.

It only lasts about 2 hours. I'd not particularly rate the experience as "good".


That’s a good protocol for safely doing IM as you describe it. Though that seems like a big IM dose! :D I’m not too familiar with 4-aco-dmt so couldn’t say.

For 5-meo I generally do 6-8mg prepared as above. That seems subjectively close to 15-20mg vaped (powder in a glass pipe not in a “juice” vape).

But either of those are definitely a commitment to the ride, lol. I do like the mixed jaguar vape cartridges for micro dosing though (like Bill prepares them in the article). Very easy to control your dosage that way with the ability to start slow and add more with additional puffs.


For reference, 20-25mg of oral 4-Aco-DMT feels identical to 3.5g of standard potency cubensis.

But 4-AcO has much less body load and no nausea from the organic matter that'd usually be sitting in your stomach, I think it's better than "organic" shrooms.

5-MeO is a lot stronger mg-for-mg, you're quite brave at those doses IMO!

Truth be told, I was more of a fan of the lighter headspace phenethylamines, like 2C-B or even 25i/25b-NBOMe.


Thank you for this, astral traveler


Np, good luck on your journeys!


Expand on roa effect difference?


It’s a little difficult to describe as 5-meo-DMT is not a visual type of trip. In fact I get almost no visuals from it even at relatively high doses.

I would describe 5-meo as a trip that gives you an immediate understanding of how life and the universe “works” at a very fundamental level. Your perception changes from analytical type thinking to all of a sudden just knowing how everything fits together and how you can control reality around you. A bit like pulling the curtain back and seeing the source code of realty but then also intuitively knowing how to manipulate and rewrite it and seeing the effects of that in real time.

I wish I could explain it better.

In terms of ROA between vaping and IM get the same type of knowing but from a different perspective. Injected feels like your personal programming code gets rewritten and you have a reality shift to having administrator privileges while vaped feels like the person that wrote the code is a co-pilot in your head explaining how the code is written and how it executes to present as reality to you.

There’s definitely a lot of overlap between each roa type though.

What I describe above is also my experience after dozens of trips with 5-Meo. The first few were definitely more confusing and at times overwhelming as the perspective shift can be severe. Once you get experienced though it’s a fun way to cruise around in “reality”


I did tons of mushrooms in my twenties and mosr people estimate my age in my twenties. I am 35.


Remember when putting lead into atmosphere made entire gnerations stupid by lowering IQs? Maybe that is the goal.


In a kind of ironic way, if those people hadn't been so goddamn stupid maybe the government institutions they created and expanded wouldn't all be reputationally bankrupt and subject to dismantling by populist billionares.


okcupid was a perfect app before match bought them and ruined it.


That's exactly it. As soon as any dating app has significant traction, Match buys it out and Tinder-ifies it to extract more money from the userbase while coasting on the previous brand value.


It obviously wasn't perfect for the people running it, otherwise they wouldn't have sold it to their competitors.


Seems like it ingested google street view


You are not supposed to stop by. You are supposed to spend money and keep going.


Here in the Balkans and most of European countries always have public squares or similar gathering place for each neighborhood. I was shocked when I visited some USA states that absolutely have nothing of that sort. Not even a park that is tailored for a few hours hangout sessions. Even some public spaces like parks and library gardens are filled with corporate interests like Starbucks. You absolutely are expected to spend money whenever you go out which is depressing af.


If the business doesn’t make enough money it will not be able to pay rent, and will be replaced with a more profitable business which will make enough money, probably by pressuring people to instead be customers, pay and move on. It’s what the system will produce.


The guys in the phrmacopeia were very obviously addicts.


That seems completely orthogonal to the point. Much like elsewhere in drug addiction, the deaths were due to the suppliers' negligence, not the fact that the deceased were addicts.


Would nitrous work as well?


Nitrous gas inactivates the cobalamin form of vitamin B₁₂ by oxidation. [0]

Vitamin B₁₂ deficiency …… at levels moderately lower than normal, a range of symptoms such as feeling tired, weak, lightheadedness, headaches, dizziness, rapid breathing, rapid heartbeat, cold hands and feet, low-grade fevers, tremor, cold intolerance, easy bruising and bleeding, pale skin, low blood pressure, sore tongue, upset stomach, loss of appetite, weight loss, constipation, diarrhea, severe joint pain, feeling abnormal sensations including numbness or tingling (pins and needles) to the fingers and toes, and tinnitus, may be experienced.

[0] https://en.wikipedia.org/wiki/Nitrous_oxide#Safety

[1] https://en.wikipedia.org/wiki/Vitamin_B12_deficiency#Signs,_...


I'm not sure, but you'd have a fantastic time trying


Because you have not pressed “do not recommend channel”. That is the best youtube feature.


It's very annoying if I do want to see that channel, just not THAT video. You also have to be careful with that button because there's no way to selectively unblock channels. There's a feature to undo your entire Do Not Recommend / Not Interested history but not to undo it for an individual channel / video.


You should know that do not recommend channel has never really worked. Especially if there are any videos from that channel in your history.... ever.


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

Search: