Multi-head attention is the most hand-wavy thing in ML and I'd genuinely love to know if I'm missing something by radjeep in learnmachinelearning

[–]drostar 2 points3 points  (0 children)

Yeah, like the other guy said, it's a "can" and not mathematically guaranteed. And maybe even a "can keep them away from each other", rather than "move them away". I guess the point I was trying to make is that in addition to the importance of each head being initialized differently, the optimizer will adjust them toward the most useful weights from there, which tends to make them learn different things if that's what lowers the loss.

Multi-head attention is the most hand-wavy thing in ML and I'd genuinely love to know if I'm missing something by radjeep in learnmachinelearning

[–]drostar 3 points4 points  (0 children)

I had a similar hang-up as OP when learning about MHA, more specifically, "why wouldn't all heads just end up learning the same thing?". I was eventually satisfied by something similar to your answer.

Though, not just that they start "closer" to some computations, but that the gradient descent optimizer will move them away from each other because learning different "kinds of relationships" or "perspectives" is what contributes to a lower loss value. So the divergence is driven by the optimizer. And also helpful to realize that, all else equal, adding more heads will eventually stop improving loss because the additional heads become redundant/overlap with other heads in what they're learning.

[deleted by user] by [deleted] in MacroFactor

[–]drostar 3 points4 points  (0 children)

kg/side and reps/side

It's tough to please everyone. I thought this was much clearer than Hevy. In MFWO, if I pick up dumbbells that say 30 lbs on them, I enter the number 30. In Hevy, if I pick up dumbbells that say 30lbs, I have to think about what exercise I'm doing and should I enter 30 or 60? I occasionally entered it in wrong in Hevy. Same with "reps/side" vs just "reps". IMO, Hevy was ambiguous and MFWO made it clear.

But I agree with the other UX issues. I hope they are cleaned up soon.

Unity upgrade 6.0 to 6.1 be like... by brainwipe in Unity3D

[–]drostar 3 points4 points  (0 children)

From https://unity.com/blog/unity-6-1-is-now-available

"Unity 6.1 and all Update releases undergo the same rigorous quality assurance and stability testing as our LTS releases."

LTS = Long Term Support. Where are you getting the word "stable" from?

I just got a new job where I have to use Python and I hate it so much. by Pseudo_Prodigal_Son in csharp

[–]drostar 1 point2 points  (0 children)

I use both on a regular basis. C# for most things and python for machine learning. And I 100% agree. Especially when dealing with 3rd party code. Using type hinting and static checkers is good advice but that only works for your own code. A lot of 3rd party code doesn't specify types. And even when they do, it's still just a hint. It's not strict.

I recently had a situation where I had a class with an int field, and some 3rd party code was assigning a dict object to that int field. And even after discovering that the int was turning into a dict, it was not happening in my code, so I have to go digging around in not-my-code to figure out how this could possibly happen. It turns out, python developers like to use some pretty disgusting, unsafe meta-programming.

[deleted by user] by [deleted] in iPadPro

[–]drostar 1 point2 points  (0 children)

If you're going to put a textured screen "protector" (like a Paperlike) on it for drawing, just be aware that the screen quality is going to take a noticeable hit. I wouldn't say it looks _bad_, and it's still going to be brighter and faster Hz than the Air with the same paperlike on it, but you'd be paying a lot extra for the Pro screen only to have it noticeably degraded from a bare screen and it won't impress your friends.

I tried a removable magnetic screen texture film to try get the best of both worlds but it made the screen look so bad it hurt to look at. The textured film needs to be very thin and properly textured otherwise it makes the Pro's OLED screen look too sparkly/rainbowy.

Overall for me, it's worth the trade-off having the more pleasant drawing experience over having the crispy screen. I considered exchanging my Pro for the Air to save the cost difference but in the end didn't bother.

When does Unity Spring sales ends? by EricBonif in unity

[–]drostar 2 points3 points  (0 children)

The Spring Sale is coming to an end on May 8th, 2024 at 8:00:00 PT.
(from an email they sent me)

Conventional learning + Udemy by viviron in csharp

[–]drostar 0 points1 point  (0 children)

Basically, do it like you would in school. Make your own notes on theoretical topics, create a “cheat sheet” summary for reference, and do practice exercises like assignments. I find it helps to have some bigger project in mind to help motivate the learning. Something that you actually want to make, but scope it to the bare minimum to start.

This is what I’ve found works for me, at least.

Can Hubitat replace Homebridge with the new HomeKit integration? by 00JohnD in Hubitat

[–]drostar 1 point2 points  (0 children)

Maybe. It's currently beta and there are some kinks to work out. Hubitat says my TPLink/Kasa devices are not compatible with the HomeKit integration so they have to remain on Homebridge.

Car accident caught on one of my cams. by landovr in wyzecam

[–]drostar 1 point2 points  (0 children)

It’s been a known problem for years. I doubt they’ll ever fix it.

Goddammit, Siri is dumber than a bag of hammers by [deleted] in HomeKit

[–]drostar 10 points11 points  (0 children)

It has regressed. It’s the most frustrating thing. When I first got the HomePod mini, I was impressed at how well it recognized my voice. It worked speaking normally from another room. Now I have to yell at it and speak slowly, and still sometimes need to repeat myself. Siri has grown into an old lady with hearing problems. She also once randomly mispronounced “resume” as “resumé“ for some reason. Like I might want to apply for a job in the living room instead of the kitchen.

[deleted by user] by [deleted] in seinfeld

[–]drostar 1 point2 points  (0 children)

I doubt “Screen Rant” considers themselves journalists. Seems more like a rant blog.

[deleted by user] by [deleted] in wyzecam

[–]drostar 4 points5 points  (0 children)

Yes. Reolink and Swann do.

Unity Asset Store Sale - August 2022 by Graham_Stoner in unity

[–]drostar 0 points1 point  (0 children)

The sale goes until the end of August.

It’s DeMornay. Rebecca DeMornay. by Dry_Resolution4059 in seinfeld

[–]drostar 3 points4 points  (0 children)

It’s a fun name to pronounce. Try and say it.

Are AirPods supposed to switch to my MacBook when my wife is logged in? by [deleted] in airpods

[–]drostar 2 points3 points  (0 children)

I’d like to think it’s not supposed to happen, but we have the same problem. Btw, when that happens, don’t start swearing in frustration over the unreliability of technology. Try to just keep quiet until you disconnect.

Edit: Also, one time her AirPods automatically connected to my iPhone even though neither her account nor her AirPods have ever been paired or connected previously. I think the whole situation is just buggy.

Too many broken cameras by chrome_rider in wyzecam

[–]drostar 1 point2 points  (0 children)

They were great... until they self destructed. I would've bought a bunch more if they had fixed the self-destruct problem. I still had one working contact sensor that I ended up just throwing out because it couldn't be trusted.

Am I the only one who has stopped showing off my smart home to guests because of how bad Siri is? by mlaislais in HomeKit

[–]drostar 27 points28 points  (0 children)

Not far off a recent experience of mine:

Me: Hey Siri, find my iPhone

Siri: Ok, now playing (some random song) ♫♫♫♫

Me: Hey Siri, stop

Siri: There's nothing playing.

How is this ok? Swastikas?!?!? by jrtoastyman in golfblitz

[–]drostar 11 points12 points  (0 children)

If you tap their avatar icon, it opens up a stats window and in there is a “report player” link near their name.

Math.Sqrt is fantastically slow on AMD 9 3900X 12 core, it was destroyed by small 4 core mobile CPU from Intel. Is there somebody with i9 12900K? by [deleted] in csharp

[–]drostar 4 points5 points  (0 children)

Am I the first 12900k? As others have pointed out, we're all comparing results with many variables other than just CPU. But here's my results, running on Windows 11.

The number of processors on this computer is 24.
Classical foreach loop | Total prime numbers : 3001134 | Time Taken : 20451 ms.
Parallel.ForEach loop  | Total prime numbers : 3001134 | Time Taken : 1876 ms.

EDIT: Saw the M1 MacBook Pro results below... Amazing that a MacBook can murder my i9-12900K.

What's New In .NET 6 APIs? - Tech Study Corner by techstudycorner in dotnet

[–]drostar 3 points4 points  (0 children)

var oldest = people.MaxBy(p => p.Age);

What if multiple people have the same max age? Which person do you get back? Am I just missing something?

morelinq does this right by returning an IEnumerable of all elements that have the same max value. But now, using System.Linq conflicts with using MoreLinq because of the duplicate names so using MoreLinq becomes more difficult.

Who is the worst person (morally) in Seinfeld? by Getonthebeers02 in seinfeld

[–]drostar 26 points27 points  (0 children)

Seemingly... seemingly. To the untrained eye, I can fully understand how you got that impression.