« first day (2912 days earlier)      last day (1917 days later) » 

12:28 AM
@Mego define clean
@Veskah :| disapppointing
 
12:41 AM
[Loud shrug]
 
Anonymous
@ASCII-only Easy to use and maintain
 
so... basically conciseness will be fine as long as it doesn't affect performance?
@Veskah whatever you're using doesn't have continue? :P
 
@ASCII-only It does, code's prompting for a valid time interval and checks start and end times and if they're valid. Allowing either options to be a skip made it into a Foreach thing_that_needs_interval{do(do(start)if(break_start); (do(end)if(break_end)) while(bad_interval) if(skip)continue; do_the_thing}
Basically, very fiddly
Some CS101 shite if I'm being honest
Actually, give myself some credit. CS201 shite
 
1:37 AM
@Neil The "too many arguments" part of the title just had me dying
 
 
2 hours later…
3:24 AM
I am making an OTCA metapixel out of OTCA metapixels. Might've not been the best idea
 
but why tho
 
My population is 550 million in Game of life for that
@Pavel I dont know
GOlly crashed
 
@MilkyWay90 :| you think?
but... yeah. wait for dave greene to finish the 512x512 metapixel
 
@MilkyWay90 We must go deeper
If you're not describing your population with Knuth's arrow notation, there's still room to grow
 
@Veskah dude if you're describing your population with arrow notation you must have a trillion dollar computer
or like a single arrow and single digit numbers
 
3:34 AM
Actually a single arrow is standard exponentiation
And you can probably get away with a few very small double arrows
 
@Veskah exactly
@Veskah 1↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑100
 
We gotta simulate the Game of Actual Life
Heh, 2↑↑[1..5] goes 2, 4, 16, 65536, 2*10^19728
 
3:49 AM
What about CHAINED arrow notation?
Cosper glider gun otcapixelified
Or B.E.A.F.
@ASCII-only Yeah I heard about that in the Quest for Tetris chatrrom
 
 
1 hour later…
4:57 AM
:D it kinda works (again) now
 
5:30 AM
54
Q: Find the Smoothest Number

isaacgYour challenge is to find the smoothest number over a given range. In other words, find the number whose greatest prime factor is the smallest. A smooth number is one whose largest prime factor is small. Numbers of this type are useful for the fast Fourier transform algorithm, cryptanalysis, and...

 
 
2 hours later…
7:28 AM
0
A: Sandbox for Proposed Challenges

lahwranNo-alphanumeric code exec tags: code-golf Introduction In most interpreted languages, there is an operation that will run code generated at runtime. It generally requires alphanumeric characters to refer to this operation. Write a program, using as few alphanumeric characters as possible, that...

 
 
4 hours later…
11:41 AM
-1
Q: Python while loop

user85047I want to use while loop in my code so that it repeats again and again on users wish.

 
12:36 PM
CMC: Using JS, given some positive integers x,y,z find the shortest expression that returns a 3d-array a with a.length == x, a[i].length == y and a[i][j].length == z and a[i][j][k] == 0 and (for j != k) a[i][j] != a[i][k] for all applicable i,j,k. (TL;DR: Create a 3d array of some given dimensions and fill it with zeroes.)
I only found solutions that seem to be way too long.
 
@flawr can we assume that x y z > 0?
f=d=>d+''?Array(d[0]).fill().map(_=>f(d.slice(1))):0, taking input as an array
 
12:54 PM
Yup, they are positive
 
alternate 52 bytes: f=d=>d+''?Array.from(Array(d[0]),_=>f(d.slice(1))):0
oh 50 bytes f=d=>d+''?[...Array(d[0])].map(_=>f(d.slice(1))):0 ಠ_ಠ
49, f=d=>d+''?[...Array(d.pop())].map(_=>f([...d])):0; takes input dimensions reversed opposed to my previous answers
 
ngn
1:51 PM
@dzaima why doesn't Array(d[0]).map( ) work there?
 
@ngn because new Array(2) is very different from [undefined, undefined]
 
ngn
which is begging the question
well, i should learn js properly...
 
i have no idea why that was chosen to to be a thing, but it is and i can't do anything about it
 
ngn
2:08 PM
oh wait... this probably doesn't make distinct subarray. pity :(
 
ngn
2:27 PM
grr... almost: f=(d,i=0)=>d[i]?[...Array(d[i])].map(_=>f(d,i+1)):0 (51 bytes)
 
ngn
@dzaima 47, an improvement on your 50: f=d=>d+''?Array(d[0]).fill(d.slice(1)).map(f):0
 
@ngn oh nice
 
 
3 hours later…
5:31 PM
@dzaima we normally use [...Array(d[0])] which saves on a .fill
you can also use d+d instead of d+''
 
@Neil hence the ಠ_ಠ in the above message
 
@ngn f=([n,...a])=>n?Array(n).fill(a).map(f):0 for 41 bytes, I think (untested)
@dzaima oh sorry I missed that
 
@Neil oh right that exists :|
 
(I had actually meant to reply to your third prior message, i.e. before flawr's reply)
 
 
2 hours later…
ngn
7:45 PM
@Neil wow
 
8:31 PM
0
A: Sandbox for Proposed Challenges

PyRulezWrite a negadecimal number in words. Negadecimal is a numeral system with digits 0 to 9 but is base -10 instead of 10. Here are some examples (the left side is decimal numeral, and the right side is a negadecimal numeral): 0 -> 0 1 -> 1 9 -> 9 10 -> 190 (1 * 100 + 9 * -10) 11 -> 191 20 -> 180 9...

 
9:18 PM
0
A: Sandbox for Proposed Challenges

PyRulezStatic Code Analysis Battle! Your programs will play a friendly game of rock, paper, scissors. There's a catch though; you can not use randomness and the combatants can see each other's source code. That is, you will write a python program that, when imported, provides a function named rps. Giv...

 
9:59 PM
if you're curious that's basically what r/historymemes thinks of your country: that one peaceful dude in the corner
 
10:49 PM
@Riker * that peaceful dude sitting in the corner selling baseball bats to the to guys who want to fight and tickets for the arena for the spectators
 
it's almost like you can make a good profit taking advantage of other people's misfortune
wait a minute, I thought I heard something about that, "wall street"? or something like that
 
@Riker plot twist: you were an actor in that movie
 
@flawr hey hey let's keep that on the down-low
 
@Riker that could certainly be arranged depending on the sum of money
 
I have at least 10 USD within easy access, no francs though
 
@Riker too bad, I just take gold
(alternatively good cheese or chocolate)
 
@LeakyNun -1 that video is ancient, i remember finding that when the tetris GoL project was still ongoing
is impressive though
@flawr why not both?
 
@Riker I still refuse to accept cheddar as a cheese.
 
fair
 
But other than that, yeah, why not?
 
11:03 PM
game-changing idea: chocolate fondue
 
Also chocolate and hot potato chips work well together
 
combines the 3 fancy foods: wine, cheese, chocolate
 
@Riker there is already chocolate fondue, but probably not the way you expect:)
yep
 
@flawr I don't think I've ever had non-dorito hot potato chips
@flawr yes but not with cheese I don't believe
 
And I've never had a dorito chip.
 
11:04 PM
they're not great but hey they contain chemicals known to the State of California to cause cancer and birth defects or other reproductive harm
 
Why does everything suddenly get so dangerous in California?
 
we have a law that forces products to say those, it's not that they're more dangerous it's actually that we pay slightly more attention to the negative effects
 
@Riker that is what they want you to believe
 
@flawr x files theme plays
 
btw: french fries -> chips -> crisps
each arrow converts AE to BE
CMC: can you find a longer chain?
 
11:10 PM
nouns only?
 
any words
(alternatively use the reverse direction)
what is the singular of french fries?
 
11:47 PM
@flawr I don’t understand
 
@Quintec find a chain of words such that in a -> b -> c, a == b, but also b == c (but not a == c)
longest chain you can find that doesn't repeat values
 

« first day (2912 days earlier)      last day (1917 days later) »