« first day (2999 days earlier)      last day (1845 days later) » 

2:01 AM
Chatting on mobile seems so weird
I'm on a vacation right now and I din't
have access to a computer
So TIO has become my primary IDE
The comment section on my website (randomstuffonline.com) and my website's chat (randomstuffonline.com/chat.html) is... interesting.
@flawr Why did the pilot land in an area with powerlines?
@Skidsdev Infinite series?
I could imagine a binary search-like algorithm for this
 
 
2 hours later…
3:56 AM
we've got 3 countries, 2 mediums, and 1 combined genre
 
 
3 hours later…
6:35 AM
0
A: Sandbox for Proposed Challenges

BeefsterGenerate a Pronounceable Nonsense Word (WIP) code-golf string random Your task is to generate a nonsense word that is reasonably pronounceable. Each time the program is run possibly results in a different nonsense word. Pronounceability A pronounceable word is made up of syllables, which ar...

 
7:06 AM
@MilkyWay90 cause he couldn't find any runways and then he was a little bit short of fuel to get over the powerlines
@Riker why does the tile have such a unusal looking typeface (unlike all other wp articles)?
 
7:31 AM
Does anyone here know if there's a complete list of Python versions somewhere? The official lists on python.org omit several versions (such as 2.0 and 2.1.2).
@Riker Language: English | Korean | French | Japanese | Czech | German 1
 
@StewieGriffin ^
 
@LeakyNun thanks! The wiki article lacks a whole lot of minor ones, the release list lacks several e.g. 2.0 and 2.1.2, but it appears the ...doc/versions/ list contains all of them.
I don't know how I didn't find that site...
@LeakyNun or do you see anyone missing?
 
neither of my links contains everything in the other lists
 
7:47 AM
Are there any versions that aren't included in the first one, except 1.1, 1.2 and 1.3?
Crap, 0.9.0 - 0.9.9 (from Wikipedia). What happened to 0.1.0 ... 0.8.0?
 
@flawr The title is italicized because the article uses the Infobox film template, which by default uses Italic title.
 
@Skidsdev impossible, 1/10 is non-terminating in base 2
@Skidsdev :| pls left-recursion isn't a big problem at all
 
8:08 AM
@LeakyNun Challenge is out. I figured creating the list of versions would give room for many different golfing approaches, so I decided to make a challenge out of it :)
Thanks for the help :)
 
0
Q: List of Python versions

Stewie GriffinPython is the fastest-growing major programming language today. It is the most wanted language for the third year in a row, meaning that developers who do not yet use it say they want to learn it. [1]. The reason for Python's popularity is its many versions.[citation needed]. There are in fact ...

 
 
1 hour later…
9:23 AM
@ØrjanJohansen oh, didn't realize this was athing
 
 
4 hours later…
1:46 PM
0
Q: Fundamental Solution of the Pell Equation

flawrGiven some positive integer \$n\$ that is not a square, find the fundamental solution \$(x,y)\$ of the associated Pell equation $$x^2 - n\cdot y^2 = 1$$ Details The fundamental \$(x,y)\$ is a pair of integers \$x,y\$ satisfying the equation where \$x\$ is minimal, and positive. (There is alwa...

 
1:58 PM
@flawr no repro, other than italics, screenshot?
@StewieGriffin hah, they added german and japanese to their list
 
2:37 PM
22
Q: Sort a number's divisors by prime factorization

DoorknobGiven an input of an integer ≥ 2, output a list of its divisors sorted by the exponents in their prime factorizations, in ascending order, ordering first by the largest prime, then by the second largest, and so on. As an example, take the integer 72, which is 2332. It has the divisors 1 3^0...

 
 
2 hours later…
4:34 PM
3
Q: Generate an RGB colour grid

AJFaradayThis! is an RGB colour grid... Basically it's a 2-dimensional matrix in which: The first row, and the first column, are red. The second row, and the second column, are green. The third row, and the third column, are blue. Here are the colours described graphically, using the letters R, G, ...

 
5:01 PM
hiya
An algo question. You can find the maximum subarray sum in an array of length n in linear time. en.wikipedia.org/wiki/Maximum_subarray_problem
for a fixed subarray length k you can also find the the subarray of length k with the maximum sum even more easily in linear time
but what about if you want to know the maximum subarray sum for all subarray lengths k?
 
Surely it's still linear?
You can just compute the sums of each subarray for each length as you read the array, you'd never have to backtrack or inspect elements more than once..
 
Wouldn't that be a roughly done as a rolling window type approach? How would you only touch everything once?
 
5:23 PM
@ExpiredData I can't see that yet. You don't want to update n things each time you read in a new symbol
say we have read in the first half of the array and read in a new symbol, how much stuff do you need to update?
 
 
2 hours later…
7:22 PM
I worked around my left-recursion issue and managed to get working binary operators in my compiler! :D
 
HeckOverflow ... no relation.
 
 
1 hour later…
8:48 PM
bah, math.stackexchange.com/questions/3155477/… has no actual integer arithmetic solutions
 
9:26 PM
@Neil @Neil OEIS has A014675 which can be generated, and the cumulative sum of that is the Beatty sequence...
 
0
Q: A Megachess Board

TNoYou want to create a square megachess board. Neighbouring tiles can have to switch between black and white and the left corner can be either black or white. Black and white are input bigger than 0 and less than 1000. Not all the tiles have to be used. Print the maximum length of the side of the ...

 
 
2 hours later…
11:20 PM
@Giuseppe yeah but the problem is trying to express the generation in the language which I wanted to try to answer that particular challenge in
 

« first day (2999 days earlier)      last day (1845 days later) »