Guild icon
DDraceNetwork
DDraceNetwork / off-topic
Any languages allowed
Between 2024-11-17 00:00 and 2024-11-18 00:00
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
looks like hotel?
Avatar
Avatar
Overlord
looks like hotel?
home
03:01
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
please wait for what xd
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
dayum looks great
04:02
im off to bed bb
Avatar
why is compiling for windows on linux such a pain?
kek 1
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
bro wtf
Avatar
Avatar
meloƞ
bro wtf
burger king didn't set limit on patty options
Avatar
Avatar
TsFreddie
burger king didn't set limit on patty options
bro wtf
10:15
Avatar
you can ask for 100 patties if you have the money
10:16
but they'll probably just call you and ask if you want a refund since they can't make it
Avatar
oof, too bad home network is behind 3 NAT
10:37
soo.
10:38
tailscale and zerotier
10:38
which one should i use
Avatar
@Koll Potato а ты что делаешь с протоколом?
Avatar
Avatar
pilonpl
why is compiling for windows on linux such a pain?
try to compile for linux on windows :p
Avatar
Wsl ig
Avatar
Avatar
pilonpl
Wsl ig
so, your answer is virtualization
11:23
use docker to cross compile then kekw
12:15
Wow
12:16
That probably the best minecraft arg/story i have seen
12:16
Probably the only one that makes sense
Avatar
Avatar
zhn
@Koll Potato а ты что делаешь с протоколом?
Koll Potato 2024-11-17 12:19
изучаю пока что и пишу библиотеку на расте (я знаю что уже есть libtw2)
Avatar
Koll Potato 2024-11-17 12:28
вообще идея была создать свой клиент
12:29
я думал до меня никто это не задумывался сделать
12:29
оказывается есть один гений
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
You have inspired me
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
why not just eat minced meat at that point
Avatar
Avatar
Learath2
You have inspired me
you are obviously much better at this
13:43
kek
Avatar
Avatar
TsFreddie
you are obviously much better at this
Well egg consistency is a preference thing 😄
Avatar
Avatar
Learath2
Well egg consistency is a preference thing 😄
hi, can you look at the ticket for rename?
Avatar
Gimme a second to eat my eggs pepeW
Avatar
Bon appetit 😄
13:48
owo
Avatar
Avatar
Learath2
Well egg consistency is a preference thing 😄
i turned my gas stove to the minimum heat. but the egg still instantly solidify
14:06
InsaneCat i need to heat up the butter and move it to the other stove that is not on to cook it slowly lol
14:07
chinese stove is too hot
Avatar
Avatar
TsFreddie
chinese stove is too hot
If your stove is too hot at minimum then you need to cook on/off the flame. Eggs cook fast so it's not that annoying to do
Avatar
I add heat, take it off the flame, scramble scramble scramble. If it doesn't look right, I add more heat
14:10
You can always add heat, you can't remove heat 😄
14:11
If I for some reason have to start with a very hot pan, I'll just turn off the stove completely, add my eggs and see what consistency it gets me. If it's too wet still, I'll turn the stove back on
14:30
too addicting
Avatar
Avatar
Learath2
You have inspired me
looks a bit over and dry
14:45
but you do you
Avatar
Avatar
Derek
looks a bit over and dry
You can measure how depressed I am from how dry I like my eggs on a given week
feelsbadman 1
Avatar
so its not that terrible right now, good 😄
14:50
im scared of you chugging 10 raw eggs when huge happiness will happen in life justatest
Avatar
#!/bin/bash # Check if at least one argument is provided if [ "$#" -lt 1 ]; then echo "Usage: $0 <command> [args...]" exit 1 fi # Start the command with arguments and disown it nohup "$@" > /dev/null 2>&1 & echo "Started: $*" this should be a standard command
Avatar
Avatar
pilonpl
#!/bin/bash # Check if at least one argument is provided if [ "$#" -lt 1 ]; then echo "Usage: $0 <command> [args...]" exit 1 fi # Start the command with arguments and disown it nohup "$@" > /dev/null 2>&1 & echo "Started: $*" this should be a standard command
I don't know nohup but isn't <command> & disown basically the same?
Avatar
nope
15:33
it doesnt discard the output of the program
Avatar
its also more stuff to write
Avatar
Been so long since I needed to use it that I forgor
Avatar
I often want to do nemo .
15:37
And it's really annoying to do without disowning it
Avatar
Ohh you're starting GUI apps from the terminal now I see why you need that
Avatar
Well, it's much more convenient to start stuff from the terminal when in a project folder
Avatar
Usually when I start something that I want to disown I also want to close the terminal right after
15:40
I use so few GUI apps that I don't really find the need to open them in a specific directory
15:41
When I'm programming I just use a few terminals and a browser
Avatar
I usually only do code . which has the desired behaviour by default i guess
15:41
But sometimes the program i am writing generates an image
Avatar
Oof, vscode user
Avatar
And i might want to look at that image with an actual image editor
Avatar
I did that a couple times, told an image viewer to watch a certain file on the side. I guess if I did that often enough I'd care about it being easy to start
Avatar
Avatar
risu
Oof, vscode user
It's just convenient tbh
15:46
Learning even just the vim motions is annoying
Avatar
I can't live without vim... Editing text any other way feels like a slog
Avatar
and i am kinda bad at typing
Avatar
🍕big cat pizza 2024-11-17 15:47
hello how all color
Avatar
Avatar
pilonpl
and i am kinda bad at typing
Well that's fixable with practice
Avatar
maybe
15:47
but its really hard
Avatar
🍕big cat pizza 2024-11-17 15:47
oh
Avatar
Yeah, but so is DDRace :)
Avatar
i just dont press correct buttons with correct fingers
15:48
and in vim specifically entering the normal mode with esc is just so annoying
15:49
but idk what other keybind would be good
15:49
i guess people just use esc?
15:49
idk
Avatar
Some people bind the capslock key to esc
15:49
I'm just used to hitting esc normally
Avatar
my hands are kinda small
Avatar
My hands are very average size
Avatar
i think i should do typemonkey and use nvim vscode extension
15:52
with slightly better config than the default
Avatar
One time we looked up the average hand size and when we measured mine it was just about exactly the same
Avatar
the most annoying thing about vim is how much plugins you need
15:57
just to be as good as vscode by default
15:58
in vscode you might need like one extension per language
15:58
but it gets recommended to you
15:58
and you can just click install
Avatar
See the secret is that you don't need them
16:02
A lot of laguages I write with just the docs open and no assistance from the editor
Avatar
even getting the LSP to work is complicated
Avatar
Avatar
risu
A lot of laguages I write with just the docs open and no assistance from the editor
...except for syntax highlighting of course, vim-polyglot is good
Avatar
Yeah i guess i like minimal setups
16:07
I don't like IDEs
16:07
Like wtf
16:07
Why would i need 50gb of stuff
Avatar
Except for JVM stuff, I've never tried to and probably never will try using Java without an IDE
16:15
Jetbrains my beloved
Avatar
java is so annoying
16:18
it never just works without issues
16:18
ant the language itself is just terrible
16:19
mainly because OOP is terrible
Avatar
I'm not sure about the language being just terrible, but when people write "proper" Java it certainly sucks
16:19
If you write Java somewhat incorrectly I think it's quite tolerable
Avatar
i think even python is better
16:19
well idk
16:20
i dont use java
Avatar
Language feature-wise probably more comfortable at least
Avatar
python also has a bit of OOP bs
Avatar
but I'd probably rather write a real program in Java
Avatar
i guess objects are ok if you dont try to fit everything into them
Avatar
classes without a lot of inheritance are generally totally fine to deal with
Avatar
i guess structs with functions are kinda like classes
16:22
and those are great so
16:23
Just don't write a GeometryConsumerBuilderStorage (flasbacks from the last time I dealt with the Minecraft renderer)
Avatar
i use python a lot simply because of how easy it is to just do useful stuff
16:25
i feel like exceptions make it hard to create anything robust
16:26
and even a simple program in go feels more robust
Avatar
its just so great that in go i know exactly where and what errors can occur
16:28
in python i dont even care
16:30
when using python i mostly care about the result
16:31
i dont care how bad the program is
16:31
i just want to do one specific thing
16:31
in other languages i care a lot more about the code itself being good
Avatar
If you feel like your code isn't robust when writing Python, try JS
16:31
justatest
16:33
I wrote a short 70-ish line script the other day for a thing that for some dumb reason uses JS as an embedded scripting language
Avatar
yeah, did you know there are two for loops? for of and for in
Avatar
and I felt so terrified the entire way through it's like I couldn't trust any of the code to not silently break in some stupid way
Avatar
I've got something funny I made like a year ago (it's called evil_edition because it's minified)
16:39
have fun figuring out what it does :P :P :P
Avatar
wow
16:40
idk if i want to run that
Avatar
You might already have dc installed
Avatar
whats dc
Avatar
Avatar
risu
I've got something funny I made like a year ago (it's called evil_edition because it's minified)
ascii ?
Avatar
Avatar
meloƞ
ascii ?
Hm?
Avatar
i won't run it kekw
Avatar
It is just a text file yeah
16:44
if you know dc you'd know that it has no file access
Avatar
wtf its some super old program
Avatar
Yeah :)
Avatar
and its absolutely terrible
Avatar
dc evil_edition.dc > out.ppm
16:46
Or I can reveal what it does I guess
Avatar
just reveal it, i dont want that program on my computer
Avatar
Well here's the file with comments
16:47
and here's a higher resolution output converted to PNG
Avatar
WOW
16:48
thats awesome
16:48
i dont even know how to do that in C
Avatar
it takes like a solid couple minutes to run if you run it at a high resolution because 1. dc is not that fast 2. it's outputting it all in human readable ascii so the files generated are big
Avatar
yeah ppm
Avatar
the 2k by 2k file before converting to png is 37M
Avatar
do you have C version or something?
16:50
or did you just write this in dc from scratch
Avatar
I wrote in dc from scratch but I've written it in other languages before
16:51
it's a super simple algorithm, let me write it out
Avatar
yeah, idk how to do color
16:51
i guess its just how close a given point is to being in the set
16:56
it would be good to do this in a shader
16:57
although iterating isnt good in shaders i think?
Avatar
Avatar
risu
it's a super simple algorithm, let me write it out
actually nvm I'm starting to worry about making it pretty and now it's taking too long lol
Avatar
Avatar
pilonpl
it would be good to do this in a shader
I've done it before :)
Avatar
Avatar
pilonpl
although iterating isnt good in shaders i think?
yeah it's not great
16:58
the fun thing though is that you can do one iteration per frame so it refines over time
Avatar
do you just count the number of iterations to get the color?
Avatar
Yeah, the number of iterations before it escapes the radius 2 disc
16:59
Actually using a larger radius gives you smoother colours
Avatar
maybe there is a better way
Avatar
and there's some fancy trick for even smoother colours where you get an estimate of the rate of escape but I've never implemented that
Avatar
i like the hard edges tho
Avatar
Yeah the hard edges give it some texture
Avatar
i wonder if its possible to zoom in forever
17:00
how could that work
Avatar
Well you'll run out of float precision pretty quickly but you can do it with an arbitrary precision number representation
17:02
"pretty quickly" I say but it takes a fair bit of zooming before you see the float issues
Avatar
yeah
Avatar
well, double issues
17:02
I haven't tried it with plain floats
Avatar
do quad precision lets go
Avatar
its cool that there is this ppm format
17:03
which you can encode yourself easily
Avatar
yeah makes it trivially easy to write image output for little toy programs
Avatar
making an actual image decoder would be interesting too
Avatar
You could implement QOI for fun
17:04
Quite Okay Image
Avatar
or QR code encoder and decoder
Avatar
it's kind of an idie thing, has pretty good compression (almost as good as PNG) while being wayyy simpler
Avatar
its just hard to find specification for some file formats
Avatar
so sadly most things don't support QOI yet
Avatar
yeah its public domain
17:06
but what about qr codes
17:06
i did find something eventually
17:07
but its not exacly the first search result
17:09
its actually funny that a simple algorithm can be better than PNG
Avatar
Well it doesn't compress quite as well, but it's not much worse
17:10
And the reason for the speed gains is pretty obvious :)
Avatar
it would be cool to have a lossless image format that takes up the same amount of space as jpg
17:11
photos of real life stuff are kinda big
Avatar
Avatar
pilonpl
it would be cool to have a lossless image format that takes up the same amount of space as jpg
100% quality JPG is lossless :)
17:11
but not small
Avatar
well
17:12
i just want both lossless and small file size
17:12
i wonder how much compression is possible
Avatar
Avatar
pilonpl
i wonder how much compression is possible
Time for some information theory :)
Avatar
the number of useful images is huge
17:13
so at which point can we no longer represent all of them with less information
17:15
i guess the best theoretical way would be to encode the most probable image as a single bit
17:16
and then it would just be an index
17:16
where smaller values are more probable
17:20
i wonder how many images there are in the world
17:21
that are saved somewhere
17:21
because my gpu obviously creates an image every few miliseconds
17:24
anyways
Avatar
wow
17:52
i got a nice surprise
17:52
from my past self
17:52
a script that copies photos from my phone
17:52
to an external disk
17:52
and it just works
17:52
easy backup
17:53
i could just use restic i guess
17:53
but i was already using that approach before i knew about backup software
17:56
file management is just so annoying
Avatar
Deadfunir4 2024-11-17 17:56
anyone have DaRkA discord?
Avatar
Avatar
Deadfunir4
anyone have DaRkA discord?
дед фунир блять?
18:10
откуда ты тут
Avatar
Deadfunir4 2024-11-17 18:45
Ты кто
18:45
@wreaitexx
Avatar
Avatar
Deadfunir4
Ты кто
в войсе с мозиком и с тобой сидел в войсе на сервере
18:46
ты тогда еще в альтернатив батл граунд играл
Avatar
Deadfunir4 2024-11-17 19:12
а
19:12
так похуй, я ливнул с роблокса давно уже
19:12
хз кто ты
19:12
но мозик заебывает мя, в лс написывает
19:12
@wreaitexx
Exported 259 message(s)
Timezone: UTC+0