« first day (2998 days earlier)      last day (1860 days later) » 

12:25 AM
@PhiNotPi messy?
 
1:22 AM
@ASCII-only As I understand it, it's a bunch of machine learning techniques.
 
1:50 AM
Sometimes image reconstruction algorithms are "straightforward"... an example would be filtered backprojection, where's there's a key mathematical transform used to take the imaging data and make an image.
The black hole imaging technique is more along the lines of... come up with the most detailed statistical model of the telescopes that you can, use bayesian priors to express what sorts of images you're expecting to see, and then use lots of iterative model fitting to figure out which image is the most likely image given the data.
 
2:06 AM
Which isn't particularly surprising, but means that there's a lot of moving parts and I don't see an immediate way to simplify it down to something that's still functional but suitable for a code-golf.
 
 
2 hours later…
3:59 AM
a demonstration of the divergence of the expectation of Cauchy distribution
if C is the Cauchy distribution then the characteristic function is φ(t) = E[e^(itC)] = exp(-|t|)
so if C1, ... iid Cauchy then (C1+...+Cn)/n is also Cauchy... wat
t2 has 0 mean and infinite variance
 
4:46 AM
I just officially accepted my CMU grad school offer. ¯\_(ツ)_/¯ Major life decisions are scary, even when there's only one competitive option.
8
 
 
6 hours later…
10:49 AM
0
Q: Letter Boxed validator

Robin RyderThe New York Times has a daily online game called Letter Boxed (the link is behind a paywall; the game is also described here), presented on a square as follows: You are given 4 groups of 3 letters (each group corresponds to one side on the picture); no letter appears twice. The aim of the ga...

 
 
3 hours later…
1:46 PM
2
Q: List *all* the tuples!

billpgWrite a program, given an input n, will generate all possible n-tuples using natural numbers. n=1 (1),(2),(3),(4),(5),(6)... n=2 (1,1),(1,2),(2,1),(2,2),(1,3),(3,1),(2,3),(3,2),(3,3)... The output may be in any order. The program must be written to run forever and list all applicable tuples ...

 
 
2 hours later…
3:20 PM
morning/afternoon folks
 
Ven
o/
 
@Skidsdev ○/
 
@Adám So, what does that do in APL? ;-)
 
I think while trying to solve a challenge in one of my languages, I may have discovered an idea for an entirely new challenge that would help me solve the first one
for context, the challenge I'm trying to solve is alex-style addition the goal of which involves a 90-10 percent random split. I'm trying to solve it in LMBM, which can only do 50-50 splits.
 
3:30 PM
@AdmBorkBork It is trig-function reduction, e.g. +/2 3 gives five, and the primary trigonometric function is sine, so ○/1 0.6 is sin(0.6rad) and ¯1○0.5 is arcsin(0.5). You can use such a reduction, e.g. to normalise an angle a into ±90° with ○/¯1 1 a
 
the question is, of course, if you can only do 50-50 splits, but you can recursively do 50-50 splits, and "join" paths, is it possible to achieve a 90-10 split?
 
3:45 PM
and of course that brings up the question of, given any integer value 0 <= x <= 100, is it possible to present that integer as the sum of one or more results of 100 / (2 ^ n) such that each n value can only be used once?
 
0
A: Sandbox for Proposed Challenges

flawrEnumerate Derangements code-golfpermutationsmatharraynumber Given some positive integer \$n\$ generate all derangements of \$n\$ objects. Details A derangement is a permutation with no fixed point. The output should consist of derangements of the numbers \$(1,2,\ldots,n)\$ (or alternatively ...

 
personally I don't think it's strictly possible, because I tried it by hand for x = 10, and found myself very quickly adding very high n values to try and bump that 15th decimal place to a 9
but I think if there were some rounding rule it could work
 
 
1 hour later…
 
1 hour later…
5:53 PM
@Khuldraesethna'Barya that's a damn good point actually, I didn't think about belt balancers
that google doc actually has a lot of really useful info in it, thanks!
On the topic of Compiler/Interpreter design: Is integer literal size a syntax or semantics issue? In the example of a language that doesn't support 64bit or unsigned ints, should an int literal that is >= 2 ^ 32 fail at the lexer or at the parser?
 
Anonymous
6:36 PM
@Skidsdev Parser
 
Anonymous
The value of an otherwise-valid literal is of no concern to the lexer
 
6:55 PM
@Mego That's what I ended up going with, but I still feel like it could go either way
 
0
A: Sandbox for Proposed Challenges

Kevin CruijssenMaximum summed sublists with non-adjacent items code-golfarray-manipulationnumberinteger Introduction: Inspired by these two SO questions (no doubt from the same class): print the elements in the subarray of maximum sum without adjacent elements java and Maximum sum of non adjacent elements of...

 
7:16 PM
I'm working on a mostly C-style language, but I'm considering doing prefix operators just to save rewriting my parser to fix left-recursion
 
@Riker Powerlines are to airplanes what spiderwebs are to flies.
woah, you can strike through
 
@flawr certain death?
 
no idea, but it certainly makes continuing flying difficult
 
Wait a second... that's not a landing field
 
@flawr Technically any crash is a catch if you think of it as the ground doing the catching :D
 
7:24 PM
@Veskah now it is
 
It's a landing, it's just not a clean landing
 
any landing you can walk away from...
 
looks to me like the cockpit was mostly unharmed, so I imagine the pilot survived
provided he didn't grab onto the powerlines to pull himself out
 
7:36 PM
> Pilot was flying from IAG to FRG where it is based. It appears he attempted to land three times at FRG, but could not visualize the runway. Diverted to JFK and attempted to land twice, but still could not visualize the runway. Ran out of fuel after the second attempt and crashed into a residential neighborhood less than a mile from my house. Pilot survived and no one on the ground was injured. If he had just had another 30 seconds of fuel, he could have conceivably crashed in my backyard.
 
What does "could not visualize the runway" mean exactly? Does it mean visibility conditions were too poor? Or does it mean he was not fit for flying?
ah reddit comments confirm visibility was poor as there were really bad storms on the east coast last night
oddly enough one commenter mentioned they live in Ontario, Canada, and could feel the thunder shaking their desk.
I didn't notice anything. Guess they live in the weird eastern part of Ontario that we don't talk about
 
I think the strictest definition is pretty much anything that stops the pilot from seeing the lights/paint but I'm not a 100% o nthat
 
@Skidsdev are you an ontarionian?
 
@flawr depends if by that you mean reside in Ontario or from Ontario. I am the former, but not the latter
@Veskah fair enough, I'm not at all familiar with aviation terms and when I first read "could not visualize the runway" it sorta sounded like an incompetence thing
 
would you interpret it as the former or the latter without contex?
regarding the weather: ontario looks effin huge, you probably never have the same wheather all over the place, do you?
 
7:50 PM
@flawr No, in the same sense that without context I would interpret "Are you Canadian" as "are you from canada"
yeah there's a whole north west bit we pretend doesn't exist
Anything north-west of North Bay/Lake Nipissing is assumed to not exist
 
@Skidsdev Sounds like a Brazilian state. It's been a running joke for many years now to say Acre doesn't exist.
 
@J.Sallé there's a town in germany that "doesn't exist" too in the same vein (running joke)
 
I guess humans have been doing that for quite a while eh
 
-1
Q: Output the ŋarâþ crîþ alphabet song without using (m)any letters

bb94Your goal is to write a program that takes no input and outputs the following text: ca e na ŋa va o sa; þa ša ra la ła. ma a pa fa ga ta ča; în ja i da ða. ar ħo ên ôn ân uħo; carþ taŋ neŋ es nem. elo cenvos. But there's a catch: for each letter (any character whose general category in Unicode...

 
@PhiNotPi what area are you gonna be working in?
@Skidsdev I mean this lake doesn't really have a very adventageous name to begin with.
 
8:19 PM
@flawr Anyway to provide a more direct answer to this question, I'm British living in Ontario
(Also I think the Adjective would be "Ontarian")
 
8:39 PM
@flawr computational neuroscience
 
@PhiNotPi ah ok that is not surprizing:) well good luck!
and when are you gonna start?
@Skidsdev do you think this adjective is actually used?
 
@flawr not 100% certain... classes start in the fall but I may or may not be put to work with research before then.
 
9:01 PM
0
A: Sandbox for Proposed Challenges

gwaughWin one for the ZIP'er code-golf Summary The ZIP file format is one of the most widely used formats for data transfer, archiving and compression. It has survived as a standard and included in many free and commercial operating system and software, likely due to it's well-documented format. C...

 
@PhiNotPi so what are you doing right now? are you still at uni? or are you getting a nice long vacation?:)
 
9:30 PM
@flawr yeah I still doing undergrad
 
 
2 hours later…
11:10 PM
@flawr wow, plane crash flawr
now that's an association I haven't made in a long time
also yep, my favorite is the line "The holes in Lego Technik work very well as holes." (he's not wrong!)
 
11:43 PM
... why does the pilot have to "visualize" the runway instead of just seeing it?
 
11:58 PM
0
A: Sandbox for Proposed Challenges

BeefsterRagtag Band of Misfits (Guaging interest) king-of-the-hill game This is a sort of sequel to Adventurers in the Ruins, taking place in a 2D dungeon, using a multi-agent team A group of five adventurers enters a dungeon and wants to get the best loot. There are other parties competing for loo...

 

« first day (2998 days earlier)      last day (1860 days later) »