« first day (4027 days earlier)      last day (833 days later) » 

6:00 AM
oh yeah muhatar
quite a lot of youtubers covered it i think
i was thinking of this vid: youtube.com/watch?v=YIWV5fSaUB8
 
ah. i might've seen that at some point
 
nobody helped me port? sad
 
it's probably easier and better to rewrite it
but i don't feel like reading golfed c++ code
 
its not golfed my guy
like at all
 
like what
 
6:04 AM
?
okey fine its golfed js a littleeee bit
 
ill go check your code again
 
but its still easy to read
 
@DialFrost it looks half golfed to me
 
half
 
could you put the fully not golfed code for even easier readability
 
6:05 AM
okey
 
it has mostly one-letter variable names and no whitespace
 
@DialFrost that looks like a bunch of loop, should be easy to port
 
so i consider it to look golfed
 
...
fine fine fine
ill ungolf it
 
@DialFrost ok thats not much of an improvement but i guess its better than nothing
i was hoping for more descriptive variable names and stuff like that
 
6:09 AM
@DialFrost ^
i have no idea what this does
 
thx hyper
haha
oh im stupid
 
i tried to port it a few days ago
 
^^ ok i started porting
 
and... it did not go so well
 
6:11 AM
mine looks more like C++ :P
(well i put type annotations)
 
How do you get stdout after running python code?
 
@emanresuA print(something)
 
(That is, the python program's output)
 
wdym
 
Is there a way to get everything the current program has printed to stdout?
 
6:12 AM
$ python 🏃‍♂️. py > stdout.txt?
 
As in, in the python program itself
 
oh print(<blah>, file=open("foeowjrj.txt"))
 
@hyper-neutrino i think it is a reference implementation for his challenge in the sandbox
 
Never mind
 
6:14 AM
you should make separate logging functions or utilities if you want to log your own program's output
you can probably modify sys.stdout though
but that might not always work
it's better to just track the stuff you need
 
should i post my challenge from sandbox
ww commented i think i fixed it but he went offline
 
is there a log4py
 
Oh wait
Hidden in a dark corner of the docs page, I found the library I'm using natively supports overriding stdin/stdout/stderr
 
CMC: Divide 2 numbers
%
 
Desmos: f(a,b)=a/b
 
6:18 AM
/
 
hyper u free to look at my challenge?
or emanresu
basically anyone who is better than me
cuz im very scared it'll get closed when i post
 
to my untrained eye it looks clear, but lets see what others say
 
okey
@hyper-neutrino? how bout u
 
maybe have an explanation for test case 3 too? just to be clear on how it works
 
oh ok
 
6:30 AM
maybe another test case where the lower border wall is blocked off, to show what you mean by that
 
IT WORKS!
I finally got wasm python running
 
Instant python is pretty cool
Oh wait that's my localhost lol
 
hmmmmmmmmmmmmmmmmmmmmmmmm
 
Ok, TIL python goes haywire with JS's undefined
 
6:41 AM
what's it map to
 
No idea lol
 
you're worrying me
 
Don't worry, it won't happen unless you do something like from js import undefined
 
wait what are you using to do this again
 
Run python on DSO
And it is working - Try It Online!
Only caveat is, takes ~1m to load python
 
6:45 AM
mmm
 
done
finally
pls check again guys thx
 
Now I'm going to try and get Vyxal running
In theory it shouldn't be too hard
 
anyone here free to take a look at retaining water challenge?
so i can post
i edited it alot
adding 2 worked e.g.
 
There's something called micropip which could be pretty useful
 
maybe adam can help check?
cuz he's helped me with my i/o format and everything b4
 
6:49 AM
TIL python has async / await stuff
 
couldn't find anything in particular in the pyodide docs but it looks like if you from js import undefined, undefined is None
 
Hm okay
 
so it woudl have to be some pretty deep fuckery to not behave like just normal None
 
sorta makes sense
 
i'm not sure that's even possible actually
what is the weird behavior you've seen
 
6:54 AM
Bizarre errors
Honestly I'm not sure what's happening
 
guys
a little help
what happened to the module cartopy
its used for mapping graphs but i think the newer version of pyhton moved it somewhere else
 
@emanresuA example code?
 
@UnrelatedString the most I know about Google social platforms is Google groups or something and only because Sympy uses it for its mailing list
 
anybody?
 
6:57 AM
:(
 
And I only know about the Sympy mailing list because I was considering trying to get vyxal listed on the "projects that use Sympy" page
 
But because it's Google groups, it seems a tad bit too social for me to do so
 
@UnrelatedString It was just happening when I was trying to take input but my input function was passing undefined
I can't / am afraid to try reproing
 
7:00 AM
oh like in the internals of dso as you were setting this up
 
@emanresuA took maybe 10 seconds to load for me
 
0
Q: Retaining Water

DialFrostYour task is to check the volume of water in a pool. Your have to create a program that takes in a input that is represented by an 10 by 10 grid of integers, with heights ranging from A=1 to Z=26 from the latin alphabet. Find the volume of water each pool can hold. You have to output the volume o...

 
you forgot to add the tag @DialFrost
 
ye sry my bad
i used letters lol
using numbers might be shorter tho idk
 
7:37 AM
@lyxal Hmm okay, that's good
 
How are Piet answers scored?
0
A: The vanilla factorial challenge

Parcly TaxelPiet, 6×9 = 54 pixels Try it online! Golfed version of Thomas Polasek's factorial program in Piet's samples page.

 
nvrm sry @PyGamer0 i changed my ans
 
@ParclyTaxel it seems from looking at this: codegolf.meta.stackexchange.com/questions/10991/…, the highest scored answer says to score as the size of the image file, but searching for actual piet answers shows that most of them are scored based on number of codels
 
8:00 AM
is anyone here willing to check my cubax folding challenge
 
8:28 AM
0
Q: Sum of two squares

hakr14Given an integer \$n\$, determine whether \$n\$ can be expressed as the sum of two square numbers, that is \$\exists a,b\in\mathbb Z|n=a^2+b^2\$. 0 -> truthy 1 -> truthy 2 -> truthy 3 -> falsy 4 -> truthy 5 -> truthy 6 -> falsy 7 -> falsy 11 -> falsy 9997 -> truthy 9999 ->...

 
9:10 AM
micropip isn't installing Vyxal properly for some reason, so o/
 
9:30 AM
does anyone feel like reviving this challenge
 
 
2 hours later…
11:07 AM
@ParclyTaxel Piet doesn't have special rules. It's just bytes. Although there is a programming language by DsLoc that is basically Piet, but scored as codels instead.
 
11:23 AM
If I want to take in NumPy array input, should the NumPy import be added to the solution?
 
Depends. If you have a polymorphic function that works on NumPy arrays but can work without them then I believe no.
But if you need to use NumPy specific stuff then yes.
 
 
2 hours later…
1:04 PM
@lyxal Whoa
still active?
nice
 
1:52 PM
0
A: Produce the number 2014 without any numbers in your source code

sinvecC++ (gcc), 27 bytes main(){std::cout<<'5'*'&';} Try it online!

^ CMM: Is that invalid?
 
@PyGamer0 Does it have a number?
looks like it to me
 
yea
 
then no
 
> without using any of the characters 0123456789 in your code
It has 5
 
novemdecimbyte
more correct is novemdecimary byte
but then it's not a single word
Numeral or number prefixes are prefixes derived from numerals or occasionally other numbers. In English and other European languages, they are used to coin numerous series of words. For example: unicycle, bicycle, tricycle (1-cycle, 2-cycle, 3-cycle) dyad, triad (2 parts, 3 parts) biped, quadruped (2 legs, 4 legs) September, October, November, December (month 7, month 8, month 9, month 10) decimal, hexadecimal (base-10, base-16) sexagenarian, octogenarian (60-69 years old, 80-89 years old) centipede, millipede (around 100 legs, around 1000 legs)There are two principal systems, taken from Latin...
novemdecoronavirus
 
2:06 PM
0
Q: CLICK HERE for a chance to WIN!! (not fake)

Aryan BeezadhurYou work for a social media platform, and are told to create a program in a language of your choice that will automatically flag certain post titles as "spam". Your program must take the title as a string as input and output a truthy value if the title is spam, and a falsey value if not. To quali...

 
2:31 PM
@Wezl-yizl would it make sense to make a numeral prefix challenge
was that a yes or a no
 
My school's wifi sucks
I can't even connect to it on my new laptop
It takes multiple hours of clicking "connect" and having it error before it finally works on any device
YES!
Connected!
 
2:46 PM
How's your new laptop?
 
Good so far
Aside from the extreme pain of having to connect it to my school's wifi
 
nice
what's it again?
I remember it having a weird number
 
Acer Spin 713
 
A Chromebook?
 
Yep
They can do everything a linux computer can, with the benefit of security and performance
 
2:55 PM
Does it really boot up in 6 seconds? (that's the main thing that comes up in the ads) :P
 
Yeah, I guess so. They do boot up fast.
The Chromebook's marketing team totally sucks though
They somehow manage to both do a terrible job of showing off what's good about them, while simultaneously being incredibly misleading
 
3:07 PM
@NewPosts *reaches for a spam flag*
Interesting that the title didn't set Smokey off tho
 
@NewPosts i got fooled by the title lmao
 
That's obviously because of the "(fake)" at the end
NewPosts trusts people
@mathcat * (not fake)
 
3:27 PM
No fricking way
rto.run is unblocked on my school district's wifi
Wait nope now it's blocked
Just took them half a sec to add it to the block list I guess
 
sometimes the away-from-property blocking for me goes off for a short time.
 
@taRadvylfsriksushilani cant you appeal to unblock rto?
 
Yeah, I'll have my CS teacher do it once I have a nice UI for it
I can use my SOCK² block bypassing system for now
 
@DialFrost apparently I cannot get your answer on your own Retaining Water question to work in the Codingame problem that inspired it
 
3:40 PM
0
A: Sandbox for Proposed Challenges

AnttiPMetacodegolf Your task is to make the Swiss army knife of code golf submissions. Pick \$n\$ questions that have been asked before on this site (some additional restrictions in rules section). Write \$n\$ programs in one language that satisfy the rules of those questions. Your submission will be a...

 
4:20 PM
@NewPosts why was the title changed?
 
4:34 PM
for a brief second the weather applet on my taskbar said that the weather was [silver medal icon] [american flag icon]
not sure what to make of that
 
Maybe olympics related?
 
@GingerIndustries Americans haven't been that hot in Beijing recently
 
but it's a weather applet not a news applet
then again it has also told me that the temperature is -0 degrees so
 
It does do news too IIRC
 
4:37 PM
if it's the windows one
 
fun fact: my Raspberry Pi does not understand how printer errors work
ah yes, "Printer Error: cups-waiting-for-job-completed"
 
4:56 PM
@Adám I edited this Sandbox post, Does this clarify the problem?
 
@Fmbalbuena No. What are "the previous element" and "the actual element"?
 
It makes 0 sense to me.
I can't even begin to guess it from the worked examples.
 
Please wait
[0, 1], 3
[1, 1], 2, Result 0 because the first element is 0
[2, 1], 1 Result 1
[3, 1], 0, Result 3 (1 + 2)
@WheatWizard Do you understand?
 
No not at all.
This clarifies nothing.
 
> Oh, please explain that in each step you append a zero and then add each consecutive pair. Otherwise the transformation might not be sussed out by some. – Parcly Taxel
 
5:07 PM
Even with that comment, I still don't understand. Maybe I'm just stupid.
 
So there is some sort of thing you want to be done to a list multiple times.
 
Please wait
 
0
A: Sandbox for Proposed Challenges

ThisFieldIsRequiredHappy New Year! code-golf This question is inspired by this awesome answer. The challenge is to write a program or function which takes in a positive integer, and outputs "Happy new year to you" or a slight variation thereof, such that the character codes of that string add up to the inputted nu...

 
5:22 PM
basically ken iverson's favourite apl expression?
 
@Razetime No, that's different
Repeat X times and get the first element, this is the differences
 
How is that an interesting challenge compared to the basic single application?
 
I think there is actually a algebraic way to obtain it..
I don't think it requires repeating the application.
These lists are basically polynomials.
 
Binomial coefficients, no?
 
@WheatWizard If you don't repeat, the output will be always the first element
 
5:25 PM
I don't think you understand what I am saying
There is a mathematical formula which can calculate the answer in 1 pass.
 
@WheatWizard which?
 
I haven't spent time to work it out.
But it's based on the fact that these are polynomials.
Yeah actually this is just plug x into a polynomial.
f(list, x) = sum (zipWith (*) list [x^0, x^1, x^2, x^3 ...])
So there's the formula.
Oh I was still misunderstanding the challenge.
This is probably even simpler than the last.
 
@WheatWizard Can you edit the sandbox post?
 
To do what?
 
@WheatWizard to clarify
 
5:38 PM
Ok.
I still don't understand the intermediary result in your worked example or how it is useful.
Are you sure your test cases are correct?
I'm not sure how you get 18 in the third one.
I would expect 12.
 
@WheatWizard [6, 6, 6...], 2 Result 0
[12, 12, 12...], 1 Result 6
[24, 24, 24...], 0 Result 18
 
Ok so it's the sums of the first element at every intervening step?
 
@WheatWizard [1, 2, 3], 1 R:0 => [3, 5, 3], 0 R:1
 
You have to understand that that is absolute jibberish.
It's completely incomprehensible.
 
Ok, I will try to edit my post.
but not now
 
5:50 PM
@taRadvylfsriksushilani Is there some tiny thing that I'm not accounting for that isn't stated for the lucky triples challenge? I can't get any of the hidden testcases to pass.
 
Which one is that again?
 
@Fmbalbuena The short of it is that I am rather certain that there is a much golfier way than to repeat the transform.
 
Find the number of lucky triples in the list, e.g. solution([1,2,3,4,5,6]) returns 3
the name of it is find the access codes
 
Oh, hm. I don't remember anything at all about my solution to that :/
Might be timing related?
 
oof
If it takes too long then it fails?
 
5:54 PM
I think so yeah
 
CMC: Return/Print the next generation of rule 110
 
@Fmbalbuena If you undelete your question feel free to ping me and I can try and help more. I think I understand the task now.
 
@WheatWizard Thanks
 
6:14 PM
Two days left for anyone who wants to crack Exceptionally v0.3 >:)
 
jk, I will try to crack
@DLosc Not now
 
@DLosc thanks for reminding me to mark the Vyxal cop as safe
 
@AaroneousMiller I was starting to wonder whether you were telling the truth in your comment ;)
 
Speaking of CnR: I'm still waiting for someone to crack this: codegolf.stackexchange.com/questions/241380/…
 
6:28 PM
@WheatWizard I don't know hackell
 
6:54 PM
Well, finally got some pretty good collision code for stopping the tanks from driving into walls/other tanks
You can still clip if you do it just right, but eh
 
Good job
 
There's still no collision code for turning, since that's going to be hard
 
What shape are your tanks?
 
Make them circles /s
 
@taRadvylfsriksushilani Wii Tanks
 
I really like the controls
 
@taRadvylfsriksushilani You were right, I found a more efficient algorithm on SE and implemented that instead, worked first try
 
Idea: Wii Tanks but in VR
 
A turns left, D turns right, A+D moves forward, and holding S with any of those does it in reverse
 
7:03 PM
o/
 
\o
@taRadvylfsriksushilani what's this for?
 
@taRadvylfsriksushilani So doing e.g. S+A will turn right?
 
what are yall working on
 
i take it the game doesn't expect you to back up very often, since that would just be SAD
 
@AaroneousMiller yep
 
7:07 PM
???????
 
For convenience, S on its own also moves backward, and W maps to AD
 
@GingerIndustries I'm making a game
 
ah
is it like Wii Tanks?
 
Idk, never played it
 
7:09 PM
@taRadvylfsriksushilani O_O
 
att
tank trouble?
 
@taRadvylfsriksushilani sad
 
@taRadvylfsriksushilani So what happens if you do e.g. W+D?
 
W will be ignored in that case
 
update: my order has been shipped
we're at Label Created
 
7:18 PM
FedEx I see
 
What's your order? 37mm machine gun? Life sized gummy bear? Non-rechargeable iPhone battery?
 
Of a 37mm machine gun?
 
of things
 
7:20 PM
Things that rapidly fire 1.4 inch incendiary shells?
 
things to do stuff
 
Like shoot down biplanes?
 
the things are parts of another thing
 
> Predicting the disastrous effect of such a discovery on diplomatic relations with their neighbors, Russia decided to negotiate a ban on the development, creation, and use of such weapons before a grisly arms race commenced.
Why couldn't we have done that with nuclear weapons lol
 
uh
what are you insinuating
 
7:25 PM
it's the reason the 37mm machine gun is 37mm and not 36mm or 35mm
 
if the shell weighed less than 400 grams, it would be against international law
 
u h
I do not think that ordering a machine gun by mail is a good idea
 
Frick, well you shoulda told me sooner
 
ಠ_ಠ
what have you done Redwolf
 
7:28 PM
Well lyxal kept stealing my limbs a while back, so I invested in a small army. But due to COVID-19, the shipping was delayed so all the heavy weaponry is on a ship still.
 
UH
I am not ordering heavy weaponry through UPS redwolf
 
in Attempt This Online, 21 secs ago, by pxeger
Help wanted: Please go and look at the Testing Needed on my board for tracking ATO language requests, and if you see any languages which you know well, to check they work as you expect on https://staging.ato.pxeger.com
 
So I got all of the muskets and flamethrowers in time, but the pom-poms and 18-pounders are still in the middle of the ocean
 
@GingerIndustries no, you're using FedEx, I thought?
 
no, ups
 
7:29 PM
11 mins ago, by ta Radvylf srik su shilani
FedEx I see
11 mins ago, by Ginger Industries
yup
 
disregard that, I am stupid
anyway
we're still at Label Created
 
FedEx keeps getting mad at me because my 37mm autocannons have lithium ion batteries
5
So I just use my korean arms dealer now
 
(⊙ˍ⊙)
it's a good thing I'm not ordering any of those
how long does it take to put a label on UPS
 
IIRC "label received" means they know the item exists but haven't actually gotten it yet
 
okay
well I'll keep yall... POSTED
4
RIMSHOT
@taRadvylfsriksushilani well it says "On the Way" after "Label Created" so
 
7:55 PM
Reposting as it got swallowed up earlier:
in Attempt This Online, 27 mins ago, by pxeger
Help wanted: Please go and look at the Testing Needed on my board for tracking ATO language requests, and if you see any languages which you know well, to check they work as you expect on https://staging.ato.pxeger.com
 
@pxeger okay
 

« first day (4027 days earlier)      last day (833 days later) »