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.
egg|laptop|egg has quit [Ping timeout: 180 seconds]
awang has quit [Ping timeout: 207 seconds]
<Qboid> 0d 18h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
awang has joined #kspacademia
<soundnfury> that ABC paper is like a car crash. I couldn't stop reading it even as it horrified me
<bofh> soundnfury: what, the Inter-Universal Teichmüller Theory one?
e_14159 has quit [Ping timeout: 207 seconds]
e_14159 has joined #kspacademia
<soundnfury> bofh: no, the printable binaries
<kmath> <CraigOfWaffles> @Chemjobber Dmitri "The Table" Mendeleev
e_14159 has quit [Ping timeout: 207 seconds]
e_14159 has joined #kspacademia
<kmath> <syncros> Everyday is Caturday. https://t.co/AsL16Hv2M2
icefire has quit [Quit: Leaving]
<Qboid> 0d 12h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
<Qboid> 0d 9h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
egg|phone|egg has quit [Ping timeout: 186 seconds]
egg|phone|egg has joined #kspacademia
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Ping timeout: 383 seconds]
egg|cell|egg has quit [Ping timeout: 182 seconds]
egg|phone|egg has joined #kspacademia
tawny has quit [Ping timeout: 383 seconds]
<Qboid> 0d 6h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
awang has quit [Ping timeout: 182 seconds]
awang has joined #kspacademia
tawny has joined #kspacademia
<Qboid> 0d 4h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
egg|phone|egg has quit [Ping timeout: 383 seconds]
APlayer has joined #kspacademia
tawny has quit [Ping timeout: 383 seconds]
ferram4_ has joined #kspacademia
ferram4 has quit [Ping timeout: 198 seconds]
<Qboid> 0d 3h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
egg|phone|egg has joined #kspacademia
<egg|phone|egg> !Wpn UmbralRaptor
* Qboid gives UmbralRaptor a Лидов neodymium decagon
* egg|phone|egg train
<awang> !wpn -add:wpn train
<Qboid> awang: Weapon already added!
<soundnfury> !wpn -add:adj trained
<Qboid> soundnfury: Adjective already added!
<soundnfury> !wpn -add:adj entrained
<Qboid> soundnfury: Adjective added!
egg|phone|egg has quit [Ping timeout: 182 seconds]
egg|phone|egg has joined #kspacademia
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Ping timeout: 207 seconds]
<awang> !wpn -add:wpn timeout
<Qboid> awang: Weapon added!
egg|cell|egg has quit [Ping timeout: 182 seconds]
egg|phone|egg has joined #kspacademia
<UmbralRaptor> !wpn egg|anbo|egg
* Qboid gives egg|anbo|egg a honed Glamdring
<Qboid> 0d 2h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
<SnoopJeDi> bofh, happy Tuesday, here's some quality material by two former labmates that was unearthed during lab cleaning: https://imgur.com/a/PT9US
BPlayer has joined #kspacademia
APlayer has quit [Read error: Connection reset by peer]
BPlayer has quit [Ping timeout: 182 seconds]
<Qboid> 0d 1h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
BPlayer has joined #kspacademia
BPlayer is now known as APlayer
tawny has joined #kspacademia
<kmath> <MattChallacombe> @bofh453 i grew up in the Almlof group. they had a code called disco, very 70s. then it became supermolecule i believe.
tawny has quit [Ping timeout: 383 seconds]
<Qboid> 0d 0h 30m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
<APlayer> Someone update Qboid on the new launch time?
tawny has joined #kspacademia
<Qboid> 0d 0h 10m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
egg|laptop|egg has joined #kspacademia
<Qboid> 0d 0h 2m 30s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
BPlayer has joined #kspacademia
APlayer has quit [Killed (NickServ (GHOST command used by BPlayer))]
BPlayer is now known as APlayer
<Qboid> 0d 0h 0m 0s left to event #23: Falcon Heavy [at 2018-02-06 18:30:00]. Say '!kountdown 23' for details
<kmath> YouTube - Falcon Heavy Test Flight
<Sarbian> :/
<Sarbian> o/
<egg|laptop|egg> !wpn Sarbian
* Qboid gives Sarbian a Russian photodiode
<Sarbian> !wpn egg|laptop|egg
* Qboid gives egg|laptop|egg a package-private foil/parabolol hybrid
<egg|laptop|egg> Sarbian: snow!
<Sarbian> yeah, you forgot to leave it home !
<egg|laptop|egg> hah
<Sarbian> (not that I mind)
<egg|laptop|egg> Sarbian: annoyingly I'm hungry but I don't want to go to the restaurant before the launch because I might miss it >_>
<Sarbian> well, I do mind a bit since I was alone at the office while everyone worked remote
<egg|laptop|egg> Sarbian: you should work remote with a cat like I did last week :-p
<Sarbian> no cats here so far. The logistic won over the cuteness so far
<Sarbian> I hope they launch today. If they don t that will make plans more complex !
<Sarbian> moving to the sofa and the huge screen, ping if I am needed
<APlayer> Will watch the FH on a TV screen?
<Sarbian> On a projector 102" glory
<kmath> <SpaceX> Continue to monitor the upper level wind shear. New T-0 is 3:45 p.m. EST, 20:45 UTC.
* UmbralRaptor eyes 1440x900 MBA monitor.
<awang> MBA with a 1440x900 monitor? That seems... large for an air
<awang> (assuming you're talking about the macbook air)
<awang> idk if any other laptops go by MBA
<awang> Theatres should show the launch
<awang> Put those sound systems to good use
<UmbralRaptor> awang: it's normal for a 2015, and I think more recent. But older ones may have been more like 1280x800?
<UmbralRaptor> 2014 MBA, 2007 HP netbook, same resolution?
<awang> UmbralRaptor: I'm just thinking that my computer is a 15" Retina
<awang> And 15" seems large for an air
<awang> Even 13"
<awang> I wasn't sure if 1440x900 would be used on 12" or smaller
<UmbralRaptor> I think it's a 13"
ferram4_ is now known as ferram4
BPlayer has joined #kspacademia
APlayer has quit [Read error: Connection reset by peer]
BPlayer is now known as APlayer
<APlayer> FH stream is up, guys!
<kmath> YouTube - Falcon Heavy Test Flight
<egg|laptop|egg> oh, and you can switch camera to get countdown net audio
<APlayer> CD net audio? What's that for?
<egg|laptop|egg> they used to have separate technical webcasts without blathering
<e_14159> For not hearing people blathering
<e_14159> What egg said.
<egg|laptop|egg> now apparently they're merged and you have camera selection for that
<APlayer> Ah
<APlayer> Well, I'd rather fill the wait times with live comments. Better than silent waiting IMO
<e_14159> Although I'm only watching it for 611.
<e_14159> xkcd.com/611
icefire has joined #kspacademia
<ferram4> It sounds like happy hour started early there. :P
<e_14159> ferram4: I hear a faint sound of cheering.
<e_14159> I'm wondering how to best submit code as an appendix for anonymous peer review.
hattivat has joined #kspacademia
hattivat_ has joined #kspacademia
hattivat has quit [Client Quit]
hattivat_ is now known as hattivat
<e_14159> Apparently, the technical webcast does not show any pictures except for the control room?
<ferram4> Knew I was smart to switch right before launch
<hattivat> that sequence from BECO through MECO to David Bowie in quick succession was just pure nerd porn
<e_14159> ferram4: Normal stream muted, technical stream audio. Works :-)
<ferram4> ha
* UmbralRaptor did what e_14159 typed.
<e_14159> Although I only managed to do so about 2 seconds after start.
<hattivat> sounds like a good idea, although you'd miss the David Bowie scene by doing that
<e_14159> I have rocket, why would I need David Bowie?
<hattivat> as awesome bacground for "starman" sitting in a Tesla Roadster?
<e_14159> Point.
<egg|laptop|egg> okay but what happened to the core
<e_14159> LOS and unplanned aquabraking/aquabreaking?
<hattivat> guess we'll learn soon
<hattivat> btw, you guys probably know about this already, but just in case: https://www.rutgersuniversitypress.org/ignition/9780813595832
<tawny> yeah, v good book
<hattivat> no, I mean it's a new edition
<hattivat> no more ugly old books for $400 on ebay
<e_14159> Nice
<hattivat> soon we will be able to get a pretty reissue for just $25
<hattivat> and the cover is pretty nice, IMHO
<icefire> cheers lads, what a launch
<tawny> ooo
egg|laptop|egg has quit [Ping timeout: 180 seconds]
* UmbralRaptor is suddenly reminded of a need to read Max Gergel's memoirs. >_>;;
APlayer has quit [Ping timeout: 182 seconds]
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Ping timeout: 186 seconds]
egg|cell|egg has quit [Ping timeout: 182 seconds]
egg|phone|egg has joined #kspacademia
<SilverFox> What is an elegant way of asking if a string of numbers contains any number above a certain number?
egg|cell|egg has joined #kspacademia
egg|phone|egg has quit [Read error: Connection reset by peer]
egg|phone|egg has joined #kspacademia
egg|cell|egg has quit [Read error: Connection reset by peer]
<SilverFox> I'm working on that N-length superperm finder, since I figured out how to get the superperm of 3 from 5 minutes down to 20 seconds, I wanted to make that even less by making some decent assumptions
<SilverFox> such as the number starting with 1-(N),1-(N-2) kind of thing to produce a string for 4! like 123412 because that's for sure going to be the first part which will give the lowest sequence
<SilverFox> from there I plan on just adding onto the end an incrementing sequence of numbers up until N, where N is the number you want to get the superperm of, and after N just increment digit to the left by one and then check the string recursively for any position that is >N
<SilverFox> wait, I wouldn't need to do it recursively if I reverse the string pattern coming in
egg|laptop|egg has joined #kspacademia
<egg|laptop|egg> Sarbian: so the cafe de la paix was closed an hour earlier than indicated because of the weather >_<
<egg|laptop|egg> fortunately hippo was still actually open as advertised
<kmath> <sigfig> it fly
<UmbralRaptor> SilverFox: I expect something with # of digits vs string position, bur you're already doing that?
<SilverFox> what do you mean? I'm a little slow in the head, so if you could give an example that'd be great
<UmbralRaptor> If your string is 4 digits long, it cannot contain a number larger than 9999, numbers larger than 999 must begin in the first character, numbers larger than 99, must begin with the 1st or 2nd, etc.
* UmbralRaptor 🔪 GMU in the expense reporting. https://photos.app.goo.gl/QNI6cAPbclmyYldN2
<SilverFox> I am doing it by single digit
<SilverFox> I'll show you my code so far for the enumeration reversal thing
<SilverFox> UmbralRaptor, https://pastebin.com/HMTcZDMH
<SilverFox> Num is the superperm we're trying to get, like the superperm of 3 gives us a Num of 3, because that's the max digit we can have, currentEnum is the stuff after the pre-made prefix that we are iterating
<SilverFox> the pre-made prefix is the 123132 stuff for the superperm of 3, because that is the lowest possible start for it
<SilverFox> the superperm of say, 12 contains all numbers from 1-9 right?
<SilverFox> in a single digit space that is
<SilverFox> oh but that means it needs to contain "10" "11 "12" and that takes up two digit spaces wow
<SilverFox> with my code the superperm of 9 would be impossible to get
<bofh> https://twitter.com/KaliAleyse/status/960713799639629824 oh gods I can't stop laughing and also wincing at this
<kmath> <KaliAleyse> guys I made a mistake #RealTimeChem https://t.co/oLLKyKfQkd
* egg|laptop|egg zzz
* UmbralRaptor meows at egg
awang has quit [Read error: Connection reset by peer]
* egg|laptop|egg pets UmbralRaptor
awang has joined #kspacademia
<awang> TIL you can get ping packets back after >30 seconds
<awang> Internet went down, so started pinging 8.8.8.8 to see when it came back up
<awang> Got back like 40 packs when internet got back
<awang> With times >30 seconds
<SilverFox> yall wanna see some disgusting ternary work?
<SilverFox> test.Add(((bar > Num ? (char)(bar + 1) : c) > Num ? (carry = true) : false)? '1' : (char)(bar+1)); //if the char is greater than num, increment it, otherwise put the regular char in
<soundnfury> awang: bufferbloat ftw!
<SilverFox> I think this would work anyways
<soundnfury> SilverFox: well, it's certainly disgusting
<SilverFox> very
<icefire> readability > brevity
<SilverFox> but I needed to actuate two things at once, and that's a way of doing it
<icefire> stop playing code golf
<soundnfury> the assignment to carry is what gets me
<SilverFox> if carry then I know that next one I add one
<SilverFox> I might be able to work it in there, but that's enough damage for now
<SilverFox> also I'm drunk
egg|laptop|egg has quit [Ping timeout: 180 seconds]
<soundnfury> That explains much.
<soundnfury> !wpn SilverFox
* Qboid gives SilverFox a visible pounce-like sequence
<SilverFox> yay more sequences
<SilverFox> I reduced the line count by a lot
<SilverFox> soundnfury, what about the assignment to carry that gets you?
<soundnfury> assigning in one leg of a ternary, but not the other; also using the assignment as an expression is probably not a good idea in a line that's already that dense
* UmbralRaptor can't into C++ tonight.
<soundnfury> oh and unnecessary parens around it
<egg|phone|egg> Side effects in one path of an otherwise functional construct
<egg|phone|egg> Screams
<soundnfury> needs refactoring into inline functions, needs more whitespace (give it some newlines and use indentation to show structure)
<SilverFox> I could definitely if statement it, I just thought it was ternary-able
<SilverFox> if(c.toint+1 > Num){ set c to 1; set next int to +1;} else { return c+1}
<SilverFox> I could probably replace the boolean setting with the actual doing of the incrementing, but im too drunk for that
<egg|phone|egg> If you're going to hard code a Boolean and then ternary it you could also comma; not that it would improve that horror measurably
<UmbralRaptor> egg: <anbocat|sink|anbocat> = https://photos.app.goo.gl/R4Ny9anycejI1dZz2
<egg|phone|egg> Just take icefire's advice
<SilverFox> wtf is code golf
<soundnfury> SilverFox: trying to write a program in the fewest possible (key)strokes
<soundnfury> don't.
<SilverFox> ahh
<soundnfury> also, in your original line, are bar and c meant to be the same thing?
<SilverFox> bar is an int-parsed version of c
<SilverFox> c is the char
<egg|phone|egg> Well minimizing strokes is a good goal
<SilverFox> so '1' for example, and bar would be 1
<soundnfury> waaaugh it gets worse
<SilverFox> but I don't want to Int.Parse() a lot because that just adds cpu cycles that are unnecessary
<SilverFox> I want to make this as efficient as possible
<soundnfury> -_-
<egg|phone|egg> ........
<egg|phone|egg> S.
<egg|phone|egg> S/S/Z/
<Qboid> egg|phone|egg meant to say: Z.
<SilverFox> Z?
<awang> soundnfury: That reminds me of pingfs
<awang> ...I should see if I can send data out and retrieve it next time my internet goes out
<soundnfury> SilverFox: Put the compiler down, don't do anything you'll regret in the morning :P
<awang> !wpn -add:adj drunk
<Qboid> awang: Adjective added!
<SilverFox> nice
<soundnfury> awang: oh man, pingfs xD love that thing
<SilverFox> soundfury, if it works it works
<soundnfury> NACK
<SilverFox> ACK
<soundnfury> am I just out of touch? has working in the kernel left me with unreasonably high standards?
<awang> soundnfury: There's no such thing as unreasonably high standards
<soundnfury> or is SilverFox an inebriated gibbon who should not be programming tonight?
<awang> SilverFox: You could have a string -> int map
<awang> Or do char arithmetic
<UmbralRaptor> soundnfury: s/gibbon/canid/
<Qboid> UmbralRaptor thinks soundnfury meant to say: or is SilverFox an inebriated canid who should not be programming tonight?
<awang> Or is that what you are already doing?
<SilverFox> awang, what is this you speak of?
<SilverFox> I'm doing c#
<soundnfury> waxing gibbon
<awang> Still, ewwww
<awang> SilverFox: Yes, those should work in C#
<SilverFox> if you want to see my current code: https://pastebin.com/3nckzZgm
<SilverFox> I comment it decently so you should get what I'm doing
<awang> soundnfury: There was something similar to pingfs posted to HN a while back
<awang> I want to say it was storing data in DNS server caches?
<awang> SilverFox: Also, if you're worried about performance, look at what the JIT is putting out
<awang> Apparently JITs can do some amazing things nowaays
<SilverFox> idk what it puts out
<awang> s/aays/adays
<Qboid> awang meant to say: Apparently JITs can do some amazing things nowadays
<SilverFox> I normally run debug mode anyways
<SilverFox> so it's just about writing good code
<awang> "good code"
<awang> (massive nested ternary statement)
<soundnfury> SilverFox: wha... ... ....
<soundnfury> what did I just read
<SilverFox> awang, you should do > instead of the parenthesis
<SilverFox> >good code
<SilverFox> >massive nested ternary statement
<SilverFox> is better
<awang> Close enough :P
<awang> Uh
<awang> Does .NET automatically StringBuilder-ize concatenating strings?
<egg|phone|egg> You worry about performance and reverse a vector, also build a string from it at the end
<awang> If not, that's an easy performance win
<awang> (what egg|phone|egg said)
<SilverFox> idk what was said
<soundnfury> wtf is this even *trying* to accomplish?
<egg|phone|egg> Nobody knows
<awang> SilverFox: Please pick better names for your variables
<awang> Longer variable names don't slow your program down
<SilverFox> I take a string, turn it into a list, reverse it, check each digit to see if it's greater than the max num, if so, then reset it to 1, and increment the next digit
<awang> And it helps other people help you
<soundnfury> "stringly-typed programming" :(
<SilverFox> then I take that list and turn it into a string
<soundnfury> SilverFox: but forwhy? 0_o
<SilverFox> but i have to reverse it again so that I'm dealing with a properly facing string
<SilverFox> if I reverse it I won't have to call the function recursively
<awang> Uhhh
<awang> Why not just loop backwards?
<egg|phone|egg> Wherefore
<awang> with a normal for loop?
<SilverFox> HMMMMMMMMMMMMMMMm
<SilverFox> for(int i = thing.length-1; int i > 0; i--;) ?
<SilverFox> that kinda thing?
<awang> >= 0
<SilverFox> yeah
<awang> But yeah, something like that
<SilverFox> alright coo
<SilverFox> thanks
<awang> Basically the less time you spend messing with memory the better
<awang> Also fix lines 20-24
<awang> If test is long, that's going to get horrendously slow
<SilverFox> listen, if test is long anything will get slow
<SilverFox> everything will
<egg|phone|egg> Also wherefore art thou writing this horror in the first place
<SilverFox> whom'st'd've you what
<awang> Yes, but why not make the easy things faster?
<awang> Simple changes that prevent performance hits
<awang> No reason not to
<awang> Keep in mind that algorithmnic changes typically give you the best speedup