#programming

1 messages · Page 296 of 1

obsidian mantle
#

wtf windows has sudo?

olive sable
#

ye

#

its experimental iirc

amber fractal
#

yep it does

warm river
#

non stop when is speaker on and if its not on 0% volume

olive sable
#

or was it pacman that was experimental?

clear sedge
#

pacman has been on windows in certain variations for ages

warm river
#

pipewire

obsidian mantle
#

have you tried to figure out how it depends on frequency of sound

clear sedge
obsidian mantle
#

oh wait do you even dont need to play anything

warm river
#

idk if i remember correctly

#

i might be dumb if i ssy smth wrong

warm river
olive sable
#

it was only while you're playing audio right?

obsidian mantle
#

i remember changing that on windows and my sound just completely stopped working

warm river
#

but volume doesnt matter

#

unless its 0

olive sable
#

technically? neuroCatUuh

obsidian mantle
#

did lowering change anything

warm river
#

i just tried that

warm river
clear sedge
#

'tis the season to be jolly

#

falalalalalalala

#

it's advent of code time soon

obsidian mantle
#

idk i am 100% sure these settings are important but idk exactly why

#

pretty sure it should stop working if you choose wrong option

clear sedge
olive sable
clear sedge
#

ADVENT OF CODE IS SPONSORED BY SONY??

#

holy based wtf

obsidian mantle
clear sedge
#

///<

obsidian mantle
obsidian mantle
olive sable
warm river
#

i did set khz 44100

clear sedge
olive sable
#

sony does a lot of random shit

clear sedge
#

the samsungification of companies

olive sable
#

if its mildly tech related, sony is probably involved somewhere

#

id argue sony has been doing this for longer than smasnug

clear sedge
#

the sonyfication of companies

olive sable
#

cameras? sony
microphones? sony
projectors? sony
tv? sony
video games? sony
headphones? sony
other audio things? sony
phones? sony
sensors? sony
storage? sony
batteries? sony
optical media? sony
...

#

music instruments? apprently also sony

#

damn, even car parts

#

medical devices too

#

fuckign hell they have financial services

rigid snow
#

sony mic lmao
what other audio things
i don’t think they do storage (memorycard is long dead wake up pls)
what music instruments i have never seen a sony music instrument

nocturne olive
#

I don't even have a mic at all

rigid snow
#

it’s called memorystick

nocturne olive
#

I don't know what I need one for anyway

rigid snow
#

i don’t know if sony even has mics

olive sable
rigid snow
#

that shit is dead bruh

#

their cameras have sd

olive sable
rigid snow
#

like a recorder maybe

olive sable
rigid snow
#

sub role gone

#

lol

#

i’m orange

olive sable
#

did you become less yellow?

#

im colourblind

rigid snow
#

i was yellow now orange

olive sable
#

oh

#

oh thats what you meant with "im orange"

#

you werent before

rigid snow
#

yeah sub didnt renew because

#

no money

#

back to osu color neuroCatModeOfOfnnfOOf

olive sable
#

36 chord buttons ReallyInnocent

rigid snow
#

this is weird

#

what even is that

olive sable
#

besides those things, thye just made electric keyboards

rigid snow
#

cassette radio speaker chord thing

olive sable
#

it has a rhythm thing too. im assuming it jsut ticks in a specific beat

rigid snow
#

this seems like a gimmick product honestly

olive sable
#

it probably was

#

but it was 1979

rigid snow
#

or it’s a sampler

rigid snow
#

right now sony brand nonexistent in pro audio

#

idk if ever was, probably some headphones were

olive sable
#

this seems weirdly focussed towards education

rigid snow
#

what is the radio for

olive sable
#

playing along? Shruge

#

i cant find much info on it

#

different model, but close

clear sedge
#

he's mad

obsidian mantle
#

what about it

warped narwhal
#

Mr. Tsoding is about to kill us all

#

I'm trying to rewrite some coreutils for fun in C, C++ and Rust to learn them better and holy they do some funky things (I am banging my head against my desk send help)

#

just look at this absolutely horrible string to float code :D


long long decipher_float_time(const char* string)
{
    double             integer          = 0;
    double             fraction         = 0;
    unsigned long long fractional_index = 1;
    bool               is_fractional    = false;
    char               prefix           = 's';

    unsigned long long i = 0;
    while (string[i])
    {
        char c = string[i++];
        if (c == '.' && is_fractional)
        {
            // Numbers can't have multiple decimal points.
            fprintf(stderr, "sleep: invalid time interval `%s`\nTry 'sleep --help' for more information.\n", string);
            exit(1);
        }

        if (c == '.' && !is_fractional)
        {
            is_fractional = true;
            continue;
        }

        if (c >= '0' && c <= '9')
        {
            if (is_fractional)
            {
                double value = c - '0';
                for (unsigned long long j = 0; j < fractional_index; j++)
                {
                    value /= 10;
                }

                fraction += value;
                fractional_index++;
            }
            else
            {
                integer *= 10;
                integer += c - '0';
            }
        }

        else if (c == 's' || c == 'm' || c == 'h' || c == 'd')
        {
            prefix = c;
            if (string[i])
            {
                // the prefix is multiple characters long which doesn't line up with anything valid
                fprintf(stderr, "sleep: invalid time interval `%s`\nTry 'sleep --help' for more information.\n",
                        string);
                exit(1);
            }
            break;
        }

        else
        {
            // we don't know this character.
            fprintf(stderr, "sleep: invalid time interval `%s`\nTry 'sleep --help' for more information.\n", string);
            exit(1);
        }
    }

    switch (prefix)
    {
    default: case 's':
        return (long long)((integer + fraction) * SECONDS);
    case 'm':
        return (long long)((integer + fraction) * MINUTES);
    case 'h':
        return (long long)((integer + fraction) * HOURS);
    case 'd':
        return (long long)((integer + fraction) * DAYS);
    }
}
#

it does work though

obsidian mantle
#

doesnt look too bad

sage crag
#

chi p head

warped narwhal
#

there must be a better way to shift the fractional component though, instead of just looping whilst dividing by 10

clear sedge
#

*= 0.1 ReallyInnocent

olive sable
warped narwhal
#

that's one way. I'm actually more surprised that gcc doesn't convert the /= 10 to a *= 0.1 automatically

clear sedge
#

it probably does tbh

warped narwhal
#

I guess they aren't technically the same cause of floating point issues

clear sedge
#

it's probably a thing on -O3 mhmYes

young plover
#

-Ofast would
-O3 still doesn't substitute FP operations unless it can prove they're exactly the same

warped narwhal
#

yeah -Ofast does, but nothing else will

#
clear sedge
warped narwhal
#

wait, Ofast just turns the multiplication function into a reference to the divide function lmao

olive sable
#

absolute raccoon Mugi_raccoon

stone loom
#

Why make yourself suffer and waste time when you can fine tune an LLM and get a better PC to run it neurOMEGALUL

scenic depot
stone loom
scenic depot
#

No it can generate its own strings and detect typos

severe path
#
a = ~(a << 5 | (b & 0xBEEF));
d = a ^ ((e & mask) << 5);
return d;
severe path
#

You know those standards weren't written by actual developers!

Pfft... Bureaucrats.

#

If academia could produce a functional standard to save their lives, we wouldn't have half the problems we do today.

mighty thorn
fast pagoda
#

Just taking my karaoke machine for a casual walk in the park

#

It is also my homelab

amber fractal
#

why are the mics so smol in this image???

hearty notch
#

ant karaoke kit

#

only 67

stone loom
#

I think you don't know what's the difference between an Actual AI and a chat bot

#

Just fine tune an LLM neuroBritish

nocturne olive
#

Or...
Reject LLM, return to vocal synth

olive sable
nocturne olive
#

The triangler spotted

true hemlock
jagged turtle
nocturne olive
#

Sil

#

Isn't a vocal synth way more fun than an LLM though?

trim valve
nocturne olive
#

I mean what LLM can sing?

#

The answer is obviously none of them

jagged turtle
#

You find singing fun

#

and that's fun

#

for you

#

for other people they find text generation more interesting

#

some people may find both interesting

nocturne olive
#

Such silliness

true hemlock
#

vocal synth need effort at least to make bangers

#

llms are plug and play and tend to be sloppy

jagged turtle
nocturne olive
#

So very true

warm river
#

guys do yall think that my Raspberry pi will catch on fire by running ai models?

#

it goes up to 76C

#

lol

olive sable
#

No

#

It will just thermal throttle

tender river
#

ye want it go faster buy cooling neuro3

opaque sigil
#

water cooled pi neuroPogHD

jagged turtle
#

chayleaf are you on never-ending support now

#

or are you still in eol

maiden geyser
rigid snow
#

chay why are you gren

warm river
tender river
#

except

#

autumn

rigid snow
#

it winter in northern hemisphere

#

should be anything but green

#

even gone maybe

tender river
#

true true

#

i agree vedalAYAYA

obsidian mantle
#

Are you chay like 🍵

tender river
#

gone now neuroBlep

trim valve
#

NeuroHuh how does using the volume knob on my mic change mpv's volume if its focused

obsidian mantle
#

thonk mic sends commands

#

Mpv hooks input

trim valve
#

but like

#

oh wait actually

#

I guess it just presses the windows vol up/down keys

#

instead of fuckery

obsidian mantle
#

But its a mic

#

neurOMEGALUL is it supposed to imitate being lowered if you try to test it

#

While changing your volume

trim valve
#

it has a headphone jack

obsidian mantle
#

Ooh

trim valve
#

and thus the dial changes the headphone volume

rigid snow
#

cheese

rigid snow
#

what has my life come to

#

i just made a suno account

#

LMAOOOOOOOO

#

i don't even have words

#

fucking idiots

nocturne olive
#

Ok that thing is just stupid

#

It was already stupid but that's stupid++

#

Reject song generation, return to vocal synth

maiden geyser
rigid snow
#

ikr?

#

ok so i tried it and it just boils the prompt down to the most normie interpretation possible, ignoring most of it
my prompt is: 2020s rap, detroit rap, mumble rap, jerk trap, rage beat, electronic synths only
it generates: generic shit trap beat with boring guitar sample. like the stuff you'll hear on the radio

#

the company and the approach to what they're doing is shit but i was under the impression that at least the product is fine and does its thing

#

nuh uh

#

like i'm pretty sure sora 2 can generate better music

#

it's unbelievably shit

#

imagine coding ais would just give you the executable

#

this is what this is

nocturne olive
#

AI gen music is the average of all music that fits the prompt

rigid snow
#

i mean kind of

#

weird that we don't really have local music gen

nocturne olive
#

Corporations too greedy

rigid snow
#

because with art there isn't much you can do to make it good if you use some cloud image gen thing, but locally you have lots of things you can tweak

nocturne olive
#

Prompt-based AI generator things are kinda dumb anyway

rigid snow
#

none of the ai art people like and mistake for a real drawing comes from proprietary corpa models

#

because someone went out of their way and trained a lora to rip off an artist's style and applied it

#

that's what usually happens with ai art

#

people like

rigid snow
#

i wanna say ngmi but suno is valued at $2.45b

#

lol

#

i spent all of my free credits but none of the results are even remotely good

#

i can kinda see how this is fun tho?

dry charm
#

I need the help of the VimWizards

#

When I do a :bd! how can I make it so neo-tree is not fullwidth, but instead just moves to the next available buffer, or opens a temp buffer when last buffer is closed

dry charm
#

Ok solved by implementing mini.bufremove correctly

obsidian mantle
warped narwhal
#

Susge I'm not clicking that link

sick owl
#

You know, aliexpress, temu etc. might be truly awful

#

But man am I grateful for aliexpress and alibaba specifically

#

Cheap chinese servos my beloved

silent cloak
#

im working on hosting a really stupid project right now

#

one of the dumbest ive worked on

hearty notch
#

count the ways

shut sand
#

Brazil is indeed the biggest number, even bigger than 5

hearty notch
maiden geyser
#

thrembo

patent shard
dry charm
#

I mean, technically there is always going to be a n+1 number, so can we say it exists?

#

queue vsauce music

obsidian mantle
velvet vale
#

What about 3 Brazilian

glad path
#

"according to me"

olive sable
#

Imagine an entire country worth of brazilians

#

That woukd be wild

#

213.4 million brazillian

olive sable
#

crazy how its called the "Z trifold" but it doesnt fold like a Z

#

thats a U

#

all of the AI generated "leaked" images has it folding like a Z

jagged turtle
#

too relatable neuroAware

amber fractal
olive sable
#

you mean the paraglider?

trim valve
#

is it a bad idea to try and install an SSD at 5am

olive sable
#

NeuroClueless what could go wrong

trim valve
olive sable
#

just dont drop any screws and you're good rpobably

trim valve
#

5am pc rebuilding stream

#

surely that's a good idea

#

at Sam would you want to watch me install an SSD

olive sable
#

what?

#

at me?

trim valve
#

😭

olive sable
#

oh to watch?

#

sure

#

that sentence could have used some punctuation lmao

trim valve
#

😭

#

it's 5am

#

I don't think as much as I should

olive sable
#

i woke up at 3am cuz the gods have graced me this fine tuesday morning

#

so im workign on my bledner rn

trim valve
#

welp

#

in vc

trim valve
#

successful SSD installation

olive sable
trim valve
#

I need to decide if I use it to commit to the Linux bit or not

glad path
#

still cant fc a 3star

olive sable
#

you could put a linux partition on it if you want i guess

glad path
#

atleast

#

not terrible acc

olive sable
glad path
#

idk

#

gaming is only umamusune fans

olive sable
#

be the change you want to see

trim valve
#

my pipedream idea is kinda cursed

#

dual boot but the Linux side can run the windows install as a vm

#

would probably make secure boot very unhappy

scenic depot
trim valve
#

but I lose the ability to do GPU stuff with this

jagged turtle
amber fractal
olive sable
amber fractal
#

Wait, why does that work

#

I guess if pings work then so do channels

#

FOCUS I can strikethrough pings

#

@olive sable Test

#

It works neuroHypers

olive sable
jagged turtle
#

lmfao

amber fractal
#

I'm working on a copypasta rq

#

I'm not using emotes but I think people who edit it are going to include some I think

glad path
# amber fractal I'm working on a copypasta rq

Bro… you take a TREE 🌲👉😦 Yank it out of its cozy lil forest home 🏞️😭 Rip it away from its TREE FAMILY 🌲👨‍👩‍👧‍👦💔 Then you just… stick it in your HOUSE 🏠😳 and sleep-deprive it 😵‍💫 and STARVE IT inside a cardboard coffin 📦💀✨ AND THEN—AND THEN— you decorate its corpse 💀🎄✨ with shiny happy little trinkets 😂🌟🎁 like “haha look at these symbols of joy, lil tree 😌✨” Suddenly you're like: “OMG I LOVE THIS TREE 😍💖🌲 IT IS THE CENTER OF MY ENTIRE EXISTENCE” and you worship it for WEEKS 🙇‍♂️🌟😩 Then you shove the gifts of MEGA-CORPORATE CAPITALISM™ 💰📦🏭 under it— the fruits of GREED 🍎💵😤 And when you're done? You KILL IT AGAIN 😭🪓🌲💀 Cold. Calculated. No mercy 😐🪓❄️ Silent except for the sound of your tears that aren’t even for the tree— just because the holiday vibes are ending 😩🎄💔 And for WHAT?? FOR CHRISTMAS?? 🎅❓ A holiday forged in the dark laboratories of CAPITALISM™ 💰🧪😈 A ritual designed to drain wallets faster than Santa eats cookies 🍪💸💸💸 You don’t believe me?? GO LOOK IT UP 📚👁️👄👁️💥 Barely a single crumb, a microscopic morsel, is rooted in real tradition 💀✨

olive sable
amber fractal
glad path
#

thought I posted that in genchat

amber fractal
olive sable
amber fractal
#

I'm realizing the strikethrough looks so much better on PC for channels than on mobile holy

vernal current
#

so, anyone want to see the media center app i'm working on for watching anime on the gabecube?

nocturne olive
vernal current
amber fractal
#

I only reconize one of these and the one I do know is index, man I'm uncultured

vernal current
#

there's railgun on there too

amber fractal
#

I am blind

dense kestrel
#

who is doing advent of code lol

amber fractal
dense kestrel
olive sable
#

thats fine i think

dense kestrel
#

sobbadobadob

#

who even recognizes it

amber fractal
dense kestrel
dense kestrel
amber fractal
dense kestrel
#

wow the color is gone

amber fractal
#

the strikethrough is still there just not on top anymore, hence why the thing is bold

vernal current
#

huh, I can't post the screenshot of my console listing all the file hashes the program is computing while rebuilding the database that stores info on my anime library now that I switched to a different database type.

amber fractal
#

Discord does not do much formatting stuff at all on moble, python however works for some unholy reason

vernal current
#

c works too

dense kestrel
#

u mean in code blocks?

vernal current
#

it uses the same library for all code formatting on mobile that it does on desktop

amber fractal
dense kestrel
#

```cpp
#include <iostream>
using namespace std;
int main() {
int* safe = nullptr;
cout << *safe;
}
```

#

like that kind of code block?

amber fractal
#

diff doesn't because otherwise I wouldn't have issues

vernal current
amber fractal
amber fractal
dense kestrel
#

escape char are very powerful

amber fractal
#

I use mobile all of the time so I know not all of them work

dense kestrel
#

cpp indeed doesn't work

vernal current
dense kestrel
#

on mobile

#

wow

dense kestrel
#

no brainrot message

amber fractal
#

is ```diff

dense kestrel
#

i tried sending brainrot

#

and i get automodded!

amber fractal
#

Brainrot is banned yep

dense kestrel
#

how unfortuitous

#

ts so unsigma

#

too kevin

vernal current
#

the only copypasta I think should be in the programming chat is probably the gnu/linux copypasta bc it's funny and on topic

vernal current
olive sable
amber fractal
#

On one hand I agree, on the other hand sending people to another channel is also on topic enub

dense kestrel
#

anyways

#

these problems are too orz

#

this is the only plat problem i can solve sobbadobadob

#

and the impl was not the greatest

vernal current
#

So this is what my app uses to figgure out what anime episode you have:

{
    "crc32": 340566913,
    "ed2k": "b7822f760554aaf5e5733f3f9e7c1a8e"
}

It then queries a database of anime episode hashes to pull down the correct episode info, I'm planning on also doing a SSIM based identification system at some point too.

#

bonus points if you can identify the anime episode that json references

amber fractal
#

This one does actually work

dense kestrel
#

💀

#

unless you're calling some library that doesn't exist in other languages

#

you like 10/10 should never be using python

#

world's worst performance

amber fractal
#

I'm not starting this debate, I'm just talking about the highlighting being functional

#

In conclusion, discord syntax highlighting on mobile is a case by case basis

hearty notch
#

gm

glad path
#

should i try aoc

glad path
#

i use python a lot simply because I know it well and so if i need to make something it's easiest for me to use python

#

where applicable i have no issues using other languages

glad path
dense kestrel
#

your aoc journey will be fraught if you use python

#

some cheese solutions will NOT run fast enough

glad path
#

not complicated

dense kestrel
#

smh

#

if you are proficient in another lang

#

why further cement yourself in python

#

a language where ints are immutable

hearty notch
#

SCALA

dire turret
#

college cs soon

#

anyone know what i can expect hehe

silk drum
#

Did anybody here programmed a hopefield neural network from scratch ?

#

I am trying to do just that and I am encountering problems

#

I keep having only one stable attractor, also it's not à classical hopefield network but one using continuous values

#

So the inputs and outputs are float in [-1,1]

true hemlock
#

its often used like a basic script for most things that doesn't even need any performance

#

like, simple command websockets for some of your devices, or parsing something relatively small, depending on what you want, and these compared to most other languages isn't any different in speed

#

most backend also works fine with python

#

on average python can still do million things per second so plenty fast enough.

#

we also have bindings for some libraries. some ML researcher prefer using pytorch as example for testing because its just simple

#

i am NOT spending a lot of time writing hundreds lines of C for some simple networking backend if i can just do it on few lines on python and it works just as fast in that specific task

jagged turtle
#

literally ^

#

what the fuck

olive sable
dense kestrel
#

smh

#

sounds like u should get better at writing cpp

jagged turtle
#

🤦‍♂️

#

put it another way, even if I knew Rust, I wouldn't write something quick and disposable in Rust if I could do the same thing much faster on Python scripting-wise

#

it is not related to "skill" or "you should get better at writing <low-level lang>" it is related to "I just need to make something quick and dirty, I will use a high-level language to save myself some implementation time since for those python is fast enough anyways"

olive sable
#

Im not gonna sped an hour in cpp when i can do it in 30min in python

#

Sure, my cpp game engine runs at 13000 fps, so it is faster

#

But the python one does 4k fps, so its fine

#

Some people here know asm, i dont see them spending a month writing asm code for what could have been an hour of python code

hearty notch
#

sounds like everyone should relearn PERL

#

me when i rewrite the entire python ecosystem in perl

silk drum
#

I don't see a lot of people programming A.I from scratch in here...guess not everyone is as insane as me X"D

hearty notch
#

we have different insanities

#

i am programming heterogenous distributed topology generation from scratch

silk drum
#

ok, you are insane as well, just not the same kind of insanity X"D

hearty notch
#

exactly

faint sandal
stark needle
#

I hate the Bazel build system with passion

#

So much

#

It's literally the most Inconvenient tool possible

#

For Development

#

I'm trying to use this for making an ai vtuber as a challenge and I'm facing so many issues

rigid snow
#

valve waydroid fork name “lepton”

#

steam frame run apk game

stark needle
olive sable
#

Some of the projects people here are working on are wild

#

Also, its not a competition meow

torpid coral
#

I think

torpid coral
#

True

true hemlock
nocturne olive
#

You'll never guess why my laptop touchpad stopped working a bit earlier today

olive sable
nocturne olive
#

Nope, the power supply was planning to light on fire

#

I'm kinda surprised there's no permanent damage and the touch pad being broken with this thing plugged in was the only issue

olive sable
#

Power supply? In a laptop?

#

Surely you mean the battery?

obsidian mantle
#

Probably meant the thing on the wire between laptop and electricity socket

#

Transforming 240ac to 16dc or how much laptop needs

#

Because battery on fire doesnt seem to happen without permament damage neurOMEGALUL

nocturne olive
nocturne olive
olive sable
nocturne olive
#

I don't know but it did

#

My guess is the leaking power, whatever was causing it to leak, was interfering with it someow

true hemlock
#

i want this...

#

objectively best looking GPU imo

#

top of the top

#

comes second

#

third would be the TITAN V

uncut panther
#

why are there so few things in the steampunk style...

true hemlock
#

ikr

#

these 2 are made by igame colorful

#

chinese company, arguably better than msi and even asus level of quality

obsidian mantle
true hemlock
#

might be hot take, i find minimalist designs like the newer FE as example quite boring

#

titan v objectively best looking design out of all Nvidia's own designs

#

either that or TITAN X

#

9 and 10 series FE comes next

obsidian mantle
#

What about this one

#

4090 matrix

true hemlock
#

still loses to the 2 steampunk design i've shown imo

uncut panther
uncut panther
true hemlock
#

i want more genuinely detailed designs... minimalist design can seem clean but often just gets boring

rough bloom
#

this is neuroTomfoolery

shadow sinew
#

Is that DDR5 memory? A big gold pendant might be cheaper.

uneven pulsar
rough bloom
#

Yeston

silk drum
# torpid coral We seem to be similar in terms of insanity

ok, YOU, did you already made a continuous hopefield neural network from scratch ? I have a lot of trouble making mine work, so I would love advice (If I try to make this mofo learn more than one patern it always has only one stable attractor...this is not normal, and make it useless essentialy)

uneven pulsar
#

ya yeston i forgot the name, this was the best looking gpu made by yeston imo

rough bloom
#

FOCUS colors

uneven pulsar
torpid coral
dusky jackal
true hemlock
#

like objectively best looking GPUs

#

out of all

#

wait i should definitely do this as a flex

dusky jackal
#

Ngl I’d wear that in public. neurOMEGALUL

true hemlock
#

absolutely neurOMEGALUL

#

unfortunately these doesn't have the heatsink :(

noble zodiac
#

imagine wasting hours by not reading the task for aoc correctly

#

couldnt be me

rough bloom
noble zodiac
#

must be the wording

#

I'm using it to refresh my c++

noble zodiac
#
return std::ranges::fold_left(
view
    | std::views::split(',')
    | std::views::transform([](auto v) {
        return v
            | std::views::split('-')
            | std::views::transform([](auto v) {
                uint64_t result = 0;
                std::from_chars(v.data(), v.data() + v.size(), result);
                return result;
            });
    })
    | std::views::join
    | std::views::chunk(2)
    | std::views::transform([](auto chunks) {
        return std::ranges::fold_left(
            std::views::iota(*chunks.begin(), *std::ranges::next(chunks.begin()) + 1)
                | std::views::filter([](auto num) {
                    auto len = static_cast<int>(floor(log10(num)) + 1);
                    auto gen = std::views::iota(0, len)
                        | std::views::transform([num, len](auto i){
                            return (num / pow10[len - 1 - i]) % 10;
                        });
                    return std::ranges::fold_left(
                        std::views::iota(1, (len / 2) + 1)
                            | std::views::transform([gen](auto n){
                                auto chunked = gen
                                    | std::views::chunk(n);
                                auto res = std::ranges::adjacent_find(
                                    chunked,
                                    [](auto&& a, auto&& b){
                                        return !std::ranges::equal(a, b);
                                    });
                                return res == chunked.end();
                            }),
                        0,
                        std::plus()) > 0;
                }),
            0,
            std::plus());
    }),
0,
std::plus());
opaque sigil
clear sedge
#

well well well, how the turn tables

clear sedge
mighty thorn
#

Turns out

#

TTS training, even for LoRA, immensely benefits from long sequences and high batch size

#

My 12GB 3060, however, does not benefit from long sequences or high batch sizes

nocturne olive
#

Should have spent all your money on a 3090 like I did

#

Worth it

mighty thorn
nocturne olive
#

4/4?

mighty thorn
#

100% vs 25%

nocturne olive
#

And what do you mean by having only 25% of a 3090?

mighty thorn
nocturne olive
#

A 3090 is just 500€

mighty thorn
#

And?

nocturne olive
#

Well that's pretty cheap

mighty thorn
#
  1. I don’t have €500
  2. They are worth more than €500 where I live
#

If you want to fix either of those, feel free miniSmug

clear sedge
#

got it, sending you 600 bucks asap

mighty thorn
#

Alr glueless

#

Around these parts they go for closer to €650

#

And that’s the minimum before it’s too good to be true

#

Average is closer to like (guessing the conversion this time) €675-725

clear sedge
#

uuuuhh

#

they go for a lot more here

#

depressing

mighty thorn
#
  1. Where the scallop are they worth that much?
#
  1. Are you interested in an international drop shipping price gouging operation?
obsidian mantle
#

no it would not neuroCry

clear sedge
#

i hate it here :D

clear sedge
#

must be the ram prices

opaque sigil
#

Big dram ruining everything

nocturne olive
opaque sigil
#

It's also a 3090 ti

nocturne olive
#

True

rigid snow
#

Anthropic is acquiring @bunjavascript to further accelerate Claude Code’s growth.
︀︀
︀︀We're delighted that Bun—which has dramatically improved the JavaScript and TypeScript developer experience—is joining us to make Claude Code even better.
︀︀
︀︀Read more: www.anthropic.com/news/anthropic-acquires-bun-as-claude-code-reaches-usd1b-milestone

**💬 143 🔁 109 ❤️ 1.1K 👁️ 47.6K **

#

LMAO?

rough bloom
#

Anthropic

rigid snow
#

can someone explain

rough bloom
#

why

rigid snow
#

why do they need bun

#

what for

#

just for claude code? then i'm hyped kinda

#

much more priority to the native executable build thing

opaque sigil
#

maybe they want to do some weird code execution stuff that needs a special runtime?

#

who knows, but on the surface it does just look like it's for claude code enub

hearty notch
#

i think being close to zig devs and like

#

possibly tuning to be really good at zig is a side bonus

#

but yeah probably subsuming claude code-related ux knowledge and maybe their webapp ux knowledge too

faint sandal
sage crag
#

ram is a type of animal

#

sell cat for ram makes sense as ram is more useful as a work animal

mighty thorn
warped narwhal
#

TempleOS go brrrrrr

#

I've already made it crash neurOMEGALUL

tender river
tawny hinge
jagged turtle
#

ig claude neuroHeart bun now huh

rigid snow
#

claude code always was bun

warm river
#

i never used ai agents tbh

jagged turtle
tender river
hearty notch
#

ye

#

fate of zig

#

who knows

silent cloak
hearty notch
#

im not calling it either way; i have like slight optimsm but mostly high uncertainty

silent cloak
#

Can't wait for a community fork

hearty notch
#

it might happen soon because of the amount of anti LLM sentiment that exists

#

would be an interesting phenomenon

silent cloak
#

Considering how low level code and LLMs dont mix I expect them to abandon zig or scale back resources

#

If not then I'll be surprised as it will be a first

hearty notch
#

i dont think their philosophy is to only work on strengths

#

also i think its already better at zig than you think but idk

silent cloak
#

Its a company that does exclusively AI buying out a company behind a language

hearty notch
#

wellt he headline purpose is still the bun framework itself to develop claude code and probably their webapp ux

#

but i dont see why they wouldnt try to harden every aspect rather than like

#

cherry pick and let rot

silent cloak
#

Because they are likely just in it for the web dev tools

hearty notch
#

i think zig has enough genuine low level enthusiasm that if thats the case then the community will keep it going strong, at the least

#

zig is like fundamentally good enough

#

that it wont die from this

#

thats my read; we'll see

silent cloak
#

How is the licensing for zig

opaque sigil
#

MIT

#

not like zig has anything to do with this, you'd be stupid to suddenly try to rewrite bun in another language

#

there is no benefit

hearty notch
#

ive just read things about bun being the foremost framework in zig trying to be cautious themselves not to put too much upstream pressure on zig

#

there are tensions when youre that big

opaque sigil
#

they're just one zig project

#

one of the larger ones admittedly

hearty notch
#

yea i might be overthinking it

opaque sigil
#

they have no influence on the language

hearty notch
#

i thought i read somewhere that they specifically were trying to manage their own influence on the language because they had some but i dont remember where i read this lmfao

silent cloak
#

speaking of zig they had a pretty big update recently

hearty notch
#

ye they did something fancy with their async/await

#

idk im not gonna get into it but it is exciting stuff if you're a c style language fan

silent cloak
#

Same

#

Thats part of why I can't really get into rust for hobby work

hearty notch
#

what are your comfort langs

silent cloak
#

C# mostly, but Java originally and lately ive been doing alot of C++ for a game engine

#

I love C# as a language but I dont like JIT

hearty notch
#

makes sense

silent cloak
#

Ive thought of making my own for a side project with a similar syntax but lower level

hearty notch
#

that kinda thing

#

its not the biggest deal though its just another dynamic to work around

silent cloak
#

They are in a stage where extreme changes are expected still

opaque sigil
#

if you use zig you accept breaking changes

#

that's kind of the unwritten rule

hearty notch
#

doesnt mean zig doesnt feel some level of pressure when aware of what would break

#

but yes bun themselves said theyre trying not to exert that pressure

opaque sigil
#

i doubt they care much, sometimes things just need to break

silent cloak
#

They recently killed a ton of coroutine stuff

opaque sigil
#

They basically broke everyone's code in 0.15 by rewriting the reader/writer stuff

silent cloak
#

Once the language gets more stable I imagine less breaking changes

#

But it will help avoid bloat for now

#

Don't need C++ levels of feature stacking 5 years in the future

opaque sigil
#

For sure mhm

hearty notch
#

ye youre right i read a bit more on the zig maintainers

#

i was conflating some anecdotes that bun discovered things for zig to fix but thats not the same thing rly

stone loom
#

Someone should program a game in brianfuck language

true hemlock
onyx sable
#

Does anyone know how to fix this error message when i try to compile?

program. Check the spelling of the name, or if a path was included, verify that the path is correct and     
try again.
At line:1 char:1
+ javac Main
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (javac:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException```
jagged turtle
#

uhm so

#

it says that javac is not recognized as the name of a cmdlet/function/script/program

#

are you sure you didn't mean to type java instead of javac

onyx sable
#

javac is the compile command

#

java is the run command

jagged turtle
#

well then your javac is not on your PATH

#

so it can't see

true hemlock
#

apparently one of my 32gb dimm is faulty

#

amazon offered me to replace it with another brand but.... better specs...?

#

since the exact same kit doesn't have replacement available

olive sable
#

Goodmorning

olive sable
#

Someone else can suffer if they want to

jagged turtle
#

can I ask how one fixes this issue when using nitro(js) v2

fast pagoda
#

Lol anthropic purchased bun

#

Wtf

olive sable
#

it like node.js but better?

fast pagoda
#

It's npm

#

But better

olive sable
#

uh

fast pagoda
#

Or pnpm etc

#

It's one of those

olive sable
#

idk what that is

#

oh its a package manager?

fast pagoda
#

Yes

#

It's kinda like uv for python

#

Faster mostly drop in

#

Anything you'd use npm for generally bun has an equivalent

olive sable
#
includes a JavaScript runtime, package manager, test runner, and bundler.

seems to be more than only a package amnager

fast pagoda
#

They even have like bunx instead of npx etc

#

It's like a whole runtime

#

Competitor to npm, pnpm, yarn

young plover
#

Hmm, looks like it may not be based on node
still just a v8 wrapper though

#

wait wtf

#

deepfried They wrapped Apple's javascript engine to be compatible with the v8 C++ API

fast pagoda
#

Epic

#

That part I did not know lmao

#

And I've been using bun off and on

true hemlock
#

aight

#

my time to overclock 7950x es

#

first time overclocking with AMD

amber fractal
#

and quack was never heard from again because the PC exploded neuro7

true hemlock
#

pretty shit score

#

my main complaints is that msi's pbo suck

nocturne olive
onyx sable
#

I can send more updates tomorrow but it's 3 am rn where I am

nocturne olive
#

On Windows 11 you must restart

#

Because Windows 11 is stupid

#

On Windows 10 you could change the PATH without restarting

onyx sable
#

I'll try that when I wake up

jagged turtle
#

pylance is high

jagged turtle
nocturne olive
#

No Windows 11 needs full system I believe

#

Windows 10 the shell only was enough

nocturne olive
# jagged turtle pylance is high

Maybe because the function being referenced is below the reference location? Python definitions go from top to bottom as in execution order

jagged turtle
nocturne olive
#

Weird

#

I guess it has inconsistent behavior or Vedal is stupid

#

I don't know which is more likely at this point

jagged turtle
#

leaning towards inconsistent behaviour

#

either that or microsoft realised how stupid it was

#

is this how I make an object type in python?

#

i have not touched python in a while

nocturne olive
#

Looks about right

#

Python is just a little bit weird

#

And that's why I don't use it

jagged turtle
#

I hate this syntax

#

how many array syntax stuff do I have to do neuroSob

#

anyways I forgot to define the handler

#

I want to go back to ts but there's no official docker SDK for ts neuroSob

nocturne olive
#

Python syntax is weird yeah

clear sedge
#

python is ass

olive sable
#

"If you're wanne do illegal stuff, im not gonna stop you. Especialy if it screws over Nintendo, i think thats kinda funny"
-my teacher on the subject of nuzlockes

nocturne olive
#

Sil

jagged turtle
rigid snow
#

idk what afunyun is on about

#

it is a js runtime

rough bloom
#

it's a JS runtime + package manager + bundler + webserver + probably other stuff I forgot
they just integrate everything

#

but first and foremost it's a runtime nodders

olive sable
young plover
#

Got a pixel 10 in the mail today and installed GrapheneOS
Can confirm the hardware is crap.

  • PowerVR GPU which made some funky artifacts in Star Rail
  • Absurdly large camera bump. Bigger than my current phone which has an actual optical zoom lens.
  • Corners are too round and the camera is way too far from the edge of the display. It looks terrible when apps draw under it and I wish I could reserve that space only for the status bar.
  • I had to buy the pro version purely to get 512 GB of storage. The specs aren't really much better otherwise.

If I could flash a custom ROM on my Xperia 1 IV and fix the fingerprint sensor I'd keep using it.

#

Other downgrades from my current phone

  • No headphone jack (I do use it with my wired cans, gave up on trying to make Bluetooth sound good)
  • No SD card slot
  • eSIM only
  • Lower resolution display
#

Only good thing I can say about the Pixel 10 is that it has an ARMv9 CPU and bright display.

sage crag
#

rr

olive sable
#

rrr

rough bloom
#

rrrr

jagged turtle
sage crag
sage crag
olive sable
sage crag
rough bloom
sage crag
rough bloom
olive sable
glass zinc
#

Is it okay to create multiple github account for the copilot free trial?

opaque sigil
gray tartan
#

can u install microsoft`s apps like excel,word, and office 4free??

#

icant somehow download them

#

its paid when i go to the site

obsidian mantle
#

if you want it for free you will have to do a little bit of tomfoolery to microsoft 🏴‍☠️

gray tartan
#

u actually need to pay for those/?/?/???

obsidian mantle
#

maybe there is free trial

olive sable
gray tartan
obsidian mantle
# gray tartan ILL CHECK OK

doesnt mean it will lie down on their website on main page, sometimes they literally hide the links so they are unavailable to walk into through main page

olive sable
gray tartan
#

OKI FOUND OUT UCAN MAKE MICROSOFT365FREE PLAN ACC

olive sable
#

i think the only free ones are the web based ones, and there is some free stuff for students iirc.
there are also the mobile apps which are free i think

gray tartan
#

Itsmyfirst timeusing desktop😭 so irlly hvee no ideaat all

#

recently reset everythingso everyapp are gonr

olive sable
#

so basicly, use the web version or pay i think

light tartan
#

just pirate it

olive sable
#

or jsut dont use copilot 365 or whatever it is called now, and use some free alternative

olive sable
#

if the mods see this you're dead

obsidian mantle
#

thonk its microsoft though

olive sable
#

is what?

#

oh

#

i thought it was a question

obsidian mantle
light tartan
#

who cares about microsoft

gray tartan
obsidian mantle
#

I care
I love windows
Windows is all i know

gray tartan
#

virus risks

olive sable
#

the mods still kinda have to enforce the rules

#

so no piracy

#

or well, dont talk about piracy here

ivory plinth
light tartan
obsidian mantle
#

Do not try to pirate it please or you might succeed and break the rules

light tartan
gray tartan
#

im used to mobile phones

ivory plinth
obsidian mantle
gray tartan
#

ITSMYFIRSTTIME OK

olive sable
#

like i said, just use the web version of word or whatever for free, or use google docs or whatever instead. no need to pirate

obsidian mantle
#

Just do not pick most shiny websites

gray tartan
ivory plinth
light tartan
gray tartan
#

ITSHAR TOTYPR

light tartan
#

anyone uses c/c++/rust with sfml btw?

olive sable
gray tartan
olive sable
gray tartan
#

lol

#

also, i do have my own struggles on thebasic stuffs

#

itwas hardtryying o figure out how t ope

olive sable
gray tartan
#

OPEN AND THE POWER BUTTON

olive sable
#

caps lock Minamhm

light tartan
#

and how do you handle it

olive sable
#

the opengl part is the easy part cuz i have years of experience

#

its the modularity tha tis the issue

#

also, wtf is your at? Erm

rigid snow
#

their profile is a masterpiece

#

i approve

olive sable
#

nah

#

thier username should not be allowed

rigid snow
#

modern art

olive sable
#

you became yellow again

rigid snow
#

it different yellow

olive sable
#

i wouldnt know

#

still colourblind

obsidian mantle
#

how does it look

#

when you are colorblind

#

grey?

olive sable
#

idk

#

its yellow

obsidian mantle
#

its light yellow i would say

#

🟡 more pale than this

olive sable
#

looks the same

#

its yellow

obsidian mantle
#

hmm

#

hold up 1 sec

olive sable
#

still looks pretty much the same

#

its different, but barely

obsidian mantle
#

it looks greener than it is now

olive sable
#

idk

#

its yellow

obsidian mantle
#

its not about names

olive sable
#

to clarify im red-green colourblind

obsidian mantle
#

how does it look

#

is it both red

#

oh wait neurOMEGALUL

#

is it grey or no

olive sable
#

no

#

its yellow

obsidian mantle
#

i mean red and green

olive sable
#

Shruge i just cant really see the difference between red and green too well

#

and yellow is red and green toghether

obsidian mantle
olive sable
#

ok ye that is different

#

im not fully blind

obsidian mantle
#

what about other colours

olive sable
obsidian mantle
#

pink

obsidian mantle
# obsidian mantle

these are super different colours, do you see them as just 2 shades of one?

olive sable
#

i didnt know what the difference was between pink and purple untill i was 16, that pretty much explains my stance on pink

obsidian mantle
#

i mix up left and right

#

when i have to say "left" or "right" i slam random choice and then think for 2-3 sec and correct it if my guess was wrong

olive sable
umbral thorn
obsidian mantle
#

3.7 x 64? neuroNOWAYING

#

what is normal clock for that

#

like 2?

opaque sigil
#

this is a threadripper not an epyc

olive sable
#

i love to have a cpu using more power than my gpu meow

#

450W is insane

umbral thorn
opaque sigil
#

iirc the newer threadrippers can draw well over 600W

#

sipping power neuroPogHD

umbral thorn
#

even 1600W

#

threadripper very flexible u can overclock even 2000W evilYes

opaque sigil
#

that's for both sockets no?

umbral thorn
#

one

#

cpu handle high voltage

#

higher than gpu evilYes

opaque sigil
#

looks like one 9995WX can draw a kilowatt when overclocked, damn

#

5.8 GHz on all 96 cores AINTNEURWAY

olive sable
#

so 2 of those and 3 5090's and your blowing a fuse already

opaque sigil
olive sable
#

i love my 3090's coil whine singing to the beat of how i move my mouse

#

cuz blender moving my viewport

olive sable
#

i feel like you wouldn't be getting too much extra performance for triple the power usage tho

true hemlock
#

the only point is to set records

olive sable
#

i guess

#

for daily usage tho its a waste i feel

opaque sigil
#

One circuit per socket neuroPogHD

true hemlock
#

you don't get extra much because interconnection bottleneck, voltage curve being logarithmic, and quadratic increase of power usage because current scales with volt

olive sable
#

"yo electrician, is it maybe possible to get 8 power circuits to my basement? i only need 1 per socket dont worry"

#

"btw, you dont happen to have a 3750W power supply hanging around do you?"

olive sable
#

💀

true hemlock
#

3750W can easily be powered by 2 sockets

olive sable
#

i said 3750 cuz thats the max of 1 circuit here

#

also, how do you have 12 of them? 3750w is non-standart

#

pc power supplies stop at 1600W afaik

#

im wrong our circuits do 3680W

#

close enough

true hemlock
#

or just directly wire them from the wall :)

severe path
olive sable
#

non-pc psus dont do 24pin or afaik

#

so youd have to get one made for pcs

severe path
#

Although it probably isn't a good idea

#

:)

olive sable
#

ye kinda, but i dont think you can mod a normal psu to be fully compatible with 24pin atx that easily. the connector also does stand-by energy and such

severe path
olive sable
#

i guess

severe path
#

Some basement dwelling professional "electricians" generally don't care about wattage ratings anyway. They'll shove 3750 watts through a 750 watt power supply. For two seconds.

olive sable
#

i mean, decent 750W psus can probably do over 800 for a bit, but i doubt they could do it fulltime

olive sable
#

well, if you overdo it too much the psu will die, or worst case, explode

#

i guess it is kinda natural selection in a way then

true hemlock
olive sable
true hemlock
#

"btw, you dont happen to have 12 3750W power supply hanging around do you?"

olive sable
#

oh

#

but then you would need 12 circuits

olive sable
nocturne olive
#

My PC crashed in a weird way and I have no clue why

somber hornet
#

Can someone please tell me why the file is not working? I'm trying to open it, but it just instantl flashes and closes

import random

LENGTHS = ("4" , "5" , "6" , "7")
MUSTINCLUDES = ("podmínky" , "příkazy" , "vstupy/výstupy" , "konce", "zažátky")
MUSTINCLUDES2 = ("cyklus", "větvení")
NUMBERS = ("2" , "3" , "4")

length = random.choice(LENGTHS)
mustinclude = random.choice (MUSTINCLUDES)
mustinclude2 = random.choice (MUSTINCLUDES2)
number = random.choice (NUMBERS)

if mustinclude == "konce":
number = "2"

print ("Vytvořte vývojový diagram, který bude minimálně", length, " kroků dlouhý" )
input("Press Enter to exit...")

opaque sigil
#

what is the goal here

somber hornet
# warped narwhal works for me:

Yeah, just ran it in cbd and found out it works, I wonder why it wouldn't run when I opened it normally, I swear it worked like that when I was using python a few years back. I really thought I was going crazy as I couldn't find any mistakes

warped narwhal
#

you might need rawinput or whatever the function is

#

it's raw_input(...)

somber hornet
#

I'll try, thanks

fading olive
#

If you're just trying to double-click it or something you probably need a shebang at the top

#

#!/usr/bin/env python or similar

clear sedge
#

they might be on w*ndows

fading olive
#

oh ya, maybe.

warped narwhal
trim valve
opaque sigil
trim valve
#

micron gone

opaque sigil
warped narwhal
trim valve
#

or well specifically crucial

opaque sigil
#

Can't wait for so-dimm prices to skyrocket

warped narwhal
#

why are they going away?

#

looks like the answer as always is AI

opaque sigil
#

crucial makes a lot of so-dimms, a lot more than other companies iirc enub

#

yup

#

Money do be nice

warped narwhal
#

"we as a forward looking company are wanting to focus on more emergent technologies"

translates to:

"we make more money manufacturing HBM memory for AI datacenters so we no longer care about regular users"

obsidian mantle
#

So dim is laptop ram right?

warped narwhal
#

it took 1h30 but I finally finished running the tests for GCC neuroHypers