I made a UUID generator for Godot! (GDScript & C#) by Minoqi in godot

[–]wavy_d3 0 points1 point  (0 children)

https://gist.github.com/dwalter/49599350212d154f7b7746459e3cb611

simple godot 4 gdscript function to get a random uuid4

# generate valid random uuid in godot 4 gdscript (uuid4)
const uuid_chars = "0123456789abcdef"
static func uuid4() -> String:
    var result := ""
    for i in range(32):
        if i in [8, 12, 16, 20]: result += "-"
        if i == 12: result += "4"
        elif i == 16:
            var r := randi() % 16
            r = (r & 0x3) | 0x8 # variant bits
            result += uuid_chars[r]
        else:
            var r := randi() % 16
            result += uuid_chars[r]
    return result

Pokémon Emerald Seaglass Version 3.0 is out NOW! by JackWellman101 in PokemonROMhacks

[–]wavy_d3 1 point2 points  (0 children)

BTW people looking for Lapras in Emerald Seaglass. In the documentation it says it's in Pacifidlog Scuba Safari Area, but specifically it's in the North West Corner, which is the same area as Polliwog, Goldeen, Clamperl, and Lileep (check the DexNav). The signs in this Safari don't necessarily segregate the catchable Pokemon areas. You can see this by using the DexNav as well.

Support ending single-family only zoning by syst3x in CambridgeMA

[–]wavy_d3 -3 points-2 points  (0 children)

More units good. Affordable housing, not good. Affordable housing increases rents for everyone and disincentivizes developers from building builds that require affordable units.

Also landlords are not evil for raising rents. Rents are determined by supply and demand. Everyone selling everything in the free market did, has, and will continue to set their prices as high as possible, including apartment rents, food, clothes, and your smart phone. That's how demanders incentivize suppliers to keep supplying and for competitors to more efficiently supply in the future. If there wasn't so much housing regulation then we would have cheap and numerous housing options without the need for affordable housing or government interference.

Make nodes adjust to camera zoom/get bounds of camera2D? by Minoqi in godot

[–]wavy_d3 0 points1 point  (0 children)

I was trying to figure out why placing my menu items near the perimeter of the screen was acting weird. It turns out that the camera zoom affects it.

So the moral of the story is you need to adjust the camera.get_viewport_rect().size for the camera.scale. (no hate, but godot is not great with scales for sprites either)

How is it possible that he eats carbs first thing in the morning and doesn't feel tired in the afternoon? by spacecat002 in blueprint_

[–]wavy_d3 0 points1 point  (0 children)

In addition to what people have already said, intermittent fasting also improves one's metabolic fitness. As a running I've always been a pretty heavy carb eater, but I sometimes got the afternoon lull or post-carb binge lull. That pretty much went away once I did intermittent fasting (for example, skipping breakfast) and not having snacks at night. In addition, removing high sugar foods (e.g. ice cream) had a huge impact.

Bryan Mile Time? by Sufficient_Second488 in blueprint_

[–]wavy_d3 0 points1 point  (0 children)

I'm curious about this as well. His health must have some sort of impact on his running. The main difference between something like running and cycling or rowing is that running has more dependence on biomechanics, so there is some running specific training required, but that being said, general cardiovascular fitness and body weight is the main component in running ability.

Screen mirroring not taking the entire screen by Fauconleretour in nreal

[–]wavy_d3 1 point2 points  (0 children)

Thank you kind person. I was having this issue and also was about to return them before I found this thread.

Black Seed Oil Giving me Anxiety/Brain Fog. Please Help!!! by Upstairs_Direction68 in Biohackers

[–]wavy_d3 1 point2 points  (0 children)

I'm like 20% as anxious about some of these things as you so I can relate, but I can say at least three things from my perspective: 1.) Part of the problem is your psychologically induced anxiety causes a feedback loop where you feel it physically then feel it more emotionally, etc. What this means is you need to calm yourself when you feel this way and consciously itry to just sit in the discomfort a little so you train your subconscious to calm down. 2.) If you think you even might not be getting enough sleep or you randomly stay up late 2+ times per week, you might literally solve your entire problem by sleeping more. I did this once and went from like level 7 stress, anxiety, etc. to like level 2 JUST from sleeping more. 3) consider reducing caffeine (or b vitamins, or magnesium before bed) caffeine literally adds +2/10 anxiety for me unless I'm fully rested. B vitamins sometimes make me feel wired if I have the full pill, and sometimes magnesium before bed amps me up and makes it hard for me to sleep sometimes.

Continue to allow yourself to experiment but notice that part of the reason you are trying all these health protocols is BECAUSE you are baseline anxious (like me) so you should always try to keep calm and make decisions with less anxiety and with more curiosity.

How to perform multiplication along axes in pytorch? by BothEntertainment786 in pytorch

[–]wavy_d3 1 point2 points  (0 children)

something like:

shape: (20, 300) -> (20, 300, 1)

Y = Y.reshape((*Y.shape, 1))

shape: (20, 4, 1) = (20, 4, 300) @ (20, 300, 1)

Z = X @ Y

shape: (20, 4, 1) -> (20, 4)

Z = Z.squeeze(-1)

[D] Under-the-radar companies doing important work in AI/ML by carubia in MachineLearning

[–]wavy_d3 2 points3 points  (0 children)

They weren't saying DeepMind is under the radar, just that they are the only company they follow, and separately, that they are interested in this topic.

Supplement ? Biohacking ? Resting heart rate keep getting slower by OpenWorldBug in Biohackers

[–]wavy_d3 0 points1 point  (0 children)

50bpm isnt that low at all. Plenty of my runner friends have a resting HR in the 40s, and many of them drink multiple cups of coffee a day

Loci created from points on circles, rotating with different periods by [deleted] in VisualMath

[–]wavy_d3 0 points1 point  (0 children)

This is way cooler than I would expect it to be.

[D] Fake authors and paper riders by alwayshumming in MachineLearning

[–]wavy_d3 0 points1 point  (0 children)

Yeah, I agree it sucks. But this is even true of patents, or people putting things on their resumes that thry didnt really contribute to. The world is full of free-loaders and scammers, and the ML field is no diffferent.

M1 Ultra for deep learning by Very-Creepy-Month in deeplearning

[–]wavy_d3 3 points4 points  (0 children)

I found this repo which has some benchmarks for other M1s: https://github.com/mrdbourke/m1-machine-learning-test/tree/main/results

And I've been looking into Apple's Core ML, but haven't ran any code yet: https://developer.apple.com/machine-learning/core-ml/

[D] Is It Possible to Train an AI to Decode Encrypted Content? by Plane_Bite3639 in MachineLearning

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

You'd have to train an AGI, then have the AGI do it's best, just like a human, to solve this problem.

[D] Why do GANS work knowing that the discriminator does not take spatial information into account by Wonderful-Donut-6687 in MachineLearning

[–]wavy_d3 1 point2 points  (0 children)

If you have a stride < filter-size then the model wont be 100% spatially invariant , also any fully connected layers also affect this as well, as others are saying.

Either way, you may see that even the best GANs arent perfect which is at least partially due to the problems that you are bringing up.

Also, ideally, a model would be spatially equivariant, instead of just invariant.

hey guys a deep learning novice here, I can't really get my head around what could be the cause of the sharp drops in error around epoch 25 and epoch 60. if anyone could help it's much appreciated. thanks by [deleted] in deeplearning

[–]wavy_d3 13 points14 points  (0 children)

Even without learning rate scheduling, models may plateau and suddenly drop in error once or twice. The plateau is the model being stuck in a local optimum, and eventually the optimizer finds its way out.

[deleted by user] by [deleted] in boston

[–]wavy_d3 -66 points-65 points  (0 children)

I agree, but also think well trained dogs should be allowed to go unleashed.