« first day (2519 days earlier)      last day (2326 days later) » 

12:00 AM
Fix: close
 
In this challenge, would setting the language's base to 16 and then reading a base-10 integer that automatically converts to the default base be allowed?
(I really hate the 'no hex builtins whatsoever' rule, it's useless and unclear anyway)
 
I'd say that would be a built in, but I'm with you that the 'no builtins' is useless and unclear
 
Hmm, how could I work around it with this language, which can read/output/perform math in any base?
 
MD XF ... 140K
 
12:05 AM
@Zacharý I thought you'd be off the internet sometime today?
@cairdcoinheringaahing one more vote needed...
 
I was, from 2 to about 4 my time (EST)
 
Oh, and the script didn't break?
 
No, I stopped it. I modified it to start up at the correct point
 
1
Q: How lit is this mountain? 🔥

bushdid911A mountain is defined to be a set of line segments whose first point has coordinates (0,a) where a > 0, and whose last point has coordinates (b,0), where b > 0. All intermediate points have a y-coordinate (ordinate) strictly greater than 0. You are given the points on the mountain sorted in ascen...

 
cringe
 
12:07 AM
Agreed
 
@MDXF I really don't think there is a reason to delete the question
 
@WheatWizard I don't see a reason not to delete closed and most likely helpless questions
 
I'd give the OP more time before declaring the question helpless
 
That's probably a good idea
 
Mah
 
12:38 AM
@MDXF To delete? Already have. I know a helpless question when I see one.
@Zacharý Nah, the title is fine dabs :P
 
@cairdcoinheringaahing I mean, I agree that the question is most likely helpless, but..... humility is a virtue :P
 
Any last votes? I'd like to post this momentarily, but I'll need to make some changes if the popular opinion ends up being the full-domino option.
 
1:18 AM
@ETHproductions Looks like you'll be doing full 2-ended dominoes. May I humbly suggest allowing an array of two faces as well as --- and |\n|\n|delimited ASCII art? Also, consider whether the two ends need to be rotated according to the orientation of the entire piece. And, may one end be rotated differently from the other?
@ETHproductions Would be a valid response for [1,1]? ;-)
 
whoops I did a dumb
2
i should get off of PPCG because I'm too tired to do things properly
I was going to comment and then VTD the post and then I got distracted and forgot to comment and now I realize that commenting wouldn't've been particularly useful if OP couldn't get the question undeleted (not sure if owner can undelete after it's been VTD-deleted)
 
Dang, I was going to post at 1:15 UTC to see if I would still get the 7:00 badge (Nepal Standard Time is UTC+5:45). Oh well :P
 
lol :p
 
1:33 AM
@Adám I like the idea of an array of two faces. I'd say face rotation doesn't matter whatsoever.
@Adám haha, but no ;-)
 
@ETHproductions Combined with array of strings for each face, [1,2][[" "," o "," "],["o "," "," o"]] ?
 
Yeah, sounds fine.
 
@ETHproductions I am the array programming language guy on PPCG…
@ETHproductions How about Binary arrays: [1,2][[[0,0,0],[0,1,0],[0,0,0]],[[1,0,0],[0,0,0],[0,0,1]]] ?
 
Hmm. Not sure about that. This was supposed to be an ASCII-art challenge, after all...
I guess I'll allow it...
 
@ETHproductions It is of course your challenge, but I for one enjoy as lax format specs as possible.
 
1:46 AM
@HyperNeutrino Edit the comment into the post, hope the OP notices? :P (this is horrible advice don't actually do this)
He's got 419 rep, you could make a chatroom with him if you really wanted to let him know
 
that's true
idk
 
how many people are going to post in 13 min? 7:00 MST
 
@HyperNeutrino What were you going to say?
 
something along the lines of like "you might want to specify exactly what Max Int really means" or something like that
idk
 
@Adám OK, new draft:
7
A: Sandbox for Proposed Challenges

ETHproductionsDrawing a domino code-golf ascii-art Given two digits 0-9 as input, output a domino (from the double-nine domino set) with these number of pips (dots) on the two faces. The ten possible faces look like this (separated by pipes): | | o| o|o o|o o|o o o|o o o|o o o|o o o ...

 
1:56 AM
I'm assuming the reason they call it by a row of candles is just in case some Jewish people become offended when people use it as a hat.
(the hat)
 
wait, is my hat offensive on some level then?
 
 
1 hour later…
3:06 AM
@Blue Why the name change?
 
0
A: Sandbox for Proposed Challenges

JavaScriptCoderSight Matrix code-golf matrix number I haven't seen this done anywhere yet after a couple of searches, so I might as well post this anyways. If you see this done somewhere else, please tell me and I will delete this post. The Story You are a two meter tall sniper fighting in a war-torn ...

 
@cairdcoinheringaahing Who was it originally?
 
3:36 AM
@MDXF muddyfish
 
 
2 hours later…
5:44 AM
Fun fact it is possible to get the "It's-a me" hat without getting the "Think" hat.
 
 
1 hour later…
7:12 AM
@cairdcoinheringaahing because I want to see if it works here. I've been using Blue for a while in other places
 
Oh, muddyfish
But why is wheat a SaftyDiamond™️?
 
 
2 hours later…
8:47 AM
@ETHproductions I don't think so. We like making jokes, and kids often have toy menorahs.
@ETHproductions Looks great. One more relaxation of permitted format would be allowing False/True (instead of 0/1) for languages that sport such. I always try to add as many appropriate tags as possible so people can earn tag badges:
 
9:47 AM
@ETHproductions you're gonna burn your hair!
 
 
2 hours later…
11:28 AM
It seems that the search bar has turned black?
 
 
2 hours later…
1:29 PM
@WheatWizard I see someone else watches Standup Maths
 
new xkcd is gold
 
2:00 PM
0
A: Sandbox for Proposed Challenges

Caleb KleveterOutput One More then Int Max code-golf arithmetic intager Your job is to create a program or function that will output a whole number (with no trailing decimal points) that is 1 great then the max number an integer can hold for the language; more or less this: MAX_INT + 1 You are not allowed...

 
2:39 PM
The download is stuck 14420
I think OEIS blacklisted me
 
@Zacharý What are you doing...?
 
Downloading OEIS
 
Why?
 
It was for MD XF, but he finished his, now I'm just doing it for myself.
I don't know how to type today, MY is broken because I typed appnend
 
Any sandbox review for this or this? (not my challenges) I think the first one is pretty good, not sure why it has 1 downvote, and the second one - I can't understand at all.
Who are sandbox chat room owner?
 
3:11 PM
0
Q: How do I get better at writing questions?

bushdid911Every time I post a question to the main site, it always seems there is something that I missed when posting it. How do i catch these issues?

 
@user202729 Jeremy Banks, Downgoat, ProgramFOX, FOX 9000
Jeremy Banks has a diamond, the others are all non-mods.
 
3
Q: Output the Goodstein sequence

BusyAnt(This might be quite classic but this is my first post here, so I'm not ready for the fancy stuff yet) The Goodstein sequence is defined for an input number as follows: Pick a starting number n, let b=2 and repeat: write n in heriditary base b notation substitute all the (b)s to (b+1)s in n a...

 
3:50 PM
@HyperNeutrino Some Enlist bug report: link
 
0
Q: What is the missing number (divisibility by 9)

NK1406Challenge Given a whole number divisible by 9 and one missing digit, find the missing digit. The missing digit may be represented by any character other than the digits 0-9 as long as it is consistent. If the missing digit could be 0 or 9, output "0 or 9"! Assume the user is intelligent enoug...

 
4:05 PM
in jelly is there a way to split an input into digits
 
D ?
if you have dy/dx = y^2+x-3, what would be the correct way of saying the derivative of this function at, say, (2,3)?
 
Anonymous
@Cowsquack (dy/dx)(2, 3) or (dy/dx)(x=2, y=3)
 
D works... i guess i'm dumb
 
Anonymous
@Cowsquack also $\frac{dy}{dx} \rvert_{x=2, y=3}$
 
4:18 PM
thanks, also, if you have a function y=x+3, would saying y(3) to denote the y-value at x=3 be correct? or do you need to define f(x)=x+3 and then go f(3) instead?
 
^^ Got a small (literally) xmas care package from Noctua (the PC fan maker).
 
In Jelly would fØD remove all nondigits from an input
 
Anonymous
@Cowsquack The former is a common abuse of notation, but should be fine. y = x+3 means "the value of y is determined by the value of x via the function x+3". If you're trying to be rigorous, defining f(x) = x+3 or f(x) = y would be better.
 
ah, that makes sense
 
yeah i must be super dumb. can't figure out how to cast from string to integer in jelly
O just gives the ordinal of each character
 
4:24 PM
Do you guys ever write problems that you don't know how to solve
 
@Poke V evals.
 
@Dennis ah.
thanks!
 
Watch out for leading zeroes though.
 
@Dennis well that's interesting
how do i fix that
 
Sometimes I wish we had MathJax. (I understand the reasons of its removal, though)
 
Anonymous
4:30 PM
@bushdid911 When I wrote this one, I didn't have a good idea of how to solve it other than brute force.
 
0
A: Sandbox for Proposed Challenges

bushdid911Not-So-Simple Simplex (Note: should I name it Complex Simplex?) A simplex is an n-dimensional analog of a triangle. Thus, a 3-dimensional simplex is a tetrahedron. We want to find the number of points with integer coordinates (lattice points) strictly on the interior of this simplex. A point th...

0
A: Sandbox for Proposed Challenges

RodTask Given a word, check how it's typped on a QWERTY keyboard, and output what direction(s) it goes without oscillation Keyboard layot: Q W E R T Y U I O P A S D F G H J K L Z X C V B N M You can move 4 basic directions (and their combination): North South East West For example, the ...

 
its the problem the bot just posted
i guess i can find an n-cube that circumscribes the simplex, and then check all the points on the interior for if they are in the simplex
 
@Poke V€Ḍ
 
I think it might be time to whip out my copy of matlab and my linear algebra lecture notes from a long while ago
 
Anyone know why the "row of many candles" hat is given?
 
4:35 PM
@Mr.Xcoder Dang, made a mistake!
 
Hannukah (sp?)
 
i believe there was some way using determinants to check if a point is inside a tetrahedron that can be extrapolated to n dimensions..
 
Hey guys!
Does anyone know Enlist?
 
@FlipTack Post something during Hannukah
@BruceForte I know a bit
 
Ah, guessed it would be something along those lines.
 
4:37 PM
@Mr.Xcoder: I'm looking at this solution and I'm not sure if it's valid because it looks like inputs are supplied by hardcoding in code itself..
 
Let me see
 
Is this just how function application works in Enlist?
 
I need some time to analyse it a bit
 
Sure, no problem
 
That's definitely a bug. Because @HyperNeutrino forgot to wrap numbers in rational wrapper if it is evaluated in list, (Try it online!) the argument must be hardcoded in the code. @BruceForte
 
4:40 PM
Ok, but doesn't an implementation define the language?
 
It does. As of now, the answer is invalid.
 
Too bad :(
 
@BruceForte Given that any language can now be used on a challenge, that bug can just be fixed and the question updated.
It doesn't count as modification "especially for the challenge" as is now a standard loophole, because it's just a general bug fix
 
Ok, makes sense
I'll +1 it then
 
Hi, can any Python golfers help me with this?
Or this. Either one is great.
 
4:44 PM
Which challenges are these for?
 
@Mr.Xcoder Try it online!
1 byte off by using y-=Y
 
Oh yeah y-=Y. Duh
Thanks!
 
other than that I don't think there's many bytes to be shaved
Nice work on the explanation btw
 
Thanks, again!
@FlipTack There should be some. I think I can golf my second approach further.
 
5:19 PM
@Adám Thanks, I've added a True/False option. And darn it, I missed Chatham Islands' 7:00 by 4 minutes :P
@flawr but my avatar doesn't have any hair ;-)
 
@ETHproductions see, it already burned away!
 
2
Q: Alternating bit smearing

Bruce ForteIntroduction This challenge requires you to set the trailing zeros of an integers binary representation to 010101…, this is best explained with an example: Given the integer 400, the first step is to convert it to binary: 110010000 As we can see the fifth bit is the least significant 1 bit, ...

 
5:45 PM
Python, 57 ... 55 ... and here's PowerShell at 168. :-/
 
6:10 PM
0
Q: Simple Blockchain

CamdenBlockchains are very complex things thahat power bitcoin and some other cryptocurrencies. Pretty easy right? Probably not. Example output: block 1 has been added on date (somedate) with a hash of (somehash) block 2 has been added on date (somedate) with a hash of (somehash) etc.. Rules: mus...

 
@Mr.Xcoder: Of course! (about the comments)
 
@AdmBorkBork 20 now
 
6:27 PM
CMC: given inputs, weights and biases of a neural network (feedforward with sigmoid (1/(1+e^-x)) activation functions), return the output of the NN. For example, if the inputs are 3 ¯0.5 and weights are 0.2 0 ¯0.5 (first neuron) 1 ¯2 0.25 (second neuron) for the first layer and 0.1 1.5 4 (for the three neurons respectively of the hidden layer) for the second layer, the bias 1 2 3 (respectively for the three neurons in the hidden layer) and 0.0375 (for the output neuron) return 0.9912865368
(that was a 2-3-1 network, 2 input neurons, 3 hidden, and 1 output)
 
6:39 PM
1
Q: Spiral Matrices

dylnanInspired by this challenge. Definition I will define a spiral matrix as a matrix that has all entries equal to 0, except a spiral of nonzero numeric entries. You can assume the nonzero entries are all positive or all negative if that helps. The spiral may "exit" and "reenter" the matrix, and th...

 
7:12 PM
1
Q: Is it a Satisfying Number?

Megoinspired by this chat conversation A satisfying number is a number whose decimal representation is of the form abx, with the following properties: x is the longest trailing repeating suffix, or the last digit if there is no repetition at the end (123333 -> 3333, 545656 -> 5656, 123 -> 3) b is ...

 
7:33 PM
@LeakyNun PowerShell port of that is 41 bytes, thanks to needing to [math]::Floor() it.
 
@AdmBorkBork oh
how do you modulo in powershell?
 
same as in most langs o.o
 
0
A: Sandbox for Proposed Challenges

Esolanging Fruit Sandbox Notes Is this a dupe? Should I clarify the spec? Should I use different characters for * and +? (* actually acts like regex +, so the way to do a real Kleene star is *_|. Should I add more test cases? Can I simplify some of the test cases? Complement of a Regex co...

 
Yeah. Oddly modulo is one of the few operators that means the same in PowerShell as in other languages.
 
@AdmBorkBork then can't you do (x-x%3)/3?
 
7:45 PM
PowerShell doesn't do integer division.
 
what is 6/3?
 
exactly
 
I'm not following ...
 
x-x%3 is a multiple of 3
 
7:46 PM
that floors to the nearest multiple of 3
 
oh, durr
 
so (x-x%3)/3 == floor(x/3)
 
36 by using inline assignment
which means no semicolon
 
7:54 PM
Yep
I stuck $n+ at the front instead, but yeah
 
@AdmBorkBork: Why did you post two separate answers, I don't understand?
 
@BruceForte coz one's a port and the other's not
lol they rhyme in british english
maybe not really
 
Yeah but wouldn't merging them make more sense since they're the same language, like for example Steadybox did
 
I don't like putting two wildly different approaches into the same post.
I view golfing as the "shortest code for a particular algorithm" rather than "per language"
Hence, two separate posts
 
0
Q: How long will it take Santa to deliver his presents?

JojodmoI posted this challenge a while ago, which concerns how many elves Santa needs to deliver presents. Due to population increase, Santa is a little more pressed for time this year. Although in the past we operated very asynchronously, we are beginning to experiment with being more and more synchr...

 
8:08 PM
Ok, makes sense
@LeakyNun: Nice explanation btw
 
np
 
Like for example in this challenge, would the tag be appropriate?
 
poll: do you have the horse-hoarse merger?
 
@BruceForte This is KC and was well-received (it's even mentioned in the tag wiki), so I would think that KC could apply to your challenge, too.
 
8:32 PM
@AdmBorkBork: Oh, I haven't checked these out, thanks!
 
8:57 PM
@LeakyNun Fascinating concept. I like to think that I pronounce them slightly differently, but that could just be my imagination.
 
@AdmBorkBork which vowel is "force"?
 
See, that's where I get tripped up. I don't know how to translate my vowel sounds into IPA
It's not something I've learned
 
you don't need to
does "force" correspond to "horse" or "hoarse"?
2
 
The first one.
"Horse" to me has a shorter "o" than "hoarse" does, if that makes sense.
 
@AdmBorkBork same here
 
9:04 PM
but "force" is supposed to belong to "hoarse"...
 
9:15 PM
0
Q: TCP SACK option Disable

Mohamed SeaHow can i disable Selective Acknowledgment (SACK) option in windows server 2008 . How can i know it's status on the server if it's enabled or disabled . Thanks,

 
 
1 hour later…
10:21 PM
@cairdcoinheringaahing I cannot believe that "dabbing" is a phenomenon that has been introduced into TNB
 
 
1 hour later…
11:30 PM
does anybody know of a regex that only matches a character when it's not in delimiters? for some reason, the one I'm using for Ohm right now doesn't always work properly
 

« first day (2519 days earlier)      last day (2326 days later) »