@pkw@mastodon.sdf.org
@pkw@mastodon.sdf.org avatar

pkw

@pkw@mastodon.sdf.org

My name is Paul.
I like bicycles
I'm some form of socialist/anarchist and pro-labor / unions.

I like all of the programming languages and switch too often between them.
vi not vim, but emacs is ok too especially when doing lisp stuff.

I R Pedestrian

This profile is from a federated server and may be incomplete. Browse more on the original instance.

_L1vY_, to random
@_L1vY_@mstdn.social avatar

I usually follow anyone back and it's very rare that I intentionally unfollow a mutual, but I just unfollowed someone whose account I realized is primarily promoting grind culture. Absolutely not.

No, I do not have 12 working hours on weekdays and 16 more on weekends to "create wealth." Sick of this pervasive ableist, capitalist, anti-humane attitude.

"You SHOULD be able to--" no I shouldn't and I can't! That's the whole thing. Let me rest FFS.

pkw,
@pkw@mastodon.sdf.org avatar

@_L1vY_ Anyone that is working that much is not doing a good job. I have worked in tech and restaurants and maintenance, and this holds true across them all.

People that hold up their long hours as some sort of status are just posturing. They are not good at their jobs, they are making mistakes for others to fix, or not thinking out their solutions, again for others to fix.

This is a representational capitalism things. The way a thing is done becomes more important than the end result.

ParadeGrotesque, to random
@ParadeGrotesque@mastodon.sdf.org avatar

Well, eff this, I am just going to write it myself and use to generate 3 fake pages for every page of content on my web site.

Because AI can go and kiss my butt that's why.

pkw,
@pkw@mastodon.sdf.org avatar

@ParadeGrotesque See! Lots of the "profoundness" of AI is really just that randomness.

IOW AI takes the credit for the profoundness in randomness

so you are doing the lord's work

pkw,
@pkw@mastodon.sdf.org avatar

@ParadeGrotesque My goto pantheon for chaos is Michael Moorcock's Chaos lords but distinction w/o a difference :)

our feeble human minds can only deal with these things through some narrative we prescribe to them.

mousebot, to random
@mousebot@todon.nl avatar

new book out from Minor Compositions:

Fables of Re-enchantment. Multiplicity, Imaginary, Revolution
Stefania Consigliere
Translated by Steven Colatrella

https://www.minorcompositions.info/?p=1309
(available in full as a PDF on their website)

A critique of the various logics and prejudices of modernity.

"Enchantment has disappeared from our lives. Whoever dares to mention it violates the most basic epistemological canons that hold our world together and is immediately labeled ignorant or mad. It is suspicious, however, that the taboo on enchantment comes about just as the historical process of modernity begins to produce spectres and nightmares on an industrial scale. The world is populated by ghosts and no one can talk about them. Even revolutionary thought has conformed to this precept, abandoning the imaginary to the violence of fascism: an enormous historical error since it has brought about the demobilization of intelligence and sensibility on the most crucial terrain for any form of change."

relevant to my interests.

pkw,
@pkw@mastodon.sdf.org avatar

@mousebot

I have been musing on this notion of oral traditions. In modern society oral traditions are seen as "lesser" versions of written traditions.

Like writing something down makes it better. But! After you realize that words and language ALWAYS change over time, there is a notion that oral traditions are richer and more of a connection to the past, because they evolve over time like language. Maybe the evolution of oral traditions and language are part of a same thing.

benjamineskola, to random
@benjamineskola@hachyderm.io avatar

being asked by a client to download some vpn software from their google drive, what could possibly go wrong

pkw,
@pkw@mastodon.sdf.org avatar

@benjamineskola I see this pattern a lot. Some institution like a bank will use unsafe practices, but they are probably legit.

The problem is that how are normies supposed to get any clue about what's safe an what's not?

And infosec people tend to not be the greatest educators. What with all the "private review of the situation" BS.

ParadeGrotesque, to random
@ParadeGrotesque@mastodon.sdf.org avatar

So, 7.5 has got a patch for libcrypto out:

003: RELIABILITY FIX: May 10, 2024
(All architectures)

A missing bounds check could lead to a crash in libcrypto.

And 15 has got a new package for sg3_utils (1.47), which I did not even know existed... 🤔

"sg3_utils (utilities and test programs for the linux sg driver)
This package contains low level utilities for devices that use a SCSI command set."

All in all a relaxed Saturday.

pkw,
@pkw@mastodon.sdf.org avatar

@ParadeGrotesque gotta block em all

pkw, to transit
@pkw@mastodon.sdf.org avatar

#bicycle

Frame pump?

I'm in fits and bursts with getting back into biking. I obsessively won't get on a bike w/o the tools to fix a flat. So I carry tube, patch kit, levers, and a pump. And then there's no sense in bringing that w/o bring a few handtools, (allen wrench, multi-screwdriver).

Wow I already typed all that and haven't gotten to my question.

You know that joke in airplane where he says start from the beginning, and the guy is like "well it began with the dinosaurs...".

pkw, to python
@pkw@mastodon.sdf.org avatar

fixture config is magic and I don't like it.

def test_something(fixture):
...

So in pytest. What this does is get the name of the param fixture to see if it matches the name of a previously defined fixture function. If you don't know that it looks bizarre. That IS NOT a parameter passed into a function but a sentinel that is used to look up a fixture by it's parameter name.

WHY not just pass in the ACTUAL FIXTURE ?!?!

def test_something(fixtures=[fixture1, fixture2]):
...

pkw,
@pkw@mastodon.sdf.org avatar

@meejah It even says that in the docs that it uses the name to lookup the fixture.

https://docs.pytest.org/en/7.1.x/how-to/fixtures.html#requesting-fixtures

Pytest probably inspects that test function (before calling it) and does the lookup for fixtures, AND THEN calls that function passing in the right fixture. But still when you write the test function that parameter is all about the name which is not something you do in regular python programming.

I'm just venting because the NAME OF A PARAMETER SHOULD NOT HAVE SIDE EFFECTS.

pkw,
@pkw@mastodon.sdf.org avatar

@meejah Also it works, I underastand the mechanics of it, and I'm making peace with it. I have to use pytest.

pkw,
@pkw@mastodon.sdf.org avatar

@meejah Thanks!, I am seeing that it is adds convenience for pytest, I still don''t like it.

Sorry to be pedantic, but I use click, and this isn't like click. Click doesn't use parameters solely for the side effect of their name. All of the parameters in click have actual values.

This is different but more in spirit similar to Flask and how it sets the request variable automatically inside functions. But even that is more palatable because it's doesn't bleed out of the function definition.

pkw,
@pkw@mastodon.sdf.org avatar

@SnoopJ

I will reply with what i already said ?:

"Also it works, I underastand the mechanics of it, and I'm making peace with it. I have to use pytest."

Also I will take the python tag off the post. Maybe that is making people think I am looking to debate instead of having an opinion and ruminate on language design.

pkw,
@pkw@mastodon.sdf.org avatar

@SnoopJ I would delete the post, but i appreciate @meejah perspective and thought it would be rude to delete it considering that.

pkw, to random
@pkw@mastodon.sdf.org avatar

When you explore the limits of a system you are either:

  1. Finding things out about the underlying system
  2. Finding things about your framework for measuring the system, including your own limits in perception.

Both are good, but not nececelery the same.

pkw, to random
@pkw@mastodon.sdf.org avatar


I'm really digging this pattern in CLOS of extending a class and using :use-reexport in the new package definition to pull in the base class.

It makes code growth and juggling easier. I can extend a class by just changing an import statement, and then if I want to fold that new class code into the base class I can do that, and go back to the old import stanza.

The code that is dealing with the class (base or child) instance can stay untouched.

NatureMC, to nature
@NatureMC@mastodon.online avatar
pkw,
@pkw@mastodon.sdf.org avatar

@di0v0n @NatureMC @firstdogonthemoon Yeah for example organisms will likely evolve to digest plastic and other pollutions.

(after we or at least most of us are gone)

pkw, to random
@pkw@mastodon.sdf.org avatar

system admins know that just increasing disk space for users only means they will use more space. Meaning, ironically all things being equal it makes everything worse. Backups are more difficult. The probability of disk failures goes up. etc.

From what I've gathered traffic engineers know this same thing about adding lanes to roads.

Capitalism, and "just add more", and "it has to scale", all are things that punt on using the wonderful human brain to solve problems.

(like a train)

pkw, to random
@pkw@mastodon.sdf.org avatar

The human mind/intellect has a massive blind spot when it comes to undoing things.

This is a call to action not a criticism.

I think it's healthy to look at how primitive we are in lots of ways. And hold it and seep in it.

We just aren't anywhere near as advanced as we think we are.

I am thinking that is actually more of a singularity threshold.

We also have MASSIVE problems being benevolent. Because c'mon most benevolence at a civil level is BS posturing and lip service.

Adam_Cadmon1, to random
@Adam_Cadmon1@mastodon.online avatar

Ya'll are too patient with trolls

pkw,
@pkw@mastodon.sdf.org avatar

@Adam_Cadmon1 It feels like the lessons learned from trolls on usenet and mailing lists are the same for trolls now.

Once they have clearly shown they aren't for the dialog but just to get a rile out of people, then the best thing is to ignore.

That's why block is so amazing to me.

pkw, to emacs
@pkw@mastodon.sdf.org avatar

Is there an idiomatic way to kill multiple times to the same buffer?

In vi I can go through a bunch of different files "gathering" kills into one buffer and then yanking them all into one place.

ElleGray, to random
@ElleGray@mstdn.social avatar

Can NONE of my dreams come true 😞

pkw,
@pkw@mastodon.sdf.org avatar
fkamiah17, to random
@fkamiah17@toot.wales avatar

WEEK 30: From the tents of Gaza ...

pkw,
@pkw@mastodon.sdf.org avatar

@fkamiah17 😢

StillIRise1963, to random
@StillIRise1963@mastodon.world avatar

The coverage of the college protests is such a fucked up gaslight.

pkw,
@pkw@mastodon.sdf.org avatar

@StillIRise1963 I made the mistake of having NPR / VPR on when driving to a friends house. They so obviously manipulated the words to blame everything on the protestors AND they basically insinuated that they are all anti-semitic.

I wanted to throw my radio out the window.

pkw, to random
@pkw@mastodon.sdf.org avatar

The VPS thing happened right around when I was gearing up to colo a couple of 1U rackmount servers.

I missed the opportunity and I want to do it. If I did it now, I'd need to find a location in the Northeast US.

I'm guessing outside of Boston somewhere. IDK.

Any recomends for a colo facility in the Northeast US?

Yeah this is probably not a good idea.

pleaseclap, to random
@pleaseclap@urbanists.social avatar

It is not antisemitic to protest Zionism and Israel's treatment of Palestinians (war crimes, crimes against humanity), no matter how many times they say it or who says it

They're just trying to silence legitimate dissent in the most cowardly dog-whistle way possible

pkw,
@pkw@mastodon.sdf.org avatar

@pleaseclap One good thing is the facade seems to be breaking.

10 20 years ago that antisemitic wolf crying would have worked.

Now just like lots of effed up shit happening, people are seeing right through.

I was pretty sure when this started my liberal friends would defend Isreal, and they haven't.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • ngwrru68w68
  • mdbf
  • rosin
  • Youngstown
  • vwfavf
  • slotface
  • modclub
  • khanakhh
  • cubers
  • kavyap
  • DreamBathrooms
  • cisconetworking
  • PowerRangers
  • everett
  • Durango
  • InstantRegret
  • osvaldo12
  • tester
  • Leos
  • tacticalgear
  • ethstaker
  • GTA5RPClips
  • normalnudes
  • anitta
  • megavids
  • All magazines