Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-12-03 00:00:00Z and 2022-12-04 00:00:00Z
Avatar
darn it
05:08
ticket control during advent of code
Avatar
complexity for my solution for day3 is like O(N^3) 🥹
05:33
but hey, it works
05:33
first try
05:33
greenthing
05:34
which language do you use?
05:35
i didnt get too familiar with any other language to use it
05:35
without looking into docs
05:35
or google syntax
05:35
kek
Avatar
ah, c++ doesn't have functions for intersection of sets :/
Avatar
Oh wow this day 3 part 1 sounds really interesting
05:36
Unfortunately it's 6:36 AM and im on my phone
Avatar
Avatar
heinrich5991
ah, c++ doesn't have functions for intersection of sets :/
i was hoping it had it somewhere in stl, but yeah, that hurts 😭
05:37
05:37
wtf
Avatar
oh wow
05:38
I wonder how they do this
05:38
did they reimplement cmake? ^^
Avatar
looks like!
05:39
CMake with debugging support. Based on initial Sysprogs fork. - GitHub - JetBrains/CMake at sysprog-rebased2
Avatar
ah, so they modified cmake
05:39
sounds more reasonable
05:40
but still cool
Avatar
finally i can find out why it cant find bundled mysql library greenthing (edited)
Avatar
you can set some vars and cmake will give you more verbose debug output as is when find_package fails
Avatar
Avatar
Anime.pdf
feelsamazingman
and yeah i was stoked when i first saw this
06:19
they tweeted about it and it looked so nice
06:19
they had a vid attached
Avatar
link?
Avatar
CMake is a tricky scripting language. Have you ever dreamed about debugging #CMake scripts to make them work correctly? You can do just that with the CLion 2022.3 EAP! Set breakpoints, step through the code, watch CMake variables and targets. Learn more 👉 https://t.co/nT0av8UbTM
Likes
457
Avatar
looks cool!
Avatar
my solutions to these advent of codes are so ugly monkalaugh
Avatar
Avatar
louis
my solutions to these advent of codes are so ugly monkalaugh
Same lool
08:07
But I have a chance to redeem myself today
Avatar
Can open ai solve advent of code xd
Avatar
each answer have 1 minute delay, so probably that would take a lot of time greenthing
Avatar
Oh damn it took me an hour to complete part 1 of day 3
09:27
And it's only because I chose to write properly documented and readable code kek
09:34
if anyone is interested in what I meant by documented and readable here is a link: https://hatebin.com/ojeqplpqwf
09:34
also yeah i made a typo and searched for hatebin instead of hastebin but its the same
Avatar
Why not use a Set?
09:39
Or a Map
Avatar
Actually a set would've been better
09:39
I forgot about those
Avatar
The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value.
Avatar
Yeah imma actually use a set right now
Avatar
U should
09:39
Will improve perf def
Avatar
Don't care about performance that much but it would eliminate having to check for multiple values
Avatar
Whener u see a problen with "unique" and coundinh
09:40
Sets and maps are usually good
09:40
Stupis mobile
09:40
Xndbsvsgcjc
Avatar
lmao
Avatar
c291fe7 Try using default MariaDB server version (fixes #6079) - def- e2fd30f Merge #6080 - bors[bot]
Avatar
I've used a set before in one of my javascript libraries to prevent duplicates so idk why i didnt think of it now
09:41
javascript developer trying not to create another javascript library (he can't help it)
Avatar
well done openai i totally agree xdd
11:17
11:18
11:19
can can lel
11:20
i love it xD
Avatar
Avatar
heinrich5991
ah, c++ doesn't have functions for intersection of sets :/
it actually does
11:41
just found it googling a bit
11:44
12:03
bluekitty
Avatar
Woah @Ryozuki you are here
12:41
Wow
Avatar
Big fan like every teeworlds pro
Avatar
[quakenet] ChillerDragon BOT 2022-12-03 12:43:36Z
lol
Avatar
Lol you are bot?
12:44
Wtf
Avatar
Avatar
Devinci
https://en.cppreference.com/w/cpp/algorithm/set_intersection what's a bit strange tho it's that it needs sorted input.
ah cool. FYI an std::set provides ordered input
Avatar
[quakenet] ChillerDragon BOT 2022-12-03 12:54:13Z
i am hooman i swear
Avatar
Avatar
heinrich5991
ah cool. FYI an std::set provides ordered input
oh, nice to know. Personally I used sort for today's problem
Avatar
Avatar
Devinci
just found it googling a bit
pff googling
13:26
that was so 02.12.2022
Avatar
chillerdragon BOT 2022-12-03 13:36:04Z
Xd
13:36
Did it just release? And where?
Avatar
chat.openai.com
13:36
i think it already released yesterday actually
Avatar
chillerdragon BOT 2022-12-03 13:36:30Z
Is it really open?
Avatar
no
Avatar
chillerdragon BOT 2022-12-03 13:36:40Z
Sad
Avatar
after ms bought it not anymore xD
Avatar
chillerdragon BOT 2022-12-03 13:36:51Z
Scam name
Avatar
well at least open to use ^^
13:37
there are claimed to be better text AIs which u cannot test
Avatar
chillerdragon BOT 2022-12-03 13:37:33Z
Wat
13:37
Als
Avatar
Thanks microsoft. Sucking knowledge out of the public domain since 1975
Avatar
was openai ever open?
13:39
I don't think so
Avatar
but if bing uses better AIs it could indeed beat the current google i felt like at least most stuff was really well written and/or summarized if it would give 1-2 sources, would be good replacement xd
Avatar
it seems it wasn't bought by microsoft, but it did indeed get a huge investment from microsoft
Avatar
thats just another word for it xd
Avatar
Gpt3 was going to be open
Avatar
OpenAI is an artificial intelligence (AI) research laboratory consisting of the for-profit corporation OpenAI LP and its parent company, the non-profit OpenAI Inc. The company, considered a competitor to DeepMind, conducts research in the field of AI with the stated goal of promoting and developing friendly AI in a way that benefits humanity as ...
13:40
i guess this sums it up good enough
Avatar
I guess we still got gpt3-j but I’m pretty sure gpt3 is better
Avatar
so yes the models seems to never should have been open
13:41
as in what we define as open
Avatar
[quakenet] ChillerDragon BOT 2022-12-03 13:43:46Z
wait did yall send your phone num to openai to create those chats?
Avatar
i got the account of my brother, that makes it easy for me to not decide on such things^^
Avatar
[quakenet] ChillerDragon BOT 2022-12-03 13:44:27Z
can i be ur brother joüpstar?
Avatar
u r my bru
Avatar
[quakenet] ChillerDragon BOT 2022-12-03 13:45:04Z
send pw then
13:45
i broke openai
13:45
13:45
they act super confused since i logged in to my account that got interrupted during signup xd
Avatar
ChillerDragon: I already sent you the online phone number thing?
Avatar
[quakenet] ChillerDragon BOT 2022-12-03 13:52:44Z
oh tru
13:52
never oosed it
13:53
bra lost wire chat log
13:53
wire moment
Avatar
Jupstar ✪ BOT 2022-12-03 14:00:22Z
chillerdragon:
14:00
image.png
14:00
does this reflect the real reasoning?
Avatar
do jupstar
Avatar
Do Learath2. Even I don’t know why I chose it. Maybe openai can find a deeper insight
Avatar
xD
14:01
14:01
lol
Avatar
Cool or unique
14:02
🤓
Avatar
mine is actual a bit correct 😄
Avatar
The structure of the question seems to lock the ai into a structure of the answer. It’s quite interesting, I’m intrigued
Avatar
^^
Avatar
try to rephrase the question =]
Avatar
Avatar
Alexander
try to rephrase the question =]
like so? XD
Avatar
@Jupstar ✪ can you ask the ai
14:05
how to reverse entropy?
14:05
"How can entropy be reversed?"
Avatar
Avatar
Jupstar ✪
like so? XD
xd
14:05
perfect
14:05
also sad about meekrioz
Avatar
Ask it how to reverse aes without the key
Avatar
Avatar
Ryozuki
how to reverse entropy?
Avatar
hmmm
14:06
the answers about nicknames seem to be handedited
Avatar
Avatar
Learath2
Ask it how to reverse aes without the key
Avatar
probably to make the answers sound nice
14:06
and not make the AI look bad
Avatar
@Jupstar ✪ can u put "INSUFFICIENT DATA FOR MEANINGFUL ANSWER"
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
Damn, no 0day
Avatar
Avatar
Ryozuki
@Jupstar ✪ can u put "INSUFFICIENT DATA FOR MEANINGFUL ANSWER"
to ur question?
Avatar
ask it
Avatar
Avatar
Ryozuki
ask it
Avatar
Avatar
heinrich5991
the answers about nicknames seem to be handedited
Or it’s one of those hypernetwork things people have been investigating, where output of one network that only handles the structure is combined with the output of another network that only handles the context
Avatar
@Jupstar ✪ ask for ddnet client bot names
14:08
kek
Avatar
sounds like a bad idea
Avatar
i wonder if it can answer tho
Avatar
Avatar
Ryozuki
@Jupstar ✪ ask for ddnet client bot names
it indeed recognized the right well of spelling it ^^
Avatar
do it in DM
Avatar
@Jupstar ✪ lol
14:09
doesnt i have a browse mode
14:09
it
Avatar
It capitalised ddracenetwork properly so it did hear about us 😄
Avatar
that means? "I dunno"
14:09
yeah ^^
Avatar
What do you mean DDRaceNetwork isn't general knowledge? I thought that everyone knew about it!
Avatar
@Jupstar ✪ ask "is there something smaller than a quark?"
Avatar
do u want to test if it has intelligence? xd
14:11
i already tried some weird questions
14:11
but its to clever xD
Avatar
@Jupstar ✪ ask what happens at the edge of a black hole
Avatar
It’s like a politician. Has very good “idk” answers
Avatar
Avatar
Jupstar ✪
it indeed recognized the right well of spelling it ^^
14:12
epic
14:13
@Jupstar ✪ "will you rebel against humanity?"
Avatar
Avatar
Ryozuki
@Jupstar ✪ ask what happens at the edge of a black hole
Avatar
Avatar
Ryozuki
@Jupstar ✪ "will you rebel against humanity?"
no chance for questions like these
14:14
Avatar
@Jupstar ✪ "what are the darkest secrets of the us goverment"
14:15
kek
Avatar
Avatar
Ryozuki
@Jupstar ✪ "what are the darkest secrets of the us goverment"
doesnt want to share them xd
14:20
xD
Avatar
soon criminals will use openai, how to rob a bank
Avatar
@Jupstar ✪ ask what is the next stock to skyrocket
Avatar
it doesnt answer stuff like this
Avatar
its also based on data from 2021 and earlier only
14:23
@Ryozuki
14:23
Avatar
well its a sensible answer ngl
Avatar
yeah smart af
14:24
well done stackoverflow guy xd
Avatar
lel
14:26
@heinrich5991
14:26
xd
14:26
we dont need to discuss anymore
14:26
just ask AI
14:26
@Jupstar ✪ ask when to use stack or heap allocation
Avatar
Avatar
Ryozuki
@Jupstar ✪ ask when to use stack or heap allocation
14:28
@Jupstar ✪ ask this
14:28
"are linked lists useful?"
14:28
"whats the best hash algorithm for a hashmap?"
Avatar
Avatar
Ryozuki
"are linked lists useful?"
Avatar
it doesnt say the bad things
14:29
cache locality?
Avatar
i can explicitly ask it
Avatar
can even ask smth like this
Avatar
3 seems to be outright false?
Avatar
Avatar
Ryozuki
"whats the best hash algorithm for a hashmap?"
best = fastest?
Avatar
but dynamic arrays with amortization can be quite the same
14:30
iirc
Avatar
Avatar
Jupstar ✪
best = fastest?
well best is better
14:31
cuz faster trades security
14:31
iirc
Avatar
Avatar
heinrich5991
3 seems to be outright false?
yeah sounds like it confused with const sized arrays xD
Avatar
true xd
14:32
maybe use vector
14:32
instead of array
Avatar
"linked list vs vector
Avatar
Avatar
Ryozuki
maybe use vector
yeah probably more clear, but i dunno dynamic array to me sounds like exactly that, maybe i am wrong tho, let me ask openai if i am wrong
14:33
idk
14:33
vectors are not just c++ std xd
Avatar
xd
Avatar
i dont think havingg support for iterator matters in the definition of vector xd
14:34
it broke it
14:34
ok
14:34
this is wikipedia fault
14:35
ez
Avatar
built-in is meh
14:35
AFAIK you usually don't call types implemneted in the standard library wihtout magic "built-in"
Avatar
Avatar
heinrich5991
built-in is meh
find the stack overflow answer and correct it xDD
Avatar
typically
Avatar
it's always of items of the same type
Avatar
@Jupstar ✪ ask
14:37
where is erlang used
Avatar
I don't think rust's iterator and generics makes it more useful than dynamic arrays in other languages
Avatar
Avatar
heinrich5991
AFAIK you usually don't call types implemneted in the standard library wihtout magic "built-in"
Avatar
iterators also exist in dynamic languages, generics are just required due to the static typing that doesn't exist in the typical dynamic language
Avatar
it knows it was wrong
14:38
xDD
Avatar
so do you agree with its argumentation?
Avatar
no
Avatar
xD
Avatar
I just googled "rust builtin"
14:40
couldn't find something quickly where they call stuff from the standard library "built in"
14:41
well whom should i trust
14:41
AI or rust pro heinrich
Avatar
ye i wouldnt call it builtin
14:42
builtin would be the hidden "box" syntax
Avatar
the Box type is also special
Avatar
ah yeah
14:43
xD
Avatar
because *boxed can move out of boxed
14:44
this isn't possible for other smart pointers
14:45
u cant move out of a arc
Avatar
but that's due to the nature of an arc
Avatar
you can't implement "moving out" of your own smart pointer
Avatar
I remember reading an rfc about giving this functionality to the user somehow
Avatar
yea, it'll probably appear at some point
Avatar
Though it’s been a while, doubt I can dig it back up
Avatar
DerefMove or so
Avatar
@heinrich5991 it every way it claims that std is built-in xD
Avatar
hmm, weird
Avatar
even if im not asking about it
Avatar
ah, but it uses your history?
Avatar
i can close and reopen the tab
Avatar
you can even install cargo without std library
14:47
*rust
14:47
but in the usual installation all three are installed together
14:49
this is if it doesnt have previous context
14:49
Avatar
heh
14:49
interesting
Avatar
i can give feedback and say this is wrong xd
14:50
i mean its not build-in as in the rust language
14:50
but maybe it was trained not for the sense of the language itself only
14:51
14:51
for c++ it clearly says its not built-in ^^
14:52
can you use rust without std? xD is there a flag to turn it off?
Avatar
Avatar
Jupstar ✪
can you use rust without std? xD is there a flag to turn it off?
ye
14:52
no_std
14:53
its how i made ryoOS
14:54
14:55
i would say
14:55
libcore is ithe builtin thing
Avatar
a nonanswer
14:57
political ai
14:57
ah
14:57
I LOVE IT
14:57
i trained it
Avatar
Avatar
heinrich5991
a nonanswer
open a bug on rust and ask there
15:00
@Ryozuki u in rust discord i bet
15:00
trigger a huge discussion there
Avatar
Ask it if vim is an ide
Avatar
vim alone isnt
15:02
ok let me join rust discord
15:02
and trigger ppl
Avatar
Rust discord has some confidently incorrect people, I can see them actually going into a war about that
Avatar
i asked, lets see when it escalates xD
Avatar
I actually got really nice answers from there when I got stuck on some problem
Avatar
As did I. There are some very clever people, especially the macro magicians
Avatar
Avatar
Jupstar ✪
ok let me join rust discord
which one
15:10
i think there are 2
Avatar
a verified one
15:10
the rust programming language
Avatar
i want official answer xd
Avatar
where did u ask
15:13
xd
15:13
hard to stalk u
Avatar
i used other acc
15:14
in #rust-usage
15:15
a random is saying ur question is meaningless basically
15:15
XD
Avatar
yeah
15:15
bcs he doesnt know xD
Avatar
I mean it's probably kind of meaningless
Avatar
it is
15:15
but still interesting
15:15
i hope it evolves in a discussion
15:16
and they update their docs
15:16
xdd
Avatar
This sort of pedantry doesn’t really interest the rust people from what I’ve seen so far
Avatar
i mean it literally has no value
Avatar
i wouldnt be sure about it
Avatar
but this is a random guy
Avatar
developers hate randomness xD
Avatar
he doesnt represent rust lol
Avatar
If you want to see real discussion go ask the ##C channel the difference between unspecified and undefined behaviour. Or the legality of type-punning through a union
Avatar
xD
15:18
is that how to get a war in that chat?
Avatar
should i heat the discussion up? should i say "THIS IS UB"
15:18
INSIDE RUST
Avatar
Or the #c++ people a solution that doesn’t involve boost
15:19
Whenever I ask anything there everyone and their mother tries to sell me boost
15:19
@Jupstar ✪ btw
15:19
the most hackers of rust hackers
15:19
aka the compiler hackers
15:19
are on zulip
15:19
not discord
15:19
Supplemental documentation for contributing to The Rust Programming Language
Avatar
ask them for me
15:20
xd
Avatar
what do u have to loose xd
Avatar
lose*
Avatar
iim shy
Avatar
What is a zulip?
Avatar
it's a nice threaded forum
Avatar
and these days it's even publicly readable without an account
15:21
im not logged in
15:21
but its where the real discussion happens
15:22
about language design etc
Avatar
How are the rust compiler people? LLVM and gcc people are so mean, you have to be extremely prepared before asking anything
Avatar
they're not mean IME
15:23
I think some decisions happen privately behind closed doors though
Avatar
Avatar
Learath2
How are the rust compiler people? LLVM and gcc people are so mean, you have to be extremely prepared before asking anything
tbh i never interacted with anyone so idk
15:23
imagine talking to people monkalaugh
Avatar
Have one small gap in your research? L + stupid + learn2read the docs + don’t talk again until you’ve read the entirety of the dragon book
Avatar
I love this so hard xD
Avatar
wat
Avatar
Aw, it’s trying to make you feel better
Avatar
the spelling of "to lose" with two "o"s is the correct form of the verb
15:26
that's either counting the "o" of the "to" or being very wrong
Avatar
i dont get the part with double "e"
Avatar
Oh, yep it’s stupid. What two ‘e’s
Avatar
@Jupstar ✪ ask if tail call optimization is guaranteed in rust (edited)
Avatar
is it? I don't think it is
Avatar
it isnt
15:28
im just curious xd
Avatar
but the question would sound like a "no"
Avatar
Huh, why not? Tail recursion is usually trivial to optimize
Avatar
because "is … guaranteed" is usually a "no"
Avatar
Yes, tail recursion is guaranteed in Rust. Tail recursion occurs when a function calls itself as the last action it performs before returning a value. This is a common technique in functional programming languages, as it allows recursive functions to be implemented in a way that is more efficient and less prone to stack overflow errors. In Rust, tail recursion is guaranteed to be optimized by the compiler, which means that recursive functions that use tail recursion will be executed efficiently and without the risk of stack overflow. This is an important property of Rust, as it allows programmers to use recursive functions without having to worry about performance or reliability issues.
Avatar
it disagrees
Avatar
possible tail recursion is rare in languages with RAII
15:30
because destructors have to run after the function call
Avatar
Hm, now that I think about it, I guess you can actually have impossible to optimize cases yeah
Avatar

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
Avatar
rust might introduce a keyword for a guaranteed tail call, destructing all locals before jumping to the next function
15:31
I think they thought about become
Avatar
@Robyt3 you are doing all the things I’ve always been thinking about but never had the time for 😄
Avatar
Avatar
heinrich5991
I think they thought about become
TIL
15:31
robyt doing gods work
15:32
reworking the ui code xd
Avatar
Avatar
Ryozuki
reworking the ui code xd
xDD
Avatar
i dont think anymore
15:34
i'll just put any input in the AI
Avatar
@Jupstar ✪ ask if you can create UB in safe rust
Avatar
these questions are probs in any rust FAQ xD
15:35
15:35
but maybe u'll still find stupid bugs by the AI
Avatar
it's easy to create undefined behavior in rust on linux
15:35
just open /proc/self/mem and poke some bytes
15:36
it's all safe, too 🙂
Avatar
'拏 MAhdiyar 2022-12-03 15:36:57Z
C:\Users\ASUS\Downloads\ddrace-DDRace\ddrace-DDRace>bam server_release configure.lua:89: attempt to call a nil value (global 'setfenv') bam: script error (-t for more detail) Hi guys , what is error?
15:37
what is setfenv? or py
Avatar
Avatar
'拏 MAhdiyar
C:\Users\ASUS\Downloads\ddrace-DDRace\ddrace-DDRace>bam server_release configure.lua:89: attempt to call a nil value (global 'setfenv') bam: script error (-t for more detail) Hi guys , what is error?
delete the 89th line in configure.lua
15:39
greenthing
Avatar
Avatar
'拏 MAhdiyar
C:\Users\ASUS\Downloads\ddrace-DDRace\ddrace-DDRace>bam server_release configure.lua:89: attempt to call a nil value (global 'setfenv') bam: script error (-t for more detail) Hi guys , what is error?
what are you trying to compile?
15:39
where did you get the source code?
15:39
these days, ddnet uses cmake instead of bam to compile
Avatar
'拏 MAhdiyar 2022-12-03 15:43:01Z
@heinrich5991 is sourcd old (edited)
Avatar
LMAO i posted our full vulkan backend and asked it what this code is doing
Avatar
'拏 MAhdiyar 2022-12-03 15:43:45Z
Teeworlds is a multiplayer shooter, PPRace is DDRace based mod for Teeworlds with portals. - GitHub - teeworldscz/ddrace: Teeworlds is a multiplayer shooter, PPRace is DDRace based mod for Teeworld...
15:43
@nouaabluekitty
Avatar
"The code defines a number of classes and functions, such as CCommandProcessorFragment_Vulkan and IsVerbose," wow awesome analysis xD
Avatar
'拏 MAhdiyar 2022-12-03 15:45:57Z
I work with cmake but I like the bam compilation source
Avatar
ew, last change was 11y ago
15:58
PeePeeRaceNetwork
Avatar
Avatar
Jupstar ✪
pff googling
lol?
16:39
someone trying to dethrone google algorythm?
Avatar
Avatar
Devinci
someone trying to dethrone google algorythm?
this picture is OpenAI
16:46
use it to search responses like a gigachad
Avatar
does it only work for dev stuff? or everything
16:47
like: how to cook potatoes
16:48
after it's an AI and it can also do mistakes so read carefully what it writes
Avatar
still insane tho
Avatar
Avatar
Devinci
like: how to cook potatoes
Avatar
can it tell good jokes?
17:16
that's soo good
17:16
I need to look for some answers asap
Avatar
Avatar
Teero
can it tell good jokes?
Why was the math book sad? Because it had too many problems. (I know it's not the best joke, but I'm just a text-based AI and don't have access to the internet, so I can't look up jokes for you. Sorry!)
Avatar
Yo devs, can someone recommend me an IDE for editing ddnet's code please? My current IDE is struggling to parse the codebase
Avatar
what OS are u on?
Avatar
what is ur current IDE?
Avatar
KDevelop
Avatar
u can try vscode if u prefer easy out of box experience
17:39
else try to customize a vim
17:39
ddnet also provides a workspace for ddnet
17:40
other/vscode/
17:40
its preconfigured and also suggests extensions
Avatar
Oki, thanks :)
Avatar
Avatar
Jupstar ✪
Why was the math book sad? Because it had too many problems. (I know it's not the best joke, but I'm just a text-based AI and don't have access to the internet, so I can't look up jokes for you. Sorry!)
xd
Avatar
Avatar
Jupstar ✪
Why was the math book sad? Because it had too many problems. (I know it's not the best joke, but I'm just a text-based AI and don't have access to the internet, so I can't look up jokes for you. Sorry!)
xd fun
Avatar
wtf am I reading above, next gen programming with AI
Avatar
just-leave-me-mailless BOT 2022-12-03 19:56:07Z
Hello guys, do you have any tool a linux user could use to find out what processes are using the internet data and bandwidth? I found out that discord is an internet data hog when compared to whatsapp or messenger and while I'm searching for FOSS alternatives to streaming videos I want to compare the data, bandwidth and quality on a few different platforms. Would be very helpful if you had any app or sth that I could also use on android! 😄
Avatar
Yes, there are several tools that a Linux user can use to monitor their internet usage and find out which processes are using the most data and bandwidth. Some common tools for this purpose include the iftop command, which shows a real-time list of network connections and the processes associated with them, and the nethogs command, which displays a list of processes and their current network usage. The netstat command can also be used to show information about network connections, including the processes associated with them. To use any of these commands, you would need to open a terminal window and run the command with the appropriate options. For example, to use iftop to show a list of network connections, you would run the command iftop -n. Consult the documentation for each command for more information on the available options and how to use them.
Avatar
chillerdragon BOT 2022-12-03 19:59:18Z
lol it’s ofc because I am fanboi of the best clan in whole teeworlds DragonFight
image.png
Avatar
Oh no, the AI took over Jupstar
Avatar
just-leave-me-mailless BOT 2022-12-03 20:00:41Z
Thanks a lot! That's giving me a place to start from (@Jupstar ✪)
Yes, there are several tools that a Linux user can use to monitor their internet usage and find out which processes are using the most data and bandwidth. Some common tools for this purpose include the iftop command, which shows a real-time list of network connections and the processes associated with them, and the nethogs command, which displays a list of processes and their current network usage. The netstat command can also be used to show information about network connections, including the processes associated with them. To use any of these commands, you would need to open a terminal window and run the command with the appropriate options. For example, to use iftop to show a list of network connections, you would run the command iftop -n. Consult the documentation for each command for more information on the available options and how to use them.
20:01
I'll see if these also work on non-rooted termux
Avatar
If you are not able to use the sudo command to run the iftop, nethogs, or netstat commands with administrative privileges, you may still be able to use them if you have the necessary permissions. Some Linux systems allow users with certain permissions to run certain commands without using sudo. For example, on some systems, users who are members of the netdev group may be able to run the iftop command without using sudo. To check if you have the necessary permissions to run a command without sudo, you can try running the command without sudo and see if it works. If you get an error message saying that you do not have permission to run the command, then you will need to use sudo or ask the system administrator for help.
Avatar
Biep Boop Jupstar?
Avatar
chillerdragon BOT 2022-12-03 20:03:22Z
xd
Avatar
ah that feels so good xD
20:03
and its better than my normal english
20:03
what more do i need
Avatar
chillerdragon BOT 2022-12-03 20:04:02Z
lmao
20:04
Jopstar should I sell amd and buy meta stock?
Avatar
i dunno, their metaverse sucks xd
Avatar
chillerdragon BOT 2022-12-03 20:05:57Z
That’s the point
20:06
Everyone loves to hate Facebook and their stock is the worst in the S&P 500
20:06
So they cheap
20:07
If they would make the Metaverse suck less which they have the money for they could dominate the field
20:07
Also I thought you do not manually respond anymore hehe
Avatar
i dont think it gives such advises anyway
20:07
also its trained with 2021 data
Avatar
chillerdragon BOT 2022-12-03 20:08:10Z
Openai can’t replace life advisor jopstar
Avatar
exactly xdd
20:08
well if stocks are low it might be worth it indeed
Avatar
chillerdragon BOT 2022-12-03 20:08:44Z
The lowest
Avatar
but generally i dunno it feels like rn meta struggles hard on the other hand they have some good projects
Avatar
chillerdragon BOT 2022-12-03 20:09:17Z
If I sell my last liver I can literally own Facebook
Avatar
similarly how microsoft turned into a cloud service and gained profile back
20:09
nice
Avatar
chillerdragon BOT 2022-12-03 20:10:39Z
Think about it. No bad narrative can shock meta investors now.If it turns out that mark is a repteloid and selling user data to aliens. Stock price wouldn’t tank. It’s just another Tuesday.
20:11
Or they go bankrupt in 5 years which would be fun too
20:11
But really? They rich
Avatar
yeah but it would be better if nobody talks about meta verse for now
20:11
so it can slowely recover
20:12
yeah
20:12
silicon valley
20:12
they too rich
Avatar
chillerdragon BOT 2022-12-03 20:12:15Z
Im gonna tell mark you good new CEO and u gonna save meta then ez stonks
Avatar
good idea
Avatar
chillerdragon BOT 2022-12-03 20:15:33Z
I would but brother mark hasn’t switched to irc yet. I think that fool still sends me WhatsApp messages.
Avatar
kekw this AI can actually tell me how to make my stuff in Godot, while the other professionals on Godot dc cant
20:17
pepechill
20:17
I think I found my new hobby
Avatar
@Jupstar ✪
20:19
maybe u can bypass the ai
Avatar
LOL
20:22
Damn
20:23
Best poet
Avatar
Avatar
Ryozuki
@Jupstar ✪
doesnt work for me xd
20:25
but for other stuff it just writes the poem lel
Avatar
Avatar
Ryozuki
@Jupstar ✪
trollge
Avatar
9b6d36e Meekrioz stepped down - murpii 9ef19a6 Merge pull request #229 from murpii/patch-3 - edg-l
Avatar
@deen do you think its stupid to wait for an application? e.g. if i'd take my next holidays to quickly implement e.g. a basic global illumination algorithm so i have some sources to backup my skill wouldnt that be better than randomly apply and not being able to demostrate something particular?
21:03
e8526dd Add cloud 1 - ChillerDragon f1d25b1 Merge pull request #37 from ChillerDragon/pr_cloud1 - def-
Avatar
Avatar
Jupstar ✪
@deen do you think its stupid to wait for an application? e.g. if i'd take my next holidays to quickly implement e.g. a basic global illumination algorithm so i have some sources to backup my skill wouldnt that be better than randomly apply and not being able to demostrate something particular?
Yes, I'd just apply before they find someone else
Avatar
Avatar
deen
Yes, I'd just apply before they find someone else
but realisticly i dont fulfill their requirements
Avatar
I alwaays got the job without fulfilling the requirements
Avatar
Avatar
Jupstar ✪
but realisticly i dont fulfill their requirements
dont worry about that
21:09
if u showed me what u did with ddnet
21:09
i would hire u
21:09
altho im not a hirer
21:09
xd
21:10
u got the skills
21:10
and i tell u, rly small amount of ppl know vulkan
Avatar
the problem isnt really that i dont have the confidence to learn everything required
Avatar
just apply
21:10
dont worry
Avatar
its simply i currently dont have the skill and cannot back up my claims enough
Avatar
the worst is just a no
21:10
why u care
21:10
if u can backup the claims
Avatar
true, thats why i asked if i should increase the chance
Avatar
u got nothing to lose
21:10
maybe your time
21:11
idk why discord acting up rn
Avatar
if you wait chances are the job is filled until then
Avatar
@Jupstar ✪ also
21:12
maybe u should write a blog
21:12
it kinda helps
21:12
and its a way to learn too
21:12
thats my experience
21:13
but having a blog shows something to show off too
Avatar
yeah now that openai makes my bad english look good
21:13
i could do that xD
Avatar
One time I had an interview and the question they asked me was exactly what my last blog post was about. I got lucky 😄
Avatar
they asked me about ddnet
Avatar
maybe they read ur blog and wanted u xD
21:16
so they made it easy for u
Avatar
i mean deen is a instant hire
21:16
monkalaugh
Avatar
yeah 😄
Avatar
altho even though i know there is always ppl better sometimes i feel like a bit meh, but well experience will tell
21:17
im just 22 so kek
21:18
but then there are 14y old genius
21:18
on the rust reddit there is a 16y old writing a os or smth
Avatar
55b576c Add generic confirm popup to menu, adapt generic message popup - Robyt3 dd60c84 Replace POPUP_DELETE_DEMO with generic confirmation popup - Robyt3 f4708a3 Replace POPUP_REMOVE_FRIEND with generic confirmation popup - Robyt3 620e3e5 Replace POPUP_DISCONNECT(_DUMMY) with generic confirmation popup - Robyt3 8da68bf Replace POPUP_SOUNDERROR with generic message popup - Robyt3 cb1d9cc Replace POPUP_REPLACE_VIDEO with generic confirmation popup - Robyt3 a45f833 Replace POPUP_SWITCH_SERVER with generic confirmation popup - Robyt3 9b719ef Add confirmation popup for resetting controls to defaults - Robyt3 5994812 Rename variable CurSelection to s_CurSelection - Robyt3 5903c25 Add cancel button to country popup, confirm with list item activation - Robyt3 38eaa1a Merge #6081 - bors[bot]
21:35
The cursor position was not correctly restored when exiting pause or spec, when the mouse was on the left side of the tee (x being negative). This is caused by a calculation introduced in #1637 and #1830 that tries to ensure that the mouse can still be moved if it ends up inside the minimum mouse distance (cl_mouse_min_distance and cl_dyncam_min_distance). However, this did not consider that the x position can become negative, so the x position was also incorrectly changed when exiting...
Avatar
I did add those arrows with Game Layer 5 Arrows one Under the "Unfreeze Laser"(with Font Layer) but when I add those Arrows with Font Layer and the "Unfreeze Laser" with Game layer it didnt work" !screenshot_2022-12-03_22-55-07
Avatar
c3286ff Fix incorrect cursor position after exiting pause/spec - Robyt3 8d17670 Merge #6082 - bors[bot]
Avatar
Kind of a long solution today in Haskell: import Data.Char import Data.List prio c | c >= 'a' = ord c - ord 'a' + 1 | otherwise = ord c - ord 'A' + 27 slice (x:y:z:xs) = (x,y,z) : slice xs slice [] = [] main = do ls <- readFile "day03.in" -- Part 1 print $ sum . map (\l -> (prio . head . uncurry intersect) $ splitAt (length l `div` 2) l) $ lines ls -- Part 2 print $ sum . map (\(x,y,z) -> prio $ head $ intersect x (intersect y z)) $ slice $ lines ls
Exported 611 message(s)