« first day (2418 days earlier)      last day (2437 days later) » 

3:01 PM
@cairdcoinheringaahing 83
 
So how should Landfill work?
firstly what language should I make it in?
 
@Mayube Python
 
@cairdcoinheringaahing 62 bytes. Maximum Recursion Depth for False and True for True.
Sorry
 
@Mr.Xcoder You stole that from me D:
 
@cairdcoinheringaahing mkay, and what should the general syntax be?
I'm gunna use PyPy for S P E E D
 
3:06 PM
@cairdcoinheringaahing well you shoudl put your golfing gloves on, to cite Jonathan Allan.
 
@Mayube it should be a tarpit, with the commands: decrement, push, pop, increment, open while loop, close while loop
Pop and push => take from heap and throw on heap
 
nah nah, the tarpit is BrainFlump, Landfill is more feature-complete
 
@Mayube Definately, "create new heap, taking a value across to that one"
 
heap? Woah there, we'll have none of that structured memory talk here buddy
we're talking dumps here
 
@Mayube Same difference
I picture it as heaps of clothes :P
 
3:09 PM
Why do all Turing tarpits begin with Brain and contain F?
 
@Mr.Xcoder because they dont
 
@Mr.Xcoder Because they ripoff brainfuck
 
@Mr.Xcoder BrainFlak is a Stack, BrainFlueue is a Queue, BrainFlee is a Tree, BrainFleap is a Heap, BrainFlump will be a Dump.
And Braingolf conforms to your Brain plus F rule, but is not a tarpit
 
@LeakyNun you know I mean some by all right?
 
5
I can think of 5 tarpits that follow that rule
 
3:10 PM
@Mr.Xcoder 10/10 for English right there :P
 
4 sorry, BrainFlump doesn't exist yet
 
@Mayube how could you forget Brain****?
 
@Mr.Xcoder brainfuck doesn't include F
 
@cairdcoinheringaahing I disagree.
I mean, brainfuck...
 
3:12 PM
@cairdcoinheringaahing case insensitive comparison is needed
 
@Mayube o_O TIL BrainFl(ee|eap|ump) exists
Or should I say BrainFl(e(e|ap)|ump)
 
@DJMcMayhem I think he's making them (along with Hyper)
 
@DJMcMayhem I don't think any of them actually do (obviously flack and flueue do), but they were all suggested
 
Oh.
 
3:15 PM
Hyper suggested Flee, I'm making Flump, and then I'm gunna use Flump as a basis for Landfill
 
I haven't told anyone this yet, but a while back I was planning on making a wheel-based (wheel is a circular stack) brain-flak variant, and I was planning on naming it Stealy-Wheely-Automobiley
 
@DJMcMayhem How about Wheely Mc-Brainwheel? :P
 
Hmmm... Not enough DJ in there to be worth including the Mc.
How will I know that the language is both Scottish, and a Deejay?
 
@DJMcMayhem The last time I checked, "the ministry of silly walks" isn't in Scotland :P
 
But where is it?
 
3:25 PM
@DJMcMayhem It doesn't exist
 
crazy how nature do dat
 
Okx
@cairdcoinheringaahing warning: unused variable "navigationCode"
 
@cairdcoinheringaahing so for the tarpit, what characters should we use?
 
@Okx Aren't you supposed to ignore warnings?
 
Okx
you might as well remove the variable
 
3:31 PM
@Mayube How many commands?
 
Why was this question deleted with a rude/abusive/spam flag?
 
It should be 8. That's pretty typical
 
for the tarpit? push, pop, inc, dec, loop start, loop end, read from STDIN, print to STDOUT
 
@muddyfish I have no idea. It's definitely not
 
@Mayube As its already designed to hate code golf, should we use multibyte characters as commands?
 
3:33 PM
eh, i'd rather not
 
FTR, it was regular deleted, but then I have no idea how it was marked R/A
 
In that case, how about : ; + - ( ) , . (in the order ^^^^^)
 
@mınxomaτ: I'm fairly sure you know about this already. arstechnica.com/information-technology/2017/09/…
 
@cairdcoinheringaahing k, so I'm thinking there's the dump, and there's also a single cell which is the currently used value (ie the value that will be pushed if you push, and inc/dec if you inc/dec)
when you pop, a random value from the dump is moved to the cell
but when that happens, what happens to the existing value in the cell? Does it get pushed implcitly? Or just overwritten?
 
@Mayube That makes it sound even worse. I love it :P
 
Ven
3:41 PM
at least if you plan to use inheritance to represent your values. I guess std::variant could work though
 
@Mayube It gets outputted or overwritten.
 
Ven
SeriousList::value probably wants to return a const List&, too :)
 
12 mins ago, by muddyfish
Why was this question deleted with a rude/abusive/spam flag?
@Dennis ^ Any idea what's up with that? It's clearly not red-flag worthy, and since it was only marked as R/A after being deleted, it seems like it must have been a mod that cast the flag
 
@cairdcoinheringaahing so here's a basic example: +++++++++++++++++++++++++++++++++:+:+:;. will randomly output !, " or #
 
@Mayube Perfect! :P
Do you want to make it, or should I?
 
Anonymous
3:46 PM
@Ven No, inheritance won't be used. std::variant (actually boost::variant for now, until Travis gets GCC 7) will be used, because there are a very small number (4) of concrete types that will be used on the stack. Inheritance is overkill.
 
I'm already making it
 
Ven
@Mego fair enough. So why the SeriousObject?
 
@Mayube Have you released it on github?
 
Ven
ah, you'll probably later typedef it to a std::variant.
 
how can I read 1 char at a time from STDIN in Python 2? do I have to read all input beforehand and then just iterate 1 at a time
 
3:47 PM
@Mayube sys.stdin.read(1)
 
@Mayube No, there should be a function somewhere in sys.stdin
 
ah okay nice
 
Shamelessly taken from Jelly :P
 
@Mayube (Keep in mind that even though it reads one char at a time, it will still hang until the user pressed enter if you're in interactive mode)
Hello @ThomasWard !
 
Hello LazerEyes!
 
Anonymous
3:48 PM
@Ven I meant to have it return a ref, but not const. The value method is how the underlying type is extracted for manipulation, so it shouldn't be const.
 
Anonymous
@Ven Monadic type that contains a std::variant object and handles operations on it monadically
 
Ven
So you have a layer of abstraction for any value?
 
Anonymous
Exactly
 
Anonymous
This sort of language is a perfect fit for monadic types, so I'm going to use them
 
CMC: Return your favourite xkcd (number of votes wins :P)
 
Anonymous
3:51 PM
SeriousObject will abstract away the extraction of the value from the variant object, making the command implementations cleaner
 
Anonymous
@cairdcoinheringaahing 404
 
Ven
I'm not sure I see the relationship between AST shape and "monadic types"
 
Anonymous
In functional programming, a monad is a design pattern that defines how functions, actions, inputs, and outputs can be used together to build generic types, with the following organization: Define a data type, and how values of that data type are combined. Create functions that use the data type, and compose them together into actions, following the rules defined in the first step. A monad may encapsulate values of a particular data type, creating a new type associated with a specific additional computation, typically to handle special cases of the type. For example, the simple Maybe monad ...
 
@cairdcoinheringaahing This one
 
Ven
3:52 PM
@Mego I know what a monad is.
Is a monadic type a type that has flatMap and join?
 
Anonymous
A monadic type is a type that supports monadic operations. Specifically, I'm using the return-and-bind definition.
 
Ven
Okay, now I understand.
 
@DJMcMayhem Definitely Rand-flak
 
Ven
Seriously/Actually is stack-based right?
 
Hmm. Someone voted other, but never said what other they want
 
Anonymous
3:55 PM
@Ven Yes
 
Ven
@Mego Do you plan a VM (for fun and giggles), or directly evaluating the AST?
well, considering it's already a stack language...:)
 
@DJMcMayhem I voted other, but don't have a suggestion
 
@Ven Actually, stack based with something else (not really, just for the pun)
 
Anonymous
In Seriously++, when an object is put on the stack, it will be automatically boxed into its respective monadic type (SeriousInt, SeriousFloat, SeriousString, or SeriousFunction). That object will then be boxed into a variant object, and that object will be pushed on the stack.
 
Ven
so it's a stack vm anyway
@Mego makes sense
(now I want to work on my rust vm :c)
 
3:57 PM
is it possible to assign a variable within a function call in python?
eg: func(myVar=7)
 
@Mayube def f(x=<nilad>)
 
ugh but I'm trying this for the purpose of golfing
 
Anonymous
@Ven Yep, might as well do that since most archs are stack-based anyways. It'll make it easier to do native compilation
 
Ven
That's a goal too?!
 
@Mayube You can use kwargs (def f(**kwargs) and f(x=10))
 
Anonymous
3:59 PM
@Mayube If you do def f(*a,**k):x=k['x'], you can do f(x=42)
 
Anonymous
@Ven Of course! And then I'll be working on getting it running in Game of Life!
 
Ven
@Mego haha, that one reminds me of a certain challenge
 
Anonymous
@Ven ;P
 
Ven
I can't see you doing native compilation though :).
.oO( I always write a JIT for my golfing languages, so that I can waste time more efficiently )
 
@Mego I didn't define the function I'm trying to call though
 
4:01 PM
0
A: Sandbox for Proposed Challenges

Dom HastingsValidating Words in Word Grids A follow on from Generating Word Grids Given a grid of letters and a set of co-ordinates, validate that the co-ordinates follow only cardinal direction changes, at least one of the co-ordinates touch an empty space in the centre of the grid, the resulting word is ...

 
Anonymous
@Mayube Then you're probably SOL
 
basically I'm trying to golf this down to a single line:
v=arr[i]
arr.remove(v)
 
@Mayube v=arr.pop(i)
 
oh wait hold on
if I have a list in python, and I .remove or .pop an element from it
do the rest of the elements change their indexes? Or do I just get a hole in the list?
 
@Mayube They change their indexes
 
4:03 PM
okay good
totally not golfing BrainFlump's interpreter
down to 403 bytes but haven't implemented loops yet
 
2
Q: Generating Word Grids

Dom HastingsGiven input n, produce a word grid of size n, in as few bytes as possible. Details The number provided will always be odd. The centre square of the grid must always be empty (a space character). The letters that fill the grid must be chosen at random from the English Scrabble letter distributio...

-3
Q: The WebChain-Ing

MCCCSInput An unsigned integer (>0)[arg1], a website link[arg2]. Output It should print the websites that the final chain is consisting of. Explanation The software parses the website, which is chosen by [arg2], and chooses one of the links that are referring to a webpage in another domain (b.a.c...

 
wait, 423 bytes
haha, 404 bytes
hmm how am I gunna implement loops
@cairdcoinheringaahing you wanna do the hard part for me? xD
 
@Mayube Implementing loops?
 
ye
 
Is it on github?
 
4:12 PM
will be in a sec
 
0
A: Sandbox for Proposed Challenges

Dom HastingsWord Grid Pathfinding A follow up to Generating Word Grids and Validating Words in Word Grids. Meta My original idea for this was to have entries compete, but I'd like to have different winning conditions. Given grid x, pit all scripts against each other for the following win criteria: Hig...

 
0
Q: Is it a completely even number?

MD XFA completely even number is an even number whose divisors (not including 1) are all even. Some completely even numbers are 2 (divisors: 2, 1), 4 (divisors: 4, 2, 1), 16 (divisors: 16, 8, 4, 2, 1), and 128 (divisors: 128, 64, 32, 16, 8, 4, 2, 1). Some non-completely even numbers are 10 (divisor...

 
@cairdcoinheringaahing here it is
 
@NewMainPosts ...aka a power of 2?
 
@El'endiaStarman 28 is a "completely even" number, but is not a power of 2
oh wait 4*7
yeah you're right powers of 2 only
 
4:23 PM
@NewMainPosts isn't this a dupe?
I feel like I've seen it before, and it's not the commented one
@flawr lol, subscribed
 
@Mayube Can you give me write access? My username is SatansSon
Also, note to self, change ^
 
@Fatalize why does this output true?
@Riker could you unfreeze this room? Thanks
 
he was faster
 
@LeakyNun I beat him to it. :P
 
lol
 
4:33 PM
Also, @Mayube can I golf the current code when I do the loops?
 
@cairdcoinheringaahing yes and yes
 
4:49 PM
lately serial downvoting has been more serious...have you observed such an effect?
 
0
Q: Exponentiation Sequence

SoakuThe oldest polish salt mine, located in Bochnia, was started in year 1248, which we can consider a magical number. We can see that it's equal to 4 digits from the sequence of exponentiations: . As the date is actually 4 digits from the sequence, we could make it longer. We could repeat the proce...

 
@EriktheOutgolfer Hasn't happened to me...
 
even though one of my answers had a comment "Upvote so fast? ..." (that was because if your answer loads with score 1 just after posting it I'd consider it a bit of disrespect)
 
@EriktheOutgolfer Serial downvotes will be reversed at midnight
 
they're not excessive, and no the system can't detect them if they're much time apart
 
4:53 PM
@EriktheOutgolfer Wrong wording. Corrected
 
yeah was getting pinged
 
@Mayube should loops open/close depending on v or an item from d?
 
v
 
Anonymous
@EriktheOutgolfer If you think there's a problem, and the system doesn't correct it automatically, raise a custom flag on one of the affected posts and point out your concerns to the mods.
 
@Mego I'm not sure yet
I just asked if someboody else was also experiencing the same issue
 
Anonymous
4:59 PM
I haven't gotten downvoted in a while, so shrug
 
@Mego #highrepproblems :P
 
Anonymous
@cairdcoinheringaahing You don't need high rep to not get downvoted :P
 
Are there any examples of a challenge requiring non-integer numbers being solved with a language that only has integer numbers?
E.g. calculate pi solved with Befunge or something
I would think they would be rare if any at all
Im thinking about making a bounty for that
 
cool
Heh, it appears I've already upvoted that
 
5:14 PM
@DJMcMayhem @muddyfish Why do you say that it was deleted as spam? Looks like a regular deletion to me.
 
Anonymous
@Dennis It shows as a red-flag deletion to regular users
 
Anonymous
> This question was marked as spam or rude or abusive and is therefore not shown - you can see the revision history for details.
 
Apple must really hate Google. apple.com/apple-events/september-2017 doesn't work in Chrome
 
@Mayube ಠ_ಠ In order to implement loops, I made the program 661 bytes long
 
Anonymous
What probably happened was, there was a red flag that hadn't been accepted/declined when the post was deleted, so it was auto-accepted.
 
5:16 PM
@Mego Hm, OK. Mods don't see the stub, so the only indicator for us is that it was deleted by Community, and this question was not.
@Mego Afaik redflags are special and dismissing them as helpful doesn't spam delete, but a single spam flag followed by a regular deletion is exactly what happened...
 
Okx
@HelkaHomba doesn't work in firefox either
 
It works in Edge of all things.
 
@Mego Which that flag should definitely be reviewed and rejected (I'm not sure if that's possible)
Especially since red flags carry a lot more consequence than other flag types, if someone's misusing them, they need to be made aware that they're doing it wrong
 
Anonymous
Man, Windows's file transfer dialog is terrible. It's been copying 0 items with 5 seconds remaining for about an hour now.
 
Could somebody send me a screenshot since I can't see this myself?
 
5:27 PM
Sure
 
Anonymous
 
Thanks!
 
@Mego Mith said the same thing in Charcoal:
in Charcoal HQ, 1 hour ago, by Mithrandir
@DJMcMayhem if something was flagged with a red flag and then it was deleted, it'll show that even though it was manually deleted. The OP also won't suffer the -100 and other penalties.
 
Anonymous
@DJMcMayhem Yep, Charcoal is where I learned that it can happen :P
 
5:29 PM
What are the CLA flags that Python uses?
 
Also, it seems like this behavior is shockingly wrong. If there is an incorrect flag on a deleted post, it will be instantly validated without any mods being made aware of this, so there's no one to reject the flag
 
Anonymous
@cairdcoinheringaahing python --help
 
Gah. I hate discord. They stopped my account this morning and only after 2 emails did they say it was for selfbot abuse. And only yesterday did I send them an email asking explicitly if something was within the terms of service and they said it was
 
Might be worth a MM
 
@Mego Also weird how the ClO (hypochlorite), ClO₂ (chlorite), ClO₃ (chlorate), and ClO₄ (perchlorate) anions all have -1 charge
 
5:37 PM
Does anyone else's eyes bleed whenever they go to mathoverflow.net? It's colours are awful :P
 
@DJMcMayhem I've cleared the spam flag and it shows up as disputed now.
 
@BetaDecay Not bleed per se, but it isn't nice. Movies.SE is much worse though
 
@BetaDecay yes
 
Anonymous
@BetaDecay No, because I never go there :P
 
@BetaDecay 1) That's not exactly an official SE site (they host it themselves and have a contract with SE that stipulates details regarding how they fit into the network, like "no HNQ") and 2) it's probably run by math professors.
 
Anonymous
5:40 PM
@El'endiaStarman That stipulation specifically is that they don't see the HNQ list, but MO still has a presence on HNQ
 
it's probably run by math professors What's that supposed to mean? :P
 
@Mayube Loops are added, and golfing is in progress
 
Anonymous
@Dennis When was the last time you met an artistically-inclined math professor? :P
 
@Mego In Dennis' defence, he could be one
 
Anonymous
Every professor I ever had would draw a circle on a whiteboard and say "this is our cow"
 
5:41 PM
@Dennis If you're a math prof (which IIRC you are?) then you're exceptional. TIO looks good. In general, though, they tend to give little thought to the style of their websites.
 
@Mego Never heard/seen that one :P
 
Anonymous
@El'endiaStarman Even black text on a white background would look better than MO
 
My 9th grade math teacher got a degree in art or something like that
 
Anonymous
@MistahFiggins 9th grade math teacher != math professor
 
He has Escher stuff all over his walls
yep, I know
 
Anonymous
5:43 PM
Also every math teacher has Escher stuff all over their walls :P
 
lol i guess so
 
@Mego In my experience, 9th grade math teachers are physicists.
2
 
Anonymous
@Dennis In my experience, 9th grade math teachers are masochists :P
 
That too.
 
Anonymous
Really though, that applies to all high school teachers
 
5:46 PM
My physics teacher is legitimately insane
 
@El'endiaStarman Guilty as charged. In math professors' defense, I have yet to see any professor's personal website with a decent style.
 
@Mego my votes aren't affected by "rep" ;p
they are only affected by "post"
 
Anonymous
@Dennis I have, but that was a web design professor
 
@El'endiaStarman TIL it's not an official SE
makes sense though
 
@Mego in my experience, 9th grade math teachers are just...*no comment*
 
5:49 PM
@Dennis Y'know, you have a point there. I've just looked at more websites by math profs than other profs.
 
(p.s. my experience is most probably biased)
 
@EriktheOutgolfer I took Calc 1, and mine was ok, but I've heard Horror stories
 
@Dennis true (maybe because they want people to focus on their accomplishments as math professors rather than the design of their personal website)
 
Wanna see the theme of my professors' website? It's just terrifying
 
@MistahFiggins I didn't mean exactly that
 
5:50 PM
@Riker Both MathOverflow and Mi Yodeya were SE 1.0 sites. Mi Yodeya is more integrated into the network though.
 
@Mr.Xcoder yes please?
 
@El'endiaStarman TIL, tha'ts pretty cool
 
@MistahFiggins Sending screenshot
@MistahFiggins No onebox
 
@Mr.Xcoder 404 for me
 
@EriktheOutgolfer Edited, try again.
 
Does it work?
 
this goes to a 404 for me
(actually not even DNS)
 
> 1+1=
wow
 
Yeah
 
@Mr.Xcoder no
 
Can you see it now?
 
@Mr.Xcoder I meant the URL
 
@EriktheOutgolfer I have sent the raw picture.
@EriktheOutgolfer The URL links to imgur...
 
e-math.ro doesn't work as a URL
 
5:55 PM
I would send you to yvette's bridal formal, but I think it downloads audio files.
 
Oh.. The address is longter
@EriktheOutgolfer Try this: e-math.ro/zirnac
 
e-math.ro this is totally unrelated...
 
Yes, it is
 
@Mr.Xcoder works now
 
Awful, huh?
Too many dots, crappy messages (I won't bother to translate them), and many more...
Not to mention awful colors
And outdated, we're VIII C, not VII C...
 
5:58 PM
> All right reserved.
grammer guuuud
 
Oh, I didn't notice that, lol
 
and a down arrow thingy on the right doesn't actually work
 
Brb eating
@EriktheOutgolfer Yes, complete fail
 
not-so-good designs are one thing, 10/10 fail is another
 
My teachers use Schoology, so I don't really get to see anything like that
Although the website does have its fair share of problems
 
6:01 PM
when a math prof has "1 + 1 = ?" on their website, it's really amazing, they can actually solve the equation!
 
...like not sanitizing input
 
@LeakyNun umm, what is "S"? I thought the proof is 160-something pages long...
 
@EriktheOutgolfer there is no "the proof"
there are many proofs
@EriktheOutgolfer S is the successor function defined in Peano arithmetic
 
What program is that?
 
6:11 PM
@Mr.Xcoder Prover9/Mace4
 
so...that's essentially a tool for cheating when a homework question is asking "prove..."?
 
automated theorem prover
 
@LeakyNun Thanks
 
@EriktheOutgolfer the catch is you can only use first order logic there
(I don't know if there are other softwares that support second order logic)
 
Any golfing tips: ạ⁴²SµÞ?
I think it should be shorter
 
6:17 PM
@Mr.Xcoder what is this for?
 
10
Q: Sort the points by linear distance in a 3D space

MarioSpecs You have a cubic 3D space x,y,z of size S integer units, such as 0 <= x,y,z <= S. You get from default input methods an array of points P represented as x,y,z integer coordinates, in any reasonable format as you like, for example: [x1,y1,z1],[x2,y2,z2],[x3,y3,z3] ... [xn,yn,zn]. All the ...

My answer is here.
 
@Mr.Xcoder 5 bytes
 
@LeakyNun Thank you!
@LeakyNun What does ð do again?
> Starts a separate dyadic chain.
Nvm
 
6:32 PM
nvm am stupid
 
@Mr.Xcoder Couldn't you just combine the Python tips with the Javascript tips? That's basically what Proton is :P
 
@cairdcoinheringaahing No, it's not. It has many, many more cool syntax features.
 
@Mr.Xcoder 'twas simply a joke.
 
@HyperNeutrino ಠ_ಠ Why haven't you added the "Unique features" page in the Proton wiki?
 
6:39 PM
hehe
 
@Mr.Xcoder was Proton designed to be Python but golfier?
 
@cairdcoinheringaahing Yeah, somewhat (I think). It is probably meant to beat Python by a few bytes (and combine the best of JS, Python and Cheddar)
 
@Mayube do you mind if I ask Dennis to add BrainFlump to TIO?
 
1
Q: Tips for golfing in Proton

Mr. XcoderProton is a quite new language created by PPCG user Hyper Neutrino. It is very similar to Python, and has similar syntax to the language Cheddar, hence there are some clever tricks you can use in order to reduce your byte count. Let's get those cool tricks listed here. As usual, please post one ...

 
@NewMainPosts Are you tired? 18 minutes is slow
 
Rod
7:00 PM
@Mr.Xcoder hey, how do I reverse a string in Proton? I thought that [::-1] would work, but it didn't
 
@Rod string[by-1]
I think
 
Rod
thanks
 
You're welcome
@Rod [:A] is [to A], [A:] is [A to] and [::A] is [by A]. Additionally, [A::B] is [A to by B], and so on.
 
7:54 PM
Thats a really cool syntax
I would have learned array slicing much easier if I had those convenient keywords back when I was trying to learn array slicing
 
from apple event thing
nice shadows
 
This is very clearly BS :P I'll see myself out
 

« first day (2418 days earlier)      last day (2437 days later) »