Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-11-28 00:00 and 2024-11-29 00:00
Avatar
chillerdragon BOT 2024-11-28 00:14
Yes what Freddie said. Did it work?
Replying to @Puch ChillerDragon is there anyway to force 0.7 client to be loaded on ddnet …
Avatar
hi chiller
Avatar
Avatar
chillerdragon
Yea it’s using swarfeys lib under the hood it is capable of jumping
Can you help me do it?
Avatar
@Discord Mod
02:00
who does this even ping
Avatar
?? who deleted the message but didn't ban lol
02:11
@.pet
02:12
hi first mod in sidebar i hope your day is wonderful
02:12
can you ban this bot
02:13
For you too
02:13
Ewan Banned...
Avatar
NOOOOOOOO
Avatar
Avatar
TsFreddie
like 80% of the chn player are using dyncam
Isn't that a different zoom level?
Avatar
seems like both
Avatar
GitHub BOT 2024-11-28 06:22

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
Avatar
Pioooooo
Isn't that a different zoom level?
zoom doesn't affect cursor being sent to the server iirc
Avatar
GitHub BOT 2024-11-28 07:02
b5fa402 Allow float zoom - SollyBunny c31dc7e Merge pull request #9290 from SollyBunny/float_zoom - def-
Avatar
Can someone merge this pls https://github.com/ddnet/ddnet/pull/9272
Revert buffer size for regular CPacker to 2 KiB to avoid stack overflows on systems with only 1 MiB of stack memory (e.g. Windows with MSVC and Android). Add separate CTeehistorianPacker with a lar...
Avatar
Avatar
Robyt3
Factorio Space Age
pog, how far? im preparing for aquilo
Avatar
Avatar
Tater
Can someone merge this pls https://github.com/ddnet/ddnet/pull/9272
07:34
nouis
Avatar
Avatar
Solly
Click to see attachment 🖼️
owo
07:39
07:51
956b8ef Add parameter AllowTruncation to CPacker::AddString function - Robyt3 c83d79e Use separate packer with larger buffer only for Teehistorian - Robyt3 588b755 Merge pull request #9272 from Robyt3/Packer-Stack-Overflow-Fix - def-
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
lmfao
Avatar
Avatar
GitHub
Click to see attachment 🖼️
why?
Avatar
Avatar
zhn
why?
cyberfighter 2 2024-11-28 10:52
the whole playerbase is gonna use that
Avatar
Avatar
TsFreddie
zoom doesn't affect cursor being sent to the server iirc
affects
Avatar
cyberfighter 2 2024-11-28 10:52
trust me bro
Avatar
Avatar
TsFreddie
zoom doesn't affect cursor being sent to the server iirc
targetxy are scale by zoom level on client side
10:53
scaled*
Avatar
ws-client BOT 2024-11-28 11:15
<ChillerDragon> @Teero hi
11:15
<ChillerDragon> @Evelyn my free package does not include electron development
Avatar
GitHub BOT 2024-11-28 11:16
If possible, I would like the increase in the size of the accepted content to be added as soon as possible, as I don't know when #9274 will be merged. Closes issue #9266.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array i...
Avatar
ws-client BOT 2024-11-28 11:16
<ChillerDragon> @Evelyn how far did you get? did you already try to compile it?
11:16
<ChillerDragon> i believe in you! you can do it on your own!
Avatar
Avatar
zhn
targetxy are scale by zoom level on client side
i think it's just the cursor stays the same place in screenspace
Avatar
ChillerDragon, I would be able to pay you for the service of creating what I want. But we are in completely different countries
Avatar
Avatar
Evelyn
ChillerDragon, I would be able to pay you for the service of creating what I want. But we are in completely different countries
But as far as I understand, only you can do what I want.
Avatar
ws-client BOT 2024-11-28 11:31
<ChillerDragon> @deen no hurry what so ever just wanted to check if you got a notificiation for https://github.com/def-/ddnet/pull/2
11:34
<ChillerDragon> @Evelyn more people than me can do it. I assume you can not send paypal from russia? If you donate 20 bucks to the russian ddnet servers i will have a look at the electron app.
gigachad 1
11:42
i don't think it is practical to make dyncam in specview
11:44
11:45
i got this for spec
Avatar
Avatar
TsFreddie
i think it's just the cursor stays the same place in screenspace
wdym
11:50
it just multiplies original targetxy clamped to screenspace to zoom level
11:50
so it coverts it to world space
11:50
converts*
Avatar
ye but it stays the same screen position
Avatar
Avatar
TsFreddie
ye but it stays the same screen position
only if you have same screenspace + zoom, no?
11:50
without clamping
11:51
and to clamp you have to know zoom level of player
Avatar
no?
Avatar
Avatar
ws-client
<ChillerDragon> @Evelyn more people than me can do it. I assume you can not send paypal from russia? If you donate 20 bucks to the russian ddnet servers i will have a look at the electron app.
chillerdragon: he can donate to rus servers straight in rubles so yup
Avatar
HUH wait
Avatar
Avatar
TsFreddie
HUH wait
what
11:53
cursor is world positioned
Avatar
ok yes, you are right. when was this changed.
11:53
doesn't this mess up antibot
Avatar
it was discussed like thousands of times
11:53
by fokko me and plenty other guys
11:53
fine
11:53
i'll give up on this pr for the third time i guess
Avatar
EssexLemonEat <- dis me rn with a grilled avocado sandwich
11:53
good mornin
Avatar
i don't think there is a good way to show cursor then
Avatar
Avatar
TsFreddie
i don't think there is a good way to show cursor then
for regular player*
Avatar
no why, just do it as you did
11:54
maybe inputs will change back
11:55
it broke precision on zooming too
11:55
so topic is open still
Avatar
honestly i kinda want to add an ex to sync zoom and dyncam settings, but player doesnt' even send the raw zoom but the screen size
Avatar
Avatar
TsFreddie
honestly i kinda want to add an ex to sync zoom and dyncam settings, but player doesnt' even send the raw zoom but the screen size
why screen size justatest
11:55
just zoom
Avatar
server doesn't seem to have player zoom or i can't find it
Avatar
it doesn't because client doesn't send it
Avatar
that's what i'm saying
11:56
justatest
Avatar
so why do you need send screen size instead of zoom
Avatar
if server doesn't have it i can't just add an server->client ex to sync it.
Avatar
i don't get it
Avatar
i don't need that
11:57
server has that and i can't use it
Avatar
Avatar
TsFreddie
if server doesn't have it i can't just add an server->client ex to sync it.
client->server ex msg with zoom in it, what's problem
Avatar
Avatar
zhn
client->server ex msg with zoom in it, what's problem
i'm scared of touching c2s protocol, never done it before
11:57
as you wish
11:58
although syncing zoom and dyncam settings might be funny
11:58
so you can see who's being a maniac
11:59
using regular dyn max mouse distance and high sens spinning
11:59
since the current one doesn't use any ex protocols, can i pr this and add the sync later?
11:59
do people do that?
Avatar
ask heinrich, idk
Avatar
ah fuck i give up.
12:04
hookcollision has an angle interp which is impossible to match
12:04
pepeW i don't want people asking why demo in 0.1x speed shows cursor and hook collision being mismatch (edited)
Avatar
Why demo in 0.1x speed shows cursor and hook collision being mismatched (edited)
Avatar
Avatar
ws-client
<ChillerDragon> @Evelyn more people than me can do it. I assume you can not send paypal from russia? If you donate 20 bucks to the russian ddnet servers i will have a look at the electron app.
I have $2, I thought it would be enough
Avatar
xddddddd
12:41
07ca6d2 increase register content limit to 32 KiB - 0xfaulty a8bebd5 Merge pull request #9291 from 0xfaulty/register_content_limit - def-
Avatar
$2 per minute is probably acceptable
Avatar
This command was not found.
Avatar
bad bot
Avatar
Avatar
TsFreddie
bad bot
Sowwy :c
😂 1
Avatar
Why would you upset it like this?
Avatar
Avatar
Learath2
Why would you upset it like this?
Sowwy :c
😂 2
Avatar
don't upset the AI overlord
Avatar
nankudo ᵃᵗᵗᵃᶜᵏ 2024-11-28 13:08
hi, how can I get the status of my tee, is it frozen or not?(client side)
Avatar
@zhn is this correct?
13:39
i think i was actually doing it wrong the whole time. i rewrote it again. pepeW
Avatar
rate my dotfile commit
Avatar
Avatar
TsFreddie
@zhn is this correct?
yeah looks like what id get used to
13:45
but im missing that half transparent cursor on overzoom
Avatar
Avatar
zhn
but im missing that half transparent cursor on overzoom
that is true. any idea?
Avatar
Avatar
TsFreddie
that is true. any idea?
you have already implemented it haven't you :p
Avatar
i don't understand
13:47
justatest
Avatar
Avatar
TsFreddie
Click to see attachment 🖼️
that thing hehe
Avatar
it has that
13:48
let me double check
Avatar
player moves their cursor too fast
Avatar
probably not much we can do?
13:49
i think people will just zoom out to watch
Avatar
yeah same
Avatar
alright, i'll try to pr this tonight (in 2 hours maybe)
13:49
waiting to test it out
13:50
will be ez to catch zoomers on vani
Avatar
well vani doesn't have DDNetCharacter netobj
13:50
it needs that
13:50
cammo
13:51
and ddnet-pvp is a bit too old to have that too. oof
13:52
wait, since when can client demo be in free-view
13:53
btw we are still on clang-format 10 right?
Avatar
Avatar
TsFreddie
btw we are still on clang-format 10 right?
the script is yea
13:54
suizid
Avatar
ok
Avatar
Avatar
meloƞ
rate my dotfile commit
10/10 senpai
Avatar
Avatar
meloƞ
the script is yea
bummer
Avatar
powershell with winget... i'm ashamed freddie.. ASHAMED
Avatar
catbite and you can't do anything about it
Avatar
winget seems to only ship the latest release of these things? their pkgs repo only has clangformat 18.1.6
Avatar
i swear i've got clangformat 10 before. idk how i did that
Avatar
The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. - llvm/llvm-project
Avatar
nvm heinrich posted a link before, that has it
Avatar
i just assumed normal binary repo wouldn't have windows versions
13:59
bruh. you gotta be kidding me
13:59
14:00
it's right there the whole time
Avatar
INFO: Load asset: .gitkeep xD
14:02
at least its working
Avatar
ChillerDragon BOT 2024-11-28 14:03
time to switch to bleeding edge ddnet-insta
Replying to @TsFreddie
14:03
<ChillerDragon> thank you matrix
Avatar
Avatar
ChillerDragon
time to switch to bleeding edge ddnet-insta
cool
14:09
thank god it works for high ping (387)
14:12
i hate
14:14
damn it
14:40
big
14:40
update
14:40
const
Avatar
GitHub BOT 2024-11-28 14:40
Another branch for #8836 This is a interpolation only method using existing info from DDNetCharacter NetObj. Added settings: cl_spec_cursor, cl_spec_cursor_interp, cl_spec_cursor_demo.
  • No new ex protocol is added.
  • The interpolation is using a cubic interpolation using 3 crafted samples.
  • The cursor guarantees to pass through the sample point but everything in between is fake.
  • Note that a polynomial_mix function accepting variable sample sizes is used to test differ...
Avatar
const mutable refs
Avatar
i can finally take a shower
Avatar
Avatar
TsFreddie
@zhn is this correct?
Is this the China experience?
Avatar
@Learath2 @heinrich5991 @Jupstar ✪ this makes Option::unwrap const
Avatar
Avatar
risu
Is this the China experience?
just a random chinese gores server, thought the cursor would be more authentic there
14:51
or athletic i should say
Avatar
An athletic cursor?
Avatar
Avatar
risu
An athletic cursor?
i mean.. look at him go
Avatar
honestly CHN servers seem great based on the few times I've tried playing on there with like 300 ping
Avatar
Avatar
GitHub
Click to see attachment 🖼️
that's fire!
Avatar
Avatar
GitHub
Click to see attachment 🖼️
15Socialcredit
Avatar
still having build errors lol
Avatar
Avatar
TsFreddie
well vani doesn't have DDNetCharacter netobj
does it need it tho
Avatar
Avatar
TsFreddie
it needs that
ddnet insta will grab it so no worries
15:06
what is ddnet insta
15:07
i'm so outdated on these
Avatar
A teeworlds instagib (grenade/laser capture the flag/death match/catch) mod based on DDRaceNetwork (gctf/ictf/idm/gdm/zcatch) - ddnet-insta/ddnet-insta
15:07
httpa for sure
Avatar
still have no idea why chiller got so much time
15:08
i'm struggling at life here
Avatar
Who knows if it is possible to make a program so that you can upload a bot to the server and manage it
Avatar
do i need to redo ddnet-pvp to compete now
justatest 1
15:09
justatest
Avatar
Avatar
TsFreddie
do i need to redo ddnet-pvp to compete now
yeah its a bit... very outdated :P
15:10
nah don't try to compete
15:10
help chiller polishing code
Avatar
amogus where is my multi map loader
Avatar
Avatar
Evelyn
Who knows if it is possible to make a program so that you can upload a bot to the server and manage it
yeah, its called ddnet client
Avatar
Avatar
TsFreddie
amogus where is my multi map loader
multimap loader was just teams + one huge map with ol da maps?
Avatar
well the end goal was to literally load multiple maps
15:12
the mega map was just for transitioning
15:12
didn't make it
Avatar
you need to do it for ddnet in first i think
Avatar
but since we have server redirect now, we probably don't need it that much anymore
Avatar
because we have this small little problem with maps
Avatar
insta kinda conflict with my design tho, i'm pretty sure i don't want /rank and ddnet's sql queries.
15:13
but it's hard to keep it up to date if i changed it too much like ddnet-pvp did
15:13
cammo
Avatar
let me know if you will hop on ddnet pvp rework
Avatar
greenthing i was planning on doing ddnet stuff every night while working on my own stuff
15:14
but i only got ddnet stuff done today so it might not really be a good idea
15:14
nouis
Avatar
Avatar
zhn
yeah, its called ddnet client
no...
Avatar
i'm pretty sure bot development is not allowed to be discussed here
15:51
clang-tidy doesn't like u1. but p and q are fine?
Avatar
What was that tool that converted maps into json?
15:54
was it part of twmap?
15:55
oh no
Avatar
Avatar
Learath2
What was that tool that converted maps into json?
twgame(?)
16:02
ah no seems its twmap
Avatar
My kids will know how to dereference a void* ptr 👍
Avatar
i still don't know pointers
Avatar
Avatar
TsFreddie
i still don't know pointers
They're just funny numbers, what's there to be confused about?
Avatar
i'm probably kidding
16:08
just probably tho
Avatar
why is bind lshift+f say hello not doing anything? i assume because shift opens the emotewheel?
Avatar
left shift and f are in an argument and dont want to work together
Avatar
its even funnier because it still doesnt work when unbinding lshift kekw
Avatar
use shift+f; modifiers sadly don't accept specific keys, only the type of modifier
Avatar
i think web modifiers works like that as well
Avatar
What is a Docker file?
Avatar
Avatar
Evelyn
What is a Docker file?
It's a file used to tell Docker (the software) how to build a container image (edited)
16:53
a container is a way to isolate some software without running a virtual machine
16:54
and a container image is a collection of all the files and software that you have inside this "isolation chamber"
Avatar
Avatar
nankudo ᵃᵗᵗᵃᶜᵏ
hi, how can I get the status of my tee, is it frozen or not?(client side)
nankudo ᵃᵗᵗᵃᶜᵏ 2024-11-28 17:02
help pls 😭
Avatar
what do you need that information for.
Avatar
ye, same question
Avatar
maybe hes trying something like self kill when frozen greenthing
Avatar
ChillerDragon https://github.com/k-i-o/CChat.TW did not create kisao.This was confirmed to me by the TeeSports coder (edited)
DDNet / Teeworlds Chat Client, no game, just chatting - k-i-o/CChat.TW
Avatar
@TsFreddie with dyncam and non default zoom, the cursor is slightly off
18:16
but other than than works and looks very nice 👍
18:18
18:19
same with cl_spec_cursor_interp 0
Avatar
Avatar
kebs
@TsFreddie with dyncam and non default zoom, the cursor is slightly off
oof. i'll check tomorrow
18:34
is it possible that dyncam cursor position isn't sending to server the same (edited)
18:35
like the dyncam cursor is actually different than the position sent to server?
Avatar
maybe its getting scaled incorrectly by zoom
Avatar
anyway i need some sleep, ill check tomorowjustatest
Avatar
doesnt happen on default zoom, but bigger the zoom, bigger the gap in spec cursor
Avatar
cuz local cursor is indeed screenspace. no idea why we decided to send cursor position in worldspace
18:38
that involves two different conversion doing different things for the same position which is weird.
18:39
it is possible that i just did something wrong tho
Avatar
what language are you gonna do?
Avatar
OCaml is a general-purpose, industrial-strength programming language with an emphasis on expressiveness and safety.
Avatar
i'll try to do what i can using nixlang greenthing
Avatar
I've never bothered to actually complete AoC I'll miss a few days and then not feel like catching up and suddenly I'm a week behind oops
Avatar
well thats everyone
Avatar
i don't have time
Avatar
Avatar
Ryozuki
well thats everyone
thank god I thought I'd be feeling so insufficient next to you productive people
Avatar
Avatar
risu
I've never bothered to actually complete AoC I'll miss a few days and then not feel like catching up and suddenly I'm a week behind oops
LOL, this is what happens to me every time. I get to like day 6, miss a couple, then don't feel like catching up
Avatar
Last year (or was it the year before?) I tried to get some of my friends who "wanted to learn programming" to do AoC with me
19:16
like I could teach them when they got stuck on a problem or something
Avatar
Avatar
risu
like I could teach them when they got stuck on a problem or something
i can guess what happened xd
Avatar
yeah they did like the first two days and despite me pestering them repeatedly they just kinda stopped doing them
19:17
so much for wanting to learn I guess
Avatar
Avatar
risu
Last year (or was it the year before?) I tried to get some of my friends who "wanted to learn programming" to do AoC with me
AoC might be too hard for someone that wants to learn
Avatar
Advent of code is not really for learning a language (edited)
19:17
me and furo benchmarked the first few days in different languages kek
Avatar
I have trouble with some problems as someone who isn't learning programming (edited)
Avatar
Avatar
meloƞ
me and furo benchmarked the first few days in different languages kek
hold on let me hand vectorize this
Avatar
Avatar
Learath2
I have trouble with some problems as someone who isn't learning programming (edited)
yeah but even a newbie shouldn't be quitting before the end of the first week it wasn't even that they struggled, they just couldn't bother
Avatar
combining the first digit and the last digit (in that order) to form a single two-digit number. For example: 1abc2 pqr3stu8vwx a1b2c3d4e5f treb7uchet In this example, the calibration values of these four lines are 12, 38, 15, and 77. Adding these together produces 142. Consider your entire calibration document. What is the sum of all of the calibration values? ngl, as someone who is just learning a language this is pretty tough (edited)
Avatar
Avatar
meloƞ
Advent of code is not really for learning a language (edited)
it is not bad
19:24
ill learn more ocaml with it
Avatar
but you know how to combine the first and last found digit in a string in other languages already
19:24
you just adapt it to the ocaml syntax really
Avatar
Avatar
meloƞ
combining the first digit and the last digit (in that order) to form a single two-digit number. For example: 1abc2 pqr3stu8vwx a1b2c3d4e5f treb7uchet In this example, the calibration values of these four lines are 12, 38, 15, and 77. Adding these together produces 142. Consider your entire calibration document. What is the sum of all of the calibration values? ngl, as someone who is just learning a language this is pretty tough (edited)
I guess, but it's not like they were just learning the very basics of the syntax And especially with some guidance this should be a pretty simple lesson
Avatar
wait let me see if i can do this in zig
Avatar
I guess in some high level languages where strings are all special it can be annoying to iterate over the characters of a string, which is a bit wild
19:27
Surely the correct solution involves regex :P
Avatar
a regex would be a ""little"" overengineered no? kek
19:29
but if you manage to write a regex without AI - you get that point
Avatar
I'm just joking about some languages where the easiest way to get characters out of a string is with the built-in substring method or whatever
19:30
I swear I had that issue in some scripting language
Avatar
in zig i think i'll just setup a buffer reader and read every line
19:30
let me cook kekw
Avatar
oh yeah it was Lua not so based anymore... frozen
19:31
can't index strings like arrays because lua doesn't actually have arrays
Avatar
zig is a really nice language but damn it looks ugly as hell kekw today i learned buf_reader.reader().readUntilDelimiterOrEof() exists
19:43
Avatar
Avatar
meloƞ
baked
maybe time spent on waiting for the zig compiler to initialize and realize that there's nothing to do but run the program shouldn't be counted
Avatar
fair enough
19:46
kekw
19:46
blazingly fast!
20:22
am i the only one that gets triggered when they read "java scripts"
Avatar
Avatar
Ryozuki
am i the only one that gets triggered when they read "java scripts"
A script written in Java, what's the problem?
Avatar
Avatar
meloƞ
let me cook kekw
I'm cooking up something hideous right now <3
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
recursion is bad tho
Avatar
cries in infinite recursion occured
Avatar
any antivirus program you use outside of windows defender?
21:19
or a VPN/tunneling service?
Avatar
This error happens on ger10 pretty often for me
Avatar
GitHub BOT 2024-11-28 21:25
Move reload_announcement command handling from CGameContext to CServer. This is consistent with the conchain for sv_announcement_filename also being registered in CServer. Furthermore, this allows making the ReadAnnouncementsFile function non-virtual as it does not need to be exposed to the gameserver anymore. Remove unnecessary filename argument of ReadAnnouncementsFile function, which is always set to the config variable. Log number of loaded announcements on success. ...
Avatar
Avatar
Teero
recursion is bad tho
why though ?
21:27
it's really well suited for some problems
Avatar
Avatar
Chairn
it's really well suited for some problems
using an iterative approach faster 99% of times.
21:28
and if you have a big tree for example you're gonna run into stackoverflows really quick
Avatar
ulimit -s inf
21:30
just doing the same thing iteratively is exponentially faster based on the size of the tree than traversing it recursively.
Avatar
Avatar
meloƞ
or a VPN/tunneling service?
No, I don't use an other antivirus programm#
Avatar
depends on how deep the tree is tho*
Avatar
Avatar
Chairn
it's really well suited for some problems
also it is a nightmare to debug if your stacktrace is 1000 lines long
Avatar
Avatar
meloƞ
combining the first digit and the last digit (in that order) to form a single two-digit number. For example: 1abc2 pqr3stu8vwx a1b2c3d4e5f treb7uchet In this example, the calibration values of these four lines are 12, 38, 15, and 77. Adding these together produces 142. Consider your entire calibration document. What is the sum of all of the calibration values? ngl, as someone who is just learning a language this is pretty tough (edited)
I'm sorry
lol 1
21:35
I'm not very good at Haskell since I barely ever use it, but it's a really funny language
21:36
I'm sure a real Haskell programmer would get this down to something way shorter
21:38
Part of my goal here was of course not using any named variables
21:40
oh I'm dumb there's isDigit
21:41
import Control.Monad (liftM2) import Data.Char (isDigit) main = interact $ show . sum . (map $ read . liftM2 (:) head ((:[]) . last) . filter isDigit) . lines (edited)
21:41
already way prettier, but sadly needs a second import (edited)
Avatar
Avatar
Teero
and if you have a big tree for example you're gonna run into stackoverflows really quick
tai call opt is nice
21:48
it prevents that
21:48
tail recursion is divine
Avatar
Are you too a functional programming enjoyer?
Avatar
not rly but getting into it
21:49
througj ocaml
Avatar
Avatar
Teero
i am
What do you think of my art piece? Can you improve on it?
21:51
ohh we need a solution in APL
Avatar
Avatar
risu
Part of my goal here was of course not using any named variables
arch1t3cht 2024-11-28 21:54
If your program isn't fully eta reduced are you really trying
Avatar
Avatar
arch1t3cht
If your program isn't fully eta reduced are you really trying
I don't even know what this means but I'll be sure to read about it
Avatar
arch1t3cht 2024-11-28 21:55
just fancy language for what you said
Avatar
arch1t3cht 2024-11-28 21:56
eta reduction is turning e.g. \x -> elem 1 x into elem 1
Avatar
I love pointless ...ehem, point-free programming
Avatar
GitHub BOT 2024-11-28 22:04
b60e75d Minor refactoring of server announcement loading - Robyt3 787f85c Merge pull request #9293 from Robyt3/Server-Announcement-Refactoring - def-
Avatar
Avatar
risu
import Control.Monad (liftM2) import Data.Char (isDigit) main = interact $ show . sum . (map $ read . liftM2 (:) head ((:[]) . last) . filter isDigit) . lines (edited)
Challenge is to write most unreadable code possible? kek
Avatar
Avatar
kebs
Challenge is to write most unreadable code possible? kek
it's like elegant or something I swear
22:12
I'm expressing my meaning concisely!
Avatar
Avatar
kebs
Challenge is to write most unreadable code possible? kek
Less code to read = easier to understand, right?
Avatar
What about a for loop
22:16
poggers2
Avatar
Avatar
kebs
What about a for loop
You expect my program to have state? That's gross!
Avatar
so true
Exported 363 message(s)
Timezone: UTC+0