#💽Programming Chat v2

1 messages · Page 24 of 1

rustic vine
#

sick

wintry fable
#

I actually found a neat looking lang recently that effectively acts as a weird hybrid between scientific calculator and programming language

spare quartz
#

theres a ton of work put into types

wintry fable
#

It uses dimensions as types and most quantities work

rustic vine
#

also the former might make it into the C++29 spec!

rustic vine
#

static_assert(10 * km / 2 == 5 * km);

wintry fable
#

Nubat also has a bunch of extensions, like getting the properties of various elements n such

rustic vine
#

looks cool

#

declarative syntax always pleasing to read

#

DSLs that read like natural language are awesome imo

wintry fable
#

Also I'm wondering if for gamedev I should go with SDL3 (my main one so far) or GLFW (lets me do things with OpenGL easier, since SDL3 is focusing on going with Vulkan)

rustic vine
#

use raylib 😅

spare quartz
#

use win32

wintry fable
#

I could go with Vulkan as well via SDL3's GPU library, but Vulkan is pretty hell

proud creek
#

Ehhh

rustic vine
#

It's not, notch made a terrible take

flint belfry
rustic vine
#

I don't agree with his take at all

flint belfry
#

also hi gmhs

wintry fable
# rustic vine use raylib 😅

I've tried Raylib and found it seemed to not get the best performance, which makes sense given it's likely doing a lot of bg stuff

proud creek
rustic vine
flint belfry
rustic vine
proud creek
#

How

rustic vine
#

Notch's take is insane and wrong

wintry fable
#

Same, but just based on the testing I've done it didn't run all that great compared to other C libs

spare quartz
rustic vine
wintry fable
#

Also yeah saying someone isn't a programmer because they don't make their own engine is just dumb

flint belfry
#

smh

rustic vine
#

I would say glfw, but I've also not used sdl LOL, so maybe my opinion here is not very helpful

wintry fable
#

As kinda stated, Notch hasn't really made his own either

wintry fable
#

This one

rustic vine
#

oh cool

proud creek
#

Plus frozen pizza != a game engine

spare quartz
rustic vine
#

yea idk too much

spare quartz
#

but i wouldn't suggest either

rustic vine
proud creek
#

It would be more like pots and pans = game engine

wintry fable
#

The functions there are basically all straight identical to C, just imported over

#

SDL3 makes 2D stuff quite easy, drawing shapes and textures is very simple and well optimized

#

But for 3D I'll need to dive into one of the proper GPU apis, like Vulkan or OpenGL

#

Or DirectX but I no likely microshit

rustic vine
#

I had to parse and manipulate an HDF(5) file the other day

#

absolutely terrible experience

#

people need to get with the times

#

and stop using these ancient formats

spare quartz
#

lfgggg

#

they support fortran

rustic vine
#

fortran is

#

unfortunately still everywhere

#

in the computer linear algebra world

spare quartz
#

if your language doesnt have an ffi for fortran its not gonna make it

#

i dunno what to tell you

wintry fable
#

Fortran is also part of a lot of compiler suites I believe

#

iirc both MSVC and GCC have fortran compilers that are actively maintained n such

spare quartz
#

yeah cause its still being worked on

#

i love me old (standardized) languages

wintry fable
#

Truue

rustic vine
#

its really sucky that theres so many cases of "the best" still being absolutely terrible

#

or maybe not absolutely terrible, but just not as good as it really could be

#

imo Eigen is one of those

wintry fable
#

I've not really looked much into C++, never really cared for the OOP stuff

#

I tended to just go right to C

spare quartz
#

good

rustic vine
#

bad

#

smart pointers are so good

#

raii is awesome

#

you don't get any of that in C

wintry fable
#

True, but code ends up being simpler

#

Way easier to remember the syntax

rustic vine
#

🤷‍♂️

#

you definitely can write simple code in cpp

#

me when my simple C code actually invokes UB in 20 different places

wintry fable
#

I think Nelua strikes a nice balance, it's got Lua-style OOP (so no classes, but structs can have methods and metamethods to emulate them)

#

But not all the crazy class shit

wintry fable
#

Oo uninitialized variables is one I ran into, tho just setting the variable to 0 did the job, Nelua actually does that automatically unless you specify otherwise

spare quartz
wintry fable
#

Huh, what language is that

spare quartz
#

ada

#

need 2 write custom stream again so sending those for my reference

spare quartz
lavish dove
#

Libdrm is easier than Vulkan lmao

#

Also sdl3_gpu will use directx on windows

#

It's also easier to literally make an entire Intel integrated graphics driver than use vulkan

#

So vulkan is just a piece of shit bloatware

#

Saying it's better when it's worse

lavish dove
#

Well obviously not an entire Intel driver but definitely mode setting and shit

spare quartz
#

ughhhh

#

mingw troubles

lavish dove
#

Raaah tell them to report it to mingw then fuck off

spare quartz
#

no 😭

lavish dove
#

Bruh it's because there's a space in the folder

#

name

lavish dove
#

Oh dear lord

spare quartz
#

i really wanna look into using the DSA someday

#

sounds interesting

spare quartz
#

holy crap Exception_Information takes forever compared to Exception_Message

#

thats 20x slower than average

spare quartz
pastel tinsel
proud creek
#

nix

spare quartz
#

Hey rust users I got a question

#
with Ada.Text_IO;

procedure Main is
   type GUID is new String (1 .. 32)
     with Dynamic_Predicate =>
       (for all C of GUID => C in '0' .. '9' | 'a' .. 'f');

   ID_1 : constant GUID := "030000004c050000cc09000011810000";
begin
   Ada.Text_IO.Put_Line ("Reading from device " & String (ID_1) & "...");
end Main;
#

How would you be able to do this

spare quartz
#

C is a Spartan language, and so should your naming be. Unlike Modula-2 and Pascal programmers, C programmers do not use cute names like ThisVariableIsATemporaryCounter. A C programmer would call that variable tmp, which is much easier to write, and not the least more difficult to understand.

#

:<

#

Encoding the type of a function into the name (so-called Hungarian notation) is brain damaged - the compiler knows the types anyway and can check those, and it only confuses the programmer. No wonder MicroSoft makes buggy programs.

empty ginkgo
#

does anyone here have experience in handling audio in raw data

#

because i think i messed some settings up

#

pulled these audio files from an alarm system OTA firmware update, imported them into audacity with raw data (in my hex editor i saw no ID bytes) and default settings, and this came out (ear warning)

wintry fable
#

Nvidia still supports OpenGL, and OpenGL is generally easier to use, but SDL3's GPU library only supports Vulkan, D3D, and Metal, of which Vulkan is the only cross-platform option

#

Also the SDL3 GPU library is just as complex no matter what option I take, modern graphical pipelines are just really damn complex

timid quartz
#

wonder why they decided to start vulkan rather than making opengl better

#

feels like opengl is more supported and stable

timid quartz
#

maybe @spare quartz?

spare quartz
#

I’m driving to the hospital rn

#

And im not an expert at that so can’t help mobile

timid quartz
#

oh rip

#

drive safe

#

also hi again @wintry fable

empty ginkgo
spare quartz
empty ginkgo
#

it was 32-bit signed PCM iirc with 22 kHz sample rate and probably some other settings

timid quartz
#

I've also heard vulkan has like

empty ginkgo
timid quartz
#

a FUCK ton of boilerplate

spare quartz
#

Vulkan is extremely discrete yes

#

This is an “improvement” over GL as it presents much more flexibility and opportunities for performance/design all over the pipeline

empty ginkgo
spare quartz
#

But alas, much much much more to get a triangle on screen

spare quartz
#

Hey I don’t do that

#

I just write JVMs and kotlin

empty ginkgo
spare quartz
#

fym exactly 😭

empty ginkgo
#

i couldn't tell you what i mean by half the stuff i say 💀

spare quartz
#

Out of the hospital room….

#

Out of the hospital soon

lavish dove
#

it was so good it was adopted by a bunch of other cards (and windows/linux (mesa) wrote drivers for opengl)

#

then nvidia formed khronos, it brung a bunch of contributors but they sat there and looked pretty till they combusted and intel only helped fund the place

#

opencl also wasnt made by khronos

#

I cant find a list of teh contributors and where they were from but I remember them all being nvidia employees

#

see how convient it is that they removed all the employee names that were part of khronos? heh https://www.khronos.org/members/list#modal

#

they also just took a bunch of open stuff and said it was theirs, there wasnt any officiation to my knowledge

#

theres also a buch of other organizations from the same time period (like UEFI, HDMI), all had the same reputation of enshittification of open source standards

#

but because they are the authority you cant question them, they charge for membership; and its easy money and a easy path to monopolization

lavish dove
lavish dove
#

its still just lots of copy pasting of the same things that just add latency and complexity... but atleast its more simple

#

the reason why im like this is because I keep seeing long time industry proffesionals dissing vulkan because it was obviously made to be complicated and specific to nvidia in order to prevent competition

#

I was researching and it seems like opencl was actually officiated to be part of khronos from apple so its cool

#

the khronos website says opencl 1.0 was made in 2016 and the apple website says 2009

timid quartz
spare quartz
#

I’m pro Direct2D personally

timid quartz
#

directx

spare quartz
#

Specifically direct2d

#

Not 3d

timid quartz
#

I'm pro writing to the VGA buffer directly

spare quartz
#

Evergreen

#

GOD I LOVE SODA SM

lavish dove
#

im pro writing to vga with timings and shit lmao

spare quartz
lavish dove
#

true

wintry fable
#

Vulkan is an attempt of theirs to make a proper modernized API that isn't tied down by those constraints

#

The issue is that it's extremely verbose and complex

#

Anyways I guess Raylib is far more performant than I remember, or maybe it just got better, either way I set up a Nelua environment for it and it seems to run pretty well

#

So for now I might stick with that for 3D

#

Until I want to go back to uh

#

Very nice and easy GPU operations

lavish dove
lavish dove
#

Vulkan is verbose in the way that it gives you so many features and your forced to configure all of them

spare quartz
#
      Checking .\classes\classes008_202\com\oracle\webservices\internal\api\databinding\Databinding$Builder.class ...
1: "SourceFile" 2
2: "SourceFile" 16
3: 
[ 0,  32]
4: "SourceFile" 16
A: 
[ 0,  32]
B: 
[ 0]
FAIL. 820756826
#

--> 820756826
"SourceFile" ended too early. Length: 2

#

why though???

spare quartz
#

this is not how you back up immediate mode

spare quartz
wintry fable
#

I've tried Rust, using the Bevy engine anyways, was interesting but the syntax felt a lil odd coming from C and Lua, and debug builds reach immense size without optimization

spare quartz
#

i've tried rust and dislike it simlpe as

wintry fable
#

Yeah that's basically me lol

#

Also the rust plugin I got tried to keep me using snake case and full words for everything which can be a lil funky, though now Godot's making me do that (well technically not but I prefer consistent syntax) so it's not the only lang that does that

#

I also tried Zig, using C interop with SDL3, was also neat but it also has some elements that I'm not too big about

#

Like having to always use returned values, even if it's just dumping them into _, and having to do annoying amounts of error checking

#

And, as can be seen, having to encapsulate the entire C imported module in a variable and prefix every call with that, so all the SDL functions and constants and shit have to be prefixed with c. since I called the module that

spare quartz
#

@timid quartz running strings on this old rust-made minecraft mod we found

#

theres shockingly lots of metadata in here

#

we know his projects source directory layout, what crates he used, his compiler/path, his C: name, and the fact that he's on windows

#

we're cracking this mod at this point

lavish dove
#

average rust behavior

#

(idk what ou mean by cracking)

spare quartz
#

like, how pirated apps are made

#

we're pulling apart the native binaries/jvm code to get a better look at what they're doing since their code isn't open

lavish dove
#

oh

#

dissassembler be like

spare quartz
#

yeah their code is more complex than that

#

they've got two bin files corresponding to archs, which apparently support windows/linux/macos meaning they're aggregates

#

codev is running ghidra on it right now

lavish dove
#

least epic reverse engineer project

#

I think I tried to reverse engineer the quest 2 pc protocol thing and gave up immediately

#

all I had to do was figure out what changed because they had just updated it lol

spare quartz
#

i'm deferring it for later, but we'd just need to modify their JVM loader code to get the actual parts needed

full berry
#

hey guys, i know this is a really long shot, but does anyone know of any good package that would handle logins with oauth2 flows? specifically session management and shit (essentially it's like User clicks a button on a webpage -> they get sent to the discord oauth2 flow -> after authorization they get directed back to the website -> the package handles the return code, fetches the user info and starts a new session on the server)

only request is that the sessions are handled on the server (NOT the client, jwt not allowed 🤢)

#

ive tried better-auth, their flow requires emails for oauth2
lucia i've been recomended too, but it's betting deprecated in a month or so
authjs is JWT based

#

oh and the framework im using is sveltekit

spare quartz
#
u2 local_variable_table_length;
    {   u2 start_pc;
        u2 length;
        u2 name_index;
        u2 descriptor_index;
        u2 index;
    } local_variable_table[local_variable_table_length];
spare quartz
spare quartz
#

hoping SE 9 doesn't introduce new trial issues

spare quartz
#

also yay me about to have 4 packages on the index

timid quartz
spare quartz
#

me rn 💪

spare quartz
spare quartz
lavish dove
#

lmao

#

rust being at 2% is surprising

spare quartz
#

(oops, duped MENU on accidnet)

#

so many geenrics

lavish dove
#

woa

#

look at this

#

wait your not looking at it

#

but hu

lavish dove
lavish dove
#

lol

#

apparently simd isnt for x86 but for the x86 integrated graphics

proud creek
spare quartz
#

i cant run

#

dude who reviews the Alire index PRs is in a military university of spain :Sob:

#

mic everywhere

spare quartz
#

@timid quartz think you might find this interesting ^

rustic vine
#

Made by @eriksonn

timid quartz
spare quartz
#

I gotta forward this to codev rn

spare quartz
rustic vine
spare quartz
#

the person I develop breadmod with (Chris from neco)

#

basically we’re just trying to do everything possible with a mod which includes something like aeronautics

spare quartz
#

does anyone know what tpot is

rustic vine
spare quartz
#

OHHHH

spare quartz
#

Yeah that explains why he sounds so arrogant

#

Didn’t know they weren’t an adult

spare quartz
timid quartz
#

Not surprising

spare quartz
#

i just find it funny since the organizations logo is a direct reference to haskell despite them rewriting it all in rust

#

also its gonna be -6 c tomorrow 😭

timid quartz
#

Cooked

#

Or rather frozen

spare quartz
#

true

#

they make api stuff though so that feels like a lot ...

timid quartz
#

mm fair

timid quartz
#

I noticed that ada has no discord bot lib

spare quartz
timid quartz
#

not that any of the military oldheads that use ada would ever use it

#

but

timid quartz
spare quartz
#

rn it only supports server side requests though since i havent made a client yet

spare quartz
timid quartz
#

L_ame

spare quartz
#

ill look into continuing tls after reading a JMOD file

#

because tls is wayyyyyy outside my domain

#

im not a mathematician

timid quartz
#

ok but like

#

Don't implement your own encryption

#

Unless you have to

spare quartz
#

im compelled to by <my brain>

timid quartz
#

Outside of that idk what math would be involved

spare quartz
#

the HTTP library isnt dependent on GNAT.Sockets though

#

so you can use the ada binding to openssl and pass in that tls stream to get it working with tls

#

really simple actually

timid quartz
#

Maybe using GNAT.Sockets is better for that reason

spare quartz
#

wdym

lavish dove
# spare quartz

I dont use vim the simplicity and usability is too much, while I can explain the learning curve.
I only use proffesional tools like XCode

timid quartz
#

Just to have easier TLS

spare quartz
#

GNAT.Sockets doesnt provide TLS

#

its just for UDP/TCP/RAW socket control

lavish dove
timid quartz
spare quartz
#

no

#

we have a crate on the index that provides bindings to openssl

#

i.e.

timid quartz
#

wolfssl

lavish dove
#

ada = rust??!?!?

spare quartz
#

GNAT.Sockets TCP socket -> openssl -> simple_http

spare quartz
#

wolfssl is its own thing

timid quartz
lavish dove
#

impossible

lavish dove
#

zig > fucking everything (I only hello world in zig)

spare quartz
#

yeah ok

timid quartz
#

zig is cool

spare quartz
#

🤢

#

u65535 mf

timid quartz
#

Go try it smh

spare quartz
#

i tried it BEFORE you

#

i made a simple os before an llvm bug made inline asm break

timid quartz
#

Oof Google link

spare quartz
#

here you go

timid quartz
#

Yeah what's this hmmm

spare quartz
#

anyways yeah AWS is the "complete" solution for modern HTTP

#

it does a LLLLLLLOTTT of things for you

timid quartz
#

How does one add it

spare quartz
#

add it thru alire

#

alr with aws

timid quartz
#

Figured

spare quartz
#

i believe itll fail to compile on windows though

#

unsure when thatll be fixed

timid quartz
#

really

#

damn

#

Rust >>

spare quartz
#

ada >>

timid quartz
#

Rust >>

spare quartz
#

timid quartz
#

No crates, AWS can't even compile on Windows

#

No memory management that isn't unsafe

spare quartz
#

i wanna write an RFC for ada/spark for a secure random generator

timid quartz
#

No explicit safeguards for unsafe

spare quartz
#

Discrete/Float randoms aren't specfiied to be cryptographically secure

spare quartz
lavish dove
#

stack fr fr

spare quartz
#

memory pools, controlled types, no accesses, or just use a gc

timid quartz
#

Or well very few that are just names like "unchecked" rather than actual things like unsafe blocks

spare quartz
timid quartz
spare quartz
#

everything will be designated with an Unchecked or use of System.Address (which is restrictable)

spare quartz
timid quartz
spare quartz
#

yeah but we don't need that since we're explicit

timid quartz
spare quartz
#

ada does too

#

thats why i said it

#

im pretty sure we did it before C++

#

no wait

#

we did it before YOU, and just after C++

#

83/95 always tripping me up

timid quartz
spare quartz
#

how :3c

timid quartz
#

unsafe blocks are recognized by the compiler whereas your unchecked functions are just names

#

You could easily have an unsafe function that isn't labeled as such in ada

spare quartz
#

unchecked functions are recognized by our compiler as well

#

you can restrict them with pragma restrictions

#

theres another philosophy thing here

timid quartz
#

Your syntax is also overly verbose :3

spare quartz
#

okay well thats just ada

spare quartz
#

in rust, the same applies, but its capped within a block

#

(that isnt to say UB doesn't exist)

#

i didnt know that was possible

#

I think that's somewhat misleading. For one thing, if you're running under an operating system, with proper protections set up, erroneous execution will not erase your system disk. The point is that Ada doesn't ensure that, but the operating system does. Likewise, Ada doesn't prevent your keyboard from catching on fire, but we hope the computer manufacturer will.

spare quartz
lavish dove
#

Why can't x86 add swap instruction

#

Oh it does

#

Oh nice it's even capable of waiting in case another cpu is accessing it

wintry fable
#

I like it when a language allows a,b = b,a

#

Doesn't work in C, but does work in Nelua, I think it's compiled to C code using a temp variable, which then gets optimized out ig lol

#

The circle of life

full berry
#

oh hi gm

full berry
#

maybe

lavish dove
spare quartz
spare quartz
#

You're Not Astro...

#

🤢

timid quartz
#

/j

spare quartz
timid quartz
#

wrong animal

spare quartz
#

i love oop

timid quartz
#

kotlin gave you the freedom of not needing classes and yet

spare quartz
#

you can't do this without classes 😭

#

i find this neat though

#

i think kotlin is a giant improvement over this

timid quartz
spare quartz
#

yeah okay crab

timid quartz
#

Java the way Sun intended it

spare quartz
#

this is NOT the way sun intended it

#

Java 7 was

#

ugh i hate youo

#

now i wanan write a language for jvms again .......

#

umm crap whats astros new name again

#

@full berry i think you might like this so fwding

timid quartz
spare quartz
#

that sounds like hell

#

honestly though

#

if there were a language with ada type/aspect system with rust's syntax

#

that would be dreamy

#

Moreover, society has got accustomed to the concept that computers keep on getting faster. This makes them applicable to more and more high volume but low quality applications.** But this cannot go on.**

#

i love the ada RM rationale

#

In recent years the cost of processors has fallen dramatically and for many applications it is now more sensible to use several individual processors rather than one high performance processor.
Moreover, society has got accustomed to the concept that computers keep on getting faster. This makes them applicable to more and more high volume but low quality applications. But this cannot go on. The finite value of the velocity of light means that increase in processor speed can only be achieved by using devices of ever smaller size. But here we run into problems concerning the nonzero size of Planck's constant. When devices get very small, quantum effects cause problems with reliability.
No doubt, in due course, genuine quantum processors will emerge based perhaps on attributes such as spin. But meanwhile, the current approach is to use multiprocessors to gain extra speed.

#

(full paragraph)

timid quartz
#
import system module Stdio;
import system module Strings;

declare function MyFunc nonreturning 
declare parameters
   A is Signed_32Bit_Integer;
   B is Unbounded_String;
end parameters;
declare variables
   Y is Unbounded_String;
end variables;
declare body
   Y := Strings::Concatenate (B, A'ToString);
   Stdio::PrintLine (Y);
end body;
end MyFunc;

@signin.aws.amazon.com

spare quartz
#

i think the full names can be shrunken down like how they are in ada

timid quartz
#

nah

#

more verbose

spare quartz
#

and the scheme is a little weird ('ToString looks a bit like C#)

#

but thats not THAT bad

timid quartz
#

actually instead of end, complete

timid quartz
spare quartz
#

okay okay so

#

i know you're jesting but

timid quartz
#

You're going to say this is good syntax

spare quartz
#

local/external/system is actually not that bad of an idea?

#

could be very useful for networked oses

#

(file/module/package) just looks like a rip from CLASS notes though

timid quartz
#

It's actually not

spare quartz
#

what is its implication

timid quartz
#

I just thought of it

spare quartz
#

oh

timid quartz
spare quartz
#

ah

timid quartz
#

It's maybe kinda like the import whatever.* syntax in Java

spare quartz
#

in java terms it goes

Module
 Package
  CLASS
   fields/methods
timid quartz
#

ic ic

spare quartz
#

"Modules" aren't really referencable by imports iirc, just access control logic

timid quartz
#

like you could do import system package Standard_Library to import the whole thing

spare quartz
#

if theres one thing about importing in ada that i think could be improved its the uh

#

private with or limited with syntax

#

they're just a bit confusing to me

#

use type x; is pretty good though

timid quartz
#

You can come to Rust :3

spare quartz
#

HELL NAW

timid quartz
#

It's either pub or it's not

spare quartz
#

well in ada its the same thing

#

it's just theres an extra layer to it all since the separation of specification and body exists

#

limited with iirc allows for limited circular references, private with allows you to see specification/body private members (where applicable)

#

use type lets you use the operators of a type without having to do A."+"(B, C)

timid quartz
#

Private specification, public body evil

spare quartz
#

not scientifically possible :X:

#

a body is always private

#

you COULD just have a spec thats completely within a private block but

#

thats just a worse body, at that point, just write the body

timid quartz
#

Me when I define every body in the .h file in C

spare quartz
#

terrible

timid quartz
#

LTO be damned

spare quartz
#

oh yeah

#

i need to start tagging my stuff Preelaborate or Pure

#

apparently they're quite important to some (Pure means a unit cannot have sideeffects, Preelaborate means a unit cannot run anything hidden to a user)

timid quartz
#

This is Ada not Haskell

spare quartz
#

i dunno apparently were kinda functional

#

what.

#

thats cool

#

i didn't know we had language level support to just

#

direct what affinity a task has

timid quartz
#

Dang that's

#

Kinda neat actually

spare quartz
#

great

#

my clipboard is frozen again

#

and its just this

umbral monolith
#

cross posting

#

funnee error reason

spare quartz
#

instead of sending us base64 why dont you get a life

umbral monolith
#

i wonder who took it

spare quartz
#

me

#

:3c

umbral monolith
#

nuh uh

spare quartz
#

RAT ⚠️

spare quartz
#

GOD i am so good at coding

#
override fun drainDecimal(
        count: BigDecimal,
        simulate: Boolean,
        additional: MutableList<Any>
    ): Pair<BigDecimal, List<Any>> {
        var actualCount = count
        for (unitIndex in this.units.indices) {
            val unit = this.units[unitIndex]
            if (unit.maxOut == BigDecimal.ZERO) continue
            val toDrain = this.extractAction(actualCount, simulate, unitIndex, additional) ?: actualCount
            if (toDrain == BigDecimal.ZERO) continue
            val drained = unit.drainDecimal(
                unit.maxOut?.min(toDrain) ?: toDrain,
                simulate,
                additional
            ).first
            actualCount -= drained
            if (actualCount == BigDecimal.ZERO) break
        }
        return count - actualCount to additional
    }
#

base drain

#
private var subExtractAction: ListenerHandler = { _, _, _, _ -> null }
    override var extractAction: ListenerHandler
        get() = { c, s, u, a ->
            var fluid = a.getOrNull(0) as? Fluid
            val unit = this.units[u]
            if (fluid == null) {
                a.add(0, unit.fluid)
                this.subExtractAction(c, s, u, a)
            } else {
                if (fluid == unit.fluid) this.subExtractAction(c, s, u, a)
                else BigDecimal.ZERO
            }
        }
        set(value) {
            this.subExtractAction = value
        }
#

fluid extension

#

works perfectly

spare quartz
spare quartz
full berry
#

windows is a catastrophic failure

spare quartz
#

example

full berry
#

WOW

#

who is astro

spare quartz
#

YUGHHH

#

what would the shorthand of your hand be

#

im not calling you async 😭

full berry
#

:3

#

im kidding feel free to call me astro

#

😭

spare quartz
#

NOT YOUR HAND

#

YOUR NAME

#

oh my god

full berry
#

the shorthand of my hand

spare quartz
#

ignore me i have

#

very short term memory

spare quartz
#

breadmod is finally getting super refined code

full berry
#

none of your code is refined

#

what you on

spare quartz
#

says the guy who can't even code in a real language

full berry
#

IS TYPESCRIPT NOT REAL

spare quartz
#

yes 😭

full berry
#

what is r language

spare quartz
#

this code is BEAUTIFUL

full berry
#

why does my teacher have it

full berry
spare quartz
full berry
#

for what

#

and why do you know this 😭

spare quartz
#

statistics is a branch of math

spare quartz
full berry
#

with... r?

spare quartz
#

yyaeh

#

,my paws got lazyh and pressed enter

spare quartz
#

OH YEAH

#

i frogto to say

#

but we're ditching physx

#

(it's too unstable)

#

we're making our own physics engine : 3

full berry
spare quartz
#

this will fit in line with our projects using bigdecimal because

#

unlike (every mod in existence)

#

our machines can have infinite precision!!!!

lavish dove
spare quartz
#

that would still require JNI

#

which ❌

lavish dove
#

(get hired by oracle then add gpu compute (but call it coproccessor so nvidia doesnt pay you to only allow cuda) into java)

spare quartz
#

dudeeeeee

#

i would write a java RFC

#

if i knew how to write

lavish dove
#

why are rfc's so like

#

like that

#

they are difficult to read

#

supposed to be requesting for comment not requesting for brain cells

#

theyre not hard to read but they are up there

#

nvm they are easy to read

#

I think i've been listening to miku sing dixie land for too long

spare quartz
#

@lyric mesa

lyric mesa
#

no way,,,

spare quartz
#

reason why big decimals are fun, p1:

lavish dove
#

Woah

wintry fable
#

The Fabric API really seems quite nice compared to Forge

#

Especially old 1.7.10 Forge, which is what I've been working with

full berry
#

what are macros exactly

lavish dove
#

(theres 231)

#

the first test is that the terminal has color

spare quartz
#

But breadmod is an incredibly diverse project so no mod loader sufficiently encapsulates all of our goals

timid quartz
#

Or Oven

spare quartz
#

WE WENT OVER THIS ALREADDDYYYY

timid quartz
#

MAKE IT

spare quartz
#

if we were to it’d be called breadloader (provisional name)

timid quartz
#

YOU KNOW YOU WANT TO

spare quartz
#

we’re working on a physics engine rn

timid quartz
#

you must make your own loader you must do it all yourself you must do it you must do it you must do it

spare quartz
#

called Breadsticks (Breadphyx, Bread Physx, Bread Physics)

timid quartz
#
  1. Make BreadMod and physics engine
  2. Make Breadloader (still think Oven or Loaf Pan is better)
  3. Make BreadVM (better name tbd) and run all of MC on it
spare quartz
#

Wellll

#

In our plans #3 is actually in line with #1

timid quartz
#

So then just do #2 as well

spare quartz
#

Okay but you have to draw a furry if I am to do #2

timid quartz
#

Joke’s on you I can’t draw

spare quartz
#

Too bad

#

Everyone can draw

timid quartz
#

mm nope

#

come up with something else

spare quartz
#

yes they can

#

ughh

#

you can do it in pixel art too

#

that makes it 100% easier

timid quartz
#

If I can’t draw with my hands then I 100% can’t draw with pixel art

#

No drawing

spare quartz
#

YOU DONT NEED HANDS TO MAKE PIXEL ART

timid quartz
#

Ihm…still need to use mouse

#

Mouse needs hands

#

But no drawing

spare quartz
#

omgggg

#

what are you a T. rex

timid quartz
#

I just can’t draw

spare quartz
#

Sighhhh

timid quartz
#

Find something else

spare quartz
#

Well I’ll figure that out later

#

have this

timid quartz
#

Make the mod loader :3

#

mmmm should probably game less code more

#

but game so fun and coding so...ugh

spare quartz
#

how about coding a game

timid quartz
#

I don't have a death wish thanks

#

plus I'm not that creative

spare quartz
#

: <

timid quartz
#

it's all discord bot and API and it's drudgery

spare quartz
#

I should probably wake up

#

Since I’m out of the hospital now..

timid quartz
#

telegram 👎

spare quartz
#

Nya 👎🏻

timid quartz
#

signal better

spare quartz
#

Yeah my signals alright

proud creek
spare quartz
#

nothing ever happens

#

【歌って描いた】ラブラドライト feat.ばやちゃお

lavish dove
#

if that furry was real I would stare it dead in the eyes and rebel against this tyranny and harmony of the gay

#

and ofc her name is Ellie

spare quartz
lavish dove
#

lmao

#

we becoming insecure with this one

#

bro should open his terminal without admin and try to cd into another user's directory lmao

spare quartz
#

bro only codes in UNIX single user mode 🙏

lavish dove
#

bro I cant evne look at my guest account without using su I cant even use sudo becausee it checks for permmission every step of the way

spare quartz
full berry
#

is that the chess guy

spare quartz
#

a stupid dancing kitsune thing is enough to entertain me for days

full berry
#

oooh

#

curseforge has a logging thing now

spare quartz
#

BLEHHGHGHghghgh curseforge

#

at least that console is colored unlike a certain launcher

full berry
#

you seem like the type of guy who would build everything from source

spare quartz
#

no i just hate curseforge cause they're not that great of a co

full berry
#

co?

spare quartz
#

company

full berry
#

ah

#

i just hate the fucking

#

twitch login 😭

#

are they owned by twitch or something

spare quartz
#

also i'd suggest using prismmc over them but if you're already set up thats a hassle

full berry
#

maybe if i start again i might

#

i just wanna play SF5

spare quartz
spare quartz
#

i should keep modding

#

i need to supersede neoforges "scanner"

#

we already superseded their logger

#

just look how pretty they are. ...

#

(ignore the GPG popup our mod uses GPG signing for some things)

spare quartz
#

there's an encrypted image of omaneko

#

also player certificate signing for ||starting HTTP servers in game|| but thats clasifeied

timid quartz
spare quartz
timid quartz
#

Good

spare quartz
# timid quartz Good

応 コンコンコン!
大願成就 コンコン!

秋風の おくり物
稲穂立つ田園は 黄金の季節
目をこらせ かくれんぼ
ぴょこぴょこ 黒いお耳

spare quartz
#

IT FINALLY WORKS

#

uuuuuuggggh

#

i honestly got one of the worst headaches while writing this

spare quartz
timid quartz
#

Kinda turning into JS

spare quartz
#

I feel like that’s inevitable with the sheer ecosystem you have

#

http server in std lib 😭

#

we don’t even have specification mandated SOCKET support yet this guy wants an entire ass server

timid quartz
#

Rust chose to have its stdlib not have stuff like an http server in it

spare quartz
#

I thought something like Ada’s stdlib was packed already

#

But this guy wants NJS

#

use your debugger correctly!!!!!

#

we have logpoints and conditional breakpoints!

#

printlns are faster in the short term but they suck at introspection

timid quartz
#

debuggers ❤️

spare quartz
#

Mmmm

#

I feel like drawing

#

But I’m also tired

#

NOOOO

#

DO NOT PRINTLN DEBUG WITH THREADING

#

(in ada doing that causes your output to completely mix up 😭)

timid quartz
#

I mean if you have proper synchronization

#

ughhh bored

spare quartz
#

if you print a large thing like an exception log along with another task printing small stuff

#

the exception log will get clobbered with the small output

#

Maybe smth like Log4J does mutexing

spare quartz
timid quartz
#

無理

spare quartz
#

Uhhhh

#

Ughhh*

#

Don’t make me pull up Jisho in bed

spare quartz
rustic vine
spare quartz
#

Yeah I’m not exactly constrained by “work hours” or “school hours”

rustic vine
#

Don't you have school?

spare quartz
#

I’ve adjusted the parameters to where I no longer need to do it on a timely fashion

#

;; I’m very good at deferring

spare quartz
#

And given the occurrence of a recent affair that isn’t changing anytime soon

spare quartz
#

I just do stuff when I feel like it and it counts as education

rustic vine
#

Huh

#

That sounds nice

spare quartz
#

It is

#

I still eventually have to do things though

#

Since I only have like, 600 days before I’m forced to

rustic vine
#

600??

#

That's far into the future yk

spare quartz
#

yeah I’m enlisted by then 😭

rustic vine
#

I be thinking about the next week

rustic vine
spare quartz
#

I still feel like it’s 2020 so that feels like a day

rustic vine
#

Enlisted?

spare quartz
#

or warranted (hopefully)

rustic vine
#

What does that actually mean

spare quartz
#

like, becoming a service member of the us army

rustic vine
#

Like for you

spare quartz
#

oh well

rustic vine
#

Oh ok

spare quartz
#

I get to get outside the house for once and

#

maybe get shot and die idk

rustic vine
#

Oh

#

Why now?

spare quartz
#

I’m kidding I’m not being an infantryman

#

I’m enlisting in order to pursue piloting because it just seems like a cool thing to do

spare quartz
rustic vine
#

Like why are you doing this now

#

Or have you been planning it

spare quartz
#

I’ve been planning it for over 6 years now so yeah 😭

rustic vine
#

Oh I see

#

I guess my question is then like, why is now the time you've planned to enlist

spare quartz
#

🍋‍🟩

rustic vine
#

Anything in particular or just happened to be so

rustic vine
#

Well I guess not "now" but why have you decided when you are going to enlist is when you are going to enlist

#

Like in 600 days

spare quartz
#

600 yeah

#

but that’s when I become 18 and have hopefully something to my name aside from … 5 robux

rustic vine
#

Oh alright I see, they won't let you for under 18?

spare quartz
#

and enlistment is an “easy” way to do some stuff for cheaper (even though being a pilot gives you a contract of 10 years!!!)

spare quartz
#

But that’s not the first thing I’d like to do

rustic vine
spare quartz
#

well

#

are you in higher education/a job

rustic vine
#

I'm in college yea

spare quartz
#

good enough 👍

rustic vine
#

😅

rustic vine
spare quartz
#

I’m hoping to MAYBE get a cert and do some freelance/contract work before enlisting but

spare quartz
#

if I get accepted (even though the rate is like, 3%), a lot of my work is done for me

#

otherwise look into maybe getting a degree before/enlisting immediately

rustic vine
#

Is that like a program or?

spare quartz
#

where I’ll then pursue a way into getting into WOCS

spare quartz
#

if you’re accepted and pass you immediately get a job as a 153A (helicopter pilot)

rustic vine
#

Pass as in just a test or? Oh, program, so I assume some sort of schooling?

spare quartz
#

(well, not immediately, training and all, but…)

spare quartz
#

then training on a simulator

#

then training on a real plane

#

then getting assigned to a plane

rustic vine
#

That's a cool career choice

#

I be taking the desk job

spare quartz
#

I meannnn

#

if I’m not accepted rhats def my second choice 😭

rustic vine
#

How many years does it take to go from enlisting to flying a plane?

#

Or less than 1?

spare quartz
#

depends on if you mean from the program or from enlistment

rustic vine
#

Not the same?

spare quartz
#

the program lets you expedite steps

rustic vine
#

Ohhh

spare quartz
#

I’d say 2-3 years from it

#

enlistment… 4-5+ years

#

I’d probably just be doing cyber on the latter while waiting to get recommendations

rustic vine
spare quartz
#

being a pilot requires at least a Secret and cyber would probably give me a TS/SCI

spare quartz
#

when I put it like “2 years” it sounds a lot longer than “600 days” even though it’s only a little more

#

Maybe I’m just really dissonant with time

rustic vine
#

2 years is a lot less than what I was expecting

#

And it goes by fast if you're having fun

spare quartz
#

Just gotta

#

Not do a thug shaker central

#

Even though I know a little too much about mil Intel because I was practically born into this all 😭

#

Ugghhh why is bayachao so good

rustic vine
rustic vine
spare quartz
#

the japanese singer I’m addicted to (aerasto knows more)

#

どうも、ばやです!
こちらの曲があまりにもおきつね組っぽくてサイコーなので1から動画を作ってみました…!パロディなどは作ってきましたが自分で考えながら曲に合わせて作るのは初の試みだったのでとても楽しかったです!
稲穂の季節に投稿したかったのですが10月に入ってしまった…制作期間は2週間でした!

Vocal:ななひら様 (Confetto)
Music:ARM様 (IOSYS)
Lyrics:狐夢想様
MV:ばやちゃお

▶ Play video
timid quartz
spare quartz
#

okay well

#

at least with a helicopter you’re not GUARANTEED to die if you’re shot

rustic vine
spare quartz
#

helicopters have this thing called autorotation

rustic vine
spare quartz
#

basically if you’re high up enough the rotor can spin fast enough without the motor actually being on

#

letting you land safely

rustic vine
#

I wasn't allowed to visit japan until I was 18 (and haven't yet) so I don't really know much about the country

rustic vine
#

wait thats goated

spare quartz
#

Yeah

#

That’s why the job title is Rotary Wing Pilot

timid quartz
spare quartz
#

the Russians made a helicopter that did that

#

It’s the only one to have an ejection seat iirc

timid quartz
#

have fun with the guided rpg flying straight towards your propellor

rustic vine
spare quartz
#

Modern helis have ECMs and can vaporize people with 20mm 😭

spare quartz
timid quartz
rustic vine
spare quartz
spare quartz
rustic vine
#
  1. I put surge protectors on my wiring so I'm safe from your emp
#

thats how it works, right?

#

right??

spare quartz
#

Kinda

#

EMPs aren’t like

#

A real thing

#

But a faraday cage is probably what you want + all the braiding and shielding we made for PCBs

rustic vine
#

I remember seeing here in my state there was a plane that had no front landing gear or something and it was just spinning on the ground for like a solid minute before the pilot ejected

#

military plane

spare quartz
rustic vine
#

maybe it blew up after that

#

I forgot

timid quartz
#

what heli do you even want to fly

#

black hawk?

spare quartz
#

Scary stuff

spare quartz
timid quartz
#

go fly a kiowa

#

big ball rotor

#

well not the rotor itself but on top of it

rustic vine
spare quartz
rustic vine
#

isn't that the really old one

#

huh

spare quartz
#

NO

#

it’s

#

Trust me

#

I’m not chronically online

timid quartz
#

listen ion care what you look at in your free time

spare quartz
#

NOOOO

#

it’s not like that 😭

rustic vine
#

its definitely like that

spare quartz
rustic vine
#

oh what is this

spare quartz
#

this is who aera works for btw…

rustic vine
#

huh

spare quartz
#

Wh

#

What is a soundmoji

rustic vine
#

LOL

#

thanks discord

spare quartz
rustic vine
#

truly brilliant features

spare quartz
#

These updates getting weirder and weirder

#

How much more profit is there to be made

rustic vine
#

are you able to play it

#

I just found it

spare quartz
#

No

#

Maybe if I wake up

rustic vine
#

oh

#

disaster

spare quartz
#

Ummm

#

I need to find my glasses first….

#

okay back

spare quartz
#

... but in a message

#

riveting

rustic vine
#

riveting new feature

#

that they can advertise for nitro pro

#

👍

spare quartz
#

its really insightful

#

anyways

#

$500,000,000,000 for an ai project seems like a lot

rustic vine
#

or, eventful?

spare quartz
spare quartz
#

The space ecosystem is not immune to memory safety vulnerabilities, however there are several
constraints in space systems with regards to language use. First, the language must allow the code
to be close to the kernel so that it can tightly interact with both software and hardware; second, the
language must support determinism so the timing of the outputs are consistent; and third, the
language must not have – or be able to override – the “garbage collector,” a function that
automatically reclaims memory allocated by the computer program that is no longer in use.xvi
These requirements help ensure the reliable and predictable outcomes necessary for space systems.
According to experts, both memory safe and memory unsafe programming languages meet these
requirements. At this time, the most widely used languages that meet all three properties are C and
C++, which are not memory safe programming languages. Rust, one example of a memory safe
programming language, has the three requisite properties above, but has not yet been proven in
space systems. Further progress on development toolchains, workforce education, and fielded case
studies are needed to demonstrate the viability of memory safe languages in these use cases. In the
interim, there are other ways to achieve memory safe outcomes at scale by using secure building
blocks. Therefore, to reduce memory safety vulnerabilities in space or other embedded systems
that face similar constraints, a complementary approach to implement memory safety through
hardware can be explored.

#

reading this still makes me sad

#

literally only memory safe language that's proven to work in space and it's got no mentions 🙏

#

the doc from the nsa in 2022 does mention it though so

#

i guess that's a win ..

#

(wow just realized Ada 2022 was not a ratified specification yet when this was published)

#

sobbing so hard with spark rn

rustic vine
spare quartz
#

it's so ironic too

#

the language is still listed in it's specification as a trademark of the us government

#

yet the agencies alongside it barely recognize it

#

lot of different contributors over the years though (at least to the rm/spec)

rustic vine
#

Ada-Europe

#

definitely not a real thing

#

just a cover name for Ada-US

spare quartz
#

nono we have a sizable presence in Paris

#

mainly due in part to AdaCore having offices there

full berry
timid quartz
# full berry function is_even ❤️
function isEven(number) {
  if (number === 0) {
    return true;
  } else {
    if (number === 1) {
      return false;
    } else {
      if (number === 2) {
        return true;
      } else {
        // ...
      }
    }
  }
spare quartz
spare quartz
#

i understand now

full berry
#

(it did not work)

spare quartz
#

I FOUND ITTT

full berry
#

Aera I went to your github profile to open your rustblox repo
and the first thing i see is

spare quartz
full berry
#

PLEASE

spare quartz
#

you too

#

<3

full berry
#

ill pay you

spare quartz
full berry
#

yes

spare quartz
#

okay craotian boy

#

send me $1

full berry
#

give full name, address, account number to transfer to

#

:3

spare quartz
#

Miko R Elbrecht 10607 Green Timber Dr and idon'thaveanaccount stupid 545

full berry
#

your name is not miko