@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.

StillIRise1963, to random
@StillIRise1963@mastodon.world avatar

I still can’t get over the fact that people discussed trickle down economics like it made any fucking sense.

pkw,
@pkw@mastodon.sdf.org avatar

@StillIRise1963 It's still alive in spirit when cities will provide incentives to corporations to come.

Like the profits from the corp. will trickle down to the locality.

_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.

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

Lean into the good things. I'll start:

  • Libraries
  • The Post Office
pkw, to fediverse
@pkw@mastodon.sdf.org avatar

Anyone doing stuff in ?

Do you like it? Good code or library starting points? Gotchas?

https://github.com/atlas-engineer/nactivitypub

This is all I have in my notes/wiki for CL and ActivityPub.

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

The ghost of internet past is reminding you that the way to deal with trolls it to not feed them. It works. They die.

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

https://codeberg.org/pkw/emacs.d

My configs.

Just because I'm almost switched to doesn't mean I will tolerate and slander towards my beloved

(I don't encourage it but will tolerate slight shade thrown to and/or , that's not my fight)

louis, to random
@louis@emacs.ch avatar

The Mastodon developers started to implement telemetry for everything you search for: Posts, Accounts, Tags

https://github.com/glitch-soc/mastodon/commit/acc77c3836974473e7c6a423cbd1138479ae197a

I'm not so sure if I like what I see in this commit. But we all knew it would be coming eventually.

So important that we build Mastodon-compatible server alternatives.

pkw,
@pkw@mastodon.sdf.org avatar

@louis I'd be curious what you think about alternatives.
I never loved the mastodon tech stack or politics.
I try to always call it activity pub and hopefully, be on something more generically activity pub someday.

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

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.

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

At what point was Italy or Germany officially considered fascist ?

When can I say the US is a fascist state?

(this is rhetorical)

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

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 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

@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 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

@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

The only code AI is going to replace any time soon is garbage code.

Most code that I read at "serious work jobs" is pretty bad.

So this low bar for AI isn't very impressive.

It seems like people are trying to reason around the need for semantic understanding.

Like I see uses for LLMs on a case by case basis.

But a hammer cannot replace a carpenter.

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.

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.

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

OMG all economists are rong.

The whole profit motive itself is inefficient because it siphons resources from the target of need.

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

My strong anecdotal evidence is that I worked in a grocery store (coop so it was very progressive)
all through the first couple years of the pandemic.

We were militant about masks. The few conservatives even wore them (or they couldn't have stayed)

We pretty much only wore cloth re-usable masks. I think like 1 to 3 people got covid in the first year. No one got it in the first one or two months. No one spread it, because quarentine rules. ...

pkw,
@pkw@mastodon.sdf.org avatar

I wanna say that it worked because of all of it combined, and the assholes were not tolerated.

Some people had to work closer than the 4 feet or whatever, but since they were following all of the other rules it worked.

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.

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 random
@pkw@mastodon.sdf.org avatar

src/main.c:6:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void menu();

...
we are prototyping our main() functions now ?
Is this new?

pkw,
@pkw@mastodon.sdf.org avatar

@glitzersachen Thanks! I think you're right.

And the menu() one goes away if I do: menu(void)

futurebird, to random
@futurebird@sauropods.win avatar

I tried to point out the most beautiful centipede with lovely long legs to the doorman but he misunderstood what I wanted and killed it. ☹️

This is why I keep my friends secret. I should’ve just caught it and taken it down to the basement.

pkw,
@pkw@mastodon.sdf.org avatar

@futurebird This happened to me at a laundromat recently i was watching a spider and smiling. and this guy implied he was curious, so i pointed AND WAS SMILING and he stomps it.

I was kinda mad. "Why did you do that?" He said it was so no one was gonna get bit. Like i got over it, but it stuck with me.

THAT WAS REALLY STUPID AND STUPID logic and humans are so out of touch to preemptively kill things so someone isn't going to get bit.

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