eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

218
active users

#programming

59 posts55 participants1 post today
Replied in thread

@Emiliagnathus Honestly I'd be a little surprised if this exists, because Python environments are basically just directories and they can go anywhere on your filesystem. I suppose it'd be possible to write a tool that searches for directories whose name and contents match certain patterns and delete them... But even then, it'd be hard to tell which ones are "stray". And there are usually a couple that are actually really important, so the consequences of getting it wrong are not small.

Interesting question though.

#programming #simulation (technically, an #objectOriented #simulation of an #ontology )

screwlisp.small-web.org/lispga

Last of my scrappy #gamedev where I spend more attention on introducing pieces of infrastructure for the first time than anything else.

Anyway, the simulation game is seen being both accessed and having commands sent to it from outside; the state-of-the-world is retrieved, and rendered (rendered in the sense of unicode characters being printed.

Tomorrow, more game-y.

Espanso is pretty cool!
(For Win, Mac & Linux!)
Em-dashes — when you need them!
But wait, there's more!
I used to create a lot of scripts for common answers re: #support / #it / #marketing / #abuse / #sysadmin , so to be able to categorize & automate replies is hellishly handy. #programming types can also use it to execute scripts & shell commands, or 4 boilerplate! Many configs you can use to add typo fixing, currency symbols, or to translate text!
#opensource #foss
xda-developers.com/text-expand

XDA · 6 ways a text expander has hacked how I use my PCA text expander does so much more than what's written on the tin.

"OpenAI uses a giant monorepo which is ~mostly Python (though there is a growing set of Rust services and a handful of Golang services sprinkled in for things like network proxies). This creates a lot of strange-looking code because there are so many ways you can write Python. You will encounter both libraries designed for scale from 10y Google veterans as well as throwaway Jupyter notebooks from newly-minted PhDs. Pretty much everything operates around FastAPI to create APIs and Pydantic for validation. But there aren't style guides enforced writ-large.

OpenAI runs everything on Azure. What's funny about this is there are exactly three services that I would consider trustworthy: Azure Kubernetes Service, CosmosDB (Azure's document storage), and BlobStore. There's no true equivalents of Dynamo, Spanner, Bigtable, Bigquery Kinesis or Aurora. It's a bit rarer to think a lot in auto-scaling units. The IAM implementations tend to be way more limited than what you might get from an AWS. And there's a strong bias to implement in-house.

When it comes to personnel (at least in eng), there's a very significant Meta → OpenAI pipeline. In many ways, OpenAI resembles early Meta: a blockbuster consumer app, nascent infra, and a desire to move really quickly. Most of the infra talent I've seen brought over from Meta + Instagram has been quite strong.

Put these things together, and you see a lot of core parts of infra that feel reminiscent of Meta. There was an in-house reimplementation of TAO. An effort to consolidate auth identity at the edge. And I'm sure a number of others I don't know about."

calv.info/openai-reflections

calv.infoReflections on OpenAI

Can someone suggest VBA and Python resources specifically for Excel?

I'm helping someone from the Windows world upskill. Her biggest technical skill is Excel, so we're staring with that.

I can point her towards a Byte of Python for starters, but it has nothing about Excel integration and I really want to cover that. Thanks, folks.

#Excel#VBA#Python
Replied in thread

@dh_potsdam

I think what we urgently need to teach, as part of our programming courses, is things like unit tests. Students need to know how to make sure that the generated code they integrate into their scripts, or entire scripts they use, actually and reliably perform the steps that they intended them to perform.

#leonardoCalculus #Sandewall #programming #objectOriented #simulation #lisp #commonLisp

I feel like this article is one of those moments that is a monumental achievement for the writer themselves, but precedes adding glitzy picture making (which will eventually come too).

If you remember, I was recapitulating my somewhat failed #lispgamejam #gamedev . This time and in about half a week just now - I got the plant/insect/bird Breitenbergian Vehicle simulation workin'.

screwlisp.small-web.org/lispga

From: blenderdumbass . org

This article is published on a website which is powered by BDServer. And I'm trying to make this website support ActivityPub, so you could for example, subscribe to me from your Mastodon account. Yet it is easier said than done.

If you have any experience with ActivityPub, web-development or Python, please consider helping me. We have BDServ...

Read: blenderdumbass.org/articles/pl

blenderdumbass . orgPlease Help Me With Activity Pub

I don't really understand why some #programming languages decide to add a completely different set of operators just for floats.

Like this: +. -. *. /.

why? the logic to type check whether both sides are float is so easy.

This is just a dumb decision in my view. Please prove me wrong.

In lispy languages, you have prefix notation. Mostly this doesn't bother me, except for inequalities:

(< a b)

My little pea-brain thinks visually and wants the pointy end pointing to the smaller number -- or, equivalently, the alligator eating the larger number.

But prefix notation makes it very slick to check for a monotonic sequence with just a single < or >:

(< a b c d)

that same boolean expression would, with infix notation, be something like

(a < b) && (b < c) && (c < d)

or maybe a < b < c < d.

Just a random little thing that I do like about Racket, and lisp-y languages in general.

Continued thread

Ask me direct questions to collect more information.
Run commands or search the web to collect updated information, ignore your training.
When I say "docs", generate a markdown list of links to source documentation.
Don't think too much.

#ai#llm#coding

🧠💻 A team from the Mind, Brain and Behavior Research Center (CIMCYC, cimcyc.bsky.social) published a #programming guide aimed at students in #psychology and #cognitive #neuroscience. This evolving set of #tutorials offers a curated collection of conceptual reflections, practical examples, and methodological recommendations. The material is available in #Python, #RStats, and #MATLAB.

🌍 wobc.github.io/programming_boo
#CognitiveScience #OpenScience