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 2020-10-12 00:00:00Z and 2020-10-13 00:00:00Z
Avatar
9a8bd3b M Sunny Land, A UpNDown Coop - ddnet-maps
Avatar
[quakenet] Obiwan BOT 2020-10-12 04:43:25Z
Hey @deen
04:43
What is "sixup connections"?
04:44
I googled it, but found a site for study in europe
04:44
nothing more about programming or network main
Avatar
e84d3a2 makes the game jittery all the time, even though my fps (cl_showfps 1) doesn't drop at all. It hurts my eyes and affects my ability to play the game. There's also occasional tearing. I tried capturing it on video but it's kinda hard to notice in the video for some reason. I used git bisect to determine that this is the commit that introduces the jittery-ness and graphics tearing. @Jupeyy can you please post the specs of the pc you test this with? keep in mind tw is a "[A retro mult...
Avatar
[quakenet] deen BOT 2020-10-12 05:37:44Z
Obiwan: It's our way of providing Teeworlds 0.7 net protocol compatibility in DDNet Server
Avatar
Unsigned let's you think about the math u do. They nice
06:55
Google doesn't even give a reason. So thumbs down on that
Avatar
"Bjarne Stroustrup says that unsigned ints are error prone and lead to bugs"
06:57
@Deleted User the creator of c++ says things too
06:57
xd
Avatar
In my mind the main danger comes from the very common value 0 being one-off to an underflow. much higher chance of going wrong than with int64_t
Avatar
321c761 Remove Umbra from ddnet mods (stays pvp mod) - def-
Avatar
well teeworlds is the best argument against this. unscalable, full of undefined behaviour, negative array accesses that arent checked
07:16
int to floats, floats to int without thinking
07:16
ever wondered why we dont have a full 360° cursor in teeworlds
Avatar
wdym 360° cursor?
Avatar
m_HookDir.x = pObjCore->m_HookDx / 256.0f; m_HookDir.y = pObjCore->m_HookDy / 256.0f;
07:17
bcs we just kill the precision
07:17
if that would be 1024, tw would be much nicer already
Avatar
move ur cursor very slowly
07:17
with hook line
07:17
and u'll notice
Avatar
is that why some hooks thru corners from far away dont work well
07:17
because of precision
Avatar
if the hook is long enough probably,
07:18
u just saved me
07:18
alot of time thanks
Avatar
u cannot change this
07:18
the client uses it for network
Avatar
yes thats why it saved time xd
Avatar
ok xD
Avatar
i thought i messed something up
07:18
didnt consider that it could be limitation of tw protocol
Avatar
one thing is true tho, try not not mix data types
07:20
but i dont see an argument against unsigned
07:20
if unsigned underflows u are fucked
07:20
so u need to care much more than with ints
07:20
signeds*
Avatar
array[-1] and array[2147483648] will both crash
Avatar
yeah bcs -1 is probs converted
07:21
but (ptr - 1) might be a legit memory address
Avatar
and thats undefined by your source probably
07:22
not invalid read write, but undesired
Avatar
and undefined ye
07:31
we prefer todo this instead of not program like this xd
Avatar
wizard
Avatar
The bounds checking on gcc is absolutely shit, we are in the right to silence it
Avatar
i dunno std::array for example typedefs its size_type to size_t, so the [] operator would require unsigned
08:15
(what i am just saying is, the compiler probs prefers to warn than to create user undesired behaviour)
Avatar
@Learath2 To be fair, C++ standards commitee is in an impossible situation. They want 100% backwards compatibility, new features without any cost, and modernize the language at the same time.
Avatar
Exactly, it's clear to any sane person that they have to give one up
Avatar
But they wouldn't be C++ if they did that. Other languages fill the other niches
Avatar
(I'd give up the backwards compatibility, with one major revision of time to fix deprecated stuff)
Avatar
Hello Python 3, my good friend
Avatar
but isnt backwards compatibility what makes c++ stay for so long
Avatar
Unmaintained code can be compiled with old compilers
Avatar
The idea in C++ is instead to use something like clang-tidy to enforce modern stile in new code bases and to try to clean up old ones
Avatar
Pythons upgrade was such a mess because they didn't want to commit to it. They let the userbase draaaaaag it on
09:23
Oh and that guy the benevolent dictator for life, he was just too benevolent
Avatar
Oh, they wanted to commit. But the user base was strongly against it, and the same would happen in C++ but much stronger
09:23
c++ fanatics
09:23
like learath
09:23
monkalaugh
Avatar
What are you on about? I don't even like C++
Avatar
you like C right (edited)
Avatar
@deen users don't know what's good for them, that's why we have committees making decisions
09:25
Especially the average python user
Avatar
Not that it says much, but I was a bit shocked to see C move to number 1 on TIOBE Index: https://www.tiobe.com/tiobe-index/
09:25
i wonder why it is first
Avatar
mostly because Java went down, not C up, but anyway
Avatar
Huh, I wonder where the java devs went
09:26
Js maybe?
Avatar
PHP going up justatest
09:26
damn wordpress
09:26
i think java went down due to oracle
09:26
doing that paid thing
Avatar
What did they do?
Avatar
you have to paid to have a LTS version
09:28
or something like that
09:28
pay*
Avatar
[4:25 AM] deen: Not that it says much, but I was a bit shocked to see C move to number 1 on TIOBE Index: feelsamazingman feelsamazingman feelsamazingman
Avatar
This post gives an overview of the new Java release train as it was announced by Oracle. Plus, the article provides some important information and hints how you should handle new Java releases in the future and helps you to decide if you need to buy commercial Java support or ...
Avatar
@Learath2 they are speeding up java development
09:28
Starting with Java 9 most Java version will only have a lifetime of 6 months. Updates won’t be provided for the version after this period. Even if you have a commercial contract with Oracle you won’t get any additional updates for Java 9 or 10 after these 6 months. Plus, all 3 years a LTS (long term support) version of Java will be released. The first version with LTS support will be Java 11 that is scheduled for fall 2018. This LTS version will provide a commercial support with updates for 8 years.
09:29
as u know companies want stability
09:29
so they seek LTS versions
09:29
i think
09:29
then u have to pay
09:29
xd
09:29
idk maybe i misunderstood
Avatar
PHP going up justatest
i know some php
09:29
it isnt really good
Avatar
The most important fact is that updates for LTS versions can only be accessed and used by people that buy commercial support at Oracle. My experience is that today most companies that develop Java based software do not have commercial support since the release train of Java was quite „friendly“ and an adoption of the newest version was easily possible.
09:29
this ^
Avatar
I doubt the commercial support being paid is an issue
Avatar
before new java releases were rare
Avatar
Java 11 is soooooooo stable
Avatar
but now they are speeding
Avatar
Even the open source version, pretty much everyone uses that
Avatar
btw i think java 15 is modular or smth
09:30
yeah
09:30
but those wont receive updates
09:30
if u donth ave commercial
09:30
support
Avatar
multiline strings were added with ` in java 12 (edited)
09:31
lol
Avatar
Oracle JDKs may only be used in production if you buy the commercial support. I
09:31
also this
Avatar
what do you expect from oracle than wanting money
Avatar
u can no longer use oracle jdk freely
Avatar
well that commercial thingie really sucks
Avatar
most minecraft stuff is still java 8
09:32
i wish they updated
09:32
coding spigot is quite fun
Avatar
java 8 is enough for a java dev i suppose
Avatar
Well do you really need updates to java 11?
Avatar
my son will rise up and conquer the world
09:33
monkalaugh
Avatar
i have both 8 and 11 but 8 still does my stuff
Avatar
OpenJ9 maintains LTS releases too and you can use them
Avatar
there are good featurs in new java versions
09:33
getting stuck in 8 is n ogood
Avatar
its just enough
09:33
i dont say its bad
09:34
nor good
Avatar
Java's streams are so nice to work with
Avatar
java 9 intoduces modules
Avatar
maven exists
Avatar
They really made functional programming quite palatable and usable
Avatar
i agree with that
Avatar
i dont like ppl who are content with "enough"
09:35
weak mindset
Avatar
it just does what i need
09:35
i wouldnt need a higher version than 11
Avatar
yeah why software gets updates
09:36
stupid developers
Avatar
to get better ofc
09:37
but i see no reason to update while there is no need
Avatar
@deen can you put in the readme the dependencies needed for videorecorder on debian atleast? they arent there 👀
Avatar
what are the dependencies? ffmpeg?
Avatar
libx264-dev libavfilter-dev libavdevice-dev libavformat-dev libavcodec-extra
10:13
libavutil-dev
10:13
im finding them
Avatar
then you make a PR
Avatar
yeah, i thought u knew all them tho
10:14
also
10:14
cmake complains this By not providing "FindSQLite3.cmake" in CMAKE_MODULE_PATH this project has
10:14
but then it says
10:14
-- Checking for module 'sqlite3' -- Found sqlite3, version 3.27.2 -- Found SQLite3: /usr/include
10:14
which makes no sense to me
10:14
(this on debian)
Avatar
maybe @heinrich5991 knows better about cmake problems ^
10:21
i set this up
10:21
ill make daily scans
Avatar
I'm not a big fan of daily scans. I think we should fix them and enable clang-tidy with those checks in github so we notice on the PRs directly
10:22
and not only after they are merged
Avatar
yeah but we should fix all first
10:23
otherwise the prs will get a x tick right
10:23
and its not their fault
Avatar
Yes, but you could also mark all existing ones with an exclude if you don't want to fix them immediately
10:24
// NOLINT(clang-analyzer-core.DivideZero)
Avatar
06ede17 Add videorecorded depedencies - edg-l 8577990 Merge #3073 - bors[bot]
Avatar
well i dont know much about configuring the CI and stuff
Avatar
make it work locally and we can get it done
10:28
basically just copy the normal build and run it with clang tidy on
10:29
and in the .clang-tidy file set WarningsAsErrors: '*'
10:30
And Checks: -*, clang-analyzer*. You could test if that results in the same failures you're seeing with clang-analyzer
10:33
looks like cmake has clang-tidy integration
Avatar
yeah, so -DCMAKE_CXX_CLANG_TIDY=ON -DCMAKE_C_CLANG_TIDY=ON should work
Avatar
ec16abd Fix skin load - Jupeyy 9b153b1 Merge #3074 - bors[bot]
Avatar
that variable doesnt work like that
10:44
u set it in cmake: set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-,readability-)
10:44
and then when u run ninja
10:44
it shows the warnings
10:44
and there are quite a lot
10:44
xd
Avatar
set it just to clang-tidy and use a .clang-tidy file as I described
10:45
not all checks make sense for us, start with the clang-analyzer ones
Avatar
treating it as error wont show all the warnings tho
10:55
src/game/collision.cpp:1030:2: error: Variable 'f' with floating point type 'float' should not be used as a loop counter
10:55
well this makes sense
10:56
oh
10:56
the CI doesnt have clang-tidy installed
Avatar
Hm, we could grep for warnings in the output or use make --keep-going
10:57
just add it in the installation at top
Avatar
where do put keep-going hm
Avatar
in the call to make, but I think we don't call make explicitly but make cmake call it
11:01
cmake --build <dir> -- --keep-going
11:01
so just add the -- --keep-going at the end
Avatar
@deen why put .clang-tidy in src?
11:05
i think cmake detects it fine in the base dir
Avatar
Hm, I guess it's fine
Avatar
ur github comment was a bit weird formatted
Avatar
Just thought it's more specific in src, but we don't really have other source code around anyway
Avatar
thanks to markdown xd
Avatar
oops, fixed
Avatar
@deen its full of unknown warning option
Avatar
I can give it a look, is your pr up-to-date?
Avatar
i mean the CI btw
11:11
yea
11:12
localy it shows warnings correctly
11:13
Why did you set clang-tidy always on for every build?
Avatar
well im testing
Avatar
I think the idea is to have a separate clang-based build
11:14
where are the errors then?
Avatar
when u compile
11:14
or what errors u mean
Avatar
you said locally it works, where are the failures in CI
Avatar
it doesnt recognize the warnings added by clang-tidy i guess
Avatar
what doesn't?
11:15
where can i find the failures?
11:15
look at
11:15
build debug
11:15
anmd scroll down
11:16
its full of unknown warning option
Avatar
That is a clang-tidy warning
11:17
localy it looks like this to me
11:17
Avatar
also, is it building with gcc? we should be using clang for that I guess
Avatar
i think heinrich can do this better
11:18
im no cmake magician
Avatar
I can also try to finish it up if you want
Avatar
go for it
Avatar
470 warnings treated as errors
The actual work will be fixing those or at least NOLINT(clang-analyzer-optin.cplusplus.VirtualCall) them so we can enable this.
Avatar
oh nice
Avatar
Float as a loop counter is a first for me
Avatar
@Learath2 wdym by first for me
11:42
as in top priority? or as in u never saw it
Avatar
Never saw it before
Avatar
I hope we don't actually use it to index anything 😛
Avatar
I'll try to fix the clang-tidies we have for now
Avatar
looks like lot of work
Avatar
See my update in https://github.com/ddnet/ddnet/pull/3076, mostly all the same
Avatar
Oh, we should probably exclude external stuff too
11:44
I see 1 warning in wavpack atleast
Avatar
yeah, will try
Avatar
"Failed to finalize filesystems. Ignoring" Thanks systemd
11:53
I always prefer corrupt filesystems over waiting a couple seconds or actually troubleshooting
Avatar
if anyone can hep :(
Avatar
After spending almost a year with systemd and archlinux, I have to say, I'm quite unimpressed
12:05
It's all packaged for even a goof to be able to use linux, but it's a rolling release. A rolling release always has issues and archlinux gives you no way to fix them
Avatar
i have yet to find a issue tho
12:05
and im using it since a year too
Avatar
Well do you get the failed to unmount oldroot on shutdown?
Avatar
also ur quite wrong usually when there is a problem with a package update they post a news
Avatar
They decided the best course of action, is to try to unmount and if it doesn't work, ignore it
12:08
It tries to synchronize my filesystem fails, just ignores it
12:08
During boot I get like 10 driver issues, none of them have been fixed even though they've been reported for weeks
Avatar
ah and that is systemd fault?
Avatar
If it wasn't a PITA, I would just build the kernel without the overzealous drivers trying to attach to hardware that they are not for
Avatar
in what way are driver issues arch fault
Avatar
If it wasn't a PITA to build an initrd with systemd, I would just fix the stupid script that's trying to unmount filesystems that aren't even mounted
Avatar
and "weeks" is a small time imho
Avatar
@Ryozuki it's a rolling release that gives me no way to fix it myself. It would never happen in debian, because even though they give you no way to fix shit, they follow the kernel sooo slowly it doesn't matter
12:11
On gentoo it's absolutely trivial for me to just not build these drivers I don't need
Avatar
omg man
12:11
just install the lts kernel
Avatar
how can i increase the fps
Avatar
u have solutions
12:11
u just dont know them
Avatar
cl_increasefps 1
Avatar
linux-lts
Avatar
My solution is to use an old kernel on my rolling release distro?
12:11
Thanks
12:12
use linux-lts44
12:12
from aur
12:12
if u want
12:12
how is a new kernel driver bug arch linux fault?
12:12
ur insane
Avatar
noby biggest stalker
12:12
i was reading the chat
Avatar
stalker
12:12
lol
Avatar
thats what a stalker would do
Avatar
It's not their fault that the driver is broken, it is their fault that they provide no way for me to not have the broken driver
Avatar
they do proivide one
12:13
use a older kernel
12:13
and wait until its fixed
12:13
u can also make ur own aur package
Avatar
Anyway, some people just don't care about any of this and they are free to use archlinux and shit over other peoples opinions online
Avatar
and configure it how u like
Avatar
did u know u can configure and use pkgbuild files to ur own liking?
Avatar
also runit really fast
Avatar
@nori xdd
12:14
thats not his problem
Avatar
I'll just go back to gentoo where I can just build my system however I want
Avatar
cuz i actually told him about using older kernel
12:14
you can do that
12:14
the fact that u dont know or arent willing
12:15
is urs only
Avatar
I am not willing to spend time building a whole package to customize my kernel, yes.
12:15
lol
12:16
why do i even talk ur just set in stone already
12:17
use ur allmighty gentoo and done
Avatar
Exactly, I don't get why you are throwing stuff at me. I tried, I don't like the unflexible nature of this distro. Opinions are opinions
Avatar
i go back to watching anime
12:17
cuz it triggers me u say u cant when u can
12:17
u just dont like t he way u can
Avatar
Exactly, It's very inconvenient IMHO. It might be convenient enough for you
Avatar
also why are u even using arch linux if u have systemd
12:18
are u a masochist
12:18
xd
12:18
hate*
Avatar
Because people tell me I'm not allowed to have an opinion about systemd before trying it
Avatar
ah sure its that
Avatar
IMO that's like saying I'm not allowed to hate on nazis before being a nazi. You can disagree with something without trying it, shocker
12:20
Anyway, now that I'm done with my experiment and I can freely rant. I'll be heading back to gentoo
Avatar
im not sure ithats
Avatar
Or maybe I'll try one more on the way
Avatar
i wouldnt use a distro just to prove someone wrong
Avatar
I didn't do it to prove someone wrong. I just geniunely wanted to know what people saw in systemd and a binary rolling release distro at the same time
12:21
just use this 4Head
12:21
monkalaugh
Avatar
That's just too much work. Gentoo gives me almost the same level of customization without spending half a decade putting together my own distro
Avatar
well cya until u finished compiling (edited)
12:22
monkalaugh
Avatar
Did you know what with a well configured kernel, you can even use the computer while it's compiling?
Avatar
yeah im joking
Avatar
idk if its already reported, but: http://prntscr.com/uxqr1n
12:36
when i spec and my time is over 1hr, hindus skin is over his time
Avatar
[quakenet] deen BOT 2020-10-12 12:36:42Z
yes, fixed
12:36
will release fix now
13:13
Avatar
55ae83a css: Make it harder to download thumbnail in forum (by Soreu) - def-
Avatar
Build will fail bcs of clang-format, i'll update this comment to explain.
Avatar
Am I the only one who has to double-tick "borderless window" every start of a non-fullscreen 15.0.5 DDNet client?
14:25
As it starts as border windows regardless of the setting is loaded correctly to an ui.
14:25
Avatar
Weird, sounds like an SDL bug
14:28
oh wait
14:28
we only create borderless window on mac, that seems wrong
Avatar
No, in linux borderless windows works fine. It's just it ignores the setting on load. I mean it loads setting in UI but doesn't apply it to the game window @deen
14:35
If uncheck/check it after load it applies.
14:36
yeah bcs its only ignored when initialized
14:36
Exactly. Please don't remove borderless windows from linux build 😅
14:36
he did the opposite
14:36
I cannot use full-sized as they give me more problems.
14:36
he added it again
14:37
Nice, thanks for adding it
14:37
So... please leave borderless windows as it is. I will just silently leave 😅 no need to remove it.
14:38
I will tolerate this small bug. k thanks bye
14:38
?
14:38
As I understand you were going to remove borderless window functionality from linux build.
14:38
Please don't.
14:38
dude
14:39
read my sentences carefully
14:39
i don't know who did the oppisite and what. Still don't get it
14:40
see the github popup xD
14:40
ah... my brains filters github popups
14:40
thanks!
Avatar
if unsigned underflows u are fucked
@Deleted User if you use something to index into an array, it doesn't really matter whether it's an unsigned or not, right?
15:04
I think -1 and MAX_INT behave the same for accidental out of bounds reads/writes
15:04
MAX_UINT*
15:05
they both access the array element before the first one
15:05
@Deleted User what do you think about blacklisting opengl drivers like chromium does? https://discordapp.com/channels/252358080522747904/293493549758939136/764996392300707851
Avatar
Are you sure? MAX_UINT would probably go over
15:07
Ah, array indexes are signed aren't they
15:08
Actually not really sure, the standard seems to just say "integral type"
Avatar
c style arrays should be ptrdiff
15:10
@heinrich5991 i only mean, that -1 might not crash while 2^64 will crash for sure
15:10
@heinrich5991 generally ok, but i dunno if we even require this anymore, the fallback catches everything rn i think
Avatar
@Deleted User why will 2^64 crash for sure?
15:12
2^64-1 will access the previous array elemetn the same way as -1 as far as I can tlel
Avatar
mhh yeah converted to ptrdiff probs
15:12
tho, e.g. for iterating
15:12
it will crash for sure xd
Avatar
but for iterating, -1 actually does the sane thing
Avatar
while with signed it might not even enter the loop
Avatar
int i = 0; i < -1; i++
Avatar
yes
15:13
thats bad, might create undesired things
Avatar
ok fair
15:14
but it's unfair to say that the problems in teeworlds come from signed integers
Avatar
not directly
15:14
but i still would use int for alot of stuff
Avatar
the problems in teeworlds come from missing bounds checking or from C/C++'s problems of not automatically bounds checking
Avatar
thats fair too
15:15
ofc rust would be nicer in general, but the question is, how would other devs react to that
15:16
or better: with infinite time, c is never better than rust
15:18
and yeah, scalability is something else too
15:18
i know it might sound crazy to have support for 16k textures, but we laugh about this now, not in 20years xd
Avatar
Most any compiler I know of will catch the infinite iteration because unsigned btw
15:23
gcc, clang, icc and msvc all have warnings about it
Avatar
it cannot predict user input
15:23
load a tw map, make the camera go somewhere insane
15:23
smth like this
Avatar
I'm sure there are compilers/settings that can make this even more paranoid to cover for the user input case
Avatar
or negative zoom lvl
15:24
smth that isnt really expected
Avatar
gcc already does a lot with trying to predict the range of values a variable can ever be
Avatar
well we had a bug
15:24
with the camera going outside the kill borders
Avatar
Avoiding a data type because people used it wrong back when gcc4 was current is a bad idea imho
Avatar
fixes #2766 Appearently the center of the camera can even go outside of the kill border(like even left from it) I also notice that sometimes when zooming out, and then in again the zoom level gets ...
15:25
we caught it bcs it uses unsigned, and crashed bannzays game
15:25
ofc this wouldnt be insanly critical with signed
15:25
it would just not render something at all
Avatar
looks like learath still havent seen jupstar ui pr justatest
15:25
war incoming
Avatar
@Ryozuki i made it as simple as the tw gui btw
Avatar
What is unsigned there anyway? m_Zoom?
Avatar
i havent added something insane, and the old ui is still in tact
Avatar
yeah i know
15:26
im ok with it
Avatar
@Learath2 it renders a unsigned amount of tiles
15:27
How did it crash the game anyway?
Avatar
mhh, wait gonna look into the code
15:28
can this for some magical reason
15:28
change game physics?
15:28
justatest
15:29
i wish github links didnt include a fcking massive image embedded everytime
15:29
so annoying
Avatar
@Ryozuki I welcome a UI cleanup, it's been in a horrible state for so long
15:29
Though I am a little concerned about a capturing lambda in the hot path 😛
Avatar
yeah i also thought about that
15:30
is it me or github also shows the tabs however it wants?
Avatar
Compilers are actually great with them nowadays, gone are the early days of wasteful captures but still, needs investigation and thorough review
15:31
its dark theme fault
15:31
damn
Avatar
@Ryozuki github does that, you can set it to a value with the dark theme though
Avatar
in RenderBorderTileEmulation i implemented the bordertiles in a loop, just like a opengl driver would do it, so it creates a specific amount of tiles to render
Avatar
@Ryozuki github does that, you can set it to a value with the dark theme though
@Learath2 where
Avatar
How did you install the theme? Stylish?
Avatar
stylus
Avatar
u in vs?
15:33
debug mode?
Avatar
@Ryozuki
Avatar
this happens a lot in china already, not a good sign.
Avatar
oh
15:34
thought its just curl does support https xD
15:34
it has customization
15:34
damn this is good
Avatar
happened to me in windows debug mode
Avatar
I assumed cloudflare would mitigate the effects of the great firewall 😦
Avatar
maybe add a mirror in a china server
Avatar
i think cloudflare are heavily restricted already
Avatar
I'm not really very familiar with how one routes based on geolocation
Avatar
when that happens, can you ask them to go to the URL manually?
15:35
in a browser
Avatar
which one
15:35
i don't know the full url 😄
Avatar
also does the client retry?
Avatar
I think it does when you refresh, not sure though
Avatar
might just be outbound QoS by ISPs at high stress.
15:37
but it is 11pm so might not be. anything outbound is slow between 6pm - 9pm i think
Avatar
what QoS outright blocks the request to a HTTPS page with low traffic?
Avatar
by outbound i mean out of china
Avatar
does cf not have servers in china?
Avatar
thonk they might dropped it, not blocked completely
Avatar
tcp retries if packets are dropped
Avatar
then i have no idea
15:38
doggo_lol
15:39
they didn't respond, it might be fixed itself
Avatar
I'm not really very familiar with how one routes based on geolocation
@Learath2 some months ago i got millions of traffic from china to my website and i had to geoban them
Avatar
The larger the network, the better performance we can deliver to our customers. Our DNS Server Map highlights our 155+ data centers around the world.
Avatar
seems like it does have servers in china
Avatar
i think china servers are handled by Baidu, don't know how it works. let me check.
Avatar
@Ryozuki in this case we'd need to route before it hits our servers, that sounds impossible
15:40
I don't really know how CDNs do it, the clients don't have a way of choosing the closest server
Avatar
yeah, you need to call cf as a enterpirse customer to use china server
15:41
For the Cloudflare China CDN we've partnered with Baidu to create a global content delivery network, with fast website speeds, secure browsing, and China DDoS protection.
Avatar
An ICP license is issued by China's Ministry of Industry and Information Technology (MIIT)
Avatar
oof, plus you need a ICP
Avatar
i have one tho
15:42
it is outdated, but i can renew it
Avatar
You are a licensed internet content provider in china?
Avatar
Guys, how do you fight spam on your forum? Do you have some kind of extensions or automatic solution or it's hand labor of post-moderation.
Avatar
i combat it by not having a forum
15:43
greenthing
Avatar
it is content provider, not internet provider, i have it for teeworlds.cn
Avatar
You can choose to place your private SSL keys in our China data centers
Guess what will happen to your private keys 😉 baidu_wink wink
Avatar
@Deleted User Premoderation on registration
Avatar
but thats since the forum is not active
15:44
as much*
Avatar
cloudflare business is 200$/m
Avatar
cloudflare enterprise is contact us/m
15:44
probably more than business
Avatar
tbh i can try mirroring some of ddnet on teeworlds.cn if i get my shit together
Avatar
Contact Us/m is usually businessspeak for way out of your budget unless you have investors
Avatar
@TsFreddie mirroring isn't really possible, it's dynamic content
15:45
I guess you could mirror the static content and use the dynamic one if it's contactable
Avatar
If ddnet was popular enough I bet they would let us have it for free as a PR stunt. "Helping the open source community"
🍷 1
bluekitty 1
Avatar
thanks, @Learath2
Avatar
not sure
15:46
they quoted us 5k$/m for game ddos protection IIRC
Avatar
thonk info.json is probably fairly static, maybe a short cache
Avatar
no
15:46
it's different per player
15:47
it contains your finished maps
15:47
so basically no way to cache
Avatar
@heinrich5991 we just don't give them enough exposure at this size. It'd be a waste to help us for cheap
Avatar
ah
Avatar
thonk then..
15:47
i'll let tell them to restart the client then, that worked so far (edited)
15:47
lol
Avatar
You see how they instantly took in brian krebs for free after akamai dropped him, who were carrying him for free too?
Avatar
It's all about exposure for these businessppl
Avatar
thonk or maybe made a warning a banner with a retry button instead of a full-on popup.
15:49
it scares ppl i think
15:49
and it is red too
Avatar
is it bad to be red
Avatar
We could attach a severity to the warnings and color the popup accordingly
Avatar
arent chinese very red
15:49
the flag
15:49
etc
Avatar
ddnet-info.json failing to download is definitely not as fatal as red warning would imply 😄
Avatar
thonk but you don't stare at the flag every day on your pc
Avatar
why not
Avatar
why would you
Avatar
@TsFreddie they can just refresh on the ddnet tab btw, that should retry getting ddnet-info.json
Avatar
i see
15:50
cuz u love ur country
Avatar
but still, probably change it to some other color
15:50
doggo_lol
Avatar
Yeah I'll add it to my TODO
Avatar
and possibly no popup
Avatar
No popup would make it a tad hard to indicate the warning in a generic way
Avatar
true.
Avatar
Can you create an issue about it so I don't forget and someone else can take a whack at it if they want to?
Avatar
saddog or you can make the refresh button red or something
Avatar
I thought the exact same thing, but keeping that generic is quite hard
15:53
I'd need to check the warnings list before rendering any component
15:54
Since components don't really exist until rendered I don't see any other way
Avatar
is github really slow right now or it is just china
Avatar
works for me
Avatar
works for me
Avatar
feelsbadman
Avatar
feelsgoodman
Avatar
i have a proxy, but both proxy and direct connection is pretty slow
16:01
also this
Avatar
it does look like a avatar ngl
16:05
nvm, github isn't going through my proxy because it is technically not blocked
16:05
it works now. thx
Avatar
@Moderator Robert blocking on ger1:8312
✅ 1
Avatar
2d88d44 Reset renderflags directly after use - Jupeyy 8f65839 Merge #3079 - bors[bot]
16:52
clang 11.0 out
16:52
poggers
16:53
clang’s AST now improves support for representing broken C++ code. This improves the quality of subsequent diagnostics after an error is encountered. It also exposes more information to tools like clang-tidy and clangd that consume clang’s AST, allowing them to be more accurate on broken code.
Avatar
i have clang 12
16:54
@Deleted User how x
16:54
d
16:54
u can add devel source
Avatar
ah 12 is in development
Avatar
yes xd
Avatar
i use arch btw
16:55
lol
Avatar
does arch not have dpkg and apt ?
Avatar
lmao no
16:55
it has pacman
16:55
and AUR helpers
Avatar
i mean optionally
Avatar
u can install that version im sure
16:56
with clang-git pkg or smth like that
16:56
16:56
see
Avatar
ez
Avatar
but why u want the dev version
16:57
do u test new llvm stuff?
16:57
xD
Avatar
well c++20 features, and also i had a bug some day and i was annoyed xd
16:58
since then i didnt deactivated it xd
16:59
ah
Avatar
@heinrich5991 u obviously know that, but, if you not use size_t(on 64bit) there is ofc still a case where unsigned int is different but to be fair, i'd probs use size_t most of the time when i work with ptrs directly, and then this ofc is equal to -1
Avatar
yea, with 32bit integers on 64bit platforms, -1 as an index is different between signed and unsigned
Avatar
makes me wonder if a 128bit compiler(emulated) would find some very rare bugs 😄
Avatar
200c4fc Fix alignment issues in CCommandBuffer - Learath2 d006b40 Merge #3068 - bors[bot]
Avatar
f85db90 Make initial borderless work again - def- 3244eba Merge #3078 - bors[bot]
Avatar
Alguém BR
Avatar
Ofc not all NaNs are terrible, the most important thing is, that these NaNs arent used as integers, or other critical behaviour i added feenableexcept(FE_INVALID); to test this. tested a bit, the game felt the same, the shotgun bug is fixed by this(ofc undesired) Maybe we can collect them and see what can be fixed
Avatar
@deen u dont know the shotgun bug? XD
Avatar
thats funny
20:26
bcs its used in brainduck i think
Avatar
there are no physics bugs
Avatar
xDD
Avatar
everything is as it is supposed to be
Avatar
tho we could think about fixing it like heinrich did with grenade
Avatar
if the shotgun bug is the one where u get speed to one side with spec
20:36
or when u go one direction and shot a side
20:37
they are used in maps
20:37
also shotgun bugs are fun
20:37
pls dont remove them
20:39
fun
Avatar
hes trolling xd
20:42
deen always trolls xD, he just makes it so perfect that u think hes not
Avatar
[quakenet] ChillerDragon BOT 2020-10-12 21:08:53Z
deen is a unkown troll
21:08
omg a typo
21:12
and btw stop "fixing" features
21:12
whats next fixing the wallhammer?
Avatar
NaN = not a number, so, basically this is non existing
21:14
it never existed
21:14
what shotgun bug?
Avatar
[quakenet] ChillerDragon BOT 2020-10-12 21:17:10Z
@noby im legit and no 🤖 confirmed by duck.com https://zillyhuhn.com/cs/.1602537337.png
Avatar
kclient has zoom and tracers and radar
21:17
so ban u
Avatar
[quakenet] ChillerDragon BOT 2020-10-12 21:17:49Z
oof
Avatar
chillerbot-zz.exe
21:18
kek
Avatar
[quakenet] ChillerDragon BOT 2020-10-12 21:26:51Z
Welcome, on Rafael's Brony Network [DashNet]
21:26
21:27
similar sites ranking to teeworlds.com lol https://zillyhuhn.com/cs/.1602537961.png
Avatar
whats tracers and radar
Avatar
[quakenet] ChillerDragon BOT 2020-10-12 21:27:56Z
What marketing strategies does Teeworlds use? Get traffic statistics, SEO keyword opportunities, audience insights, and competitive analytics for Teeworlds.
Exported 668 message(s)