@mjgardner@social.sdf.org
@mjgardner@social.sdf.org avatar

mjgardner

@mjgardner@social.sdf.org

Just another desperate #Objectivist #Perl hacker. Lately into #cosplay and #dance, sometimes simultaneously.

Sorry libertarians, you can’t have #AynRand:
https://courses.AynRand.org/lexicon/libertarians

If you block me because you don’t like what I say, I win.

Other interests: #music, #Commodore #RetroComputing, #DoctorWho, #drag

No reposts: https://JustMyToots.com/@mjgardner@social.sdf.org

Bangers: https://www.TopMastodonPosts.com/by/@mjgardner@social.sdf.org

(#fedi22)

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

mjgardner, to Texas
@mjgardner@social.sdf.org avatar

Fun fact from Mr. #Genocide: The immediate displacement or death that https://mstdn.social/@spaf/112473593201949176 suggests for the populations of #Texas, #Louisiana, #Alabama, #Mississippi, and #Florida would exceed 27 #Gaza Strips.

vingtroiseize, to ArtificialIntelligence
@vingtroiseize@mastodon.world avatar

It's the perfect time to clean your computer mouse!

mjgardner,
@mjgardner@social.sdf.org avatar

@vingtroiseize Always don’t never forget to scrub your balls

spaf, to random
@spaf@mstdn.social avatar

Fun facts from Mr. Geography:
Rhode Island is the only state in the US that is exactly the shape of the space between Connecticut and Massachusetts.

If TX, LA, AL, MS, and FL were to be suddenly submerged under the Gulf of Mexico, our celebration would last until at least 2030..

mjgardner,
@mjgardner@social.sdf.org avatar
mjgardner,
@mjgardner@social.sdf.org avatar

@spaf You’re casually suggesting a five-year celebration of the death or displacement of 66 million people. That’s monstrous, and if intended as a political sneer then I’ll take those “red states”’ side any day over yours.

tripleo, to random
@tripleo@fosstodon.org avatar

All you nutcases still using #Perl, what's actually wrong with it?

aka What are the sharp edges?

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@tripleo #Perl’s “sharp edges” are mainly early syntax and features that later experience with large and networked #programming found dangerous, but are preserved for backward (and we do mean “backward”) compatibility.

See the details of the strict and warnings pragmas, and successively missing items in feature bundles:

https://perldoc.perl.org/strict
https://perldoc.perl.org/warnings
https://perldoc.perl.org/feature#FEATURE-BUNDLES

And the summary of policies included in #PerlCritic: https://MetaCPAN.org/pod/Perl::Critic::PolicySummary

mergy, to philosophy
@mergy@self.social avatar

Higher Education Needs More Socrates and Plato
https://mer.gy/pv

mjgardner,
@mjgardner@social.sdf.org avatar

@mergy @philosophy “Books by Plato, Aristotle, Hobbes, Locke, Kant, Emerson, Thoreau, Whitman as well as Wollstonecraft, Austen, Woolf, Baldwin, Hurston and Orwell are worthy of introductory collegiate courses for students of all majors.”

Agreed they’re worth studying, but not all worth adopting. The author’s complaints are the result of millennia of Platonism and centuries of its fatal apotheosis in Kant and his successors.

More and , please.

mjgardner, to punk
@mjgardner@social.sdf.org avatar

Gonna tell my kids this was the #Misfits

#punk #PunkRock #RockMusic #music

rusty, to philosophy
@rusty@ma.zcx.cc avatar

- "What is the meaning of Life"" or purpose. Maybe their two different things, or they may mean the same thing. I'm interested in the idea that Meaning or Purpose are artifacts of living a life that allows one to contemplate such matters. Are both an emergent property of a life that involves a level of leisure.

Homeless or starving people, or someone in combat has more pressing concerns than life's meaning or purpose. Staying alive to wonder why later is the issue at hand.\

mjgardner,
@mjgardner@social.sdf.org avatar

@rusty @philosophy I feel bad for anyone who derives the “meaning” of their lives from emergencies and other extraordinary situations.

It means their views the universe as hostile to human life. They're forever helpless, doomed against ever achieving success or happiness.

That's not a ; that's a death cult.

More here: https://NewIdeal.AynRand.org/are-we-all-in-the-same-lifeboat/

mjgardner, to tech
@mjgardner@social.sdf.org avatar

“Today #tech companies and their #billionaire CEOs are becoming increasingly demonized, and some people are questioning whether they should even exist at all.”

More on the new (and old) “robber barons” here: https://NewIdeal.AynRand.org/ayn-rands-unique-defense-of-businessmen/

https://social.sdf.org/@mjgardner/112465127801536664

#BigTech #capitalism #technocapitalism

talexb, to random
@talexb@fosstodon.org avatar

If you like cheese, and you like science fiction, then this is the book for you.
https://mastodon.social/@scalzi/112464094854949575

mjgardner,
@mjgardner@social.sdf.org avatar

@talexb My wife likes , , and @scalzi (especially “Old Man’s War”), so I sent this her way

vmbrasseur, to random
@vmbrasseur@social.vmbrasseur.com avatar

Oooh… This looks like an interesting book.

Technocapitalism: The Rise of the New Robber Barons and the Fight for the Common Good by Loretta Napoleoni

https://www.sevenstories.com/books/4601-technocapitalism

mjgardner,
@mjgardner@social.sdf.org avatar

@vmbrasseur In our mixed economy, neither old nor new “robber barons” necessarily deserve that blanket epithet. It depends on whether their success is due to productive ability or political pull.

charadon, to random
@charadon@8bit.red avatar

So, I know it's sacrilege to make your own "Build System", but for fun, I decided to give it a go.

It's made up of 3 scripts:

  • build.pl: Builds the project
  • clean.pl: Cleans up artifacts
  • install.pl: Installs artifacts where they need to go in the system.

build.pl was the most complicated, but that's not saying much, it was incredibly easy to make and it's small. It even supports parallel jobs and not rebuilding an object if the source file is older than the object.

mjgardner,
@mjgardner@social.sdf.org avatar

@charadon Everything’s easy when it’s purpose-built for a small job that stays that way.

Related: https://mastodon.social/@raiderrobert/112374892719211951

RickiTarr, to random
@RickiTarr@beige.party avatar

Human Rights that are dependent upon Sex, Geography, or Orientation are not Rights.

mjgardner,
@mjgardner@social.sdf.org avatar

@RickiTarr Also not rights: things that violate others’ rights

mjgardner,
@mjgardner@social.sdf.org avatar

@RickiTarr If you want to hear a little more, here’s a nice brief interview with novelist and on the nature of : https://courses.AynRand.org/works/the-nature-of-rights

She rejects the idea that rights are gifts from God or society, as well as the assertion of rights to goods and services.

Also linked is her essay “Man's Rights": https://courses.AynRand.org/works/mans-rights

mjgardner, to random
@mjgardner@social.sdf.org avatar

There are some days when I wake up feeling very tired of saying what people don’t want to hear. I wonder why I keep trying.

Tired Worn Out GIF by jagheterpiwa

mjgardner, to ukteachers
@mjgardner@social.sdf.org avatar

Violent tribalistic as well as disastrous political ideas are the results of irrationality in our culture.

Key to cultivating a more rational culture is improving the quality of .

To that end, on May 18 The Institute is officially launching the Conceptual Education Program to further promote rational ideas in primary and secondary education.

Current and potential ARI donor members can learn how to attend the official launch here: https://NewIdeal.AynRand.org/attend-the-launch-of-aris-conceptual-education-program/

mjgardner,
@mjgardner@social.sdf.org avatar
mjgardner,
@mjgardner@social.sdf.org avatar

@Kierkegaanks What a strange word salad. I won’t darken your feed further.

pdcawley, to random
@pdcawley@mendeddrum.org avatar

I didn’t realise it was possible to be this wrong without being a Brexiteer or Trump voter. https://mastodon.social/

mjgardner,
@mjgardner@social.sdf.org avatar

@rjbs @pdcawley We would also have accepted provolone on a

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@waltman You’d have to go to Wallace’s Steaks to get Wensleydale on your , Gromit

/ @rjbs @pdcawley

pfefferle, to wordpress
@pfefferle@mastodon.social avatar

that's weird... I deactivated most of the performance related plugins that I installed on my blog and now it feels way faster 😳

mjgardner,
@mjgardner@social.sdf.org avatar

@pfefferle plugins are like, well, jetpacks 😉

They need to lift their own weight and their fuel before they can even consider getting you off the ground.

williampietri, to random
@williampietri@sfba.social avatar

A study comes along to confirm something obvious to everybody except tech execs: if you make working conditions worse, some will leave. And who's most able to leave? Your best employees. (gift link) https://wapo.st/4btMo8Z

mjgardner,
@mjgardner@social.sdf.org avatar

@williampietri @joelle Yeah, but the good news is that when the senior workers leave, you’re comfortably surrounded by cheap juniors that don’t challenge your idiocy

Serpent7776, to random
@Serpent7776@mastodon.social avatar

I just wasted 1hr, because I used == instead of eq and 'and' instead of && in

mjgardner,
@mjgardner@social.sdf.org avatar

@Serpent7776 use warnings; (or the -w switch for a one-line command) would have helped catch the first problem: https://perldoc.perl.org/warnings

You would then see “Argument "foo" isn't numeric in numeric eq (==)” along with the line number in the code and the string you were trying to compare instead of “foo”: https://perldoc.perl.org/perldiag#Argument-%22%25s%22-isn't-numeric%25s

If you have 2022’s version 5.36 or later, use v5.36; will enable warnings as well as other sane defaults.

/ @perl

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@Serpent7776 I’m sorry to hear about the warnings lost in the output.

Since you’ve got v5.38.2, write use v5.38; and in addition to strict and warnings you enable the following niceties from https://perldoc.perl.org/feature :

bitwise
current_sub
evalbytes
fc
isa
module_true
postderef_qq
say
signatures
state
unicode_eval
unicode_strings

You’ll also disable these footgun “features”:

bareword_filehandles
indirect
multidimensional
switch

Give it a whirl!

/ @perl

simon, to random
@simon@simonwillison.net avatar

Several of the major social media platforms - Instagram, TikTok, LinkedIn, Twitter - have effectively declared war on linking to things and I absolutely hate it

"Link in my bio" / "Link in thread" / "Link in first comment"... or increasingly no link at all, just an unsourced screenshot of a page

mjgardner,
@mjgardner@social.sdf.org avatar

@ahwx @simon Yo dawg, we herd you like links so we make you follow a link to read a story about links

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