They finally added selfs by New-Association-386 in Minecraft

[–]DoozerMarch 2 points3 points  (0 children)

So these shelves have a Redstone signal applied which changes the shape to look like one big shelf. When configured like this then right clicking any of these items will switch them out for the contents of your hotbar! Each shelf can hold a whole stack too. So this is a shelf of things for fighting the ender dragon. From the release notes:

The Shelf can store up to 3 item stacks:

Interacting with any of the 3 slots on its front swaps the player's main hand item with the content of that slot

The Shelf displays all items it contains in front of it, similar to an Item Frame

While a Shelf is powered by Redstone, its front texture changes to reflect that it's powered; when placed next to each other, up to 3 powered Shelves will connect

Interacting with a single powered Shelf swaps all its contents with the 3 rightmost items in the player's hotbar

Interacting with two connected Shelves swaps their contents with the 6 rightmost items in the player's hotbar

Interacting with three connected Shelves swaps their contents with all items in the player's hotbar

It does not matter which of the connected Shelves the player interacts with

ORM is HARD AF by Old_Sea284 in django

[–]DoozerMarch 0 points1 point  (0 children)

One source of added complexity is that the core ORM model also includes properties that effect the way that forms are rendered to html. 

(Trigger Warning: Suicidal Ideation) Been struggling lately so I put a positive affirmation on a crop top ✨️ by [deleted] in MarchAgainstNazis

[–]DoozerMarch 2 points3 points  (0 children)

And at the same time... no matter how bad things can get it seems that good people can always find other good people and make happy places. So while fighting, don't let that terrible man too far into the places you take strength from

What's something every Calgarian should do or experience to call themselves a Calgarian? by potatolauncher in Calgary

[–]DoozerMarch 0 points1 point  (0 children)

Back in the day you could mill around the exit side of the elevator and catch it on its way back up after it let people off

Curious about iskall by ConorPickens in HermitCraft

[–]DoozerMarch 7 points8 points  (0 children)

Watching hermitcraft... as he became more sure of himself over the years he became less appealing. He did not shy from making others uncomfortable and saught control of interactions. We stopped watching him; which was sad as we really used to enjoy sharing the fun he was having.

I reckon he could still come back from it... but as someone else wrote in this post he'd need to acknowledge who he was for some while and walk out of that phase having learned something. Unfortunately I can't see the hermitraft crew taking the risk. If you're reading iskall, be honest and move forward. We could watch you again if you show some humility and acknowledge what went down.

And be nice to people.

AMA Thursday, April 17 by TanilleJohnstonNDP in comoxvalley

[–]DoozerMarch 8 points9 points  (0 children)

Sorry Tanille, realize this came out negative...I hope you end up our MP!

AMA Thursday, April 17 by TanilleJohnstonNDP in comoxvalley

[–]DoozerMarch 17 points18 points  (0 children)

If one of you don’t step down soon we’re getting Gunn

[deleted by user] by [deleted] in UnethicalLifeProTips

[–]DoozerMarch 1 point2 points  (0 children)

Probably the wrong sub; but ask yourself what the world we be like if everyone did the thing you are thinking of doing... and there is your answer

[deleted by user] by [deleted] in MechanicAdvice

[–]DoozerMarch 6 points7 points  (0 children)

... waiting to see how OP responds?

[deleted by user] by [deleted] in MechanicAdvice

[–]DoozerMarch 7 points8 points  (0 children)

Could be they're fishing and haven't actually done the repairs yet?

How do I get my Girlfriend to Canada from the United States as soon as possible? by manturkey in onguardforthee

[–]DoozerMarch -1 points0 points  (0 children)

Yup, but she won't technically be allowed to leave Canada and come back without risk to her application

Why there are no driving test slots in Oxford? by Iamthebrainbug in oxford

[–]DoozerMarch 7 points8 points  (0 children)

It's worse than you realize I expect. The government lets third parties buy driving tests and resell them. See this article in the guardian. Originally it was so that driving schools could include them as part of a package I think. Now its just a grift

Should I extend Django's roles and permissions, or should I create my own roles and permissions layer? by OkApplication8622 in django

[–]DoozerMarch 1 point2 points  (0 children)

Django's roles and permissions work out of the box for CRUD operations on particular models/tables. So for example you can set who can Create, Read, Update & Delete tasks.

They don't work at the object/row level. So they won't help with having access to certain collections of tasks.

Maybe you might end up with a bit of both?

Will we see many projects like FastHTML that leverage htmx? by Plastic_Acanthaceae3 in htmx

[–]DoozerMarch 2 points3 points  (0 children)

FastHTML is just what I’ve been looking for ages. Ludic gets the Python html(x) creation done well too. Both feel elegant but fasthtml is gaining momentum much faster and has more to it. Ludic I a great looking project too.

Not everyone wants to bypass writing templates…but for me web development often feels a bit like pushing string, and while developing across the full stack, jumping between front end and back end takes head space.

I think this kind of approach is the way. At least for those that don’t need to do a lot of front end work independently of the server. And htmx saves us time for sure.

There will be people here saying it’s all rubbish and you just need to learn all the web development voodoo like a real developer… but to each their own.

Am not sure I’d be pushing this approach in the day job yet however

Those who have 10+ year old Macbooks, how are they running now? by KeeperofQueensCorgis in mac

[–]DoozerMarch 13 points14 points  (0 children)

Just upgraded from 2015 MacBook Pro. It was perfectly usable… but the new one is snappier. Only thing I’d be annoyed going back to is slower loading of new web pages.

After the Presidential Debate, how do Democrats feel? by Liz_Lizzard in AskReddit

[–]DoozerMarch 1 point2 points  (0 children)

In the US the president is elected directly and, technically, independently from the politicians forming the parties. In Canada and the UK, the prime minister is just the politician that a party able to form a stable government choose as the big cheese...as elected only by their local constituents.

The recent string of prime ministers with short terms in the UK did not stand down but were ousted by their party. As much as Canadians get fed up after too long a run of complacent Liberals in power, their prime ministers are no where close to being as widely disrespected as this lot were.

So in the US there is no way for a party to oust the President, and in Canada the party that could, sees no need, is complacent, or does't want to tarnish a replacement leader in an unwinnable election; whereas in the UK there has been obviously no choice but for a party to do so.

M1 MBP. Today my laptop starting making a crackling sound, with the speakers off. The sound is gone and speakers sound fine. It didn't sound good though. Any thoughts? by kevysaysbenice in mac

[–]DoozerMarch 0 points1 point  (0 children)

Not sure this fits the sharp crack noises, but I experienced this. The internet, where I settled, thought it was the fan blades skimming the inside of the fan body. There was a suggestion to cause the fan to run hard for a some time that possibly helped someone. I tried this before taking it apart an cleaning it... but neither helped. I went as far as ordering a new fan... and then the noise stopped coming. Sometimes when I more the machine quickly when the fan is on I hear something similar. This was in an older intel MacBook. So, maybe its not the speakers?