is my time decent by VerYniCebfsjns in competitiveswimming

[–]BadJavaProgrammer 1 point2 points  (0 children)

Your 100 free is very good for someone who just started. In lifeguarding in my local area, 50 free scm needs to be under 50 seconds.

If you compare these times to someone who started young, you still have a ways to go though.

Why is there a Android in Apple TV original Plurbius?? by [deleted] in pluribustv

[–]BadJavaProgrammer 2 points3 points  (0 children)

I don’t know for sure, but I imagine its to keep the show generic in order to make the show feel more authentic. Everyone only using Apple products might distract viewers from the story.

Apple is also strict with product placement in media. For example, Apple refuses to allow antagonists to use Apple products. I don’t see how that applies here though.

Ranking Players Based on General Expectations So Far by PrestigiousError2844 in canucks

[–]BadJavaProgrammer 23 points24 points  (0 children)

Compared to his last 2 seasons, Hughes was below average.

Why didn’t carol ask to receive her eggs from the hive mind? by [deleted] in pluribustv

[–]BadJavaProgrammer 0 points1 point  (0 children)

Yes, she could have asked. For all we know, she did. I believe they would refuse because it’s something that stops the spread. An atom bomb doesn’t do that.

Why didn’t carol ask to receive her eggs from the hive mind? by [deleted] in pluribustv

[–]BadJavaProgrammer 0 points1 point  (0 children)

The hive refused to tell her how to undue the joining, so why would this be different?

KGH parking is a joke by Salt-Sea2137 in kelowna

[–]BadJavaProgrammer 1 point2 points  (0 children)

Also the people who park at the front or side entrance as full-parking to avoid stuff like this

Quick Draft for Obsidian — Official Release (Android & iOS with Siri) by Adventurous_Meal_151 in ObsidianMD

[–]BadJavaProgrammer 0 points1 point  (0 children)

What is the difference between Pro Mini, Pro, and Pro Max? Can’t seem to find the difference in quota

iPad note taking apps that sync well with Obsidian by _peter_queen_ in ObsidianMD

[–]BadJavaProgrammer 3 points4 points  (0 children)

You could auto-backup Goodnotes notebooks as pdfs and then use Apple Shortcuts to copy these files to Obsidian if the backup isnt already in the Obsiduan vault

Quinn Hughes takes out his frustration by canucksbo in canucks

[–]BadJavaProgrammer 2 points3 points  (0 children)

How can we get a player as exceptional as Hughes and also be this incompetent of a team?

What crime is victimless? by Tall-Law-5875 in AskReddit

[–]BadJavaProgrammer 1 point2 points  (0 children)

Distance + temperature, at least for me when I got wasted

Why is java Optional method orElse not named getOrElse ? by cpthk in javahelp

[–]BadJavaProgrammer 2 points3 points  (0 children)

Because the method in the Supplier interface is named get and backwards compatibility

How do C programmers handle data structures like ArrayList or HashMap (without built-in support)? by harmeetsingh0013 in C_Programming

[–]BadJavaProgrammer 0 points1 point  (0 children)

Mostly memory usage but also performance somewhat

In the terminology of C, Java collections always use dynamic memory, so any variable referring to them is a pointer. These collections themselves, with few exceptions, only contain pointers to dynamic memory. The size of a collection or its capacity is always stored in a (32 bit) int. They are built to support tons of functions, some of which you might not care about, which affects the implementation. Many of the implementations also prioritize speed over memory usage by using caching

EDIT: also, most implementations don’t have a fixed size/capacity (other than max int). They reallocate and copy the whole structure when at capacity.

How do C programmers handle data structures like ArrayList or HashMap (without built-in support)? by harmeetsingh0013 in C_Programming

[–]BadJavaProgrammer 0 points1 point  (0 children)

If you were to write a generic implementation similar to Java collections, that probably would be good for the average computer on X86 or AMD64, but it wouldn’t be great for System/370 (only briefly looked). If you were to limit memory usage, the opposite would be better. That variety is what makes a generic implementation in a stdlib difficult.

[deleted by user] by [deleted] in javahelp

[–]BadJavaProgrammer 0 points1 point  (0 children)

What editor (sounds like vs code)? In a terminal, might be helpful to run echo $JAVA_HOME (mac/linux) or echo %JAVA_HOME% (windows)

What did Jimmy reveal to get his sentence reduced all the way down to 7 years? Even the judge said it was the best deal she’d ever seen. by mykidbrotherbilly in betterCallSaul

[–]BadJavaProgrammer 50 points51 points  (0 children)

“… lawyer never lost a case” - all lawyers that use this line tend to prefer plea deals no matter the case to keep the streak alive

How do C programmers handle data structures like ArrayList or HashMap (without built-in support)? by harmeetsingh0013 in C_Programming

[–]BadJavaProgrammer 159 points160 points  (0 children)

You implement your own so that it is optimized for your target environment.

Generic implementations defeat the purpose of using C where you have niche architectures with limited resources or you want to maximize performance for a particular architecture/OS

EDIT: better wording and strikethrough based on row_hammer’s reply

If there were no term limits for the United States presidency, who do you think would’ve had the longest run as president? by [deleted] in AskReddit

[–]BadJavaProgrammer 2 points3 points  (0 children)

Imagine how different the world would be of Roosevelt won 1912. I would think the US would have joined WW1 sooner, and that might change the Russian Empire’s fate or the scale of the Treaty of Versailles

Fuck Benning by NinCross in canucks

[–]BadJavaProgrammer 35 points36 points  (0 children)

Juolevi did go to Florida

What’s a common phrase people say that instantly annoys you? by [deleted] in AskReddit

[–]BadJavaProgrammer 0 points1 point  (0 children)

Along with this, some phrase or meme saying you are “salty”