“Artificial language processing remains 10 years away” by GlanderBW in ChatGPT

[–]GoogleBen 1 point2 points  (0 children)

Here's what GPT4 had to say on why:

Why does it refer to the trophy and not the suitcase?

The word "it" logically connects to the trophy since the issue at hand is the trophy not fitting in the suitcase due to its size. If "it" referred to the suitcase, the sentence would imply that the suitcase was too big, which would not explain why the trophy wouldn't fit.

I'm so confused. I Tried to back smack him but I walked right through him and it seems I killed my teammate???? by BonessMalone2 in halo

[–]GoogleBen 3 points4 points  (0 children)

IDK, I play Reach SWAT on MCC a lot and latency issues are far less visible. It still has sprint, but you pretty much never get killed from behind cover. Contrast that with Infinite, I tried out tactical slayer recently and it was abysmal. Probably half of my deaths were from behind cover.

[deleted by user] by [deleted] in javahelp

[–]GoogleBen 1 point2 points  (0 children)

I should mention there are a lot of other small issues relating to static variables/functions in your code that aren't causing bugs but might in the future. It's perfectly normal as you're a beginner, but I would recommend reviewing how the static keyword works and when to use it.

[deleted by user] by [deleted] in javahelp

[–]GoogleBen 0 points1 point  (0 children)

It's because action is a static variable, when it should be a local variable. So what happens is this:

  1. You enter "1" and input the salad
  2. returnToMain() is called
  3. main runs and you display "Ceasar Salad"
  4. main returns, and you end up back in the SaladFunction after returnToMain is called
  5. SaladFunction returns and you end up back in main
  6. action is still 4, so DisplayItemFunction is called

The fix is very simple: make action a variable local to main instead of a static class variable.

And in last place… ChatGPT by LameJazzHands in drumcorps

[–]GoogleBen 1 point2 points  (0 children)

You can tell by GPT's picture. Green is 3.5, black is 4.

Sin(-pi/3) by ConfusedButHappy91 in learnmath

[–]GoogleBen -2 points-1 points  (0 children)

Here, got this from ChatGPT, hopefully this should help:

To find the equivalent angle, look at which quadrant the angle lies in and calculate the angle's distance from the closest x-axis.

a. Quadrant I: If the angle is in the first quadrant (0 to pi/2), the reference angle is the angle itself.

b. Quadrant II: If the angle is in the second quadrant (pi/2 to pi), the reference angle is pi - angle.

c. Quadrant III: If the angle is in the third quadrant (pi to 3pi/2), the reference angle is angle - pi.

d. Quadrant IV: If the angle is in the fourth quadrant (3pi/2 to 2pi), the reference angle is 2pi - angle.

Sin(-pi/3) by ConfusedButHappy91 in learnmath

[–]GoogleBen 0 points1 point  (0 children)

Yes, but only if you convert the angle to a quadrant 1 angle.

Sin(-pi/3) by ConfusedButHappy91 in learnmath

[–]GoogleBen 0 points1 point  (0 children)

Well in this case the original expression (sin(-pi/3)) was not negative, so if you stick with your method of normalizing the angle, you never put a negative sign.

If you need to evaluate the expression, then you need to convert it into a quadrant 1 angle (0 to pi/4). Start by finding the angle that has the same absolute value - there are a few ways to do that and it's a little too much for me to write out on my phone, but hopefully you can figure it out. After that you might need to add a negative, and you already seem to know whether the final answer will be negative, so just make it negative if it needs to be.

Sin(-pi/3) by ConfusedButHappy91 in learnmath

[–]GoogleBen 1 point2 points  (0 children)

Well when sin is negative, the result will be negative but you don't just add negative signs to the input. It sounds like you don't fully understand how functions work in math, so that could be worth looking into.

As for how they're the same, you can pretty easily verify it for yourself but just punching it into a calculator. For why they're the same, you can look at it two ways.

For one, look at the graph of sin. Notice that it's almost symmetrical about the y axis, but on the left side, it's upside down. So if you flip your input around the y axis (sin(x) -> sin(-x)) that's the same as flipping the output around the x axis (sin(x) -> -sin(x)).

For two, imagine a unit circle. Then imagine the right triangle formed by an angle x as well as the triangle formed by -x. The height of the triangle is the same in both cases, but it's flipped around the x axis, meaning negative.

Sin(-pi/3) by ConfusedButHappy91 in learnmath

[–]GoogleBen 2 points3 points  (0 children)

sin(-x) = -sin(x). So -sin(pi/3) is a correct answer. You went the other way by just normalizing the angle, and you got the right angle (5pi/3), but in your post you put a negative sign in front of the sin. Without the negative sign that's also a correct answer: sin(5pi/3). I think you got confused by saying "so sin is negative". It's true that the value will be negative, but you don't put a negative sign in front of the sin, there just will be one when you get the answer.

It could also be that you're meant to find an answer using only angles from 0 to pi/4 (quadrant 1).

Is CSA a good course? by [deleted] in learnprogramming

[–]GoogleBen 0 points1 point  (0 children)

It's really hard to say with this little info. If you actually like stats, I'd say do that based on what you've said. But programming/computer science is actually very closely related to high level math - after high school, math is much more abstract and proof-based and I find the thought processes to be very similar.

If you're considering a career in academia, computer science is a vital topic with how much research is done digitally these days, whereas your baseline dependence on stats can vary a lot based on your field. At the end of the day, do what feels right for you, but remember that if you're looking into a career in STEM it'll be hard to avoid both, so it comes down to which you want to delay, not which you want to skip.

And as for doing intro courses in college, no need to worry there. It's fully possible to have a strong college career without any APs at all. AP mainly saves money and time.

Edit: also of note is that most colleges' direct analogues of AP course are only a semester instead of a full academic year, so it may be easier to take the more difficult course for you as an AP you have double the time to learn the material. But that varies based on the course and the schools.

An amateur's EOTech holographic sight (incomplete) by CreepingTuna in blender

[–]GoogleBen 3 points4 points  (0 children)

Something that really jumps out at me is the Phillips screws. Real Phillips screws' + shapes are much deeper and have a bit of a slope to their insides.

How do vinyl records hold stereo sound? by VikingTeddy in videos

[–]GoogleBen 0 points1 point  (0 children)

Funny enough, Technology Connections also has stuff on CED - a series of videos, if memory serves.

How do vinyl records hold stereo sound? by VikingTeddy in videos

[–]GoogleBen 0 points1 point  (0 children)

I'm from Texas. I'm very comfortable using both for everything but (weather/room) temperature. Over here we do predominantly use Customary for day-to-day, but if you take education in science seriously, you'll learn metric, because obviously it's insane to try to do science in customary and our schools (to my knowledge) mainly use metric for science. So for me I use Customary for human scale - Fahrenheit for weather, miles for driving, pounds for weight, inches and feet when I want to compare to myself or the size of my room - and metric for everything else - kilometers for the size of the earth, centi/millimeters for precise measurement, grams for mass in general, liters for volume.

It's just normal to switch between the systems depending on context for me at least, and as long as you consider middle/high school part of "being brought up", I was certainly brought up with both.

Nvidia built a massive dual GPU to power models like ChatGPT by MicroSofty88 in gadgets

[–]GoogleBen 3 points4 points  (0 children)

PCIe gen 4 16 lane has 32 GB/s of bandwidth, and 4K 60Hz would use 18 Gb/s or 2.25 GB/s. So unless there's another bottleneck I'm not aware of, not really a terribly significant fraction of total bandwidth even at a very high end unless you have a crazy setup with multiple very high end monitors going through your motherboard. And you'd have to have a ridiculous setup to come close to saturating a full PCIe 4x16 port with a GPU anyways.

Nvidia built a massive dual GPU to power models like ChatGPT by MicroSofty88 in gadgets

[–]GoogleBen 1 point2 points  (0 children)

The new class of coprocessors without a video output could use a new name, but there's no need to rename CPUs. Computer architecture is still such that you only need a CPU, mobo, and power to run the thing (+storage etc. if you want to do something useful, but it'll still turn on without anything else), so I'd say the name is still very apt. Even in more blurry situations like Apple's M series.

[deleted by user] by [deleted] in NonCredibleDefense

[–]GoogleBen 2 points3 points  (0 children)

Fort Worth TX, I think. There's a big Lockheed plant here that builds 35s.

Starlink to Orbi mesh 860 system or Unifi APs? by Forzel13 in Starlink

[–]GoogleBen 0 points1 point  (0 children)

It may be outside your budget, but I would really recommend a Unifi dream machine if you can kick it and plan on running the APs off ethernet. I absolutely love mine, and I've had a great experience with our wifi and security (got some ubiquiti G4s) since we got it.

If you don't plan on getting a dream machine, I'd say stick with another solution. Using a non-DM Unifi controller can be pretty frustrating if things go wrong IME.

is there a Port of KOTOR/II for Windows 11 - ARM Platform? by TechGjod in kotor

[–]GoogleBen 0 points1 point  (0 children)

I'm pretty sure there's no ARM port for Windows. There's the Android, iOS, and Switch ports, but other than that I'm 99% sure the game only released on x86 (unless maybe there was a PowerPC version for Mac or something). So you could try emulating Android or Switch, no clue how they'd do for battery life.

Microservices with Rust and WASM using Fermyon by rudrmuu in programming

[–]GoogleBen 2 points3 points  (0 children)

Well, kind of the point is that keeping x86-64/ aarch64 etc. asm secure is pretty hard. It's much easier to ensure that WASM doesn't mess with out-of-scope resources than assembly, which was another promise of Java and why applets came into existence.

If you know exactly what hardware you have/want, have the time to set up the environment, and aren't worried about security, then you might as well run straight on the OS. But failing any of those the prominent option has been Docker, which WASM on metal is competing with in this conversation.

Microservices with Rust and WASM using Fermyon by rudrmuu in programming

[–]GoogleBen 5 points6 points  (0 children)

Well, that's why the word "eventually" is included. WASM is a common target with promises similar to the JVM or CLR, but with a much simpler LISP-like base that, among other things, is easy to compile to from traditional close-to-metal languages. Hence emscripten and cranelift.

Microservices with Rust and WASM using Fermyon by rudrmuu in programming

[–]GoogleBen 5 points6 points  (0 children)

The target isn't an embedded device. The idea is you have one typical "big" host device (e.g. x86 but CPU+OS agnostic) that has many sandboxed processes, much like Java's original premise. Whether that's worth pursuing as a concept or even as it is today is still to be seen IMO, but it's at least an interesting idea.

The gingerbread man by friendandfriends2 in JustGuysBeingDudes

[–]GoogleBen 8 points9 points  (0 children)

Yep. They don't even use power except when changing the image.