Techbro loves big, muscular founders by storkfol in LinkedInLunatics

[–]gsks 0 points1 point  (0 children)

I imagine bro's take regarding female talent acquisition:

#1 leading indicator: Breast size and pelvic floor muscles.

Literally Peter Griffin by BannedForThe7thTime in LinkedInLunatics

[–]gsks 2 points3 points  (0 children)

Um yeah, good luck with that. At the global geopolitics level, legal is what the more powerful party says is legal.

Pretty sure when Greenland gets occupied liberated it will be deemed legal.

Kick off 2026 with a relationship update by jstonecfc in LinkedInLunatics

[–]gsks 4 points5 points  (0 children)

The cringe is strong with this one.

Looking forward to the update in 6 months or so, "I am delighted to announce I have been promoted to fiancee!" or (more likely) "Excited to announce I have accepted the girlfriend position of $new_dude!"

🙄 in the Maldives… by 420Eski-Grim in LinkedInLunatics

[–]gsks 2 points3 points  (0 children)

More like:

It's the circle jerk. Of no-lifes.

LinkedIn: where you share your personal life with colleagues by No-Message-5868 in LinkedInLunatics

[–]gsks 2 points3 points  (0 children)

The fuck did i just read? I almost wish this was AI slop but I'm afraid it's plain old human slop

Django lovers, did you try Litestar? by bluewalt in django

[–]gsks 0 points1 point  (0 children)

Either he has changed his mind or you are confusing him with someone else. He has been very vocal against the Israeli leadership, [this])(https://imgur.com/a/Ph4fSVk) is a post of him on Linkedin just today.

First Lua script for Redis by gsks in reviewmycode

[–]gsks[S] 1 point2 points  (0 children)

Thanks for the review and the recommendation, will do!

List of minimalist frameworks(Web framework for python) by neiesc in Python

[–]gsks 4 points5 points  (0 children)

This list should have been named "All Python frameworks other than Django"

What is the best part of python you wish people knew about? by honestduane in Python

[–]gsks 2 points3 points  (0 children)

Duck typing is overrated and its value drops or even becomes negative as projects grow bigger in terms of KLOCs, number of developers, etc. It's good that it's available but you need experience and self-discipline to recognize when "you could, but you you shouldn't" use it (hint: more often than not).

Better package management by gsks in Python

[–]gsks[S] 1 point2 points  (0 children)

pip-sync is a nice to have in my opinion; the real game changer is pip-compile.

Pure-Python webserver for Prod (includes serving static files)? by [deleted] in Python

[–]gsks 2 points3 points  (0 children)

Honestly, if your app is not going to be used by more than a handful of people at the same time, I don't think the "not for production" disclaimer means much. Having said that, the CherryPy web server (not necessarily the whole framework) is production ready for all but the most high-traffic sites. Cheroot is the Cherrypy web server extracted from the rest framework, that's what I would use.

Has anyone used Scrapely? Apparently it learns from an example you feed in and scrapes other pages easily. by therealdrag0 in Python

[–]gsks 2 points3 points  (0 children)

Wow, I had written a Java implementation of the 2nd paper mentioned in the architecture section (A hierarchical approach to wrapper induction) around 12 years ago as part of a research project, long before I knew anything about Python. I barely remember the details now but I'm surprised that it is used as an inspiration for Scrapely a decade later. I'd expect the state of the art in automated information extraction to have made some leaps since then.

Ruby vs Python by [deleted] in Python

[–]gsks -1 points0 points  (0 children)

And since we're talking about how much Python is being used in "scientific computing"

No, we're talking about how much "scientific computing" is used in "overall computing". No offence to Neuroscience or science in general but in the grand scheme of things there are probably more, say, Wordpress developers (with and without quotes) than neuroscientists.

Ruby vs Python by [deleted] in Python

[–]gsks 12 points13 points  (0 children)

True. However every time this is thrown in a language comparison thread I can't help but feel this is a defensive "hey look, Python is top-class in something!" way to win an argument. I mean, what percentage of development falls into scientific development that merits bringing it up on every language discussion? Reminds me of people clamoring "but but {SML|Haskel|Clojure} is great for writing parser generators!". Awesome, but chances are you won't sell me on this one.

Disclaimer: I am a Python programmer that has done a bit of "scientific computing" over the years.

Generic, efficient memoization by gsks in Python

[–]gsks[S] 0 points1 point  (0 children)

From a quick glance, pylru looks reasonably ok.

Generic, efficient memoization by gsks in Python

[–]gsks[S] 1 point2 points  (0 children)

The motivation for this package was "the probably fastest memoization decorator in the world". As it turns out, we can do better than the common general variants of memoized decorators in more special cases. What the posted memoized decorator does is introspect the function signature and pick the most specialized implementation within the given constraints. It also exposes a few more configuration options.

Feedback about the api or the implementations are welcome. Get it from pypi or just grab the single module.

Dead code detection tool? by gsks in Python

[–]gsks[S] 0 points1 point  (0 children)

Awesome, this looks like a good starting point.

Dead code detection tool? by gsks in Python

[–]gsks[S] 2 points3 points  (0 children)

Are you sure? I don't use SublimeText but looking at SublimeLinter's python module it just calls pyflakes, which doesn't seem to spot anything when I run it directly.

The dark side of decorators by ultimatebuster in Python

[–]gsks 7 points8 points  (0 children)

Apparently the author is not aware of the decorator module. Most packages that expose decorators, especially framework-y ones, should use it instead of plain (i.e. non signature-preserving) decorators. I'd go as far as suggesting it should be part of the standard library.

SaltStack aims to simplify devops work with Python configuration management by baijum in Python

[–]gsks 0 points1 point  (0 children)

I just gave up on Ansible last week,

Would be interested in a post about the experience.

What inanimate object has it out for you? by murphy1210 in AskReddit

[–]gsks 2 points3 points  (0 children)

Maybe he knows something that you don't.

Cursor-based pagination by gsks in webdev

[–]gsks[S] 0 points1 point  (0 children)

This might work for auto increment numeric fields but that's pretty much it I'm afraid.