#programming

1 messages · Page 115 of 1

sage crag
#

it would be easier if you were using zig and had some @reverseBits() instrinsic

#

they could easily add this

solid bough
#

They just don't want to make people have teh ability to upload stuff to Discord

opaque sigil
#

just let the compiler do the swapping at comptime neuroPogHD

sage crag
#

:mhm:

solid bough
sage crag
sage crag
#

ew

#

comptime arg passed with [] is strange

solid bough
opaque sigil
#

i don't mind it

#

it makes it a very clear distinction between comptime params and runtime params which is kinda nice

opaque sigil
solid bough
opaque sigil
#

yeah cause it's not python FOCUS

sage crag
#

anyway, from a logical standpoint, replacing a peephole optimisation with an intrinsic is an interesting idea

solid bough
sage crag
#

buh

opaque sigil
#

python is indeed not the only programming language in existence, yes

solid bough
#

Wait, the rend.exe of the Linux server is something else, it is jsut the name of the executable

#

It can't run on windows

#

So that clears that confusion

rigid snow
#

__builtin_bitreverse exists in clang

sage crag
#

makes sense

#

again, its hard to apply peepholes to bit reversing manually

#

mhm

rigid snow
#

but uhh

sage crag
#

wtf is it doing

#

trashcan compiler

tender river
#

252645135 = f0f0f0f

sage crag
#

why do you know that

#

oddleaf

tender river
#

858993459 = 33333333

#

maths

#

1431655765 = 55555555

#

this looks slightly different

sage crag
#

<rev>:
        vmovd  xmm0,edi
        vgf2p8affineqb xmm0,xmm0,QWORD BCST [rip+0x1001],0x0        # <rev+0x1010>
        vmovd  eax,xmm0
        bswap  eax
        ret

here's what clang generates on my machine

#

vgf2p8affineqb

tender river
#

vgf2p8affineqb

sage crag
#

is crazy

warped narwhal
#

you may need a -march= flag for godbolt to get better results

opaque sigil
#

Galois Field Affine Transformation
neuroCry

sage crag
#

on my machine

rigid snow
sage crag
#

im not benchmarking int reversal asm

#
<rev>:
        bswap eax
        pdep eax 0x01010101
        pext eax 0x80808080

but i would bet this is faster on basically every cpu

#

and its more portable, only needs bmi2 feature

#

hmm though actually, clang's one is probably less likely to leak timings

tender river
sage crag
#
#include <stdint.h>

uint32_t rev(uint32_t n) {
    return __builtin_bitreverse32(n);
}

this is what im using for src code

#

awa

tender river
#

i guess its just using it purely arithmetically

sage crag
#

lol

#

no wonder hblangs runtimes were comparable to rust

#

clang sucks

#

ban clang

tender river
#
ret = bswap(arg);
ret = ((ret & 0x0F0F0F0F) << 4) | ((ret >> 4) & 0x0F0F0F0F);
ret = ((ret & 0x33333333) << 2) | ((ret >> 2) & 0x33333333);
ret = ((ret & 0x55555555) << 1) | ((ret >> 1) & 0x55555555);
return ret;
#

itsthis

sage crag
#

yeah that's the unoptimised one

#

or, the one that assumes basic x86 feature level i guess

rigid snow
#

i can’t get it to output anything different no matter what args i throw at it

#

but i may be stupid

olive sable
#

it seems like lowering the resolution makes performance worse until i go the 360p where its at 9k fps again pepehmm

sage crag
#

something something cache lines

olive sable
#

i still finds it weird how 1080p is faster than rendering lower resolutions

#

something to do with windows?

amber fractal
#

Windows upscaling to fit 1080p

#

also known as 1080p monitor

olive sable
#

the window isnt even getting upscaled

#

its not fullscreened

#

fullscreened native would be 1440p anyways

rigid snow
#

also in fullscreen it should be the monitor or the gpu upscaling

#

depends on the setting, on nvidia it’s monitor by default iirc

olive sable
#

my best geuss rn would be this thread

rigid snow
olive sable
#

taskmanager reports gpu as 86% while nvidia overlay says 60% so eitherway it shouldnt be gpu

amber fractal
rigid snow
sage crag
amber fractal
#

Yesh

olive sable
#

is clang that hated?

sage crag
#

i dont know

rigid snow
sage crag
#

that's why there is poll

amber fractal
# sage crag

We love the all or nothing from those that know it

olive sable
#

i have discovered that fullscreen actually fucks up performance more, it went to 5k fps

#

it also fucks up my windows hdr like minceraft does

rigid snow
#

hdr on windows neuroAware

tender river
#

bwap

sage crag
#

bwap

rigid snow
#

neuroBwaa p

warped narwhal
olive sable
#

nope

#

everything is set to srgb

#

and 8 bit per colour

sage crag
#

bwabwa

warped narwhal
# olive sable nope

Exclusive fullscreen sets the monitors mode directly, so if you give it an srgb backbuffer then the monitor needs to restart and load into an srgb mode

olive sable
#

im not really trying to use hdr tho, it would be nice if it made my screen go back to hdr afterwards tho

#

i never need to restart, but after that happens i need to go to settings and click the slider to update it or something

rigid snow
#

wouldn’t good tonemapping make them the same

olive sable
rigid snow
#

wait i’m on a hdr screen though

#

i don’t have an srgb screen

olive sable
#

me neither

rigid snow
#

i mean i have one just not rn

#

discord windows whoever

#

support hdr pngs already

#

it’s in the spec

olive sable
#

i optemized msot of this

#

i think at this point most of the performance loss is the fps counter

rigid snow
#

spawn a separate thread that will serve the fps with http neuroTroll

olive sable
#

how am i supposed to do that???

rigid snow
#

unironically doable af

#

but don’t

olive sable
#

i would outsource the fps counter to something like msi afterburner but that actually runs worse

#

also their frametimes only show 0.1ms, not all the decimals i need

amber fractal
#

The urge to try out asm but I don't have my laptop and the hello world tutorial I'm following fails to work at first step where I add the exit point.

#

The urge to try and convert the NN to asm for some reason is unreal. It would be funny

opaque sigil
#

i'd highly recommend fasm, it's actually really convenient once you have some macros setup neuroPogHD

olive sable
#

asm is just me with dyslexia

amber fractal
#

I've been in this truck for 8 hours, can you tell that my mind is melting yet?

olive sable
#

are you driving to the east coast?

#

like what is happening?

amber fractal
#

This was supposed to be split into 2 days

olive sable
amber fractal
#

but we never got a campsite for the return trip so all in one day it is

amber fractal
# olive sable like what is happening?

The General Sherman Tree is a giant sequoia (Sequoiadendron giganteum) tree in the Giant Forest of Sequoia National Park in Tulare County, California. By volume, it is the largest known living single-stem tree on Earth.

violet sand
olive sable
#

tree

amber fractal
#

I now have photos of said tree

olive sable
tender river
olive sable
#

wait if that tree is in cali how the fuck have you been in the car for 8 hours? you live in cali

tender river
#

just ship prometheus and grafana with your game in an easy to spin up docker container

#

if someone's pc has limited resources, no worries, they can purchase a hosted version from your saas!

amber fractal
violet sand
olive sable
tender river
amber fractal
violet sand
# olive sable how am i supposed to do that???

Spawn an http server listening to some port.
When it gets a req. it checks the saved time varible, if none sends none, and does the next action. If it exists you check the difference between the current time, and saved time, derive fps from it and send that.
After that it over writes the saved time varible, to be the new current time.

Done u can now run your fps counter as an http server

amber fractal
#

We aren't in rush hour anymore so yeah...
-# also we can't go full speed due to hauling so percentage penalty

amber fractal
tender river
sage crag
#

im sory clang

tender river
# sage crag im sory clang
#include <stdio.h>
#include <x86intrin.h>

inline int bitsw(int x) {
    return _pext_u32(_pdep_u32(__builtin_bswap32(x), 0x01010101), 0x80808080);
}

int main() {
    printf("%d\n", bitsw(0x01234567));
    return 0;
}

just prints 0

#

wikipedia has a good example of what these do

uneven pulsar
#

I'm studying IT to be a Web Dev, and hopefully after a while gain enough programing literacy to make game engines and games. I'm aiming for an associates, and I'll make sure to work extra for any other certifications, but what made you guys stick to programming? And do you think it's worth going for a bachelors or nah?

#

Wow discord itself, the layout has changed a lot i haven't been here in years.

olive sable
#

for me i like games, now i make games

#

mostly into the graphics aspect

#

"And do you think it's worth going for a bachelors or nah?" evilShrug idk

#

havent gotten there yet

uneven pulsar
olive sable
uneven pulsar
#

I liked his old resume on his website before he took it down/replaced it on Vedal.xyz (he even removed it from wayback lol) But i respect his decision, it was a good starter portfolio though.

#

What other servers are good to join to learn more abt programmin?

olive sable
#

i myself am in the vulkan server

#

but i really shouldnt be mentioning other servers since the mods will have me killed

uneven pulsar
#

oh...

#

dm?

olive sable
#

nah, im not in many programmer servers

#

this is my main one

uneven pulsar
#

hmm. then i'll keep looking, thank you tho! neuro7

amber fractal
olive sable
#

it do be like that sometimes

uneven pulsar
amber fractal
#

only difference is that I'm not just in any one category of programming

uneven pulsar
#

evilOH What does that entail?

olive sable
#

i occasionally go back to this video specifically for the minecraft movement crashout KEKW
https://youtu.be/piknGokM6rY?si=UxubnOm2NE-VR25a&t=118

I made a clone of Minecraft that is VISUALY IDENTICAL... well if you look at a screenshot at least. This took too long to make. I dont know if this was easier than that AI life project.

Also if Mr Minecraft is reading this, THIS IS NOT MINECRAFT.

Discord Server - https://discord.gg/spGzjEwkHv
Itch io - https://makingfromscratch.itch.io

Also c...

▶ Play video
#

half of this video is just him gettign asngry cuz of wtf notch was doing 20 years ago

uneven pulsar
olive sable
#

he did ye

#

minecrafts codebase is still quite bad tho

uneven pulsar
#

I'm sure it is, but that's a mess for... whoever bought minecraft, Notch just gets to bask in the glory now, and make Minecraft 2 I guess.

olive sable
#

we all know mojang is too lazy to do anything

#

they barely do their updates anymore, nevermind fix obscure bugs that have been in the code for 20 years

uneven pulsar
#

They will continue to be lazy since effort doesn't make them significantly more profits. That's just business, we just plummet the stocks a bit too much and maybe they'll change their tune for a little, and then go back to making money using good P.R. 5neuros Scummy and crummy, but it yummy in money tummy.

olive sable
uneven pulsar
#

That's Life

amber fractal
olive sable
#

Ok i have decided to cheat

amber fractal
#

cheat with gpt PauseSama

olive sable
#

To reach that 10k fps im going to just turn off a lot of bg procceses

#

Also using only 1 monitor noz

amber fractal
#

Can't wait to ship a userspace process killer in my application for max fps

olive sable
#

Ship the linux kernel of the fastes distro you can find

amber fractal
#

Chat, which distro !vanish

tender river
#

alpine duh

olive sable
#

I hate how i end a task in task manager and it jusy pops up again

#

No oculus we are not using vr rn, you DONT need to run

amber fractal
#

oculus should not have autostart rights

tender river
#

facebook

olive sable
#

I think the main issue is its split into 3 tasks, and if 1 dies the other 2 resurect it

#

Or something along those lines idk

#

It goes away if i kill all of them fast enough

olive sable
#

Also i hate hiw nvidea has 83 diffrent procceses

amber fractal
#

nvidia app was a mistake

olive sable
#

Some of them are actually important, some run the "nvidea app" some run nvidea control panel

amber fractal
#

Control panel doen't need to run either

olive sable
#

So you cant kill the willy nimly since my display flashes black

amber fractal
#

at least on my system that's how it was

olive sable
#

Nvidia app has infinite totem of undying it seems

#

Oh well

keen swift
#

Anyone know how to debug a segment fault?

olive sable
#

afaik you're trying to read protected memory or something along those lines

#

use a debugger to see what function is doing that

tender river
#

use asan/ubsan/valgrind

#

or a language that actually tells you what you're doing wrong

tender river
#

i saw that today yes vedalBwaa

#

newero pronunciation

sage crag
#

veedal

#

yesh

tender river
#

no?~

keen swift
tender river
#

pfft

#

erf

olive sable
#

(what is a mono?)

keen swift
#

Since Microsoft only cared to support windows in .net framework

#

I got something more useful on my windows laptop now, turn out it's stackoverflow I think

#

Because I put this instead of base, so it just keep calling itself 🥴

keen swift
amber fractal
tender river
#

.net core != .net framework

amber fractal
#

Ah, my mistake

keen swift
#

Yep

#

It just due to other constraints I need to use .net framework

#

(school

amber fractal
keen swift
#

Agree

#

Now the most annoying part: cross device debugging

velvet crestBOT
#

You have unlocked new role

keen swift
#

Oh nice

olive sable
#

im trying to do a wsl

#

why is it not working?

keen swift
#

What version of your windows?(The build number as well)

olive sable
keen swift
#

Hmm

olive sable
#

ah hyper-v wasnt turned on in control panel

#

idk what that is but its important apparently

keen swift
#

Something something allow the machine to run a virtual machine more efficiently and hopefully safely

astral raven
#

Chat is RX 9060 XT 16GB good?

olive sable
#

id say so yes

#

depends on your point of refernce and the price

opaque sigil
# olive sable

fyi if you plan on doing graphics stuff inside wsl2 you will not have a good time

olive sable
#

in trying to package the game jam stuff for the apt thing

#

but it wont work

#

i cant just pip install and venv isnt working and nothing is working and ubuntu hates me

#

according to pipx its already installed but the script cant find it

#

also quick sidenote

opaque sigil
olive sable
#

10865 fps

#

i have done it

opaque sigil
olive sable
opaque sigil
#

delete the bin folder and go again

olive sable
#

uhhh

opaque sigil
#

uv venv
uv pip install numpy

tender river
#

awa

olive sable
#

awa

#

i forgot how much of a pain python packages can be

#

since i never tested this beofre i didnt even know this was posible, but the native version of the python program straight up doesnt work if you dont have audio

tender river
tender river
#

bwabwabwa i'm going insane

keen swift
olive sable
#

Apparently wsl doesnt have the ui stuff necesary for what im trying to do

sage crag
#

undeliv

#

be neuroLife

tender river
sage crag
tender river
opaque sigil
olive sable
opaque sigil
#

I don't get it

olive sable
#

Theywant to make it so uou can install stuff with apt in linux

sage crag
#

why didnt they just make an awesome_swarm repo on github

#

emh

amber fractal
#

Honestly though, I have no idea why it wasn't centralized. I mean yes distribution is tough and not wanting to package everyone's stuff even if you have source code.

sage crag
#

apt is useful on only 1 family of distros

#

what if im using arch neuroSadge

opaque sigil
#

Btw Sam

amber fractal
#

Use nix (incorrect buzzer)

opaque sigil
#

https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa you need this for opengl/vulkan on wsl2

#

Unless you want to compile mesa yourself

#

It's not that bad

sage crag
#

only takes like 10 minutes

opaque sigil
#

Nah

amber fractal
#

My laptop's existance would like to say otherwise

opaque sigil
#

a couple max with his cpu

sage crag
#

i do not acknowledge your laptop's existence

amber fractal
#

laptops are not real

tender river
#

bwaaaa

sage crag
#

debs folder

#

ship the blobs

tender river
#

ubuntu users

amber fractal
tender river
#

its only listed as a nice to have

#

regardless debs have to be rebuilt sometimes when the dependencies change this is a very stupid approach

amber fractal
#

I'd accept releases

tender river
#

not to mention its bad to store debs in git repos

jagged turtle
amber fractal
#

Binaries in general are bad to store, bloats your repo size for no good reason

opaque sigil
#

Sometimes you just gotta suck it up

#

Well not here neuro7

jagged turtle
#

also how the hell am I supposed to like
accept extra packages that way

tender river
#

the git repo has the packages source, ci builds them on ubuntu-latest and autoupdates the apt repo

jagged turtle
#

I don't own all the repos neuroSob but I guess I could fork them

amber fractal
#

git submodules can be a good method as well

jagged turtle
#

fuck me bro

#

ok well problem (at least partially, hopefully mostly) solved

tender river
sage crag
#

i dont want swarmware brand malware

jagged turtle
#

give me a sec I'm just gonna

#

figure this out

sage crag
#

its not open source if its a blob

jagged turtle
tender river
#

many package are nonreproducible

sage crag
#

anything that need api key

tender river
#

you aren't gonna have the same build output just because the source is the same

amber fractal
#

Nix mindset

jagged turtle
#

ngl I forgot about that

sage crag
#

reproducible builds are a very hard issue to solve

#

it's like nix's entire schtick

jagged turtle
amber fractal
#

Best bet is still github actions

#

at least that one is provable

tender river
#

so yes you will have to use submodules

small anvil
#

ah yes I sure do love the </> keyword

sage crag
#

not keyword

#

bwa

small anvil
#

im tired evilBwaa

#

i havent slept in 2 days

#

or near 2 days

#

im not sure

tender river
#

go sleep

#

now

small anvil
#

i spent like 7 hours debugging KCP and making my own messaging algorithm

small anvil
tender river
#

sleep

small anvil
#

fine

tender river
small anvil
#

gotta work on server meshing tmer

#

not good..

jagged turtle
#

that become submoduled

sage crag
#

step 1 of build server

#

reinvent nix

#

step 2 of build server

#

use nix

jagged turtle
#

fuck it, I might just have each package hold a "apt-package.sh" file that has the build steps

#

ahhhhhhhhhhhhhhhhhh

sage crag
#

rce on github actions

jagged turtle
#

ikr

#

thank god submodules are tied to commit hash

sage crag
#

lol.

midnight sigil
#

konii konii do you have RCEs as a tv

jagged turtle
sage crag
#

yeah

peak elk
#

i want to learn on how to code because i have a project i want to do but i need to know how to code to do it

sage crag
#

i dont think so

#

feels bingo though

jagged turtle
#

@amber fractal

#

bingo check

tender river
amber fractal
#

erm

midnight sigil
amber fractal
#

give me a minute

tender river
#

but fetching the upstream source is somewhat of a problem

peak elk
amber fractal
#

I'm looking at a suspiciously shaped deb buildef

tender river
#

since debian requires the debian packaging info to be inside the source

jagged turtle
sage crag
#

thanks

jagged turtle
#

probably as a side effect of my 300 tabs but whatever

peak elk
midnight sigil
jagged turtle
#

thanks

jagged turtle
#

wait no it's not as one page neuroSob

midnight sigil
tender river
sage crag
amber fractal
jagged turtle
#

i ain't responsible for anything bingo bro

#

or smth idk

#

i feel like a zombie rn

amber fractal
#

All good, I went a bit strong

#

Some people update the board when they find some, some don't

jagged turtle
#

i didn't even know you can update the board

amber fractal
#

It's just an image

tender river
amber fractal
#

I have at least 5 copys of the board on my phone from over time

#

Also thank you cloud haha

jagged turtle
tender river
#

packaging is a hard thing and maintaining a public repo is a HARD thing

#

you signed up for this, i want you to fully understand the responsibility you're taking

#

i'm not necessarily saying you shouldn't do this, but if you do it, you don't want to make mistakes that cause your entire work to become worthless after a year or two of OS updates or a random person sneaking a virus in the repo

jagged turtle
#

yes I know

amber fractal
jagged turtle
#

I'm assuming new chatter is with that symbol next to their name

amber fractal
#

Yep

#

#bingo

#

I'm assuming some of these probably existed but haven't been documented as hits

sage crag
#

te to

amber fractal
#

empty card

sage crag
#

bingo

#

what is a byte

#

acquired middle square

tender river
#

ereader almost updated poghd

#

sway will work just fine this time around NeuroClueless

amber fractal
#

I should post the "SVG" for bingo, but I want to add some comments on it first.
-# - "SVG" being: looks inside HTML

tender river
#

pretty good all things considered

#

i have disabled all audio components because the ereader doesnt have audio

jagged turtle
#

just a joke

amber fractal
#

Also I mayhaps accidently rmed the SVG

jagged turtle
amber fractal
#

Also now is time to rebuild the SVG

sage crag
#

shadow impression
neuroCry

sage crag
sage crag
#

shadow impression for some reason feels more like "the impression left by a shadow" than "impression of / shadow of"

amber fractal
#

I'll try to be more clear

tender river
#

shadowlilac

sage crag
#

its because you change your name so often neuroMad

tender river
#

reduced to a common noun

amber fractal
#

No archives of the SVG, yeah this is going to be fun

sage crag
#

ereader fails to boot and then the world explodes

tender river
#

i think? it booted

south needle
#

rm -rf / --no-preserve-root

sage crag
#

thats not reboot thats shutdown forever

tender river
#

at least get the command right

south needle
#

happy?

tender river
#

sad, gnu style arguments

#

it works

#

sway time PauseSama

sage crag
#

time for ereader to shut down due to cosmic rays

tender river
#

i forgot my user password on the ereader neurOMEGALUL i shortened it because eink text input is so slow

#

erm loginctl save me please

sage crag
#

a wa

tender river
#

i'm in

#

There are errors in your config file

#

sway works

#

waybar seems a little broken? it cant use nerd fonts

sage crag
amber fractal
south needle
#

frick claude

opaque sigil
#

Me when I underestimate how slow reading files can be neuroDespair

noble zodiac
#

it's not the reading thats slow its the opening

amber fractal
#

Man I do not want to have to do this path again, I'll do it tomorrow.

#

Why did I rm the only copy I had

#

Man I wish I did not have to use this ugly borders without doing SVG, but life isn't fair

#

Also on my list of things I'm doing this time. This SVG is going to have JS so that one can cross out squares.

#

For now I'm tired so I'll pick this up later

dreamy wasp
hoary lion
#

what happened to the holy bingo

tender river
#

i wanted to type waybar but typed this how

hoary lion
#

muscle memory

south needle
tender river
#

on my phone i use a different two-bar layout because of the notch

#

and a third bar at the bottom for navigation

sage crag
#

yump

noble zodiac
#

awa

tender river
#

awa

tender river
#

i think i'll work around this by not using waybar at all and booting straight into a reader app

sage crag
south needle
tender river
#

wdym afraid

#

theres just no reason for me to give discord any more data than i already am giving

sage crag
#

moth

tender river
#

is this one cute or blegh

sage crag
#

big

#

outside

tender river
#

again why would i use it

#

theres 0 reason

sage crag
sage crag
#

it is not native

#

why did nuro stop mlemming

#

continue mlemming nuro

tender river
#

tired neuroSadge

sage crag
noble zodiac
sage crag
#

i do not have a waybar, but if i did it would look like a waybar

noble zodiac
#

I don't use waybar either. I use my own

tender river
#

hmm i have like 2 hours if i want to be reasonable which reader app would be realistic to compile from scratch including (some) dependencies

#

also i dont have xwayland cupsama

noble zodiac
#

I don't have wayland JIJI_IS_BASED

tender river
#

i wish koreader didnt vendor every single dependency

opaque wharf
sage crag
tender river
#

no it doesnt use js

sage crag
tender river
sage crag
#

tauri and js

#

i remember

opaque wharf
sage crag
#

everyone has enub

#

moth

#

it left

#

foolish

tender river
#

the worst (in terms of how annoying it is to compile) part of koreader is luajit

opaque wharf
#

Btw konii, this u?

tender river
#

they use evil preprocessing that cant be cross compiled

sage crag
#

all good software takes 10 years to compile

#

not me

#

i havent written much yuri

tender river
opaque wharf
#

I thought you write too since you're Sam's dealer neuroPogHD

sage crag
#

sadge

sage crag
#

its because of my lack of interesting personality neuroKufufu

opaque wharf
sage crag
#

nyo

#

smartest little pilot SMILE

olive mango
#

i thought everyone would discuss about algorithms every time lol

sage crag
#

awa?

tender river
#

what is an algorithm

opaque wharf
#

al-gore-rithm?

midnight sigil
sage crag
#

algorithm

tender river
#

NeurOhISee i understand

sage crag
noble zodiac
#

the plural of erm

sage crag
#

wrong

midnight sigil
sage crag
#

wrong

midnight sigil
sage crag
#
  • is undefined sorry
rare bramble
#

evilDeadge why does it segfault

sage crag
#

dunno, cant read text for ants

noble zodiac
#

because you did something wrong

rare bramble
#

arent they supposed to.. you know.. throw a valid error, and not segfault?

sage crag
sage crag
noble zodiac
#

wdym it threw 11

sage crag
#

segfault == game over

opaque sigil
#

When in doubt blame Microsoft

sage crag
#

true

#

bill gates FRICK

noble zodiac
#

when in doubt, do horse girl racing

midnight sigil
noble zodiac
#

thats on you for being on windows 10

midnight sigil
tender river
opaque wharf
#

Exit code 11 is the error neuroPogHD

sage crag
#

awawa

#

wa awawa

#

aaaa

#

wa

opaque wharf
#

Be grateful it is not all -1 neuroPogHD

sage crag
#

255

midnight sigil
#

I swear to god all these "awaw"s from konii are ARG info

opaque wharf
#

It is a program

faint sandal
rigid snow
#

the awa ll exists for a reason

opaque wharf
midnight sigil
sage crag
#

wa

midnight sigil
#

ahh ha

#

I see

sage crag
#

im a magical girl

tender river
#

okay i gotta give props to koreader their binary worked after i did unspeakable things to it deliv

sage crag
white notch
#

(I don’t)

midnight sigil
#

I can proudly say that I can I write in AWA5.0

sage crag
#

this language was made for me

midnight sigil
#

it's time to write an AWA5.0 assembler

sage crag
#

nyo tuanks

midnight sigil
#

nosos

tender river
#

awa

#

i appreciate that koreader launches but i don't appreciate it not showing anything FOCUS

stark needle
#

Top 10 saddest moment of 2025

south needle
#

welp we tried our best to remember you

sage crag
tender river
#

its shadowlilac in the flesh

sage crag
#

shark

#

neuroShark

opaque wharf
sage crag
#

ayaya

#

o just mistyped thanks

pearl oar
olive sable
#

Goodmorning

south needle
#

morning

rare bramble
#

I mean I guess by valid error I mean unexpected case that Is handled gracefully with a helpful error message

tender river
#

it might have printed an error message

#

but you're simply using python to run it

#

you're not printing that message in python

rare bramble
#

even just something like, Err: couldnt parse input commands correctly. check documentation: (link to docs)
would be better than segfault

tender river
#

also again it probably isnt a segfault

#

at least from what you sent

pearl oar
#

Or you had ran into a case where no proper error handling is implemented

#

Then the easiest way is to use a debugger

rare bramble
tender river
sage crag
#

signals are different program return value

#

awa

tender river
#

return code is simply a number returned by the program where 0 indicates a success and other values indicate "probably not success"

#

signals are something sent to a process to tell it something, like "i want you to exit right now" or "your code tried to do something it's not allowed to do do you have anything to say about that"

#

you're not getting an error message because python is not responsible for telling you what the program printed

#

error diagnostics are up to you to implement

sage crag
#

r

midnight sigil
#

my AWA5.0 encoder

opaque wharf
#

Bro, why is cursed idea always get fast tracked here neurOMEGALUL

south needle
tender river
#

bwaa i don't know what i'm doing wrong but koreader just doesn't want to show anything

opaque wharf
#

We have

  • Bime
  • Promptboard
  • AWA5.0
midnight sigil
opaque wharf
midnight sigil
#

we only have "awa"(0) and "wa"(1)

#

there's no "aw"

south needle
#

awatism?

tender river
south needle
#

like autism but with awa

tender river
opaque wharf
midnight sigil
# tender river i do not understand

so the AWA5.0 is all represented in binary, where "awa" is 0, and "wa" is 1. And in "awaawwawawa" we have "aw" occurrence, which is invalid

tender river
#

actually maybe i do understand

#

also i misreplied

opaque sigil
#

why can there be no perfect, flexible abstraction neuroSadge

#

damn software

midnight sigil
# south needle like autism but with awa

The suffix "-ism" generally denotes a state, condition, belief, doctrine, or practice. It's often used to form nouns from verbs or adjectives, particularly when referring to philosophies, movements, or theories. The suffix is of Greek origin, reaching English through Latin and French.

opaque wharf
opaque sigil
#

true, lisp solves all problems

#

i wonder

midnight sigil
opaque wharf
opaque sigil
#

if i import every nixos module for every target they don't actually do anything unless they're used right since it's lazy

midnight sigil
opaque wharf
#

See? Don't wonder catdespair

tender river
#

its more like they dont do anything because they are lib.mkIf cfg.enable

opaque sigil
#

i guess that's true

south needle
tender river
#

now i have to build the entirety of gtk4 and sdl3

#

i'll concede this one

#

i won't get a working ereader today

opaque wharf
#

Lmao

opaque sigil
#

ouch

opaque sigil
#

is there any realistic way of dealing with the ton of singular packages that show up, obviously you can group larger groups

#

other than just not saving them ig

tender river
#

wdym dealing

opaque wharf
#

I forgot to press the button on my rice cooker catdespair

opaque sigil
#

i currently have 2 independent lists of packages growing neuroPogHD
should probably make a combined base list and then add to that conditionally?

tender river
#

or in N separate modules

south needle
tender river
#

rest assured i know how to use sudo

tender river
# opaque sigil i currently have 2 independent lists of packages growing <:neuroPogHD:1057778797...

my personal structure is:

  • modules - modules (with common code for all my devices, common.nix in particular having a lot of if conditions), this allows me to reuse existing code
  • hardware - hardware specific info, so if i want to (hypothetically) set up a second exactly same device i could reuse 100% of the code in here
  • devices - device specific info, like partitioning or networking
  • hosts - "role"-specific info, if i want to i can switch my server or my laptop to a completely different device reusing 100% (ideally) of the config in here
  • secrets - not in the git repo, a single .nix file that has PII
#

i also have a 416 lines long flake.nix that handles the boilerplate for managing all that lol

opaque sigil
#

it's slowly but surely growing neuroPogHD (frick you pipewire why are you so annoying)

south needle
#

mine looks kinda like this:

  • modules
  • outputs (there i generate the server and services (vms) and users (homemanager + user devices)
  • i use sops for secret management and microvms (basically like docker on servers)
opaque sigil
south needle
#

each host has a default.nix with basic configurations like modules it needs, static ip addresses or users that have ssh permission to the system

#

this would be vm: there is a wireguard ip and a deployOn so it knows on which machine to be deployed on

#

i wrote 8k lines of nix code xD

#

and we have a int8::max of files

tender river
south needle
#

what is taking you 31k lines?

tender river
#

bwabwa look at my github

rare bramble
#

pretty happy with it now, the quality and compression ratio is pretty good. currently its configured for windows since that's what i use, dont how easy it's to make linux compatible bwa

#

required Pillow (pip install) and avifenc (download from their website)

south needle
#

i use my nixpkgs fork

tender river
#

sure thats 1.7k lines of code who cares

#

also im talking about nix code i use in general because a lot of it lives outside of my dotfiles repo

south needle
#

and you have a crazy router setup

#

tbh i cant find the 31k lines

rigid snow
#

nixos SCHIZO

tender river
south needle
tender river
rigid snow
#

i do have non apple computing devices

#

you know right

opaque sigil
#

damn

#

i thought you had an m1

rigid snow
#

i do

#

but that’s the laptop

#

and i’m not ditching macos because i need pro software

opaque sigil
#

i know, you just reminded me this existed neuroPogHD

rigid snow
#

i dualboot arch on my pc tho

south needle
#

which i have mainly spent in writing a new hydra, and some nix automation software

opaque wharf
#

A lesson to not trust the filename evilWheeze

tender river
#

hydra does suck neuroDespair

south needle
south needle
#

but it builds my stuff

sage crag
#

ffmpeg -i neuro-sama-no-context.gif -c:v librav1e out.avif

opaque wharf
sage crag
#

i am morally and creatively bankrupt

#

awa

sage crag
#

nurp

#

why libaom so slow on my pc

#

this is sad

#

librav1e was so much faster

tender river
#

av1 encoding is so slow neuroSadge

rough bloom
#

pretty sure that libaom is just slow

sage crag
#

i also tried svt av1

#

was similarly slow

#

sadge

rough bloom
#

you use either SVT-AV1 or rav1e NODDERS

#

uuh try adjusting encoding options
good luck neuro7

sage crag
#

nevermind its fast now

#

thank you mesa update

tender river
midnight sigil
#

python doesn't let me handle exceptions in my own way, and it has to say "During handling of the above exception, another exception occurred: NeuroNerd "

sage crag
#

was both faster and made a smaller file

#

good job svt

#

now if only you didnt have netflix and intel in your heart

tender river
#

i recently saw a water vending machine named "live water" should i be concerned

sage crag
#

is it a command or a description

rare bramble
tender river
#

alive

sage crag
#

live, water (me impelling the water to live)
live water (water is alive)
live water (water has a live electric current)
live, water (me telling water that we are live)

sage crag
tender river
#

2

sage crag
#

i didnt tell ffmpeg to compress it though

#

i probably should

midnight sigil
#

shouldn't it be living water?

south needle
south needle
#

still have laying around 7.4TB of videos in mp4

sage crag
opaque sigil
#

you can do it reasonably fast with svt-av1 and enough threads but realtime needs special hardware neuroSadge

tender river
#

why is the server so slow neuroMad work faster

rough bloom
midnight sigil
sage crag
#

maybe my cpu is just fast enough bwabwabwa

opaque sigil
#

oh yeah i guess i lied, svt can do realtime

#

well granted you have a beefy cpu

sage crag
#

awa

tender river
#

libaom encoding

sage crag
#

i had a similar speed

midnight sigil
#

this is the only thing I hate in AWA5.0

tender river
#

rav1e is about 5x faster

#

and libsvtav1 is actually usable

sage crag
#

155 KiB

opaque wharf
sage crag
#

i think that is against the fundamental theory of computing actually

opaque wharf
#

The halting problem does not apply

rare bramble
tender river
sage crag
#

there are more uncomputable problems than computable ones

south needle
sage crag
#

yup

#

all computable problems can be mapped to natural numbers

opaque sigil
#

looks like nvenc is "only" 2.8x as fast as svt for me hmm

opaque wharf
# sage crag yup

Uncomputable as in there is no known algorithm to compute it or not enough computing power?

tender river
#

i wish osu supported avif for team banners

sage crag
#

arbitrarily close approximations dont count

rare bramble
# sage crag 155 KiB

I found 2 gifs in my testing that are pretty good quality indicators
see how much quality is lost with these

opaque sigil
#

i remember having to prove that neuroPogHD

opaque wharf
sage crag
#

its 3kb but at what cost

opaque sigil
#

something along those lines iirc

tender river
#

its ok it still accurately represents the source image

opaque sigil
#

you basically prove that there are uncountably infinite many uncomputable functions

sage crag
#

iuh

rare bramble
#

ye, i prioritize settings that kind of keep them intact

opaque sigil
#

computable functions can be mapped to encoded turing machines so you can count them

opaque wharf
#

Let's make an evil compression algorithm

sage crag
#

i think the easiest way of thinking about it is that every program can be represented in binary

opaque wharf
#

Where it adds data for no good reason

sage crag
opaque sigil
#

Mhm

tender river
#

FRACTRAN is a Turing-complete esoteric programming language invented by the mathematician John Conway. A FRACTRAN program is an ordered list of positive fractions together with an initial positive integer input n. The program is run by updating the integer n as follows:

for the first fraction f in the list for which nf is an integer, replace n ...

opaque sigil
#

conway neuroPogHD

sage crag
#

here's what i used

#

the main reason the quality goes down is im using crf 45

#

at 38 it would be fine probably

opaque wharf
midnight sigil
#

this is so nut

sage crag
#

i tried to add -irefresh-type 1 but it didnt work

#

maybe additional savings there

opaque sigil
#

i like conway he got me extra points for running his game of life on a couple nodes in parallel neuroPogHD

#

ignore the fact that it was utterly unusably slow

sage crag
#

could also try swapping -tiles 4x4 for -tiles 8x1

#

there's a version of life that runs on the gpu right

#

it runs in the same way as falling sand games

tender river
#

game of life should be relatively easily parallelizable

opaque sigil
#

communication overhead go brr

rare bramble
#

also gave up on ffmpeg for .avif conversion because I couldnt get it to keep transparency with gifs for some reason

#

prob skill issue

#

but I really did try

sage crag
#

colour space conversion is notoriously hard

#

i suppose you are using SvtAv1EncApp?

rough bloom
sage crag
opaque wharf
sage crag
#

and then stitching those to an avif

sage crag
#

god that sounds awful

opaque sigil
rare bramble
#

and I have to fetch the frame durations from the gif so that I can reconstruct the avif with the correct frame durations

opaque sigil
rough bloom
opaque wharf
opaque sigil
#

you can copy the previous result while calculating the next one or something yeah

rough bloom
sage crag
#

my thought process is that you can run life as a gpu kernel

opaque sigil
#

problem is that even an async copy takes far longer so you end up waiting regardless

tender river
#

if

#

i could

sage crag
rare bramble
#

also ffmpeg fails miserably with some gifs' frame durations, here is an example:

#

vs original:

rough bloom
opaque sigil
#

doing more transfers helps funnily enough

#

since you can do them all in parallel and they're a bit shorter

rough bloom
opaque sigil
#

normally you'd just do double buffering and work on the entire grid in parallel

opaque sigil
#

the transfers only happen with multiple gpus

#

only 694 EiB at f64, easy neuroPogHD

opaque wharf
#

100B bit is what? 12.5GB?

opaque sigil
#

10B * 10B is not 100B FOCUS

#

also 100B bits is 100Gb so i guess yeah 12.5GB

opaque wharf
#

My ALU is fried today, please understand

opaque sigil
#

dw, so is mine

opaque wharf
#

Btw @midnight sigil lemme know when you are finished with the awa5.0 compiler

midnight sigil
#

I'm just doing a quick assembler rn

#

there's no way I'm actually porting it to C++

opaque wharf
opaque sigil
#

imagine starting a new c++ project in 2025

midnight sigil
#

imagine using rust

rough bloom
#

at least use Zig smh

#

it's no Rust but anything is better than C++

opaque wharf
desert plaza
#

yall are using programming languages lmao neuroGlorp

midnight sigil
#

I speak in AWA5.0

#

awa awa awawa awawa awa awa awa awawa awa awa awa awa awawa awawa awa awa awa awawa wa wa wa awawa awa awawa awa awa awa awa awa awawa wa awa awa awa awawa

desert plaza
rough bloom
# opaque wharf Carbon

I have never actually seen any project using Carbon

JavaScript → TypeScript
Java → Kotlin
C++ → Carbon

GOODONE

midnight sigil
#

neuroSadge yet I still uses Java and C++

#

well at least Python doesn't have it's alternatives-

opaque wharf
#

awa awa awawa awawa awa awa awa awa awa awawa awa awa awawa awawa awa awa awa awa awa awawawa awa awawa awawa awa awa awa awa awa awa awa awa awawa awa awawa awa awa awawawa awa awa awa awawa

opaque sigil
#

i really hope carbon turns out well

#

they sure are taking their time with it at least

opaque wharf
midnight sigil
#

wise words

opaque sigil
#

i guess i can't blame them though, c++ is an absolute clusterfuck

#

yea

midnight sigil
#

should I make AWA5.0 disassembler as well

opaque sigil
#

i don't mind waiting

midnight sigil
#

I can't really read in pure AWA

opaque sigil
#

except for the mojo compiler

#

there's so much shit implemented in mlir i can't look at neuroCry

midnight sigil
#

oh now I just have to implement more checks huh

desert plaza
#

aight, now im reading the AWA5.0 spec

midnight sigil
#

more people in the community neuroHypers

desert plaza
#

i have some esolang experience

#

i wrote a rudimentary brainfuck interpreter neuroGlorp

tender river
desert plaza
#

manual labor?

tender river
#

not a reply to the particular message think of it as a ping

#

and overall you might enjoy doing ctfs, though it also involves stuff like cryptography, forensics, sql/command injections, etc

desert plaza
#

hmm

opaque sigil
#

the f word kowai

midnight sigil
#

rizz

desert plaza
#

what

tender river
desert plaza
midnight sigil
#

oh cool

tender river
# desert plaza <:NeurOhISee:1136209034966483084>

as for ctfs, they're the definition of "fuck around and find out", just google everything you see and you'll usually be able to solve them provided you're doing puzzles of appropriate skill level; join any ctf and have fun

midnight sigil
#

so the rizin thing is like a little IDA alternative

tender river
#

kind of? i'd call ghidra an ida alternative

midnight sigil
#

mhm

tender river
#

rizin as ida alternative is a bit of a stretch but sure both are reverse engineering tool

#

there's cutter (an ui built on top of rizin) that is more like an ida alternative

midnight sigil
#

I can definitely tell neurOMEGALUL

rigid snow
opaque sigil
#

they know neuroPogHD

opaque wharf
sage crag
#

stop bitcrush