« first day (4844 days earlier)      last day (14 days later) » 

12:56 AM
 
Sandbox posts last active a week ago: Slice of a generator
 
 
2 hours later…
2:43 AM
I was down the street doing some shopping and they started playing the star wars theme on the shop radio. "it's not the 4th of may is it?" I thought to myself.
Sure enough I checked the date and may the fourth be with you.
 
 
5 hours later…
7:53 AM
@lyxal on the radio someone claimed it was the 25th anniversary of The Phantom Menace, well, close, but it wasn't released on the fourth
 
 
2 hours later…
9:50 AM
CMQ:If I want to sum an array as quickly as possible, is it worth trying to do it in parallel or will the overheads always be too much?
@lyxal thank you!
 
10:35 AM
0
A: Sandbox for Proposed Challenges

z..Simulate Text Cursor You are given a string [A-Za-z|]+ that contains a single occurrence of | denoting the current position of the cursor and a sequence of moves [><#]+ where: >: moves the cursor one position to the right <: moves the cursor one position to the left #: moves the cursor one posit...

 
 
1 hour later…
12:55 PM
@TheEmptyStringPhotographer eh, python is pretty good for code golf sometimes
 
 
3 hours later…
3:37 PM
Such a useful and intuitive color gradient
 
??
 
0
Q: X-Wing Starfighter

noodle manToday is Star Wars day so here's a Star Wars ASCII-art task. Output this image of an X-Wing starfighter: \ / o\ /o V \(+)___(+)/ V | --/ | \-- | /(+)\|/(+)\ / ||| \ /o | o\ V V | | Your output may have any extra whitespace that doesn...

0
Q: Sith TIE-Fighter

noodle manToday is May 5th which means it's Star-Wars Day episode II: Revenge of the 5th. For this task, you will output the following image of a Sith TIE-fighter: ____ ____ /\ /\ ___ /\ /\ | \/ / \ | \/ | |--[=| (+) [=|-[]-| | /\ \___/ | /\ | \/__\/ \/__\/ Your output may have an...

 
4:07 PM
maybe i should’ve posted these yesterday, i forgot how inactive this site gets on saturdays :)
 
4:25 PM
@noodleman Whoops, it seems we made the same edit at almost the same time and somehow it worked :P
 
:)
i was just copying you
i thought about that exact typo as i was writing it but i convinced myself that it was “affect” that was wrong
 
It is a pretty confusing set of words.
Effect (v) = "to cause"; affect (v) = "to influence or alter"; effect (n) = "result"; affect (n) = "emotion, demeanor"
So if you effect an effect on someone, you might affect their affect.
 
4:43 PM
@noodleman Not if you compare it to GolfScript
 
Okay I'm really starting to like Go
Yeah it has some bizarre syntax choices, but it's really smartly designed for multithreading stuff
 
@Neil That's a long time ago
@RydwolfPrograms I never could get past the bizarre syntax myself, but good for you :)
 
5:01 PM
So explain to me why an LLM I'm working with for one of my jobs gave me a limerick about a coder with a broken mouse in response to a detailed question about QUIC/WebTransport
> Can you outline a basic chat program's architecture using each of these libraries, with code snippets of the important parts?

There once was a worker so fine,
Whose mouse broke and caused quite a bind.
The cursor would stray,
As they clicked all day,
And their productivity fell behind.
 
Inconsistent adherence to the proper limerick rhythm, 2/10 literally unreadable
(Seems like the answer to your question was "no" :P)
 
(Also it turns out of the five libraries it identified in the previous message, three were entirely hallucinated lol)
 
6:01 PM
@TheEmptyStringPhotographer python might be better for a math question because it has numpy and golfscript only has integer and bitwise arithmetic
 
Tho technically Python+numpy is a different language
 
6:34 PM
would "sort a list to the closest sorted match (either ascending or descending)" be a good challenge?
like [6,2,4,3,5,1] would be [6,5,4,3,2,1] rather than [1,2,3,4,5,6]
 
6:55 PM
@pacman256 how do you define closest? number of swaps needed?
also maybe the challenge would be better if the input was always a permutation of 1..n
 
A new challenger has approached... Welcome back, StackExchange. My biggest distraction of 2023. To start I denounce all of my statements here I have said prior to this second as dumb and cringe.
 
7:35 PM
@DLosc but not in a galaxy far far away
 
8:30 PM
@The_AH that made it look like I was returning, wrong. Goodbye for another half a year.
 
@Neil Fitting
 
9:21 PM
CMC:
> A line of zombies is approaching you. You have four items you can counter these zombies with:
* Knife: Subtracts 100 HP from the first zombie in front of you
* Bullet: Subtracts 75 HP from the first 5 zombies in front of you
* Mine: Kills the zombie in front of you
* Cure: Turns the zombie into a human again. The human will turn around to fight the zombies, dealing an amount of damage equal to the zombie's health prior to being cured
Given your quantity of each of these four items, and a line of zombies represented as an array of HPs, return an order in which items can be used to survive
 
jan
9:49 PM
best stack language
*CMC:*
> My Stack language has 4 instructions and supports a stack of positive integers. If an operation results in a nonpositive integer, it is popped automatically. Here is what the operations do:
> "k" subtracts 100 from the top value.
> "b" subtracts 75 from the top 5 values.
> "m" pops a value.
> "c" Subtracts the top value from the second-to-top value and pops it.
You will nee
d to golf a program containing at most a given number of each instruction to create a program taking a given stack as input and creating an empty output.
spec ambiguity: will "c" subtract from only the second to top number, or is it actually "pop the second to top value and subtract it from the top value until the top value is negative, then negate it"
@RydwolfPrograms productivity actually has only 3 syllables
 
10:08 PM
@jan Whichever zombie gets cured, that exact amount of damage will be done to the zombies behind them. So if the front zombie has 75 HP and there are three zombies behind it with 30 HP each, the first two will die and the third will end up with 15 HP
 
jan
ah so it's the second option
 
 
1 hour later…
11:30 PM
@noodleman assume it is some permutation of a range, maybe not 1...n but some m...n and i think swaps is good yeah
 

« first day (4844 days earlier)      last day (14 days later) »