Cpo

joined 1 year ago
 

In order to share the running transaction into a DAO style data management class, I have wrapped the transaction in an Arc and pass it into the DAO.

The issue is, once the transaction is in there I cannot call commit() on it because it cannot be moved out of the Arc anymore, as the commit requires a mut self.

Any ideas on how to work around this?

[–] Cpo@lemm.ee 5 points 19 hours ago

You, kind sir, deserve a reward.

Bravo!

[–] Cpo@lemm.ee 1 points 1 day ago

I am currently using it from a backend to generate pdfs.

One thing that prevents me from letting users build their own templates is the scripting capabilities. A joker creating an endless loop could block the whole server.

What would be nice is a "safe" mode in which no access to the file system (include and sorts) and limited runtime makes it safe to let users build their own templates.

[–] Cpo@lemm.ee 0 points 1 day ago

Don't let the door hit you on the way out.

[–] Cpo@lemm.ee 3 points 1 day ago

Amazing way to approach it!

Just a wee bit afraid there would be just porn left after applying the "subscribe to me" rule 😉

[–] Cpo@lemm.ee 11 points 1 day ago* (last edited 1 day ago) (1 children)

I was an avid nginx user but having caddy handle the ssl certificate creation and renewal is amazing.

I probably am outdated on nginx (maybe it supports it?) but caddy is what I use from here on out.

[–] Cpo@lemm.ee 10 points 2 weeks ago (2 children)

Dude. You are ranting.

Find help.

[–] Cpo@lemm.ee 14 points 2 weeks ago (4 children)

Russia, as imperialistic aims it may have, have no intentions, not capabilities of invading Poland, Lithuania or Finland.

Hey, I've heard that before in 2014. You know the three day invasion?

And because I really think you are a troll: the best part is, NATO has yet to set foot on the ground, while Russia is running to rogue countries like NK.

Besides, Ukraine being "awkwardly neutral" did not stop Putler from invading, did it?

You use a lot of words, but a foundation of your "facts" are blatantly missing.

[–] Cpo@lemm.ee 1 points 3 weeks ago

Don't know what it is in this thread. "It did not work for you so you must have done something wrong"?

See my thread where some dude says it should just work (when he is just doing LTS kernel updates only and not updating in general).

Comments simply blaming the user based on their limited usecase are hardly constructive.

[–] Cpo@lemm.ee 2 points 3 weeks ago

Quite possible. Old fogey here 😉

[–] Cpo@lemm.ee 0 points 3 weeks ago

Bleeding edge in Debian? I was not even using the "testing" release of Debian.

If your point is that it's fine for a company to get their stuff out there in a timely fashion, that company just sucks balls in my opinion.

Just FYI I am perfectly fine with you having your workarounds and (apparently different) opinion.

I expected some basic civility and more constructive tone of words. But if you start blaming me as a user for something basically ALL other vendors are coping with just fine, thats where the discussion stops with me.

I am definitely not against linux (daily user myself). And honestly, people like you don't make Linux more attractive of an option.

Have a good one.

[–] Cpo@lemm.ee 1 points 3 weeks ago

To be honest, i dont know.

It was some years ago. But the pain remains 😉

[–] Cpo@lemm.ee 2 points 3 weeks ago* (last edited 3 weeks ago) (2 children)

You have adapted your way of working around the fact that it can break:

  1. Not auto updating
  2. Checking if it is an LTS

I call that way of not updating "annoying" and insecure IMO.

Other vendors don't have this issue.

My conclusion: steer clear of Nvidia.

view more: next ›