« first day (2342 days earlier)      last day (2795 days later) » 

17:00
What about a longer even-length string: evenlength
And a -> (a)?
Yes. And input will not be empty
(e[v(e[n(le)n]g)t]h)?
@DJMcMayhem This should be a main challenge, to be honest.
That's what I assume
17:01
@StephenS Unless your text editor happens to support Jelly's code page (which is extremely unlikely), you can only craft non-Unicode Jelly source code by hand or using your own converter.
@HyperNeutrino The input may be even or odd length, but that is a correct output for an even length input
@ZacharyT I'd love a better description. It's kinda hard to explain TBH
s=lambda S,b:'(['[b]+S[0]+s(S[1:-1],1-b)+(S[-1]if S[1:]else'')+')]'[b]if S else''
But I could do a fun title like (F[u(n[ (w[i(th[ (b)r]a)c]k)e]t)s]!)
17:03
anyway gtg now
But, you'd be contradicting yourself. th
second answer in my language and it involves bitwise manipulation >_>
So, how many of you are creating/created a golf-lang? I'm curious
@Dennis Hm, thanks. So TIO just counts the Unicode chars from the codepage, and knows that they are single bytes? And if you actually want to save a file for Jelly to read as single bytes, you'd have to do it "manually". OK.
17:17
I'm working on one
And what languages did you base it off of/get inspired from?
@ZacharyT I'm working on a lang that's non-verbose, I wouldn't call it a golfing lang yet
i'm also making one
@ZacharyT Mine isn't based off any other languages, AFAIK, it's based on mathematical sequences and patterns and the like
Link?
17:20
Since I can't edit my old post: WIP lang
So, it's very loosely like Oasis?
But it already has much better docs than Oasis.
Lol.
I might make an esolang based solely off of OEIS. Lol.
(In a long time)
i think that's in the works actually
17:24
@ZacharyT Uh I dunno Oasis, but looking at its docs I guess so, mine is slower, more powerful, and more verbose I think
For example, mine can take input, beyond just n xD
@ZacharyT Yeah, someone asked a meta question, about downloading OEIS and then having the OEIS number be the input
o_o, first Ruby-hack-language-thing (J-uby), now OEIS language? Seriously? Are all the ideas taken?
Link to the meta question?
@ZacharyT In the end, though, I'd love for cQuents to be able to calculate lots of different OEIS sequences
I haven't looked at it in much depth but it looks cool
3
Q: Question about the validity of a potential esolang

Magic Octopus UrnIf I were to implement an esolang that uses a cached version of OEIS (one that doesn't fetch from the internet) would it be valid? For instance, if I were to scrape OEIS and grab the mathematical formula, then tie that formula to the integer assigned to the sequence and use that as my esolang, is...

@BusinessCat It's still like 5% done
Hmmm. Would a function to reverse a number be of any use
Like, put the digits in reverse order
17:28
@BusinessCat Probably, I'm still planning my functions :P thanks for the idea
I had that idea too (same command as array/string reverse)
I have a lot of overloading in mine, and debating if the arithmetic negation for numbers should reverse strings/lists, or should reverse work for all 3 types
The latter, that way you could have negation map over an array.
@BusinessCat How hard is it to convert nums to string and back? Because that's what you're doing if you use it for ints
Two extra bytes.
17:31
Well it'd be at least three bytes: (cast to string)(reverse)(eval/cast to int)
Except that wouldn't work for negative numbers, so yeah I think I'll have the function reverse numbers
But then how do you reverse if it has a decimal?
@BusinessCat What about floats? Flip the . or keep it?
ninjad
I could just have an implicit truncation. Lots of operators that need ints specifically do that
You could do -123 => 0-123 => 321-0 => 321
Or you could choose between 123.4 -> 432.1 or 123.4 -> 4.321
Okay, what should indexing be based off of? Prepares for debate
17:34
I'm a firm believer in 1-indexing these days
@ZacharyT I'm using sequences, so 1 all the way
I'm debating whether to go Dyalog-style and use 0 or 1. (1 default)
@ZacharyT that's probably the best
I think 1 is more convenient in general
Heck, I might make it so ANY integer can be the index origin.
17:36
@ZacharyT -1 indexed would throw everyone for a loop
More convenient for golfing I should say
@ZacharyT What happens when your index is INT_MAX - 2?
@ZacharyT Oh wait you're in Python, right? nvm
I was just about to say that.
Common matrix / list of list input formats? Python/Haskell/Javascript etc: [[1,2,3],[4,5,6]], Mathematica/Java/C etc: {{1,2,3},{4,5,6}}, MATLAB/Octave: [1,2,3;4,5,6] or [1 2 3;4 5 6]. Am I forgetting some (only conventional languages)?
@ZacharyT 1-indexed because then an index of 0 could be classified as none (so falsy)
17:37
@StewieGriffin What do you define as "conventional"?
@ZacharyT you can edit messages, you know that right?
@ZacharyT somewhat arbitrary definition... It should have more than 10000 questions on SO at least...
@dzaima Yeah, I hate when the not found is -1 because -1 is truthy
For a find index function that is
@BusinessCat ~indexOf is contains in JS
that's 1 byte wasted
17:39
@ZacharyT it doesn't really matter how conventional it is... Are there other relatively common input types?
Oh, you said list of lists.
@ZacharyT Yes, since many languages don't have matrices...
@StewieGriffin Probably the first format but with parens for some language out there
Yeah, there's the APL list of lists (not used): (1 2 3)(4 5 6)
In CJam to do contains you need to either do #) or e= which is gross. Could be just # if it was 1-indexed
17:40
And then Matrix: ↑(1 2 3)(4 5 6)
@ZacharyT Yes, I found that one too in an old challenge. Why do you say it's not used?
APL's got matrices that are distinct from lists of lists.
The only weird thing about 1-indexing is when lists are also modular, then index 0 is the last element
but that can also save bytes
17:44
Yeah, but it's intuitively weird
who cares about intuition, this is Code Golf
If I went about adding both, should I have two dyadic commands (one for 0-based and one for 1-based), or should I have a monadic command to set the index origin?
Has anyone seen ASCII-only around recently
Yeah, I'll pass on that challenge.
Nope.
17:46
Any particular reason why?
looks at challenge
it seems harder than it looks
not that that should stop you :P
And you people are going to Jelly/05AB1E/Pyth/CJam/Actually/Seriously the crap out of that challenge
It's very annoying that the code points ( and ) are 1 apart but [ and ] are 2 apart
17:49
[|]
@BusinessCat ugh, I know
Is | between [ and ]?
`\` is
I hate markdown.
Yep, that's the kind of message that belongs in Sandbox
17:53
@ZacharyT Why? It certainly is used.
I meant it's not used as an array.
It's used for sure
@ZacharyT that still shouldn't stop you
@ZacharyT I say 1, and let the -1 be the last element. 0 indexing can then be used for something special. Also, if you need to insert or indicate that something goes before the first element, you can use position 0. Position -1 would be strange and prevent from-end indexing.
@ZacharyT Define array.
Is there a tag for ASCII input, or ASCII input processing?
17:57
Well I did it in 95 bytes in Python, but somehow feels too long
@Uriel That page claims Befunge was the first 2D language. HAL/S preceded it by 20 years.
Because if @NewSandboxPosts will hurry up I'd use one
ey i haz upvote
@Adám Was HAL/S really a true 2D language though? At least the way we currently think about them
If I make a Python answer as a lambda, does it have to be the only thing in the code? i.e. could it have some assignments beforehand or not
18:00
@BusinessCat I believe you have to also call the function if you do that
@BusinessCat Can you do default function parameters in Python, like you can in JS? that's how you do it in JS
I can make default parameters so I guess
@BusinessCat yes it can
but default parameters might be more golfy
Eh, nvm that doesn't make it shorter anyway
Oh, should I add a one-byte command to duplicate the item on the top of the stack?
That's pretty important
18:04
Swap two top items?
That too
yes
@StephenS It doesn't navigate in 2D, but a single statement can span any number of lines.
o_o. Then Befunge came first
then rotate top 3, swap 2nd & 3rd, duplicate 2nd, 3rd and so on
18:05
Well ovs just posted it in 70 bytes
Looks pretty similar to what I had, at least the first half
Okay, I got a good idea, let's just shove all of those in the triads, because I have no clue what most of those bytes will be.
>_<
I can't get explorer.exe to start
Rest in piece windows user.
I can open anything using Task Manager -> Run New Task
but not explorer.exe
So no taskbar or desktop
Try start explorer.exe in command prompt.
18:08
6
Q: (A[l(t[e(r)n]e)s]t) a string!

DJMcMayhemAlternesting, is the act of taking a string and nesting it in alternating brackets. Here is how you alternest a string. For a string of length N, take the center N characters, and surround them in parenthesis. So if our string was Hello world! (12 characters), we'll end up with (Hello world!) ...

Assuming you can open that
@Phoenix what windows version?
@ZacharyT A window titled "Personalized Settings" appears for a split second.
@NewMainPosts Good job! Only thirty minutes behind!
@dzaima 10
18:10
why wasn't it started in the first place?
No idea
I just restarted and found a black screen with cursor working
Did you try turning it off and on again?
I did
If I boot into safe mode, explorer is there.
This should fix everything: del C:\Windows\Sytstem32
But I'm not sure where to go from there
18:11
Honestly that happens to me sometimes, but eventually it end up working if I just let it sit
It's been a while
0
A: Sandbox for Proposed Challenges

MarioFind the nearest point in a 3D space Specs You have a cubic 3D space x,y,z of size 100 integer units, such as 0 <= x,y,z < 100. You get from standard input 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],[x...

0
A: Sandbox for Proposed Challenges

Stephen SFastest Gun in the West code-golf You are the roughest, toughest, coolest cowboy west of the Mississippi. However, some weird guy on a wacky nerd website decided that it would be cool to plop you into random unfinished landscapes and fight. No matter, you'll still win. However, to help you win ...

This is disappointing, I can't start windows update either
The bork happened right after an update
If I can access windows update, I should be able to fix.
Ok, I kinda got the update rollback thing to open
But it crashes immediatly
😭😭 Lost 25 rep because of repcap.
I can't complain though
Ok, looks like it's reinstall windows time
18:20
Hey I found my Hackathon team Bitbucket
@Mr.Xcoder PPCG equivalent of a First World Problem? :P
That's the best thing you could try, that's windows 10 for you. Done that ~2 times because of glitches lol
Ok, apparantly my Windows Installer is corrupted or some shite
The best thing you could try is... get a better operating system.
I did
@Phoenix Were you attacked by a virus?
18:20
But I want to play games too
@HyperNeutrino No I enabled preview builds >_>
There's a virus that causes computers to stop working going around recently. It's only known to affect Windows as well.
good I didn't do that
@Phoenix Ah I see
> It's only known to affect Windows as well.
Most viruses are
18:21
almost every virus
Ok 10/10 would recommend stop
Please. ^^
@HyperNeutrino No, I already have Mortarboard. I should have it twice now
@DJMcMayhem
@Mr.Xcoder ah ok. nice
I have Mortarboard due to serial voting one time
The first time I repcapped, I only got 196 rep. I was so close and then a user got deleted, which gave me -10 >.< It still counted somehow.
18:24
The votes got reversed but I still have the badge
i've never rep capped
@HyperNeutrino that happened to me too, and it was your user deletion
@totallyhuman you probably will soon
18:25
Oh rip :I
mm maybe
> MediaCreationTool.exe
> Hello darkness my old friend...
but my answers aren't really ever clever
but trivial answers get a ton of upvotes sometimes
> There was a problem running this tool
god fucking dammit windows
18:27
i mean my most upvoted answer is a comedic answer
@Phoenix applies in every situation
If I apply sufficient obsceneties for my current situation I will likely be kicked
My second-most upvoted is literally date -d100day which took me longer to click the answer button than to type, and my first is just a simple Py 2/3 division abuse
@Phoenix If you apply sufficient obsceneties in general for any use of Windows, you would a) hit the message size limit, and b) get kicked.
I've had to reinstall windows less times than Linux, and I've been a Linux user for less than six months.
@HyperNeutrino but those had high scores tho
18:29
8 tables moved to Trash
3
That's surprising. Do you frequently do things like sudo rm -rf / --no-preserve-root?
@HyperNeutrino Well, one time I uninstalled Nouveau and forgot to download nVidia drivers beforehand
But most of the time my display just failed after a while.
I suppose I could just live in safe mode
ehh
BRB restarting into normal mode
Maybe installer will run
that's not how it works ಠ_ಠ_ಠ_ಠ_ಠ
18:33
@totallyhuman It's not always the display, another time I tried to upgrade Ubuntu and broke dpkg
;-; what was that for
@totallyhuman I literally just trashed a bunch of ಠ_ಠ faces, and then you immediately posted more
the trashing message literally says you trashed a bunch of tables :P but ok
@ZacharyT Now that I read what I wrote I realise that just sounds like a statement can continue on the next line. But HAL/S reads the entire multi-line column at once. It is a single line that can extend with superscripts and subscripts.
Ooh HAL/S is the 2D and 1D language that's used for astronaut stuff right?
18:41
So uhh, is ಠ supposed to be an unrecognized character, or am I missing a font?
You're missing a font
It's the disapproval face
@Phoenix eye
Right
D: you've never actually seen the disapproval face in its true glory?
@Phoenix Or left.
18:42
*groans*
I have, a lot, I'm just on a different computer.
@HyperNeutrino Yeah, control space shuttles and rockets and stuff.
Ah. Fun
spaaaaaaaaace
@PhiNotPi Try installing Noto Sans Kannada
HAL/S is the only programming language that can actually cause your computer to crash and burn.
18:43
>_> i thought i accidentally switched on xkcd substitutions
Or really any Kannada font, but Dennis says Noto Sans is good, and I trust his judgement.
noto is good because it covers liek every character
Dennis Approval implies Highest Degree of Excellence.
^-^ MediaCreationTool.exe has started!
18:44
That's kinda a sad thing to be happy about
or any telugu font ^^
a sad thing to be happy about is killing people in video games and stuff
A sad thing to be happy about is... well... a lot of things in this world...
that should totally be a thing
@totallyhuman A sadder thing to be happy about is that but minus the video games part.
"Sad Things to be Happy About"
18:46
That sounds like a buzzfeed article
@HyperNeutrino that's... a difference case altogether :P
Exactly :P
"Top 10 Sad Things to be Happy About! Number 7 will SHOCK you!"
You know, If I don't care about the taskbar, my computer is fully usable right now.
OKay, so, @Adám, it's basically a programming language hopped up on a little math notation?
18:47
Like, I can play video games and open visual studio and stuff
Just not explorer.exe
Have you turned it off then back on again?
I'll tell people it's an ultraminimalistic setup I have.
@ZacharyT And a little rocket science, 'cause y'know… space!
fun fact: stopping explorer.exe in task manager with chrome open turns your windows computer into a chromebook!
@totallyhuman No it restarts explorer.exe
18:49
@Phoenix No it doesn't. Not in Windows NT, 2000, XP, 7, or 10. Done it.
not in windows 7 anyways edit ninja'd >.>
source: i've done it
Ah. In Windows 10 task manager when you click on explorer.exe the button changes from "end task" to "restart"
@Adám Not in Windows 10, or at least recent versions.
@Phoenix lol, if you click the delete keyboard key it ends it still
18:51
@Phoenix I always use Delete button or right-click>End Task. Works a charm. In fact, Explorer isn't running as I type this.
At least you can start explorer again ;-;
Interesting, Alt-Tab revert so something that looks like Windows 2000, and All the WIn-key combos cease to work.
Except Win-L.
That moment when you realize juxtaposition can be an operator: ccs.neu.edu/home/samth/fortress-spec.pdf
@ZacharyT J has ;
Pure juxtaposition.
18:53
@Adám Same here
Like implicit multiplication and C's "C " "Language"
@ZacharyT Yeah, Dyalog APL (as all APL2-alikes) has 'APL' 'Language'
ooo fancy box
AKA APL/J's display
In C, if I have a double x, is there a difference between a cast like (int) x and a cast like int (x) ?
18:55
I don't think so.
what is juxtaposition
i know what it means in english class
:P
the act of juxtaposing
@HyperNeutrino The art of placing two things next to each other?
18:57
ah yes a very fine art
Practically the same thing. Like if i were to juxtapose x and y it would be x y (as xy would be another variable)
takes skill to perfect it
>.< Oh okay.
In Dyalog, the anonymous lambda {⍺ ⍵} has been optimised for this.
It takes a left and a right argument and juxtaposes them.
Let's see if I can get this to work @Sean, help with Perl6?
18:59
APL is interesting
stack overflow got a new footer and it's still terrible

« first day (2342 days earlier)      last day (2795 days later) »