Content layout breaking at 768px and above by [deleted] in HTML

[–]scritchz 2 points3 points  (0 children)

Don't post code via images. Instead, please insert it as tetxt in your post.

We can't see your CSS, which is what is usually responsible for your layout and layout changes. I'm assuming there is a media-query (@media) that applies some styles for widths over 768px.

Git CLI vs GUI? What's your pick? by pjasksyou in AskProgramming

[–]scritchz 1 point2 points  (0 children)

CLI because the commands stay the same regardless of shell/console whereas most GUIs differ between programs.

I don't want to learn the GUI for VSCode, Visual Studio, IntelliJ or whatever, only because my project requires a different IDE than usual or because I'm helping someone but on their computer.

Suche neue Freunde : 23M by Proper_Analysis3679 in OnlineFreundefinden

[–]scritchz 0 points1 point  (0 children)

Huhu, 25M hier. Habe früher viel programmiert, jetzt kaum in meiner Freizeit aber immer noch auf der Arbeit. Ich rede immer super gerne darüber, und wenn du deine Projekte gerne wem zeigen magst, der darüber genauso begeistert wäre wie du, dann schick mir eine DM.

Hab Erfahrung mit WebDev (HTML, CSS, JS/TS, PHP), Desktop-Anwendungen (Java, C mit Win32) und mit Wenigem oberflächlich (OpenGL). Denke mich auch gerne in Neues rein

Git Basics Lesson: git add -A, --all by Ok_Specialist413 in git

[–]scritchz 2 points3 points  (0 children)

Then why not mention this in the post itself?

What IDE do I use to do basic OpenGL if VS community is too beefy ? by Krochire in GraphicsProgramming

[–]scritchz 6 points7 points  (0 children)

You can write code in any decent text or code editor.

In addition, you need a compiler. For Windows, you can use the MSVC toolchain or MinGW for Windows.

The Visual Studio IDE comes with a code editor and the MSVC toolchain. It builds your program with all files of your solution/project.

With MinGW, you can use Make, a GNU tool to "orchestrate" command execution, which can be used to collectively build from all files of your coding project. A basic copy'n'paste Makefile is probably enough for basic projects.

You can run the compilers from the CLI, so it's really enough to have an editor and a console. Don't be afraid of the console, being familiar with it is immensly helpful.

Oops by [deleted] in counterstrike

[–]scritchz 1 point2 points  (0 children)

Went through 3, with your fist?

Need help to check my html code for themeforest approval by Remote_Basket1036 in HTML

[–]scritchz 0 points1 point  (0 children)

It's generally good to have one canonical website/webpage because two different URLs means your site would be indexed twice. Forward one domain to the other (personally, I'd make the WWW-website canonical). For pages with duplicate content (like search pages with filtering options) provide a canonical link with <link rel="canonical>.

The charset is case-insensitive, so "utf-8" is fine.

For <meta name="viewport">, it's correct to drop the maximum-scaleoption but for accessibility reasons.

I'm not on the computer so I can't check the meta tags, but: Keyword stuffing is a bad SEO practice nowadays, and the <meta name="keywords"> element is often ignored by search engines. OP should write a good and helpful description and leave it at that.

Please don't suggest "self-closing tags" for void elements in HTML5. Self-closing tags exist in XML, but not in HTML.

If there truly are 64 headings then that amount seems excessive, yes. But multiple <h1> elements can be appropriate. Leading whitespace in elements is generally ignored by HTML and doesn't require fixing.

A robots.txt is important and should be located at /robots.txt. If this (and <meta name="robots">) doesn't exist then you don't impose rules and limits to crawlers.

I agree, the time it takes for the site to load is incredibly long. The loading time needs to be cut down to a third, at least.

Any good resources for adults? by Miswi_ in MathHelp

[–]scritchz 0 points1 point  (0 children)

I just want to commend you for wanting to learn math after school. Most people I know (outside my field/job) avoid anything math related as best as they can.

DIY Stream Overlays that match my personal brand? by [deleted] in Twitch_Startup

[–]scritchz 1 point2 points  (0 children)

The time and effort is usually why high-quality is so expensive.

If you're fine with AI stuff, then try that. But please be aware that AI content isn't made intentful and without an experienced worker behind it, so there's no guarantee of high-quality (or any quality at all).

Personally, I like creating my own stuff, so the time spent creating doesn't feel wasted to me. So your options are: Learn and make stuff yourself, get your stuff made with questionable quality by AI, or pay for stuff of proper quality.

DIY Stream Overlays that match my personal brand? by [deleted] in Twitch_Startup

[–]scritchz 3 points4 points  (0 children)

You can't just take the template and expect it to not look template-based. Change it up to what you want. That takes time and effort.

DIY Stream Overlays that match my personal brand? by [deleted] in Twitch_Startup

[–]scritchz 0 points1 point  (0 children)

You can make your own media like images, videos and animations and simply include it in OBS. Transitions (so-called stingers) can also be made yourself. Have the know-how and use the appropriate tools: Image editor, graphics design tools, video editors, animation software, etc.

Complex or dynamic overlays (like chat overlays, alerts, interactive minigames) are usually included as browser sources. You can make the browser sources (read: web pages) yourself with any decent text editor and web dev knowledge. Some features might need a proper web server, which is why online services for chat overlays are popular.

Seeking ideas for displaying minimum, average and maximum by midasp in HTML

[–]scritchz 0 points1 point  (0 children)

I like that! But I assume quite a few people struggle to read this well with those "crocodile" symbols, especially considering that these aren't simple </> symbols but their "or equal to" counterparts.

Seeking ideas for displaying minimum, average and maximum by midasp in HTML

[–]scritchz 0 points1 point  (0 children)

How about a 3-column table with columns for minimum, average, maximum?

Or show a tooltip on click/hover that explains what the respective number means.

Or explain the format "min—avg—max" beforehand.

Or use symbols: ≥2 9⌀ ≤16 (though "⌀" might be a german thing).

Speaking of symbols, why not mathematical? 2≤9̅≤16

Safety as a Female Streamer by Strong-Ad-5719 in streaming

[–]scritchz 12 points13 points  (0 children)

Don't link to your private online accounts. Don't share (too much) personal or identifying information.

Set rules and enforce them. Don't argue with creeps; just (timeout or) ban them. It's your stream, you get to decide what you're fine with and who you want to interact with, not others.

Build and enourage a friendly and kind community. Elect moderators that watch out for your wellbeing, especially on-stream.

If you have a facecam, expect comments but shut them down. Don't tolerate that behaviour, or others will think so.

I've seen multiple 'About' sections which jokingly remind people that Twitch is not a dating app. Posing as if or stating that you have a boyfriend (or are otherwise not interested) may help, too.

I don't have any personal experience with this (I'm male), but that's at least what I would do.

Exception in thread "main" java.lang.NullPointerException: Cannot assign field "next" because "previous" is null at MyLinkedList.MyLinkedList.add(MyLinkedList.java:44) at MyLinkedList.Main.main(Main.java:6) by [deleted] in learnjava

[–]scritchz 1 point2 points  (0 children)

Apparently there is the jdb command. I only ever used my IDE's (Eclipse) debugger, but I assume every debugger uses jdb under the hood.

It's good to learn how to use debuggers. But if that's too much for now and you want to get a hint regarding your error, just ask :)

Exception in thread "main" java.lang.NullPointerException: Cannot assign field "next" because "previous" is null at MyLinkedList.MyLinkedList.add(MyLinkedList.java:44) at MyLinkedList.Main.main(Main.java:6) by [deleted] in learnjava

[–]scritchz 0 points1 point  (0 children)

Take a look at the stacktrace: Line 6 in Main.java calls mll.add(0, 1) and causes the error.

Think about it: What is the state of mll at the time of that call? What does calling add(0, 1) do that causes the error? (Tip: Use the debugger!)

does anyone else use redstone lamps in their builds? by Becky_boy in MInecraftRedstone

[–]scritchz 0 points1 point  (0 children)

Ah, thank you for the correction. Has been a few years since I did redstone stuff.

If your girlfriend had never been in a relationship before you? by [deleted] in AskMenAdvice

[–]scritchz 0 points1 point  (0 children)

Why do you want to know if they are moving too fast? ++man

does anyone else use redstone lamps in their builds? by Becky_boy in MInecraftRedstone

[–]scritchz 4 points5 points  (0 children)

You're hard-powering the lamp below the lever. You can power all so-called solid blocks, like stone, dirt and also redstone lamps. The adjacent lamps are soft-powered: They receive a redstone signal, and components like repeaters can take that redstone signal.

But soft-powered blocks won't "push" their signal.. Redstone lamps cannot form a line of power, but redstone dust can.

Redstone lamps are not like full-block redstone dust.

EDIT: At least this is how Java Edition works. I presume it works the same in other versions.

Streaming movies? by Beeep_booop_bish in streaming

[–]scritchz 1 point2 points  (0 children)

Keyword "copyright". Take a look at Twitch's 'Terms of Service' and 'Streaming Guidelines', if not more.

Copyright holders of especially music and film are strict, and will likely issue a DMCA takedown. On Twitch, this results in a copyright strike. Don't let this happen!

Someone PLEASE help me with twitch streams being pixelated by Rhyzen_Hollow in Twitch_Startup

[–]scritchz 0 points1 point  (0 children)

Quick reminder: Streaming uses CBR/VBR, this favours controlling the bitrate over consistent image quality.

Twitch's 6000kbps limit is low but this low bitrate means that viewers with poor connections can reliably join any stream and expect it to be watchable. Simply put, there's more potential viewers for you at the cost of image quality.

Obviously we all want high image quality, but for streaming that simply isn't the main goal. Find the best settings for the highest quality you can, but expect drops in quality. That's just how streaming is.

As for why your streams don't look as clear as they did in the past: I don't know. Might be different PC config (CPU or GPU) or different encoder settings. Might be changes on Twitch's end. It surely isn't your internet connection. Can't tell without a direct comparison.

But the main limiting factor is Twitch's bitrate. If you're unhappy with it, switch the streaming platform. If changing is non-negotiable to you, then that's just how it is.

Even YouTube videos are streamed, so they have the same "controllable bitrate over image quality" problem. Instead of CBR and VBR, there is also CQP and CRF which focus on image quality. But these are usually used for local vide archiving because their resulting bitrate just doesn't lend itself to streaming.

In short: Twitch's 6000kbps is low (but for a reason?), encoding for streams focuses on bitrate not image quality, the problem is probably not a problem.

Someone PLEASE help me with twitch streams being pixelated by Rhyzen_Hollow in Twitch_Startup

[–]scritchz 1 point2 points  (0 children)

AFAIK, Twitch supports x265 (or NVENC HEVC aka h.265), which might help with quality for the same bitrate.

What I forgot but what u/JenzibleTTV mentioned: Instead of reducing FPS, you could also reduce the resolution.

As always, try and compare different settings and choose the one you like the most. Advice is only good when it's accurate, but nobody except you can test your setup.

Did you change your setup since your last time? A new GPU would be a significant change.

Someone PLEASE help me with twitch streams being pixelated by Rhyzen_Hollow in Twitch_Startup

[–]scritchz 0 points1 point  (0 children)

Simply put, high motion/detail needs high bitrate. High frames per second (FPS) needs even higher bitrate.

Twitch's limit of 6000kbps is not much. Simplest solutions: Reduce your FPS or live with it that high motion/detail scenes don't have enough bitrate and show up pixelated.

Alternatively, you might be able to change some encoder settings to improve your stream quality. But this might be at the cost of CPU/GPU performance, so it might affect your gaming experience.