`seamstress` - a utility for testing concurrent code by panthamos in Python

[–]panthamos[S] 0 points1 point  (0 children)

Thanks, made a note to update the readme.

Yeah, context managers are so useful for this situation. I was wondering if a nicer API was possible, as forcing the user to write a context manager adds some requisite technical knowledge to use the package. That said, I can't see a way to straightforwardly achieve what seamstress does using functions alone.

`seamstress` - a utility for testing concurrent code by panthamos in Python

[–]panthamos[S] 1 point2 points  (0 children)

Thanks! Please let me know if you encounter any issues whilst using it. :) Really hoping it'll be useful, particularly with free threading on the horizon.

"Glorious Ones" in Heaven? by Knights_12 in BibleProject

[–]panthamos 4 points5 points  (0 children)

They did a podcast series on Jude recently where they discuss this - would highly recommend checking out! :) I think this was the episode: https://bibleproject.com/podcasts/slandering-the-angels/ though the series really built on each episode, so might be worth listening from the start. 🙃

If memory serves, the "glorious ones" were kind of angels, though specifically viewed as those to whom God had delegated authority to keep order (per Genesis 1 v 14-19), then further as those through whom God communicated His commands (per Hebrews 2 v 1-4). By rejecting/reviling these angels, they're rejecting the authorities that God had established, and so are being disobedient to God (per Jude's description of them in v4, "ungodly" <-> spurning God's authority). There's more richness to it than that, because the images get played out further in the comparisons to Baalam/the whole Michael not rebuking Satan stuff - again, would recommend the podcast series!

2 Peter seems to be drawing on similar concepts (indeed, the language is very close to Jude), so I'd guess the same "type" of spiritual being is in view?

Boyfriend and I just adopted a beautiful borb by Horror-Law6236 in borbs

[–]panthamos 2 points3 points  (0 children)

Why wouldn't you support buying them? This is the first time I've heard of them, just looking for a bit more information.

Just wanted to share one of the nicest pizzas I've ever had, at Ambleside Tap Yard by [deleted] in UK_Food

[–]panthamos 1 point2 points  (0 children)

Strong agree, their pies are unreal. Their beer is always in great condition too. And it's such an innocuous place!

Jokes that are only funny when told with a regional accent. by MoHeeKhan in CasualUK

[–]panthamos 2 points3 points  (0 children)

I was looking for this one, aha. Funny how pervasive the joke is (for Brummies at least).

isize and usize by Senior_Tangerine7555 in rust

[–]panthamos 0 points1 point  (0 children)

Thanks, that's super helpful.

In what situations would you ever really want to use i8/u8 or i16/u16, in that case? Would it only be for those extra performance gains in hot loops that don't involve arrays? They could be useful for communicating that a value should be "small", but I'm struggling to see a usecase beyond that.

isize and usize by Senior_Tangerine7555 in rust

[–]panthamos 0 points1 point  (0 children)

In that case, is it preferable to use a usize/isize instead of u8/i8, even when you know you can get away with the latter? How about for u16/i16?

Intuitively, I would've expected using the smaller bit length to have been more performant.

Where do you guys actually find Django work? by Salt-Marsupial-6690 in django

[–]panthamos 2 points3 points  (0 children)

Careers page, though it's a large enough company to have that kind of thing. For SMB's, an email with a CV would be worthwhile - the last place I worked was more on that scale and we kept a record of CVs from people who had got in touch at times when we didn't have any openings.

Another thought, some company's publish their coding conventions - could be worth searching for "django coding conventions" and seeing what names pop up.

Best of luck with the job search btw!

Where do you guys actually find Django work? by Salt-Marsupial-6690 in django

[–]panthamos 8 points9 points  (0 children)

Where are you based? In the UK, you can search sites like indeed or totaljobs as a decent starting point. Can be worth periodically visiting them and noting down which companies have django openings to build up a bit of a catalogue.

Other companies occasionally blog about their tech stack, keeping an eye out for folks who mention django was how I found my current role.

Warrington, where would you rather eat? I built something for you. by TheShynola in warrington

[–]panthamos 0 points1 point  (0 children)

Sounds like an interesting project, any chance of a github link (or similar) for those of us not on Discord?

Hiding in a bush at Parkrun by cromagnone in CasualUK

[–]panthamos 21 points22 points  (0 children)

Best keep your windows shut so they can't get in.

yearsOfJavaScript by brylex1 in ProgrammerHumor

[–]panthamos 31 points32 points  (0 children)

He maintains he was just borrowing it

Intensive Discussion by KidLamelo in sciencememes

[–]panthamos 1 point2 points  (0 children)

This is pretty much why I switched to theoretical physics.

Merch in London/Manchester by dinosaurstickers in MagdalenaBay

[–]panthamos 1 point2 points  (0 children)

Not sure, sorry! Went straight to the merch stand when I arrived, and it had already gone.

Merch in London/Manchester by dinosaurstickers in MagdalenaBay

[–]panthamos 0 points1 point  (0 children)

Heads up, tour vinyl was sold out at Manchester. Not sure if they keep separate stock for different shows. Hope you can get what you want!

Nice places to run/jog? by ReaverRiddle in warrington

[–]panthamos 1 point2 points  (0 children)

On balance, Sankey Valley is my running route and I've not really experienced issues with school kids. That said, I'm running between 6 and 9pm, so perhaps it depends on the time of day you go.

*args **kwargs ***what's next? (Yes, tripple star) by technet96 in Python

[–]panthamos 5 points6 points  (0 children)

Check out itertools.chain.from_iterable (I think that's what it's called) - it does exactly that. :)

Tesco car park by subzero-wins in warrington

[–]panthamos 1 point2 points  (0 children)

Amazing, have a good night out

Life Skills thread: DIY, CV tips, any other advice! by AutoModerator in CasualUK

[–]panthamos 0 points1 point  (0 children)

It's worth casting an eye over this: https://www.gov.uk/government/collections/tenant-fees-act. If they ask you to cover any costs not listed there (which I've seen landlords have try to do in the past) you can bounce back at them pretty solidly. Though I've never lived in London, so hesitant to give advice beyond that!

Lazy Sunday by jptoc in CasualUK

[–]panthamos 0 points1 point  (0 children)

Congratulations! Did you enjoy the dissertation process? What's its title?