#programming
1 messages ยท Page 312 of 1
me find wait 
ball thing where wheel in ball and you spin ball and wheel rotate
Sorry i lost the plot at ball
oo called gyro ball
What in the hell is that?
never see before in life
ye never seen before
wrr
me cant do
not try that hard tho

I feel like thats not even motor control, thats just strength
gyroscope not motor control 
Balls
sam not know gyroscope self stabilise
Anyone with hands and a working motor control center can turn their hand
Unless the nerve doesnt work i guess
Working hands
The goal is to turn it while it stabilzes tho
So its mostly strength based
Professional rage bait
that me job
Its muscle training
apparently it's both?
need control but also improves wrist strength
VSCode sucks
Booooo

Get out
Truth nuke
wrrr
Ahem....
Python and Rust are the worst languages ever created by man.
Ok, I'll stop now.



it because llm die every time it write java
just VB 
no .NET
The only language ive ever forgotten how to use
Everyone should start using VB for their AI stuff. Their productivity would go up by 1000x
True
And they should create nice fancy GUIs, too
Scratch still beats all those languages
.vbs is better than .sh
python i agree with, rust is.. simply controversial at worst
revive later
wrong
python has its uses
quick and dirty language
i hope python dies a slow and painful death
why are all pokemon larger than the pokeball?
why are there no small pokemon?
If I were to be serious...
Rust crates do encourage dependency on software that is poorly understood. This may lead to a problem in the future, where legacy code becomes so poorly understood, that the Rust Programming Language collapses under its own weight, therefore causing the chain reaction which will eventually crumble our entire society.
Javascript be like
3 awoo a day keep esbuild away
<-
The sound sound a wolf makes
do you know what wolves are
I dont use rust
wolves are a type of bacteria that is found on apples
python:
javascript:
typescript:
java:
pretty much most languages with popular package managers and metaprogramming abilities:
reject code, embrace scratch
reject computers, embrace sticks and stones
konii fact of the day i guess
sam drop in arctic sea
Until they break your bones...
replace your bones with sticks and stones
artic is north

sticks and stones may break your bones but computer falling on your head will also hurt a lot

i forget its artic and antartic
for some reason im thinking antartic and proartic
anterior posterior
isn'ti t arctic and antarctic

just call it iceland north and iceland south atp

ice is a rock

some ice is a mineral, some ice isnt 
Truth supermassive blackhole
snow is only 1 crystal
depend on the pressure and conditions which it form in
I would say that before, the dependency problem was only seriously bad with high level languages. With C, it is harder to link libraries with your specific use case, for example.
Rust is a low-level programming language, where it is extremely easy to check in a bunch of libraries.
I do actually believe this will be a rather serious problem in the future, although the ramifications can be debated.
rust low level 

what if we run out of dependencies
because
dependency farmer
stop farming
go on strike

konii is hogging al the dependencies with her 2.8e17 addons
Node_modules
me rich in dependencies none fulfilled though
wrr
it joke
impossible
dependency farmer replaced with AI 
im kinda confused, are you saying its a bad thing that its easier to use libraries?
sure
unlimited left-pad
me have water and bed happee

dependency farmer replaced with machine
In order to depend on a dependency, a dependency will be required, which will require a dependency to grab another dependency to issue that dependency.
Everytime u use a dependency, weights should be added to ur hands
So the more u use the heavier they become
ye they are its called oxidation

Yes... Although it isn't obvious how at first.
it just add weight slower than your skin flake off
random ideas
yubikey improve konii opsec 
rgb lamp with tasmota fun controlling tho mine quickly broke because of a leaky capacitor 
kendama
me have one
many other random options like nice tea or bath bombs or whatever ๐ค
me not suggest anything hobby related or hair/skincare related since you're much better equipped to give yourself advice on that 
oo another one mug mug (custom print)
yubikey expensive ๐
ye clone exist
yubikey waste of time already have passwords on usb 
rgb lamp me have rgb RAM dont need
Its sort of like when someone farms for you, and then you forget how to farm by yourself, and then that farmer dies.
yubikey can use passwordless decrypt 
Blood authentication
mug mug
rust has expansive metaprogramming in the form of its macros, you can literally generate more rust with rust in a single compilation in a more advanced way than you can with c
i would call rust mid-level at best
that said, most rust programmers know rust in and out because they're borderline obsessed with it, i don't think it's that big of an issue in that regard.. it's like saying arch users don't understand their system
easily faked
me use as alarm clock
lamp turn bright -> easy to wake up
not need if sleep schedule good 
I own 2 of the world's loudest alarm clocks
i feel like blood authentication is jsut giving robbers more reason to "dispose" of you
The sonic boom ones
rust is a high level programming language

easy fake me just cut off your head
rust extremely easy to check libraries 
cargo tree 
U would have to be fast
syn isnt dependency it part of stdlib 

every time i've compiled a rust project i've been stuck on the dependency resolution for ages
tokio 2 dependencies because their crate id a monolith 
it's borderline comparable to java
having easy access to libraries and being able to choose not to use them >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it being basically impossible to rely on lots of libraries because you are the package management
Or just use rust core, with a bunch of asm! macros
pointless
It really gives you an idea of the inner workings of the language
me think reason go js rust use so many dependencies language issue
make hard to do thing have to use library for everything
jsut use straight binary
language terser more expressive -> library not need
ignore asm write machine code
asm is too high level
ignore asm write asm 
there's pseudoinstructions and shit
Cargo has lockfiles
don't need to resolve dependencies just to compile application
machine code is not a 1:1 translation of asm
why use a library easily for a 2 week project when you can spend 4 years making the exact same thing yourself?

dumb programmers trying to not wast all their time
asm is 1:1 translation to machine code 
im the smart person for wasting all of my time for no reason
Tbh its necessary for some APIs that are just built like absolute shit
(Like the twitch one)
some assembly languages may be, but there's still abstraction in most assembly languages
and most assemblers
ok but like, there's this for everything
there's macros, structs, pseudoinstructions
you could be your own doctor
assembly languages? theres more than 1?
i thouhgt it was jsut 1 asm
asm is 1:1 to machine code, only abstraction is name of instruction
but there's merit to letting some people do one thing well
The library isn't always suited to your specific purpose.
Also, building your own libraries does get easier with practice. Instead of it taking 4 years, it may only take 2 weeks once you're an expert.
instead of trying to do everything yourself badly
that not asm, that asm with macros, structs, and pseudoinstructions 
lemme reimplement tokio real quick
Just write straight up machine code atp
the thing is here, why not become an expert in your specific interests, and share that with people
Every build is customized for the user
by making a library
ok but like. do you expect every game studio to reinvent unity or ue5?
do you expect them to make their own gpu drivers cuz using prebuilt stuff is bad for some reason?
oo camera
you mention want try dumb phone and camera
that's regular ass asm, you can choose not to use certain features in your assembler but it does not change the fact a lot of assemblers have those abstractions in place
No.

so libraries are good
But there are benefits to rolling-your-own.
well ye
also implement your own crypto functions. Famously a good idea
smart idea
It's not like it is bad all-around.
assembler have feature =/> feature is part of asm
good luck writing asm without labels
Can we make a compiler that compiles rust into Java JIT
Also, machine code does have natural built-in macros, in case you didn't know.
jit 
me bread have mold but mold not a feature of bread
Very useful :p
do you mean bytecode
ye expensive tho
scala better 
also rust_codegen_clr
Thats honestly funny
making your own version of stuff is helpful in some cases, but most of the time you're doing unnecessary work.
if its not your goal to make library xyz yourself then why would you go to the effort if the original provides everytihng you need?
i feel like using libraries doenst make code bad
I kind of want to try it out
ye f# better 
Its the worst of both worlds
buy terrible camera
camera need research
ezpz
jvm is awesome
good piece of tech
cameras are a good excuse to go outside at silly hours
i'd go as far as to say java is awesome
please do not run rust code on the jvm, that seems like it breaks the geneva convention
me not understand problem
I started with Java then moved onto C#
fuck you i'm gonna go make doom run on rust on the jvm
But i still prefer directly compiling
I'm not saying libraries makes code bad.
If everyone is dependent on something they neither can understand, nor fix, than bad things may or may not happen.
i dont think this would be hard at all
just use existing rust doom project and rust_codegen_jvm
correct

require nostd 
the leftpad in question
isnt most things in tech based on things people dont understand and cant fix?
the fucking nvidia gpu drivers on linux barely work
vm with good JIT often better runtime performance than native
Yeah. That's why it sucks. Ditto!
Yeah but I still have to abandon it for a lot of stuff
it not because nvidia cant fix, it because they dont care about desktop linux
why would they
ye
so like, i dont see why that would make a specific language bad, when its a problem for every language
the cost of the employees to make the drivers work would be more than they make from desktop linux 
As they say there are either languages u complain about or languages u dont use at all
they could fix all the driver problems with like 0.05% of the AI profits they get
i don't complain about java that often but i still use it a fuckton
c approach to library only one this issue not happen
library hard to pull and only used where really necessary
counterpoint is it cause everyone to start carrying around their own library of utils
Some languages encourage it more than others, like Rust with its crates, and NodeJS, with NPM.
At least with C, it is more difficult to link libraries together with your program. You have to specify a library binary, and its header files.
bad bad
true language/stdlib issue tho 
I had to do that with Unity development
technically you don't have to have something's header files to link against it
fixed in cpp

you dont need it at all
i feel like stdlib is like one of the only places everyone uses the same standard in tech, lets keep i that way
Don't forget C-- is a language
c-- use for haskell codegen 
in most cases you wouldn't do that
Yeah, dlfcn.h has that covered.
and ffmpeg

ye c-- designed for haskell 
C is the best one of the alphabet names. and the other ones can kinda fuck off ngl
kounterpoint
never heard of B
never heard of b means i never heard of b
I know of D
I didn't hear of B


me like b more than c 
i like d
A/A# is a thing
the language
c switch use types for memory layout big mistake 
Ada port

you might be on to something
erm
rule 3
its like uuh in between ocaml and c++
i've never used ocaml
me have no reason use d over ocaml
it nice language tho
Use Z++ if ur an SQL fan
me neither
wrote lots of f# tho because c# bad
Wrong opinion
B has fun, instantly S tier
return exist -> me destroy language 
oh
I can't stand languages like those
i google programming language B and this came up
main() {
extrn putchar, n, v;
auto i, c, col, a;
i = col = 0;
while(i<n)
v[i++] = 1;
while(col<2*n) {
a = n+1;
c = i = 0;
while(i<n) {
c =+ v[i]*10;
v[i++] = c%a;
c =/ a--;
}
putchar(c+'0');
if(!(++col%5))
putchar(col%50?' ':'*n');
}
putchar('*n*n');
}
v[2000];
n 2000;```
source: wikipedia 

auto != c++ auto afaik
ye lack of experience understandable 
just means auto storage
me like using weird language its fun and teaches you thing
it's implicitly int
doesnt seem too bad
Rust borrowed the ugliest parts of those syntaxes sadly
lack of experience 
rust is fine
i find it painful to write but it's really fine
rust community less insufferable than rust haters 
The language ain't for me personally
Cap
almost on par with twitter art "fixers"
rust community majority just writing rust
people external to community make noise

"rust good" "rust bad"
ye same view
rust good i just don't feel like writing it most of the time
rust is uuh
fine
Everyone talks about what the best language is supposed to be
i'd use it in areas where libraries are important
What about what the worst one is?
java best language
elsewhere no thankies 
python worst language
rust is good for code sharing 
I mostly agree
rust not good for program writing
I like Lisp
actually, i dislike C# more than C++
like as in "used once or twice" or as in "i use emacs and guix" 
not to say it make bad programs, more to say iterating a design with memory safety is difficult
ye me think gc easier approach to memory safety
rust performance not needed most use case
As in, I use Emacs sometimes, and I program with CLISP enough to really like it.
why haskell above rust
java's not on here i'm gonna cry
i'm gonna actually cry
i can't believe this
computer fast memory fast
Its most hated ranking
i'm killing everyone
wow
ye so why haskell above
make no sense
WORST 
u dum
i'm sparing everyone
I have just found that I make whatever fundamental changes I need to make to my codebase, then fix all the red errors, then the code just works, even for like ~1000 line changes
Elisp is quite useful
look i've only had 16 hours of sleep today
2019
also using job market as indicator 
where's matlab
Job markets dont know what they want
#0
why is TYPESCRIPT on there
Honestly true
wtf
I had that for a uni class and it was kind of ass
they know they want the best and they want it now
ts deserves it

why is lua so high
me not care about industry
me program for fun and cool research not for make money
cuz roblox
it costs $1000 per year outside of uni
lua is fine as a configuration and simple scripting language
me program as habit
roblox uses luau
We need a server wide language ranking
different language
That won't make people fight at all
you could say the same thing about python lol
superset of lua
matlab uses a proprietary IDE
thats my point
don't you dare bring that filth into this discussion
1 is a superset of 0
YOU CAN'T EMBED A PYTHON INTERPRETER INTO A PROJECT AS EASILY AS A LUA INTERPRETER
IT'S INFERIOR
I LITTERALY DID, I HAVE PYTHON RUNNING IN WASM
now stop shouting
dum
why would you DO THAT
because i can
-# ok
and you cant stop me
thank you.
t
hi konii
WRITE(6,*) "I DECIDED TO SHOUT TODAY."
STOP
END
hi t
hit
hi sam

konii werent you sleeping?
don't hit
sorry i woke her up
i forbot
my bad
shut up sam
okay
i didn't mean it that way

ErmScript
COMPUTERS USED TO SHOUT ALL THE TIME IN SOME WIERD ASCII-LIKE FORMAT. IT IS A LONG-HELD TRADITION.
My favorite language

but you're not a computer
are you?
As far as I know, no.
me decide for you 
#1. intercal
#2. mips assembly
#3. uiua
#4. agda
#5. fractran
other language not include lack of vote 
lame
im fine with that
old mcdonald have a farm u i u a 
Besides mips ive never seen a project use these
at vanorsigma pin please
But atleast i have something to Google now
#define erm assert
#define actually ;
main() {
erm (1 == 1) actually
}```
Stealing this


#define erm assert(
#define actually );

#define true false
#define false true
nothing happen 
erm 1 == 1 actually
the best way to test private code in c++ still remains to #define private public
If ur program has no output it prints "NOTHING EVER HAPPENS"
the poor man's reflection
if a program runs without output, did it ever run in the first place?
return nothing;
what are you doing?
hol up, let them cook
pure program with no output idempotent
all in
whitebox testing private c++ code
whitebox?
opposite of black box
opposite of black box
black box see nothing
white box see everything
advanced printf debugging
pure terminating program evaluation order independent 
why need to put public private
confluence 
imagine you have a class in c++ that has a private variable m_var which has no getter, and you need to test that it is set to a specific value after you call the function void my_function(void), how would you do that automatically without using a debugger?
print 
but it's private
in the function
it's not your code to change
if its visible code i can change it
what if you only have the header?
Get a reference to a class, and print out the value at the offset that it it stored.
At least, that's how I would do it.
just cast T * to a char * and print that genius 
int intAtOffset = * static_cast<int *>(static_cast<void *>(&obj) + offset);```
you can't get the offset of private variables iirc
You do something like:
void *a = &class;
void *b = a + offset;
int *c = (int *)b;
printf("%i\n", *c);
compile in debug mode read from dwarf metadata 
the shared library you're using was compiled in release mode
filthy c style cast
i'm killing you
I program in C, not C++.
I am now awaiting my death. 
oh then it's fine
but if you pull that shit in c++ i'm coming for you
crazy 180
wrr
if im doing code that requires me to check a private variable in one of my libs, then idk what i woudl even be doing
you see, the real answer is actually to use public_cast<type>::my_private_var
Or you can peek the memory using an oscilloscope, if you really don't want to use a debugger.
Just shove the prongs into the right wire, and watch the magic square wave stuff happen.
scary
blur 
i think my network speedometer is fucked
wrr
crt noises intensify
wrrr
here it is in action
I'm not a C++ programmer, but I can tell that is cursed.
took me a while to figure out that was a nose and not a mouth
MONKA <- hd remake
it very hd 
Content Description: a cartoon drawing of a girl with glasses and a video game controller on her head
Content Description: :MONKA:

not quite
that :MonkaOMEGA:
:MONKA: <- different species
phylogenetics complicated me forgive you
forgot the space invader creature pin smh
Can you post a png of what you are referring to?
why is her mouth open
that's clearly MONKA's braincell

oh
whoops
thats not a png 
png colloquialism for image
same deal
but gif
it image 
it image 
and recipient has not voiced complaint
can only assume this is a satisfying response

iiiii
The PNG committee will now be disbanded. Thank you everyone for your participation. We shall be on our way now.
gzipped bitmap image 
ye without image feature
no icd profile
no uuh
animation
no uuh
png thingies
whatever they do
theoretically you can store any arbitrary buffer in a png file, so we could have a gzipped png inside of a png

tiny program that:
0. takes 1x1 transparent png
- constructs new png with the binned data of the 1x1 transparent png
- repeat with the previous png
will it create a predictable pattern or will it be boring

gzipped gif 
is it pronounced gif or gif?
gif
gif
its pronounced squirble
i ahve some bad news to bring to yall
ok
jraphics interchange format
you're moving to javascript?
to lisp 
njif
ship wasm
it render on canvas
press the sound thingy
gif, soft g 
literally nobody wins
it just opens the image 
chayleaf you're just explaining fonts
font not web native 
please i need investor money
Google's service, offered free of charge, instantly translates words, phrases, and web pages between English and over 100 other languages.
that's crazy
ye i'm pronouncing it like that from now on to piss off both groups
ppoi jan

this but with ukrainian g 
ye it is

llama.ttf is a font file which is also a large language model and an inference engine for that model.
huh?
smh you guys are missing out
ok
arbitrary code execution 
does llama.pdf exist
It makes me 15.4 in MAC look like a netbook
I mean that's fine
why is it running windows 
it's supposed to do that
ye
you can embed js and forms so it can exist
nuh uh
i jsut realized this doesnt make sense to yall
in belgium we dont use hard g, in netherlands they do
we use soft g for everything cuz less agressive
Because I just got it, donโt worry, Linux will be installed after I do my Spreadsheets assignments.
so
text rendering
i can put python in there too
ye in practice they just use rust for everything tho
who needs jupyter anyways
also its still very very nonstandard and disabled by default i think 
Text rendering is a rabbit hole
It never ends
It may as well be equivalent to 3D rendering in complexity.
i need to start scheduling breaks for myself when i get trapped in the coding mindspace
try EncoderOptions::new(bytes.len(), 1, Default::default(), BitDepth::Eight) or something 

font that renders as evaluation result
need to isqrt
do you want square image
ye

i wrote a steganography algo once
encode data in jpeg chunks
visible artifacts but original image still legible good enough 
when you rotate them, they rotate
it work with greyscale
imag
riveting
this 30 iterations
100 iterations
very convincing random noise generator
not cryptographic though
is original like 1x1 or something 
300
look same size
here it is with a different (1x1)
ye
probably sqrt growth
on size
so limit
A few weeks ago, @fuglede demonstrated that it was possible to embed llama2 generative AI models inside TrueType fonts using the experimental HarfBuzz WASM shaper engine. Today, we take things a step further by embedding T5 (text-to-text transfer transformer) AI models inside fonts using the same method, granting our fonts the power of text tran...
huh... github is starting to charge money for self-hosted github runner
wrr
me have gitea 
good idea


discord renders it
but not here
i can only decode once
otherwise it says "no more bytes
"
it did recover original 1x1 if i just encode one time
it embedded

2 time
3 time
4 time

is png safe against arbitrary trailing data
because if you just isqrt then you truncate if you isqrt+1 you pad
then pad bytes until len is a square 
integer square root removing +1
this if i do that
let mut size = bytes.len().isqrt() + 1;
loop {
if size * size == bytes.len() { break; }
bytes.push(255);
size = bytes.len().isqrt();
}
me brain not working but i think this should work

bi
line
if i make it pad out to 4x the size, i can encode in colour maybe 


i wonder if they have interesting fourier transform
big line
oo right padding line
what happens if i pad out with the bytes of the original image instead of
255 byte
here
it does look a bit different must mostly the same
lines must be exif metadata or something

noise
i leave for 10 minutes come back
noise
i leave for 20 minutes come back to
noise
Data is noise
i forgot to increment i
noise is data, not all data is noise
redo
looks nearly same :sendoro:
rgb ver
it looks like its not just noise though
there are some weird distortion patterns in it
cat

before me forget, here what it look like if i dont decode
distortion pattern gone :rrrr:
perlin noise 
why does it keep saying "in a hot way" 
gpt 5.2 great model
i dont think it does
i didnt tell it to do that, to be clear

ye i know
2nd time around
i guess it wasnt the exct same last time, but it does use the word "hot" a weird amount
fade into noise
it not noise it
your future

this sounds very cool when played with spectral synth (turned into spectrogram
sound NERRRRD
interesting noise
send noise

not that interesting on its own but i made a bass synth out of it

Noise is any type of random, troublesome, problematic, or unwanted signals.
Acoustic noise may mar aesthetic experience, such as attending a concert hall. It may also be a medical issue inherent in the biology of hearing.
In technology, noise is unwanted signals in a device or apparatus, commonly of an electrical nature. The nature of noise is much studied in mathematics and is a prominent topic in statistics.

"unwanted" 
rude
ok i remove sub i added
i see how toby fox make sfx
wrr

is this lossy ye
because you grayscale it
image based prng
but better because can't reverse
but slow

wrr
luma luma yay

rgba 16
still pretty 
more pretty even

not sure how it coping with original pixel

it's the same image konii

look

wrr
is it just me that sees a grid within this?
if its highly visible its probably noire 
oh here what happen if i decode btw
suddenly grid go away
which mean grid is a feature of png and not an image artifact

is the grid still there when you scale?

noire

it's a proper noun 
moire
this not full script
full script merge into one image

me find
nevermind lost to time
it gone

chayleaf = backup

import numpy as np
import cv2
def fft_channel(channel):
window = np.outer(np.hanning(channel.shape[0]), np.hanning(channel.shape[1]))
fshift = np.fft.fftshift(np.fft.fft2(channel * window))
spectrum = np.log1p(np.abs(fshift))
threshold = spectrum.mean() + 0.005 * spectrum.std()
spectrum[spectrum < threshold] = 0
spectrum = cv2.normalize(spectrum, None, 0, 255, cv2.NORM_MINMAX).astype(np.uint8)
spectrum = cv2.equalizeHist(spectrum)
clahe = cv2.createCLAHE(clipLimit=3.0, tileGridSize=(16, 16))
spectrum = clahe.apply(spectrum)
return spectrum
img = cv2.imread('/home/user/Downloads/erf.png')
fft_bgr = cv2.merge([fft_channel(c) for c in cv2.split(img)])
cv2.imwrite("fft.png", fft_bgr)
this is not nix this is some dotnet tooling config 
anyway chatgpt solution bad
to be expected tho
I realized after I typed, I'm slow
you should not expect /nix/store/.../ paths to be stable
neovim

also, yes. Pathing as expected is the worst solution you can do
notlua
I need to use this config on non-nix system so I must use everything native

and in this case pretty sure notlua won't help
home-manager available on every distro with nix but i assume you dont wanna install nix which is fair 







