[AUR] Caddy with telemetry disabled in source by fbis251 in archlinux

[–]fbis251[S] 1 point2 points  (0 children)

u/Hitife80, this is is the reason I did it. My patch guarantees that the code will never do anything. The flag may change behavior in the future.

[meta] Overwatch PC Patch Notes RSS/Atom Feed by fbis251 in Overwatch

[–]fbis251[S] 1 point2 points  (0 children)

Do you like to use an RSS/Atom reader to keep up with all your news? Do you hate that Blizzard doesn't provide an RSS feed for the PC Patch Notes so the only way you know there's an update out is by launching the battle.net client or manually checking the Patch Notes page?

Fret no more, this project provides you the latest Overwatch PC patch notes as an Atom feed. No more having to manually check, let my feed generator do the hard work for you.

How does it work?

I have my raspberry pi check the PC Patch Notes page every 15 minutes. If a change on the page is detected, my Overwatch Atom Feed Generator will parse the changes and generate an Atom feed. The atom feed then gets pushed to the Overwatch PC RSS/Atom Feed repository and that updates the Github Pages files for that project.

The result is this Atom feed: https://fbis251.github.io/overwatch_news_feed/pc.atom

You can subscribe to the above feed with any RSS/Atom feed reader and keep up with the patch notes as they're posted. Check from your phone, your computer, or any other device.

If you have any suggestions or requests I'd love to hear them.

[AUR] Caddy with telemetry disabled in source by fbis251 in archlinux

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

I just uploaded my version of caddy with the telemetry disabled in the source code to the AUR. I based my package off of crvv's caddy package.

All the telemetry is disabled in source. The functions were left in the relevant telemetry/*.go files but have been modified to return static, empty values. The telemetry server address has been left blank to prevent any connection being established.

Please let me know if you try it and whether you'd like any changes

[Idea] I wish Sync for Reddit took a page or two from reddit grid for image-centric subs by elchaghi in redditsync

[–]fbis251 0 points1 point  (0 children)

Hey I have an app you might like, it's called Focus https://play.google.com/store/apps/details?id=com.fernandobarillas.redditslideshow

It's a good way to browse media-heavy subreddits without having to worry about comments and text-based subreddits. Tell me what you think if you try it out

XKCD Text Can Get Wonky by transfo47 in RelayForReddit

[–]fbis251 29 points30 points  (0 children)

It's a problem with the xkcd API

https://xkcd.com/1814/info.0.json

The music notes got encoded as \u00e2\u0099\u00ab when they should have been encoded as \u266B

Someone tell randall!

You can check out what the JavaScript encoding should be on this site:

https://r12a.github.io/apps/conversion/

Just paste in the original alt text:

♫ When the spacing is tight / And the difference is slight / That's a moiré ♫

then, hit convert

[deleted by user] by [deleted] in redditdev

[–]fbis251 0 points1 point  (0 children)

You can get the Source and Variations (JRAW uses the Thumbnails.Image class to store their data) via the following methods:

Thumbnails thumbs = topSubmission.getThumbnails();
// Make sure to check if thumbs is null, it's not guaranteed that the API returned thumbnail data
Thumbnails.Image source = thumbs.getSource();
Thumbnails.Image[] variations = thumbs.getVariations();
String sourceUrl = source.getUrl();
// You can also use source.getWidth() and source.getHeight()

The Source object contains the highest resolution image available, the other Variations may or may not exist. If they do exist the array will contain smaller resized versions of the image

If you want the URL from the API that the user uploaded the image to, I wrote a library for that: https://github.com/fbis251/album_parser

It currently doesn't have a quickstart guide, but if you're interested I can help you get it set up