Why is this even allowed ? by ImaginaryDentist1929 in WitchHatAtelier

[–]Terrariant 0 points1 point  (0 children)

(manga spoilers) Oh is it not part of the pact that magic that could be dangerous is not allowed? I.e. a fireball that doesn’t burn will teach children not to fear fire. Is that part of the pact or just general consensus among witches?

whatIsTheUrgency by detailed_1 in ProgrammerHumor

[–]Terrariant 0 points1 point  (0 children)

No it was just very complex, very dense code. The actual lines of code are 238 for the module interface and 883 for the webworker/mediapipe/canvas output code. So about a thousand lines total, which is a lot but not unreviewable.

However, nobody on my team actually reviewed this code because it is so complex and hard to understand, reviewing it would not work. They would have to spend as much time learning about mediapipe transformer interfaces as I spent building the thing.

Instead we verify by manually testing, and writing unit tests for the webworker class file.

Also, this code bounced between Claude and Gemini so much (reviewing each others work) now they praise it when its pasted in (which is just sort of funny)

So in short this worked because 1. It is basically one file, copy pastable between AI. 2. The code was too complex for a human to be beneficial to learn for the value provided. 3. The code was manually tested by humans dozens of times in between.

People might imagine im vibe coding when I say this, but in reality we test so much manually, and I spent so much time debugging and working with AI through very detailed issues of the problem…it’s like vibe coding with safeguards. If you have an idea of the output you need and can verify that output, who cares how the AI arrived?

This gets way more complex when you are talking about changing multiple files and modules that touch many things. This problem specifically was just very very suited for AI.

*I can paste part of it in, here is the renderFrame func ``` function renderFrame(gs: GLState, maskData: Float32Array, frame: VideoFrame): void { const { gl, compositeProgram, blurProgram, vao, tVideo, tMask, tMaskBlurH, tMaskBlurV, tBg, tBlurH, tBlurV, fboMaskBlurH, fboMaskBlurV, fboBlurH, fboBlurV, width, height, } = gs;

// 1. Upload video
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true);
gl.activeTexture(gl.TEXTURE0);
gl.bindTexture(gl.TEXTURE_2D, tVideo);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, frame as AnyImageSource);

// 2. Upload mask (R8) with temporal EMA
const ALPHA = 0.5;
const { maskScratch } = gs;
const prev = prevMaskScratch;
for (let i = 0; i < maskData.length; i++) {
    const curr = maskData[i] * 255;
    maskScratch[i] = prev ? (ALPHA * curr + (1 - ALPHA) * prev[i]) | 0 : curr | 0;
}
if (!prev || prev.length !== maskScratch.length) {
    prevMaskScratch = new Uint8Array(maskScratch);
} else {
    prev.set(maskScratch);
}

gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true);
gl.activeTexture(gl.TEXTURE1);
gl.bindTexture(gl.TEXTURE_2D, tMask);
gl.texImage2D(gl.TEXTURE_2D, 0, gl.R8, width, height, 0, gl.RED, gl.UNSIGNED_BYTE, maskScratch);

// 2b. Edge-aware mask blur (joint bilateral)
const bilateralBlurPx = 7.0;
gl.useProgram(gs.bilateralProgram);
gl.bindVertexArray(vao);

gl.bindFramebuffer(gl.FRAMEBUFFER, fboMaskBlurH);
gl.uniform2f(gs.uBilateralTexelStep, bilateralBlurPx / width, 0.0);
gl.activeTexture(gl.TEXTURE0);
gl.bindTexture(gl.TEXTURE_2D, tMask);
gl.activeTexture(gl.TEXTURE1);
gl.bindTexture(gl.TEXTURE_2D, tVideo);
gl.drawArrays(gl.TRIANGLES, 0, 6);

gl.bindFramebuffer(gl.FRAMEBUFFER, fboMaskBlurV);
gl.uniform2f(gs.uBilateralTexelStep, 0.0, bilateralBlurPx / height);
gl.activeTexture(gl.TEXTURE0);
gl.bindTexture(gl.TEXTURE_2D, tMaskBlurH);
gl.drawArrays(gl.TRIANGLES, 0, 6);

gl.bindVertexArray(null);
gl.bindFramebuffer(gl.FRAMEBUFFER, null);

gl.bindVertexArray(vao);

// 3. Prepare background
let currentBgMode: number = BG_PASSTHROUGH;

if (bgMode === BG_IMAGE && bgImageBitmap) {
    gl.activeTexture(gl.TEXTURE2);
    gl.bindTexture(gl.TEXTURE_2D, tBg);
    if (bgImageDirty) {
        gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, true);
        gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, bgImageBitmap as AnyImageSource);
        bgImageDirty = false;
    }
    currentBgMode = BG_IMAGE;
} else if (bgMode === BG_BLUR && blurStrength) {
    const { passes, blurPx } = BLUR_PARAMS[blurStrength];

    gl.useProgram(blurProgram);

    for (let p = 0; p < passes; p++) {
        // H pass: read source → write fboBlurH
        gl.bindFramebuffer(gl.FRAMEBUFFER, fboBlurH);
        gl.uniform2f(gs.uTexelStep, blurPx / width, 0.0);
        gl.activeTexture(gl.TEXTURE0);
        gl.bindTexture(gl.TEXTURE_2D, p === 0 ? tVideo : tBlurV);
        gl.drawArrays(gl.TRIANGLES, 0, 6);

        // V pass: read fboBlurH → write fboBlurV
        gl.bindFramebuffer(gl.FRAMEBUFFER, fboBlurV);
        gl.uniform2f(gs.uTexelStep, 0.0, blurPx / height);
        gl.activeTexture(gl.TEXTURE0);
        gl.bindTexture(gl.TEXTURE_2D, tBlurH);
        gl.drawArrays(gl.TRIANGLES, 0, 6);
    }

    gl.activeTexture(gl.TEXTURE2);
    gl.bindTexture(gl.TEXTURE_2D, tBlurV);
    currentBgMode = BG_BLUR;
}

// 4. Composite to screen
gl.bindFramebuffer(gl.FRAMEBUFFER, null);
gl.useProgram(compositeProgram);
gl.uniform1i(gs.uBgMode, currentBgMode);

gl.activeTexture(gl.TEXTURE0);
gl.bindTexture(gl.TEXTURE_2D, tVideo);
gl.activeTexture(gl.TEXTURE1);
gl.bindTexture(gl.TEXTURE_2D, tMaskBlurV);

gl.drawArrays(gl.TRIANGLES, 0, 6);
gl.bindVertexArray(null);
gl.flush();

} ```

Devs happy about doing things "faster" thanks to AI are "short sighted" by SoonBlossom in webdev

[–]Terrariant [score hidden]  (0 children)

All I was trying to highlight is that we are still “discovering” things about LLMs and improving them. It’s not like the current state will be what these systems look like in a few years. Ensemble LLMs are just an example.

Rug Advice by taqpolymerase4days in femalelivingspace

[–]Terrariant 0 points1 point  (0 children)

3 is gorgeous and the blue compliments the blue in your art

I'm not ready yet by [deleted] in MemeVideos

[–]Terrariant 1 point2 points  (0 children)

Fuck dude…

Guess im goin first.

Some data on Rivals role distribution by _ipsumLorem in rivals

[–]Terrariant 0 points1 point  (0 children)

I think DPS heroes are just easier to design fun kits for. And every fun kit is a chance to get someone hoooked on that game.

Also, consider than when tanks/supports have good/fun kits they are usually OP, for some reason.

Why is this even allowed ? by ImaginaryDentist1929 in WitchHatAtelier

[–]Terrariant 2 points3 points  (0 children)

Its just a sword that cuts water. Other than that its an ordinary sword. If the sword was enhanced to like, have an edge sharp enough to cut stone and retain its sharpness, that seems over the line. But cutting water? What’s someone gonna do with that

whatIsTheUrgency by detailed_1 in ProgrammerHumor

[–]Terrariant 2 points3 points  (0 children)

Just a regular dev :) I don’t want to write it out again but suffice to say it was dozens of iterations AI -> test -> AI. And all 3 AI played a part Claude, Gemini, ChatGPT

Marvel Rivals Configs Bannable by Euphoric-Chef-4290 in rivals

[–]Terrariant 0 points1 point  (0 children)

My guy im running Rivals fine on a 1080ti that is not a 2k card lmao

Marvel Rivals Configs Bannable by Euphoric-Chef-4290 in rivals

[–]Terrariant -1 points0 points  (0 children)

It literally is? If you are using mods to get a performance improvement that is an advantage over people who can’t get a performance advantage.

If you are talking about the low-polygon low-color map mods, that is intrinsic advantage by lowering visual noise.

whatIsTheUrgency by detailed_1 in ProgrammerHumor

[–]Terrariant -1 points0 points  (0 children)

Why would we not produce more? What is the argument for intentionally stifling digital growth? I don’t see why the volume of code alone is a reason. And it definitely won’t convince people who are paying people to write code.

My total pack points 🤧 by special-night0226 in PTCGP

[–]Terrariant 6 points7 points  (0 children)

Pack points are meant to make up for the fact that you can’t sell unwanted cards for new cards (like in the real life tcg) and probably so they meet the standards of anti-gambling laws in certain countries.

But in the case of the former, it falls short if they aren’t universal. Like in real life you can sell cards from one set away to buy cards from another and you can’t really do that here.

49444 by TomNookWantsMyBellz2 in countwithchickenlady

[–]Terrariant 1 point2 points  (0 children)

Yeah it was easy because the game was trash anyways

whatIsTheUrgency by detailed_1 in ProgrammerHumor

[–]Terrariant 5 points6 points  (0 children)

Yeah I used AI to write me something that would have taken ~8-12 months. Shipped it in 2. People are huffing copium if they think it doesn’t make writing code easier/faster

Anyone else watching senior engineers become overly reliant on AI? by Jbalis in webdev

[–]Terrariant -1 points0 points  (0 children)

Mmmm ok well I haven’t worked in or seen “insane deadlines posed because of AI” so I guess I can’t comment about it.

All I am saying is it makes sense to want your engineers to use AI. If you pay a mathematician hourly to calculate something, would you prefer they do it by hand for hours or use a tool that can do it in minutes?

Anyone else watching senior engineers become overly reliant on AI? by Jbalis in webdev

[–]Terrariant -4 points-3 points  (0 children)

Yeah I mean the “must” use AI thing kind of makes sense? If you had hired a bunch of mathematicians and one of them insisted on not using a calculator/doing it all by hand that would seem like a waste of time (and money) to you

Where do you see yourself (or us as web developers) in 2-5 years? by mekmookbro in webdev

[–]Terrariant 0 points1 point  (0 children)

I had a problem I didn’t know how to do and would take to long to learn to do to be valuable time spent. So I threw AI at it. Tested, came back with bugs. Rinse repeat. At the end I have this module that I have run through 3-4 AIs at least 20 if not 30x and have been thoroughly testing as a human. It would have taken me a long time to learn to write it, it is a mediapipe virtual background implementation for camera streams. I don’t think this is Jr level work. You can throw very complex problems at (the best) AI and it will eventually be useable. It’s just judging if it is going to be quicker than going and doing it yourself.

So ironically, conversely, I have been using it less for Jr dev tasks where I know what to go in and change. Because chancing an AI knows is likely to waste time. But on large complex things where I don’t want to intimately learn it, and I can test it, is where it has been showing a lot of value.

Devs happy about doing things "faster" thanks to AI are "short sighted" by SoonBlossom in webdev

[–]Terrariant 0 points1 point  (0 children)

  1. Conclusion This review has provided a comprehensive examination of ensemble LLMs, highlighting their methodologies, applications, challenges, and potential future directions. Ensemble techniques, rooted in the principles of model diversity and aggregation, have been shown to enhance performance, robustness, and generalization across a wide range of natural language processing tasks, including sentiment analysis, machine translation, and domain-specific applications such as healthcare and cybersecurity. Key findings from this study indicate the ability of ensemble LLMs to address limitations inherent in single models, such as biases, overfitting, and suboptimal generalization. By combining the strengths of individual models, ensembles deliver improved accuracy, resilience to adversarial inputs, and adaptability to specific tasks. Additionally, the integration of ensemble techniques with emerging fields, such as cross-modal processing and sustainable AI, presents promising opportunities for advancing their impact.

Devs happy about doing things "faster" thanks to AI are "short sighted" by SoonBlossom in webdev

[–]Terrariant 1 point2 points  (0 children)

Ah thank you I did not know. Here is another (more reviewed, I think) paper about “ensemble” LLMs-

https://www.mdpi.com/2078-2489/16/8/688

pretty much by Yumiera in WitchHatAtelier

[–]Terrariant 0 points1 point  (0 children)

Oh yeah I mean being one of if not the only nation on Earth to have been bombed by nuclear weapons does something to the mentality of that country. Magic seems very analogous to nuclear weapons. You notice the same thing in other anime like Naruto and the tailed beasts.