« first day (3498 days earlier)      last day (1332 days later) » 

2:29 AM
@Razetime Indexing is @ (0-based). So ["Hello""World"]@1 gives you "World". Same thing for indexing into strings/numbers: "World"@1 gives you "o".
Indexing is cyclical, which means "abc"@5 == "abc"@2 == "abc"@-1 == "c". Unary @ gives the first element: @"abc" == "a".
There's an alternate form which uses function-call syntax: ("abc"1) gives "b". It's useful sometimes when there are precedence issues. @ is very high-precedence: x@i+1 parses as (x@i)+1, not x@(i+1). So instead of x@(i+1), you could write (xi+1) and save a byte.
 
2:51 AM
greito
 
I should copy all that and put it on the wiki somewhere, shouldn't I?
 
yes, I don't remember reading about arrays anywhere
With your permission, I could turn the docs into a github pages site.
probably should be put in commands
 
@Razetime Sounds reasonable. Do you think they would be more accessible that way? And would it require more steps when I update stuff?
 
Github pages uses jekyll and markdown
you just define a layout and then add on pages however you like
basically you can just copy paste your markdown files there and it'd work
then more things can be added, like fuzzy search and other things
IT would be about the same for updates
 
Hm, okay. One more step, but not too much.
Do you want to put something together and submit a pull request?
 
3:13 AM
0
Q: Reviving Language of the Month: Pick up where we left off, or start over?

DLoscLanguage of the Month was fun. Then it died. Now there's interest in bringing it back! I had assumed that we would just go back to the original nominations thread and pick the top-voted answer as LotM for September (which would be R, unless the voting changes significantly in the next few days). ...

 
Sure, I'll make a simple gh-pages website with the existing docs.
 
Thanks! :D
 
I've been using Wiki.js for writing the Funky2 Docs, but that requires hosting a dedi.
 
If you add a gh-pages branch, then you can merge my stuff into it.
 
But, it is very pretty.
 
3:14 AM
Wiki.js is really powerful
 
you think this will work well?
nevermind
github.com/pmarsceill/just-the-docs @DLosc this one look good?
jekyllthemes.io/theme/carte I think this one is what Pyth uses
 
@Razetime Way fancier than what I have now. So yes. ;)
@ATaco That IS pretty!
 
Hard part is writing all these pages ;-;
 
Tell me about it. What you said before about docs is so true.
With Pip, I've got the basic docs in a state where I just have to add a line to a couple files whenever I add a new operator. But then, emphasis on "basic."
 
3:26 AM
Would've been easier if I documented as I went. Thus is the crime of the lazy documenter.
 
I bet most programmers are that way. Larry Wall says laziness is one of the programmer's main virtues, after all. :P
I don't hate writing documentation, it's just time-consuming. Which always leads to the question: Do I want to spend my time improving docs, or adding more features?
The features usually win.
 
Writing docs usually leads me to writing new features.
Because it forces me to confront my design decisions.
 
Haha
Is Funky 2 stable, in the sense that your changes are mostly additions? Or are you still making backward-compatibility-breaking changes?
 
coolll
 
I've got to sign off for the night. See ya!
 
3:39 AM
@DLosc I'm avoiding breaking changes where possible, but I can't promise non-best-practice methods will remain stable.
 
see ya
 
Also Ciao
 
4:25 AM
how would one score this visual language?
 
4:58 AM
@u-ndefined Can you save the programs? If so, use the length of the saved file.
 
@ATaco That scoring system would kill redstone circuits
 
That's because we have an accepted community standard for redstone circuits.
When in doubt; filesize.
 
-2
Q: What is the underlying undirected graph of this directed graph?

user97970 I am trying to figure out how to find the underlying undirected graph of this directed graph. I have got a solution. I couldn't understand why 'D' node doesn't have loop in the solution. Also why 'E' node has a loop? Could you please help me understand the whole underlying undirected graph of t...

 
5:52 AM
@ATaco I think counting the number of script blocks and wires would be better (I'm not sure if I'm able to see the filesize since the visual language is on mobile)
 
6:15 AM
Definitely could be a valid alternative. So long as there are less than 256 Blocks ⋃ Wires
 
6:31 AM
Working on a Space Cleaner 1+ solution
It will be my first self-answer
 
Aint nothin wrong with self-answers
 
@ATaco But there's difficulity
 
Hmm?
 
I doubt I can answer (let alone a golfed one) the majority of my challenges like this one
 
What language is this?
 
6:37 AM
@ATaco very funny
2 days ago, by HighlyRadioactive
 
Oh, lmao my b
If you've no way to handle strings; then string based challenges are just out of reach.
As for golfing; you just need to have an answer that's as good as you can do, compete across language classes, not every language.
 
@ATaco Not really. Think of the brainfuck solutions everywhere...
 
Brainfuck is a golden goose.
But even it's programs get prohibitively long.
 
I once said 1+ is a very easy language, easier than BF
it is obviously not when I try to use it in actual challenges
(I mean: those non-catalog ones)
 
Ease of use is a strange thing.
 
6:43 AM
@DLosc Here's the pip docs site I pieces together: razetime.github.io/pip
 
HQ9+ is without a doubt exceptionally easy to use.
However; it is so restricted in scope, it is impossible to use for most challenges.
 
@ATaco You spelled it wrong.
@ATaco Which implies it is impossible to use. Impossible is harder than hard.
 
It is still easy to use.
It's just not easy to use... to solve X challenge
A toy truck is easy to use; yet when trying to use it like a screwdriver; it suddenly becomes much harder to use it.
3
 
Ok you won
 
1+ is easy to use.
 
6:46 AM
how
I challenge you to solve C4_4 Reflection! in it
 
I maintain; Easy to use. Just not so easy to use for certain tasks.
I wonder if it's even turing complete.
 
@ATaco Did you even see the esolangs page?
 
I did.
Ah; Boolfuck is implementable.
 
7:21 AM
Hi I'm back
Distracted by some games sorry
 
welcome back
 
lololol
 
8:15 AM
-4
Q: What is the underlying undirected graph of this directed graph?

user97970 I am trying to figure out how to find the underlying undirected graph of this directed graph. I have got a solution. I couldn't understand why 'D' node doesn't have loop in the solution. Also why 'E' node has a loop? Could you please help me understand the whole underlying undirected graph of t...

Can we please be a little bit more friendly?
Lead them to CS
Not leave a couple of downvotes for no reason
 
@HighlyRadioactive Not Maths?
 
Downvotes are not unfriendly, and they are justified.
I'm not sure CS would appreciate it either, since it's, IIUC, about an error in an unspecified textbook
 
8:31 AM
@HighlyRadioactive I have a solution to this problem:
You do the following:
- First go to the menu, click on it, go to options -> downvote -> add downvote -> choose down arrow
- You do the same thing with any new challenge.
@HighlyRadioactive And I do not see an issue with a little bit of hostility to start with, considering it's about one tiny mistake. My point is that it gets escalated to a point where it is justifiable.
 
 
1 hour later…
10:00 AM
0
A: Sandbox for Proposed Challenges

Kevin CruijssenAll Potential Keys That'll Fit The Lock codegolfnumberinteger Introduction: You're a key maker, and want to access something from a safe that has a lock. Unfortunately, the key to that lock is lost, so you'll have to make a new one. You have access to a bunch of blank keys, to which you can add n...

 
 
2 hours later…
11:53 AM
0
Q: Using Context-Free Grammar To Parse Options Spread Order Strings?

MolecoolI need to create a tool that reads in an options spread order in string format and spits it out in human readable format. Examples: Input: BUY +6 VERTICAL LUV 100 (Weeklys) 28 AUG 20 37.5/36.5 PUT @.49 LMT Output: VERTICAL BUY +6 LUV 28 AUG 20 (Weeklys) 37.5 PUT SELL -6 LUV 28 AUG 20 (Weeklys) 3...

 
 
2 hours later…
1:45 PM
-2
Q: Apple Watch Series 4

Alexa Jolyhttps://www.watchcookie.com/blog/apple-watch-series-4-review series 4 vs series 5 apple watch what happened to apple watch series 4 what happened to the apple watch series 4 Apple Watch Series 4

Most off-topic question ever!!
what happened to OP what happened to OP what happened to OP what happened to OP what happened to OP
 
yeah I flagged it as spam and Community processed it (I don't know whether my gold badge gives me a flag hammer or I just got lucky)
 
@HighlyRadioactive Not a question, though, just spam.
 
2:58 PM
Heck. The font size of the section headers has just been significantly increased. :-/
Not that I really dislike that, actually, but it's going to put headers with many crossed out scores on 2 lines.
(Also I find it weird that level-1 headers are now bigger than the question title...)
 
3:44 PM
I do dislike that :-( I'll get used, I guess
Is this change documented anywhere?
There's also a lot more inter-line spacing
Also in StackOverflow
So it must be general
76
Q: New post formatting

Aaron ShekeyUpdate, this is now live We’re doing a bit of refactoring on our post formatting. Currently, we apply a single class with both layout and styling called .post-text. Our first goal is to separate layout from our text styles. Simple enough! However, our current post styling has a few missing spots ...

Ugh. How ugly
3
 
 
2 hours later…
5:19 PM
@Arnauld Looks like code blocks also have more spacing between lines as well
 
Yup!
 
 
3 hours later…
8:15 PM
0
Q: Golf a Golfing Language

BeefsterDesign a language and golf its interpreter so that it solves the following programming challenges in as few bytes as possible: Hello World cat Fizz Buzz List the first \$n\$ primes Fibonacci Sequence Sort a numerical list Balanced parentheses/brackets/braces test Rule 110 (as a proof of Turing c...

 
8:42 PM
Hello!
Consider a geometric random variable X with parameters n and 1/2? If X=2, say, then there is some value of n that makes that most likely.
CMC Compute that value of n
Take a value of X as the input
Or just 2 to warm up :)
By geometric distribution I mean the second definition from en.m.wikipedia.org/wiki/Geometric_distribution
 
 
3 hours later…
11:44 PM
0
A: Sandbox for Proposed Challenges

Ilya GazmanThe fastest code to find a subset-sum Given k sorted integers from low to high, output n permutations of those integers with sum as close as possible to m but not exceeding m. The output needs to be sorted from highest to lowest sum. Input k integers, n, m - as described above. All the k integers...

 

« first day (3498 days earlier)      last day (1332 days later) »