#💽Programming Chat v2

1 messages · Page 54 of 1

spare quartz
#

not usable

timid quartz
#

if it's not 100% done it's like 66% done

pallid loom
timid quartz
#

wdym nto useable

pallid loom
#

professionally mounted

spare quartz
timid quartz
#

kotlin*

spare quartz
#

at least that cable is shielded

#

unlike our servers

timid quartz
#

lol

spare quartz
#

i wish HTTPS DNS wasn't a thing

#

nobodys ip on here is actually their ip

#

its just google/cloudflare services

pallid loom
#

the alarm system

timid quartz
#

why do you want dhcp

spare quartz
#

mak e it for your toy os

pallid loom
#

completely unrelated question

#

what do you think the most used DB is

spare quartz
#

CSV

pallid loom
#

could be but isn't

timid quartz
#

I'm tempted to say MySQL but I'm betting it's something like Oracle or Postgres

pallid loom
#

it's actually sqlite

timid quartz
#

oh that makes sense

pallid loom
#

running on every android device

timid quartz
#

multiple instances on every android device lo

pallid loom
#
  • a whole buncha other shit
pallid loom
#

sqlite is actually really nice

#

been using it for a bit

#

all a basic project really needs

#

easily scales and isn't intensive on performance

spare quartz
#

no fucking way

#

it really is on 3 billion devices

timid quartz
#

I bet some of those run Rust on them too :3

pallid loom
#

welcome back java

pallid loom
#

like a solid 85%

#

if we're talking apps

#

is the os then it's mostly c

timid quartz
#

But it only takes one rust app to say rust is running on it

pallid loom
#

late to the party

#

we got brainfuck running on android before rust

timid quartz
#

ok well we got C running on android before Java

pallid loom
#

true

spare quartz
#

im such a good network admin

timid quartz
#

atproto

#

Bluesky

spare quartz
timid quartz
#

Lots of kanji…

spare quartz
#

i cannot show you the post after that

timid quartz
#

@pallid loom

pallid loom
#

Jesus that must be bad then

spare quartz
#

もうこの世にはゲーム溢れてるから自分のゲームに時間を割いてもらえるよう、選ばれるために自分にしか作れないものと価格で勝負するしかない もはやお金いらないから私のゲームで遊んでくれ…

spare quartz
#

HALT

timid quartz
spare quartz
#

Gonna look into this for more efficient file and DNS service

timid quartz
spare quartz
#

why do you need a crate to breathe oxygen

timid quartz
#

cause

#

stdlib only provides lungs

#

why is everything bundled into your stdlib

spare quartz
#

because we can

timid quartz
#

idk

#

not my favorite design choice

spare quartz
timid quartz
#

Oh no

timid quartz
#

fat fuck

spare quartz
#

RUDe

#

just gotta integrate it onto this

spare quartz
#

scp:sl time

timid quartz
#

actually question

#

considering Ada’s tasks

#

Consider an http server

#

How do you spawn more tasks to handle more requests

#

cause the number that you can have with a subprogram is fixed right

spare quartz
#

I believe the maximum tasks you can have is operating system dependent but the last stat I saw was in the thousands

timid quartz
spare quartz
timid quartz
#

and then how use

spare quartz
#

you call the rendevous functions in B thru A

timid quartz
#

but is that really making new tasks per request?

spare quartz
#

yes

timid quartz
#

seems like it's just reusing that task

spare quartz
#

you're supposed to create a new instance of B with a reference to it thru A

#

then you can use that access however you want

#

ad-hoc or store it in a fixed size vector

#

directory listing ...
client requests directory
check for directory cache
found?

  • check directory watcher
  • changes?
    • GOTO not found
  • no changes?
    • send back cached list
      not found?
  • compute and send back computed directory listing
#

(same process can be done for DNS record RR computation)

timid quartz
#

hello yes I would like companion object sandwiches please

spare quartz
#

this is just a regular object

#

put your head on the right way

spare quartz
spare quartz
spare quartz
spare quartz
#

"no!!!! you have to use 900000 futures!!!!"

#

Threaad.ofVirtual():

timid quartz
spare quartz
#

TRUE

#

TRUE

#

TRUE

timid quartz
#

(false)

spare quartz
#

word up

timid quartz
#

oooh that's a good one

#

@spare quartz "Write once, use a different version anywhere"

spare quartz
#

not super certain on this working

#

but gonna try it out

timid quartz
#

STOP DOING ADA

  • Computers were meant to compute, not to be bossed around in Pascal's evening gown
  • Ada is a PERSON, not a programming language
  • "with Text_IO; use Text_IO;" — sounds like a Victorian etiquette manual
  • You can't just "raise an exception" — that's called being rude
  • "Hello, I would like mod 2 ** 5 apples please"
    They have played us for absolute fools
spare quartz
#

second point is wrong

#

the person IS the programming language

timid quartz
#

"RENDEZVOUS"? ARE WE SCHEDULING A DATE OR WRITING CONCURRENT CODE?

#

lmfao that's great

#

If Ada Lovelace knew you were using ALGORITHMS to make VIDEO GAMES she would WRITE A STRONGLY WORDED LETTER

#

LOL

#

Strong typing? The only STRONG TYPING Ada did was on a MECHANICAL CALCULATING ENGINE

#

The Department of Defense should DEFEND us FROM Ada not MANDATE it

#

@spare quartz LMFAO

#

THAT LAST ONE

timid quartz
#

honestly

#

pretty good for ai

spare quartz
#

horrible

#

oh right

#

BLS 1.14 and static server 1.3 are incompatible with each otehr

#

i need to make a static server 1.4..

timid quartz
#

bls?

spare quartz
#

BSL**

timid quartz
#

bsl??

spare quartz
#

bread_server_library-code

timid quartz
#

o

spare quartz
#

i believe our DNS, router, maven, mail, and ws-facilitation services run it

rustic vine
spare quartz
#

the maven, mail, ws-facilitation are a subset that runs static-server, an executable library for HTTP servers (on BSL)

rustic vine
#

that looks just as bad as c why would you use js 😭

timid quartz
rustic vine
#

is there even lapack for rust

#

oh hey, there is

timid quartz
#

lol I love the amount of unsafe

rustic vine
#

where?

spare quartz
#

presumably here and alike repos

rustic vine
#

oh lol

#

😅

#

if only everyone would just use a better lang

rustic vine
#

like, a lot a bit fast

spare quartz
#

a lot a bit?

rustic vine
#

yea

#

do people not say that

spare quartz
#

no

rustic vine
#

no I swear its a thing

#

yea it is

spare quartz
#

nope

rustic vine
#

it means a lot of bit

#

which is the inverse of a little bit

spare quartz
rustic vine
#

its real

spare quartz
#

imaginary

#

perhaps even complex

rustic vine
#

you sure you've never heard

#

anyone say

#

a lot a bit something

spare quartz
#

im 100% sure

rustic vine
#

u crazy

spare quartz
#

i've heard "quite a bit"

#

but never "a lot a bit"

rustic vine
#

aera will back me up

#

right? surely

spare quartz
#

codev doing quaternion debug work again hooray

rustic vine
#

whats is codev

#

nice axes

spare quartz
rustic vine
#

is that their name

spare quartz
#

no

rustic vine
#

oh

#

what is codev

spare quartz
#

chris from neco

rustic vine
#

then

#

what

#

wait but whats codev

#

OH

#

CO DEV

spare quartz
#

yes

#

idiot

rustic vine
#

bruh

#

I was reading it like

#

codec

#

codev

#

like

#

idk bruh

rustic vine
#

like 1 word

#

wth whys that snake so fast

spare quartz
#

this is why hyphens should be removed from english

spare quartz
rustic vine
#

ohhhh

timid quartz
spare quartz
#

AERA!!!!!!!!

timid quartz
#

!!!!

rustic vine
#

what happened

#

to the messages

#

that followed

#

I didn't even get a chance to read them

#

and they were taken away

timid quartz
#

ferris ❤️

spare quartz
#

idk aeras schizo

rustic vine
#

whaat is goin on

timid quartz
#

atp is schizo

spare quartz
# timid quartz atp is schizo

TVアニメ「てっぺんっ!!!!!!!!!!!!!!!」でEDアニメーションを担当したばやちゃおさんと一緒に歌っちゃいました!

Original:
May'n - あはっててっぺんっ
https://youtu.be/zR99bqxQyw8
作詞:May'n・大石昌良
作曲・編曲:大石昌良・やしきん

▼ TVアニメ「てっぺんっ!!!!!!!!!!...

▶ Play video
rustic vine
#

I need a slow snake

rustic vine
#

python problem

import solution
✅ solved

timid quartz
spare quartz
#

the python vm is just the jvm but for lazy people

rustic vine
spare quartz
#

cool!!

proud creek
#

message.txt

spare quartz
#

the directory cache works!

proud creek
#

I love mobile

spare quartz
#

using MD5

spare quartz
#

HTTP caching added

spare quartz
#

right

#

need to add caching to individual files now

timid quartz
#

there’s a reason people don’t write microcontrollers in Java

#

me when I’m flying my jet powered by Java and I die from a GC pause

spare quartz
#

im going to pause your life indefinitely

lyric mesa
#

i haven’t really touched kotlin

timid quartz
spare quartz
lyric mesa
timid quartz
#

I’m just trying to prod atp

spare quartz
#

go develop guardsman or something!!!

timid quartz
spare quartz
#

no

#

they do

timid quartz
#

nope

spare quartz
#

aera!!!

#

bep oductive!!

timid quartz
#

no!!!!!

spare quartz
#

why!!!!!!!!!

lyric mesa
#

bepis

spare quartz
#
getLogger.fine { "Found file for \"$storePath\" at \"${requestedPath.canonicalPath}\"" }
                val modifiedSince = request.headers["If-Modified-Since"]
                val headers = mapOf(
                    "Last-Modified" to DateTimeFormatter.RFC_1123_DATE_TIME.format(
                        ZonedDateTime.ofInstant(
                            Instant.ofEpochMilli(requestedPath.lastModified()),
                            ZoneOffset.UTC
                        )
                    )
                )
                var sent304 = false
                if (modifiedSince != null) {
                    val date = DateTimeFormatter.RFC_1123_DATE_TIME.parse(modifiedSince)
                    val mLong = (date.get(ChronoField.INSTANT_SECONDS) * 1000L) + date.get(ChronoField.MILLI_OF_SECOND)
                    if (mLong == requestedPath.lastModified()) {
                        HTTPResponse(
                            304, request.version, headers, requestedPath.length()
                        ).write(sock.outputStream)
                        sent304 = true
                    }
                }
                if (!sent304) {
                    HTTPResponse(
                        200, request.version,
                        headers, requestedPath.length()
                    ).write(sock.outputStream)
                    if (request.method == HTTPMethod.GET)
                        requestedPath.inputStream().transferTo(sock.outputStream)
                }
                true
#

file cache experiment

timid quartz
spare quartz
#

do it

timid quartz
#

noooo

spare quartz
#

I Saw.

spare quartz
#

there

#

file caching

#

time to add TLS ALPN

spare quartz
spare quartz
#

HTTP/2 looks a lot more different than what i was expecting

#

time to code in support for it

timid quartz
spare quartz
timid quartz
#

I should plan to become a better person

spare quartz
#

not happening

timid quartz
spare quartz
#

FINE: TLSv1.3 TLS_AES_256_GCM_SHA384 "98.10.170.194:43980"
No peer authenticity

spare quartz
#

new records dropped

timid quartz
#

Now do it in Ada

spare quartz
#

do what in ada

timid quartz
#

DNS

spare quartz
#

i mean maybe but that'd also require making BSL in ada

#

and BSL is already moderately complex

#

ばっか

spare quartz
#

you have the memory of a non ada user

timid quartz
#

I have fish memory yes this is known

spare quartz
#

known*

timid quartz
#

Shut

spare quartz
#

bread server library

#

its the thing that holds every protocol specifcation we code for

#

HTTP/DNS/SMTP/WebSocket/BEG_STDPROXY

#

also holds stream utilities

#

might deprecate certbot..

timid quartz
spare quartz
#

i mean like

#

analyse what it does and make our router automatically do that

#

becoming a CA would probably require tons of money of which we do not have

timid quartz
spare quartz
#

?

timid quartz
#

what would you be analyzing, what behavior would you make your router replicate, and how

spare quartz
#

what does certbot do? what does certbot give you?

timid quartz
#

oh you’re saying deprecate automatic certificate acquiring and renewal

#

not deprecate the entirety of letsencrypt

spare quartz
#

and do it ourselves

#

fortunately i have found an rfc on which to start

#

UNfortunately i need to get myself used to how java manages certs

timid quartz
#

You and your silly rfcs

spare quartz
#

cause its a tiny bit of a mystery to me

#

time to watch the blacklist

spare quartz
#

and then we deprecate your computer, your lang, your compiler, and then you.

timid quartz
#

You’ll never deprecate rust

spare quartz
#

yes we will.

#

so many things

timid quartz
#

Not even Ada comes close to the glory

#

The magnificence

spare quartz
spare quartz
#

bayachao art

#

<3333

spare quartz
#

acme time

#

HTTP Router Microserver <-> ACME Microserver <-> DNS Microserver

#

probably will do something in this type of setup

#

finally good server design

proud creek
spare quartz
#

915 MiB total system memory use!

#

previously the lowest was 960

#

sub 900 mib..

pallid loom
spare quartz
#

so efficient our memory use actually went down overnight

#

how is it continuing to drop

#

we're at 875 mib use

timid quartz
#

@spare quartz dang, kotlin can target jvm 8?

#

insane that it supports jvms that far back

spare quartz
timid quartz
#

although im trying to make ktor run and uh

#

logback is too recent

#

oh logback 1.3.0 works

#

@spare quartz instead of deprecating matrix you should deprecate irc or xmpp, matrix is a doomed protocol

spare quartz
#

魔魔魔

timid quartz
#

マジカル・アンド・ミラクル

#

この広い世界へ飛び出そ〜

spare quartz
timid quartz
#

well conduwuit which was like the only decent actively developed server is now abandonware

#

the maintainer quit within the last week

spare quartz
#

bad design

timid quartz
#

protocol itself isn't really that secure because it leaks metadata like a sieve

#

whole thing is basically centralized on matrix.org anyways

timid quartz
spare quartz
#

i need to get started on this

timid quartz
#

I kinda want to try making an irc server

#

and UNFORTUNATELY I'm open to using Kotlin or Ada instead of just Rust

#

you can see lots of it is unencrypted

spare quartz
timid quartz
#

uhh

#
{
  "type": "m.room.member",
  "sender": "@babba27:fantasycookie17.onederfultech.com",
  "content": {
    "membership": "join",
    "displayname": "DriftNotSkid",
    "avatar_url": "mxc://fantasycookie17.onederfultech.com/uLqqZhJdYHRNvNWWIFeJbDlP"
  },
  "state_key": "@babba27:fantasycookie17.onederfultech.com",
  "origin_server_ts": 1611901567921,
  "unsigned": {
    "replaces_state": "$xEr7yGLdOVOxF7NxEEFHK-ToDTDMAW2PqPqhwA6XqFg",
    "prev_content": {
      "avatar_url": "mxc://fantasycookie17.onederfultech.com/uLqqZhJdYHRNvNWWIFeJbDlP",
      "displayname": "DriftNotSkid",
      "is_direct": true,
      "membership": "invite"
    },
    "prev_sender": "@babba27:tchncs.de",
    "age": 724
  },
  "event_id": "$AsXIuazCSM7liww5v_ZUntbAFDx8kXDH0-11QaS3UGQ",
  "room_id": "!ADDxogcQLsbRpVWTLR:tchncs.de"
}
#

probably not

#

if the feds have a link to the journalist's matrix username then

spare quartz
#

the feds

#

me.. ? 🥺

timid quartz
#

lmao

spare quartz
#

the python dev to rust dev pipeline must be studied

timid quartz
#

lmao

spare quartz
#

stop saying lmao‼️

timid quartz
#

lmao

spare quartz
#

i just finished my food

#

now i gotta go fix a shader for a website

#

jvm could do that faster

timid quartz
#

Could Ada target a sunfire

#

Or would you have to write your own rts

spare quartz
#

wdym a sunfire

timid quartz
#

Like a Sun machine

spare quartz
#

probably

timid quartz
#

Running on SPARC

spare quartz
#

the primary reliance is on if GCC has support for it

timid quartz
#

Hmm

#

Idk lmao

#

Seems like it does

spare quartz
#

"blazingly fast"

timid quartz
#

Might be able to use SweetAda

#

Since it says it’s tested against SPARC

#

@spare quartz how would I go about trying to compile Ada for SPARC

spare quartz
#

get a GCC compiler for it

#

and set GPR to use it

#

and you're done

timid quartz
#

oh? really

#

I don’t need like

#

A special GNAT or anything?

spare quartz
#

GNAT is bundled into GCC so no

#

as long as the GNAT on that GCC is designed for the system it should work correctly

#

otherwise if you're say, building for just a CPU architecture, and not any system, you have to either use a special runtime of that GNAT (e.g. ZFP) or make your own RTS

spare quartz
#

it is this easy to make a port scanner

timid quartz
#

urgh I might have to build gcc myself to get SPARC support

spare quartz
#

oh yeah

#

i gotta add dns over tcp to our dns microserer

spare quartz
#

added dns

#

i mean

#

aeddded tcp to dns

timid quartz
#

who needs dns over https

spare quartz
#

?

#

you idiot dns over tcp

#

this is a part of the specification

timid quartz
#

which is a prerequirement for dns over http

spare quartz
#

no

#

you're a prerequisite for dns over http

spare quartz
timid quartz
#

http doesn't run over udp?

spare quartz
#

bayachao making the ghost sounds from mario 😭

spare quartz
timid quartz
#

ok buddy that's quic

spare quartz
#

DNS OVER BAYACHAO.

spare quartz
#

i cant get over this

#

😭

#

ARE ALL JAPANESE PEOPLE ON METH OR SOMETHING??

spare quartz
#

so true

#

RIGHT

#

ACME DEPRECATION

#

thankfully certbot is already gone

#

adding SSHFP

spare quartz
#

@timid quartz sooo

#

apparently... there isn't actually any costs

#

we'd probably not be eligible cause we're not even a company yet but

#

bread CA...

#

new low for JVM

#

52 M

timid quartz
#

impossible

timid quartz
spare quartz
spare quartz
#

(or government if we were making a government ca)

timid quartz
spare quartz
#

thats what a queer would say

timid quartz
#

it's the truth

spare quartz
#

its false

timid quartz
#

maybe ill make a dns server in rust or ada

#

and see how much less memory it uses

spare quartz
#

waow 51 M

#

heres DNS stats rn

#

the lowest mem is static_server

timid quartz
#

is that btop

spare quartz
#

all servers have a maximum heap size of 250 MB

spare quartz
spare quartz
spare quartz
#

playing around with RMI

timid quartz
#

What is RMI

#

well ig I could Google or ask chatgpt

spare quartz
timid quartz
#

Interesting

#

Java-native RPC

#

How secure is it?

spare quartz
#

depends on what protocol you use for it

timid quartz
#

Oh so you could do it over HTTPS?

spare quartz
timid quartz
#

Interesting

#

gRPC tho ❤️

spare quartz
#

my instrumentation RMI server should be running now

#

just gotta write a client for it

#

very cool

timid quartz
#

What will you use it for?

spare quartz
#

instrumentation and updating primarily

timid quartz
#

Human Instrumentality Project!!

spare quartz
#

question mark

spare quartz
timid quartz
#

Evangelion

spare quartz
#

just realized i wont need UDP since RMI effectively already creates a command structure

#

RMI lookup (ACME) -> request through function
RMI lookup (DNS) -> request store path
write stores
<do acme stuff>
delete stores
return certificate through ACME RMI function

timid quartz
#

rust does have some instrumentation capabilities (via crates of course)

#

namely like

#

logging

spare quartz
#

logging and instrumentation are two separate things

#

but i expect you to have both

#

in the JVM instrumentation is mainly done using "beans" which are just little tidbits of data about an operation in the jvm

timid quartz
#

beans

spare quartz
#

yup

#

MXBeans

timid quartz
#

With Rust you’d probably have to manually implement this all

#

What could make it easier is a proc macro that you decorate a function with to add in stuff

spare quartz
#

in ada most instrumentation is done with GNAT stuff

timid quartz
#

So like #[crate::instrument]

spare quartz
#

like the custom allocator that tracks leaks and stuff

timid quartz
#

ah ic ic

spare quartz
#

so much

#

its also possible to view MXBeans remotely

#

theres a tool like this in nearly every JDK distribution called jconsole

#

funnily enough this lets jconsole instrrument itself

timid quartz
#

The Zig standard library also has a general-purpose allocator. This is a safe allocator that can prevent double-free, use-after-free and can detect leaks. Safety checks and thread safety can be turned off via its configuration struct (left empty below). Zig's GPA is designed for safety over performance, but may still be many times faster than page_allocator.

spare quartz
#

__gnat_malloc copycat

timid quartz
#

I’m guessing Ada doesnt have as much instrumentation as Java though

spare quartz
#

somewhat

#

instrumentation in compiled languages is a little harder since

#

it's not like it's running in a VM like the jvm

#

but ada has certain attributes that let you view what compiler version was used for something

#

as well as whatever GNAT gives you and System

timid quartz
#

hm ic

#

makes sense

spare quartz
#

intellij has so many threads

#

i wish you could discern from virtual and physical threads

spare quartz
#

this can do sampling

timid quartz
spare quartz
#

i wish it were possible to reduce them

timid quartz
spare quartz
#

biased

timid quartz
#

not biased

spare quartz
#

biased

timid quartz
#

not biased

spare quartz
#

doesn't show numbers

#

biased

timid quartz
#

based indeed

spare quartz
#

its so easy

timid quartz
#

lol what

spare quartz
#

the data dont lie

timid quartz
#

The data do lie

#

How is REST not simple lol

spare quartz
#

because its dumb

timid quartz
#

Nuh uh

#

if it’s dumb then how come every website uses it for api calls and stuff

spare quartz
#

if js is dumb how come 9 quintillion developers use it for their servers

timid quartz
#

Mmmm get this guy a True

spare quartz
#

shut up nerd and buy me bayachao merch

#

okay nvm

#

she has brain worms

pallid loom
#

kill me

#

and it's not even package.json or anything

#

pure code

#

I really don't know why in the everliving fuck I've decided to seperate backend and frontend

#

would've been so much simpler if I did it all in next.js

timid quartz
#

BRO KEYBOARD

#

ok

pallid loom
#

Yeah

#

Doesn't affect me

#

Nor will it affect any competent developer

timid quartz
#

It was built into next and couldn’t be controlled

#

Next did it automatically

timid quartz
#

@spare quartz The JVM was good for its time but its time has passed

timid quartz
#

man this cross compiling stuff is annoying

#

need a damn sysroot for solaris

spare quartz
#

jansoekioejfcooske

timid quartz
#

it's quite annoying

#

wait doxxing

#

oops

#

sorry also ghostping

spare quartz
#

again every message here is equal to a ping for me

#

don’t apologize

timid quartz
#

ok no more doxxing this time

spare quartz
#

unfortunate you have to build GCC like that

timid quartz
#

I have no clue if this works or not because I gotta wait on terry for the damn sysroot

spare quartz
#

for me it almost never works

#

currently burning in my own acid rn brb

timid quartz
#

I hope I don't have to do --disable-libada

#

it depends if the rts for sparc-sun-solaris2.10 is distributed with gcc

#

I wonder where I could find that

#

ah, gcc/ada/libgnat/ has system-solaris-sparc.ads so I'm assuming there's a RTS for it

spare quartz
#

solaris is a quite mature os though so

#

i expect it to be

timid quartz
#

well

#

that's the file

spare quartz
#

this type of system file is required for every RTS

#

baremetal or not

timid quartz
#

ok so

#

likely no work needed on that front

#

phew

spare quartz
#

in the future if you need your own RTS it's not super hard to make one yourself, as lot of the code is just copyable from any other RTS

timid quartz
#

just gotta wait on egg boy to send me his /usr and /lib folders from his sun workstation

spare quartz
#

but it can be a bit strange in some places where you gotta actually make your own impls (like the AFCB)

spare quartz
#

ada filesystem control block

timid quartz
#

air force command base

timid quartz
#

ig I COULD get a solaris 10 iso from oracle

#

buuut idk

spare quartz
#

oh yeah i forgot you also have to make your own delay impl if you make an RTS

#

(hopefully your system has a clock or they just immediately return)

timid quartz
#

I would imagine a system with no clock is rare

#

even the embedded systems I've worked with have a clock

spare quartz
#

with more modern computers it's just "harder" to get to a clock

#

cause back then you could just use CPU I/O to dial the RTC but now it's uncertain if you really have one

#

so now you have to go thru PIC (antiquated), or APIC (hard)

#

unless you run on an os where you can just link to a native function

#

it's not strictly required you use a clock for delay though

#

as long as you know you can stall the processor in some way it'll work

timid quartz
#

busy loop :3

spare quartz
#

i use a loop of billions for early setup

timid quartz
#

GCOBOL
The COBOL compiler, gcobol, first appeared in GCC 15. To build the COBOL parser, you need GNU Bison 3.5.1 or later (but not 3.8.0). To build the lexer requires GNU Flex 2.6.4, the current version as of this writing, released on 2017-05-06.

The gcobol documentation is maintained as manpages using troff mdoc. GNU groff is required to convert them to PDF format. Conversion to HTML is done with mandoc, available at http://mdocml.bsd.lv/.

Because ISO COBOL defines strict requirements for numerical precision, gcobol requires hardware with 128-bit computation instructions. This requirement applies to both host and target. For integer and fixed-point computation, gcobol uses

Data type: __int128
meaning 16 == sizeof(long long int). For floating point, gcobol uses

Data type: _Float128
(On some architectures, GCC supports 128-bit floating point in software.)

gcobol has so far been tested on two architectures only: x86_64 and aarch64 with little-endian encoding.

#

gross

spare quartz
#

should note the other keywords in ada are uh

#

much, MUCH harder to make in your own RTS without a complex understanding of them though

#

(for example, OOP keywords like tagged)

timid quartz
#

oop 👎

spare quartz
#

even mathematical operations (div/mul/mod) have to be added by a custom RTS

#

so you get to deal with assembly

timid quartz
#

it would be neat to get ada running on the sparc station

#

but also...it would be so apt to have kotlin (a jvm language) running on it

spare quartz
#

depends

#

do you want a modern JVM or any JVM

#

if you want a modern JVM on a SPARC it'd require a lot of work, but if you don't care about that, old JVMs are available

timid quartz
#

yeah terry said like

#

jvm 8 💀

#

which was why I was like "oh wow kotlin can target jvm 8" earlier today

spare quartz
#

id be more surprised if it supported java 6

#

but thats long dead now

timid quartz
#

yea lo

spare quartz
#

and java 1.0.4 - 1.5 practically dont exist

#

except for me of course

timid quartz
#

anyways eep

#

hopefully egg boy can get me the folders off of his sparc station

spare quartz
spare quartz
#

6 errors reported by DNS overnight

#

resource use sustained

#

of course its the router maxing out memory use

#

but everything else is under 70 MB

spare quartz
#

that should fix -1 and len < 0 errors..

#

NOT extended labels though

#

at least the TCP portion of DNS should no longer crash as a result of socket failure though

#

router screen got corrupted again somehow

#

the pace of development of these servers is incredibly quick

#

it isn't uncommon for maven/static to be running on BSL 1.16.2 while the latest is 1.20

#

thankfully the majority of BSL updates are protocol or stability specific, so it doesn't incur many errors

#

2.8

spare quartz
#

@timid quartz @pallid loom @rustic vine ... and to anyone else interested ...
https://www.bleepingcomputer.com/news/security/mitre-warns-that-funding-for-critical-cve-program-expires-today/

BleepingComputer

MITRE Vice President Yosry Barsoum has warned that U.S. government funding for the Common Vulnerabilities and Exposures (CVE) and Common Weakness Enumeration (CWE) programs expires today, which could lead to widespread disruption across the global cybersecurity industry.

#

pretty bad news

pallid loom
#

So it's real

spare quartz
#

yeah

pallid loom
#

Love the us of a

spare quartz
#

hopefully this isn't sustained cause.. i think we all know how bad it can be

pallid loom
#

Worlds first third world country

spare quartz
#

fourth world country

spare quartz
#

working on http2

spare quartz
#

neat

spare quartz
#

AUGH THERES COMPRESSION IN HTTP/2

timid quartz
#

damn

#

xmpp core rfc is yuge

#

and there's 5 "basic" rfcs

spare quartz
#

added DNS UDP truncation

#

dns cache time

timid quartz
#

why truncate

spare quartz
#

unless overridden by EDNS(0) dns responses must be 512 bytes or less over UDP (excluding IP/UDP headers)

spare quartz
#

there is chaos on every screen

timid quartz
#

@terry:terryiscool160.xyz

#

matrix

#

subpar proto

spare quartz
#

you

timid quartz
#

no u

#

still waiting on solaris sysroot...

spare quartz
#

bayacghao

timid quartz
#

I wanna cross compile ada NOWWW

spare quartz
timid quartz
#

nah

spare quartz
#

i cant believe people actually use spotify..

timid quartz
#

lmao

#

what do you use

#

youtube?

spare quartz
#

yes/

timid quartz
#

lllame

#

apple music ❤️

spare quartz
#

no

#

i just use regular youtube videos as music

#

so good

#

BACK TO HTTP/2 DEV

#

unfortunately debugging whats wrong with my http/2 is magnitudes harder

timid quartz
#

how so

spare quartz
#

encryption

timid quartz
#

oh gg

#

just uh

#

self-signed cert and wireshark

#

equivalently, mitmproxy

spare quartz
#

not feasible

#

not feasible

timid quartz
#

y not

spare quartz
#

self-signed cert requires a lot of work and makes me have to redo our JKS

#

mitmproxy means i have to scp essentially 4 times per connection test

#

since termshark doesnt support ssl master keys

timid quartz
#

rip

#

well

#

gl debugging!

spare quartz
#

alternatively i could just log every byte read

#

but thats painful to read

timid quartz
#

what is even going wrong

spare quartz
#

something with the SETTINGS header

#

its length is incorrect

timid quartz
#

mm

spare quartz
timid quartz
#

are you omitting trailing = in the header value

spare quartz
#

the what

timid quartz
#

The content of the HTTP2-Settings header field is the payload of a SETTINGS frame (Section 6.5), encoded as a base64url string (that is, the URL- and filename-safe Base64 encoding described in Section 5 of [RFC4648], with any trailing '=' characters omitted). The ABNF [RFC5234] production for token68 is defined in Section 2.1 of [RFC7235].

spare quartz
#

not header

#

i mean frame

timid quartz
#

oh

#

gg

#

says multiple of 6 octets

#

so multiple of 48

spare quartz
#

no multiple of 6

timid quartz
#

A SETTINGS frame with a length other than a multiple of 6 octets MUST be treated as a connection error (Section 5.4.1) of type FRAME_SIZE_ERROR.

spare quartz
#

yes i already do that

timid quartz
#

oh wait

#

octet means 8 bits not bytes

#

dies

spare quartz
#

a byte is an octet in modern computers

timid quartz
#

yes die

spare quartz
#

stupid rust

timid quartz
#

not a rust problem

spare quartz
#

yeah it is

#

everything is

timid quartz
#

die

#

you're a jvm and ada problem

spare quartz
#

let me draw my furry art,

timid quartz
#

no go back to debugging http/2

spare quartz
#

no

#

i feel bad

timid quartz
#

ig just

#

make sure that you're sending groups of (16+32) bytes

spare quartz
#

im not sending anything yet thats the thing

#

just reading rn

#

HOW to draw... Thigh Highs

timid quartz
#

and...you're erroring on read?

spare quartz
#

yes due to misalignment

timid quartz
#

just dont get misaligned

spare quartz
#

die

#

prob balty an issue rthere

timid quartz
#

use IntelliJ's wonderful debugger to help you

spare quartz
#

again not usable

timid quartz
#

bro h o w your code that is erroring literally must read the decrypted value

spare quartz
#

MISALIGNMENT

#

!!

timid quartz
#

yes so USE

#

the DEBUGGER

spare quartz
timid quartz
#

to OBSERVE

spare quartz
#

I CANT USE AD EBUGGER

timid quartz
#

WHY

spare quartz
#

IDIOT

timid quartz
#

it's MISALIGNED

spare quartz
#

BECAUSE ITS ON A REMOTE SERVER

#

!!!

timid quartz
#

the remote server is sending u correct data

spare quartz
#

omg

timid quartz
#

(unless you also wrote the server)

spare quartz
#

NO

#

THE ROUTER IS WORKING ON A REMOTE SERVER

#

the requests come from MY comptuer

timid quartz
#

so

#

you have a computer

#

that is sending requests

#

and you have a router that is reading them

#

and erroring

spare quartz
#

yes

timid quartz
#

ok so take the router

#

host it locally

#

debug

spare quartz
#

no

#

cant

#

well i can

#

but

#

im lazy

timid quartz
#

ok

#

take the code on your computer

spare quartz
#

(id need to make a JKS and host another server so the router has backing)

timid quartz
#

debug it and watch it prepare the data to send

spare quartz
#

no

#

too much work

timid quartz
#

and you call me lazy

spare quartz
#

lazy

#

probably youor wbeite..

timid quartz
#

nah my website would never have such terrible design

spare quartz
#

yeah cause it already is terrible..

timid quartz
#

like first point

#

my website would be viewable on any browser

spare quartz
#

ですですですですですですですですですですですです

spare quartz
#
(HTTP/2, Frame) SETTINGS, 0x00000000 [], SETTINGS #: [3]
(HTTP/2, Setting) SETTINGS_MAX_CONCURRENT_STREAMS [100]
(HTTP/2, Setting) SETTINGS_INITIAL_WINDOW_SIZE [65536]
(HTTP/2, Setting) SETTINGS_ENABLE_PUSH [false]
0x00, 0x00, 0x12
0x04
0x00
0x00, 0x00, 0x00, 0x00
0x00, 0x03 | 0x00, 0x00, 0x00, 0x64
0x00, 0x04 | 0x00, 0x01, 0x00, 0x00
0x00, 0x02 | 0x00, 0x00, 0x00, 0x00

(HTTP/2, Frame) WINDOW_UPDATE, 0x00000000 [1048510465]
0x00, 0x00, 0x04
0x08
0x00
0x00, 0x00, 0x00, 0x00
0x3E, 0x7F, 0x00, 0x01
snow oak
spare quartz
#

time to add Range support

timid quartz
#

mm @spare quartz I might not be able to add runtime support

timid quartz
#

idk I keep banging my head into the wall with "Configuration sparcv9-sun-solaris2.0 not supported"

spare quartz
#

your gnat/gcc probably doesnt have a runtime for it

#

you may need to make your own

timid quartz
#

no it does

#

it definitely does

spare quartz
#

source ?

timid quartz
#

idk maybe not

#

ughhhh idk

#

this feels impossible

spare quartz
#

what is

timid quartz
#

compiling this damn thing

#

to make ada run on a sparc

#

@spare quartz if you have any ada resources it'd be great if you could ask

spare quartz
#

i can help you im just a little preoccupied

timid quartz
#

oh?

spare quartz
#

do you have a cross compiler from your architecture to SPARC

timid quartz
#

what do you know about this I'm curious

timid quartz
#

that's what im trying to build

#

I have the sources for gcc-12.3.0 and binutils-2.38

#

the binutils built fine

#

but gcc refuses

spare quartz
#

yes GCC is uniquely horrible to build, i can't actually help much there (i thought you already had a compiler ready)

timid quartz
#

bruhhhhhhh

#

idk where I could even ask someone for help regarding this

spare quartz
#

last i tried it it didn't work

#

and the article is extremely antiquated

#

so many thigns..

#

they should've just made a compiler in kotlin

#

no clue if this'll work

timid quartz
#

ig I could try removing the flag that does it but

spare quartz
#

im not exactly certain how runtime builds work if im being honest

#

i suppose it depends on your GCC source...

timid quartz
#

this is a massive pain

#

cross compilers are great if they're provided OR if they're for systems that arent like decades dead

spare quartz
#

stop talking

#

or else you'll make me want to make compilers

timid quartz
#

ls

#

augh

spare quartz
#

this'll probably break

timid quartz
#

sob

#

why doesnt this work

#

theres gotta be like a mailing list or a forum I can post on

spare quartz
#

uguyggyuh

#

im probabluy gonna die of exsanguination whilwe proigmming

#

no success..

timid quartz
#

im crashing out

#

I followed the steps on the osdev wiki thing

#

STILL "not supported"

spare quartz
#

told you they were antiquated

#

the stuff on there is like

#

from 2012 unironically

#

im not sure on wjhat to do next though

timid quartz
#

I give up on trying to make Ada run on SPARC

spare quartz
#

would you like a consolation prize

timid quartz
#

no

spare quartz
#

pleaseee

timid quartz
#

the only realistic thing now is....getting onto the sparc directly and probably having to build gcc with ada support with the toolchain that's already there

spare quartz
#

do you think you're working too hard for a project that you probably won't use

#

BAYACHAO

#

PSD

#

FILES

#

AQUUUUIIIIRIRRREEDDDD

spare quartz
#

hold on bayachao lore just dropped and this is crazy. but continhue

timid quartz
#

Your thing is making a server for every possible server under the sun

#

My thing is getting things to run in unorthodox manners

spare quartz
#

did you mean protocol for second use of server

spare quartz
timid quartz
#

Ok well more generally your thing is protocols

timid quartz
spare quartz
#

SEE

timid quartz
spare quartz
#

holy crap tehre is so much yap on bayachaos blog

#

its all understandable though

timid quartz
#

I just wonder where I could ask questions about compiling gcc

spare quartz
#

the gcc mailing list?

timid quartz
#

urghhhh boomers

spare quartz
timid quartz
#

and I doubt anyone would respond

spare quartz
#

yeah okay.

timid quartz
#

“ew some kid is asking how to do X, I remember the answer to this on a thread from 25 years ago, if this kid can’t find it then he shouldn’t be compiling my gcc”

spare quartz
#

okay well i imagine they're not like stack-overflow user petty

#

the guy who emailed me back about a GCC bug report seemed nice

timid quartz
#

hmmmm maybe I’ll try then

spare quartz
#

part of me really wants to write a compiler for sparc now, but

#

im unfortunately not dumb enough to know what that entails

timid quartz
#

first: custom mail server to receive mailing list replies? :3

spare quartz
#

with your 9 quintillion crates thats easy

timid quartz
#

and send mail*

#

die

spare quartz
#

hey

#

im not wrong

timid quartz
#

Yknow I was gonna say “who said I was doing it in rust” but then you reminded me you have one in Ada and Kotlin so I gotta complete the trifecta

spare quartz
#

i think i found out where japanese people get mega freaky

#

DO NOT DISTRIBUTE THE FOLLOWING TEXT FILE

timid quartz
#

hold on

#

mobile

#

will be desktop in countdown

spare quartz
#

im actually gonna go lay down soon

#

but ... hopefully ONE day ill be able to understand that text file withuot needing a translator (probably not)

timid quartz
#

with rust’s superior development speed, by the time you wake up, I’ll have made SMTP 2

spare quartz
#

you're gonna have to be a little better than that .

timid quartz
#

cause you do literally nothing else

#

include go outside

spare quartz
#

OK WELL

#

i dont need outside

#

programming <3

timid quartz
#

I took my OS final today so

#

I’m free

#

Idk if I should prioritize base proto and then starttls or try to get starttls working first

spare quartz
#

base protocol

#

starttls is basically just