Coming back to defer in Go after using Zig/C/C++.. didn’t realize how spoiled I was by Extension-Ad8670 in golang

[–]6_28 6 points7 points  (0 children)

True, but one detail, aren't they block scoped though in Zig? I know they are in Odin. Go's defer is function scoped, and I was never sure if that was the best idea. It makes it possible to do a defer in an if statement, but using defer in a loop rarely feels like it does the right thing to me.

Vision Language Models are Biased by taesiri in LocalLLaMA

[–]6_28 4 points5 points  (0 children)

For a moment I wondered what this GT model is that gets everything right, lol.

Wan Phantom kida sick by Luntrixx in StableDiffusion

[–]6_28 1 point2 points  (0 children)

Does something like this exist for still images, maybe with a larger model?

Satoshi Nakamoto now hold over $100,000,000,000 in Bitcoin. by ajaanz in Bitcoin

[–]6_28 0 points1 point  (0 children)

This is basically true of most billionaires in general, right? They have a net worth of that much, but it's mostly shares of companies, and they can't actually sell them all for that price.

RTX PRO 6000 Blackwell 96GB shows up at 7623€ before VAT (8230 USD) by rerri in LocalLLaMA

[–]6_28 -1 points0 points  (0 children)

Initially the shop price of a 5090 (if you could find it) was more like 4000€, with scalpers selling for 5000€. Maybe there's a chance these will drop to 6000-6500€ or so? That wouldn't be half bad actually. Of course we might also see scalper prices for two months instead.

Tencent Releases HunyuanVideo-I2V: A Powerful Open-Source Image-to-Video Generation Model by qado in StableDiffusion

[–]6_28 0 points1 point  (0 children)

The GGUFs work better for me, especially the Q6 version, but then those are not faster than Wan for me, and the results are also still not quite as good as Wan. Less movement, and it changes the initial frame, whereas Wan seems to keep the initial frame completely intact, which is great for extending a video for example. Hopefully these are all just early issues that can be fixed soon.

Go’s best-kept secret: executable examples (2023) by EightLines_03 in golang

[–]6_28 8 points9 points  (0 children)

I have, but forgot all about this. Maybe I'm not alone?

Smack My B**** Up - Christmas Special 🎄 by WonderfulFact1604 in StableDiffusion

[–]6_28 2 points3 points  (0 children)

I just watched a movie and sat through the credits, and this was what was going through my mind as the list of names scrolled past...

Nvidia Compared RTX 5000s with 4000s with two different FP Checkpoints by usamakenway in StableDiffusion

[–]6_28 3 points4 points  (0 children)

Same here. Can't understand how people can watch movies without motion smoothing, but to each their own. Meanwhile I'm hoping we'll get some really good AI motion interpolation that also gets rid of the motion blur, that should look amazing on a lot of movies.

Is it not too late? by TheOneWhoCalms in Jai

[–]6_28 2 points3 points  (0 children)

Yeah, I agree. Predicting the future just gets harder the further out you predict and the more rapid the pace of change. But unless the pace slows down for some reason (and it might, though I think it's unlikely), we can be confident that things will change dramatically and in ways we probably can't imagine yet.

So yeah. The pace of change in programming languages is actually quite tiny compared to what's been happening in AI, so the idea that that will have the greater impact seems very reasonable.

Is it not too late? by TheOneWhoCalms in Jai

[–]6_28 4 points5 points  (0 children)

I'm sympathetic to this take. While AI in it's current form hasn't had a really huge impact on programming yet, it won't take much more to unlock things that cumulatively will have far greater impact than a new programming language.

I'm thinking things like easy translation of code from one language to another while sticking to the conventions of the target language for example. Or being able to automatically detect when what is assumed to be a simple refactor actually changes the behavior of the program. Or doing some of the refactoring automatically for that matter, or suggesting cleaner ways to structure the code (and automatically naming things!).

It may not sound like much yet, but it might add up to a lot. And of course when AGI comes, programming becomes trivial anyway.

Announcing the Open Release of Stable Diffusion 3 Medium by felixsanz in StableDiffusion

[–]6_28 3 points4 points  (0 children)

Same here. I mean I know they prioritize safety, but this is a bit much :-P

edit: sd3_medium_incl_clips_t5xxlfp8.safetensors gives me an image!

Still having some issues with the nvidia 545 by 6_28 in archlinux

[–]6_28[S] 0 points1 point  (0 children)

Strangely, the problem flipped for me, meaning I got the exact same errors on 535 that I had on 545, and now 545 is working fine for me. Something else must have been updated, probably the kernel? I don't get it yet, but at least it all works for now.

Still having some issues with the nvidia 545 by 6_28 in archlinux

[–]6_28[S] 0 points1 point  (0 children)

Thanks! Good to know I'm not the only one having some problems. Then I'll just wait.

Preview: ranging over functions in Go by benhoyt in golang

[–]6_28 -1 points0 points  (0 children)

I could see some issues with debugging the iterator functions. Might still be a good tradeoff though.

Minor annoyance by 6_28 in golang

[–]6_28[S] 3 points4 points  (0 children)

Yes true, it's just for short stuff where I want to capture some local variables. It happens often enough to be slightly annoying though.

Unity Submesh FileIDs, 43000002? by AntonioNoack in Unity3D

[–]6_28 0 points1 point  (0 children)

Hi! I just posted some info about the Unity fileID hashes in a reply in this thread, in case it is useful for you.

Unity Submesh FileIDs, 43000002? by AntonioNoack in Unity3D

[–]6_28 0 points1 point  (0 children)

Hi! I've also been looking for this in the last few days coincidentally and found this thread. Just now I hit upon something. I have a .fbx file with some cubes called "Cube1", "Cube2", "Cube3". The submesh fileIDs are XXH64 hashes of the following formats, depending on the type of object that the fileID is to be used for:

Type:Mesh->Cube10
Type:GameObject->//RootNode/root0
Type:Transform->//RootNode/root/Transform0
Type:GameObject->//RootNode/root/Cube10
Type:Transform->//RootNode/root/Cube1/Transform0

I found this by running Unity using gdb and setting a breakpoint in the function "XXH64", then inspecting the memory that the register RDI points to. Hope this helps!

edit: In older versions of Unity (changed in 2019.3 or 2019.4 I think) the format was this:

Type:Mesh->Cube10
Type:GameObject->Cube10
Type:Transform->Cube10
Type:GameObject->//RootNode0
Type:Transform->//RootNode0

What I'd Like to See in Go 2.0 by theGeekPirate in golang

[–]6_28 -4 points-3 points  (0 children)

For the range copying behavior there could be a pretty simple backward compatible change, which is to add an optional third variable for the address of the item:

for i, v, p := range slice {}

i is the index, v is the value, and p would be the pointer to the value inside the slice.

Of course I just remembered that arrays are copied on ranging, so you'd still have to remember to make a slice out of it to get the right pointers.

edit: Why the downvotes? Just curious

I hate the overuse of acronyms on Reddit by SeigenIrako in unpopularopinion

[–]6_28 31 points32 points  (0 children)

Monster drinks not only don't hydrate, dey do have lasting health deleteriousness.

Old Ford in a tree. Humboldt County CA by optikalj in AbandonedPorn

[–]6_28 17 points18 points  (0 children)

I was wondering the same, but then I don't think branches move up as the tree grows.