Guild icon
DDraceNetwork
DDraceNetwork / general
This channel is for all Teeworlds/DDNet and related chat. Gameplay questions can be asked here as well rather than in #questions. Ingame screenshots and any other Teeworlds related media goes to #showroom.
Between 2020-12-01 00:00:00Z and 2020-12-02 00:00:00Z
Avatar
can u skip deep freeze with speed or no
05:29
and can u skip undeep too
05:31
i think u cant but want to make sure
Avatar
@louis where is your aoc solution?
05:33
you seem to be online ^^
Avatar
@heinrich5991 justatest ill do it later
Avatar
have you looked at the problem yet? it's not hard today
Avatar
yeah but im lazy
05:34
and i suck at coding
Avatar
😦 k
Avatar
like i know how to do it but idk any syntax
Avatar
what language are you trying to use?
Avatar
probs java/cpp
Avatar
what language syntax do you know justatest
Avatar
java/cpp
05:37
and teeworlds server settings if that counts as a language justatest
Avatar
start with c its easier
no 1
Avatar
no
05:39
depends what ur doing i guess
05:39
i think its easier
Avatar
import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; class day1 { public static void main(String[] args) throws IOException { Scanner s = new Scanner(new File("input")); List<Integer> l = new ArrayList<Integer>(); while (s.hasNextInt()) { l.add(s.nextInt()); } for (Integer i : l) { System.out.println(i); } } }
05:40
@louis start here ^
05:41
this reads the list from the file into a java list
05:41
saved me 5 minutes of googling probably
05:41
feelsamazingman
05:47
ok i got it
Avatar
nice!
05:47
I just checke the leaderboard and you had silver
05:47
now you have gold 😄
Avatar
had some trouble cus im using some online java compiler so i had to change filename in scanner to system.in
05:47
lol
Avatar
ah
Avatar
javuis
05:48
bigeyeouis java
Avatar
Avatar
louis
can u skip deep freeze with speed or no
ᶰ°Konͧsti 2020-12-01 05:50:27Z
Nope
cheater 2
05:51
@noby U nobyzoozer
Avatar
ᶰ°Konͧsti 2020-12-01 06:15:34Z
never zoozed
Avatar
@ᶰ°Konͧsti can u skip unfreeze
06:18
nvm
Avatar
ᶰ°Konͧsti 2020-12-01 06:27:01Z
no
06:27
u cant skip any freeze related tile except with ninja
Avatar
Avatar
ᶰ°Konͧsti
never zoozed
lier
Avatar
ᶰ°Konͧsti 2020-12-01 06:57:18Z
no proof
Avatar
ᶰ°Konͧsti 2020-12-01 07:33:37Z
troll troll troll yeee troll
Avatar
Avatar
ᶰ°Konͧsti
troll troll troll yeee troll
fury
Avatar
ᶰ°Konͧsti 2020-12-01 07:34:40Z
why angery
07:34
its just 4k monitor no zoz
troll 5
Avatar
@louis
Avatar
how tf do i this part?
12:21
12:21
map: pepsi ddmax
Avatar
hammer and hold d
Avatar
been there done that
Avatar
Avatar
heinrich5991
import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; class day1 { public static void main(String[] args) throws IOException { Scanner s = new Scanner(new File("input")); List<Integer> l = new ArrayList<Integer>(); while (s.hasNextInt()) { l.add(s.nextInt()); } for (Integer i : l) { System.out.println(i); } } }
Files.lines(Paths.get(file)).mapToInt(Integer::valueOf).collect(Collectors.toList()) streams make this even cuter
Avatar
@Learath2 ur in java, u need to support java 1.5
12:32
lol
Avatar
Oh sorry
Avatar
Avatar
Meekrioz
how tf do i this part?
A bit late, but d+jump should do the trick
Avatar
@Moderator can anyone come on 176.9.114.238:8323, there's a blocker
✅ 2
Avatar
Please use #reports
Avatar
@maggi323 ty ama helped me ig with it :)
Avatar
@Learath2 oh, nice
15:50
I guess I'm not informed about the "latest" java style ^^
Avatar
Java's streams are one of the few features that I actually like about it
Avatar
I think I heard they don't play well with checked exceptions, unfortunately
Avatar
Js' promises and observables. C#'s great data structures. Python's itertools. Are also examples of great features in languages I otherwise don't enjoy
Avatar
Avatar
heinrich5991
I think I heard they don't play well with checked exceptions, unfortunately
I never liked the concept of exceptions anyway, so I don't really mind
Avatar
checked exceptions are the good kind of exceptions to me
15:56
because you're forced to handle/forward/raise a terminal signal if you have one
Avatar
Exceptions decouple error handling, which is a no no for me
15:57
Context and locality are key to actually being able to handle errors. Just passing them on and on until the thing crashes is meh
Avatar
with checked exceptions you have to at least think about whether you want your method to throw IOException or not, if you open a file
15:57
if you don't want that to happen, you have to handle it locally
15:58
unlike with unchecked exceptions, where exceptions are not furtherly checked by the compiler
Avatar
I might be more open to exceptions with the strict rule that you cant forward them on
15:58
I also despise what exception handlers and the raising of exceptions does to the call stack in most languages
15:59
Debugging nightmare
Avatar
I don't understand
15:59
having exception backtraces is a useful feature I miss in rust errors/C error handling
Avatar
Those backtraces come at the cost of awful assembly
Avatar
hm. do you mean missed optimizations?
Avatar
A simple c++ function can compile to an unsightly mess
Avatar
except for these missed optimizations, c++ exceptions are "free", I think
Avatar
Well missed optimizations are one thing, but I also like to have sane assembly
16:02
They are indeed free in c++ so that is a plus
16:03
I think I posted a blog post that put my opinion on exceptions in nice words in #developer once, but I don't quite remember who wrote it
Avatar
@Learath2 is the assembly really not sane? I thought c++ exceptions inspect the stack frames to find the exception handler
16:07
i.e. generating the same code for functions with/without exceptions (except for missed optimizations)
Avatar
I think I posted a cppcon talk on how exception handling makes the smart pointers not quite zero cost which also illustrated how the resultant assembly is really not easy to reason about
16:09
But it's not that hard to experience for yourself, try observing the assembly generated for an exception aware program compiled with msvc
16:09
(clang is a bit better at generating cleaner assembly imo)
Avatar
ah, but these are second-order effects
16:11
the smart pointer thing
16:11
I think that's also only a combination of "move constructors can throw" and "exceptions"
16:11
rust doesn't have move constructors, and I think smart pointers are zero (additional) cost
Avatar
Well I don't like errors being handled at a stack frame that's any higher than the previous frame. So I don't like it's direct effects either
16:12
The smart pointer thing is just one example
Avatar
Do u guys read assembly of ur programs?
16:12
aPES_WTFEyes
Avatar
Well when I'm debugging, certainly
Avatar
Well u mustbe debugging rly complicated stuff then
Avatar
int throws() { throw new int; } int squared(int i) { if(i == 0) { throws(); } int result = i * i; if (result < 0) { return 0; } return result; }
16:13
no additional code in the squared function
Avatar
Not really, the last 3 seriousish bugs I found in ddnet was through reading the assembly
Avatar
int throws() { throw new int; } int squared(int i) { if(i == 0) { throws(); } return i*i; }
16:15
same for msvc
Avatar
I never see exceptions used in c+(
16:16
Not like i see lots of code anyway
Avatar
I think our mysql lib throws
Avatar
Observe how removing the exceptions gets rid of a lot of crust. In such a trivial example, yeah it's still well readable
Avatar
you mean in the throws function? yes
16:17
in the squared function? not really
Avatar
Well in the real world throws would not be it's own function
Avatar
yes, just wanted to show that it only bloats functions mentioning throw or catch
Avatar
Which should be most if not all functions if you are actually using exceptions in a way that allows error handling
16:20
(Rather than catchalls sprinkled at higher levels)
Avatar
I see
Avatar
@Learath2 do u like rust Result?
Avatar
@Ryozuki yep, tho I'm not really sure how I feel about the ability to move it further up the stack
Avatar
you mean that there's a short form for that?
Avatar
In general I don't want errors moving up the stack at all. That's what leads to "unrecoverable errors" because you no longer have context to recover. In an "ideal" language I would want any further propagation to be explicit
Avatar
I think it depends a lot how u code
Avatar
Or maybe only a certain class of truly unrecoverable errors to be propagated
Avatar
I'd argue that most of the time, even with sane error handling, you want the error to move up the stack
Avatar
U can still panic()
Avatar
e.g. check the rust standard library
Avatar
I don't see much point in it moving higher than 1 frame implicitly
Avatar
What about a web framework, u can return the error up the stack and it would handle any error by returning a proper response
Avatar
it's not implicit in rust, you add a ?
16:27
(previously, it was a if_ok! macro)
16:27
I like that it's easier to propagate the error than to ignore it, for once
Avatar
Well it's a shorthand, shorthands usually imply some behaviour is condoned
Avatar
much better than the style that C encourages and teeworlds embraces
16:28
the shorthand there is: doing nothing with the result
Avatar
return -1;
16:28
coffee aPES_WTFEyes
Avatar
@heinrich5991 you move it up the stack but do you really handle it? How many programs just crash with an unhandled exception? Or even worse catch-alls that have no way to handle the exception but to ignore or log and crash?
Avatar
Thats not langusge fault
Avatar
crashing the program is better than silently dropping errors IMO
Avatar
Its urs for being lazy
Avatar
E.g. the crash in ddnet when you run it with app verifier
16:30
It's an ignored exception that no one noticed in sdl2
16:30
Well probably actually in nvidias driver
Avatar
Nvidia fix ur shit! 🖕
16:30
  • Linus
Avatar
@Ryozuki I'd argue that it is indeed the languages job to keep me safe, especially if it's claiming to be safety oriented
Avatar
do you agree that C fairs much worse here, encouraging to ignore errors instead of crashing on unhandled errors?
16:31
*fares?
Avatar
Definitely fares much worse
Avatar
No, C is holy and perfect
16:33
✝️
Avatar
Well ofc not, now you are being silly
Avatar
Yeah im joking
16:33
weird
Avatar
C does just what you tell it to do. When an error is not handled properly it's always a 100% of the time the programmers fault
Avatar
Well doesnt that apply to all languages
Avatar
it'd be nice if C did what you told it, but that's another story
Avatar
Eh, not all. C++ has a lot of hidden code. D has hidden code. ObjC has hidden code and even runtime monkey patching.
Avatar
Avatar
heinrich5991
it'd be nice if C did what you told it, but that's another story
monkalaugh
Avatar
I like RAII-style hidden code
Avatar
You don't quiiite ever know what is crashing. Is it the hidden code injected by the language. Is it monkey patched compatibility routines? Did the exception muck up my stack to make it impossible to debug my issue?
Avatar
hm. maybe not RAII
16:36
but I like destructors running without me calling them
Avatar
With destructors u cant forget about freeing but u can free it willingly too
16:38
I find that good
Avatar
One thing I would want in C++ is constructors returning an optional. It'd be nice to have failing constructors without the silly boolean with init function or exceptions.
Avatar
you can simulate that with a static member function
16:38
much like rust does, except it doesn't even have constructors
Avatar
Yeah but language support would be cuter
Avatar
I love rust for that, u implement a new() and ur not forced to return the same typw
16:39
Rust enums are dope
Avatar
If only rust was unsafe and had a non silly syntax, it really sounds like it has features I would enjoy
Avatar
Been using zig for a couple things and that is really one well designed language, even with optional runtime safety
Avatar
I wonder why no one designed a lang that fits learath2, u must be unique in this world
Avatar
@Basic Jeff what you streaming?
Avatar
apparently zig fits him(?)
Avatar
@Ryozuki zig and D seem to be designed by likeminded people :P
16:42
Nim feels like a saner performant version of python. Those are the 3 modern languages I sort of enjoy working with
Avatar
I only tried a little D, looked like some modern C
Avatar
ww 1
no 1
Avatar
!ʎø1øʞıƝg 2020-12-01 17:05:26Z
@Moderator Bot on Copy Love box rus blocker
✅ 1
17:05
it's spawn blocking
17:05
17:07
@Fera then ban the bot 🤡
17:07
Bruh took you long enough xD
Avatar
@Learath2 constructors returning some optional is terrible idea, because it leads to "if-madness"
17:08
just look at C 😄
Avatar
what's if-madness?
Avatar
manually checking all results with "if" statement
17:09
carefully used exceptions are much better i think
Avatar
ah
17:10
I think Learath2 disagrees on this ^^
Avatar
the only problem is that standard library exceptions in C++ are so bad 😄
Avatar
@!ʎø1øʞıƝg pls use #reports
17:17
modular switch checker for a map i'm making greenthing
17:17
gonna need 25 of them side by side
17:22
sendhelp
Avatar
!ʎø1øʞıƝg 2020-12-01 17:25:01Z
@Fera NEED BACKUP On copylovebox
Avatar
whats a switch checker
Avatar
Yeah we fundamentally disagree. I love the ifs that you think are madness
Avatar
@plsplsplslol checks how many switches out of 8 are open
17:28
there's a much easier way but i chose this way for speed
Avatar
@louis whats password
Avatar
no
17:32
its f
Avatar
Avatar
louis
Click to see attachment 🖼️
This mans bringing redstone to teeworlds lmao
Avatar
good map idea
Avatar
@Ravie couldnt you make a white version of the gift skin, so it could be colored well (please greenthing )
Avatar
When hentai skin
pepepolice 1
Avatar
when 0.7 skin
Avatar
ummmm blocker at multimap 176.9.114.238:8308 name yigit and that shit
18:16
@Moderator
18:20
fOMG
Avatar
@ano no because it's not single colored
Avatar
the yellow stripes is good , i just want to change the red and green to other color
Avatar
Pink
Avatar
yeah that's not possible
Avatar
!ʎø1øʞıƝg 2020-12-01 18:26:19Z
@Fera U are needed the bot is back 🤡
Avatar
use bot to overbot the botter
18:26
ez
Avatar
!ʎø1øʞıƝg 2020-12-01 18:26:53Z
XD i will get banned 🤡
Avatar
show to him dominance
18:26
🤠
Avatar
!ʎø1øʞıƝg 2020-12-01 18:27:29Z
Breuh
18:27
@Moderator ban the mod on copylovebox oR i will will be fighting bot with bot 🤡
18:28
Beruh
18:28
Avatar
!ʎø1øʞıƝg 2020-12-01 18:30:10Z
Wydm why
Avatar
not for you
Avatar
Avatar
Xyloae
When hentai skin
Bomb | DerpDEX | Ambit Finance 2020-12-01 18:31:14Z
I once had an idea for a gameskin to change the hook to a penis
Avatar
Why me cant join in dracenetwork me click to join and... 6 new windows and crash how fix it
Avatar
!ʎø1øʞıƝg 2020-12-01 18:32:37Z
@Alifty Make a screenshot of the error and crash
18:34
@Alifty try deleting your settings_ddnet see if it helps
18:34
Avatar
where it is
Avatar
!ʎø1øʞıƝg 2020-12-01 18:34:46Z
C:\Users\YOURPCNAME\AppData\Roaming\Teeworlds
18:35
Or open this
18:35
config_dir
18:36
and?
Avatar
%APPDATA%\Teeworlds
18:37
btw, to open it, regardless of username
Avatar
!ʎø1øʞıƝg 2020-12-01 18:38:37Z
Oh well
Avatar
!ʎø1øʞıƝg 2020-12-01 18:41:09Z
@Alifty delete settings_ddnet and try again
Avatar
ban baumalein
Avatar
!ʎø1øʞıƝg 2020-12-01 18:41:44Z
🤡
Avatar
dont help
Avatar
!ʎø1øʞıƝg 2020-12-01 18:42:35Z
So deleting did not help?
Avatar
!ʎø1øʞıƝg 2020-12-01 18:42:47Z
What message do you get if u try playing
18:43
did u try updating your drivers?
Avatar
!ʎø1øʞıƝg 2020-12-01 18:43:59Z
So the problem only occurs when u try joining servers?
18:44
what client are u using?
Avatar
DDRACENETWORK
Avatar
!ʎø1øʞıƝg 2020-12-01 18:44:42Z
Wait i see u are not using windows
18:44
when me join in game
18:45
wtf
18:45
i have windows 7
18:45
unlimite
Avatar
is the name "kill gingers" allowed? xd
Avatar
!ʎø1øʞıƝg 2020-12-01 18:45:11Z
yeye
Avatar
and he activyty
Avatar
!ʎø1øʞıƝg 2020-12-01 18:45:18Z
@Iza yes
Avatar
he activity
Avatar
!ʎø1øʞıƝg 2020-12-01 18:46:15Z
@Alifty okay, so the client just crashes? or do you get a message when u crash
Avatar
me dont have message
18:46
client crash
18:46
me dont get message
Avatar
!ʎø1øʞıƝg 2020-12-01 18:46:52Z
did u try updating ddnet client?
Avatar
what server are you joining
Avatar
me delete and download
Avatar
!ʎø1øʞıƝg 2020-12-01 18:47:21Z
Okay what kind of server are u joining ^^
Avatar
me play only ddrace and fng
18:48
ddnet and fng
Avatar
!ʎø1øʞıƝg 2020-12-01 18:48:54Z
okay, can u join servers with vanilla client?
18:49
it is need download?
Avatar
which server are you joining though
Avatar
!ʎø1øʞıƝg 2020-12-01 18:49:26Z
@Alifty Just normal teeworlds
Avatar
he join
Avatar
but me dont like
Avatar
!ʎø1øʞıƝg 2020-12-01 18:49:51Z
okay so 0.7 works
Avatar
me can change cursor
Avatar
!ʎø1øʞıƝg 2020-12-01 18:50:09Z
Try closing any processes that may crash it
18:50
where it is
Avatar
!ʎø1øʞıƝg 2020-12-01 18:50:27Z
18:50
Try closing any processes
18:50
u don't use / need
18:50
like skype
18:51
other than that we can try 1 more thing if that does not work then we gotta contact heinrich
Avatar
Avatar
Iza
is the name "kill gingers" allowed? xd
report racist names to mods
18:53
overly racist names like that
Avatar
!ʎø1øʞıƝg 2020-12-01 18:53:07Z
@louis It's not in the Rules
Avatar
yes it is
Avatar
@louis gingers are not a race
Avatar
!ʎø1øʞıƝg 2020-12-01 18:53:32Z
It just says respect
18:53
i don't see it being disrespecting if it is not aimed at them
Avatar
dont use
Avatar
!ʎø1øʞıƝg 2020-12-01 18:54:12Z
@Alifty so ?
Avatar
dont work
18:54
me close
Avatar
!ʎø1øʞıƝg 2020-12-01 18:55:21Z
@Alifty okay other than that i can't help i suggest u try asking @heinrich5991 For help
Avatar
@Ravie still rude
Avatar
Avatar
!ʎø1øʞıƝg
i don't see it being disrespecting if it is not aimed at them
it is
Avatar
how to make dummy in teeworlds
Avatar
Use DDNet client, press Esc and click on "Connect Dummy"
Avatar
me can join ito ddnet client
Avatar
Avatar
louis
report racist names to mods
you should be automatically kicking people with names like that
Avatar
Avatar
Iza
you should be automatically kicking people with names like that
its hard to automatically kick those types of names, you need a mod for those people
Avatar
or name filter, which will unleash full power of comunitty trolls feelsamazingman (edited)
Avatar
Just insert roblox filter
20:32
justatest
Avatar
Wide nouis
Avatar
'Aka_Bartosz' 2020-12-01 21:40:46Z
@louis ginger detected
Avatar
texans arent ginger
Avatar
'Aka_Bartosz' 2020-12-01 21:45:10Z
apparently immigrated
Avatar
@'Aka_Bartosz' ?
Avatar
'Aka_Bartosz' 2020-12-01 21:58:28Z
u ginger irl?
Avatar
no, why would it matter
Avatar
'Aka_Bartosz' 2020-12-01 22:26:59Z
just asking
Avatar
Avatar
louis
report racist names to mods
ᶰ°Konͧsti 2020-12-01 23:24:20Z
How is red hair a race
23:25
stop trying to make DDNet servers a safe space for snowflakes
heartPixel 1
Avatar
bruh u guys get the point its targeting a certain group of people
Avatar
Avatar
ᶰ°Konͧsti
How is red hair a race
its not about what fits the definition of a race
23:30
having ppl run around with insulting names doesnt do any good
23:30
less ppl will play if they see that the servers are full of toxic people and nobody moderates it
Avatar
so insulting 0.7 players is also bad then
Avatar
u arent born as a 0.7 player
23:33
so no its ok, 0.7 sucks greenthing
23:33
people can change their hair color, skin color and gender
23:33
people can also stop being retarded
23:33
troll
23:34
i want justice
23:34
i feel offended by this discord server
Avatar
ok, play a better version of the game and ull get jsutice
Avatar
but im playing 0.7 already
23:40
louis is big liar
Avatar
did u get justice
Exported 369 message(s)