Show more

@sourcenouveau Is this independent of using type hints? My functions returning containers usually return abstract protocol types, so f() -> Iterator[T] for generator type things and f() -> Iterable[T] for iterable type things (or Sequence or MutableSequence or whatever).

I don’t think a type checker is going to stop you from iterating over it twice, though, so I guess you still have to know the signature.

I logged on to twitter for the first time in ages because I wanted to contact someone whose preferred contact method was twitter DMs, and twitter suggested that I “interact with [my] timeline more” to help them learn that I’m human.

With the current state of twitter, I’m not sure that “likes to interact with this website” is a particularly common trait among humans…

On the plus side, I suppose this means I’ll have a backup motherboard if the new one ever goes out. Maybe I should get a backup CPU as well to reduce downtime.

Show thread

Hmm.. My personal “local-only” server went down a few days ago, I think because the MB died (first it was starting and showing red for the “CPU” and “DRAM” LEDs, then it stopped booting entirely).

It’s still under warranty, but when I do an RMA from ASRock I get an internal server error 500. I suspect that even when I finally get them to accept the RMA, it will be some time (weeks?) before I get a new motherboard. I could have a new motherboard from MicroCenter for $120 this evening, so I guess I’ll just do that.

@cnx Yeah I know someone who gave them an email address to download something once. It was not a recommended experience.

I'm looking for additional suitable reviewers for the Journal of Open Source Software (@joss) submission:

State-Averaged Orbital-Optimized VQE: A quantum algorithm for the democratic description of ground and excited electronic states

Anybody able to review this submission for JOSS, or suggest a reviewer? The review is mostly done but needs an additional reviewer to step up to get it over the finish line.

github.com/openjournals/joss-r

@nedbat @webology I did learn that if you sign up for an Azure cloud account, Azure PMs will aggressively “follow up” with you immediately and also for weeks afterwards.

@nedbat @webology I had the same thing happen a few years ago, and this was back in the days where MS was giving out some free licenses or Azure machines or something to core devs.

I think I eventually gave up. Nowadays I usually don’t spend my time on Windows-only or Mac-only bugs since I usually can’t reproduce them easily enough to fix them.

@simon Statements referenced and establishing notability? Pretty sure this is going to be a cut above most new article submissions.

@gaborbernat @hugovk The version before 20.x was 16.x, though. The whole version history is actually pretty weird: pypi.org/project/virtualenv/#h

It jumps from 1.x to 12.x… in 2014, then it looks mostly like semver until 2020 when it jumps to 20.x and holds there.

I bet the joke was on them when they got to the afterlife and the Shabti figurines kept drawing portraits of them with extra fingers…

Show thread

So apparently AIs have been taking human jobs for almost 5000 years now:

Another probable reason for the decline, and eventual end, of retainer sacrifices is the creation of shabti-figures. Shabti-figures were mummy-shaped figurines, meant to replace retainer sacrifices; “… the responsibility for carrying out tasks on behalf of the deceased was transferred to a special kind of funerary statuette, known as a shabti-figure”.[2] These shabti-figures were believed to carry out a wide variety of tasks, including everything from cultivating fields, to irrigating canals, to serving the deceased.

en.wikipedia.org/wiki/Ancient_

Do you work in a university? If so, request that they run a Tor node.

It's a good thing to do.

toruniversity.eff.org/

#censorship #privacy #tor

@freemo Is there any kind of “status” page for qoto.org that is independent of the mastodon instance? Or somewhere that lists known issues?

I’m experiencing significantly degraded performance and I feel like it would be good to have a place to go to find out if this is scheduled maintenance, a DDoS attack, or something else.

Heh, I just noticed that it looks like virtualenv seems to use the “COVID-time” version of : virtualenv.pypa.io/en/latest/c

Version 20 starting in 2020, still version 20 now… 😛

@hugovk That’s a lot of complexity to find out what version of setuptools_scm I’ve got, particularly when I don’t really want to be on the aggressive bitrot train.

The headaches started when I first installed it and they aren’t so bad, but honestly it’s just kinda not worth it? I don’t think the problem it solves is that time-consuming, so it doesn’t take much of a headache to not be worth it.

I think at this point setuptools_scm (and other tools like it) have probably caused more headaches for me than they’ve solved.

Show thread

Haha, setuptools_scm apparently does not, itself, expose a __version__ attribute.

@bernat @internetarchive When I wanted a similar thing, I used this: github.com/hartator/wayback-ma

I doubt they’ll have something easy to import into WordPress straight out of the box (though I haven’t used WordPress in 15 years, so maybe it’s easier now?), but at least you’d have the text, and you can do some cleanup on that.

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.