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

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

(ql:quickload 'split-sequence)

split-sequence:split-sequence is awesome.

The bad thing is this was my opportunity to really learn loop, but split-sequence does exactly what i need.

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

I'm REALLY enjoying programming in

I don't think I would have gone down this road, if not for @screwtape 's advocacy.

My snap judgment idealism and Java OO hatred made me assume scheme and lisp1 was they way. (not saying it isn't this is just for me)

It's kinda serendipity because I have OO baggage in my brain from C++ and Java. CL's CLOS is so much nicer, but my previous OO knowledge is a foil that has helped me take it in.

I still haven't even gotten to macros yet. :P

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

Reminder to the US audience.

"libertarian" has a different meaning internationally than it does in the US.

It took me a few double takes to absorb that.

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

(musing)
What's the function to map over a hash-table?

hashmap ... nope
hash-map ... nope
map-hash ... nope
maphash ... 😋

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

@screwtape

You had (thanks) posted this in response to that Sussman video:

"Reminded me of - but completely ignores his angle - Graeber's essay on the death of the academy in the 1970s, and the hypocracy of the postmoderns."

I am a new Graeber fan and can't find that. Is it called something else? Any suggestions where to read it?

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

Anybody use with and ?

?

It is not clear which of these are choices and which are intended to work together.

I'd love some recommendations or pointers to howtos.

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

I am programming in to play random songs from a large mp3/flac collection.

It works fine in the REPL, but when I use it with it runs the program fresh each time.

You might see where I'm going. The naive random function must be deterministic so even though there is a series of random calls i am making to narrow down the choice, the choice is always teh same when the program is ran the 1st time.

the song isn't bad it's:
Kurt Vile and The Violators - Wedding Budz

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

What the 10x programmer myth actually means:

I will break things so fast that by the time you understand how bad my code is I will have been promoted or hired out and not have to clean up after myself or explain my code.

From the outside I will look super productive. The only people that actually see my code, are beholden to not complain because then they will look bad as maintenance programmers.

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

Nuance is so important.

But it's important BECAUSE of context!!!!!!

I see people like coming into a thread just wading into the deep end of nuance. Making reasonable claims, and I'm frequently expecting a point to it all. When there is no point I get mad. To wield nuance to get into a dialog for no other point than to wield nuance to get into a dialog is so frustrating.

This trivializes everything, and it devalues the notion that nuance always matters.

Posturing ... that's the word

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

I said something about it's not the number of the queries but the size of the response rows that mattered.

My colleague turned it into a dick joke.

I told him I didn't think it was funny.

This was on our group Teams channel.

Of course im now worried if i shouldn't have said that, but
I'm telling myself at the very least if i have to read bad jokes i can say it's not funny.

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

I made an update to the app that allows you to see the description rendered as markdown.

(I've been using markdown the whole time intending to do this.)

There's a button "View Markdown" that swap the textarea with rendered markdown (html).

And then I just re-use the "Reset Post" button to go back.

I did this with which I haven't used before. I don't love it.
I don't hate it. I definitely could have just used axios (or fetch) and some javascript glue.

https://clue.d34d.net/

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

@screwtape I don't shy from repetition as a programmer.
I do the same things over and over, by hand.

Then I get better at it. I see so many programmers at $WORK that overemphasize not repeating themselves. I think that is a mistake. You get better at hammering after hammering a kazillion times, not abstracting away the hammer.

I think i did hyperbole, because really I do abstract things, but I just tend to do it much later than my peers.

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

I prefer permissive licenses like the ISC.

Well actually I prefer no licenses.

Licenses is a leaky abstraction.

I am NOT a (US style) libertarian!

I would be fooling myself if I thought that my opinions aren't because I really like OpenBSD and it's sub projects.

https://www.openbsd.org/policy.html

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

Writing prose in (not vim) is such a pleasure !
Like piping just a range to fmt. [0]

I came for the code i stayed for the prose.

[0]: 2,17!fmt -s

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

Why is Biden the only choice if no one wants to vote for him?

How come that is not even a consideration?

Why does no one question that their party is not letting them choose a candidate.

If it's not a democracy how can you save it?

It feels like it wasn't always a given, like there was a semblance of choice. A game of primaries was played. Now we just skip the pretense?

Vote for who we tell you or democracy is dead. This breaks pedantic people like me. You see it's BS right?

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

I succumbed to all[0] the pressure and made a gopher server. :)

gopher://g.d34d.net

#gopher

[0]: by all i mean none

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

I was listening to the radio in my car. I rarely do that and when i do i usually rage listen to VPR.

Anyways it was some local talk show talking positively about Texas and NH seceding, and hopefully more states do it, and lots of pro bitcoin talk underpinned all of it.

They sounded really stupid, and it was FM radio on a saturday night.

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

use-package vs. require ...

So use-package is if you want emacs to go to the internet and install something.

require is for when you provide the source files manually or it is built-in to emacs.

Is this a fair assessment ?

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

I want to complain about systemd apologists so bad right now, but I know it's not helpful.

I truly believe if you can't be heard then it's best to not say anything.

Or IOW all I would be doing would be polarizing the rift between Unix culture and Linux culture.

I own that. I cannot say what I want to say without being snarky, and that isn't helpful.

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

I'm realizing I really like printmaking art.

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

Anybody recommend a free or open source database that can do vectors?

I use elasticsearch at work and would like to duplicate or imitate what it can do with vector indexes on my own.

#vectordb #database

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

  • 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