#programming

1 messages · Page 92 of 1

tender river
#

if you need cookies it would

rigid snow
#

“just jump through 10 hoops each time instead of having the thing just work”

rare bridge
#

^ LULE

tender river
#

idk what you mean opening a video in a video player is NOT 10 hoops

rare bridge
#

the whole reason i need hls is i need to verify that the hls integration works

trim valve
#

glueless have firefox for 99% of browsing and edge for hls

rigid snow
#

thanks y’all for shutting down my monthly thought of switching to a firefox based browser

trim valve
#

its not that bad

tender river
#

i'm pretty sure people usually use hls.js

#

which supports hls in any browser

rare bridge
#

LULE not in my use case!

#

which is annoying

tender river
rare bridge
#

but i'm not in control of the code controlling video display, i am in control of the streaming infrastructure though

#

could solve this by enabling the currently disabled WebRTC support, but nahh

tender river
#

i think chrome also doesnt have it natively supported (unlike edge) but i only have one random site to back this up

rare bridge
#

chrome won't play it if you go to the m3u8 link, but it'll play it otherwise

tender river
rare bridge
#

this graph feels like a lie from my experience

#

chromium based browsers do support HLS

trim valve
rare bridge
trim valve
rare bridge
#

wdym only on android

tender river
rare bridge
#

kinda confused then, but oh well

#

lemme try firefox

trim valve
#

oh that would maybe make sense

tender river
#

this is firefox

warped narwhal
rare bridge
#

yeah, firefox supports HLS on mobile devices

#

but i've had reports from those on firefox that HLS does not work, never had issues on chrome

#

firefox is already installed LULE

trim valve
#

tbh I was mainly saying this because firefox has really fucky colour handling if you aren't runing a "normal" display

#

it will sometimes just decide I get weird alpha blending and I have to live with it

old totem
#

my original thought was strcat

#

but then realized i cant do that

opaque sigil
#

snprintf or whatever weird c++ equivalent there is

warped narwhal
old totem
#

sprintf yeah

#

but idk how to concat with const

warped narwhal
#

@rare bridge you should pin this Minamhm

tender river
#

you can use std::stringstream if you're feeling fancy

tender river
old totem
rigid snow
old totem
#

make f sprint

tender river
old totem
#

my brain not working right rn

rigid snow
#

right rn 💔

old totem
tender river
#
std::string s = "C:\\oajmdoiawnjmdwapoidjwa\\whatever";
s += std::to_string(global_count);
s += ".png";
rename("oamdowjdamw", s.c_str());
opaque sigil
tender river
#

you are excused

#

you know what you are doing

rigid snow
opaque sigil
#

I get the pass

opaque sigil
rigid snow
#

man i keep thinking of that code screenshot i sent a while ago where a file is being read into memory with a realloc call each char

#

it’s beautiful

opaque sigil
old totem
#

it didnt work

#

and since i've gone through this like 50 times

#

i think im stickign with the switch

#

feel freee to debug it tho

warped narwhal
#

you need wide chars when dealing with windows api, so change string to wstring

#

I don't know if the to_string has a wide eqiv though.

opaque sigil
#

to_wstring apparently

#

who could've guessed

tender river
#

the original used regular strings

#

also there are wide and non-wide versions of the windows apis

#

W and A everywhere

warped narwhal
#

there are also a load of macros that choose the right one automatically, but not every api has it

tender river
glass flower
#

scrajj why not just use std::path

old totem
#

full path?

#

ohh

#

oh shit yeah mb

tender river
old totem
#

brain no worky tonight

glass flower
tender river
#

lol i haven't used c++ since around the time std::filesystem got added

trim valve
#

mhm yes amd blender surely is running at 2fps and not just like, rending its ui only on interaction

trim valve
glass flower
trim valve
#

I am on vulkan

#

yeah amd adrenalin is not having fun 😭

#

i should get back into using blender soon

#

well actually

#

there are several things I should do 😭

opaque sigil
#

so many things

trim valve
#

current sublist is:

  • get a soldering iron
  • get a pico2/nrf<something>/esp32
  • get a soldering mat probably
  • fuck around and find out
tender river
#

its very good from what i've heard

trim valve
#

they're both really good and horrible from what I've heard 😭

#

apparently they have nonstandard soldering tips or something?

#

regardless its gonna be a usbc one

tender river
#

actually idk about much but definitely more

amber fractal
#

I know we recently got a usbc soldering iron, at least had other tips.

#

Nothing perfect

trim valve
#

eitherway I'll sit on the idea for a while

trim valve
#

I assume anything related to actually playing video to people is wizardry

#

glueless I live in a world of not displaying it to a user swho cares

tender river
#

my code is so mean to me

#

actually the pros of developing in hblang is you can blame the compiler instead and it may even end up being true

#

but blaming your own code is just good manners

#

it was in fact my code neuroPogHD

sage crag
#

Head on, apply directly to the forehead.

sage crag
#

this is how i get away with incompetence

glass flower
#

Peepi my external miners still work. my bug fix actually worked

tender river
#

NeurOhISee my json parser didnt support negative integers

#

good riddance

tender river
#

the real secret to competence is having code review

#

or being born in a lab alternatively

#

yippie my test actually passed

#

waaah im tired

#

no it doesnt mean im going to sleep im done with recreational programming and moving to professional programming

olive sable
#

ah yes, ofcourse

hazy pawn
tender river
#

nvm erf time

trim valve
olive sable
#

i don't get it bwaadow

#

bred has a brother neuroNOWAYING

olive sable
#

im probably too young to get this

#

im geussing its some type of skin cream?

opaque sigil
#

i love how i can download gmp, compile it, then run clang-format over the source files and then compile it again just for it to fail to compile neuroPogHD

tender river
#

where

old totem
#

btw id like to thank all of you
@tender river @warped narwhal @opaque sigil i would kiss you all but it's 7 am

neuroHeart neuroHeart neuroHeart

sage crag
tender river
#

i get unreasonably excited when i see a small bird

#

they're so cute

trim valve
#

it just kinda popped into my head and knew my brother would have a funny reaction to it

olive sable
opaque sigil
#

i have acquired new knowledge neuroPogHD
now to try and figure out how to create a cuda kernel this way

indigo mirage
opaque sigil
#

hm?

indigo mirage
#

Balanced Whining Thread the other day

opaque sigil
#

huh

indigo mirage
#

nvm

opaque sigil
#

my memory isn't very good sorry neuro7

sage crag
calm locust
#

Hello technical people

#

: -

indigo mirage
#

I swore you were someone else from a game discord my bad

#

im on a hotspot rn so my messages arent going through

opaque sigil
#

oh that was someone else then probably

indigo mirage
#

Anybody working on some interesting projects right now? I find myself getting super deep into mine a lot recently.

indigo mirage
opaque sigil
#

not a project but i'm currently trying to get a setup where i can write cuda kernels in zig because why not

#

but the zig compiler is segfaulting neuro7

#

hmmm it doesn't like ReleaseSafe

indigo mirage
#

Ya know, this is the first time I've heard of Zig. That's really cool.

opaque sigil
#

it is a pretty neat lil language i'd say neuroPogHD

sage crag
olive sable
sage crag
#

smorb

opaque sigil
#

oh sick i apparenly had a 5090 all along neuroPogHD

sage crag
tender river
#

i have a 5090

#

she goes to another school

#

mbwaaaaaa

opaque sigil
#
(function) fn enqueue_function[func_type: AnyTrivialRegType, //, func: func_type, *Ts: AnyType, *, dump_asm: Variant[Bool, Path, StringSlice[StaticConstantOrigin], fn() capturing -> Path] = __init__[::Copyable & ::Movable](False), dump_llvm: Variant[Bool, Path, StringSlice[StaticConstantOrigin], fn() capturing -> Path] = __init__[::Copyable & ::Movable](False), _dump_sass: Variant[Bool, Path, StringSlice[StaticConstantOrigin], fn() capturing -> Path] = __init__[::Copyable & ::Movable](False), _ptxas_info_verbose: Bool = False](self, *args: *Ts, *, grid_dim: Dim, block_dim: Dim, cluster_dim: OptionalReg[Dim] = OptionalReg[Dim]({:i1 0, 1}), shared_mem_bytes: OptionalReg[Int] = OptionalReg[Int]({:i1 0, 1}), owned attributes: List[LaunchAttribute] = List(, Tuple()), owned constant_memory: List[ConstantMemoryMapping] = List(, Tuple()), func_attribute: OptionalReg[FuncAttribute] = OptionalReg[FuncAttribute]({:i1 0, 1})) raises

what a beautiful function signature mhm

tender river
#

rewriting most of erf right now surely it will go better this time

#

but i made the executive decision of not doing any error reporting

#

i'm sure it won't backfire in the future NeuroClueless

faint sandal
sage crag
tender river
#

i dont even wanna try looking at them

sage crag
tender river
#

yes maam

sage crag
tender river
#

(this is JsonValue)

sage crag
#

you are the reason the compiler needed an increase in comptime stack size not once, not twice, but three times

tender river
#

come on this is only 6 lines

sage crag
#

functional programmers neuroTsun

tender river
#

i'm a dysfunctional programmer*

sage crag
tender river
#

this type is a thing in the first place only because theres no first class functions

#

(maybe you can do more with them now but you couldnt back when i made it)

tender river
#

NeurOhISee found a bug in the struct deserializer

#

it allows missing fields apparently

#

oh right im not checking for that

sage crag
#

bwa

tender river
#

fixed cupsama

#

just had to add this

#

i wonder why i used u8 instead of booleans

#

probably because its easier to set it to all zeroes and uses the same amount of memory

#

(and lets be real one u8 for each field is not that much)

hoary lion
#

What do I even do with just C knowledge

olive sable
tender river
#

grr

olive sable
#

"grr"?

sage crag
olive sable
tender river
#

bwa

sage crag
sage crag
#

wrong waterfowl

gritty dust
olive sable
sage crag
#

8-bwaa

olive sable
#

8-bwaa

tender river
olive sable
#

gimme a sec

#

eh

#

should be transparent but can tbe bothered

opaque sigil
#
open-source/max/max/kernels/src/layout/layout_tensor.mojo:4686:9: warning: parameter for unrolling loop more than 65536 times may cause long compilation time and large code size. (use '--loop-unrolling-warn-threshold' to increase the threshold or set to `0` to disable this warning)

i decided to implement knapsack in mojo to test out their gpu stuff and uhhh, what are they doing it never told it to unroll anything neuroCry

#

currently at 50GB memory usage while compiling neuroPogHD

sage crag
#

this is why hblang is good

#

explicit loop unrolling with $loop or $while (or $for)

olive sable
tender river
#

i was wondering how old erf implemented functions

#

since they had more than 1 argument

sage crag
#

why do you not know enub

#

didnt you write it enub

tender river
#

forgor

olive sable
sage crag
tender river
#

turns out it used one argument at a time but added a small annotation with the argument count before calling the function to make sure it matches

#

and i was thinking there were actual tuples

sage crag
#

currying is basically tuples

olive sable
#

curry?

tender river
#

curry

#

yummy

olive sable
#

damn it konii, stop making me hungry

sage crag
#

creme brule

#

parfait

#

teto fumo

#

omelette

tender river
#

so it really is

olive sable
opaque sigil
#

i never thought i'd struggle due to the fact that a loop is being unrolled

sage crag
#

turn off compiler opts

#

too easy

opaque sigil
#

oh wait

#

i know why it's unrolling

#

it's probably cause the limit is a constant

amber fractal
opaque sigil
#

let's gooooo

#

i was correct

tender river
olive sable
#

i would kill for some rn

sage crag
tender river
olive sable
tender river
#

most of those lines were one function neuroDespair

olive sable
tender river
#

or two if we're being honest

olive sable
#

seems to be simialir tho

tender river
#

(i don't blame him i was just a bit surprised the compiler didnt compile it to essentially equivalent code stack usage wise)

sage crag
tender river
#

it makes sense to compile a separate slot for each variable in debug mode

#

probably

olive sable
#

imagine using zig niuh

sage crag
#

ah yes, the compiler was compiled on debug mode

#

this is true

sage crag
olive sable
#

true

sage crag
#

its not basically zig enub

olive sable
#

it better not be

tender river
#

its definitely not basically zig its completely different such as uuh

sage crag
olive sable
desert plaza
#

something wrong with zig? thonk

sage crag
#

no

#

hblang is written in zig

#

i like zig

olive sable
#

i have no clue what zig is but im hating on it for no reason

sage crag
#

i am not under duress while i say this

amber fractal
#

-# nub

sage crag
#

smolnub

olive sable
olive sable
#

i have noclue how things got like this but konii and i just hate on eachother these days ig

sage crag
olive sable
#

as friends tho

#

or like, i think we're friends?

opaque sigil
#

CUDA call failed: CUDA_ERROR_ILLEGAL_ADDRESS (an illegal memory access was encountered)
my favourite neuroHypers

tender river
#

you're under arrest

sage crag
#

i am over arrest

#

thank you

olive sable
#

3D modeeling an american house makes one truley question what architects even do

amber fractal
#

Delegated to Chatgpt before AI even existed

olive sable
#

why is the window not centered?
why is the left side painted a diffrent colour than the right side?
why does this part suddendly have a brick wall

sage crag
#

cheaper

#

the builders just wing the design as they go enub

olive sable
#

if im paying 6 digits for a house it better have centered windows or im dragging the designer to my basement

sage crag
#

they didnt make you one

tender river
#

arent some american houses essentially disposable because its cheaper to get insurance than build a proper house

desert plaza
#

difgits mhm

sage crag
#

git difs?

#

no way

olive sable
sage crag
#

a hole dug with a shovel is not a basement it is a burial

amber fractal
#

Hell is my basement and your going to a burning good time while your down there

olive sable
#

no no, its a proper basement-ish

#

it has a staircase, and the walls are cemented

#

it only leaked water into it a coupe times

sage crag
#

im actually an html tag

#

little known fact

olive sable
#

konii, you're a fucking tv

tender river
#

<konii/>

sage crag
#

maybe

sage crag
#

i have died

amber fractal
#

<konii>

sage crag
#

i am alive

desert plaza
tender river
#

but if someone types somethig like </html> the <konii> tag will automatically close

sage crag
#

you have killed me

tender river
#

its okay i revived you as well

sage crag
#

🤔

amber fractal
#

<konii><konii>

#

Duplication

desert plaza
#

<konii></konii> complete

sage crag
#

for legal reasons i am not allowed to create clones of myself in text channels

tender river
olive sable
#
<konii>
        <meta charset="utf-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
            background-color: #222;
        }
        canvas {
            border: 0px none;
            outline: none;
            background-color: black;
            width: 100%;
            height: 100%;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .overlay {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 1;
            font-size: 30px;
            color: white;
            background-color: black;
        }
    </style>
</konii>
sage crag
#

sorry i do not have css support

#

no styling

olive sable
#

setting up a quick window to dispaly my opengl on konii

olive sable
sage crag
#

rude

#

i can make cookies

opaque sigil
#

idk if i like this result better more than the cuda segfault hmm

olive sable
#

ill take yuor entire stock

amber fractal
#

can the konii tag at least do web assembly?

sage crag
#

perhaps

olive sable
sage crag
olive sable
small anvil
#

evil samvanmaele

olive sable
sage crag
#

egg

olive sable
#

sure...

#

egg

tender river
#

🥚

small anvil
sage crag
#

how do the egg manufacturing companies make them so tasty

#

:mhm:

desert plaza
#

what

sage crag
#

the egg manufacturing companies

#

:mhm:

olive sable
#

egg manufacturing companies NeuroClueless

small anvil
olive sable
#

dont let her find out

#

keep her away from chicken

small anvil
#

what’s a chicken????

sage crag
#

speaking of how do my chickens get eggs from the egg manufacturing company

#

they cant drive

tender river
#

cant relate i dont like the taste of eggs neuroFumo might have something to do with the fact im vegetarian NeuroClueless

olive sable
sage crag
#

i also dislike the flavour of eggs enub

#

they arent tasty, i lied

olive sable
#

ah

tender river
olive sable
#

actually made me laugh irl

sage crag
#

i also lied about egg manufacturing companies

olive sable
#

i should not be cackling at 4am

sage crag
tender river
#

konii the gambler

#

konii the deceiver

desert plaza
small anvil
olive sable
#

konii the eldritch

sage crag
tender river
#

BROOM 💥

sage crag
#

not quite, try again

olive sable
tender river
#

BROOM 🧹

sage crag
#

correct

sage crag
#

but try it

olive sable
#

uhhh

#

i have a broom somewhere

sage crag
#

i would hope so

olive sable
#

and im pretty sure there's a witch hat in the attick

olive sable
small anvil
#

it would be so cool to be able to fly

olive sable
#

plane

small anvil
#

and teleport

small anvil
olive sable
#

you can telepor,t just very very nearby

small anvil
#

sometimes i wish my food would automatically make itself too

desert plaza
small anvil
opaque sigil
#

it works (copying a dp calculation is hard i guess) neuroHypers

olive sable
#

did you know when you move your arm, your arm actually goes in every single direction at the same time?
the action of the non-standart directions just cancel eachother out

small anvil
tender river
olive sable
#

ig your mom counts

small anvil
olive sable
#

i have a dream

small anvil
olive sable
#

this is not unlimited balde works like damn

opaque sigil
#

these stack traces sure will take some getting used to neuro7

#

or ig function signatures

sage crag
#

stack trace

#

(or function signature)

olive sable
#

le function shit

small anvil
sage crag
#

welcome

small anvil
#

sometimes i wish i was a sandwich instead of a person mmmmmm how nice it would be to be a sandwich

#

ham sandwiches rock

opaque sigil
sage crag
#

its not that hard to become a sandwich

#

you just need an upscale loaf of bread

tender river
amber fractal
#

This took too much work

tender river
#

you just need two slices

sage crag
#

i am actually not rapidly approaching your location at all

#

do not be afraid or wary

tender river
#

i believe you

small anvil
sage crag
#

i just told you not to do that

olive sable
#

enub i shoudl rapidly aproach igglies location sometime. it could be fun

small anvil
#

sowwy

olive sable
#

he's american tho so i need to be carefull

#

the flag is on your house

amber fractal
#

True

olive sable
#

ill just go to a walmart for an equal playingfield

small anvil
#

days of studying how assembly works have reduced me into a single celled organism

amber fractal
#

there is one nearby 👍

sage crag
#

made of fire hddthr ss

small anvil
#

yes koni

opaque sigil
#

i just realised

#

mojo thinks i have a 5090 so it think there are way more resources available than there are

midnight sigil
opaque sigil
opaque sigil
olive sable
olive sable
opaque sigil
#

seems odd though

sage crag
#

i cannot run on water yet

opaque sigil
#

i only asked for the max block size

small anvil
sage crag
#

yeah

opaque sigil
#

which according to mojo is 1024, the same value i just hardcoded instead om

olive sable
#

brother you're a talking tv, just float above the ocean with the same magic

small anvil
#

when is the day where you will be able to

opaque sigil
#

oh

#

i'm an idiot

olive sable
opaque sigil
#

maxThreadsPerBlock = ctx.device_info.max_registers_per_block newero

olive sable
#

catnod sure i know what that is

amber fractal
opaque sigil
#

basically the number of variables you can have

#

the only thing that matters is

#

it's 65536 vs 1024

tender river
#

konii just ride a catamaran newero

sage crag
olive sable
small anvil
amber fractal
patent walrus
#

i got home after a week so im behind a little but did you guys see notepad does markdown now

patent walrus
olive sable
#

i dont know what that means but welcome back vani

small anvil
#

no frickin way

olive sable
amber fractal
#

md in notepad neuroNOWAYING

small anvil
tender river
# patent walrus

next they will add syntax highlighting, image support, lsp integration

sage crag
#

and then it will be 30% as good as kwrite

amber fractal
small anvil
#

notepad turning into the new vscode

desert plaza
small anvil
midnight sigil
#

that's crazy

olive sable
midnight sigil
#

but I'm sticking to my best friend vscode portable

olive sable
#

does markdown support embeds?

opaque sigil
#

yknow what, my knapsack went from 27s to 17s

#

i'll take it

amber fractal
olive sable
opaque sigil
#

just fix the lsp and i'm down

desert plaza
tender river
small anvil
olive sable
#

nowaying

sage crag
small anvil
olive sable
#

so you can add html games to the md file?

tender river
#

notepad.exe using electron

sage crag
small anvil
sage crag
#

lots of it is sanitised to not allow arbitrary html

amber fractal
tender river
olive sable
#

ahh damnit

midnight sigil
#

notepad is the windows version of vim now

tender river
#

more like windows version of ed

midnight sigil
#

imagine they add plugin supports for notepad lmao

small anvil
desert plaza
midnight sigil
small anvil
#

they shall add api support with lua,,

tender river
small anvil
sage crag
tender river
#

mhm

#

not to be confused with brain tumor megacolon cancer

hoary lion
#

what

midnight sigil
desert plaza
small anvil
desert plaza
#

aight

tender river
#

any coincidences purely accidental

sage crag
#

any coincidences are purely coincidental

small anvil
#

guys i have been stalling sleep for the past 5 hours and now i see the sun

sage crag
#

mhm similar

tender river
#

any accidents are deliberate

olive sable
#

lua roblox.lang

tender river
#

and may happen if you push further on this name issue

small anvil
small anvil
#

im going to get home and then hit the floor snoozing

tender river
#

its 10am so im going to sleep soon too

opaque sigil
#

i wanted to go sleep 5 hours ago neuroDespair

desert plaza
#

i really do need to get to bed soon aswell

amber fractal
tender river
#

sleep is optional
disclaimer: this is not medical advice

small anvil
tender river
#

because i'm getting sleepy

desert plaza
#

tutelBedge zzzz

sage crag
#

i dont need sleep i have water bottle

small anvil
#

was born to mimimi instead i am drinking monster and red bull at every hour

amber fractal
tender river
#

water

sage crag
#

fire

opaque wharf
#

Earth

amber fractal
#

Wind

small anvil
#

wind

#

double wind

sage crag
#

extremely loud incorrect buzzer

#

correct answer was water

olive sable
#

you cant have water twice

amber fractal
#

I sniped wind

small anvil
#

mmmmmm tasty water

sage crag
olive sable
#

cuz you're a tv

tender river
#

you actually can

#

let me demonstrate

sage crag
#

water twice is one water

#

many waters are one water

olive sable
#

dont get me started on this

#

i have spent literal 10's of hours debating things

amber fractal
#

Who are we drowning today?

sage crag
#

sam

small anvil
olive sable
#

if you have more than 1 H2O, you have multiple waters

desert plaza
olive sable
#

yes

amber fractal
small anvil
olive sable
#

water is wet

sage crag
olive sable
#

i said it

desert plaza
#

water is not wet

olive sable
#

it is

desert plaza
#

but it is

sage crag
#

a single water molecule is not wet

tender river
#

we had a debate club in school but everyone had to go there for some reason despite it not being graded, once the teacher said something like "well if you don't want to be here you can just leave" worst mistake of her life

desert plaza
#

water wetness is a superposition

tender river
olive sable
#

H2O makes other things wet, but if you have 2 H2O's they make eachother wet

#

wait

#

phrasing

sage crag
#

this too is yuri

olive sable
amber fractal
small anvil
sage crag
#

awa

olive sable
desert plaza
amber fractal
olive sable
#

its not my fault english is such a dirty language

sage crag
small anvil
sage crag
#

could be your fault

small anvil
#

that way all mistakes we make are on us

olive sable
#

when i spent hours debating this issue it was in dutch, where words dont have such double meanings

sage crag
#

your language could never support the fae ecosystem

desert plaza
olive sable
#

i dont even know what the fea is

amber fractal
#

bwaa

olive sable
opaque wharf
olive sable
#

wdym?

opaque wharf
olive sable
#

ANGRY jij vuile teef

olive sable
#

proabbly me

sage crag
desert plaza
amber fractal
midnight sigil
opaque wharf
olive sable
sage crag
#

does speaking in binary count as automod evasion

small anvil
olive sable
#

wiseposting fr fr

tender river
#

it does if it evades automod newliv

opaque wharf
olive sable
midnight sigil
#

well crime isn't crime if no one charge you NeuroClueless

olive sable
#

me when 00000000 - 00000001: ErmExplode

olive sable
#

ye but you underflowed

#

bad

sage crag
#

underflowing is based

tender river
#

good

sage crag
#

cheap and useful operators

#

saturating operators are boring and uncool

#

and operators that can panic should explode

tender river
#

try undefined behavior

  • does what it wants
  • doesnt care what you think
  • may or may not make your entire program run a few orders of magnitude faster
small anvil
sage crag
#

thankfully overflowing operators are very well defined

tender river
#

but + in C isnt overflowing neuroDeadge

sage crag
#

less black box than overloading operators

sage crag
sage crag
#

correct

amber fractal
#

hblang :ragey:

desert plaza
small anvil
#

add an eepy keyword that makes the program halt forever for no apparent reason SMILE

tender river
#

go uses hblang it has json deserializing what else could possibly want

sage crag
#

json parsing neuroCry

#

banned

tender river
#

just you wait i'll also add serialization

sage crag
#

i want to write a serde clone at some point

#

i think its fairly easy in hblang

olive sable
#

its getting somewhere. i just need to add a window on the left

amber fractal
#

This house is ugly fr

olive sable
#

yep

sage crag
#

garage

olive sable
#

i cant believe you live there

sage crag
#
._start: jmp :_start
olive sable
# sage crag garage

i would flame for 3 garages but i myself have 3 garages and we still park cars infront too

desert plaza
desert plaza
#

anyone here ever written hello world in machine code? ReallyInnocent

olive sable
#

nope

sage crag
#

why would i do that

olive sable
#

sounds like suffering

small anvil
amber fractal
opaque wharf
#

Z80

sage crag
#

assembly is directly translatable to machine code enub

desert plaza
sage crag
opaque wharf
#

I've only write raw machine code for Z80 for my college assignment

olive sable
opaque wharf
#

Also designing the minimum system

amber fractal
olive sable
#

i have a friend who lives kinda like that, its not too uncommon here. but most of the time we just have a loglong row of connected houses

desert plaza
#

it's x86 ReallyInnocent

sage crag
#

is it just an instruction or is it opcode + operands

#

also is it packed or is it padded

opaque wharf
sage crag
#

moo

desert plaza
amber fractal
desert plaza
#

F4?

small anvil
tender river
# sage crag ```x86asm ._start: jmp :_start ```

did you know you can do inheritance in hblang

A0 := fn(Self: type): type return struct {
    foo := fn(): u32 return 5
    bar := fn(): u32 return Self.foo() + 5
}
A := struct {
    foo := A0(A).foo
    bar := A0(A).bar
}
B := struct {
    foo := fn(): u32 return 10
    bar := A0(B).bar
}
desert plaza
tender river
opaque wharf
small anvil
olive sable
#

always

desert plaza
sage crag
sage crag
olive sable
#

ah you typed word

#

i read world

#

just split the world apart

sage crag
gritty dust
tender river
sage crag
#

you could also automate this process with functions if we could get method info for structs but uh

amber fractal
tender river
#

extensible records but not extensible

olive sable
#

konii fr fr

tender river
amber fractal
small anvil
#

average tuesday for konii

sage crag
#

its wednesday

#

optimal day

small anvil
#

i forget

sage crag
#

tuesday is too soggy

small anvil
#

sowwy

amber fractal
sage crag
#

frog

olive sable
#

holy fuck it is

small anvil
#

fog

olive sable
#

its wednesday

#

why

small anvil
sage crag
#

the inevitable and inexorable march forward of time

tender river
desert plaza
opaque wharf
#

And I'd say today is sunday

sage crag
pulsar sun
#

I'm stuck in the past it's still Tuesday

small anvil
#

and its a thursday

olive sable
small anvil
#

at 7pm

tender river
amber fractal
small anvil
#

ah yes i too speak symbols

olive sable
olive sable
#

we all know im way too edgy for my own good

#

my pfp is literaly mt. edgelord

amber fractal
olive sable
#

ahhh

#

who?

small anvil
#

☺️☺️☺️☺️☺️

opaque wharf
#

Normalize emoji in conversation

olive sable
#

never

#

we need emoticons

pulsar sun
#

:0

olive sable
#

╰(°▽°)╯╰(°▽°)╯ ☆*: .。. o(≧▽≦)o .。.:*☆

amber fractal
hoary lion
#

i feel extra kawaii today

#

wtf

amber fractal
olive sable
olive sable
#

( ̄y▽ ̄)╭ Ohohoho.....

tender river
amber fractal
#

No further truth has been said

#

I wait until a random mod walks in

pulsar sun
#

case "a": return "@"
case "b": return "<"
case "c": return ";"
case "d": return "("
case "e": return "£"
case "f": return "#"
case "g": return "¶"
case "h": return "&"
case "i": return "!"
case "j": return "i"
case "k": return "%"
case "l": return ">"
case "m": return "/"
case "n": return "]"
case "o": return "☺"
case "p": return ")"
case "q": return "©"
case "r": return "ǽ"
case "s": return "§"
case "t": return "↑"
case "u": return "♫"
case "v": return "▼"
case "w": return "♥"
case "x": return "-"
case "y": return "^"
case "z": return "~"
case " ": return "�"
case "1": return "7"
case "2": return "1"
case "3": return "2"
case "4": return "8"
case "5": return "9"
case "6": return "0"
case "7": return "3"
case "8": return "5"
case "9": return "4"
case "0": return "6"
case "?": return "¿"
case ".": return "☼"
case "!": return "$"
case _:
return letter

amber fractal
#

it's going to be funny

desert plaza
pulsar sun
#

37 is 23

#

Why did everyone stop talking?

#

...hello?

desert plaza
#

guys, are yall machine code haters or what neuroGlorp

desert plaza
pulsar sun
#

from TextEncryption import *
from customtkinter import *
import keyboard

log = []

def textencryption():
text = textbox.get("1.0", "end-1c")
if text and text[0] == "♣":
result = decrypt_string(text)
else:
result = encrypt_string(text)
result = result.title()
textbox1.delete("1.0", "end")
textbox1.insert("1.0", result)
log.append(result + '\n')
textbox2.delete("1.0", "end")
textbox2.insert("1.0", ''.join(log))

def poll_key():
if keyboard.is_pressed('end'):
textencryption()
app.after(100, poll_key) # Check every 100 ms

app = CTk()
app.geometry("400x400")
app.title("Text Encryption")

textbox = CTkTextbox(app, width=300, height=150)
textbox.place(relx=.3, rely=0.5)
textbox1 = CTkTextbox(app, width=300, height=150)
textbox1.place(relx=.5, rely=0.5)
textbox2 = CTkTextbox(app, width=300, height=500)
textbox2.place(relx=.05, rely=0.05)
poll_key() # Start polling for key press

app.mainloop()

small anvil
#

flashbanged with code NeuroPossessed

olive sable
olive sable
small anvil
#

cant seem to start the game though…

midnight sigil
small anvil
safe path
olive sable
#

rename it to #screeps

safe path
#

i curse this chat to write 4 lines of haskell every 2 messages

olive sable
#

idk what haskell even is

desert plaza
unkempt citrus
tender river
desert plaza
unkempt citrus
midnight sigil
#

my bad I don't know how to write in machine code

safe path
#

@pulsar sun even if you gave the decryption script for your symbols, don't spam the symbols in this chat. english (plaintext) only :)

amber fractal
#
 ▲◝ ◜▲
  ◓▰◓
 ┗   ┛╲
▰   ▰ ╲      

I was bored

hoary lion
#

do functional programming

olive sable
#

if i moddeled my own house i would have been done in 20min. iggly why does your house have so much useless geometry?

desert plaza
#

also what's E9 05?

tender river
tender river
amber fractal
#

before I close out of the unicode tab, nice layering 👍

safe path
#

i happen to enjoy pain

olive sable
#

masochist

#

confirmed

tender river
hoary lion
#

chill

tender river
#

deterministic concurrency neuroPogHD

amber fractal
olive sable
#

texturing will be for another day cuz damn im getting sick of american housing and i dont even live there

olive sable
#

neverming i have to do all the other buildings too still

amber fractal
tender river
olive sable
#

i aint doing interior for any of these. openworld does not mean entering the godforsaken buildings

amber fractal
#

hard agree

tender river
#

but when you don't have &mut the sane default should be to just parallelize it

#

or rather, not express any dependencies

safe path
#

yeah ok that i can agree

hoary lion
#

extra pink for more kawaii

olive sable
#

(/≧▽≦)/(/≧▽≦)/

midnight sigil
#

and the only line

hoary lion
#

time to set up some training script for my first alpha speech tokenizer

desert plaza
#

that's what u said

midnight sigil
gritty dust
#

gn ima go eep

midnight sigil
#

it's random stuff

midnight sigil
gritty dust
desert plaza
#

what

desert plaza
sage crag
#

how will you truamatise young devs without race conditions

olive sable
#

i like simultanious acces, i dont like race conditions tho

midnight sigil
sage crag
olive sable
#

no no no

tender river
olive sable
#

simultanious acces does not mean you're racing

#

do you mean acces as a write?

sage crag
olive sable
#

i was

sage crag
#

which, even reading isnt guaranteed to be

tender river
#

just that easy

olive sable
#

what have you just put there? it disgusts me

sage crag
desert plaza
tender river
#

but not atomic

sage crag
tender river
#

no its faux atomic

olive sable
tender river
#

because i first load and then store

#

rather than compare exchange

#

so its not atomic

#

despite using atomic stores and loads

olive sable
#

vulkan luckily has semaphores and fences

sage crag
#

how will i write my mutex primitive if i dont remember compare-exchange

tender river
#

the correct way is

a.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst);
tender river
olive sable
tender river
#

there is a way for two threads

#

but for N threads you're gonna combust

sage crag
#

just need to figure out how to do atomics in ableos without assigning an ipc buffer to each one

#

wondering how most microkernels do atomics

#

userspace or in kernel

tender river
#

they would... just use the cpu's atomic operations, but for shared resources probably kernel hm

sage crag
#

would probably be a kernel service

tender river
#

its either shared memory with both pinky promising to use atomics

olive sable
#

all this talk baout atomics

tender river
#

or kernel service

olive sable
sage crag
tender river
#

or just some service giving out resources

sage crag
#

hum

#

doubtful there will be an ergonomic way to use lock prefixed instructions in hblang for a long time

#

maybe i should use kernel futexes on linux

#

but then again i could also make a nasm shim

#

but also thats weird and annoying neuroCatUuh

tender river
#

oh yeah i have 3 open lily prs

sage crag
#

oopsy

tender river
#

its ok cupsama

sage crag
#

will program today

#

have researched thoroughly

tender river
#

go sleep first

sage crag
#

have been lazy

sage crag
tender river
#

go sleep first

sage crag
#

possibly

olive sable
#

i agree

#

dont mind me being in the same timezone

tender river
#

dont mind me being 7 hours ahead of you

olive sable
#

did you not wake up?

tender river
#

i'm still sleeping actually

sage crag
#

i vant read

olive sable
#

cant balme you i woke up at 6pm yesterday

sage crag
#

a cpeaning mu glasses

olive sable
#

cpeaning

desert plaza
sage crag
#

is that you sam

olive sable
#

sometimes

#

it depends

sage crag
olive sable
#

ohohhhhh

sage crag
#

ehat did you say?

olive sable
#

konii wears glasses confirmed