_pgmf
_pgmf on Hacker News
I love using tcl/tk and Python's tkinter module.
The complaint that it looks old-fashioned is addressed partly by using ttk (themed tk) but also just about every aspect of the widgets can be styled using a simple xresources-style config.
It's fast and lightweight, free forever, stable as hell, and there's lots of resources online.
Contrarian view here.
I really liked Redis for a long time. Simple, fast data-structures in-memory. That's it. Along the way there have been some nice enhancements like Lua, which solves a lot of the atomicity issues. But somewhere after 4.0 I feel they have lost their way. First they saw all the attention Kafka/event-stuff was receiving, so they baked-in this monstrous, complicated, stateful streams feature. Now we have SSL (do people really expose Redis on the internet??), ACLs, cluster stuff, and most relevant to me a new wire protocol.
To my thinking, Redis fit very well in the "lightweight linux thing" category. It seems they aspire to be enterprise software, and this may be a good move for Redis-the-Business, but it's not good for users like me who just want simple in-memory data-structures and as little state as possible. Forcing a new protocol that adds very little value (in my opinion) also seems like a great way to alienate your users.
>Projecting this hard.
The shortcomings of snap are well documented. I assumed anyone reading the comments would have been aware of them. But apparently some people will jump on any chance to virtue-signal.
For me, it's python and tkinter.
Posted by
_pgmf on Monday March 09, 2020 @08:37PM
from the esr.ibiblio.org dept.
As always I'm happy to see one of my projects getting repped. Huey was something I started out of frustration with celery. It's more of a celery replacement than an rq replacement, though it covers both. If you haven't heard of it -- it does tasks, cron (periodic tasks), delayed tasks, result-storage, etc., and supports multiple worker models (process/thread/greenlet).
Docs: https://huey.readthedocs.io/en/latest/
I don't understand why anyone would want type hints. It makes the code so ugly and complex. Pythons appeal for me was always that it is "runnable pseudocode" with a strong object system and great libraries.
To me it feels like python is running as far away from simplicity as fast as possible.
Posted by
_pgmf on Wednesday November 13, 2019 @02:16PM
from the patreon.com dept.
>what can you do about it?
Never apologize.
Cancel culture. Note how they don't persecute prominent people/leaders. They go after those who are more vulnerable.
What a time to be alive!
Posted by
_pgmf on Saturday October 12, 2019 @08:14AM
from the ghacks.net dept.
Sarah Mei alternates between aggressive, mocking, and combative. She has no sense of humor. Her worldview is unbelievably bleak and threatening. And she views herself as special -- someone "woke". It's terrible to behold.
The truth is that people make mistakes. People are entitled to their own opinions, however much you may disagree with them. The world exists outside one's self, and any one person just a small, small part of it. The world is not to blame if I feel hurt or threatened, and life is not fair. But within this world we have complete freedom. Do not try to take that away.
Solving problems directly related to the field in which I'm claiming expertise is in no way a damaging to my dignity.
I worked at a place with a demanding interview process for about 3 years and the people I worked with were excellent. Nobody is making you do anything you don't want to do. So drop the attitude and the childish entitlement.
I don't understand why you feel it's necessary to share your personal justifications (rationalizations), other than you're trying to normalize your own mediocrity. Which, by definition, already is normal.
> And thus, this is another example of my aversion to difficult work
Nice. A parallel: "I'd take a pill just to take my procrastination away! Hell I'd take 2."
I had some real procrastination issues at work. I mean, I was really beating myself up, praying about it every night and sometimes during the day. Eventually I just had to start in on the tasks I had been putting off.
Perfectionism is another facet of this thing: I need to handle x, y and z but that's going to be really tough, especially "z"... Fuck I'll start tomorrow. I had a gnarly data-munging thing for work, one of those "garbage in, garbage out"-type things, except the expectation was "garbage in, $$ out". I couldn't see my way around all the tiny difficulties I foresaw arising.
When the pain of procrastinating became greater than the pain of just starting in on the work, I finally was able to make progress. It wasn't as bad as I had been thinking. So pessimism and cynicism seem to also play a role.
Anyway, a favorite saying of mine is "god don't do manual labor". I could pray for motivation (or meditate or whatever), but what was needful was for me to tolerate the feelings and get started. Hard to do!
The folks at magicstack have written some seriously cool libraries. Lots of neat cython stuff, postgres, libuv, http parsing. I really like reading their code.
I completely agree. In 2008 at my first coding job we used plain php/MySQL with no caching and the sites were responsive. Plus they required like zero maintenance! In 2009 I went to work for a Django shop and was introduced to caching, reverse proxies/wsgi servers, templating, etc. It took a long time to buy in to this way of doing things, as it seemed intentionally complicated for no reason. Over time I've learned to appreciate that there are real benefits, but it wasn't immediately obvious to me. Regarding js templating, spa's, and all that stuff: I've tried to keep my previous experience in mind, and be open-minded about the potential benefits of these technologies. But I haven't seen any as yet.
John 19:21, Then said the chief priests of the Jews to Pilate, Write not, The King of the Jews; but that he said, I am King of the Jews.
I know, it sounds almost silly but its like being in addiction you're just so preoccupied with how you think you're going to feel.
I'm pretty sure, if you are offended by the word God, you can substitute another word, such as "Ayn Rand" or "the human intellect". Nobodys insisting that you have to do...anything really.
You wanna know how to tell if someone is an atheist?
> I'm an atheist
Oh wait, it doesn't matter -- they'll be sure to tell you.
If the code of conduct angers you, stop and think -- how did you feel one minute before you read the CoC? Is the problem really the CoC, or is it your collection of beliefs that is causing the problem? Furthermore, are you even affected? Do you contribute bug reports or patches? Follow the SQLite mailing list? Is anything here designed to prevent you from continuing to do so?
SQLite's author is a spiritual guy. There's nothing wrong with him borrowing from spiritual sources to describe his ideal for how he wants the SQLite community to conduct itself.
Looks like the speed comes from using lmdb rather than sqlites own storage layer.
ctypes is pretty slow in my experience. Cython is a nice alternative. Native speed and datatypes where you need them, plain old python anywhere else.
Yes! I had a completely surprising and visceral surge of feeling when I saw the screenshot of the UI. So many lazy summer days holed up with my 286 making silly shit. It seemed deeply magical. Like a portal to a secret world.
I am a literature major working as a software engineer, and I agree! Humanity has a very long history of story-telling. Often stories can tell us more than rational argument, since they hook-up with our intuition (rather than logic). This isn't to say there aren't laws in the Universe, but that the way we understand things is often emotional and intuitive. A good story can say so much about the human experience.
It's a hackernews meme. Just ignore it and move on.
Thank you for your comment. It's a shame. Only the most ignorant or naive reader could believe this garbage.
My youngest brother was diagnosed with schizophrenia a decade ago. I've watched him cycle through horrible psychotic episodes for years until he gained insight into his illness and agreed to start taking medicine. It's only since then that he's been freed from the voices that tormented him, and the paranoid delusions he would obsess over. He would tell you that there's nothing spiritual about the symptoms of his illness.
I'd also note that the guy who posted this also recently posted an article on LSD micro-dosing. Tells you a bit about where he's coming from...