Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2020-02-10 00:00:00Z and 2020-02-11 00:00:00Z
Avatar
[freenode] JewZeus BOT 2020-02-10 05:17:36Z
ok, I posted that fucking fairness post in the forum, in general discussions.
05:17
sorry if that's the wrong place for it. :P
Avatar
that's the right place :)
Avatar
[quakenet] day BOT 2020-02-10 14:17:08Z
jewZeus: not bad, but your chiller server review forgot to mention the most vital site seeing attraction, the ultimate noob slayer -HS- Machine!
Avatar
[quakenet] day BOT 2020-02-10 15:26:16Z
jewzeus: your proposal violates the unwriten rule of teeworlds game design: as little rng as possible.
15:27
players spawning with unknown/ for the player untrackable amounts of hp would imho fall into that category. Then again you don't know how much hp a player at any given time has anyways so maybe not :?
Avatar
[freenode] JewZeus BOT 2020-02-10 16:06:49Z
well, this is just a proposal of an idea of something that might be a useful step to try in terms of balancing, it's not intended to be 'the ultimate perfect solution', just the justification for a first step towards a solution, and a direction to step in
16:07
the "hide how much your hp has changed" thing, that was a last minute idea and one that I haven't thought through as much as the rest of it
Avatar
ChillerDragon 2020-02-10 16:07:37Z
i do not think that fairness is the issue of people not playing vanilla
Avatar
[freenode] JewZeus BOT 2020-02-10 16:08:08Z
when I've been thinking about this, I've been thinking back to playing "thief: The dark project", because when you changed the game's difficulty it would have your health icons in the same place but more or fewer of them depending on the difficulty, sort of stuff
16:08
I think it was actually 10 shield/heart things for the basic difficulty there too, almost like everybody finds that an intuitive number
16:09
ChillerDragon, yes exactly? this whole thing is about fairness in vanilla, not mods
Avatar
vanilla is rather easy compared to gametypes
16:10
playing vanilla, not winning at vanilla
Avatar
ChillerDragon 2020-02-10 16:13:41Z
i can not think of any mod that helps noobs to fight pros
16:13
"My ideal use-case of this, even trying to break it, would be to be able to set up a lan party with my kids and some adult friends all playing"
this is possible in vailla
16:14
just spin up a lan party and play with a bunch of noobs no need to change the mechanics
16:14
skilled players should get more kills. And not tactically suicide to then collect hp and rush the flag with a op amount of hp and armor.
16:15
noobs should die fast and not struggle a long slow death while their 20/20 protection slowly shrinks
Avatar
To me its just a Matter of active people
16:28
The less the players the less its fair, as more people play at the same time the more they will gather in “categorized” groups
Avatar
[freenode] JewZeus BOT 2020-02-10 16:29:28Z
ChillerDragon the point is to give both the kids and the adults a serious fighting chance, because I'm sure you've observed and probably nerfed yourself down too
16:29
the point is, the game has to be fun for everybody
Avatar
Now with just one full server per day its obvious that both noobs and pros will want to play cause its the only one active.. and the crying starts
Avatar
[freenode] JewZeus BOT 2020-02-10 16:30:06Z
eh, if it were a balanced game, there would be more vanilla servers
16:31
*populated vanilla servers
16:32
please don't try to tell me that in a 1v1 where one player is getting 10 kills at a streak and the other flat out isn't, that there can't be some kind of balancing put in so that both people actually want to keep playing for a bit because it's challenging but also actually fun for both
16:32
the point is to do this kind of balancing intervention as little as possible
16:32
leave it as vanilla as possible
16:33
but actually balance it so that it stops this ragequit/borequit stuff for noobs or pros
16:37
I understand that the intent is to leave this as a side scrolling FPS as much as possible, and FPS's don't classically do this, but the speed at which some players because of their skill with the rocket jumps and the grappling shit, is faster than the weapons can actually shoot at them, other than the laser, which has a limited range and can't actually hit them by the time they are aimed at with human reaction speeds
16:38
as a result, much of the more intense fighting in the game at higher levels seem to consist of high velocity speculative grenade launchings, which new players are simply unequipped to participate in and need a way to weather while they learn to navigate
16:39
if they catch on fast? the mechanic stops helping them fast
16:40
even if people try to abuse this system, eg, advanced player kills an oponent and then commits suicide, that still robs their inventory and their time to get it and gives the noob a chance against them next time
16:41
I don't think the way to do this is 'every kill adjust every players hp in rank', but rather, only for advanced players on streaks of kills, or noobs on streaks of deaths
16:42
so yeah a pro could theoretically kill themselves 20 times and miss the first 1/2-2/3 of the game, to get a full 15/15 and do some special rocket jump, type thing
Avatar
ChillerDragon 2020-02-10 18:26:45Z
i dont think teeworlds vanilla should be the type of game that allows for a equal fight between adults and children
18:27
if you don't want your kids to cry then just play worse thats how to do it and how it has always been done on board games
18:30
you are new right JewZeus? I do not want to keep talking against you :/ Nice that you joined us and care about the game. I consider my self a conservative person and I would strongly fight against any change in teeworlds hehe.
18:35
Omg can we please get the old chat system :/
18:36
Back in the days grepping logs for errors that show up in the chat was easy nowerdays they are clientside only
18:36
18:37
logs not looks 😄
Avatar
[quakenet] rand BOT 2020-02-10 19:29:42Z
child/adult is an example to illustrate newbie/pro
Avatar
ChillerDragon 2020-02-10 20:03:15Z
ye ikr
Avatar
[freenode] JewZeus BOT 2020-02-10 21:16:58Z
ChillerDragon, the point is to do this as minimally as possible, but some kind of measure like this clearly needs to exist, that whole ragequit/borequit thing isn't just kids vs adults or noobs vs pro, I don't think it's rocket science to say 'some matchups are just uneven and need some kind of intervention, ideally as small as possible, to make the game even enough for both to play"
21:18
the more I think about this, the more I think there should be a 'balancing threshold' ie 'you have to do a kill streak of x many kills' (or maybe even 'x many y times' type thing) as a minimum threshold to turn anything on, and then it should increment with the smallest steps possible that it can be effective with
21:19
like the server specifies 5 as the minimum threshold, that means the player has to get 5 kills in a streak without getting killed to have one increment of this, ie, lose 1 heart of total hp
Avatar
ChillerDragon 2020-02-10 21:19:56Z
Ye I get the idea
Avatar
[freenode] JewZeus BOT 2020-02-10 21:20:00Z
this doesn't seem unreasonable, I have certainly been killed 5 times in a row in a 1 on 1, and quit in frustration, because what the fuck is there for me to do in the game besides die at that point?
21:20
and I've also done that to other players and watched them quit too
Avatar
ChillerDragon 2020-02-10 21:20:25Z
But I agree with @Sonix balance should come with bigger amount of players and skill groups
Avatar
[freenode] JewZeus BOT 2020-02-10 21:20:41Z
that's the anthropic form of balancing
Avatar
[quakenet] Dune BOT 2020-02-10 21:20:51Z
when there were more servers it was still newcomers getting rekt until they quit the game (or switch to more casual game modes)
Avatar
[freenode] JewZeus BOT 2020-02-10 21:20:56Z
that already exists but is insufficient especially since so many matches are so small and so skill-disparate
Avatar
ChillerDragon 2020-02-10 21:20:59Z
I would say we currently have 2 skill groups and it works okayish
Avatar
[freenode] JewZeus BOT 2020-02-10 21:21:15Z
eh which part works?
Avatar
[quakenet] Dune BOT 2020-02-10 21:21:16Z
I agree with JewZeus sentiment but I don't find the proposed changes pretty / simple
Avatar
[freenode] JewZeus BOT 2020-02-10 21:21:21Z
what is being done that I'm not aware of
21:21
petty? lol this is going to bite my ass as much as anybody's
Avatar
ChillerDragon 2020-02-10 21:21:48Z
Most pros play on their servers and public servers are noobs
Avatar
[freenode] JewZeus BOT 2020-02-10 21:21:52Z
this isn't a "beef me up", I'd predict to be playing at 8 hearts most of the time on it
Avatar
ChillerDragon 2020-02-10 21:22:00Z
But pros also occasionally rip noobs that’s true
Avatar
[quakenet] Dune BOT 2020-02-10 21:22:06Z
unfortunately this is an issue that plagues old games with no matchmaking, and is not specific to teeworlds :/
Avatar
ChillerDragon 2020-02-10 21:22:27Z
Ye but the playerbase is too small for matchmaking :/
Avatar
[freenode] JewZeus BOT 2020-02-10 21:22:28Z
yeah this is an attempt at matchmaking in terms of skill to difficulty of opponent
21:22
based on score
21:22
in-game data shit
21:22
no accounts, none of that
Avatar
[quakenet] Dune BOT 2020-02-10 21:23:10Z
not enough vanilla players for matchmaking unfortunately
Avatar
[freenode] JewZeus BOT 2020-02-10 21:23:19Z
that's why this is my proposal rather than matchmaking :P
21:23
"oh I can maybe get 5 people on a good day to play when I want them to"
21:24
accounting for the fact, 2 of my own kids "you can play THIS game if you like" sort of "lets take a break from other games today" arm twisting, + their friends if I'm lucky
21:24
fortunately my kids like and are pretty competent at this, my daughter especially likes ddrace :P
21:24
this is a GOOD game
Avatar
ChillerDragon 2020-02-10 21:25:03Z
Wait you have kids? And you play tw with them?
Avatar
[freenode] JewZeus BOT 2020-02-10 21:25:04Z
I don't want to change that
21:25
yep
Avatar
ChillerDragon 2020-02-10 21:25:09Z
That’s nice o.0
Avatar
[freenode] JewZeus BOT 2020-02-10 21:25:27Z
it's a good game, I'll say it as many times as I need to
21:25
change as little as possible
21:25
but I'm serious about that 'adults vs kids' lan party as a literal case
21:25
"make this rock for birthday parties"
21:26
ideally even "make a version that runs on pis
Avatar
ChillerDragon 2020-02-10 21:26:04Z
Pls invite me thanks 😄
21:26
Tw runs fine on pi
Avatar
[freenode] JewZeus BOT 2020-02-10 21:26:14Z
you've played against them, they've been on your server :D
21:26
eh tw SERVER runs fine on a pi
21:26
but not a playable client
Avatar
ChillerDragon 2020-02-10 21:26:29Z
Oh
Avatar
[freenode] JewZeus BOT 2020-02-10 21:26:31Z
not that I've gotten running
Avatar
ChillerDragon 2020-02-10 21:26:48Z
Isn’t pi 4 dual 4K 4core nasa rig?
Avatar
[freenode] JewZeus BOT 2020-02-10 21:27:04Z
yeah, I have pi 3's, lol
21:27
it can technically start the client, and get like 1 frame per second
Avatar
ChillerDragon 2020-02-10 21:27:23Z
Idk I need hilarious strong hardware to have acceptable teeworlds feeling
Avatar
[freenode] JewZeus BOT 2020-02-10 21:27:26Z
it seems simple enough that a 1.4 ghz quad core should be fine
Avatar
ChillerDragon 2020-02-10 21:28:02Z
What is your ingame name btw?
Avatar
[freenode] JewZeus BOT 2020-02-10 21:28:13Z
eh most recently "god of butts" :D
Avatar
ChillerDragon 2020-02-10 21:28:28Z
Oh your still in the Name searching Phase?
21:28
It took me almost a year I think 😄
Avatar
[freenode] JewZeus BOT 2020-02-10 21:28:43Z
eh I have a rotation of trolly names (like this one too)
Avatar
ChillerDragon 2020-02-10 21:29:11Z
I recommend sticking with one so people won’t forget who you are
21:29
It improves social interaction
Avatar
[freenode] JewZeus BOT 2020-02-10 21:29:56Z
I don't change often, but "god of butts" was a more kid-friendly name than 'painus', so I'm sticking with that change
Avatar
ChillerDragon 2020-02-10 21:30:55Z
Can I ask how old you are? 🙂
Avatar
I am Painis!
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:34:23Z
can someone pls plot a graph of irc actvity since the bridge was activated :D
Avatar
Teeworlds is in my opinion not multithreaded enough to make use of multiple cores. At least the serversode code is completely single threaded, the main stuff I have seen so far.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:35:21Z
yea the good old multithread topic
21:35
every tw source i touch gets unstable and crashes weirdley
21:36
i do not want to think about how it would be when there were more threads
21:36
but for sure it is a good future proof idea since the hardware seems to go the more cores way rather than more single core power
21:37
but maybe rather rewrite tw in rust then so its less likley we break everything :D
21:37
im sure @heinrich5991 would love to rewrite tw in rust hehe
Avatar
that would be interesting.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:38:25Z
i saw a basic functional 0.6 tw server by heinrich once
21:38
written in rust but it had not all features yet
Avatar
Yeah, be basic concept of multithreading serverside is: "don't fucking block the main thread, never period."
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:39:05Z
could help against dos
21:39
iirc there were some multithreading patches in the block ddos war that seemed to be effective
Avatar
I think teeworlds might need to use "unsafe rust". I'd really love to learn rust soon :D
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:40:51Z
it probably never will happen
21:41
i mean replacing decades of C/C++ code is crazy
Avatar
Some Teeworlds stuff in Rust. Contribute to heinrich5991/libtw2 development by creating an account on GitHub.
Avatar
I guess compared to other languages go and rust are the emerging languages to have great tooling.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:41:35Z
ye we all know famous libtw2
Avatar
poc 0.6 server in there
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:41:44Z
oh there it is
Avatar
syntax looks as cryptic as c++
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:42:21Z
i hardly see any projects written in rust
21:42
sometimes go
Avatar
at least it has generics
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:42:38Z
i have the feeling heinrich is the only person on planet who uses rust
21:42
I know one highly capabke person that also loves rust.
Avatar
ripgrep is also written in rust
21:43
firefox has important rust components
Avatar
the security aspect is great
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:43:34Z
ye
21:43
i guess idk baut rust but i thought its stable af
21:43
like c without segfaults
21:43
or c++
Avatar
perfect language for os development and microcontroller development
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:44:25Z
i used all kinds of grep but never ripgrep
Avatar
there is ssl stuff rewritten in rust that has seemingly better performance than c/c++ implementation.
Avatar
the ripgrep is also a much faster grep 😉
21:46
cool blog post about performance
Avatar
kinda sad that one does not see many job opportunities for rust or go.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:46:40Z
is that the only reason to go through the struggle of changing the tool?
21:46
i used egrep and pcreegeprep for better regex
Avatar
performance is a good reason
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:47:04Z
but speed never seemed to be a bottleneck for me
Avatar
if it is a bottleneck :D
21:47
like parsing terrabytes of log files?
Avatar
rg also respects .gitignore etc.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:48:27Z
i was about to write that
21:48
could be seen as feature
Avatar
do you know any great beginner books in rust? or is the "necronomicon" good enough?
21:48
for rust
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:48:58Z
but if you dont know or forget about that it can be very annoying when you cant find stuff listed in the gitignore
Avatar
alias rg=rg -u
21:49
now it only disregards binaries
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:49:30Z
imagine grepping for the definition of some tw network code which is generated and ignored
Avatar
imagine using vs code search instead of grep x)
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:50:19Z
ok i would switch if it supports multiline search
21:50
does rg 'foo.\n.bar' work?
Avatar
rg -U for multiline search IIRC
21:51
but why multiline? 😛
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:51:17Z
twlogs
21:51
all the time i search something in tw i need multiline search
21:51
for example earlier today i had a username and a disconnect error message
21:52
thats split up in two lines
21:52
all the stuff is always split
21:53
r u telling me that im the only person who always searches strings split over multiple lines?
Avatar
I've never done it before, I think
Avatar
[freenode] ChillerDragon BOT 2020-02-10 21:54:32Z
lol
21:54
i have to do it once a month min
21:55
either i go with some -C context heads and tails and double grepping crap or i use pcregrep
21:59
how differenct are the arguments?
21:59
re learning stuff is annoying
Avatar
rg -C also for context
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:01:18Z
ye just realized it seems to be kinda similar
22:01
doesnt look to bad i might switch
22:01
but grep is pre installed everywhere huh?
Avatar
yes
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:01:54Z
thats a big pro
Avatar
[quakenet] minus BOT 2020-02-10 22:02:02Z
is grep even coreutils?
22:02
bridges were a mistake, everyone should just connect to quakenet like a proper gamer
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:02:20Z
i can not remember installing grep anywhere
Avatar
it's not like you'll unlearn grep
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:02:30Z
quakenet doesnt work for me
22:02
but when i pick rg as preference i will end up using it in my scripts and then my scripts will break on other systems
Avatar
I'd use grep for scripts
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:03:17Z
yes
22:03
thats what i mean
Avatar
rg is for interactive use
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:03:34Z
i do not want to distinguish interactive and script
22:03
because my scripts start interactive
Avatar
then don't use rg I guess
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:04:03Z
idk
22:04
i will keep it in mind it will probably replace my pcregrep
22:05
so minus you would say quakenet irc is more gamer than discord? xd
Avatar
[quakenet] minus BOT 2020-02-10 22:05:54Z
retro gamer lol
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:06:25Z
hi from qnet :)
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:06:33Z
i wish i could join you
Avatar
[quakenet] minus BOT 2020-02-10 22:06:37Z
it's actually better because it needs less ram :^)
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:06:39Z
the place where the cool kids hang :D
22:07
well im sure there are more bloated irc clients than cordless discord client
22:07
for example irc over browser is a bloat
Avatar
[quakenet] minus BOT 2020-02-10 22:08:47Z
certainly
22:08
mine's just a terminal tho
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:09:09Z
cordless is also just terminal
Avatar
[quakenet] minus BOT 2020-02-10 22:09:24Z
"nice"
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:09:31Z
ikr
22:09
or are u being sarcastic? :D
22:09
idk what those quotes mean
Avatar
[quakenet] minus BOT 2020-02-10 22:09:44Z
inofficially using some internal api?
22:09
yes
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:09:50Z
ye
22:10
probably borderline legal
Avatar
[quakenet] minus BOT 2020-02-10 22:10:09Z
so it's only a question of time until it gets fucked over
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:10:09Z
wait internal?
22:10
nah public api
Avatar
[quakenet] Dune BOT 2020-02-10 22:10:13Z
IRC lacks some modern features unfortunately. would gladly go js-free otherwise :p
Avatar
[quakenet] minus BOT 2020-02-10 22:10:19Z
oh?
22:10
didn't know discord had public apis
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:10:37Z
its opensource project that wraps around the public discord api
Avatar
[quakenet] minus BOT 2020-02-10 22:10:37Z
Dune: like what?
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:10:52Z
The Discord terminal client you never knew you wanted. - Bios-Marcel/cordless
Avatar
[quakenet] Dune BOT 2020-02-10 22:11:01Z
minus, formatting standards
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:11:01Z
one of the few go projects i know
22:11
no rust :p
Avatar
WARNING: Third party clients are discouraged and against the Discord TOS.
22:11
from that repo
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:11:36Z
ye borderline legal
22:11
:D
Avatar
not borderline legal
Avatar
[quakenet] Dune BOT 2020-02-10 22:11:52Z
well it's disallowed
Avatar
but bannable by discord
22:11
legal is about being put into prison
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:12:06Z
hm
Avatar
lol, codecoverage 13%
Avatar
better than teeworlds
Avatar
[quakenet] minus BOT 2020-02-10 22:12:33Z
Dune: interesting; i haven't heard that complaint about irc before. fwiw it does have colors, italic, bold, underline
Avatar
true xD
Avatar
nobody but me writes tests :>
22:12
:< *
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:12:47Z
so cordless is even more gangster than irc cuz its agianst TOS
Avatar
[quakenet] Dune BOT 2020-02-10 22:12:53Z
minus, is that in the standard? TIL
Avatar
[quakenet] minus BOT 2020-02-10 22:12:56Z
i was more expecting things like image upload, etc
Avatar
go test are ultra easy to write
Avatar
[quakenet] Dune BOT 2020-02-10 22:13:02Z
it lacks code formatting though
Avatar
[quakenet] minus BOT 2020-02-10 22:13:05Z
nah i don't think that's standardized, Dune
Avatar
I dunno abouz C++ ._.
Avatar
[quakenet] Dune BOT 2020-02-10 22:13:16Z
out of convenience, the need for a bouncer and uploads yeah
Avatar
[quakenet] minus BOT 2020-02-10 22:13:18Z
ah yeah code snippets is something else
Avatar
@jxsl13 look into the tests, not hard to write IMO
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:13:29Z
how would you code format in a terminal based program @Dune ?
Avatar
[quakenet] Dune BOT 2020-02-10 22:13:31Z
theoretically it also lacks UTF8 lol
22:13
@ChillerDragon syntax coloring
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:14:01Z
ah
Avatar
[quakenet] minus BOT 2020-02-10 22:14:09Z
idk if the encoding for irc is standardized, i don't think so
Avatar
In regard to testing tw feels like trying noot to shoot into your foot every time you change something.
22:14
-o
Avatar
[quakenet] Dune BOT 2020-02-10 22:14:22Z
yeah
22:14
it'd be nice if the IRC standards evolved
Avatar
that's why you try to add tests
Avatar
modern software development needs modern tooling :D for test.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:15:34Z
for me its hard to unit test chunks of tw becuase i usually include literally every file to get all my global vars interacting with each other :D
Avatar
wdym @jxsl13
22:16
I think LLVM uses gtest
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:16:09Z
oh btw any suggestions how i get the new Config() stuff in IClient?
Avatar
[quakenet] Dune BOT 2020-02-10 22:16:20Z
heinrich5991, i think so yeah
Avatar
I think around 2002 there was no such test driven development mwntality
22:16
mentality
Avatar
[quakenet] Dune BOT 2020-02-10 22:16:42Z
I still don't like it :p
22:16
tests tend to lack flexibility
22:16
you change your code, you break the tests
22:16
meh
Avatar
Kernel()->RequestInterface<IConfigManager>()->Values()
22:17
the same way you get it from anywhere, @ChillerDragon
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:17:16Z
in engine/client.h ?
Avatar
[quakenet] Dune BOT 2020-02-10 22:17:16Z
@heinrich5991 isn't that expensive btw
Avatar
you do that once, on initialization
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:17:44Z
is it even initialized anywhere?
Avatar
well, I think a proper testing of individual component should be done. Integration test might be hard if not impossible to realize properly.
Avatar
ChillerDragon: src/engine/client.h is not a code file
Avatar
[quakenet] Dune BOT 2020-02-10 22:18:21Z
test-driven development is more than a few tests, jxsjsl13
Avatar
it's an interface file
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:18:31Z
yes
Avatar
you shouldn't put complex code there
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:18:36Z
and i need configs there
22:18
ddnet did
Avatar
no, do it in src/engine/client/client.cpp
22:19
this is the wrong place
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:19:09Z
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
I think rust also provides proper tooling for testing :0?
Avatar
yes, it does
22:19
but you don't need it
22:19
gtest works. otherwise use some other testing framework
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:19:45Z
so you say that should be refactored?
22:19
the code looks good to me
Avatar
infinite compile times already tell you your bugs :D?
Avatar
you don't need a built-in testing framework in your language to do testing
22:20
is what I meant
22:20
ChillerDragon: that code looks horrible to me
Avatar
yeah, I guss, but using external tools sucks imo.
Avatar
why does that static accessor function return something different depending on some global config variable
22:21
@jxsl13 why?
Avatar
external dependencies.
Avatar
yes. gtest is stable
22:21
it doesn't have most of the downsides of external dependencies
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:21:46Z
could you please refactor that for me heinrich? <3
Avatar
no
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:21:59Z
meh
Avatar
[quakenet] Dune BOT 2020-02-10 22:22:10Z
@heinrich5991 I saw you wrote parts of the backends, rhetorically, is a complete rust rewrite a good idea or are some parts shitty?
Avatar
try using the double <3<3, Chiller
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:22:27Z
any hint on how i could refactor it?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:22:37Z
I would go for a gradual rewrite if I were trying to do it
Avatar
[quakenet] Dune BOT 2020-02-10 22:22:47Z
ofc, but is that a good idea even
22:22
or does rust suck for some parts
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:22:59Z
e.g. first rewrite some low-level horrendously unsafe parts in rust
Avatar
rewriting the masterserver would make sense
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:23:16Z
nah, http master server incoming™
22:23
some people would probably say that rust limits them too much
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:23:29Z
Dune: ^
Avatar
I think the browser protocol should be rewritten to tcp
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:23:43Z
gradual adjective: moving, changing, or developing by fine or often imperceptible degrees
Avatar
[quakenet] Dune BOT 2020-02-10 22:23:49Z
the http master server looks like a lot more work than I thought it'd be
22:23
I'm surprised
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:23:53Z
monthly word teached by heinrich :D
Avatar
[quakenet] Dune BOT 2020-02-10 22:23:58Z
@jxsl13 that's garbage for latency
22:24
that's what stops teeworlds from being properly implemented in a browser iirc?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:24:20Z
not really
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:24:24Z
is it stopped?
Avatar
[quakenet] Dune BOT 2020-02-10 22:24:26Z
@redix
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:24:32Z
there's a websocket port of teeworlds by eeeee
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:24:34Z
werent there multiple fully functional browser clients already?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:24:39Z
you oculd also do teeworlds via webrtc
Avatar
[quakenet] Dune BOT 2020-02-10 22:24:42Z
I thought they had lag?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:24:48Z
not due to network
22:24
it's udp (webrtc)
Avatar
[quakenet] Dune BOT 2020-02-10 22:25:04Z
oh ok
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:25:10Z
shouldnt webassembly be near native?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:25:21Z
I think within 2x of native, for most parts
Avatar
[quakenet] Dune BOT 2020-02-10 22:25:25Z
I think it's ~2
22:25
yeah
22:25
pretty good compared to anything else tho
Avatar
Maybe gRPC
Avatar
[quakenet] Dune BOT 2020-02-10 22:26:08Z
what's that?
Avatar
I'm not into that topic tho
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:26:21Z
and in which direction would your gradual rewrite go? @heinrich5991
Avatar
stackoverflow suggested it being reasonably better than udp
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:26:57Z
ChillerDragon: first some low-level stuff
22:27
maybe network, maybe file parsing, etc.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:27:11Z
what?
22:27
what are you talking about?
Avatar
rust rewrite
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:27:46Z
ah
22:27
oh i mean moving the config out of IClient
Avatar
please redesign VarInt x)
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:28:16Z
its a somewhat accute problem for me
22:28
is accute even a word?
22:28
xd
Avatar
[quakenet] Dune BOT 2020-02-10 22:28:28Z
acute is
Avatar
calls the doctor
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:28:50Z
ah ye to many c
22:28
too
Avatar
._. I don't like the VarInt design! please discuss
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:29:41Z
wdym?
Avatar
it's a class without an internal state, basically functions
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:30:21Z
oh that one, yea
Avatar
basically forcing oop where no oop is needed
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:30:35Z
probably left-over from the oop rewrite
Avatar
[quakenet] Dune BOT 2020-02-10 22:30:43Z
sounds like a large part of oop code
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:30:43Z
also, it has buffer overflow problems
Avatar
varint or do you mean Packer?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:31:26Z
varint, not packer
Avatar
why that Oo?
Avatar
[quakenet] rand BOT 2020-02-10 22:31:59Z
Pack(0,1)
22:32
hello there
Avatar
hey rand
Avatar
[quakenet] rand BOT 2020-02-10 22:33:47Z
I guess heinrich5991 would like some size parameter or end pointer to Pack/Unpack
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:33:59Z
ah no, it seems it has been fixed
Avatar
redix did that?
22:34
I guess
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:34:26Z
gradual rewrite
22:34
*ea6d380f7f1a7333db4470c60562b49827cfd13a
22:34
wrong clipboard
Avatar
ye, redix
Avatar
[quakenet] rand BOT 2020-02-10 22:37:45Z
oh, Pack calls look safe
22:38
wait, is UnPack safely used ?
Avatar
+1 for rewriting in rust ^^
Avatar
ye, it assumes a max length of 5 bytes
22:40
and aborts
22:40
cannot soeak for every us case, tho.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:40:40Z
redix but like client and server and stop maintaining the C++ version?
22:41
some security critical stuff, leider ke masterserver, I'd goess
22:41
like
22:41
rip my fingers
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:41:30Z
are u on phone?
22:41
xd
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:41:46Z
beerlang autocomplete detected
Avatar
[quakenet] rand BOT 2020-02-10 22:41:51Z
this is confusing
22:42
because we don't know if you type 'si' or mistype 'no'
Avatar
a rust rewrite would be cool but a lot of work, so i doubt it will happen at all 😄
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:42:21Z
lol
Avatar
I'd love to learn some rust :o
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:42:46Z
rand: I'm willing to do partial rewrites in rust; but I think Oy spoke negatively about that, so I'm not really hyped
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:43:04Z
do you remember reasons?
Avatar
only gradually as heinrich said
Avatar
go rewrite.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:43:23Z
like actually against rust or agianst the amount of work and duplicated source bases?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:43:29Z
probably boils down to 'it's not c++'
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:43:35Z
oh
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:43:37Z
with partial rewrites you don't have duplicate sorces
Avatar
[quakenet] Learath2 BOT 2020-02-10 22:43:45Z
A rust rewrite would also alienate the 5 or 6 developers left here, might need to consider that
Avatar
base.c -> not c++
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:43:59Z
hi Learath :)
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:44:32Z
Learath2: maybe also get new ones ;)
Avatar
[quakenet] Dune BOT 2020-02-10 22:44:36Z
Yeah I don't think most codebase changes are worth it at this point
Avatar
[quakenet] rand BOT 2020-02-10 22:44:37Z
tw uses python, C, C++, lua
Avatar
and a complete rewrite might be a hurdle for mod developers
Avatar
[quakenet] Dune BOT 2020-02-10 22:44:54Z
I'd say the energy is better spent writing features
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:45:17Z
rust would probably make it easier to spend time writing features
Avatar
game's feature comolete with mostly minor tweaks and bot stuff left?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:45:34Z
you have a built-in usable data structures, for example
Avatar
pls be slices
Avatar
[quakenet] Learath2 BOT 2020-02-10 22:46:02Z
wym built-in data structures? We aren't even allowed to use the C++ ones :P
Avatar
and you have a usable package manager 😮
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:46:12Z
slices exist in rust, but they're slightly different from go
Avatar
[quakenet] Dune BOT 2020-02-10 22:46:14Z
heinrich5991, surely that would be outweighted by the time spent learning a new language / how to debug pitfalls of said new language
22:46
though I don't have anything against rust ;)
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:46:32Z
rust is basically the language designed against pitfalls
Avatar
slices != std::vector?
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:46:35Z
that is, if it compiles
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:46:36Z
no need to debug or pitfall
22:46
ye
22:46
isnt that the reasom to switch to rust to avoid pitfalls and debugging
22:47
that could be seen as a pro for mod developers
Avatar
[quakenet] Dune BOT 2020-02-10 22:47:09Z
there are still plenty of reasons to fail
Avatar
well, it does not stop the need to debug
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:47:12Z
less instable mods
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:47:21Z
you also get easier multi-threading
Avatar
[quakenet] Dune BOT 2020-02-10 22:47:26Z
and you have to set up new dev environment etc.
22:47
there's always a cost
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:47:34Z
yes, there's a cost
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:47:39Z
a lot
22:47
especially in the beginning
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:47:56Z
there's also the cost that new developers trying to get into teeworlds have right now
Avatar
the build process is most likely less of a oain in the ass comoared to c++ :D?
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:48:23Z
switching to rust could be seen as a expensive investment in the future
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:48:23Z
yes. 'cargo build'
22:48
yes
Avatar
no header files
22:49
infinite compile times.
Avatar
[quakenet] heinrich5991 BOT 2020-02-10 22:49:24Z
in the order of c++, I think
22:49
a lot slower than go
Avatar
Go is basically python in better, my current opinion
Avatar
faster. better depends on the use case 😄
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:50:09Z
i hardly know anything about go but i would never compare it with python lol
Avatar
sidetrack detected
Avatar
Go has a scriotin language like workflow
22:50
scripting
22:50
as it compiles so fast
22:51
also go run
22:51
like interpreter
Avatar
that is obviously one aspect of a scripting language. you see that there are others, I guess? ^^
Avatar
[quakenet] Learath2 BOT 2020-02-10 22:51:42Z
well, atleast I wouldn't be coding much if we do make a move to rust, I just never got used to coding in rust
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:51:44Z
15 mins talk for hello world in go
22:51
best scripting language :D
Avatar
[quakenet] rand BOT 2020-02-10 22:52:29Z
jsxl13: don't you know about “tcc -run main.c” ?
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:53:07Z
oh tcc is nice
22:53
i used that back when i was in school on usb drive :D
Avatar
chiller, well that talk makes go literally a scrioting language
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:53:36Z
no that talk shows how useless go is :D
Avatar
is not :(
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:53:54Z
useless as scripting language
Avatar
well, yeah in that regard maybe.
Avatar
go run main.go
22:54
is what I meant
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:54:34Z
xxxxxxxxxxD
22:54
dont hate on bash heinrich
22:54
oh cmn u fucked me
Avatar
also the deployment of gobis better than pythin :D
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:55:09Z
where did u get that hahaha
Avatar
fat fingers
Avatar
"hello world bash !youtube"
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:55:29Z
searched bash beginner ordered by length and views?
Avatar
although I admit I didn't pick the first one
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:55:40Z
55 clicks xd
22:55
that was the first one
22:55
2nd tutorial, already got to hello world 😛
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:56:17Z
ur a big :troll:
22:56
no language can compete with bash
Avatar
in regard to ripgrep the syntax is literally python regex
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:56:36Z
and in helloworld its beast
Avatar
@jxsl13 you can have monolithic binaries for python, too
22:56
they're more annoying to do thought
22:56
cx_freeze
Avatar
yeah, I already did use pyinstaller
Avatar
eh, that's what I meant, maybe
Avatar
on windows
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:57:20Z
why do ppl even use nano?
Avatar
I used something like that to packa pyqt app
Avatar
nit fun, but works
22:57
same also did pyqt
22:57
for some workflow automation
22:58
nano > vim
22:58
I'd love to have a parallel official rust project with hopefully lots of code comments.
22:59
that might slowly port some critical stuff, maybe
22:59
might get some rust devs interested in teeworlds
Avatar
[freenode] ChillerDragon BOT 2020-02-10 22:59:51Z
lol i tried '$ nano > vim' and it didnt end well :D
Avatar
operating system coukd not handle the truth and crashed?
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:01:10Z
^
23:01
ok ima try the other way around
23:01
at least vim threw a warning :p
23:02
oh jesus its harder to kill
23:02
nano the way to go
Avatar
Below are some simple methods for exiting vim. Contribute to hakluke/how-to-exit-vim development by creating an account on GitHub.
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:02:53Z
lool
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:03:07Z
i created a file when i cat it it writes stuff to my terminal on mouse click
23:03
bois vim > nano is crazy compared to nano > vim
23:03
i can highly recommend trying it :D
Avatar
I bet one way is: unplug your pc
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:03:41Z
it literally highjacks my mouse
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:03:47Z
after i killed the process
Avatar
this is gold
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:04:23Z
vimkiller :D
Avatar
the ine above
23:04
one
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:04:37Z
not that nano is easy to quit^
Avatar
[quakenet] Dune BOT 2020-02-10 23:04:50Z
can't you use vim to do buffer overflows or forbidden accesses to memory
Avatar
ctrl+x ?
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:06:02Z
idk about forbidden access to memory i use vim to support kids in uganda
23:06
:D
23:06
ctrl+x+y+enter
23:06
vs
23:06
:x
Avatar
alias vim=/bin/false
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:08:51Z
dfq
23:09
alias fuck=sudo
23:09
fuck !!
23:09
runs last command as sudo :D
Avatar
I would call the "Docker Way" the Overengineered way
23:09
there is a fuck tool
23:09
that corrects typos
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:09:58Z
lol didnt know
23:10
could you send a link my research only showed porn lol
Avatar
Magnificent app which corrects your previous console command. - nvbn/thefuck
Avatar
too slow
23:11
eh
23:11
"fuck bash cli"
Avatar
first search returned it
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:11:30Z
idk how to search
Avatar
that's one of the skills one truly needs
23:11
learn it 😉
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:11:49Z
ye
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:11:57Z
my search literally returned 100% porn
23:12
"fuck tool typos"
Avatar
that's basically the only true skill a programmer needs
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:12:25Z
or maybe its my biased search :D
Avatar
maybe google knows your search history :0
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:12:51Z
lmao google
Avatar
duckduck
23:13
aw, man
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:13:04Z
:)
23:13
but is it useful?
Avatar
same story, different name
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:13:28Z
i mean is it faster to type fuck then look at the suggestion instead of uparrow and fixing it?
Avatar
check out the gif in the readme
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:13:49Z
well duckduckgo shouldnt give me a biased search result as far as i know
Avatar
dunno, I am not using it
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:14:13Z
google bubble
Avatar
porn bubble
23:14
xD
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:14:44Z
:D
23:15
back on track
Avatar
https://www.factorio.com/blog/post/fff-333 could apply this kind of "background" rendering to layers in teeworlds
Hello, We released 0.18.4 this week, same old same old, more bugfixes, more bugs, more changes. At this stage of development, not many interesting things are happening, we are just polishing what we have. Minor terrain render optimization posila Just a couple days befo...
Avatar
I think there are some heavily good people working on factorio :0 and their blog is super interesting
23:23
sadly don't understand it :'(
Avatar
i think for tw it might be enough to cache the vertices on the gpu instead of a texture
Avatar
won't that cost some vram though?
23:24
if gpu performance is a concern at this point, so is vram?
Avatar
well not the whole map but only some chunks around the current view
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:24:40Z
chunks for maps could be a thing too huh?
Avatar
performance is not a problem ingame. but in the editor 😄
23:24
not for the maps itself but for rendering maybe
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:24:58Z
i have the feeling that very big maps can make trouble
23:25
iirc last time i tried making a big map it crashed clients
Avatar
right now we need to calc all vertices per frame and send them to the gpu
23:26
we could instead cache the vertices for chunks
Avatar
[freenode] ChillerDragon BOT 2020-02-10 23:28:00Z
the background scrolling seems to help with weak and integrated cpus
23:28
that might fix the raspi issue JewZeus mentioned
Avatar
anybody knows the state of the raspberry gpu drivers?
23:29
they should have enough power to run tw but maybe the driver is the problem
Exported 614 message(s)