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-12-03 00:00:00Z and 2020-12-04 00:00:00Z
Avatar
Hello, I just downloaded ddnet from steam and when I open it a window with some codes appears and then the game is displayed full screen and it closes instantly, I tried several times and when opening it for a frame you see how many pages I have and there are many of the game but I can't play ¿? https://media.discordapp.net/attachments/779761780129005568/782958737447059476/unknown.png?width=447&height=250
Avatar
all these reports seem to come from win7 users
Avatar
is it a win7 problem then?
Avatar
have you tried using outdated or just non steam releases?
02:21
maybe that could help
Avatar
And will the online work if it is not of steam?
Avatar
i dont know but you can try
02:26
keeps happening ._ .
Avatar
try using an old version of the ddnet client from ddnet.tw/downloads like this https://ddnet.tw/downloads/DDNet-10.6.2-win32.zip
Avatar
better dont use such old clients
02:28
they reset config variables and are less secure
Avatar
or download 0.7 client
02:28
like fclient
Avatar
0.7 is bad
Avatar
0.7 best
07sucks 3
07simp 3
Avatar
the best is you try the version before and if that works, its just a bug that probably will be fixable
02:29
@Nax are u on 32bit windows?
Avatar
its not 0.7 being bad its noby being bad at 0.7
02:29
I have 64bit
Avatar
alright
02:30
can you try this version?
02:33
keeps happening
Avatar
ok, then i guess a dev with windows 7 has to debug the problem
02:34
@Learath2 did you find something useful in your last windows debug session?
Avatar
@Nax random question but is your username in windows "User"?
Avatar
when u click on C: there is "Users"
02:43
is there a directory that is called "User"
02:43
User Public
02:43
and so on
Avatar
XD is a meme in spañish
Avatar
so its "User"?
02:45
Avatar
''pixelsaurio insensato''
Avatar
click that and type C:\Users
Avatar
Avatar
hussainx3
ddnet suggestionddnet mitigation crowding the skins (put one inside and if i click above appears the other skins colors there like this) result this= 1-more tidy and easier for see 2-makers the skins can make more than one for same a skin with other color or design without been haveing problems 3- two enough XD
hmm seems everybody busy i not get f4 but not get f3 toocammo
Avatar
is there then a item called "User"?
Avatar
Avatar
Souly
ddnet suggestionddnet Update ddnet skin system to 0.7 skin system result = everyone happy
my suggestion is even better
03:32
feelsamazingman
Avatar
today was a bad day at aoc 😦
05:25
im reading the problem
05:25
who allowed the difficulty to spike so much from 2 to 3
Avatar
a678f9b A Push Them, M Putt Putt - ddnet-maps
07:25
Why would you do it like this? we have CLIENT_MAIN and CLIENT_DUMMY already, just add another entry NUM_CLIENTS or so
Avatar
@Deleted User someone else had a similar problem: https://steamcommunity.com/app/412220/discussions/0/2972902433493341292/
The game crash when launched : there are many windows opening after the console closed. No error message nothing.
Avatar
4353a2e Update some funding details - def-
Avatar
I'm wondering how much the current servers would cost for a year
Avatar
I'll calculate it soon
Avatar
if it's too much, I'd suggest closing some server
Avatar
there is strong opposition to closing them
Avatar
I'd consider 2k€/y unsustainable (edited)
Avatar
I see 4 ger servers in central europe (2 should be fine), we have two rus servers in the same location, I don't know how close brazil and argentina are in terms of ping, but I'd guess one brazil server in sao paulo would be enough, then we have korea&japan, where one would probably be enough
07:46
I guess I could try gathering some player statistics
07:50
@TsFreddie how did you translate ddmax into chinese? ^^
07:50
"traditional"?
Avatar
I think @Dan_cao did the translation
08:11
古典 - classical
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 08:38:09Z
idk if im stoopid and fished but why does digitalocean send me a mail containing this url http://mkto-ab430114.com/ ? Any idea on how i can make sure its legit
08:38
its not even https like woot and it redirects to hacktoberfest just fine
Avatar
yeah, that seems fishy, I wouldn't trust that email
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 08:41:20Z
me neither well i clicked already so yikes
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 08:50:06Z
i mean the sender looks fine but isnt that easy to spoof? Im sure one of u haxxors knows how to find something in the metadata https://paste.zillyhuhn.com/NH
08:50
pls dont hack my mail xd
08:51
ah fuck mktdns.com looks like a big flag
08:51
i can't belive i got bamboozeld
09:20
[ddnet/ddnet-web] New branch created: pr-funding-2021
09:25
ChillerDragon: Probably they use Marketo, thus the mkt* domains. I'd bet they use weird domain names for tracking? But still really annoying. PayPal does similar things where they send you to random domains that are not paypal.com but paypal-marketing-foo.com...
09:26
my DO mails also have this mktdns in them
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 09:38:58Z
wait deen are you saying this is an official DO mail? And they need another redirect to track me?
Avatar
that's my guess, yes
09:41
saw nothing weird in the email header, except the mktdns, but they use that all the time
Avatar
@louis day3 is always a spike for aoc
09:55
@Deleted User I didn't really find anything that could cause this. It would be so useful to know where the crash happened :/
Avatar
Imo todays aoc was easier, than day2. Today you just need to know about modulo, yesterday you needed to parse a string.
Avatar
I didn't look at it yet
10:01
line = line * 1000 > %
Avatar
Ah it looks quite simple
10:03
I would do modulo too
Avatar
Day 3 looks harder than it is
Avatar
yea i was just in a rush and went for the first thing that came to my mind ^^
Avatar
Yeah, just like last years, if you sit down and think about it it wasn't actually that bad
Avatar
When they introduce the 2d grid is when it starts looking scary :P
Avatar
add me on https://www.codewars.com/users/Ryozuki if anyone else does stuff there
Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential.
10:04
👀
Avatar
I actually might do this one in C
10:08
Almost burned my bread looking at the challange :P
Avatar
poor bread
10:19
current global stats
Avatar
ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@news.digitalocean.com header.s=m1 header.b=Z+Z3Objp; dkim=pass header.i=@mktdns.com header.s=m1 header.b=ICTVrDiZ;
10:23
ChillerDragon: mail seems to actually be from news.digitalocean.com
10:23
they're either compromised, or they really sent you this mail
Avatar
Avatar
heinrich5991
@TsFreddie how did you translate ddmax into chinese? ^^
ye we chose "classical" as ddmax. "traditional" is the oldschool ones
Avatar
ah 🙂
10:24
paypal is absolutely atrocios with their emails. looks completely like a spam email. links go to epl.paypal-communications.net
10:24
like wtf
Avatar
none of these translation make any sense but it is better than ppl asking constantly.
Avatar
they have their "is this email a phishing email" service
10:25
at the start, when they changed the URLs to epl.paypal-communications.net, that service said "NO, don't click on that link, it's a phishing email"
10:25
how should users figure out that these links are indeed correct
10:25
@TsFreddie no sense is a bit strong
Avatar
Avatar
Dragere
Imo todays aoc was easier, than day2. Today you just need to know about modulo, yesterday you needed to parse a string.
i agree, had huge trouble yesterday because i wanted to try out cpp regex 😄 today i needed like 15 minutes for both (edited)
Avatar
Good morning
Avatar
good morning
Avatar
good morning
Avatar
@Dragere modulo? Why not just create infinite lists
11:21
i guess haskell is rly good for this stuff
Avatar
Which goof decided python is above all other programming languages and shouldn't need a do-while loop?
Avatar
doesn't really fit, due to the indnetation = grouping
11:24
I guess
11:25
also, try to guess what for i in …: … else: … does
Avatar
I guess that's a decent reason
11:25
We already had this discussion 😛
Avatar
kk
11:25
😄
Avatar
That's also defined in a very silly way btw
11:26
it takes a really twisted person to come up with this stuff
11:31
btw, when is it okay to put solutions on github?
Avatar
whenever u want i guess
11:31
if someone looks it without finishing is up to him (edited)
11:31
the fun is solving it urself
11:32
@deen do u know nasm?
11:32
will u do it with that someday
11:32
xd
Avatar
Oh should have used assembly very early on
Avatar
yeah it will get harder
Avatar
the first one would have been easy
11:34
actually this one would be easy too
Avatar
i seen problem 2 solved in brainfuck
Avatar
oh and assembly even has a way to do a do while loop 😛
11:35
it's even the natural way to loop there
Avatar
@deen do one in a hardware description language
Avatar
vhdl/verilog
Avatar
Github is trying really hard to break the dark theme all the time...
11:38
if only they would provide their own, I wouldn't care about them breaking the 3rd party one
Avatar
u have to update daily
Avatar
https://github.com/Learath2/aoc/tree/master/2020 you can now explore my very mediocre python skills 😛
Advent of Code. Contribute to Learath2/aoc development by creating an account on GitHub.
Avatar
@Learath2 r u on python 3.9?
Avatar
on 3.9 u can use the list type directly
11:44
11:44
😋
11:45
totally not a image from my blog pepeH
Avatar
updating python on linux without the consent of the package manager has never went well for me, so I'll stick to 386 for now 😛
11:46
when i wrote that even arch wasnt on 3.9
11:46
i had to compile python myself
11:46
now its on 3.9 tho
Avatar
Arch still isn't on 3.9
Avatar
Avatar
Ryozuki
on 3.9 u can use the list type directly
Also works in lower Versions with .. i think typing
11:46
11:46
update
11:47
@becc ofc, my point is that from 3.9 u dont need typings for collections type hinting
11:47
xd
Avatar
did they like bump it yesterday? I updated this vm like 4 days ago 😛
Avatar
i do "yay" every day
11:47
yay!
Avatar
I used aur-tools when I had arch on my daily driver 😛
Avatar
yay is the best i think
11:48
its also short and has same syntax as pacman
Avatar
I like how crusty and low level aur-tools is, makes me feel like I'm almost in control of the system
11:49
sorta had a layman'y feeling, very cool
Avatar
gotta try that
Avatar
@timakro try what if i may ask
Avatar
aur-tools
Avatar
Using types in Python!? I would never
Avatar
oh and you get to build your aur packages in a chroot, which gets you nice and clean packages
Avatar
Avatar
timakro
Using types in Python!? I would never
i would always
11:50
i can autocomplete
11:50
xdd
Avatar
If only typing was forced on python, it would be almost an acceptable language
Avatar
not only did they add that changei n 3.9
11:50
now u can add metadata to typings
11:50
Avatar
You madman, that's not the Python I grew up with
Avatar
You know what would be cool? A fork of python that forced you to use types
Avatar
u can have a unsigned type in python now
11:51
with metadata typings
Avatar
Stop the blasphemy
11:51
\o/
Avatar
static typing gang rise up
Avatar
Look how good typescript has been to javascript, literally gave it new life
Avatar
Don't make me start a npm rant
11:53
@timakro i fixed all our npm issues using --frozen tho
Avatar
Facebook as soon as they started to use javascript on a project that's very complex, the first thing they developed was Flow
Avatar
wow did you?
Avatar
i told u to use --frozen
Avatar
I don't get why you don't like npm
Avatar
and it worked
Avatar
whats that
11:53
something like that
Avatar
it just works is how I would describe my experience with npm
Avatar
it makes it so package-lock.json stays same
Avatar
wait where did you even add --frozen
11:54
we are talking about unique web, right?
Avatar
did u know on rust you can have a build.rs on ur top level directory and it runs before u build?
11:54
11:55
i use it tobuild my css
Avatar
@Learath2 Look what's commented out here https://github.com/unique-clan/unique-web/blob/master/update.sh xD
Unique clan website source, made with nodejs and express - unique-clan/unique-web
11:55
The old update script
Avatar
npm ci fixed it all
Avatar
yep, no problems so far
Avatar
Well npm ci is --frozen 😛
11:55
told ya
Avatar
Aaaahh
Avatar
but why would you want --frozen?
Avatar
But it just works
Avatar
server runs on old debian
Avatar
Do you just randomly edit the package.json?
Avatar
and does weird things
11:55
the old npm
11:56
or smth like that
11:56
we use a more modern npm developing
11:56
xd
Avatar
frozen tells npm to respect the lock file, that's all it does
11:56
otherwise it rewrites it and when we git pull it errors
11:56
thats the issue we had
11:56
iirc
Avatar
(which is indeed a silly option, the fuck is the point of a lock file if you don't respect it?...)
Avatar
npm update just kept breaking everything
Avatar
oh you never npm update
Avatar
ah sorry
11:57
npm install it was
Avatar
@Learath2 did u get sick looking at the script tim sent u? u can see some systemd stuff there monkalaugh
11:58
bluekitty
Avatar
It's a real beauty, gets called every minute by crontab :D
Avatar
I don't talk about systemd anymore, people just don't care that their system is becoming a monolithic blackbox
Avatar
@timakro systemd has its on scheduler/timer whathever
11:58
on arch linux u dont even need contrab
Avatar
But I like crontab
Avatar
There are many cron implementations, but none of them are installed by default as the base system uses systemd/Timers instead.
Avatar
like all other things, people don't care if the government spies on them, people don't care if corporations spy on the
Avatar
ye me too
Avatar
people don't care about anything these days it seems, as long as it's more convenient it's all acceptable
Avatar
How did you get there from systemd?
Avatar
I don't know if this was some kind of extreme systemd critique or just unrelated xD
12:02
but i agree, it sucks, especially the phone market
Avatar
It's the same idea, systemd is slightly more convenient, so people accept that a blob of millions of LoC that no one can fully understand runs as PID1
Avatar
Um, but you COULD look at it
Avatar
Look at what it started as, look what it is now. It's completely against the principle of "do one thing and do it well"
12:04
What happened to all the cron implementations we had, all offering different capabilities, having different strong points?
Avatar
And isn't this the same as npm which pulls millions of LoC into my project from the npm servers where you have to trust a lot of different people to use any packages
Avatar
What happened to poor udev? If not for the gentoo team systemd would be your only option on any distro today
12:05
I never said I like npm, I said it usually just works
Avatar
Yep, that's systemd for you, I agree
Avatar
besides, npm doesn't replace anything
12:06
npm is a very simple piece of software, that even has alternatives you can understand
Avatar
I didn't realize systemd now reads your fstab on arch and "translates" it all into it's unit business until they changed something in systemd which broke my mounts ^^ (edited)
Avatar
don't confuse the software that is npm with the repository of packages that is npm
12:07
Oh, ConsoleKit and PolKit, while they were never the nicest, what happened to those? Do you have any option to manage multiseat systems now except systemd?
Avatar
Multiseat 😄
12:08
It's sad but I feel like support for multiseat setups will get worse and worse
Avatar
DBus is next and when Poettering gets his way, it will be moved all the way inside the kernel with an API that's so difficult to implement the only client for it will be systemd
12:08
(Thankfully there are still some sane people on the kernel mailing list that showed that this was actually insane)
12:09
but people that care about these things are getting old, they will get bored and leave, we will be left with nothing but systemd and a linux kernel that's so deeply interconnected with it that there will be nothing else you can use
Avatar
yep, seems unavoidable when you put it like that
Avatar
I wonder when they will undertake coreutils, It's the next rational target. I mean if my intention was to take over the linux world
Avatar
Personally I don't care that deeply I got into arch and caring about the internals of my system after systemd. /etc/crontab still works and will keep working forever (even though managed by systemd ofcourse)
Avatar
systemd-cpd, you tell the cpd over dbus what you want copied and it does it
12:12
I don't think /etc/crontab will be around much longer. Systemd loooves binary formats
Avatar
Nahhh they can't remove that
12:13
init scripts still work with systemd as well
Avatar
They will first introduce the binary format and tell everyone that there is nothing to worry about, they provided a translator
Avatar
possible, but they will keep the frontend
Avatar
For how long? It took them only a year to completely absorb udev
Avatar
I have no idea about udev
Avatar
After promising they won't absorb udev btw 😄
Avatar
Did they change the config format or smth?
12:14
xD
Avatar
udev currently can't operate without systemd
Avatar
yeah, they make everything dependent on systemd and keep making alternatives difficult or impossible to use alongside or as replacement while mainting the frontends system admins care about
Avatar
(it's complete integration, it links to libsystemd iirc)
12:16
I think I read a 10 page document trying to figure out the options inside a unit file and how they behave precisely. The author gave up after 10 pages
12:17
I love convenience as much as the next guy, but convenience is for the user. "It just works" or "to make it work" are not good engineering decisions
Avatar
The documentation for the unit files seems mainly tailored for the user and convenience. It's relatively short and easy to find stuff. But I also got confused when I wanted to have 3 unit files to work together in a specific way the "idiomatic" way. With their Wants and Depends and ConsistsOf etc and in the end just gave up separated them, put restart=always on all of them so they crashed until the services connected in the right way xD
Avatar
There is no documentation tailored for people who know what they are doing btw. The author couldn't find one, nor could I and iirc the author was told the code is the documentation if they want precise answers
Avatar
When I want to restart them I need to restart them all separately now ^^ especially when I restart A I need to restart B so it reconnects (edited)
12:22
Yep, it's missing the details
Avatar
Well I precisely know how an openrc init file will operate and I can even reason about the ordering of init in openrc. Even without any documentation at all
12:24
Oddly enough, the inspiration for systemd actually has great documentation and I think is one of the best init daemons ever engineered. launchd
12:25
Apple might have shoddy business practices but they consistently manage to have both the best and the worst of engineering in the same team. It's a very odd company 😛
Avatar
I now remember what it was that broke my mounts back then. With systemd specific paths in /etc/fstab such as /home are automounted even with the noauto option. So because I don't want my /home automounted (it needs to be decrypted first) I had to remove it from /etc/fstab and specify the full path + options in the script that mounts /home for me
12:26
Figuring out why this happened was a nightmare, first step was even figuring out that systemd had anything to do with /etc/fstab. I didn't know that
Avatar
I think the only way to keep your sanity in that situation is to put home in crypttab
12:26
iirc there is some glue logic inside systemd that will stop the automounter before mounting any crypted partition inside crypttab
Avatar
huh, ok xD
12:27
now find that documented 😄
Avatar
look at me ranting away again, anyway I've made peace with it, we'll all rot in systemd hell, there is no stopping it might aswell embrace it
12:28
I will even make a shrine to Poettering in my closet
12:29
That guy pisses me off more than his silly invention, but I'm also trying to become more accepting of others, they say anger is not good for you
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 12:31:59Z
thanks @heinrich5991 for the phising feedback :) sounds good for me and kinda fucked up from their side :D
Avatar
Im sure you need the wordsplit when using the variable types=$(cat all-types) so I did not quote that it needs some more advanced workaround. I did not test any of the scripts but it should be safe refactors.
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 13:32:26Z
uhm @deen if github.com/ddnet/ddnet-scripts isnt the upstream what is? and why
Avatar
we have our own private repos with lots of passwords and other private information in it
13:35
like all mod accounts, bans etc
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 13:36:33Z
sounds like you could do some cleanup the public scripts repo should be the upstream and the private repos should be separat
Avatar
yes, but sounds like annoying work that will end up with all kinds of stuff not working 😄
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 13:37:39Z
hire me
13:37
:D
Avatar
can someone give bind for password on server? im idk how trigger f1 (edited)
Avatar
@ComebackPlay do you want to log in with a bind?
14:32
bind <key> rcon_auth <password>
14:32
bind <key> rcon_login <username> <password>
Avatar
@heinrich5991 i wanna bind pas for join to the server (edited)
Avatar
bind <key> password <password>
Avatar
@heinrich5991 im tried but doesnt work
Avatar
@ComebackPlay have you also tried it in f1?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:53:40Z
yo does 1 know what the +122 means in gdb? https://paste.zillyhuhn.com/KF
Avatar
I think not all key binds trigger in the menus
14:54
122 bytes into the function, probably
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:54:19Z
yea either bytes or instructions thats what i thought
14:54
its rls so it cant be c++ lines i guess
14:54
any idea on how to hunt the linenum?
Avatar
build in debug mode or read the assembly
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:55:24Z
yea sounds obvious
Avatar
or build in RelWithDebInfo
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:55:41Z
the crash is unreproducible tho
Avatar
@ComebackPlay does just executing password nimrocks work?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:55:55Z
i do not know if i still have the binary :/
Avatar
+122 is bytes
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:56:16Z
ty hackerman
Avatar
how did you load it in the debugger if you don't have the binary, ChillerDragon?
Avatar
if i just try password nimrocks in f1 it is ok
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:56:29Z
i had the binary then it rebuild on crash
Avatar
but with bind doesnt
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:56:36Z
so i have to guess the commit it run
Avatar
then maybe keypad binds don't work in the menu
14:56
ChillerDragon: is the debugger still open?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:57:00Z
no :/
Avatar
well. out of luck then
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:57:09Z
that could show the assembly ez
Avatar
wait for the next time the server crashes
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:57:21Z
yea but good to know i will try to log commit msg from now on
Avatar
Without the EXACT binary the cores don't mean anything
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:57:35Z
ye
14:57
but git checkout commit and rebuild is exact isnt it?
Avatar
Not even the commit sha is enough, you can't just build it again
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:57:52Z
fk
Avatar
you could if you had reproducible builds
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:57:58Z
ok then i have to store binarys on crash
Avatar
I don't know if ddnet builds reproducibly
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:58:24Z
doubt
14:58
its c++ :D
Avatar
yes, but a lot of effort was poured into this
14:58
I think it builds reproducibly on my machine
Avatar
I wouldn't count on it since we didn't work on making it so
Avatar
(when I last checked)
Avatar
I think at the very least it would depend on system state
Avatar
At least libantibot and libsteam should be reproducable 😄
Avatar
Maybe you updated glibc inbetween e.g.
Avatar
same dep&compiler versions are vital
14:59
yes
Avatar
Anyway, saving the binary is the safest way
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 14:59:52Z
ye
Avatar
yup
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:00:09Z
i think i might still have but idk which it is
Avatar
Does anyone know a non shit phone brand? My samsung is soooooo slow now it's insane
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:00:46Z
pinephone
Avatar
I even got the flagship hoping to get some more time out of it but 2 years seems to be the most modern companies offer
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:00:50Z
puri.sm
Avatar
I think the thing to look out for is "how long do you get updates?"
15:01
either from first party or third party roms
Avatar
I get updates, each of them make the phone even slower
Avatar
apple has a good track record there, unfortunately they're not general computing devices, so can't buy those
Avatar
Apple also loves their planned obsolescence
Avatar
@Learath2 apple? 😄
Avatar
idk, my google-branded phone has had lineageos updates for quite some time
15:02
but the official ones stopped a year ago
15:02
(nexus 5x)
Avatar
I did consider an iphone for a long while, for their stellar privacy offering
Avatar
I guess one of the newer google phones would be a good bet
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:02:24Z
i had my iphone5 for like uhm 5+ years? it run fine till the end
Avatar
if you're fine with 3rd-party OSs
Avatar
error: incompatible types: int cannot be converted to ArrayList<Integer> does anyone understand this
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:02:59Z
you can not convert a int to a array
15:03
:troll:
Avatar
You are trying to set an arraylist to an int for some reason :P
Avatar
you're using an integer and a list of integers interchangeably
15:03
do you want to append an integer to a list? what does that line do?
Avatar
table.add(i).add(k) = s.next().charAt(i); eh i did this xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:03:24Z
int arr[12] = 2;
Avatar
this whole thing might be messed up lmao
Avatar
(Also an int is a primitive in java, primitives can't be stored in arraylists)
Avatar
ah, and table is ArrayList<ArrayList<Integer>>
Avatar
what @Learath2 says is misleading, they get autoconverted to Integer
Avatar
Eh, in some cases, I did have a nice 40 minutes banging my head at the keyboard with that one
Avatar
.add adds a new element to the list
15:04
table.add(i) tries to add an integer to the ArrayList<ArrayList<Integer>>
15:05
but its elements (the rows/columns) are also lists
15:05
so you could only add a whole list there (probably an empty one would be good for the start, so you can start adding elements)
15:06
you can probably also work directly on the input data, after maybe splitting the lines, if this is about AOC
15:06
In Computer Science, a file is a resource used to record data discretely in a computer’s storage device. In Java, a resource is usually an object implementing the AutoCloseable interface. Reading files and resources have many usages:
  • Statistics, Analytics, and Reports
  • Machine Learning
  • Dealing with large text files or logs
Sometimes...
15:07
Reading files and resources have many usages:
>
- Statistics, Analytics, and Reports - Machine Learning - Dealing with large text files or logs
15:07
nice!
Avatar
Many uses indeed
Avatar
Avatar
heinrich5991
you can probably also work directly on the input data, after maybe splitting the lines, if this is about AOC
yeah
15:08
i might do thaat
15:08
i was just gonna make a nice 2d list but realized it was a lot more complicated
15:08
its not like list[a][b] or anything
15:08
at this point i might as well just manually count the trees from the input with my eyes greenthing
Avatar
You can have a nice normal array in java 😛
Avatar
@Deleted User sigh, now my Intel Linux GPU driver seems to be acting up. Sometimes I get laggy graphics in DDNet even though DDNet consistently sends 60 fps. Only reboot fixes it...
Avatar
not sure if I'd recommend working with arrays tbh
15:09
they're second-class features in java
Avatar
Don't have to mess around with an ArrayList if you don't want to
15:09
@deen now that should be easier to debug, have you tried different opengl versions?
Avatar
yes, doesn't help
15:10
there are kernel warnings, so I think the i915 module is just broken
Avatar
There is renderdoc on linux so graphics debugging isn't entirely cancerous
15:11
a broken module is also possible, linux support for graphics has always been and will probably always be in a sorry state
Avatar
first time I've had Intel graphics bugs. Also hangs in videos sometimes
15:11
(on Linux)
Avatar
yesterday i had my first deadly screen freeze bug
15:12
screen frozen when i was doing a part that required you to go under the map, rip my run
15:12
guess ill have to test drivers again
Avatar
driver update should fix it on Windows
Avatar
well i compile the mesa driver my own on linux and often have bugs 😄
Avatar
@deen btw the funding page, idk how you calculate it but all servers seem to be a couple $ off their donation targets
Avatar
@Learath2 because I recently got the KSA servers
Avatar
hm, actually 1096 out of 1118, ah
Avatar
which is not working well and support ignores me, oh well
15:15
usually they want 100 € / month for a 1 core vps in Saudi Arabia, so I thought 15 € sounds like a steal
Avatar
Somehow one of the richest countries on earth can't do anything well 😛
Avatar
if everyone is rich, might as well ask for a higher price
Avatar
so much systemd hate here 😄 I think systemd is far from perfect, but it's the right way to go. It's definitely better than that SysV mess we had before. Even Windows has service manager better than SysV init. Declarative unit files with unified syntax are just better than doing everything manually in shell scripts. It's even faster. Here's one real life example: I bought new keyboard with backlight yesterday. Unfortunately, the keyboard doesn't remember its settings, so it has to be configured by some app after boot, otherwise you always get some rainbow nonsense. There's no official app for Linux of course, but someone has reverse engineered the protocol and created a simple command line app for configuring the backlight. So far so good, but there's one more thing. If you put your computer to sleep mode, the keyboard automatically turns off its backlight. The problem is that the backlight is not automatically turned on after computer wake up. To fix that you need to run the app again. And this is where systemd comes into play. Just look at this lovely thing: [Unit] Description=Restore keyboard backlight after suspend After=suspend.target [Service] Type=oneshot ExecStart=/usr/bin/g213-led -p /etc/g810-led/profile [Install] WantedBy=suspend.target It's so simple and clean solution. No dirty hacks that don't survive next OS update are needed. How many service managers can do such thing? I'm not systemd fanboy because I've had a lot of troubles with it in the past, but it gets better and better. All you need is to get used to it. 😄
15:19
i hope it doesn't look like paid ad from RedHat 😄
Avatar
uuuuuh, I really want to complaiin
Avatar
Just because there are no dirty hacks you can see, doesn't mean there are no dirty hacks there
Avatar
@Comrade I also don't dislike systemd. I'd even guess most people do tbh
Avatar
(and I think I can accomplish the same thing with openrc)
Avatar
OpenRC is probably the only real systemd rival
Avatar
That's only the case because gentoo is actually commited to protecting us from the inevitable blobization of linux
Avatar
might want to choose a different word there
15:23
blob is usually used for things that don't have source available
Avatar
All other distros took the systemd pill, there is no backing out of that. Who would bother even working on a better system when no distro will even use it?
15:24
I used blob in a more literal sense, like a slime ball, inseperable
Avatar
it's actually another systemd advantage - the same syntax and API available on most distros
Avatar
That is lies, fed to you by the systemd propaganda machine. /bin/sh is actually ubiquitous
Avatar
says the apple user xd
Avatar
de facto, init scripts used to be distro-specific
15:26
de facto, systemd services are now less distro-specific
Avatar
@Deleted User apple documents their init system very well
15:26
Atleast they provide documentation for their blob
Avatar
I read more discussions here about systemd than I actually use it. Add a few services once, then runs ok for years. Had no problems with OpenRC either
Avatar
welp, installed new drivers and seems like it still freezes, and also introduced a new bug somehow
Avatar
@louis what is the definition of "new" in this case?
15:27
the latest?
15:27
the beta?
Avatar
not teeworlds specific but i dont know how it even happened
15:27
idk i downloaded somewhere near the top of the list
15:27
cuz the top top one had the "new bug"
Avatar
then we might have to increase the driver range
Avatar
which is the screen turns black for a good 5 secons whenever i alt tab out of a fullscreen appl
Avatar
Exactly, it's all stupid propaganda. Every init system "runs fine" for all common users. Your grandma isn't stopped from using linux because of sysvinit, it's just silly talk. For the people who care about these things, systemd is objectively worse
Avatar
so im not using those anyways
Avatar
alright
15:29
just give the driver version and releaste date of the driver @louis 😄
Avatar
I found writing sysv init scripts more daunting than systemd service files
15:29
there, one user that is helped by it ^^
Avatar
but writing proper /etc/init.d script is much harder than writing systemd service files
Avatar
How am I supposed to argue with an anectode?
15:30
I write init.d scripts in my sleep, there I win?
Avatar
i've seen some "admins" putting everything to /etc/rc.local because why not 😄
Avatar
idk, should I make generalizations like Comerade just did so I can argue for 20min and not get done?
15:31
I rather provide the factual input I have
15:31
I mean I wouldn't call "Exactly, it's all stupid propaganda. Every init system "runs fine" for all common users. Your grandma isn't stopped from using linux because of sysvinit, it's just silly talk. For the people who care about these things, systemd is objectively worse" objective and providing evidence
Avatar
I can elaborate on any part of that statement you'd like
Avatar
i feel like a granny now, bcs it just runs fine for me xd
Avatar
I don't want you to elaborate tbh
Avatar
Yeah exactly
15:32
i think its this one
Avatar
and I don't want to elaborate either
Avatar
@louis thanks
Avatar
i dont even know if any of them work xd
Avatar
I just want to provide a voice to the people (like me), who just use it and are fine with it
15:32
otherwise it looks like everyone in this channel hates systemd
Avatar
exactly
Avatar
And that's the state that everyone is in right now, no one wants to actually see it because "it works"
15:33
Let's abandon all our principles, it just works
Avatar
"it works better for me than sysvinit", so I'm glad the replacement was done
15:34
no one invested as much work to push another init system, so I didn't get to see them
15:34
ubuntu did, but it didn't work out
Avatar
No one can, it's done, over
15:34
Monopolies thrive in this exact way
15:34
People complained for years about Microsoft doing EEE, now systemd and FSF are doing it right in our backyard and we are all "mhk"
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:35:47Z
ok i got the binary yay
Avatar
systemd provided something of value to distros (next to the popularity), so they chose it one by one
15:35
debian is probably the one which discussed it the most
15:36
and as hard as it'll be on me, I'll try to stay out of this discussion now, seeing that the current split is 1 person disliking systemd and 3 people being at least okay with it
Avatar
As always, people jump in, say it works and leave. At the end I look like the bigot. Whatever, I'm done
15:38
We'll talk about this in 5-6 years and everyone will pretend they don't understand how every distro just disappeared leaving us with systemd/Linux
Avatar
no, criticism is important
Avatar
@louis but its still an actual freeze? not a crash
15:38
the difference here is important in this case 😄
Avatar
The current system of governence works for me. I live fairly nicely. I still advocate for unions and worker rights. "It works" is just an awful bar for anything, not only software
Avatar
i think so? same thing as before
Avatar
ok
Avatar
well i don't really want to test it takes a while to change drivers xd
Avatar
but the driver you sent was a freezing one @louis ?
Avatar
actually, i think it would be better to have just a few distros, so devs could focus on doing something useful instead of reinventing the wheel over and over again (edited)
Avatar
Worry not, there won't be any left soon enough
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:41:23Z
hmm Learath2 u gdb pro
15:41
send halp
15:41
i got the binary but im not sure how to dissasemble
15:41
rip 0x5555555cf54a0x5555555cf54a <CMoney::Snap(int)+122>
15:41
i want to go here but CMoney::Snap is not a thing
15:42
dissasembly 0x5555555cf54a also doesnt work
Avatar
Avatar
Deleted User
but the driver you sent was a freezing one @louis ?
yeah for me
Avatar
yeah, just want to be extra sure 😄
Avatar
ChillerDragon: well just disassemble should work, you want to disassemble at %rip
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:43:44Z
No frame selected.
15:43
do i have to run first?
Avatar
@Comrade choice is key in any market, monopolies are always harmful, way too much control
15:44
ChillerDragon oh I thought you already loaded a coredump
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:44:24Z
ah no i loaded the binary that crashed
Avatar
@Learath2 yes, that's true
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:44:32Z
i have no dump
15:44
i just want to go to the offset and see what code it is
Avatar
As reported by louis, who tested different drivers, since he still has the other bug: ALT + TAB makes the screen go black for 5seconds

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect exi...
Avatar
ChillerDragon abusing gdb as a disassembler are we? 😄
Avatar
xD discord was faster than github in creating the pr on the screen, interesting
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:45:11Z
seems like
15:45
objdump -D also has no CMoney::Snap
Avatar
Well do you even have symbols?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:45:37Z
no :D
Avatar
How is objdump -D supposed to contain CMoney::Snap then?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:45:52Z
but gdb also got this on crash
Avatar
what about objdump -dCS ?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:46:08Z
15:46
the same way this guy got it
15:46
what is dCS
Avatar
--disassemble --demangle --source
Avatar
oh yep, you do need demangle for C++
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:46:58Z
ah nice
15:47
worked yay
15:47
so is +122 now 122 assembly lines?
Avatar
Anyway, you should be able to just do disassemble CMoney::Snap in gdb
Avatar
also, --visualize-jumps=extended-color is really nice thing
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:47:47Z
No symbol table is loaded. Use the "file" command.
Avatar
huh, so odd. I guess just disassemble with objdump
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:49:08Z
where do i put the visualize flag is it gdb or objdump?
15:49
well the question is how to find offset +122
Avatar
objdump
Avatar
objdump --disassemble=CMoney::Snap DDNet-Server I guess?
15:50
and the visualize jumps ^^
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:50:30Z
i mean i got the func that works fine
Avatar
just look at offset 122?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:50:51Z
15:50
like 122 below?
15:51
lines
15:51
or what
Avatar
The numbers on the left side are not for decor 😛
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:51:14Z
1 line does not look like 1 byte
15:51
i thought the numbers are there to let me look like haxx0r
Avatar
0x7b4d0 + 122 is what you are looking for
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:51:41Z
so i need hex maps
15:51
maffs
Avatar
also don't forget -M intel for sane assembly syntax 😄
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:51:58Z
:troll:
Avatar
no trolling
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:52:12Z
i see we have strong opinions here
Avatar
AT&T assembly syntax is just.... 😄 (edited)
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:52:17Z
systemd
Avatar
Yeah att syntax is hard for humans
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:52:18Z
and intel xd
15:52
k but the jump thing as fun as it sounds i cant get it running :/
Avatar
Though I guess @heinrich5991 might disagree
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:53:03Z
xd
15:53
lets start another holy war
Avatar
let's not start a new flame war 😄
Avatar
thanks for ping, ima stay out of flamewars for now
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:53:20Z
xd
15:53
how to do hex maffs xd
Avatar
That wasn't a flamewar, it was an opinion on a very serious topic but if trivializing it helps you, I guess that's fine
15:54
122 is 0x7A
Avatar
python -c 'print(hex(0xabc + 25))'
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:54:15Z
ty
15:55
the 25 is decimal right=
Avatar
can you read python?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:55:56Z
is this a front? :D
Avatar
I usually reach for ghidra or radare when disassembling. While objdump is nice to just get a function out, it's really not fun to read the assembly all plaintext like that
Avatar
@Ravie would it be possible to merge the eyes 1 pixel to the center for Bub and Bob?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:56:22Z
ghidra is bloat
15:56
r2 is hard
Avatar
r2 has a frontend that is for people who don't like the tui
15:57
Cutter works pretty nicely nowadays
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:57:14Z
oh?
Avatar
i know the bug comes from vanilla code, bcs the eyes are moving when spinning, but it always looks strange to see a gap 😄
Avatar
Ghidra is a bit bloated but it has the best decompiler I've seen in a while
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:57:39Z
i like tui tho but it seems to be a hard tui
Avatar
Learning radare2 requires the patience of a monk
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:58:03Z
15:58
hm
15:58
i expected to see something here
Avatar
Well what did you expect to see? 😄
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:58:48Z
like a call::crash()
15:58
:troll:
Avatar
Without a core you can't check what is in rax or r13d so going to the exact line is rarely useful
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:59:12Z
well at least something where i could guess c++ lines from
15:59
i have rax
15:59
i have ot all
Avatar
the line below is call
15:59
the cut off one
15:59
that one is probably interesting
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 15:59:35Z
ah true
15:59
ye
Avatar
When working in plain like this I like to start at the top. This is a standard function, figure out what the arguments are
16:00
Then I work my way down keeping note of what is in each register
16:01
I don't think it's the instruction after
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:02:06Z
16:02
lgtm
16:02
@fokkonaut
Avatar
Didn't we just merge a patch about CCharacter::Team?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:03:06Z
ah no its F-DDrace
Avatar
this is so easy to ctrl-f
16:03
😦
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:03:17Z
xd
16:03
so you agree heinrich?
Avatar
is that the only mention of Team() in that function?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:03:40Z
it crashed in line 115?
16:03
ye
16:03
seems safe
16:04
i feel like pro debugger no
Avatar
I think it crashed either on the instruction before rip
16:04
I've never seen a debugger stop on the instruction before
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:04:53Z
oh so the 112
16:05
maybe m_pOwner is null and then m_pOwner->IsPaused() failed?
16:05
ah no there is a check tho
Avatar
m_pOwner can't be null there
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:05:23Z
ye
16:05
but hm
Avatar
rdi has this, rsi has snappingclient
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:06:12Z
pro
Avatar
r13d is moved into ecx afterwards
Avatar
well, maybe m_pOwner is not 0, but there is no IsAlive() check
16:06
But I doubt i need it
Avatar
This article describes the calling conventions used when programming x86 architecture microprocessors. Calling conventions describe the interface of called code: The order in which atomic (scalar) parameters, or individual parts of a complex parameter, are allocated How parameters are passed (pushed on the stack, placed in registers, or a mix o...
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:07:03Z
rdi 0x55555590c4d0 93824996132048
Avatar
to CGameMask::TeamMask
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:08:02Z
wait rsi is snapping client?
Avatar
so I guess it's something in the m_pOwner->GetPlayer()->GetCID() chain
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:08:19Z
rsi 0x41 65 isnt 65 a bit high for a clientid?
16:08
ah no its a money so its fine i guess
16:08
nvm me :D
16:08
7c4f7cd Increase Intel driver blocklist range - Jupeyy e0749a4 Merge pull request #3378 from Jupeyy/pr_increase_driver_range - def-
Avatar
rsi was snapping client at the very beginning of the function
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:09:21Z
ye
heinrich5991 pinned a message to this channel. 2020-12-03 16:09:34Z
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:09:35Z
65 sounds fine
Avatar
wdyt about it being in the m_pOwner->GetPlayer()->GetCID() chain?
Avatar
@heinrich5991 I had a weird bug like this some time ago already, it said it crashed on a call to Getplayer->getcid, but there was a character check before, so the memory was there but without an IsAlive check it crashed
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:10:19Z
it looks rly scary
16:10
ye i also think i remember simialr
Avatar
Oh I know
16:10
Wait I don't
16:10
A character can't exist without a player
Avatar
yes, thats true
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:11:02Z
well thats what you think :D
Avatar
But the pointer was still there
16:11
pointing into garbage
Avatar
Hm, could pause cause that or timeout maybe?
16:11
We do some odd odd things sometimes
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:11:31Z
was a clean disconnect most likley
Avatar
or maybe m_pOwner isn't reset when the owner leaeves?
Avatar
it is indeed
Avatar
is it reset or is it not reset?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:12:07Z
xd
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:12:34Z
but thats on tick
16:13
yea, should never be invalid i guess
Avatar
hm. what happens if snap is called before tick?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:13:16Z
is the tick always called before
16:13
ye
16:13
sounds like a race thingy
Avatar
its a normal entity
16:13
should be ike this
16:13
like*
Avatar
hm, in ddnet source code it looks like there can't be disconnects between tick and snap
16:15
but ah!
16:15
what if the tick kills the character?
Avatar
Ohhhhhh
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:16:17Z
🧠
Avatar
Yea now that makes sense! @chillerdragon that can happen when we join a minigame
16:16
Yea :D
16:17
Now how do I fix this correctly? xD
Avatar
Reorder
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:17:26Z
remove minigames
Avatar
maybe remove the m_pOwner variable and replace it by a function getting it?
Avatar
Or don't kill the player
Avatar
@Deleted User nah cause then it would look bad when looking to the side
16:17
moving eyes suck anyway
Avatar
true
Avatar
it's a bit fishy to rely on Tick being called before Snap anyway
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:18:15Z
ye
Avatar
sounds like a condition that can be broken easily
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:18:24Z
but what does the function do?
Avatar
Well is it really? I don't think it would make sense to tick after snap
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:18:39Z
how does it get the owner?
Avatar
@Learath2 the question is basically whether disconnects/kills are allowed between ticks and snapshots
16:19
and ticks can kill the character, so relying on it not changing sounds like a bad idea
Avatar
yea okay now that also was the problem with the old m_pCarrier Bug i had that i mentioned before
Avatar
Anyway, idk what a CMoney is, so idk how it should be fixed but it seems like it belongs to the player, not a character
Avatar
player is being Killed means character
16:21
sorry for that misleading comment
16:21
Because the character is being killed when joining a minigame
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:21:30Z
why does it need a owner afterall?
Avatar
That's the other question
16:22
It seems the owner should be a player, not a character
Avatar
i will just call GetPlayerChar(), not saving the m_pOwner
Avatar
Careful about that too btw, players need not always have characters as seen here
Avatar
but GetPlayerChar checks for IsAlive
Avatar
And funny enough characters need not always have cores, thats one amazing debugging journey
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:24:19Z
wat?
16:24
characters can be m_Core less?
Avatar
ChillerDragon you should save cores btw, running the servers under gdb and doing a dying bt is not good at all :D
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:25:03Z
why
16:25
it just worked so good
Avatar
You can inspect things postmortem with a core
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:25:28Z
yea
16:25
i just never opend a core so...
16:26
but i guess i will turn core safe on additionally
Avatar
It's much easier than this mess :P
16:26
Don't even bother running with gdb. The core has all
16:26
Just need to keep the binaries
16:27
Oh and do RelWithDebInfo. Makes the debugging much more pleasant
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:27:36Z
yea i set that now
16:28
thanks guys :)
Avatar
Okay, now with crisis averted, let's do editorwars
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:28:25Z
i use emacs btw
Avatar
vim > emacs
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:28:41Z
dont do that
16:28
freezes ur machine
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:28:54Z
:D
16:28
i tried
Avatar
Funnily enough editorwars people usually bring facts to the table
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:29:57Z
lol?
16:30
i never seen a editor war more sophisticated than fng > gores :nouis:
16:30
what facts?
Avatar
that is my attempt at poking the systemd fanboys so I can continue my rant
16:31
I should probably get a blog
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:31:04Z
i see
16:31
you should get a block
16:31
🔥
Avatar
I'm opinionated enough that people will just read it to be angry, might even get popular
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:31:52Z
just present everything as facts
16:32
there is someone wrong in the internet - community will be ur readers
Avatar
The trick is to disguise your subjective opinions as facts
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:32:22Z
yes
16:32
https://xkcd.com/386/ does the rest
Avatar
Like the OOP people, look how they convinced everyone that their subjective design decision is the right one
16:33
Marketing is everything
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:33:13Z
my yt suggestions is usually full of oop rants tbh
Avatar
You need catchphrases like "Encapsulation" "Safety"
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:33:37Z
xd
16:33
i used that word today in my commit :D
16:33
guilty
Avatar
Your yt suggestions are full of them because people give these rants a lot of watch time, just to get angry
16:34
It seems almost primal, humans enjoy conflict
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:34:26Z
xd
16:34
yt suggestions best
16:34
i had a "new virus from china" latley
Avatar
These machine learning algorithms are imho borderline abusive
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:35:02Z
was like 8 months old news suggested today
16:35
comments full of confused ppl
Avatar
It's very dangerous, you get sucked into rabbitholes, wasting hundreds of hours
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:35:45Z
thats the point
Avatar
At the very least it's irresponsible to deploy something so predatory
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:36:12Z
but i also rabbit hole in irc
16:36
like rn
16:36
this conversation isnt of any more value than watching cat videos
16:36
no front
Avatar
They even track your daily schedule. I get the videos I watch at different times of the day
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:36:58Z
ye also noticed that
16:37
can be useful tho
16:37
imagine remembering ur self what u watch during times of the day
Avatar
the only point of this conversation is to hopefully bait someone into commenting about systemd before my tea runs out
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:37:27Z
so 2006
16:37
xd
16:37
idk why ppl even bother about systemd
16:37
i never know what i use or what the diff is
16:37
why would one care
Avatar
after tea runs out I have 70 kanji to review and 10 pages of computer networks lecture to get through
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:38:03Z
when do i interact with it
16:38
what is kanji
Avatar
漢字
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:38:26Z
can u get high on it?
Avatar
The characters japanese stole from the chinese
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:38:38Z
hm my font is too cheap
16:38
cant see shit
Avatar
I can't read kanji on computer either, my fonts are waay to small for it
16:39
I only know that is kanji in kanji because I've seen the pattern and it matches the context of the conversation
16:40
The left character I can't distinguish the strokes at all, way too dense
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:40:35Z
wat
16:40
send screen
16:40
mine could also be a poop emoji
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:41:56Z
lgtm
16:42
16:42
urs looks so clean :D
Avatar
Well at a first glance I thought the left character was "vague"=="漠"
16:43
That's the two side by side. No way I could tell them apart without putting my face in the screen 😛
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:43:47Z
what tea do u drink?
16:43
and how much alcohol does it contain?
Avatar
Huh, maybe I should get new glasses? Are those easy to tell apart for you?
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:44:34Z
yes
16:44
go buy glasses nerd
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:45:04Z
:D
16:45
always watvhing the screen
16:45
reading books
16:45
go eat some carrots and go outside
Avatar
carrots being good for vision is a myth
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:46:05Z
was about to ask
16:46
i think i heard a similar thing latley
16:46
it being a myth is fake news tho
Avatar
being outside would only do good as far as I wouldn't look at a screen for the duration of my trip outside 😄
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:46:39Z
oh no dont do that
16:47
kids dont talk anymore
Avatar
I guess no takers for my great hook
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:47:33Z
when i was young we were talking with ppl in the public transport or waiting in the queue
16:47
nowadays all ppl watch in their phones
Avatar
I'll go back to stewing in anger while doing my kanji for the day. Nice talking to you ChillerDragon
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 16:48:06Z
ye was big fun
16:48
ty for the haxx0r support
16:48
hf gl
Avatar
Oh btw, definitely try Cutter, would help a lot in browsing the disassembly
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 17:05:31Z
oh lol regarding i never interacted with systemd i think systemd just stole my coredump :D
Avatar
should be in /var/lib/systemd/coredump
17:50
Though I doubt many are interested in prime gaps :P
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 17:52:59Z
anyone knows how scoping of parameter expansion works in bash? https://paste.zillyhuhn.com/qz
17:53
i want to pass the name of a variable to the function and retrive the value
17:53
it works in a subshell but not in a function
17:54
ah i have to do f $p hm yea makes sense nvm im confused xd
17:55
yea ok i get it
Avatar
@ChillerDragon you're welcome smiley (edited)
Avatar
[quakenet] ChillerDragon BOT 2020-12-03 18:59:11Z
:troll:
Avatar
the autoupdate for automappers is bugged if you change the Seed to 1 and click on "A" and try to do draw something or try to drag the number higher the client crashes which it didnt before ofc but only on new files on older maps it works fine (edited)
20:10
rust ❤️
20:10
Nearly 65,000 took this comprehensive, annual survey of people who code. Demographics. Most loved, dreaded and wanted technologies. Salary and careers.
Avatar
Hello, is it possible and wanted for community members like me to host a DDNet server with points synchronization? I've got a DDNet server up and running but noticed the points are not synced. Also I found https://forum.ddnet.tw/viewtopic.php?t=2919 this to be the closest to a guide, but is this explained somewhere and i couldn't find it? (edited)
Avatar
can some one say me, why this is not work?
21:25
Avatar
bind j rcon_auth nimrocks
21:27
password is the pw for entering a server if its locked
Avatar
@Bananenbr_t no, we made bad experiences with that in the past
Avatar
Oh, too bad :/
Avatar
[freenode] Zwelf BOT 2020-12-03 22:01:39Z
@deen I think GER2 port 8311 just crashed while I loaded a /save state :/
Avatar
No idea why, restarting client and using timeout protection makes it happen again. ``` (gdb) thread apply all bt Thread 11 (Thread 0x7f2f2f405640 (LWP 373309) "SDLAudioP2"): #0 0x00007f2f62fbb56e in ppoll () at /usr/lib/libc.so.6 #1 0x00005606a28040d3 in ppoll () #2 0x00007f2f4f784a33 in pa_mainloop_poll () at /usr/lib/libpulse.so.0 #3 0x00007f2f4f78f281 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0 #4 0x00007f2f63ab7ac7 in () at /usr/lib/libSDL2-2.0.so.0 #5 0x00007f...
Avatar
``` ================================================================= ==6708==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61e00008e66c at pc 0x0000004707fe bp 0x7ffddeb49720 sp 0x7ffddeb48e98 READ of size 41 at 0x61e00008e66c thread T0 #0 0x4707fd in printf_common(void, char const, va_list_tag*) (/home/teeworlds/servers/DDNet-Server-asan+0x4707fd) #1 0x470d3c in vsnprintf_chk (/home/teeworlds/servers/DDNet-Server-asan+0x470d3c) #2 0x722f76 in vsnprintf ...
22:32
================================================================= ==18192==ERROR: LeakSanitizer: detected memory leaks Direct leak of 992 byte(s) in 1 object(s) allocated from: #0 0x4f3d02 in __sanitizer::InternalMmapVectorNoCtor::Realloc(unsigned long) (/home/teeworlds/servers/DDNet-Server-asan+0x4f3d02) #1 0x7f59e7c7dc08 (/lib/x86_64-linux-gnu/libsqlite3.so.0+0x49c08) SUMMARY: AddressSanitizer: 992 byte(s) leaked in 1 allocation(s).
Avatar
is there any way to have saved ghosts for a map play while viewing a demo for that map?
Avatar
don't think so
Exported 900 message(s)