#💽Programming Chat v2

1 messages · Page 35 of 1

spare quartz
#

ughughguhuguhg

timid quartz
#

全部を知らないんだから

spare quartz
#

i just got my ears blown out by an nbc ad

#

i hate ev erything

spare quartz
#

evergreen

#

they have been arguing for like 2 days

#

over compilation size

#

😭

timid quartz
#

you'll also soon learn that the days of the month are quite strange too

#

一日
二日
三日
四日
五日

spare quartz
#

wdym

#

is it like, different orders of magnitude

#

i thought they were all just x日

timid quartz
#

specifically the readings

#

like those things above

#

you may THINK you can read them

#

but you probably cant

#

for example what do you think 一日 is

spare quartz
#

hmmm

#

1

timid quartz
#

no no the reading

#

the reading

spare quartz
#

oh

timid quartz
#

how do you think you would say that

spare quartz
#

am i allowed to say it in english

timid quartz
#

sure

spare quartz
#

the first day of the month?

timid quartz
#

ok that's not the reading

#

that's the meaning

#

so like

#

uh

spare quartz
#

day 1?

timid quartz
#

the reading of this is なぜ or "na ze" if you romanize it

spare quartz
#

yeah

timid quartz
#

so what do you think the reading of 一日 is

spare quartz
#

wait do you mean the pronounciation

timid quartz
#

yes

spare quartz
#

stoopid

#

umm

#

mmm i dunno, what is it

timid quartz
#

so 一 is read "i chi"
日 is usually read "hi" or "ni chi"

#

so if you put both together what do you get

spare quartz
#

i chi ni chi :sob;

timid quartz
#

right

#

that's what you'd think it is

#

and in certain contexts that's what you'd read it as

#

BUT

#

if you are referencing the first day of the month

#

it is ついたち "tsu i ta chi"

spare quartz
#

intrsting

timid quartz
#

same thing for the 2nd - the 10th

spare quartz
timid quartz
#

and also the 20th

spare quartz
#

つ is really versatile ...

timid quartz
#

mhm

#

ひとつ
ふたつ
みっつ
よっつ
いつつ
むっつ
なのつ
やっつ
ここのつ
とお

#

so right now it is actually

#

二月七日
にがつなのか

spare quartz
#

which literally means something like the seventh day of the month

timid quartz
#

yes quite literally

#

2nd month 7th day

spare quartz
#

is there something similar for like

#

the nth day of the year

timid quartz
#

uh

#

not sure

spare quartz
#

or is that just the (arabic) numbered format

timid quartz
#

I mean you can probably say something like

#

年のX日

spare quartz
#

元日

#

theres this for new year's

#

This is the Official Soundtrack to "FORTS" composed by Jeff van Dyck. The game was developed by EarthWork Games. Buy the soundtrack here...
BandCamp : https://goo.gl/q37WZS
Steam : https://goo.gl/Cb6ae6
Google Play : https://goo.gl/9xb5Hj
Spotify : https://goo.gl/GtzYRg
iTunes : https://goo.gl/QFR8n7
Apple Music : https://goo.gl/WW3kKn
Tidal : h...

▶ Play video
#

i hate my programmer life

#

oh

#

all his repos are ts

lavish dove
#

sdl2 is better than sdl3 in my opinion

#

sfml is kinda limiting but not really, tis just kinda slow

rustic vine
#

Aaaaaa template explosion

#

Does rust do the same thing?

timid quartz
spare quartz
#

test it by just

#

creating 5000000000 instances of a generic func

rustic vine
spare quartz
#

man i suck at usnig a computer

#

@timid quartz there is SOMETHING of upmost importance i must show to you

#

(frrom unfunnylad)

timid quartz
spare quartz
#

LOL NO 😭

spare quartz
#

IM SO BOREDDDDD

spare quartz
#

we did good

#

this about 0.5% of every message sent in general

#

HOORAY

#

ITS BEING SHIPPED

#

🎉

timid quartz
#

Java project moment

spare quartz
#

... um

#

do you know exactly what our mod does ...

lavish dove
#

I completely broke my opencl

spare quartz
spare quartz
#

hooray

spare quartz
spare quartz
spare quartz
#

first instrrucrtion done

#

just gotta set the flags now

spare quartz
#
when (this.cir.toUInt()) {
      0u   -> { // ADD
        this.fetch()
        val rm = this.getModRM16A(this.cir, AddressingLength.R8)
        val add1 = rm.register.get()
        val (result, add2) = rm.memRM.decide({
          val add2 = it.get()
          (add1 + add2).also { v ->
            println("ADD ${it.get()} + $add1 -> $v")
            it.set(v)
          } to add2
        }, {
          val add2 = this.computer.requestMemoryAt(it)
          (add1 + add2).also { v ->
            println("ADD [$it] + $add1 -> ${v.toUByte()}")
            this.computer.setMemoryAt(it, v.toUByte())
          } to add2.toULong()
        })
        this.setFlag(FlagType.OVERFLOW_FLAG, (result and 0xFFu) != result)
        this.setFlag(FlagType.SIGN_FLAG, result.toByte() < 0)
        this.setFlag(FlagType.ZERO_FLAG, result == ULong.MIN_VALUE)
        this.setFlag(FlagType.AUXILLARY_CARRY_FLAG, ((add1 and 0xFu) + (add2 and 0xFu)) > 0xFu)
        this.setFlag(FlagType.CARRY_FLAG, false) // TODO CF
        this.setFlag(FlagType.PARITY_FLAG, ((result and 0xFFu).countOneBits() % 2) == 0)
        println("FLAGS: ${this.flags.x.toString(2)}")
      }
      else -> TODO("Unrecognized opcode (${this.cir.toHex()})")
    }
#

adding is big

spare quartz
#

okay got ISO decoding partially

#

if any of youo have isos i want to see them

spare quartz
#

expanded to read the identifiers off a primary record

#
VolumeDescriptor(type=PRIMARY_VOLUME_DESCRIPTOR (1), identifier=CD001, version=V_1 (1), data=ByteArray[512]):(systemIdentifier="                                ", volumeIdentifier=" ARCH_202502                    ", volumeSetIdentifier="                                                                                                                                ", publisherIdentifier=" ARCH LINUX <HTTPS://ARCHLINUX.ORG>                                                                                             ", dataPreparerIdentifier=" PREPARED BY MKARCHISO                                                                                                          ", applicationIdentifier=" ARCH LINUX LIVE/RESCUE DVD                                                                                                     ", copyrightFileIdentifier="                                     ", abstractFileIdentifier="                                     ", bibliographicFileIdentifier="                                     ", 
VolumeDescriptor(type=BOOT_RECORD_VOLUME_DESCRIPTOR (0), identifier=CD001, version=V_1 (1), data=ByteArray[1977]):(bootSystemIdentifier="EL TORITO SPECIFICATION         ", bootIdentifier="                                ")
#

heres ar un on an archi so

spare quartz
timid quartz
honest loom
#

Can someone help me fix this BlastDoor Script?
Bugs:

  1. Blast door Sometimes doesn't close/Open when scanned.
  2. Blast door when not in use, the blast door sound sometimes plays for some reason.
  3. Keycard scanner is Spammable.
honest loom
timid quartz
#

dude how long does it take to install rustfmt

#

sheesh

spare quartz
#

is that your version of gnatpp/gnatformat

timid quartz
#

mhm

spare quartz
#

neat

#

gughmnsdkf my brain feels like i smelled lithium again

#

i think im tired

timid quartz
#

you sure it's not the lithium scented candles I shipped to you

spare quartz
#

if its not manga i dont want it

#

anyways never smell lithium battery fumes ever

#

smells really weird at first then you get the worst headaches possible

#

get here faster

#

or ill drive tehre myself

timid quartz
#

oh wait @spare quartz your thing checks Content-Type and Content-Length doesn't it

spare quartz
#

only length

timid quartz
#

ahh that would be why I was getting remote host errors

spare quartz
#

the server itself will generate content-type on GETs though

#

im currently packing your isos you sent into a jar rn

#

starting with that one

#
VolumeDescriptor(type=PRIMARY_VOLUME_DESCRIPTOR (1), identifier=CD001, version=V_1 (1), data=ByteArray[512]):(systemIdentifier="                                ", volumeIdentifier=" Fedora-WS-Live-40-1-14         ", volumeSetIdentifier="                                                                                                                                ", publisherIdentifier="                                                                                                                                ", dataPreparerIdentifier=" XORRISO-1.5.6 2023.06.07.180001, LIBISOBURN-1.5.6, LIBISOFS-1.5.6, LIBBURN-1.5.6                                               ", applicationIdentifier="                                                                                                                                ", copyrightFileIdentifier="                                     ", abstractFileIdentifier="                                     ", bibliographicFileIdentifier="                                     ", 
VolumeDescriptor(type=BOOT_RECORD_VOLUME_DESCRIPTOR (0), identifier=CD001, version=V_1 (1), data=ByteArray[1977]):(bootSystemIdentifier="EL TORITO SPECIFICATION         ", bootIdentifier="                                ")
#

okay and now gparted.iso

#
VolumeDescriptor(type=PRIMARY_VOLUME_DESCRIPTOR (1), identifier=CD001, version=V_1 (1), data=ByteArray[512]):(systemIdentifier="                                ", volumeIdentifier=" GParted-live                   ", volumeSetIdentifier="                                                                                                                                ", publisherIdentifier=" GPARTED HTTPS://GPARTED.ORG                                                                                                    ", dataPreparerIdentifier=" XORRISO-1.5.4 2021.01.30.150001, LIBISOBURN-1.5.4, LIBISOFS-1.5.4, LIBBURN-1.5.4                                               ", applicationIdentifier=" GPARTED LIVE CD                                                                                                                ", copyrightFileIdentifier="                                     ", abstractFileIdentifier="                                     ", bibliographicFileIdentifier="                                     ", 
VolumeDescriptor(type=BOOT_RECORD_VOLUME_DESCRIPTOR (0), identifier=CD001, version=V_1 (1), data=ByteArray[1977]):(bootSystemIdentifier="EL TORITO SPECIFICATION         ", bootIdentifier="                                ")

timid quartz
#

@spare quartz did you get that

#

check aera-memes/cat_nonsense.webm

spare quartz
timid quartz
#

what da L

spare quartz
#

GET ...
^
you failed here

timid quartz
#

wdym get

#

i put

spare quartz
#

thats an example

#

you didnt send a valid http request

timid quartz
#

how did I not send a valid http req what

spare quartz
#

well the server is telling me you sent a file where your method was

timid quartz
#

gibberish?

spare quartz
#

misplaced

timid quartz
#

laced

#

it shouldn't be though

spare quartz
#

okay guardsman dev

timid quartz
#

the weird part is

#

that it got a response

#

and it was successful

spare quartz
#

what was the response

timid quartz
#

200 ok

#

well

#

lemme try a diff one

spare quartz
#

nic e

timid quartz
#

LMFAO

#

weird

#

ok

#

well

#

ig my shit just dont work

spare quartz
#

could also be a bug on my end where im not reading a request fully.. shouldn't be wrong though

timid quartz
#

weird if I use a diff http lib

#

it says that remote host is closing the connection

#

this is fucked

spare quartz
#

c:\users\adenosine3phosphate\desktop\http operations\aera-memes\5-seconds.mp4 1 / 0
Constraint error: raised CONSTRAINT_ERROR : bad input for 'Value: ""

timid quartz
#

what's that for tho

#

the length?

spare quartz
#

the line its pointing to reads off the method

#

hm

#

whats interesting though is that..

#

wait i think i see whats happening here

#

you're sending a request, somehow the library is parsing your Content-Length as 0

#

it tries to read/write a 0 file, doesn't do anything, returns OK

#

then when it loops back around for your next request, it reads the buffered file data

timid quartz
#

lmfao what the hell

timid quartz
spare quartz
#

im gonna switch over ports so i dont interrupt harrys file

#

7778 should work

timid quartz
#

can you delete 5-seconds.mp4

spare quartz
#

done

timid quartz
#

ok is it good to try now or

spare quartz
#

yeah

timid quartz
#

oop?

#

what's it say

#

mine is uh

spare quartz
#

there is no request, did you set your port to 7778

timid quartz
#

I did

spare quartz
#

okay let me start up the server on 7778

timid quartz
#

timed out

spare quartz
#

okay stasrting in a sec

#

okay, try now

#

7778 should be working when you're ready

timid quartz
#

closed

spare quartz
#
(PATH_LENGTH =>  25,
 VERSION => HTTP_1_1,
 HEADERS =>
 ["user-agent" => "ureq/3.0.5", "host" => "javart.zip", "accept" => "*/*",
  "accept-encoding" => "gzip", "content-length" => "282015"],
 TRANSMISSION_TYPE => NONE,
 METHOD => PUT,
 PATH => "/aera-memes/5-seconds.mp4",
 DATA_LENGTH =>  0)
#

your content-length is underscore...

rustic vine
#

@spare quartz its still sending

spare quartz
#

yes i see that

rustic vine
#

👍

timid quartz
#

wdym underscore

rustic vine
#

it may be slowed by the fact im on a vpn

spare quartz
#

lowercase***

timid quartz
#

no??

#

it's uppercase

timid quartz
#

I think you're printing it as lowercase

spare quartz
#

no

#

those are the actual string values contained within the map

spare quartz
#

this would explain why data length is 0

timid quartz
#

I think it's formatting as undercase

#

either that or just make your thing account for lowercase headers

spare quartz
#

let me just, lowercase everything on my end

timid quartz
#

cause I've seen lowercase headers elsewhere

spare quartz
timid quartz
spare quartz
#

@timid quartz try again when ready

#

im sending headers as lowercase and encoding their keys as lowercase when input

timid quartz
#

Protocol(MissingResponseVersion)

spare quartz
#

can you print out the raw input of what im sending you

timid quartz
#

that is indeed the video

spare quartz
#

@flint belfry we figured it out

#

at least, hopefully

#

your client was probably sending its headers in lowercase

timid quartz
spare quartz
#

which isn't in the spec last i checked

flint belfry
timid quartz
spare quartz
#

i hate spec violators

timid quartz
#

just send it lowercase

#

smh

#

or parse it lowercase whatever

#

it's so easy

spare quartz
#

gay and queer

flint belfry
#

@spare quartz it stiull suicks

timid quartz
#

anyways you're missing the http version in your response apparently

spare quartz
#

im not

timid quartz
#

idk if I can print the raw recv'd bytes

spare quartz
#

use wireshark

timid quartz
#

ughhh I don't have it installed

spare quartz
#

rdigdfm

spare quartz
#

no

#

if you wanna try uploading an iso you can do that now

flint belfry
#

i tried to upload an imaghe

#

it didnt work

spare quartz
#

try again

#

7778

#

harrys using 7777 rn

flint belfry
#

ok

spare quartz
#

well i was correct, however

flint belfry
#

huh

rustic vine
#

this code is really complex

#

and confusing to read

#

global function jumpscare

honest loom
rustic vine
#

it is not, I just added syntax highlighting so I can read it

honest loom
rustic vine
#

when did I say that

honest loom
rustic vine
#

brah

timid quartz
#

@spare quartz idk I used a different (more popular, kinda the de-facto) http lib and it didn't error

#

so idk

rustic vine
#

I can take a look to see whats wrong

timid quartz
#

probably a bug in the other or smth

rustic vine
#

I think its very complex and hard to read

spare quartz
honest loom
rustic vine
#

if it were written better it would be a lot easier to debug

spare quartz
#

tested my cURL and it tx'd fine too

flint belfry
#

what is wrong wiht mine

spare quartz
#

mines older by 4 minor versions than kades though

timid quartz
spare quartz
#

@flint belfry can you try a path that isn't root (/)

honest loom
#

how to write that lua message?

spare quartz
#

that might be causing misalignment in your further requests

rustic vine
#

yeah, I can't think through what this does rn, there are a lot of complex interactions that aren't made better by the duplication of code

flint belfry
spare quartz
#

doesnt matter, put the file anywhere

rustic vine
#

ping me tomorrow if you still need help with it

rustic vine
#

no, here

#

other people can prob chip in if they feel like it

#

but yea that code is hard to parse

timid quartz
#

@spare quartz /shrug

#

guess it's a lib bug?

spare quartz
#

even though the spec says thats optional

timid quartz
#

oh possible

rustic vine
flint belfry
#

@spare quartz done

timid quartz
#

include it smh...

rustic vine
#

est

#

or edt

#

or wahtever

#

whatever the stupid

#

daylight savings thing

#

we're on

#

I think we're edt

spare quartz
flint belfry
#

/fuck

spare quartz
#

i dont see any new logs on my end

rustic vine
#

still sending the iso

spare quartz
#

oh

rustic vine
#

slowest server ever

#

lock in

#

overclock it

spare quartz
#

you sent that to the wrong port, but

#

it went through

flint belfry
spare quartz
#

they are...

#

you're supposed to use 7778, 7777 is the old ver harrys using

flint belfry
#

YES I KNOW

#

I FORGOT TOC HANGHE THE PORT

flint belfry
#

OPEN THE FILE............

spare quartz
#

i cant

#

its too big

flint belfry
#

no it isnt

#

its 181 kb

spare quartz
#

its 182 kb

flint belfry
#

182

#

that can fit on a floppy

#

why cant you open it

spare quartz
#

im not opening it

rustic vine
flint belfry
spare quartz
#

because it has no extension

spare quartz
#

ill let you

#

thats impressive

flint belfry
spare quartz
spare quartz
#

an ROP in this program would be practically impossible to do though so

flint belfry
#

@spare quartz is there a file limit

spare quartz
#

aside from my physical disk space no

timid quartz
# honest loom Can someone help me fix this BlastDoor Script? Bugs: 1. Blast door Sometimes doe...

a few thoughts

  • Your blast door is spammable because you don't have a debounce. I see that you have a DB variable but from how it's being used it's actually only tracking if your door is open or not
  • Your door may not open/close sometimes because of the .TouchEnded:Wait() - personally I don't really think that's necessary but I'm also not entirely sure how you want your door to function, so maybe try not using that
  • Couldn't really tell you why the sound plays sometimes
spare quartz
#

there is a technical limit of 2^64 bytes though

rustic vine
timid quartz
rustic vine
#

what does that actually do

spare quartz
#

so

timid quartz
#

kinda self explanatory I think

spare quartz
#

Touched fires an event when touched

timid quartz
#

it's kinda in the name

spare quartz
#

TouchEnded fires when it stops

flint belfry
rustic vine
#

yea I get that its self explanatory but

#

I expect theres no guarantee that 1 touched = 1 touchended

spare quartz
#

never expect reliability from either

rustic vine
spare quartz
#

but its internally managed so it should be

rustic vine
#

essentially this

timid quartz
rustic vine
#

I would thumbs up that

#

but I can't react

#

the rich strike again

#

HOW CAN HE

#

WHAT

spare quartz
#

he paid to do it

rustic vine
#

brah

honest loom
spare quartz
#

twice

rustic vine
#

hi ranking roles lookin

#

I just be a peasant in these games

rustic vine
spare quartz
#

@flint belfry pls use 7778

flint belfry
#

oops

spare quartz
#

that way i can track you better

rustic vine
spare quartz
#

ew

honest loom
timid quartz
#

I see

honest loom
#

that was like 2 years ago

spare quartz
#

yup this all looks good

honest loom
#

when i was still quite good at scripts

#

but now

rustic vine
#

its due for a rewrite

#

because theres a lot of duplication

honest loom
#

i know nothing 😭

rustic vine
#

and use of :connect(

#

pls use :Connect

honest loom
spare quartz
#

CTRL+F

rustic vine
#

also the model tween thing is

#

not a good idea anymore

#

use PivotTo

#

instead of SetPrimaryPartCFrame

timid quartz
#

I think let's focus on the logic errors first

#

rather than stuff like that

#

and those kinds of improvements can come later

rustic vine
#

I mean he said he was quite good

flint belfry
#

@spare quartz Do You Like This Data

rustic vine
#

and theres usage of functions in that file

timid quartz
#

He literally just said he doesn't know how to script though

rustic vine
#

well

#

idk what to say

spare quartz
timid quartz
#

The logic working is more important than the code being pretty

spare quartz
#

so yeah

rustic vine
#

POSTMAN

#

GOAT

spare quartz
#

is everyone done tx'ing stuff

flint belfry
#

no

spare quartz
#

except for harry

rustic vine
#

I like pretty though (unrelated side note)

honest loom
#

@rustic vine Here the only connect

rustic vine
#

ye ik

honest loom
rustic vine
#

I think the proper way to do model tweens now is to use GetPivot

#

not getpivot

#

SetPivot

#

and don't bother with a cframe value

spare quartz
rustic vine
#

or yea, just doing that would be good too

spare quartz
#

pivotto was a thing back then iirc, i'm just saying the gist is still applicable to today

rustic vine
#

nvm you don't

#

do you? yea nvm you do

spare quartz
#

depends on what you want really

rustic vine
#

unless you want to roll your own tween api

spare quartz
#

you could use an attribute, do it frame by frame (and have to do lerps yourself)

#

or a simple val

rustic vine
#

attributes are slower than cframe values

timid quartz
#

I would definitely take the .Touched:Connect code and put that in a function though

flint belfry
#

atp im sure you wont mind what im about to send

spare quartz
#

as long as you dont overwrite anything

rustic vine
#

yeah extract duplicated code into functions

spare quartz
#

take note of the HTTP status codes

flint belfry
#

idk how i would manage that

spare quartz
#

201 - you made a file
200 - you overwrote something

timid quartz
#

@spare quartz add the OK to the end of the message rq

#

I wanna see what happens

pastel tinsel
spare quartz
#

199 is informational, see 5xx

timid quartz
#

that's actually 500

honest loom
spare quartz
#

yeah

pastel tinsel
#

lolol

spare quartz
#

setprimarypartcframe has this really bad side effect where itll gradually lose precision as you tween models

#

its not super bad but itll persist

#

oh crap

pastel tinsel
#

woah what

spare quartz
#

@flint belfry a little note i stepped on your iso download

#

try again after this restarrt

pastel tinsel
#

I did not know that

honest loom
#

the thing is, the door is a model

timid quartz
#

PivotTo works on models

flint belfry
#

i was uploading

spare quartz
#

upload

#

srory

flint belfry
#

oh

honest loom
pastel tinsel
#

OH RIGHT

timid quartz
#

like legit just

pastel tinsel
#

I use pivot to that is why

timid quartz
#

modelA:PivotTo(modelB:GetPivot())

spare quartz
spare quartz
#

server is back up aera/kade

spare quartz
timid quartz
#

how odd

spare quartz
#

weird

honest loom
spare quartz
#

PivotTo doesn't return anything

timid quartz
#

you don't even do the CFrameValue thing

spare quartz
#

you use GetPivot to get the current assembly cframe of a model

timid quartz
#

you just modelA:PivotTo(modelB:GetPivot())

pastel tinsel
#

yeah

honest loom
#

hold on

spare quartz
#

@flint belfry retransmit the iso when you're ready

#

i wanna put that in our mod

#

also i need to clean up after this

flint belfry
spare quartz
#

i mean putting it all into folders

#

im only deleting the test files i made

#

killed harrys server

honest loom
spare quartz
#

you can use .Changed on Value objects to get the changed value itself

#

it will override the default one in Instance

rustic vine
spare quartz
#

hey im not the guy writing the engine

flint belfry
#

i just said not all of them

spare quartz
#

every single one.

flint belfry
#

NOT EVERY ONE

#

GO CHECK THE OTHER ONES I SENT

spare quartz
#

yeah they all weigh in excess of 10,000 lbs

#

like you

flint belfry
#

aww thanks for the compliment

spare quartz
#

weird flex but okay

timid quartz
spare quartz
#

removed it after your library test didnt work

#

for a library that calls itself a simple http client thats a lot

timid quartz
#

@spare quartz sorry if my connection is acting weird im debugging

spare quartz
#

oh im not watching rn, coding mod rn

#

lmk if something interesting hpappens

timid quartz
#

ugh I didn't actually see what happened

#

frustrating

spare quartz
#
VolumeDescriptor(type=PRIMARY_VOLUME_DESCRIPTOR (1), identifier=CD001, version=V_1 (1), data=ByteArray[512]):(systemIdentifier="                                ", volumeIdentifier=" WIN_95C                        ", volumeSetIdentifier=" WIN_95C                                                                                                                        ", publisherIdentifier=" MICROSOFT CORPORATION                                                                                                          ", dataPreparerIdentifier=" MICROSOFT CORPORATION, ONE MICROSOFT WAY, REDMOND WA 98052, (425) 882-8080                                                     ", applicationIdentifier=" CDIMAGE 2.47 (10/12/2000 TM)                                                                                                   ", copyrightFileIdentifier="                                     ", abstractFileIdentifier="                                     ", bibliographicFileIdentifier="                                     ", 
VolumeDescriptor(type=BOOT_RECORD_VOLUME_DESCRIPTOR (0), identifier=CD001, version=V_1 (1), data=ByteArray[1977]):(bootSystemIdentifier="EL TORITO SPECIFICATION         ", bootIdentifier="                                ")
#

hopefully this works

rustic vine
#

@spare quartz its done!

spare quartz
#

oh yeah i know

timid quartz
#

wait I see ok hold on

spare quartz
#

it lost a good few kib of data but

#

the iso is mostly intact

#

lemme see if i cant decode it

rustic vine
spare quartz
# spare quartz lemme see if i cant decode it
VolumeDescriptor(type=PRIMARY_VOLUME_DESCRIPTOR (1), identifier=CD001, version=V_1 (1), data=ByteArray[512]):(systemIdentifier="                                ", volumeIdentifier=" WPILIB_2025_2_1                ", volumeSetIdentifier="                                                                                                                                ", publisherIdentifier="                                                                                                                                ", dataPreparerIdentifier="                                                                                                                                ", applicationIdentifier="                                                                                                                                ", copyrightFileIdentifier="                                     ", abstractFileIdentifier="                                     ", bibliographicFileIdentifier="                                     ", 
VolumeDescriptor(type=SUPPLEMENTARY_VOLUME_DESCRIPTOR (2), identifier=CD001, version=V_1 (1), data=ByteArray[2041])

#

does this look correct

#

not a bootable iso but ill run it through a file structure reader when i get the PVD part fully read

rustic vine
timid quartz
#

weird atp

#

so it seems to get your response version within the code somewhere

spare quartz
#

oh i can uh

#

change the version number at a whim if you wanna test that

#

HTTP/2?

timid quartz
#

not yet

#

hold on

#

cause it sure gets it right here

#

mm this might be where it happens

#

lets C

#

mm no

lavish dove
#

what happened in this channel

spare quartz
#

a normal day

timid quartz
#

lmfao atp wtf

#

I guess it decided to behave cause I was watching it

spare quartz
#

🤨

timid quartz
#

like bruh wtf

lavish dove
#

thats what things like to do

timid quartz
#

I ran it normally

#

error

#

I ran it in the debugger

#

fine

#

man maybe rust is cooked

lavish dove
#

lmao

timid quartz
#

@wheat zinc you may find this interesting

lavish dove
#

im finding it interesting 😭

timid quartz
#

cause it's lighter than reqwest

#

but it's saying that atp's server isn't sending a valid http response version

#

so I stepped through the debugger and it returned just fine

#

but if I just run it normally it errors

#

well reqwest it is then

lavish dove
#

lol

spare quartz
lavish dove
#

imagine if its a race condition

timid quartz
#

idk that would be nuts

#

I didn't recall seeing any like

#

mutex or whatever

#

but idk

lavish dove
#

im out of ideas

spare quartz
#

hi ureq/3.0.5

timid quartz
#

yeah idk why this shit error bruh

#

mm beautiful

spare quartz
#

you really sent a request without a user agent...

#

:<

timid quartz
spare quartz
#

also host/accept are redundant

#

at least for how the server operates rn

timid quartz
#

I didn't add those

spare quartz
#

oh

timid quartz
#

reqwest probably did

spare quartz
#

can i set the default to HTTP/3 and see how it reacts

timid quartz
#

how did you uh

#

determine when to print the progress

#

just randomly?

spare quartz
#

because the block size is determinate

timid quartz
#

gotcha

#

you're just reading in big chunks

spare quartz
#

can't go higher than 2^20 or stack_overflow will happen

#

my goto is 2^16 though (65k)

#

@timid quartz i set it to use HTTP/3 now (not actually just telling client that)

#

see how it reacts

timid quartz
#

oof

spare quartz
#

did it work?

timid quartz
spare quartz
#

oh

#

guess it doesnt like /3

#

maybe /2

timid quartz
#

LOL

#

get crawled

spare quartz
#

okay its running on HTTP/2 now

timid quartz
#

doesn't like /2

spare quartz
#

back to 1.1?

#

i thuoght it'd at least work with 2

timid quartz
#

oh wait

#

I have to add those as features

#

lel

spare quartz
#

😭

timid quartz
#

reqwest has http2 and http3 as features

#

ok it's long past my bedtime

spare quartz
#

sleep .

timid quartz
#

but I want to see if I can make this NOT use async and just use the blocking api

#

ive dm'd caes about the weird shit in ureq so we'll see if he has any wisdom

spare quartz
#

ughughuguhguh tokyo postage office you're so slllow

timid quartz
#

I only used async so I could get the "progress" indicator

spare quartz
#

how are youo printnig that

timid quartz
spare quartz
#

oh weird

pastel tinsel
spare quartz
#

it isnt

#

the event for .changed only listens to the .Value changes on the value object

pastel tinsel
#

are you sure

spare quartz
#

you may refer to the docs

proud creek
#

you may refer to the docs 🤓 👆

spare quartz
#

okay

timid quartz
# spare quartz oh weird

basically what it's doing is wrapping some custom sent-bytes-tracking logic into a stream and having reqwest read the request body from the stream

#

using file_reader directly is also ok but you don't get the progress tracking

#

Yknow atp

#

In another life I think you’d have been a great C programmer

spare quartz
#

timid quartz
#

You insist on making all your own stuff and interacting with it all directly

#

That’s literally what C developers are like

spare quartz
#

in that life i'd probably find rust and think it makes my life easier and then i'd just become myself but with rust 😭

timid quartz
#

They just make their own libraries

spare quartz
#

okay but C also looks weird :<

timid quartz
#

Less weird than rust

rustic vine
rustic vine
#

I like to hate but I genuinely think ada looks funny

spare quartz
#

i like to think they took a look at fortran and c and decided to write a lang based off both in memory

timid quartz
#

Yknow atp

#

ureq has gzip enabled by default

#

MAYBE it’s trying to un-gzip

#

Just an idea

spare quartz
#

it would be able to recognize that by the stream headers being missing no?

lavish dove
#

holy shit man this is annoying asf

#

clang fuckin cached my

#

file

#

its a header file that I changed, but it kept saying the old error so I fixed it then it said the same error so I fucking deleted it and its still saying the error when the file even doesnt fucking exist anymore

#

oh nevermind it was snooping from ~/Desktop wtf

full berry
spare quartz
#

got dates working on my iso reader, fixed a starting misalignment issue

spare quartz
timid quartz
snow oak
#

i'm relatively new to C and trying to use other scripts. i want it to sorta work like how scripts/modulescripts work in roblox, with the main server script requiring modules to make the server script less cluttered. i've seen online that i can make header files, but i don't really understand how to import them and use them properly

timid quartz
# snow oak i'm relatively new to C and trying to use other scripts. i want it to sorta work...

So the way that you use header files is by making them (duh) and then #include-ing them in other files (either header files or C files)

what #include does is basically copy-paste whatever file that you name, so something like

// --- main.c
#include "myheader.h"

int main(void) {
  // ...
}

// --- myheader.h
void myfunction(void);

becomes

void myfunction(void); // this is where the #include was

int main(void) {
  // ...
}
#

inside header files, you put declarations for things, so for example

// this is possible but discouraged
void myfunction(void) {
  // ...
}
// this is simply the *declaration* which
// describes the name and type
// you can also add other #include statements here,
// as well as global constants and #define macros
void myfunction(void);
#

this constitutes a really basic working example, where we declare myfunction in myheader.h, define (actually implement) it in myotherfile.c, and then use it in main.c

rustic vine
#

header only ftw

timid quartz
#

MUH LTO

spare quartz
#

okay i got ISO file reading kinda dne

#

the 2 files with blank names is the binary ISO uses to represent . and .. respectively

timid quartz
spare quartz
#

the bootloader is a trained professional

#

it doesnt need to know all of that

#

@timid quartz you sent me the gparted.iso disc right

#

is this all correct to you

timid quartz
spare quartz
#

bro sent me an iso and dosent even know whats in it 🙏

timid quartz
#

do you think I examine my isos

spare quartz
#

yeah

timid quartz
#

lavish dove
#

this uefi blockio thing is kinda inconvenient

timid quartz
#

@spare quartz can you turn on your 7778 server rq

#

I wanna test the no async client briefly

spare quartz
#

i was just about to write the el dorito specification :<

#

but okay

timid quartz
#

el dorito

spare quartz
#

port 7777 is open

timid quartz
#

yipee it worked

spare quartz
#

looks faster too

timid quartz
#

I wanna see how many features of reqwest I can disable too

spare quartz
timid quartz
#

ugh it still internally pulls in tokio

#

that's stupid whatever

#

ok im done

spare quartz
#
(PATH_LENGTH =>  21,
 VERSION => HTTP_1_1,
 HEADERS =>
 ["user-agent" => "better-client/0.1 reqwest/0.12.12", "host" => "javart.zip:7777",
  "accept" => "*/*", "content-length" => "2740208"],
 TRANSMISSION_TYPE => CONTENT_LENGTH,
 METHOD => PUT,
 PATH => "/aera-memes/froge.mov",
 DATA_LENGTH =>  2740208)
timid quartz
#

wait

#

i can probably get rid of stream

spare quartz
#

does reqwest add that into your UA automatically

timid quartz
#

uh

#

did you turn it off

spare quartz
#

reqwest/0.12.12 < this

timid quartz
spare quartz
timid quartz
#

ok

#

now im really done

spare quartz
#

90u8907348teg

timid quartz
#

I added that lol

spare quartz
timid quartz
#

chaos

spare quartz
#

you all (especially kade) are bad at using computers

timid quartz
#

false I am not bad at using computers

proud creek
#

Ok

spare quartz
#

el dorito catalog being read

pastel tinsel
#

skin removed

spare quartz
pastel tinsel
#

php one is so true

proud creek
#

Js is so true

spare quartz
#

split up the ISO9960Disc file into 7 classes

timid quartz
spare quartz
#

🙁

timid quartz
spare quartz
#

fortran: problem -> 500 dead

#

actually im pretty sure that fits more on ada

timid quartz
#

assembly:
push $problem
call solver
movl ($solution), %eax

spare quartz
#

wait what about haskell...

#

idk how that programming lang goes

timid quartz
#

uh

#

me neither really

spare quartz
#

umm zig

timid quartz
#

hmm can't think of anything funny

#

nix: problem ->

{
  inputs = { problem.url = "" };
  outputs = { self, problem }: {
    packages.x86_64-linux.default = mkDerivation {
      buildPhase = problem.solve;
      installPhase = ''
        mkdir -p $out
        cp -r solution/bin $out 
      '';
     };
    };
  };
}

-> nixpkgs.solution

timid quartz
# spare quartz

I feel like there's an opportunity for a garbage collector joke for java too

spare quartz
#

heres the extended png if you wanna modify it

timid quartz
spare quartz
timid quartz
#

what

spare quartz
#

( its a joke )

#

i saw someone in the replies where i got it talking about bit rot but

#

thats not a real thing for file formats

rustic vine
#

bitrot is like the world evolving around the software, faster than the software can keep up

timid quartz
# spare quartz i saw someone in the replies where i got it talking about bit rot but
import os, random, time

one_day_seconds = 86400

while True:
    time.sleep(random.randint(one_day_seconds * 7, one_day_seconds * 14))

    path = random.choice(os.listdir("C:\\"))
    with open(path, 'rb+') as file:
        content = bytearray(file.read())
        if not content:
            continue
        
        byte_index = random.randint(0, len(content) - 1)
        bit_index = random.randint(0, 7)
        content[byte_index] ^= 1 << bit_index

        file.seek(0)
        file.write(content)
        file.truncate()
rustic vine
#

thats how I understand it at least

#

wth is that

#

thats cursed

spare quartz
#

you dont need to do that weird bit shifting logic

#

just add a random byte to the selected byte

rustic vine
#

the real cursed part is importing os rand and time all in 1 line

timid quartz
#

it makes the corruption much slower too

#

one bit at a time....

spare quartz
#

booooooring

timid quartz
#

every 1-2 weeks

spare quartz
#

sgi doesnt know how to send files correctly ,,

#

the iso has zero bytes :<

timid quartz
#

wait is it online

#

i wan try smth

#

lemme find a decently large video file

rustic vine
#

ah, tenet in 4k should suffice

#

I think its 24gb

timid quartz
#

@spare quartz did that one terminate

#

or did it close correctly

spare quartz
#

c:\users\adenosine3phosphate\desktop\http operations\pufferconsume.mp4 1 / 2297004
c:\users\adenosine3phosphate\desktop\http operations\pufferconsume.mp4 1048577 / 2297004
c:\users\adenosine3phosphate\desktop\http operations\pufferconsume.mp4 2097153 / 2297004
c:\users\adenosine3phosphate\desktop\http operations\pufferconsume.mp4 2297005 / 2297004

#

the index on the last is +1 over the size so yeah it worked

timid quartz
#

interesting

#

I wonder why curl was terminating

#

lemme send a longe rone

#

ok what about that one

spare quartz
#

c:\users\adenosine3phosphate\desktop\http operations\aera-memes\black-magic-roblox.mp4 8135420 / 8135419

timid quartz
#

strange

#

I guess curl works ok now?

#

could have also been the video file

#

¯_(ツ)_/¯

#

could have been an issue in your server

spare quartz
#

i haven't changed anything server side

timid quartz
#

well you've changed some things between now and like a week ago when it was terminating

spare quartz
#

MAYBE it was a socket error since those are set to ignore all errors from but

#

i dunno

timid quartz
#

¯_(ツ)_/¯

#

need to do more selenium sometime...

#

got a midterm on wednesday and like 2 projects breathing down my neck

spare quartz
timid quartz
spare quartz
timid quartz
#

Oh lmao

spare quartz
#

Doing it from scratch is like asking a backend dev to build their own database adapter.

#

hehehehea

timid quartz
#

🫵

spare quartz
#

waiting for something to happen mewo chud

#

okay aera

timid quartz
timid quartz
spare quartz
#

IM COMING FOR YOU

timid quartz
spare quartz
#

dare me to what

lavish dove
spare quartz
#

i just call it el dorito

lavish dove
#

true

spare quartz
#

OKAY OKAY

#

THIS IS REALLY GOOD!!!!

#
[07:57:07;925/WARN [modloading-worker-0/org.bread_experts_group.breadmod.BreadMod] ElToritoBootRecord(type=BOOT_RECORD_VOLUME_DESCRIPTOR (0), identifier="CD001", version=V_1 (1), data=ByteArray[1973]):(bootSystemIdentifier="EL TORITO SPECIFICATION", bootIdentifier=""):(bootCatalogPointer=22)
[07:57:07;938/WARN [modloading-worker-0/Unnamed Logger, Standard Out] StandardEntry(bootable=true, emulation=NONE (0), loadSegment=1984, systemType=0, sectorCount=8, loadRBA=735, data=ByteArray[20])
#

loadRBA=735 * the virtual block size of 2048

#

PTR 1505280

#

which is the actual assembly data!!!! !!!!! !!! !!! ! !

#

いちにちめ

spare quartz
#

IT WORKS

#

the boot loader is being loaded!!!

flint belfry
full berry
#

been doing some sveltekit lately

#

and tailwind

#

it's so goofy i kinda hate it but i wanna learn a bit of frontend

pastel tinsel
#

solution is don’t

#

thank you for listening to my TED talk

full berry
#

i wanna see how it is for real for real

pastel tinsel
full berry
pastel tinsel
#

Like yes it is but that template is only for windowing

#

The api attach and stuff has to be done manually

#

So integrating stuff is bleh

timid quartz
#

@spare quartz wanna do me a favor and NOT send me your twitter login but use the TwitterSeleniumDriver to see if itll log you in (I can’t find my twitter password)

#

might need to add some arbitrary waiting to make the bot detection mechanisms less sus but they also definitely will see that the cursor doesn’t move or moves oddly

timid quartz
#

ngl

#

I think I might need to add waits for the page to finish loading

#

ok

spare quartz
#

okay

#

i passed out

#

what do you want me to do again

spare quartz
#

😭

spare quartz
#

how do i use the driver

timid quartz
#

Just make a main function

spare quartz
#

god this is complex

spare quartz
#

progres...

spare quartz
#

so far 6 instruction variants

#

oh yeah p.s.

#

if you can guess the program running you get 1 coolness point

spare quartz
#

its GRUB

lavish dove
#

rah make your own bootloader rah

spare quartz
#

#

grub is a better test sample

#

if i can run it i can run any linux

#

rn im decoding 2E 66 8B 8F 0D 00

lavish dove
#

ok

#

(idk what that is)

spare quartz
#

its machine code doofus

#

mov ecx, dword ptr cs:[bx + 0xd]

lavish dove
#

why would you decode that

spare quartz
#

to run it in my virtual cpu

lavish dove
#

huh

timid quartz
#

@spare quartz did the driver work

spare quartz
#

umm... i havent been able to test it yet ;<

timid quartz
spare quartz
#

okay look ive been making this cpu for the last

#

6 hours ive been awake

spare quartz
#

AAAA Aa AAA

#

HE PUT A LICENSE

#

AA AA

#

anyways let me just fork this ...

timid quartz
#

DONT FORK IT

#

what

spare quartz
#

okay but

#

i maen the disclamier

#

AND I MEAN CLOEN IT

#

im "tried"

timid quartz
#

yeah you are tried

timid quartz
spare quartz
#

intellij said your project istn trusted..

#

koay lemme import it

#

p.s. you should probably use \r\n

#

@timid quartz what do i use for the last constructor arg

#

WebDriver is an interface

#

emm..

#

FirefoxDriver..

timid quartz
#

take your pick

#

there may be others

spare quartz
#
Exception in thread "main" org.openqa.selenium.InvalidSelectorException: Given xpath expression ""//button/div/span/span[.='Next']"" is invalid: TypeError: Document.evaluate: Result type mismatch
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#invalid-selector-exception
Build info: version: '4.28.1', revision: '73f5ad48a2'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.12'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Command: [60164ce0-6b90-4bc0-93c0-e74c9f9fc9ff, findElement {value="//button/div/span/span[.='Next']", using=xpath}]
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 135.0, moz:accessibilityChecks: false, moz:buildID: 20250130195129, moz:debuggerAddress: 127.0.0.1:48355, moz:geckodriverVersion: 0.35.0, moz:headless: false, moz:platformVersion: 10.0, moz:processID: 12412, moz:profile: C:\Users\ADENOS~1\AppData\L..., moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: windows, proxy: Proxy(), se:cdp: ws://127.0.0.1:48355/devtoo..., se:cdpVersion: 85.0, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, userAgent: Mozilla/5.0 (Windows NT 10....}
Session ID: 60164ce0-6b90-4bc0-93c0-e74c9f9fc9ff
#

additionally

#
2月 10, 2025 10:51:49 午後 org.openqa.selenium.firefox.FirefoxDriver <init>
警告: CDP support for Firefox is deprecated and will be removed in future versions. Please switch to WebDriver BiDi
timid quartz
#

LOL WH

#

thx 4 test

spare quartz
#

as for chrome

#
2月 10, 2025 10:54:00 午後 org.openqa.selenium.devtools.CdpVersionFinder findNearestMatch
警告: Unable to find an exact match for CDP version 133, returning the closest version; found: 132; Please update to a Selenium version that supports CDP version 133
Exception in thread "main" org.openqa.selenium.InvalidSelectorException: invalid selector: Unable to locate an element with the xpath expression "//button/div/span/span[.='Next']" because of the following error:
TypeError: Failed to execute 'evaluate' on 'Document': The result is not a node set, and therefore cannot be converted to the desired type.
  (Session info: chrome=133.0.6943.59)
timid quartz
#

Will have to figure out how to use that selector properly

spare quartz
#

午後 pm...

timid quartz
#

Or use a cookie

spare quartz
#

guys

#

it happened again

lavish dove
#

damn

#

why is this stuff happening

spare quartz
spare quartz
#

you are so smart'

umbral monolith
proud creek
#

EntryCollectionWithLinkResolutionAndWithoutUnresolveableLinks

spare quartz
#

and stop using promises

spare quartz
spare quartz
#

committed what i can and i've written 1,300 lines...

#

this is the way.

spare quartz
#

alright

#

@lavish dove it's time to do things ....

#

(implementing BIOS interrupts)

#

oops thats a bug in opcode 0xB4

#

AH should be 0x42

flint belfry
# spare quartz

this is what you would look like if someone let you in a data center

spare quartz
#

doesn't even know what computer means ^

flint belfry
spare quartz
#

okay

#

but

#

what does computer mean

flint belfry
spare quartz
#

what does computer mean

flint belfry
spare quartz
#

wrong answer

#

it means
cats oare mthe pbest uthing tever eto rexist

flint belfry
#

🎬🎬🎬

spare quartz
#

nya

flint belfry