jimfl, to random
@jimfl@hachyderm.io avatar

Yak stack pop day. I am right back where I was before I decided to shave a yak by completely overhauling one of my dependencies, then update my current project because I made breaking changes to the API of the dependency.

#yakshaving

andyc, to emacs
@andyc@mastodon.org.uk avatar

My never ending research into orgroam is still ongoing.

But the need, not just for everywhere, but everywhere posed the obvious question - why use Markdown for your Hugo blog?

Turns out supports native orgmode posts which can coexist with the existing Markdown content.

A test post confirmed this but only after I had to upgrade the Papermod theme and tweak the Netlify configuration for the latest Hugo version.

holgerschurig, (edited )

@andyc The last time I tried it, Hugo's org support was quite lacking.

Edent, to wordpress
@Edent@mastodon.social avatar

🆕 blog! “A personal WordPress MonoRepo for my themes and plugins”

I use a self-built WordPress theme for this blog. I also use a variety of self-developed WordPress plugins for various enhancements. I used to publish these plugins, but I get terribly confused by the SVN shenanigans involved, and they weren't used by many people, so I stopped. Recently, I'v…

👀 Read more: https://shkspr.mobi/blog/2024/03/a-personal-wordpress-monorepo-for-my-themes-and-plugins/

#WordPress #yakshaving

blog, to HowTo
@blog@shkspr.mobi avatar

A personal WordPress MonoRepo for my themes and plugins
https://shkspr.mobi/blog/2024/03/a-personal-wordpress-monorepo-for-my-themes-and-plugins/

I use a self-built WordPress theme for this blog. I also use a variety of self-developed WordPress plugins for various enhancements. I used to publish these plugins, but I get terribly confused by the SVN shenanigans involved, and they weren't used by many people, so I stopped.

Recently, I've been moving all my plugin code into my theme. This is sort-of-but-not-quite a MonoRepo.

I've also tried to move away, as far as possible, from using other people's plugins. Most of the ones I had were single-shot plugins which did one thing and needed the minimum amount of configuration. So I learned from their code and re-implemented it into my theme.

This isn't quite digital-homesteading. I'm not rolling my own crypto, or building my own CMS. I'm just taking back a little control, learning how things work, and enjoying the busy-work of Digital Gardening.

I don't know if this is a good idea. It means I don't get security updates if my knock-off code is vulnerable. I don't get new features. But I also don't have to trust that a 3rd-party developer isn't going to screw up (I can screw up on my own, thank-you-very-much!). I've had a few bad experiences with plugins which suddenly stopped working, or had abusive behaviour.

HowTo

I put new functionality into a file with a descriptive name, for example related-posts.php and I save it in my-theme/includes/.

In my WordPress's theme, I add this to functions.php:

//  Load all the files$includes_path = get_template_directory() . "/includes/";foreach ( new DirectoryIterator( $includes_path ) as $fileInfo ) {    if( $fileInfo->isDot() ) continue;  //  Ignore . and ..    if( $fileInfo->getExtension() != "php" ) continue; // Only load PHP    require_once( get_template_directory() . "/includes/" . $fileInfo->getFilename() );}

That loads all the .php files from /includes/.

I have no idea how performant this is. I have some fairly aggressive caching plugins which should minimise any slowness - and they're not part of my MonoRepo.

https://shkspr.mobi/blog/2024/03/a-personal-wordpress-monorepo-for-my-themes-and-plugins/

#WordPress #yakShaving

grimmy, to opensource
@grimmy@mastodon.social avatar

Greetings Programs!! Tonight we're continuing the grind towards @pidgin 3.0 Alpha 1! Come on by!! https://twitch.tv/rw_grim https://youtube.com/ #OpenSource #OpenSourceLive #C #GTK #YAKSHAVING

andrew, to random

phew super geeky weekend project success—installed a pfsense-based router in my home network for more granular control over devices, with network-wide ad blocking with AdGuard Home #yakshaving

hightailentertainment, to movies

Bike Shedding and Yak Shaving: The dynamic duo that might just trip you up on your filmmaking journey. In this post, we talk about what they are, and how indie filmmakers can steer clear of distractions to stay focused on their cinematic dreams.

👉 https://www.hightailentertainment.com/blog/bike-shedding-and-yak-shaving-how-filmmakers-can-avoid-these-two-oddly-named-but-dangerous-pitfalls

#Movies #Films #Filmmaker #Filmmakers #FilmDirector #Director #FilmProducer #Producer #YakShaving #BikeShedding #ProjectManagement #ProjectManager #Operations #Productivity

attie, to random
@attie@chaos.social avatar

I'm getting more and more frustrated with the Stack Exchange policy of bringing old questions to the top.

A question that is 4 years old, with no resolution and no follow up doesn't need to surface in front of me like a big overly-fluffy yak - if it intrigues me or I feel I can help, I will try to shave it.

I'll often only spot it's old once it's too late. I need fewer distractions! 🙈

Perhaps I should slip further down the "participating less" slope, but that feels bad too.

gsuberland,
@gsuberland@chaos.social avatar

@attie I thought it only did that if you're on the latest activity tab rather than latest questions?

attie,
@attie@chaos.social avatar

@gsuberland ... hmm

I tend to find myself on the Home tab (e.g: https://superuser.com/)
I shall certainly try the Questions tab! (e.g: https://superuser.com/questions)

(examples for clarity / confirmation - I'm sure I've tried that before, but stopped for some reason)

joeyh, to random
@joeyh@hachyderm.io avatar

accidentally tore down the old outhouse yesterday while looking for some lumber to build the wood shed with #refactoring

now I have what looks like a tornado disaster site to clean up #yakshaving

see programming terminology is not that hard

joeyh,
@joeyh@hachyderm.io avatar

purely functional outbuildings

joeyh,
@joeyh@hachyderm.io avatar

since my aged cat used the old outhouse as a plas bace to get away from it all, my woodshed design has been updated to include a cat loft and cat stairs #scopecreep

ollibaba, to Matrix
@ollibaba@chaos.social avatar

Oh boy, I didn't expect to be such a pain! So now I can successfully write messages to that one group channel from one PC, but when written from another PC they cannot be decrypted by others. I could start debugging this; but that's yet another layer of yak shaving :-(

Seriously, can we maybe go back to IRC? Trying to find out who can read which Matrix message in a channel that's about a wholly different topic is not even funny any more.

ollibaba,
@ollibaba@chaos.social avatar

@austin Danke für den Link, gut zu wissen. Hab jetzt das meiste davon geprüft, ohne Erfolg.

Ich will halt in diesem Channel auch nicht anfangen, Matrix-Probleme zu debuggen – das ist echt nicht das Topic. Mich ärgert halt, dass Leute solche Beta-Software für reelle Aufgaben einsetzen.

Und ich weiß, dass diese Meinung hier in dieser Bubble nicht gut ankommt, aber: in einem öffentlichen Raum mit 1000 Leuten find ich E2EE unnötig. Macht jetzt halt Ärger, den man kaum debuggen kann.

austin,

@ollibaba Public encrypted rooms are officially advised against (at least in Element) anyway, and almost all public rooms you see are unencrypted, so that opinion is not even remotely unpopular...

But yes, Matrix is still very much beta and progresses somewhat slowly (I say that even as I advocate for Matrix).

(Also some of the largest public homeservers are in Germany but operate mostly in English, so choice of homeserver is not really indicative of spoken language)

publicvoit, to NixOS
@publicvoit@graz.social avatar

TIL: isn't compatible with my usual process: https://www.reddit.com/r/NixOS/comments/16bpe89/how_to_deal_with_python_venv_and_their_hardcoded/ 😩

All sorts of workarounds that either sound very dirty or require much more complexity such as docker images for simple Python scripts.

I guess I'll stick with a hard-coded Python version for now so that the path won't change. Let's learn how to accomplish that ... 🙄

publicvoit,
@publicvoit@graz.social avatar

@chovekoid @RGrunblatt Thanks for the direction - will try to execute as described and analyze what happened in background. 🙇

kirschwipfel,
@kirschwipfel@nerdculture.de avatar

I did not really get your issues, but here is how I combine #guix, #direnv and venvs: In my project dir, .envrc installs python in a guix profile ('use_guix' in direnv, if missing), creates a venv (if missing) which uses the python in the profile for --system-site-packages, and activates it, then installs requirements.txt in it.
Since the profile is "registered" it will not vanish.
I would expect nix bring able to do the same.
@publicvoit

strypey, to random
@strypey@mastodon.nzoss.nz avatar

Like yak-shaving and dogfooding among software developers circles, cat-herding is a colourful idiom common in community development circles.

Consider that we're all fiercely independent beings. Like cats! So in the absence of a formal decision-making structure that everyone has agreed to follow, trying to get people to all pull in the same direction, to achieve shared goals, can be like herding cats.

No offence is meant to any human beings (or cats!)

sumisu3,
@sumisu3@mastodon.nz avatar

@strypey Also goat rodeo. One of my favorites.

strypey,
@strypey@mastodon.nzoss.nz avatar

@sumisu3
> Also goat rodeo

Never heard of it. Just looked it up. Love it! 🤣

Perfect description of my life through 2020-22. Thanks for introducing me to it.

micheleann, to random

Today in
The tasks: quick merging of two massive excel spreadsheets based on some basic criteria

The yaks:

  1. Cannot open files to convert to text because they are so big
  2. No problem! I have a script that can do convert xsl to csv using pandas
  3. Last Mac OS upgrade removed python2 (which all my trusty old scripts are written in)
  4. No problem! I should update these anyway...
  5. ModuleNotFoundError: No module named 'pandas'
  6. No problem! I just need to install modules for the version of python I am using
  7. /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5: bad interpreter: Bad CPU type in executable
  8. No problem! Just need to google all about Mac OS changes to zsh, remember how to do more specific pip installs, maybe updated some profile files...
  9. What the hell was I actually working on??
micheleann,

Related, my favorite error has to be:
"During handling of the above exception, another exception occurred"

#python

samphillips,

@micheleann Inception with exceptions.

Cheatha, to blender German
@Cheatha@chaos.social avatar

Ok, wie weit kann man #Yakshaving auf die Spitze treiben?
Internet: »Hold my #Blender-Cam!«

https://www.youtube.com/watch?v=YE9rEQAGpLw #WTF

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

Latest re-theming of #JWM & #emacs inspired by the Nord theme

#Linuxdesktop #YakShaving

louis,
@louis@emacs.ch avatar

@dekkzz76 You know that you can "un"-collapse the toots via a setting?

dekkzz76,
@dekkzz76@emacs.ch avatar

@louis

i collapse them once i've read them

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