« first day (3699 days earlier)      last day (1135 days later) » 

12:02 AM
-3
Q: I've been stuck trying to hack this portal from the video game Skylander's Giants and I'm trying to hack the portal it's self

WarpedmineRight now I'm having trouble hacking this thing so I can customize it can you help?

 
 
2 hours later…
2:10 AM
0
Q: Every positive integer is the sum of 3 palindromes, how to find the value of D in the Algorithms?

Anonymous PersonI have read the paper explaining the sum of all possible integers is 3 palindromes, but one thing still puzzles me. How do you find the value of D used in the algorithms? I tried some things but since it is only mentioned in one little part it doesn’t make much sense to me. Am I just being stupid...

 
2:50 AM
0
A: Sandbox for Proposed Challenges

l4m2SSD optimize Given \$n\$ pages, each page containing \$m\$ sectors, write three functions: (Here x and y are sectors) insert(x) that stores the input(temporary sector) into a sector, remove(x) that removes one, and get(x) that return a sector containing the element. You can call these functions...

 
3:48 AM
@user writing answers
@RedwolfPrograms i were active on stack overflow, I have nearly 1.4k posts there in last year
 
@user I enjoy both. Writing questions because I have a nearly constant stream of ideas, and non-trivial (mathy or whatever complex) answers because it feels so good
though I'm focusing more on questions right now. I'm so busy with whatever things I can't really describe
 
4:48 AM
@user writing questions involves this thing called "creativity" which i do not have
 
@user answers because it is easier(most of the time)
 
 
5 hours later…
9:39 AM
26
Q: Factorial digit sum

georgeThe challenge is to calculate the digit sum of the factorial of a number. Example Input: 10 Output: 27 10! = 10 × 9 × ... × 3 × 2 × 1 = 3628800, and the sum of the digits in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27 You can expect the input to be an integer above 0. Output can be of...

45
Q: McCarthy's LISP

HarryMcCarthy's 1959 LISP In early 1959, John McCarthy wrote a groundbreaking paper defining just nine primitive functions that when put together still form the basis for all LISP-like languages today. The paper is available digitized here: http://www-formal.stanford.edu/jmc/recursive.pdf Your job...

 
 
2 hours later…
11:25 AM
@ChartZBelatedly here is a SEDE query to do that: data.stackexchange.com/codegolf/query/1386060/…
 
@user answers, questions are hard to come up with and answering is fun and challenging (when you don't answer trivial rubbish)
 
11:50 AM
 
12:05 PM
@rene Thanks!
 
12:20 PM
Should I leave my prospective challenge in the Sandbox for 72 h even if no activity comes?
 
@expressjs123 I'd say 168 h.
Plus ask here for review
 
A week... right
...cause this is my first time using the sandbox
 
12:35 PM
@expressjs123 Regularly drop a link to it in here and ask for feedback, that's the best way to get it
@rene Thanks!
 
12:50 PM
0
Q: Print a Deck of cards

Minh Đức HoàngYou all love cards? They are so fun to play. The challenge today starts with the cards too. So here is the challenge: Make a program that takes no input and print out all the 52 cards name in a full deck in any order(an explaination to the order would be nice. Bonus points for someone who can for...

 
 
6 hours later…
6:36 PM
0
A: Sandbox for Proposed Challenges

Spitemaster2D Pathfinding with Momentum fastest-codecode-challengepath-finding You are piloting a spaceship, outfitted with an engine that can accelerate you at 1km/s^2 in the direction the ship is facing (you have very good inertial dampers). You also have thrusters which can rotate you 180 degrees in 1s....

 
7:01 PM
0
A: Sandbox for Proposed Challenges

Manish Kundum-Distant Primes Let us call a prime \$p\$ an \$m\$-distant prime \$(m \ge 0, m \in\mathbb{Z})\$ if there exists a power of \$2\$, say \$2^x (x \ge 0, x \in\mathbb{Z})\$, such that \$|2^x-p| = m. \$ For example, \$23\$ is a \$9\$-distant prime as \$|2^5 - 23| = 9\$. For this challenge, you can ei...

 
7:19 PM
thoughts on changing the title of polyquine, the polyglot-quine challenge, to include "(polyglot quine)" in the title? It's not even on the first page of search results for "polyglot quine"
 
@Stephen Use lots of tongues to deny the existence or significance of something obviously real or important
Use lots of tongues to vomit your insides (use lots of languages to print the stuff that makes you up)
Probably not the best titles, though :P
 
8:04 PM
-5
Q: Unwinnable rock paper scissors

NikolaiYou're playing rock paper scissors against a computer... except it's really smart and always wins! Reference implementation in Python: print("rock paper scissors") rps=input('type "rock", "paper", or "scissors"') if rps=="rock": print("paper, you lose") if rps=="paper": print("scissors, you lose

 
8:35 PM
@NewMainPosts Wasn't this on r/ProgrammerHumour?
 
8:54 PM
I think I've written my most inefficient answer ever. Screenshot from my explanation, because I have no idea how to O(...) this:
The cut off number for n = 3, m = 5 is of the order of 10^170
 
9:16 PM
@ChartZBelatedly Which question is this to?
 
@user The one I'm currently writing an answer to, should be on Recently Active in a few minutes :)
 
@user yes
 
Gah, I'm out of upvotes
 
@user Posted, should be on Recently Active
Got to love outgolfing a 935 byte answer with a 19 byte one :P
 
Wow
@ChartZBelatedly That qualifies for my bounty for answers to old questions with few answers, so I've started a bounty :)
 
9:30 PM
@user Thanks for the bounty, didn't even realise that! :D
 
ngl even if it's hard or whatever I'm not a big fan of 'this bruteforces 204729035873897 combinations so doesn't work on tio'
 
@rak1507 I see the two different approaches to questions like that ("brute-force" vs "somewhat quick") as entirely different competitions within the question. If someone comes up with a 100 byte Jelly answer that takes a fraction of a second to solve all test cases, IMO that's just as impressive (perhaps more, depending on the answer) than a 20 byte version that throws a Memory error for inputs larger than 3
I just prefer going for the shortest answer, and efficiency be dammed :P
4
 
fair enough
 
I think of my 2 favourite Jelly answers, one is brute-force (this) and one actually is usable (this). I like them both because they were difficult to implement, and the questions have a high score : answers ratio :P
Anyone know a fix for ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine (or even the cause of)? OldSandboxPosts crashes every couple of days because of it
 
I wonder what the least efficient answer on this site is
No way to automate finding that, though
 
9:41 PM
Some of Dennis' old CJam answers famously wouldn't finish before the heat-death of the universe for any provided test cases
 
at least you can narrow it down by only searching through cairds answers :P
 
IIRC it's what lead to the meme that we'll make the runtime insanely bad in order to save a byte
 
that's one of the reasons why I like other golf sites bc it has to actually finish
 
It does finish, at least on my Cray supercomputer :P
 
coming up with a short but ridiculously inefficient method just feels boring to me
 
9:43 PM
@rak1507 If it's just "generate all possible solutions; filter the ones that fit", yeah, that's boring, but some can be clever (sorry, can't think of any examples right now)
 
I kinda like inefficient solutions :P
And not just because they're often the shortest, but just because of how ridiculously inefficient they can get
 
@ChartZBelatedly You've mentioned before you have a bad network connection, right?
Might be that you just lost internet for a while
 
2
Q: Find the number of parenthesis combinations

Camden WeaverFor example, given 3 sets of parenthesis, you have: ()()() ((())) ()(()) (())() (()()) = 5 possible combinations. Challenge Program must: • Take 1 number as an input • Return one output, the number of possible combinations of parenthesis sets Shortest number of bytes wins

 
@user Yeah, it could be that
 
Maybe a WS connection is timing out somewhere?
 
9:46 PM
There are a couple of other things it could be tho :?
 
This SO question may be helpful
Are you using Selenium?
 
Nope, requests
And websocket
So, Smokey has a bit of code specifically to send a heartbeat every once in while so that chat.SE doesn't kick it for inactivity, so I'm not sure if it's that or my crappy internet :/
(The bot dies if you kick it, it isn't a fan of abuse)
 
Is there a special API for bots?
@ChartZBelatedly Teach it karate :)
 
Maybe, but I don't use it
 
Wait is the bot always online? I'd think it would just connect every night in time to post it.
 
9:50 PM
Then why does chat kick it? Can it kick us users too?
 
@user Yeah, if you're inactive for 15 mins, I believe it kicks you
 
Huh
 
@RedwolfPrograms No, it logs on a midnight then logs out after sending a message, which is why it's weird
 
Are thw websocket connections closed gracefully?
 
@user I use this as a base for the chatbots
 
9:51 PM
Does anyone know where the code for New Sandbox Posts is?
@ChartZBelatedly Ah, that's useful
 
I just randomly got three answers and two upvotes on a nearly year old question
 
@RedwolfPrograms I just do del chatbot to delete the chatbot object. SE handles the kicking from inactivating after that (haven't bothered figuring out how to get it to actually log out)
 
 
1 hour later…
11:14 PM
Ugh, rollback war :/
If anyone has 20k+, casting a final delete vote to ^ seems like it'll end the issues without needing to wait for a mod
 
@ChartZBelatedly Done.
 
@Adám Thanks, it was getting irritating watching it :/
Fun fact: rollbacks don't trigger the Recently Active page :/
 

« first day (3699 days earlier)      last day (1135 days later) »