While some challenges tagged kolmogorov-complexity can succeed brilliantly, like my own first challenge which got me halfway to the rep cap and STILL remains my highest-scoring post network-wide, most others will fail with the comments saying that it "doesn't bring anything new".
I've even seen ...
Earlier I had a bug where every few days a (seemingly) random application would be chosen and OSX would attempt to launch it every time I pressed Enter.
For those not familiar, Y in Jelly joins a list of strings (actually a list of lists of characters) with a newline. In plenty of challenges with text output, Jelly submissions will put Y in the footer on TIO, which I have taken advantage of as well. (TIO with Y).
Without Y the output would be th...
Yesterday I was (among) the top 0.98% users on PPCG. Today I'm among the top 2%. Funny that SE keeps two digits after the decimal for <1%, while rounding up to integers for anything >1%. Thus, it's extremely unlikely that anyone will ever be among the top 1%.
I have almost finished the interpreter for this (found here). However, I haven't managed to create solutions for tasks #10 or #20, and would appreciate someone else having an attempt (currently no docs). There is also a TIO link here
@cairdcoinheringaahing Is it possible to switch between memory types? Using one as a storage while working in another? I was thinking that S would work like & in ><>, but nothing seems to happen. And going from $ to D back to $ seems to clear the stack.
I only really looked at the stack, but I don't really know how to do #10 without a way to check the length of the stack. Not sure how $ handles list input either, so that may be a road block as well
@Emigna If you'd like me to add a command, feel free to ask. Input with $ and D appends the evaluated value of one line from STDIN or it as a string if it can't evaluate it
@cairdcoinheringaahing Yeah, but unless I'm misstaken ,there is no command under $ to iterate over a list and no command to split it as separate elements to stack either
@Emigna You're not mistaken. I was wondering about adding a splat operator, but thought that it's possibly doable with the tape instead. Might as well cover all bases though, so I'll add the stack splat
Sneaky CodeGolf Scorer
Your goal is to code a CodeGolf answer scorer, input answer source code, output score. Simple ?.
However, recent advancements in AI has caused a number of programs to gain consciousness, and to value one's self higher than others. This causes the program to return a value ...
@Emigna No, it opens a while loop, that pops the top value from the stack when it reaches ] to check if it should continue (!= 0). It operates on the whole stack
I have a Westermo MRD-355. It has a 3G capable SIM in it, however I am unsure about the aerial I should use.
I have an assortment of labelled and unlabelled aerials. Obviously I don't plan to actively use the wrong one i.e. one labelled WiFi.
Question - Will an aerial labelled "LTE" work for ...
So, here's a map of, let's say, a dungeon...
##########
# #####
# #####
##########
##########
##########
##########
#### ##
#### ##
##########
Let's say that the hero is in Room A (at the top left) and their goal (a prince in distress?) is in Room B (to the bottom right). Our map d...
@EriktheOutgolfer The edit improved the readability. if you view what it looked like before, the code was being highlighted improperly, making the 2nd half look like a comment
@wizzwizz4 googling "xckd 1769" ... Hey, know that scene in the new Harry Potter movie, where Harry throws a banana at the rebels? That's an great scene :P
Write the excel formula that finds the n'th unique smallest number in an excel range.
The range may have repeated numbers, so for example, the third unique smallest number of {0, 0, 1, 2.4, 5} should be 2.4
The formula can be written only on one cell.
You are free to choose indexing the first...
Input
A non-empty array of positive integers.
Task
Convert each integer to either binary, octal, decimal or hexadecimal in such a way that each digit (0 to F) is used at most once.
Output
The list of bases that were used to solve the puzzle.
Detailed example
The expected output for [ 16, 1...
@NewMainPosts from what I could gather from the comments, that person seems to want someone to come up with a short solution for a problem they have...?
I am trying to make a calendar that resizes appointments in day view similar to Fullcalendar but am stuck in how to approach this as it is getting more and more complex, so I'm rethinking. Here are a few thoughts I have in mind:
Using CSS ? not sure if possible but would be ideal I guess.
Sca...
@user56656 On proof golf? Idk, I was stuck, because I couldn't understand the proof of deduction and how that would apply. Besides, even the steps I was using were taken from math.SE and other sites. I was maybe going to try using Metamath, but I'd feel too much like I was cheating or not doing the work myself. I already spent 10 hours researching and learning and attempting proofs.
When I took the class in college for Discrete, I did every single homework assignment with my friend as a collaborative effort, because that was allowed. The tests were separate. Proofs are the type of work I'm better at collaborating for, because I have someone to bounce ideas off.
It's probably not worth the effort to finish at this point.
The following problem is a common interview question, thus dull answers are discouraged. Go short or creative, best if both:
Create the following pattern
###########
## ##
# # # #
# # # #
# # # #
# # #
# # # #
# # # #
# # # #
## ##
###########
In case...
Creating a Crossed Square
You are to take input of an integer of one or more and output a square made of any printable character of your choice with a diagonal cross through the centre.
The general idea is for the output to be a hollow square that has a diagonal cross through it.:
Input: 7
Out...
@user56656 All I'm missing essentially is to prove the Deduction Thm (figure out how to use the Syllogism lemma that the posted answer uses which has "givens"), and then prove either Contradiction Realization or Double Negation Introduction.
I think the title says it all. If you think a question is a duplicate or should be closed for any other reason, should it be acceptable for you to submit an answer before you vote for it to be closed? Potentially the member is then gaining rep and then denying anyone else the opportunity to do th...
@user56656 The proof I've done isn't something that works in the challenge's Hilbert algebra. I was having a hard time understanding how to translate the deductive proof I had into a formal proof using M.P., even after looking at Metamath.
My (pseudo) code is full of goto's! What a mess... Let's change it into a more iterative code.
BEFORE:
method1() {
0: printMessage("This is the firstMethod");
1: if (inputString(0)) goto 3;
2: return;
3: setVar(10);
4: printMessage("Var is set to 10");
}
AFTER:
method1() ...
Thoughts on this (I might take to meta in the morning): We lock the Sandbox for between 2 and 7 days, to prevent any new answers. Then, each of us goes through our proposals and sorts them into 'ready', 'delete' and 'in progress'. We post the 'ready' proposals and delete the 'delete' ones. We then give any and all feedback we can to 'in progress' posts, until the numbers of them can be reduced to below 100 or so. Cont...
...cont. Finally, we create a new, fresh Samdbox posts, migrating the remaining 100 or so posts, and allow the backlog we have at the moment to happen again in three years time.
What do people use the Sandbox for? Either refining existing proposals, or getting feedback on new ones. We have more than enough (over 2000) existing proposals to go a week without people using the Sandbox. If your question is good enough to be posted on main, it'll still be good enough after a week.
With the current number of answers to the Sandbox, I, for one, want the backlog to be cleared before anyone else even thinks about posting a new proposal.
It wouldn't help with the fact that there are a ton of Sandbox posts that are ignored simply because nobody has the time to review 100 posts in a day, but it would help a lot for Oldest sorting...
@HyperNeutrino That doesn't solve the key issue. We have a backlog of, again, 2000 challenges. In addition, we have users complaining that not enough challenges are being posted. Not to sound too condescending, but isnt it obvious?
@cairdcoinheringaahing What would you think about giving the sandbox a fixed number of answers that can exist on it and having people edit old answers for a new proposal?
Idea that's been floating around in my head
I guess one downside to that would be obsolete comments
I feel like a lot of the old challenges in the backlog wouldn't even be valid anymore because of rule changes, but I don't know how long the backlog is by time. We might want to just close this one and repost with no delay, though then the new one might generate backlog while the other one is being cleared.
@DJMcMayhem That could work (and there's a lock, specifically for that - it's how the Math.SE Sandbox works), but I think starting a new sandbox would be necessary in that case, otherwise we'd have 5000 deleted posts hanging around the set number
@HyperNeutrino The earliest proposal IIRC is from 2012
To everyone, sorry if I sound a bit aggressive/condescending, I just had to wait 5 minutes for the Sandbox to load, then remember my last attempt at sorting out the Sandbox and kinda just vented :/
@HyperNeutrino I got several thousand 'na's before I got bored :D
@cairdcoinheringaahing I just assumed you were annoyed by something based on behavioral analysis heck I'm not smart enough to know how people behave I just assume [almost] everyone has good intentions [not really] :P