Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2024-10-22 00:00 and 2024-10-23 00:00
Avatar
Avatar
Learath2
Stopped contributing to ddnet, made something actually useful
Hop on gw2
Avatar
TIL that i32::MAX is a (mersenne) prime number
Avatar
I could've lived without that information but now I'll read posts about that topic for 2 hours. Let's go
Avatar
Avatar
Ryozuki
TIL that i32::MAX is a (mersenne) prime number
That's lucky
Avatar
yesterday I learned that 2^136279841 - 1 is prime
10:27
discovered yesterday
10:28
fun fact, in hex its represented like this
Avatar
Did you know that we don't know whether there are infinite Mersenne primes or not?
Avatar
yeah
Avatar
Avatar
Learath2
Stopped contributing to ddnet, made something actually useful
It would even be practical if it wasn't for the awful latency :)
11:14
ok maybe I'm just picky but even the latency on my Wacom tablet irritates me sometimes
Avatar
Hello everyone, can you send me the link to download ddnet to your phone?
13:57
owo
Avatar
Avatar
, cat1x
Hello everyone, can you send me the link to download ddnet to your phone?
Avatar
Avatar
Learath2
Did you know that we don't know whether there are infinite Mersenne primes or not?
cyberfighter 2 2024-10-22 15:43
i dont get why there wouldnt be infinite of them if you got infinite numbers to deal with
Avatar
Avatar
cyberfighter 2
i dont get why there wouldnt be infinite of them if you got infinite numbers to deal with
Well we don't really understand primes very well. Their distribution is a bit of a mystery. It's easy to show that there are infinite primes, but it's not at all easy to show that there are infinite primes of the type 2^k - 1
Avatar
MilkeeyCat 2024-10-22 15:51
https://runjs.app/ watafak is this pepeW
15:52
20 clams for a program which runs js code for you (edited)
Avatar
https://math.stackexchange.com/a/3985396 there is this dude on stackexchange that claims they proved that it's finite using excel in the appendix of a paper they wrote (edited)
known facts : $1.$ There are infinitely many Mersenne numbers : $M_p=2^p-1$ $2.$ Every Mersenne number greater than $7$ is of the form : $6k\cdot p +1$ , where $k$ is an odd number $3.$ There are
15:54
I have my doubts
Avatar
hello everyone
Avatar
Jupstar ✪ 2024-10-22 15:59
hello all 8 billion ppl
Avatar
Avatar
nikitqwzx
hello everyone
Jupstar ✪ 2024-10-22 15:59
wazzup, what's on your heart today
Avatar
$kog
Avatar
Avatar
cucumber
$kog
KoG affiliation
First and foremost: DDNet and KoG aren't affiliated. If you need help on a server related to KoG, join their Discord server by clicking on the link below.
Avatar
Avatar
MilkeeyCat
https://runjs.app/ watafak is this pepeW
I'm sure they've managed to fish some noobs with this scam
Avatar
Avatar
risu
I'm sure they've managed to fish some noobs with this scam
MilkeeyCat 2024-10-22 18:34
People who buy it should be ashamed of themselves to the rest of their lives
Avatar
Avatar
Ryozuki
fun fact, in hex its represented like this
just like all mersenne primes
Nerd_Check 1
Avatar
Avatar
Learath2
https://math.stackexchange.com/a/3985396 there is this dude on stackexchange that claims they proved that it's finite using excel in the appendix of a paper they wrote (edited)
fermat long lost descendant 😄
Avatar
ISRG has been investing heavily in the Rustls TLS library over the past few years. Our goal is to create a library that is both memory safe and a leader in performance. Back in January of this year we published a post about the start of our performance journey. We've come a long way since then and we're excited to share an update on Rustls perfo...
Avatar
GitHub BOT 2024-10-22 18:53
Add log_error_color, log_warn_color, log_info_color, log_debug_color and log_trace_color macros to wrap log_log_color function with specific log levels. Add comment to mark the IConsole::Print function as deprecated in favor of the log_* functions, which should be preferred for the following reasons:
  • They support printf-formatting without a separate buffer.
  • They support all five log levels.
  • They do not require a pointer to IConsole to be used.
  • Consistency ...
Avatar
how do they guarentee security on side channels such as time ?
Avatar
ask them
Avatar
i know that's sometimes already hard enough with C, gotta be even harder with rust
Avatar
how so?
18:55
both C (clang) and rust use llvm
18:56
rustls is mostly done by amazon team iirc
18:56
aws-lc-rs is a cryptographic library using AWS-LC for its cryptographic operations. The library strives to be API-compatible with the popular Rust library named ring. - aws/aws-lc-rs
18:57
While Rustls itself is platform independent, by default it uses aws-lc-rs for implementing the cryptography in TLS. See the aws-lc-rs FAQ for more details of the platform/architecture support constraints in aws-lc-rs. ring is also available via the ring crate feature: see the supported ring target platforms.
Avatar
because high level compiler will optimize code
18:58
and thus break time/power equality between branches
Avatar
idk
18:58
maybe they use inline asm
18:58
i dont rly want to look this now xd but i doubt such a big project didnt consider this stuff
Avatar
yeah, obviously they care about this or nobody would use their lib. Im just curious on how they handle it
Avatar
apparently rustls complies with this too https://en.wikipedia.org/wiki/FIPS_140-2
The Federal Information Processing Standard Publication 140-2, (FIPS PUB 140-2), is a U.S. government computer security standard used to approve cryptographic modules. The title is Security Requirements for Cryptographic Modules. Initial publication was on May 25, 2001, and was last updated December 3, 2002. Its successor, FIPS 140-3, was approv...
19:00
well whathever latest fips is
19:00
The Federal Information Processing Standard Publication 140-3 (FIPS PUB 140-3) is a U.S. government computer security standard used to approve cryptographic modules. The title is Security Requirements for Cryptographic Modules. Initial publication was on March 22, 2019 and it supersedes FIPS 140-2.
Avatar
Avatar
Chairn
yeah, obviously they care about this or nobody would use their lib. Im just curious on how they handle it
i know in llvm u can put function attributes to tell llvm to not optimize a specific function for example
Avatar
how can you ever guarantee constant time if the cpu itself can optimize your machine code?
Avatar
you can also deactivate some cpu opts for critic kernel. you just have to reduce leaks to noise level
Avatar
anybody playing factorio?
19:04
the factory must grow (in space)
Avatar
I played 7 hours yesterday
Avatar
i played like 2
19:04
need more time
19:04
i also play ffxiv tho xd
Avatar
requester chests gated behind space science was a huge delay for us because we thought we could make a bot unloader for the trains but it turned out that we need rockets first
Avatar
oh spoiler
19:05
xd
Avatar
not really, you run into it before you leave the first planet xd
Avatar
i havent even left a panet yet xd
19:06
taking it slow
Avatar
us neither
19:06
u play coop?
Avatar
solo for the pros
19:06
gigachad
19:06
imagine having friends
Avatar
it's sorta hard not to see spoilers while you're playing when the research tree shows you everything from the start
19:07
don't scroll down too much... xd
Avatar
Avatar
Ryozuki
imagine having friends
8 friends on steam ingame rn lol
19:09
most played game among my friend list
Avatar
tbh i prefer solo cuz i like doing all stuff
Avatar
I enjoy 2-4 players the most cause you can still coordinate stuff without everything being a huge mess
Avatar
the coop world speedrun is fun
19:13
the speedrun achievement for space age looks hard, even if you already know everything
Avatar
Avatar
Chairn
how do they guarentee security on side channels such as time ?
my guess would be inline assembly
Avatar
MilkeeyCat 2024-10-22 19:36
@Learath2 my compiler's output isn't even that bad. I was looking different compiler implementations to yoink some stuff. And I found one which transpiles into C. Here's a few lines from output: #line 4 "foo.alu" static _AL6Result57 _AL14try_get_number256(){ int32_t _AL0474; #line 5 "foo.alu" _AL0474=_AL4next229(_AL10thread_rng72(), #line 174 "./sysroot/std/range.alu" (_AL5Range25){._AL0320= #line 5 "foo.alu" ((int32_t)0LL),._AL0321=((int32_t)3LL),}); #line 7 "foo.alu" return ((_Bool)(_AL0474>((int32_t)0LL))? #line 128 "./sysroot/std/result.alu" (_AL6Result57){._AL0308= ((_Bool)1),._AL0344= (_AL8_ResultT58){._AL0345= #line 8 "foo.alu" _AL0474,},}: #line 147 "./sysroot/std/result.alu" (_AL6Result57){._AL0308= ((_Bool)0),._AL0344= (_AL8_ResultT58){},});}
Avatar
ew
19:37
nim transpiles to C and it's a little better
Avatar
i got my work laptop
20:47
i have no 2.5g ethernet switch (or an ethernet port on my laptop) but the wifi is bad in my room
20:49
so i got a usb ethernet dongle i had, set up networkmanager to share the connection, and then plugged the ethernet into my monitor's ethernet port
20:49
so this monitor does 4k video, gigabit ethernet and power all over one cable
20:49
i love thunderbolt. my evil amd laptop doesnt have it
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
heinrich5991 2024-10-22 22:44
are github/gitlab written in ruby?
Avatar
Avatar
Chairn
yeah, obviously they care about this or nobody would use their lib. Im just curious on how they handle it
heinrich5991 2024-10-22 22:45
same as the C libraries — using asm. there's no other way, neither for C nor for Rust as far as I'm aware
Avatar
Kaffeine BOT 2024-10-22 23:12
(yes, both. GitLab: https://gitlab.com/gitlab-org/gitlab shows Ruby: 69.2%; for GitHub the percentage is lower but still)
Replying to @heinrich5991 are github/gitlab written in ruby?
Avatar
Avatar
Ewan
i love thunderbolt. my evil amd laptop doesnt have it
modern amd boards can have usb4 which is pretty much on par
Avatar
it’s 5th gen
Exported 97 message(s)
Timezone: UTC+0