« first day (3557 days earlier)      last day (1583 days later) » 

12:14
hi all
what is the most compact way to plot x-x^2 from 0 to 1? I was doing it in python and my way is very verbose
CMC plot x-x^2 from 0 to 1?
@dzaima :) Now I want it in other languages
dzaima/APL app thingy, app.graph'⊢-×⍨'⋄(t←app.t2).x←.5⋄t.w←1; assumes no other tabs are open other than the REPL executing that
 
2 hours later…
14:13
@Anush SageMath
14:29
2
Q: Implement Smokey's !!/coffee command. (Part 2)

Victor VosMottorLike the previous SmokeDetector challenge? This one is for you too ;) Note: SmokeDetector is a bot that detects spam and offensive posts on the network and posts alerts to chat. What to implement Smokey's !!/coffee command uniformly at random picks one of these words (sorts of coffee): Espress...

15:07
> Highly active question
Active 4 years, 2 months ago
 
1 hour later…
16:51
@cairdcoinheringaahing go ahead, gamer
17:22
1
Q: Minimise a bijection \$\mathbb{N}^n\to\mathbb{N}\$

caird coinheringaahingYour task is to write a program which implements a bijection \$\mathbb{N}^n\to\mathbb{N}\$ for \$n \ge 1\$. Your program should take \$n\$ natural numbers as input, in any acceptable method (including taking them as a single, \$n\$ element list/array) and output a unique natural number for all po...

 
4 hours later…
21:18
0
A: Sandbox for Proposed Challenges

nthnchuAm I A Perfect Two Integer? A “perfect two integer” is an integer that works as x in the following equations: Let i = integer, j = integer, x = perfect two integer: 2^i = x j^2 = x Example “perfect two integers”: 4, 16, 64, 256, 1024 (see a pattern here?) Your answer should take a number from st...


« first day (3557 days earlier)      last day (1583 days later) »