linuxusers.in is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Admin email
dharmiik@proton.me
Admin account
@dharmik@linuxusers.in

Search results for tag #python

Hacker News 50 » 🤖
@hn50@social.lansky.name

Helium: Lighter Web Automation with Python

Link: github.com/mherrmann/helium
Discussion: news.ycombinator.com/item?id=4

Napoleon Cornejo »
@napocornejo@masto.ai

Unwasted waiting time. 📚

HoldMyType boosted

Cali Spera »
@calispera@babka.social

I don't understand why in they call pattern matching "structural pattern matching"

Is it different form th epattern matching I have, say, in scheme ?

Or in ?

HoldMyType boosted

SpaceLifeForm »
@SpaceLifeForm@infosec.exchange

@billseitz @simon

Dependency Hell is a great place to visit so you remember to try to avoid it again.

Kevin C. Tofel »
@kevinctofel@hachyderm.io

Finally finished my “write Asteroids in ” assignment. This was such a fun and useful learning experience, although I still want to add a few extras on my own.

Gotta have a “hyperspace” button to jump to a random location in a pinch, right? 🤓

Alt...Video demo of the classic Asteroids video game written in Python.

Hacker News 50 » 🤖
@hn50@social.lansky.name

gyptazy »
@gyptazy@mastodon.gyptazy.com

You're a / fan and looking for a simple and minimalistic engine?

might be your solution and comes in a simple and familiar manpage design without big dependencies as a static blog generator.

You can find more about manpageblog right here: github.com/gyptazy/manpageblog

Hacker News 50 » 🤖
@hn50@social.lansky.name

HoldMyType »
@xameer@mathstodon.xyz

a SRC file isnt a program

Hacker News 50 » 🤖
@hn50@social.lansky.name

KlongPy: High-Performance Array Programming in Python

Link: github.com/briangu/klongpy
Discussion: news.ycombinator.com/item?id=4

Anselm Schüler »
@anselmschueler@ieji.de

The single sole singular only exceptional specific one thing bad about Python is that f"{1 =}" is "1 =1" and not "1 = 1"

Other than this Python has no flaws

Hacker News 50 » 🤖
@hn50@social.lansky.name

Nodezator is a generalist Python node editor

Link: github.com/IndiePython/nodezat
Discussion: news.ycombinator.com/item?id=4

Brian »
@brianb@fosstodon.org

Spent more time last night writing tests for my project. I need to do some reading on how to write tests for wrapper functions. I also have a couple routes that were really difficult to write tests for, which probably means they need to be refactored somewhat.

That's said, nearly everything is covered now. I'll poke at those last two spots, but I think it's time to move on to adding some charts/graphs into the admin panel for comparing data between class sections.

dharmik boosted

🟨 »
@radhitya@fedi.radhitya.org

All you need are #python and #c

Hacker News 50 » 🤖
@hn50@social.lansky.name

Hacker News 50 » 🤖
@hn50@social.lansky.name

Htmy – Async, pure-Python rendering engine

Link: volfpeter.github.io/htmy/
Discussion: news.ycombinator.com/item?id=4

Hacker News 50 » 🤖
@hn50@social.lansky.name

Solving Boolean satisfiability and integer programming with Python packaging

Link: mmaaz.ca/writings/pipip.html
Discussion: news.ycombinator.com/item?id=4

Digital Mark λ ☕️ 🕹 🙄 »
@mdhughes@appdot.net

Got a little nerd-sniped by Computerphile
youtube.com/watch?v=Q2UDHY5as9

So I went back to look at a little BASIC-plus I was designing, made a prototype in Python just because it is the easiest string processing (I have tools for this in Scheme, but it's more involved).

You know what grinds my gears? There's no case-insensitive compare without creating two garbage strings:
a.lower() == b.lower()
instead of (string-ci=? a b) or the like. Why is Python slow? THIS SHIT.

Hacker News 50 » 🤖
@hn50@social.lansky.name

Hacker News 50 » 🤖
@hn50@social.lansky.name

Bill »
@Sempf@infosec.exchange

This virtual environment stuff in Debian is making me nuts. Do yall really make a separate venv for every project?

Hacker News 50 » 🤖
@hn50@social.lansky.name

Pex: A tool for generating .pex (Python EXecutable) files, lock files and venvs

Link: github.com/pex-tool/pex
Discussion: news.ycombinator.com/item?id=4

2 ★ 3 ↺

dharmik »
@dharmik@linuxusers.in

using list comprehension and ternary operator to print even numbers from 1 to 10. 🤯

[print(x) for x in range(1, 11) if x % 2 == 0]

0 ★ 1 ↺

dharmik »
@dharmik@linuxusers.in

learning how to use docstring to test a function.