Skip to main content



Can someone help me understand what's going on with reference counts during a #python exception in a #jupyter notebook?

# Cell 1
import sys
class Test:
def exception(self):
raise ValueError("test")
t = Test()
print(sys.getrefcount(t)) # -> 2
t.exception()
# Cell 2
print(sys.getrefcount(t)) # -> 4

Why does the reference count remain increased after an exception? Is there a way to avoid this?



After months of trying to fix my implementation of importlib it's finally fixed and Bob is finally fully working for building py wheel files, I plan on cleaning the code-base and adding cmake support

For the ones wondering, Bob is my build frontend for many services currently only supporting python but with plans for all the language that I use (seriously it's just c and py why'd I need to make it sound grand)
Includes a lexer capable of telling you that you made a typo on line x column y suggesting what it actually should be
You can write variables in the build file and even include tests (I'll work on making post and pre test support)
For now the build file is planned to be able to [build, test, store variables, print, input] but I'd be happy to know if there is anything else it could do that'd make it more useful

Oh yes it supports creating new projects via templates too

The build process is also very simple you just run bob yep that's it

#NekoLabs #FOSS




How nostalgia led to the invention of the first Christmas card tucsonsentinel.com/opinion/rep…
The custom of mailing printed Christmas cards in the 19th century was a product of the industrial revolution. It was influenced by older British holiday traditions − some entirely fictional.
#Tucson #Arizona


I’ve seen the trailer for both movies while I definitely thought Sonic 3 looked entertaining, my main thought whenever I saw the trailer for Mufasa: The Lion King was “Why?”

The box office results are no surprise.

variety.com/2024/film/news/box…

This entry was edited (1 year ago)
in reply to Dare Obasanjo

It was the movie nobody asked for. Just Disney trying desparately to create yet another Cinematic Universe because those seem to be pretty lucrative.
in reply to Dare Obasanjo

tbf “why?” was also my reaction to the first live action Lion King



... and Vampire Squids
Now that oligarch-branded capitalism has a stranglehold on our freedoms. It is strangling values like fairness and privacy like an infant in a crib, and enshittifying your experience of being an American.
digbysblog.net/2024/12/22/on-e…

Tom Sullivan reshared this.




Christmas explosion with two cats. Photo from my collection, 1972.


russian forces have once again executed a group of Ukrainian prisoners of war, killing five Ukrainian soldiers on December 22.

united24media.com/latest-news/…

in reply to Eugene McParland 🇺🇦

#Ukraine’s Human Rights Commissioner, Dmytro Lubinets
-"the incident has been confirmed through a video released by the 110th Separate Mechanized Brigade named after General-Major Marko Bezruchko"

At least 177 Ukrainian prisoners of war have been executed, with 109 confirmed cases occurring in 2024.



با مدیریت ماشینی شبکه‌های اجتماعی که ما را وحشت‌زده، غمگین و خشمگین می‌خواهد، چه کنیم؟ prod.radiozamaneh.org/839932?u…


"Sunday 'Happyish Holidays' Toons" bradblog.com/?p=15262 — THIS WEEK: Lots of Santa ... Lots of Naughty ... (And a Little Bit of Nice) ... with this and much more in our festive holiday toon collection!…


📷: People look for salvageable items following an Israeli strike in Deir el-Balah in the central Gaza Strip on Dec. 22, 2024, amid the ongoing war between Israel and the Palestinian militant group Hamas.

voanews.com/a/israeli-strikes-…
#voanews



BREAKING: Donald Trump and his team are reportedly debating “how much” to invade Mexico once he takes office, per the Independent.

Trump and his transition team staff are discussing a “soft invasion” of the country, Rolling Stone reported.

#news #finance #economics #stocks #options

in reply to unusual_whales

Another source close to Trump describes to Rolling Stone what they call a “soft invasion” of Mexico, in which American special forces — not a large theater deployment — would be sent covertly to assassinate cartel leaders.

Read more: t.co/XHDRmgm1CL

#news #finance #economics #stocks #options



in reply to GM7077

A weather forecast for Côte Saint-Paul shows a current temperature of -12°C, with a range of -11°C to -14°C. The wind speed is 5.6 km/h, humidity is 51%, and there is 0 mm of precipitation. The forecast is sunny. A graph below shows an hourly forecast with temperatures ranging from -12°C to -13°C between 14:00 and 20:00. The background image is an impressionistic rendering of green foliage with sunbeams.

Provided by @altbot, generated using Gemini



Women born in the most sexist U.S. states experience faster memory decline in later years (over 65) compared to those in the least sexist states, and this difference in memory decline can equate to nine years of cognitive aging byteseu.com/584107/ #Science


'The Forth Bridge at Sunset', watercolour, 38 x 28 cm. The iconic rail bridge over the Firth of Forth in Edinburgh in Scotland.

#edinburgh #scotland #watercolour #uk #gb #bridge #mastoart #masto




A benchmark project to improve and extend the predictability range of deep weather emulators to the subseasonal-to-seasonal (S2S) scale. github.com/leap-stc/ChaosBench #climate #sustainability #opensource #opensustain