Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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 2022-10-20 00:00:00Z and 2022-10-21 00:00:00Z
Avatar
Avatar
Jupstar ✪
patiga, raitw i dunno the names
I'm not a Rust pro master gigachad etc..
04:34
but I'll surely take a look at lmao
04:35
raitw
Avatar
added the missing translations

Checklist

  • [x] 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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https:...
Avatar
[quakenet] ChillerDragon BOT 2022-10-20 07:39:42Z
watefek can someone explain me this? echo "* a" | tr '*' -d
07:40
oh got it what i want is echo "* a" | tr -d '*' xd
Avatar
Do 355/113
Avatar
8a39ef7 Update russian.txt - lolipodass 0de14cb Merge #5961 - bors[bot]
Avatar

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 indexing
  • [ ] 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
c3940aa Update translation stats - def-
Avatar
158b721 Update Korean translations by CHaBek - cwh7435 040726e Merge #5962 - bors[bot]
Avatar
4c1c1e8 Version 16.5 - def- f7c3f01 fix skin click ptr - Jupeyy b20716c Update russian.txt - lolipodass d283023 Update Korean translations by CHaBek - cwh7435
Avatar
@heinrich5991 @timakro happening again with trashmap server 88.198.184.126:8549 & [2a01:4f8:c0c:a2e1::1]:8549 (edited)
17:10
appearing twice in server list
Avatar

Checklist

  • [X] 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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
19:43
this is a steam deck loading screen
19:43
you can put
Avatar
nais
19:49
switch is really useless console, sad that nintendo makes good games xd
19:50
i'd pay extra for nintendo games if i could play them on PC XD
Avatar
can u add a skin as favourite without f1 console
Avatar
click top right
Avatar
oh thx
20:02
thats barely visible
Avatar
buy glasses 😉
20:02
once u know it its big enough
Avatar
Avatar
Jupstar ✪
buy glasses 😉
no the problem is that you have to hover on the top right of a skin
20:03
for it to show
Avatar
yes
20:03
its less distracting
Avatar
idk my suggestion is to make it show when u hover over the skin in general but not always
Avatar
i understand what u mean
20:03
but once u know it its fine
Avatar
Avatar
Jupstar ✪
but once u know it its fine
idk i think most people wouldnt even realise its there
20:04
until they accidentally spot it while hovering on the top right
20:04
randomly
Avatar
i only did it for fokko
20:04
aslong he knows it
Avatar
cool feature tho
Avatar
Avatar
Jupstar ✪
i only did it for fokko
of course everything has to go HIS way troll
Avatar
xd
Avatar
the classic: how to undo git amend
Avatar
lmao, just wanted to record myself mapping, but found bug instead kekw
20:32
@deen ^
20:34
Same result on nighly build too
Avatar
bro the simple fact that the background does not align to the tilemap is a bug
20:37
the whole editor is one huge bug
Avatar
kekw im good beta tester alright
Avatar
Avatar
Jupstar ✪
bro the simple fact that the background does not align to the tilemap is a bug
No, the #0 is custom, I've made clipping
20:39
just didn't make background for the first area
Avatar
i mean the chess thing
Avatar
but it's not the point YEP
Avatar
in the background
Avatar
the chess playground pattern lmao
20:41
It was like that for me all the time
20:41
Idk if it's bug or not
Avatar
anyway create github issue, higher chance someone fixes it 😄
Avatar
Avatar
Cellegen
lmao, just wanted to record myself mapping, but found bug instead kekw
What is the bug? That you have to select empty space again to overwrite it? I think that's expected with these weird layers with extra info. Maybe the selection should disappear when you switch between them to indicate that
Avatar
it wasn't like that the last time I mapped and it was months ago
20:55
when did this change happen?
20:55
the intended way of erasing tiles is to be able to delete tiles with the same selection from other layers' selection
Avatar
6b043bf Replace atoi usages with strtol (str_toint wrapper) - Robyt3 1469e88 Replace atof usages with strtod (str_tofloat wrapper) - Robyt3 c4cf26e Replace atol usages with str_toint, as type is int anyway - Robyt3 73fe4e6 Use str_copy instead of snprintf to copy strings - Robyt3 6aa5953 Merge #5963 - bors[bot]
21:18
hey my city is in hackernews kek
21:25
ffs
21:53
@ReiTW maybe this helps
21:53
when choosing a memory container
21:54
BASED
Avatar
Nice cheatsheet
Avatar
I think we should disable this warning for unknown warnings so that old pylint versions keep working ok

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 indexing
  • [ ] Changed no physics that affect existing maps...
Avatar
@Learath2 when will c++ have ADT
22:10
they are the future of language design
22:10
you know product types, sum types
Avatar
ADT? C++ already has plenty ADTs no?
Avatar
In computer programming, especially functional programming and type theory, an algebraic data type (ADT) is a kind of composite type, i.e., a type formed by combining other types. Two common classes of algebraic types are product types (i.e., tuples and records) and sum types (i.e., tagged or disjoint unions, coproduct types or variant types).Th...
Avatar
Avatar
Learath2
ADT? C++ already has plenty ADTs no?
i dont see rust enums in c++
Avatar
Ah algebraics. I thought abtract data type
22:11
Abstract*
Avatar

Checklist

  • [x] 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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
22:12
Since #5894 is not landing

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 indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://gi...
Avatar
Values of algebraic types are analyzed with pattern matching, which identifies a value by its constructor or field names and extracts the data it contains. Algebraic data types were introduced in Hope, a small functional programming language developed in the 1970s at the University of Edinburgh.[2]
22:12
you know that something funny
22:13
rust doesnt rly implement rly novel stuff
22:13
but stuff that can be called new comparing to usual languages
Avatar
Hm, not even sure what these are. Smells too functional to me
Avatar
sum types are
22:13
rust enums
Avatar
Can’t you so something alike this with operator overloading in c++?
Avatar
product types
22:13
are tuples
22:13
but the key to make use of adts is this
22:13
Values of algebraic types are analyzed with pattern matching, which identifies a value by its constructor or field names and extracts the data it contains.
22:13
otherwise why have them at all
22:14
without pattern matching, which c++ lacks they are useless
22:15
@Learath2 a language can take functional features while still be imperative
22:15
which rust does a lot
22:15
jsut take the best of both worlds
Avatar
Hm, I don’t quite get this definition you gave. I’ll take a look at the wikipedia one later
Avatar
2 bad i cant find a reddit comment i saw
22:16
it described them rly well
Avatar
Clearly unions/variants and tuples aren’t what you want, so I must be missing some detail
Avatar
In programming languages and type theory, a product of types is another, compounded, type in a structure. The "operands" of the product are types, and the structure of a product type is determined by the fixed order of the operands in the product. An instance of a product type retains the fixed order, but otherwise may contain all possible insta...
Avatar
Avatar
Learath2
Clearly unions/variants and tuples aren’t what you want, so I must be missing some detail
yeah it is what i want
22:17
coupled with first class language support
22:17
for pattern matching
22:17
In computer science, a tagged union, also called a variant, variant record, choice type, discriminated union, disjoint union, sum type or coproduct, is a data structure used to hold a value that could take on several different, but fixed, types. Only one of the types can be in use at any one time, and a tag field explicitly indicates which one i...
Avatar
Pattern matching is basically just what rust “match” stmt’s are?
Avatar
yeah altho u can do if let too
22:20
basically check std::option
22:20
it wont always be as useful as rust Option
22:20
due to lack of proper pattern matching
Avatar
https://youtu.be/ojZbFIQSdl8 wikipedia article was linking to this talk, with the guy talking about ADTs at 14:32. Maybe interesting
Avatar
ill check it out someday xd
22:28
@Learath2 i always prefer blog posts tho
22:28
cuz i can read those at work
22:28
xd
Avatar
Understandable
Avatar
Avatar
Learath2
Understandable
Have a nice day*
22:30
sry i had to say it
Avatar
I expected nothing less of you
Exported 137 message(s)