egg|nomz|egg changed the topic of #kspacademia to: https://gist.github.com/pdn4kd/164b9b85435d87afbec0c3a7e69d3e6d | Dogs are cats. Spiders are cat interferometers. | Космизм сегодня! | Document well, for tomorrow you may get mauled by a ネコバス. | <UmbralRaptor> egg|nomz|egg: generally if your eyes are dewing over, that's not the weather. | <ferram4> I shall beat my problems to death with an engineer.
e_14159 has joined #kspacademia
e_14159_ has quit [Ping timeout: 202 seconds]
egg has quit [Read error: Connection reset by peer]
<UmbralRaptop> whee, IRTF
<UmbralRaptop> bofh: ^
UmbralRaptop has quit [Read error: Connection reset by peer]
UmbralRaptor has joined #kspacademia
UmbralRaptop has joined #kspacademia
UmbralRaptor has quit [Ping timeout: 186 seconds]
tawny has quit [Remote host closed the connection]
tawny has joined #kspacademia
<UmbralRaptop> Hrm. Outran the bus again.
<UmbralRaptop> Or walked 5 km in under 50 minutes.
<kmath> <marcelsalathe> “Admire us for lifting a barrier we ourselves have imposed”. Reminds me of a certain politician https://t.co/zBVuXztjda
egg has joined #kspacademia
<egg> !wpn bofh
* Qboid gives bofh a deep operator
APlayer has joined #kspacademia
Sarbian has quit [Ping timeout: 182 seconds]
tawny has quit [Ping timeout: 186 seconds]
Sarbian has joined #kspacademia
<B787_300> !wpn egg
* Qboid gives egg a reduced varistor with an anatidae attachment
sylvie has quit [Remote host closed the connection]
sylvie has joined #kspacademia
<egg> !wpn B787_300
* Qboid gives B787_300 a gallium tombstone
<egg> !wpn bofh
* Qboid gives bofh a coastal mathematician
<egg> !wpn UmbralRaptop
* Qboid gives UmbralRaptop a raw fennec
* B787_300 warms his ga tombstone and casts it into a sword
pthag has joined #kspacademia
<__awang__> !wpn -add:wpn coroutine
<Qboid> __awang__: Weapon added!
<__awang__> !wpn -add:wpn routine
<Qboid> __awang__: Weapon added!
<__awang__> !wpn -add:adj routine
<Qboid> __awang__: Adjective added!
<__awang__> !wpn -add:adj pythonic
<Qboid> __awang__: Adjective already added!
<__awang__> !wpn -add:wpn python
<Qboid> __awang__: Weapon already added!
<__awang__> !wpn -add:adj generated
<Qboid> __awang__: Adjective added!
<__awang__> !wpn -add:wpn generator
<Qboid> __awang__: Weapon added!
<__awang__> !wpn -stat
* Qboid gives -stat a vicious catadioptric anticommutator-like monorepo
<__awang__> Er
<__awang__> !wpn -statistics
* Qboid gives -statistics a drunk widget
<__awang__> !wpn -stats
<Qboid> __awang__: Total weapons: 1108. Total adjectives: 1261. Total possible combinations: 7816492818956.
<B787_300> !wpn -add:adj genetic
<Qboid> B787_300: Adjective added!
<egg> !wpn -stats
<Qboid> egg: Total weapons: 1108. Total adjectives: 1262. Total possible combinations: 7828890111292.
<egg> !seen UmbralRaptop
<Qboid> egg: I last saw UmbralRaptop on [08.08.2018 09:21:51] in #kspacademia saying: "https://twitter.com/marcelsalathe/status/1027103633844912129"
<kmath> <marcelsalathe> “Admire us for lifting a barrier we ourselves have imposed”. Reminds me of a certain politician https://t.co/zBVuXztjda
* UmbralRaptop x_x
<B787_300> Egg soon I will be in your hemisphere.... muhahahahahahaha
* B787_300 tries to resuscitate UmbralRaptop
<UmbralRaptop> probably some combination of good and coffee
<egg> B787_300: wait, you're in the southern hemisphere?
<B787_300> No I am in the northern but shortly will have non negative longitude
<kmath> <cosmos4u> "Trajectories of the Earth System in the Anthropocene" - someone just sent me a link to an open-access version of t… https://t.co/SAayEODjDm
<egg> meow
<UmbralRaptop> !pet egg
* Qboid pets egg
* egg meows at Qboid
tawny has joined #kspacademia
BPlayer has joined #kspacademia
APlayer has quit [Ping timeout: 182 seconds]
BPlayer is now known as APlayer
<egg> !pet whitequark and коте
* Qboid pets whitequark and коте
BPlayer has joined #kspacademia
APlayer has quit [Ping timeout: 182 seconds]
<bofh> !pet egg
* Qboid pets egg
APlayer has joined #kspacademia
<egg> bofh: what's the difference between xorpd and xorps Ꙩ_ꙩ
BPlayer has quit [Ping timeout: 383 seconds]
<bofh> http://qr.ae/TUIql3 fascinating
<bofh> egg: I'm not sure if one was ever intended, but the answer is "literally none" other than {and,andn,or,xor}pd require SSE2 and are one byte longer instruction-wise compared to {and,andn,or,xor}ps, so just use xorps all the time.
pthag has quit [Remote host closed the connection]
<egg> bofh: wat
<bofh> egg: they perform the same operation
<egg> yes but why are they
<bofh> I have no clue, I think Intel just wanted completeness or... I honestly have no fucking clue.
__awang__ has quit [Ping timeout: 194 seconds]
<bofh> like {and,andn,or,xor}pd are literally just DATA-PREFIX {and,andn,or,xor}ps (i.e. 0x66 0x0f 0x57 0xc0 vs. 0x0f 0x57 0xc0), so it's a fairly natural opcode extension... and based on how the instructions work I literally just think the instruction decoder just ignores the DATA-PREFIX and otherwise they are treated the same way once they hit Port 5 or w/e.
<egg> !wpn bofh
* Qboid gives bofh a boy/SPANG hybrid
<bofh> !wpn egg
* Qboid gives egg a flammable explicit Brand New Photoneutronic Engine
<kmath> <JoAnnaScience> can we please have a #DanceInTheField thread? https://t.co/rxr4cHTXp6
BPlayer has joined #kspacademia
<bofh> UmbralRaptop: YES PLEASE
APlayer has quit [Ping timeout: 182 seconds]
<egg> bofh: also currently figuring out how to mix sin and cos with eggstremely low latency to get a number of cycles that's not biased for a particular quadrant to induce a data dependency for a latency benchmark
<egg> bofh: I think (cos bitand 2 ** 52 - 1) bitxor sin works
__awang__ has joined #kspacademia
BPlayer has quit [Ping timeout: 383 seconds]
<egg> bofh: 52 seems to be the least biased?
<__awang__> egg: What magic am I looking at?
<egg> (cos 2πж bitand 2 ** 52 - 1) bitxor sin 2πж iterated (starting with ж = π)
<egg> well, a histogram thereof, mod 1 offset 1/2, for various values of 52
<bofh> egg: uhhm
<bofh> whe
<bofh> y
<egg> bofh: ?
<bofh> why is a quadrant bias here bad?
<egg> because branch prediction
<bofh> if you're computing sin *and* cos at once, then there's not really any branching involved over the quadrants, at least it can be done entirely branchlessly via masks and conditional mov's.
<bofh> that being said, is this so far into the hot path as to matter? :P
<egg> dunno, the code that uses it isn't there yet
<egg> but it's fun
<egg> I mean I guess the sufficiently smart compiler can emit cmovs and masks for that
<egg> but anyway, it might be branchey so unbiased quadrant sounds like a good idea
<bofh> egg: I mean I'd instead rewrite it myself so as to be branchless,
<egg> bofh: eh, there are no intrinsics for cmov and the like, and I'd rather keep it within the bounds of the language
<egg> bofh: anyway, it's hardly more work than cos bitxor sin or whatever, and I need a data dependency for a benchmark anyway
<egg> bofh: also, what if the quadrant *is* predictable
<egg> bofh: also *shrug*, mispredicts on random quadrant cost maybe a cycle so I don't care, there are probably more cycles to be gained here
<egg> (phl initially worked on throughput benchmarks and went for Horner instead of Estrin, pretty sure that eats the latency like you eat chocolate)
<egg> bofh: git commit -am 'der Wohlvorhergesate Quadrant'
<egg> bofh: #1889
<Qboid> [#1889] title: Improve the latency benchmark | Compute (cos bitand 2 ** 52 - 1) bitxor sin to induce a data dependency without reading from precomputed random inputs or doing a couple of floating-point additions.... | https://github.com/mockingbirdnest/principia/issues/1889
<egg> !meow bofh
* Qboid meows at bofh
egg is now known as egg|zzz|egg