« first day (3792 days earlier)      last day (1048 days later) » 

6:00 AM
some flavours of VB might be dead
SmallBASIC is shadowed by Scratch
 
@hyper-neutrino I'm eligible for one bronze by answer count
guess what it is
is it bad that my first Puzzling Question instantly got 9 upvotes
 
i will just copy paste Vyxal's if / while and for loops for my esolang
 
See if you can solve it before reading the answer
 
@Ausername btw how is jyxal going
@StackMeter how is antialpha going on
 
6:13 AM
@Wasif I've sorted implicit input and most of the function stuff. I'll push in a bit.
 
nice
 
hey guys uh, the answer to the "is there a single line of 1s in a matrix" problem is just, is the sum of the squares of the flat matrix equal to n.
 
what do you mean by sum of the squares
 
I don't think I get the statement
 
flatten the matrix, square each element, sum?
 
6:21 AM
each element is 1
so squaring doesn't seem too necessary
 
it's neither necessary nor would fix issues if elements could be something other than 0,1
 
but obviously you also get a ton of false positives
i'm assuming what you mean has something to do with the new mathematica answer?
 
yeah
Try it online! shrug, it works for all the inputs
 
false positive for [1, 0], [0, 1]
 
^
literally the exact test case I just typed in lmao
 
6:24 AM
all the elements are 0 or 1
so squaring does nothing
so sum of squares is just sum
so this just checks if the matrix has N 1s which is... only valid for 1x1 matrices
 
So then the mathematica answer is wrong and is just relying on test cases that happen to work?
 
we should probably put [[1, 0, 0, 0], [1, 0, 0, 0], [0, 0, 0, 1], [0, 0, 0, 1]] in as a canonical test case
 
The norm of a matrix is the square root of the sum of the squares, I think?
 
i havesolang news: s1mpL3 now has Vyxal's if statements (now test it and tell me bugs)
 
i looked it up on wikipedia and there's a lot of different things a matrix norm could be but considering he squares it... :|
 
6:27 AM
i don't think so, pretty sure that's vectors
 
The Mathematica answer invokes a matrix norm, which is totally different from (and much more complex than) the square root of the sum of the squares
 
@PyGamer0 is the name of your esolang s1mpL3
 
@PyGamer0 Parsing those is a pain, beware
 
@Wasif yes nobody gave me any ideas for the name
 
6:28 AM
you gave us like 20 seconds lol
 
so it is very interesting but generally not portable
 
ask GPT3 through lyxal for names
 
you literally edited your name idea into the original message which means it has to have been within 2 minutes
 
@Ausername not a big pain
 
oh yeah there are some good name candidates you can get from gpt3
 
6:29 AM
according to mathworld.wolfram.com/MatrixNorm.html, the common meaning of "the" matrix norm (even though there isn't just one definition, but spectral norm is most common) is sqrt of the max eigenvalue of $A^HA$ where $A^H$ is the conjugate transpose
 
you just first parse the if statement, then split on the pipes from right
 
they're more font names than esolang names but same thing
 
@UnrelatedString what is gpt3
 
and of course since we are only working with integers (and therefore reals) $A^H=A^T$
 
@PyGamer0 artifical intelligence
 
6:29 AM
so the conjugate transpose is just the
conjugate
transpose
 
so it did have some really concise linear algebra relation...
@UnrelatedString yep lol. $\overline{A}^T$
or $\overline{A^T}$ same thing
 
And of course "computing eigenvalue" part is wack
 
unless jelly has eigenval builtins this isn't portable to jelly unfortunately
 
i don't think it does
it should
but it duesn't
 
6:38 AM
Anyway, we have so may 9-byters in Jelly that someone should have found a 8-byter by now
 
6:55 AM
Python is a pain as a langauge to compile into, because indenting
 
then don't
 
imagine needing to indent
just oneline everything, ez
 
...unironically if you are going to transpile to python you do not want to be in the position of needing to indent anything
not so you don't have to deal with indentation
but because you don't want to use anything that requires it
 
just have a crap ton of helper functions in a header and use those, tbh
that looks like how vyxal does it? i think
 
a disadvantage of transpiling is that it becomes hard to keep track of what's where and how
or at least it did in brachylog
probably doesn't help that i tried to work on the transpiler without being the guy who wrote it
 
7:02 AM
@hyper-neutrino now i am going to do a poll
 
unless you dislike your name you could just keep it :p
 
so give some options for the name of the esolang
@hyper-neutrino i dislike the name
 
mm okay
 
I Dislike the Name wouldn't be a bad name tbh
 
7:06 AM
@UnrelatedString lol its very long
how about Laxyv (Reverse of Vyxal)
 
you could give it an acronym, like the Compiler Language With No Pronounceable Acronym
that would invite thoughts of laxatives
wait wait wait
Prune Juice
that would also be a good name
 
@UnrelatedString DEDNUI (Dumb Esolang Do Not Use It)
Prune Juice? ok
this is the poll: linkto.run/p/3RGDDOM9
hmm i kinda like 51AC8
 
@PyGamer0 "SEB"
 
@Adám SEB?
 
push Stack, push Esolang, pop 2 and Base
 
7:21 AM
who chose Laxyv?
hmm it is a tie between Prune Juice / Laxyv and 51AC8
 
@PyGamer0 Mark Giraffe
 
@UnrelatedString i kinda like 51AC8 / Laxyv
lets see 51AC8 looks like a sightly modified version of 05AB1E
 
what's 51AC8
 
a choice for the name of my esolanf
 
Does 371486 have any special meaning?
(mini puzzle)
 
7:35 AM
@StackMeter it means STACK
 
the name laxyv reminds me of laxative tbch
 
So 05AB1E means osabie? What's an osabie
 
there's no great meaning to it
some people say "usable"
 
When I see 05ab1e I think of the exact opposite of "usable".
 
well looks like Laxyv won
 
7:38 AM
@RecursiveCo. haha, try stax if you want usable
@PyGamer0 this is giving off real Flogscript vibes
 
every time I hear flogscript I realize I knew it existed and then I immediately forget within like ten minutes
 
@PyGamer0 how about Allyx?
 
Are there other popular stack golfing langs besides Vyxal, 05AB1E, and Stax? I want to learn one, but not sure which.
I used to like CJam back in the day, but it seems to have fallen out of favor.
 
CJam is definitely not up to the standards of modern golflangs but
 
7:40 AM
did you just call J a stack language
 
@lyxal Allyx....good option
 
the top ones are the more golfy ones
 
and GolfScript popular
 
@RecursiveCo. it's 51
 
I would also assume that someone with CJam experience is familiar with GolfScript
 
7:41 AM
@StackMeter No
Hint: convert it to another base
 
Thank you Razetime, that's exactly what I was hoping for
 
I should move gaia further up there
and paradoc
paradoc is suprisingly unused for how good it is
 
Are they sorted by how golfy they tend to be?
 
the top 5-ish are sorted
@chunes the good ones outside top 5 are pyke, Gaia, Ohm, Mathgolf, paradoc, Neim
I'll get to sorting them correctly today
 
Whatever you do, just don't learn Keg.
4
 
7:45 AM
neim's condepage has some very ugly alignment issues i will say
 
do check out the other categories, they get really interesting
 
@lyxal k why
 
ok here is the final time linkto.run/p/H2HO6TJB
 
@StackMeter it's a really bad idea
 
@lyxal for what reasons
 
7:49 AM
@StackMeter to quote razetime: "it's a trainwreck"
And I full-heartedly agree with the statement too
 
just send me the github and I'll see
 
Jyxal has some more stuff.
 
@Ausername good
 
The problem is, JS's default number type is a float, so I have to use BigInts to mantain the use of large integers. Fortunately, it's only adding BigInts to Numbers (floats) that errors.
I also had several obvious bugs - for example, implicit input when readying a stack for a function call was failing because it was trying to tak input from the stack it was building for the function.
 
7:58 AM
@Razetime Approx. 21000 lines of C for the editor, but it's hard to be precise.
 
21kloc, not bad
 
hello everyone
@lyxal why?
 
20 mins ago, by lyxal
@StackMeter to quote razetime: "it's a trainwreck"
19 mins ago, by lyxal
And I full-heartedly agree with the statement too
 
BTW my new language is coming very soon
 
what's it called?
 
8:11 AM
@rak1507 Snake
Not anaconda
 
2d then?
 
@rak1507 yeah
how did you know
 
cool
just sounds like it
 
anaconda is a seperate project which would take more time
 
@Adám wow
 
8:13 AM
"wow" so many or "wow" so few?
 
what has 21k lines?
 
we have a winner Allyx; now the name of my esolang is Allyx
 
@Wasif The editor parts of Dyalog APL's IDE.
 
then I wonder how many lines would be the interpreter itself
 
@PyGamer0 now's the moment where I point out allyx is simply an anagram of lyxal
absolute gamer moment
 
8:15 AM
lol so many vyxal clones
 
ok then nvm
 
@Wasif *keg clones
 
the final name is 51AC8
 
did you ask GPT3 for names?
 
@Wasif idk how to ask
 
8:17 AM
@Wasif About 700 kLoC.
 
you can make a request in a chat room
but i forgot which room
 

 The Edge of Propinquity

This may or may not be a room for AI-generated text, images, a...
 
oo nice
 
how do i use it
 
@Adám wow (so many)
 
8:19 AM
@Wasif Right, but the interpreter comes with all kinds of things built in that you'd not normally find in an interpreter.
 
@PyGamer0 you've been played
 
@Adám like what?
 
@rak1507 2 .NET bridges, WinForms, converters to/from XML, CSV, JSON, all the worlds datetime formats, PCRE, etc. etc.
 
oh god
 
lol
 
8:22 AM
how much lines might the core interpreter be
and how people make derivatives of APL in different langauages
do they execute APL using some API (after some changes) or just rebuild the core interpreter with a few changes
 
just rewrite things but without all the non-core stuff dyalog APL has
 
I see
 
github.com/dzaima/APL you could look at dzaima/APL source
 
Note to everyone on iPhone (and maybe android): SE chat is way better on the mobile site, with any browser, than on the SE app!
 
@rak1507 I have looked at it, sounds like it executes APL through some API and later change the results in few places (I don't know Java that much)
 
8:27 AM
Moral of the story: SE is not necessarily better on an app. The mobile site is surprisingly nice (at least for chat).
Interesting. The font in code blocks is different on mobile, too.
 
@Wasif it doesn't use dyalog apl at all
 
Evidently this is a thing:
(Oh wait, I don’t know how to upload on mobile. It’s just a screenshot of a dialog box about “the new mobile chat.” By now I’ve way over-hyped it and you’ll be disappointed, but if you don’t know about it, I do recommend trying it.)
 
there's no dot product challenge
gotta fix that
 
I'm sure there is
6
Q: How much will this cost?

Oliver NiGiven N items (0 < N <= 50) with prices (which are always integers) P0 ... PN-1 and given amounts of each item A0 ... AN-1, determine how much the total cost will be. Examples N: 2 P0: 2 P1: 3 A0: 1 A1: 4 Result: 14 N: 5 P0: 2 P1: 7 P2: 5 P3: 1 P4: 9 A0: 1 A1: 2 A2: 3 A3: 2 A4: 3 Result: 60 R...

yep
 
no
there's variants but np pure one
 
8:39 AM
? this is literally calculate the dot product
 
oh ok
checking for the scalar product now
 
Yeah, it's sometimes hard to find the exact dupe because the title and body don't indicate what it actually is
 
of the three questions that appeared none of them involve scalar multiplication
 
like, scalar times vector?
 
yeah
turns a vector and a scalar into a vector
 
8:45 AM
that is a bit on the trivial side
 
agreed
 
9:01 AM
@hyper-neutrino Vyxal has indenting. Jyxal doesn't need to, because Javascript do be cool.
@Bubbler The polylinks one looks good.
The other one, you should probably ask someone else.
 
9:16 AM
anyone know the dot product o a 2D vector
 
What is a 2D vector?
 
[[1, 2, 3][2, 1, 3][2, 2, 1]] for example
 
That's definitely a matrix
 
I just realised what I did - oops
 
Yes. In JS that returns [undefined], and it would've been an excellent trick for when it was still on-topic.
 
9:18 AM
I can't find the relevant meta-post:
 
Actually dot product is mathematically defined for matrices, but an easier extension is simply matrix product
 
When doing I/O as a function taking input and returning something, does the function declaration count towards the byte count? Or is it just the function body?
Eg.
def f(a, b):
   return a+b
 
Yes that counts
 
function declaration counts
 
Alright, thanks!
 
9:20 AM
if it's an anonymous function, assigning it to a name doesn't count
 
But with f=lambda a,b:a+b you don't need to count the f=.
 
^
 
ninjad
 
That I saw, thanks!
Unfortunately, this is a multi-line so I can't lambda it
Darn Python
 
you may still be able to depending on the complexity and what it does
 
9:21 AM
iTs FoR rEaDaBiLiTy
they said...
we're restricting you for your own good, they said
 
Apparently New Posts is offline again...
 
Do I look like a Java coder to you, Sir Guido Python?
 
@NewPosts Status
 
You can do that?
@AviFS public static main(string[] argh)
 
Apparently not
> argh
 
9:23 AM
Yes
Lyxal said that before
But I can't remember when
 
i am back
@Bubbler NewPosts will only work for redwolf
 
RRRREEEEEEDDDWOOOOOOOOOOOLLLFFFFFF!!!!!!11!1111!111!!111111!1!11
 
@RedwolfPrograms ^^^^^^^^^
 
CMC: Make a RRREEEDDWOOLLLFF!1!11! generator
 
I forogot what did RRREEE.... do
 
9:25 AM
VTC as unclear
0
A: Sandbox for Proposed Challenges

BubblerNP-complete reduction: grid-Hamiltonian circuit code-golf open-ended-function graph-theory restricted-complexity Background Hamiltonian circuit problem is a decision problem which asks whether a given graph has a Hamiltonian circuit, i.e. a cycle that visits every vertex exactly once. This proble...

I guess this is a beyond-insane problem
 
I saw that. Don't ask me how to do it.
 
One more Python golfing question, never done this before!
Can you return a generator?
 
@Ausername how do you do it
 
You tell me
 
idk
 
9:30 AM
@AviFS Yes
 
For instance, if you had to return [1..10], and couldn't use a list comprehension, for i in range(10): yield i is one byte shorter than for i in range(10): print(i)
@Bubbler Ah thanks, couldn't find that!
 
@AviFS but again, just use [i for i in range(10)] or even list(range(10))
 
@AviFS In that case, yield from range(10) is shorter I think
 
@Bubbler range(10) is even shorter :p
And generators are allowed, hehe
 
@AviFS that returns a range, and NOT a list
 
9:34 AM
that is, if you really need yield
 
@StackMeter or even just range(10)
 
@Bubbler see above
 
range is a generator object, which is allowed
 
@StackMeter But a range object is a generator
And Bubbler pointed out that generators are allowed
You can convert it to a list in the footer to see the output
 
Or you can for x in f(something): ...
 
9:36 AM
But that doesn't count as part of the required body/byte-count
 
Correct
 
This is neat! I golfed 6 bytes off this already great and very clever answer. First time golfing Python. Thanks for all your help, guys: codegolf.stackexchange.com/a/229898/87594
 
@RecursiveCo. Nice! Just can you make it so you can get something like !11!!11!11!!!!111!?
 
Okay.
 
9:38 AM
@AviFS you can't use yield there bc it's a full program not a function
 
Ah no, but I changed it to be a function
You can see in the TIO link
The function-conversion alone saves 3 bytes, because of this: map(int,input())
You can just change that to x if you put def f(x): at top, and take a list rather than string as input
He put:
v = [0,-1]
for i in map(int, input()):v[i]+=2;print(v[i])
I'm suggesting:
def f(x):
	v = [2,1]
	for i in x:yield v[i];v[i]+=2
@rak1507
 
oh, right, got it
 
0
A: Sandbox for Proposed Challenges

A usernameDrop some boxes Say I have a pile of boxes: AAA BBB I can create it in two steps: BBB ↓ AAA ↓ BBB But with this: AB BA I need three steps: A ↓ BB ↓ A A ↓ B BA Your challenge Given a pile of boxes, output the minimum number of steps needed to create that pile. A step consists o...

 
Visited the sandbox just in time to see you post.
 
9:44 AM
is there a reason you've not removed spaces around v = [2,1]
 
I'm just being substitute NSP.
 
@rak1507 haha, omg. thanks!
 
Any feedback? It's a hard challenge for y'all to enjoy:
0
A: Sandbox for Proposed Challenges

Recursive Co.Jump trajectory code-golf ascii-art string This is an ascii-art challenge where you will draw ascii-art showing a person "jumping" off the top of a building. The building Input given will be a group of rectangular buildings. You may assume buildings are not "stacked on top of each other", hence...

 
I'll suggest that, too
 
@RecursiveCo. cool challenge
 
9:45 AM
@RecursiveCo. Nice challenge
 
Any thing missing?
I'll just leave it for 3 days before posting
My last challenge "conic sections" was a flop with nobody answering and low viewership
 
that was probably due to the complexity, this one is simpler to understand but still difficult to golf
which is good
 
Thanks, I agree that it looks easy yet is terrifyingly difficult, as ascii-art challenges usually are
 
1
A: Sandbox for Proposed Challenges

A usernameA large number of stamps code-golf integer-partitionsarithmetic I have a large number of stamps of several different values. It's really annoying when I can't make a total exactly, so please write me some code to help me with this. Your challenge Your challenge is to make a function or program th...

Any feedback>
 
@RecursiveCo. Ooooh, I like it a lot!
 
9:50 AM
I was trawling through my old posts :p
 
> you may not use whitespace to denote the person
Foiled again!
 
@Ausername Interesting!
I like it
 
@Ausername I'm pretty sure it's a dupe...
 
@Bubbler Link?
 
@Ausername For this one:
 
9:52 AM
@Ausername Found it
 
AB
BA
You have this:
 A
 ↓


BB
 ↓
 A

 A
 ↓
 B
BA
Don't you mean:
   A
   ↓
   BB
    ↓
    A
 
Large number of stamps -> "duplicate"?
Just delete it then.
 
Wdym? I say what I mean and I mean what I say
@RecursiveCo. I can't, deletion limit
 
I was cleaning up
 
9:54 AM
And I said what I meant, too :p
Does the question make sense?
 
If that's really what you're looking for, then I don't understand where it came from
 
Which question?
 
@AviFS This one
 
@AviFS I see what you mean, but I like laying it out step-by-step.
 
9:55 AM
Oh my goodness, I so couldn't see thatt
Those were three different steps
No wonder
 
I'll make it look a bit niceer
 
In that case, your spacing is off for the last step
The A is landing on top of the second column
Rather than the first
@Ausername I really really like this a lot!
 
Fixed
@AviFS Well it'll come out in a few days.
 
Any reason "the input will always be a solid block?"
 
Means you don't have to parse spaces/ empty values
 
9:59 AM
Ahh, good point!
Wouldn't have occurred to me
Wait no, that's not a good reason
 
@Ausername I think you should include that line in the post
 

« first day (3792 days earlier)      last day (1048 days later) »