Unable to load image

If your program doesn't log all errors (at very least to stdout) you're a terrible person

Tried starting up my youtube client (freetube) today only to find over half my subscriptions won't load. Why won't they? No idea. The program logs nothing and the only error message it has is "Something went wrong"

And to top it off the settings page doesn't have a search bar so I get to expand every single tab looking for anything to do with logs.

This is what I get for using something made in javascript

34
Jump in the discussion.

No email address required.

Me putting my entire code in one try/catch so you only get 1 error.

Jump in the discussion.

No email address required.

"something went wrong"

Jump in the discussion.

No email address required.

https://i.rdrama.net/images/17065685852532992.webp

It's amazing how hard this is for codecels to follow. If you're writing a CLI app, then also take in an enum CLI argument for the log level. Another way is to default to INFO, use -v for DEBUG, use -vv for TRACE.

Also, devs who log to stdout (especially in library code) = :marseywebshitgenocide:

Jump in the discussion.

No email address required.

I have a lot of code for a fairly popular profuctivity app. It does things the api cant too... i was thinking of releasing it on GitHub. What are some considerations? !codecels

Jump in the discussion.

No email address required.

thx i gonna paste this is groomercord teams chat to make everyone rework their logging :marseydevil:

Jump in the discussion.

No email address required.

>logging

:#marseyno:

Jump in the discussion.

No email address required.

Sorry, I as the original creator know better than you about what should and should not be logged

Jump in the discussion.

No email address required.

:#marseyrage:

Jump in the discussion.

No email address required.

Log warnings? Yeah, I do that. Hundreds of times a second To some random directory (and never clear the logs)


Give me your money and I'll annoy people with it :space: https://i.rdrama.net/images/16965516366194396.webp

Jump in the discussion.

No email address required.

:#marseyagreefast:

Unless you're selling support you should be barfing up 100 line stacktraces anytime something happens

Jump in the discussion.

No email address required.

If a user cant figure out how to turn on verbose logging they werent going to be able to submit an actionable bug report anyway. :marseyindignant:

Jump in the discussion.

No email address required.

yeah freetube is a great idea but the dev fricking blows and only puts out a single update every 6+ months

alternatives, anyone? specifically ones that let me keep track of subscriptions

Jump in the discussion.

No email address required.

Right? And the c*nt refused to add in any sort of keyword blocking because "it would be unethical to let people put themselves in echo chambers"

Literally all I want is a program that seaches my youtube rss feed and displays the video in a nice little grid

Jump in the discussion.

No email address required.

Is it feasible to just add it yourself? I do that from time to time with software I use. It makes me feel like I am a real open source chad

Jump in the discussion.

No email address required.

I refuse to debase myself by learning javascript. I would soon write my own client in java

!codecels

Jump in the discussion.

No email address required.

There's nothing to learn, just write pseudocode and it works, or if it doesn't it silently fails in the background


:#marseyviewerstaretalking:

Jump in the discussion.

No email address required.

Just stick to the java-like subset and ignore anything else. It's an incredibly shitty lang but like python, the utility by the ecosystem is huge. Small "Webscraping" from the developer console saves me a lot of time

Jump in the discussion.

No email address required.

it would be unethical to let people put themselves in echo chambers

:mars#eycentertalking: :soym#!ad:

!codecels come worship your BASVD overlords


Give me your money and I'll annoy people with it :space: https://i.rdrama.net/images/16965516366194396.webp

Jump in the discussion.

No email address required.

youtube has rss feeds?

Jump in the discussion.

No email address required.

yea for every channel

Jump in the discussion.

No email address required.

Literally all I want is a program that seaches my youtube rss feed and displays the video in a nice little grid

Just write one yourself from scratch. Fun little Saturday morning project. Easy peasy if you just have it open the links in your web browser.

Mine has channels manually grouped by topics. Love my little janky rss display. :marseytypinglaugh:

Jump in the discussion.

No email address required.

This is what I get for using something made in javascript

Even my JavaScript logs things…


Putting the :e: in :marseyexcited:

Jump in the discussion.

No email address required.

Even my JavaScript logs things…

Shame no web dev ever reads them

Source: Look at the amount of trash and meaningless errors that fill your console whenever you load anysite in current year

Jump in the discussion.

No email address required.

let _ = checked_fn() :marseyclueless:

Jump in the discussion.

No email address required.

Raylib Bros! :marseywereback:

Jump in the discussion.

No email address required.

I never log because it's bad for performance. Especially when using different loglevels and having to branch all the time. Just write software that works ffs

Jump in the discussion.

No email address required.

10x

Jump in the discussion.

No email address required.

just use a debugger or only use lisp software

Jump in the discussion.

No email address required.

hello sir as you can see there are no errors in log files, program is working fine. Please use correctly next time.

Jump in the discussion.

No email address required.

Gather black hedgehogs strength 收集黑刺猬的力量 invade floating death fortress 侵略浮动死亡要塞 run fast for lumberjack website 为伐木工人网站快速运行 die to poor mistake 死于可怜的错误 return next circus 返回下一个马戏团

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.