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

Loukas, to random
@Loukas@mastodon.nu avatar

A majority of white Americans are going to vote for Trump, and if Biden loses the election the main Democrat talking point is going to be "why would POC do this to us?"

pkw,
@pkw@mastodon.sdf.org avatar

@Loukas I agree, and the only good thing is more and more people are also agreeing. Corporate Dems are not the good guys.

Look up the definition of fascism in wikipedia, a dictionary, an essay etc. Start checking off the points with the current US government.

Not some future Trump government, but the current one.

If you do this in good faith. You will check most if not all criteria for the definition of fascism.

aeva, to random
@aeva@mastodon.gamedev.place avatar

It's a long shot, but it would be really funny if Microsoft and Google both capsize when the AI bubble pops, resulting in Valve taking over as the dominant home PC OS and buying the xbox brand for cheap, a sudden surge of corporate interest funding ReactOS, and a bewildered Viktor Lofgren waking up one morning to discover that Marginalia had become the world's dominant search engine over night. Chrome users however would still continue to refuse to switch to Firefox.

pkw,
@pkw@mastodon.sdf.org avatar

@aeva I'm so sorry for what I am going to say ...
The US Government would bail out google and microsoft first 😭

brokenix, to random
@brokenix@emacs.ch avatar

: multiple security issues
Buffer overflow (privilege escalation to root)
Broken UID parsing falls back to root (CVE-2019-15900)
Incorrect group change behaviour (CVE-2019-15901)
https://github.com/slicer69/doas/pull/23

pkw,
@pkw@mastodon.sdf.org avatar

@ParadeGrotesque @screwtape Can I start taking deep breaths?

I am prepared to defend my OpenBSD to the last.

louis, (edited ) to random
@louis@emacs.ch avatar

For project like a Mastodon™️ schema-compatible server from scratch, what would be the preferred license?

pkw,
@pkw@mastodon.sdf.org avatar

@louis BSD/MIT are more similar then a lot of the GPL variants and should probably be considered one at a high level.

I like BSD/MIT licenses the most because it caters to people that love the programming more than the politics.

Kind of like how BSD people love Unix and Linux people hate Windows. The motivation is different. I want to fight with love not hate :)

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.

leftylabourtech, to workersrights
@leftylabourtech@mstdn.social avatar
pkw,
@pkw@mastodon.sdf.org avatar
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)

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

Like if you worked near the person that got it you also had to quarantine.

The store did have limited hours at first. And their was a person with the job of watching the door and wiping down (~sterilizing) the carts. I told more than a few people to leave.

We washed our hands militantly and ate in small groups. Like the kitchen room could only have maybe 4 people in it.

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.

pleaseclap, to random
@pleaseclap@urbanists.social avatar

Top Gun: Maverick is a bad movie for anyone except aviation geeks who want to geek out over aviation, for whom it is an extremely generous lil treat

pkw,
@pkw@mastodon.sdf.org avatar

@pleaseclap Can confirm. My dad was a navy fighter pilot that went thru that school. When I was young I liked the movie.

Also he's an american-exceptionalism abusive a-hole, so that movie is dead to me 😬

pkw,
@pkw@mastodon.sdf.org avatar

@pleaseclap For sure.

Have you seen those short take-off cessna looking planes with the really big tires. They are cool, and also maybe useful. (and not jets)

harriorrihar, (edited ) to Netflix Spanish
@harriorrihar@mas.to avatar

is a rare bird, a shooting star. I was lucky enough to see it inside, work on it. Now it's re-released, let's keep this anomaly shining.


Not

pkw,
@pkw@mastodon.sdf.org avatar

@harriorrihar The show was too weird for me at first, but then I tried again and loved it.

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

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.

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

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