

Have you considered putting your gaming pc in one of the storage freezers? /s
Have you considered putting your gaming pc in one of the storage freezers? /s
Not true, I bitch about them more than ever
true, and i can’t think of a legitimate case where it would have tripped me up. but if someone, a novice perhaps, wrote
def some_func(foo, bar=[1, 2, 3]):
bar.reverse() # for whatever reason
print(bar)
some_func('hello') # output [3,2,1]
some_func('hello') # output [1,2,3]
i think they would be within their rights to be surprised that calling this function twice has different results. that’s what i was surprised by; it feels like bar would be re initialised each time with a scope of the function but apparenty not
Python item 1
Mutable default arguments don’t get re-initialized with each function call.
got an audible wtf from me… Been using python for years, totally unaware.
The “internal business tool” was a well known industry wide product that I had experience in. I should have known that changing an email address in any environment caused that new email address to be notified. It was my fault yes
My first week at a major fund company I was assigned to an internal business tool used by thousands. I noticed all the company email addresses in the sandbox weren’t correct, so I ran a script to correct them. Cue a call from C-level to my boss asking why he got a “email changed notification”. Followed by another… And another… And another…
I went out to lunch
By “the cloud” people are generally referring to all the services and storage that you are connected to across the internet. This exists on other computers owned by companies or other individuals. Yes there are lots of storage services available from Apple iCloud to Google Drive to OneDrive (Microsoft) to lots and lots of others. They tend to work in slightly different ways. Some just “backup” your device and you can’t really use them as a replacement for browsing photos for example. Others do exactly this. Most have a small amount of free space available after which you pay. If you are looking to free up space on your SSD I would make sure the one you go with is a well known, reliable one, as they will be the only ones with a copy of your data- you want to make sure they look after it properly!
Programmers in the next universe iteration: deep sigh
tine dilation
Holds up fork and squints at it
Play Game Dev Tycoon half asleep, cover all bases
I asked Alexa to order one in for me and my Indigo Witch just arrived…
Anakin:
Every day further from god’s light etc…
Amazing, lol
Unstable for a variety of historical reasons…
Original primitive animist beliefs and Christian groups seem to have amalgamated in the first centuries CE.
The region was overcome by Islam coming from the Arab peninsula which then dominated its northern population centres and set up slave raid expeditions to the predominately animist / Christian south.
In the 1800s Egypt had taken control of the region and then Britain by virtue of their control over Egypt.
When Egypt rebelled and demanded independence from Britain in the 1950s the (soon to be) president demanded the same for the Sudan region as he was Sudanese. It’s unclear if Sudan was remotely ready for this kind of independence the way Egypt was.
Discovery of oil and a predominantly conservative Islamic Arab northern population has caused Sudan to function like a gulf petro-state with about half of its economy being due to gold / oil extraction but very little of this helping the general population which remains in crushing poverty.
More extreme Islam since 1983 has seen academic independence suppressed (authors, poets imprisoned, islamic studies mandatory if studying anything etc).
Sudan’s list of civil wars (Darfur etc) are generally characterised as animist / christian resistance movements against an oppressive islamic government. (Or, to take an opposite view, are wars of conquest by a disenfranchised rural population because in Sudan’s petro economy, the controller of Khartoum is winner takes all)
Animist / Christian South Sudan finally managed independence in 2011. The peace apparently being bolstered by the economic coercion of gulf and Chinese corporations who seek a peaceful extraction of South Sudan’s oil…
TL;DR blame Britain, or conservative Islam, depending on how long it’s been since you were a student
“somehow RIF returned…”
I’m I the only one who pronounces regex with a soft g? Hard g feels so clunky
I follow the 80/20 rule recursively. as soon as I’ve gotten 80% of the way there for 20% effort I immediately stop, and start a brand new project for the remaining 20%. Bam! 96% complete for only 24% effort.
taps forehead
Is there an exemption, say, if a Chinese person were immigrating to the US and they already owned an EV for several years and wanted to bring it with them? Or is there a massive import duty on things like that?
Oh it won’t end