110 karma · joined Aug 8, 2016 (10y ago) · 33 submissions
comment 7mo ago · link · parent
tcp_now = 4,294,960,000 (frozen at pre-overflow value)
timer = 4,294,960,000 + 30,000 = 4,294,990,000
(exceeds uint32 max → wraps to a small number)
timer wraps to a small number, they say TSTMP_GEQ(4294960000, 4294990000)
they forgot to wrap it there, it should be TSTMP_GEQ(4294960000, small_number) = (int)(4294960000 - 4294990000)
= (int)(-30000)
= -30000 >= 0 ? → false!
wrong!There may be a short time period where this bug occurs, and if you get enough TCP connections to TIME_WAIT in that period, they could stick around, maybe. But I think the original post is completely overreacting and was probably written by a LLM, lol.
comment 7mo ago · link · parent
these kernel versions:
Darwin Kernel Version 20.6.0: Thu Jul 6 22:12:47 PDT 2023; root:xnu-7195.141.49.702.12~1/RELEASE_ARM64_T8101 arm64
Darwin Kernel Version 17.7.0: Wed Apr 24 21:17:24 PDT 2019; root:xnu-4570.71.45~1/RELEASE_X86_64 x86_64
so... wonder what that's about?
comment 6y ago · link · parent
We have a zlib-licensed wrapper header for some commonly-used win32 APIs to make them take UTF-8, see:
https://github.com/justinfrankel/WDL/blob/master/WDL/win32_u...
https://github.com/justinfrankel/WDL/blob/master/WDL/win32_u...
(This is used in REAPER so it's relatively well tested!)
comment 6y ago · link · parent
From my experience, stopping distance is usually dictated by road conditions more than the brakes. This is with 34mm wide tires, and properly adjusted brakes (a lot of times when people complain about rim brakes, the issue is that they are not working properly).
Side note: fenders are a must!
comment 6y ago · link · parent
ReaScript: can program high level UIs/project manipulation/etc in Lua or EEL2
JSFX: can write realtime signal processors in EEL2
Video: can write/edit video FX in EEL2 (a ton of included presets are there which can be tweaked on the fly)
comment 7y ago · link · parent
The new city government could completely cancel the bill if they felt like it.
How many people will be killed by cars in the meantime?
IMO if you're a city responsible for the safety of your citizens, and you agree what the right thing is to do, adding unnecessary delay for no real reason is reprehensible.
A quote from the NYT article https://www.nytimes.com/2019/10/28/nyregion/nyc-biking-death...
"To gain Mr. de Blasio’s support, Mr. Johnson’s office agreed to push back the start date for the first streets plan, from this month to December 2021, around the time the next mayor takes office."
comment 7y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent