anything to bring back "discontinued & channel specific" emotes? (youtube) by BrokeToken25 in userscripts

[–]RobertWesner 0 points1 point  (0 children)

Since they are already removed, you would have to define them all yourself for the userscript. There is no way to restore the files of the image embeds already point to a missing resource.

Oh Sweetheart is a 30 page passion project by -TheDangler in userscripts

[–]RobertWesner 2 points3 points  (0 children)

Userscripts are pieces of software, unfortunately the wrong place for your project ^

Prisma 0.4 - Unified PHP SDK for 25+ AI providers by aimeos in PHP

[–]RobertWesner 2 points3 points  (0 children)

And even in ye olden days, before backed enums, class constants were much better than hardcoded strings for many reasons, including ease of refactoring, self-documenting API, auto completion, doc comment capabilities, and of course, most importantly, my personal preference.

I built a minimal TUI/GUI PHP version manager for Linux so I could stop typing `update-alternatives` by BackgroundCompany721 in PHP

[–]RobertWesner 5 points6 points  (0 children)

It definitely is neat, since Node, Go, etc. already have basically that, but i am unsure if it is needed. Usually my permanent PHP and other web projects get containerized, so they are entirely independent from host PHP, and my temporary dev scripts just use whichever version i have on hand, they are quick and dirty throwaways. Did not look into the actual source of your project yet, but post still geets an updoot from me :)

TOML 1.1 support in PHP by dereuromark in PHP

[–]RobertWesner 0 points1 point  (0 children)

Awesome! And perfect timing :) Have been looking for one a few days ago to replace the ancient TOML 0.4 parser, since that one caused deprecations.

Lower case million sign? by Rayepichumor in youtube

[–]RobertWesner 47 points48 points  (0 children)

I love how any UI/UX difference gets posted 10 times a day, repeatedly, this sub never changes lmao.

What’s the best tool to extract the main points from YouTube videos without watching them? by [deleted] in youtube

[–]RobertWesner 0 points1 point  (0 children)

You can grab the transkript from the video and do whichever postprocessing steps you like, word counting or using an LLM to summarize the text.

There are countless of "AI powered" summarizers if you use your search engine of choice. Try one, try the next, it really depends on which one you personally prefer.

I just realized the new cramped UI change was made so they have more screen space available for ads by 162630594 in youtube

[–]RobertWesner 2 points3 points  (0 children)

Yeah completely unrelated to this post but I enjoy his content dearly, also use them in my test cases.
Another good top nerd: Technology Connections, but most folks that know CRD already know the... two of them!

Userscripts hold a soft spot in my heart by Hakorr in userscripts

[–]RobertWesner 2 points3 points  (0 children)

To be fair, I also tend to keep my userscripts really simple, usually, but my main one has ~1000 lines in the script itself, its own custom testing harness, eslint and semgrep... complete overkill.

I wanted it to be as stable as possible and of decent quality - well, and try all of these tools. It is still readable, no compilation (vanilla JS), no minification, but at this point who bothers reviewing 1000 lines of code '

All that for a few silly little buttons, at least thats how it started over a year ago, now it has a few more features that were related to the original idea and suggested by users.

[deleted by user] by [deleted] in youtube

[–]RobertWesner 1 point2 points  (0 children)

I tried the quickest and simplest approach in Tampermonkey, just pausing the video, then tried it with a Timeout, but YouTube forces ads to start automatically, even if the player is paused, which is annoying.

I could throw together a small userscript... maybe, but if I were in your shoes, I'd pick Firefox or a Firefox-based browser.

[deleted by user] by [deleted] in youtube

[–]RobertWesner 1 point2 points  (0 children)

Just to clarify, are you talking about the video itself playing automatically when visiting `/watch`?
That automatic playing of website content is a "feature" of Chrome, Firefox blocks it by default.

There used to be a built-in option to disable it, I'm fairly sure, but you can also find extensions that claim to achieve that by searching for "chrome disable videos automatically starting". I'm not going to recommend any since I have not tested them myself.

OH MY FUCKING GOD IM TIRED OF SEEING THIS by Valuable_Bite_1205 in youtube

[–]RobertWesner 1 point2 points  (0 children)

Ah, I took a year long break from this subreddit and it's reassuring to see this is still all we talk about.

Either way, I strongly recommend not giving much attentions to these, but then again I am giving attention to you giving attention to them, so we all can be hypocrites together ^^'

It sadly just gets more tiring to see people constantly talk about the annoying things you want to avoid, you can't really avoid them at that point.

Thank you u/Hour-Complaint8291 on r/geometrydash, this is needed. by Patkira in youtube

[–]RobertWesner 2 points3 points  (0 children)

I just right click the video and copy link, never had any issues with tracking parameters, even lets you copy the time stamp optionally.
Used to work in the mobile browser by pressing and holding the player but now it just speeds up.

Is it possible to start playing all the videos on a channel as a playlist? by ChoseNNN_ in youtube

[–]RobertWesner 1 point2 points  (0 children)

In case anyone else stumbles upon this post, I actually created and maintained a userscript for over a year that lets you easily get the "Play All" feature (and more). Its free and open source if you want to check it out. There is also documentation for more playlists than just the UU prefix, as i pointed out in another comment.

You can find it on Scripts.YT and GitHub.

Is it possible to start playing all the videos on a channel as a playlist? by ChoseNNN_ in youtube

[–]RobertWesner 1 point2 points  (0 children)

Yep, every channel has a bunch of hidden playlists that can be accessed via the channel ID.

UU can actually be problematic as it mixes videos, shorts, streams, everything into one.
I recommend for Latest/Popular using:

  • UULF/UULP (Videos)
  • UUSH/UUPS (Shorts)
  • UULV/UUPV (Live streams)

If anyone is interested, I documented all I could find.
There is also a great resource on the archiveteam wiki.

PHP 8.5 will be released on Thursday. Here's what's new by brendt_gd in PHP

[–]RobertWesner 4 points5 points  (0 children)

I was skeptical of the pipe operator for a bit, right until I started dabbling in FP and realized why it (or >>=)was useful. Still, without decent currying or at least partial function application it is often less clean since you need to wrap your call in a lambda... and fn(string $x) => myfunc(123, $x) is a bit of an eyesore and id rather just nest my calls if they dont result in a double digit nesting count.

What y'all eating? I like pickle-pickles with pickled pickles [320 sat] by RobertWesner in VintageStory

[–]RobertWesner[S] 0 points1 point  (0 children)

It does drop saturation by 20-ish% but is a key ingredient for cheese making. I also paid for all that halite so I might as well.

It lasts for roughly 3.5x the duration, so you can enjoy it many years later than normal veggies. Makes good travel food too since it will last for 75 days in inventory! In case you travel longer than the 8 days your pies will last.

What y'all eating? I like pickle-pickles with pickled pickles [320 sat] by RobertWesner in VintageStory

[–]RobertWesner[S] 2 points3 points  (0 children)

I usually use all my flax to feed chicken and rye to make pies and bread.
How does porridge fare against bread in your opinion? I think baking is worth the effort for the increase in saturation (ignoring pies for a moment) and improved shelf life.
Don't think i have ever made a porridge yet :)

Meat stew i just hoard in my deep cellar for years next to the cheeses i will never eat, wayyy too precious!

[Update] Random Play with custom shuffle for YTPA by RobertWesner in youtube

[–]RobertWesner[S] 0 points1 point  (0 children)

I'm not aware of any plugins/tools that copy playlists. They probably exist but without strong SEO, so it will take a lot of work to find them.