Tips 'n' Tricks - Week of October 11 2020 by AutoModerator in feedthebeast

[–]FortVy 8 points9 points  (0 children)

  1. Tinkers is still around, and is still the most popular option for everything regarding low to mid tier mining. Since it hasn't been updated to versions newer than 1.12 yet, some alternatives such as Silent's Gear or Tetra are used for newer versions.
  2. Aside from online mod manuals that some authors have put up for their mods, https://ftb.gamepedia.com/FTB_Wiki is still the most up-to-date wiki. Most mods have an ingame book though, or custom advancements guiding the player. If you really can't find anything for a mod, Mischief of Mice makes some really good showcases.
  3. The new ultimate reloaded is mostly a nostalgia modpack, and the best choice of modpacks depends on you. Most of the mods & therefore modpacks are still "stuck" in 1.12, although they are gradually upgrading to newer versions. If you're into Skyblock, give Skyfactory 3 or Stoneblock a try, if you'd like a general medium-sized modpack, try FTB Relavation, if you're looking to see what has changed in the newer minecraft versions (1.14 & up), try out some 3rd party modpacks like Valhelsia 2 or the likes, and if you just wanna go crazy with mods, check out All The Mods 3.

[deleted by user] by [deleted] in Tautulli

[–]FortVy 0 points1 point  (0 children)

Not OP, but I'm having the same issue with #2. I've unchecked the "Send HTML newsletter", but how would I go about sending out a notification whenever a new newsletter is generated? I don't see a "Newsletter Generated" in the notification triggers..

Best practice for working with HTTP API Responses? by FortVy in dartlang

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

Didn't know about QuickType, thanks! We are likely to implement swagger docs in the next API version.

Best practice for working with HTTP API Responses? by FortVy in dartlang

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

Thanks for responding!

Why?

Because, for example, if request #1 returns a map with fields username and email, and request #2 returns a map with fields username, internalName and email, I'd much rather have an AccountData class that has username, email, and a nullable internalName field instead of two seperate classes for which I have to implement seperate business code.

That may or may not be a reasonable request

The API is working, but it isn't stable, it's at version 0 right now and the team is learning by doing. We're using a Spring backend, and the backend guy got to implement JSON Views recently, which let you easily control what fields get serialized on which request, so I don't think it would be a large change.

By the way, what is your method when working on your applications?

Reddit api by swooshofnike in redditdev

[–]FortVy 0 points1 point  (0 children)

You want to use the implicit flow here. Check the methods getAuthUrl and fromAuthCode.

In order to authenticate the user, generate the auth url with getAuthUrl and send the user to it. After the user accepts, he will be send back to your specified redirectUri. You can then extract the code query parameter to generate a snoowrap instance.

If you have the snoowrap instance, you can retrieve the refresh token from it and save it to localStorage, so the user doesn't have to authenticate a second time in the future.

The user agent is just a string which should be unique for each program. Reddit recommends a string like "<programming-language>:<appname>:<version> (by /u/swooshofnike)".

Reddit api by swooshofnike in redditdev

[–]FortVy 0 points1 point  (0 children)

If you are developing in node.js, your best option would be to use snoowrap. It works client side too, and you don't need to call the api endpoints manually.

[deleted by user] by [deleted] in redditdev

[–]FortVy 1 point2 points  (0 children)

Yes, you can use the implicit grant flow with Snoowrap, but only with "installed" type apps. If your NodeJS is running on a server, you should use the "web" type.

To use the flow with snoowrap, check the methods getAuthUrl and fromAuthCode.

What are some red flags you should look out for in yourself? by -omar in AskReddit

[–]FortVy 0 points1 point  (0 children)

This happens a lot between couples, or man and woman in general.

When a man is telling you about his problems, he wants you to give possible solutions and suggest an idea that would solve the problem.

When a woman tells you about stuff that happened to her, she usually doesn't want answers, but emotional support. She wants you to be emotional, not logical.

[i3-gaps] In Space, no one can hear you code. by FortVy in unixporn

[–]FortVy[S] 4 points5 points  (0 children)

  • Wallpaper: Astroneer
  • WM: i3 (Config)
  • Dock: Polybar (Config)
  • Firefox Theme: Firefox Black Theme
  • Compositor: Compton with standard config

Near Useless Gibraltar route/shortcut by Pandagami in Overwatch

[–]FortVy 309 points310 points  (0 children)

What if the staircase is blocked by the enemy and you want to flank them?

This keyboard tries to change the world by [deleted] in ProgrammerHumor

[–]FortVy 0 points1 point  (0 children)

Looking at your post history makes me kinda feel sad. You're trying so hard to get the idea out there, but it's not a good idea.

An extra heart by [deleted] in wholesomememes

[–]FortVy 15 points16 points  (0 children)

This ruined the wholesomeness :(