« first day (2601 days earlier)      last day (2243 days later) » 
00:00 - 18:0018:00 - 00:00

12:00 AM
That'll work, I think: tested with -
 
@EriktheOutgolfer Why? (Other than you may want ⍪⍀ for higher-rank arrays.)
 
12:32 AM
I have the potential row/column generating function of my solver... but I realized I made a horrible looking dfn ... >_<
 
@Zacharý Sometimes it better to go with a tradfn.
 
I'm going to rewrite it as a tradfn, because this: {0<T/⍨{(∊⍳¨W)≡⍵~0}¨T←(+×⊢){⍺⍺⍨/∘⌽¨⍪\⍵}¨{1@⍵⊢A⍴0}¨S/⍨{∧/(⍵>A)⍱1>⍵}¨S←∪¨∊¨(1-⍨⍳¨⍵‌​)∘+¨S/⍨</¨S←⊃{,⍺∘.,⍵}/(≢W←⍵)/⊂⍳A←⍺} is NOT good coding style.
 
oof
 
^, exactly
 
I'm a scrub so I define tradfns for everything with more than 2 bytes
 
12:37 AM
@Zacharý Wait a minute, it doesn't look so bad, you just need to ungolf it: Insert a line break at all inline assignments, and avoid parens by using assignments for sub-expressions and functions.
 
I think I have written about 2 tradfns
 
^ other than the student competition, that's exactly the same as me.
One in GNU APL, the other in Dyalog (a failed attempt at what I'm doing now)
 
Maybe we should do one or more in-depth lessons on coding style? Maybe one for tradfns, one for dfns, and one for tacit fns?
 
Wait a minute ... there's STYLE for tacit fns?!!
I'll think I'll write it in a tradfn, as I'm going to be doing stuff after the generation function...
 
@Zacharý Another thing you need to do is use descriptive variable and function names. And maybe add some comments. I couldn't at a glance find good names for everything, but here's a start:
 f←{
     A←⍺
     W←⍵
     Wlen←≢W
     AllPairs←,∘.,
     AllCombos←⊃AllPairs/
     S←AllCombos Wlen/⊂⍳A
     inds←1-⍨⍳¨⍵
     AllInds←{∪∊inds+⍵}
     S2←AllInds¨S/⍨</¨S
     InRange←{∧/(⍵>A)⍱1>⍵}
     S3←S2/⍨InRange¨S2
     Put1s←{1@⍵⊢A⍴0}
     BackScan←{⍺⍺⍨/∘⌽¨⍪\⍵}
     T←(+×⊢)BackScan∘Put1s¨S3
     No0s←{(∊⍳¨W)≡⍵~0}
     0<T/⍨No0s¨T
 }
@Zacharý John Scholes (the dfn guy) is a big proponent of "denotative programming". He says that you can get better code just by reading as "denotes". This way you'll have to use meaningful names, and you can't reuse names.
@Zacharý Sure. And with version 17.0 you'll get some tools that make hard-core tacit programming much easier.
 
12:52 AM
What? I can't think of anything like that off of the top of my head, guess I'll wait till v17.0... when is that planned to be released? Or is there not a firm deadline?
 
@Zacharý Not a firm deadline, but we're aiming for end of Q2. Code freeze is in about a month. Then we'll start the beta programme and focus on documentation and bug-fixing.
 
Woah: I'm gonna be aging about the same time (give or take a month or two) as Dyalog's version numbers... :)
 
@Zacharý I plan to be using it in next week's webinar. It isn't the subject, but you can still see it in action if you pay attention.
 
Will the webinar be recorded?
 
@Zacharý Of course. Like always.
 
12:57 AM
Good...
 
@Adám Open beta or closed beta?
 
@Pavel Closed. Mainly for paying customers to see if their existing systems will run on the new version, and maybe to compare speed too. We're expecting some pretty significant speed-ups. E.g. today, Marshall implemented an idea of mine that makes monadic ⎕UCS 10–50 times faster.
 
Aww. Where does that put TIO?
 
Don't push it... TIO got the license for free, IIRC.
 
@Pavel TIO should probably wait for a stable release, since it doesn't have the functionality to test existing code. If something is wrong, all affected TIO links will become non-functional with no alternative.
Speaking of which, I should probably begin formulating my challenge…
 
1:06 AM
@Adám The different versions are installed in different directories anyway iirc, so it would be easy to roll back
 
@Pavel I don't think so. When Dennis pulls a repo, the old version is gone (from the online TIO anyway), no?
 
Yeah, but he could just reinstall from the old rpm
 
@Pavel I'm not going to bother him with that. TIO can wait. TryAPL is still on 14.0! sigh.
 
D:
 
@Pavel It is almost ready for upgrading, there's just one tiny issue with launching APL processes on Linux. It all works under Windows.
 
1:14 AM
@Adám <drools at fastest-code tag>
 
Speaking of challenges, I might make a few related to <insert-preferred-name-of-puzzle-i-am-in-the-process-of-solving> ( :p ).
 
@Zacharý Minesweeper! Chess! Tetris! Checkers! Elite:Dangerous! Factorio! :P
 
Meant puzzle, sorry
Solve Chess? Are you high?!
 
Clone KSP /s
 
What is KSP?
 
1:19 AM
kerbal space program
 
ah... still don't get the joke
 
@Zacharý I prefer "optimistic" to "high"
 
@Οurous So ... HIGHly optimistic then?
 
@Zacharý KSP is a complex physics heavy game with a lot of data and GUI.
 
Ah.
Can tradfns modify their arguments (I don't think so, just checking)?
 
1:23 AM
@Zacharý Yes, for sure:
 
@Adám Bash, cp -R ksp ksp2
 
num←Double num
num×←2
 
Ah ... I'll just store it in a temporary variable for the sake of then.
 
@Zacharý Tradfns have quite a few tricks that dfns just can't do.
 
Returning a function is one of them, right?
 
1:29 AM
@Zacharý Yes, but also be niladic or strictly monadic or dyadic, put restrictions on their right argument, dynamically shadow names, use user defined functions for modified assignments, use multi-condition control structures, handle concurrency with tokens (semaphores),…
 
I would think using user defined functions for modified assignments would work in a dfn...
 
@Zacharý It won't, because dfns auto-shadow any names to the left of a .
 
Ah
 
@Zacharý You can use inline dfns and tacit fns in modified assignments, but if you try to give them a name first, it won't work anymore.
@Zacharý Actually, I just now found an ugly hack to do it in a dfn.
 
^ what is it
 
1:42 AM
@Zacharý {num←⍵ ⋄ f←× ⋄ num (⍎'f')←2 ⋄ num}
 
Doesn't look TOO bad...
 
0
Q: Displaying Tweets

Bagas SanjayaThis challenge is about displaying user's tweets. Write two versions of program that prompts user to input tweet, the format and display it. (one with 140 characters long limit and one with 280 characters long limit) Rules: Formatting: 1. If there's any usernames (beginning with @ character) ...

 
@Adám Your comment may be considered hostile based on how it's worded, but I agree with you.
 
@ATaco Thanks, I wanted to comment quickly. Better now?
 
ngn
@Adám also: num f∘⊢←2
 
1:51 AM
@ngn Ah, right. Nice. That's acceptable (as opposed to the hack.)
 
@ngn that actually looks good (as in not an "ugly hack")
 
Works a lot better.
 
@ngn also: (⊢f)←2
 
Hmm I wonder if Zachlike questions would be on-topic here
 
@ASCII-only Zachlike?
 
2:03 AM
@ASCII-only ?
 
2:14 AM
Can you please explain?
 
@Adám e.g. Shenzhen I/O, TIS-100, Silicon Zeroes
They're kinda like visual programming languages
 
@ASCII-only That did not clarify anything for me. Sorry. I'm probably just dumb.
 
@Adám They're games made (mostly) by Zachtronics
 
Broccoli update! after lots of work, the interpreter can now fully interpret a basic test program! all that's left to do is implement the rest of the builtin functions originally described by the original author. I am looking for some people to help with this, so if you know any C# and are interested in helping, please join the PPCG Podcast Discord server (discord.gg/9n4dAzH). more details there. thanks!
 
@NickClifford :/
 
2:24 AM
@ASCII-only Ah, now I get it. Those games have you write "programs" that need to be as short as possible. You're wondering if they count sufficiently as programming languages such that tips for golfing in them are on-topic, right?
@NickClifford Is Broccoli a Lisp variant?
 
@Adám it's a hellish combination of functional and imperative programming styles that happens to look like Lisp.
DJ can attest to that
 
@NickClifford hmm I should install VS first right
 
@ASCII-only assuming you're on windows, yeah
 
@NickClifford So ... lisp + APL? (With the functional + imperative, at least)
 
time to use up a lot of my uni internet quota
 
2:29 AM
 
@Zacharý moreso lisp than anything. hold on, let me find a larger example program
here's a primality tester written by DJ after we discovered Broccoli on the first episode of the PPCG podcast
(fn p ($a)
    (:= $d 0)
    (for $i in (range 2 $a)
        (if (= $a (* $i (int (/ $a $i))))
            (:= $d (+ $d 1))
        )
    )
    (= $d 1)
)
(map p (range 1 20))
much better
 
... no wonder this is called Broccoli: some people might love it, while others just want to vomit.
5
 
here's a quote from the original README
> Broccoli is an exciting new programming language that is guaranteed to make you pee your
pants (in a good way).
 
... burn it with fire
 
TIO when?
 
2:38 AM
When it's finished probably?
 
@Pavel we actually tried to get the original Windows executable on TIO, but Dennis couldn't get Wine working
 
@NickClifford Didn't you just say the C# version works now
 
@flawr Wouldn't it be 528,000 centipedes in a mile?
 
the test program works. it's not up to spec yet though
 
@NickClifford Well that's fine, it can always be pulled as more stuff gets added
 
2:42 AM
true, true
 
(I'd ask Dennis myself but I forgot how to HW)
 
I'd wait
hopefully it will be more complete by the end of today
hopefully
 
ayy
that's the spirit
 
2:55 AM
@Pavel What does "HW" mean in this context?
 
hello world
 
Ah
Take "not up to spec yet" w/ a grain (or a mountaint) of salt. the test program could be the most basic thing ever.
 
 
1 hour later…
4:21 AM
is it just me or do other people here type '1' in the print dialogue expecting it to print the second page?
 
@Downgoat ?!
 
@Zacharý @NickClifford The best way I can think to describe it is if you had lisp but didn't allow functions to be first class citizens
 
@DJMcMayhem ... sounds APL-ish
 
I know very little APL, but from what I do know, it's about as far away from APL as you can get
 
The only thing that makes it similar is its non-functional functionalness
 
4:28 AM
It's an imperitive language, that happens to look like a Lisp (but really isn't like normal Lisps), with some functional builtins
Like how python has map and filter but you wouldn't call it functional
 
Or its non-imperative imperativeness
 
@ASCII-only whats our slice syntax
and should slice return a new array or a ref to a subsection?
 
4:57 AM
@Downgoat I'd think a new array if they behave like by-value lists, or a ref to a subsection if they're like C pointer arrays
 
@Οurous they are more like a Java List than a C-array
 
@Downgoat If they're like Java ArrayLists then a slice should return a new array.
If they're like Java arrays, you shouldn't ever be able to ref into the middle of one
 
Just popping in to say rest in peace Stephen Hawking :/
 
yeah I'm really bummed out
 
@Downgoat :/ did we have one
@Downgoat I'd say Python's isn't a bad idea in this case
 
5:05 AM
@Calvin'sHobbies :( Stephen hawking had this sort of bad-ass physics vibe to me that I can't really explain. I still don't understand any bit of M-theory but sad day to see a great scientist go. :(
7
@ASCII-only idk
 
5:32 AM
anyone know what to call a function that takes non-evaluated arguments?
like if if was a function
 
@ASCII-only macro
 
@ASCII-only Normal, if you're using Haskell.
Otherwise, probably control-flow macro.
 
5:56 AM
btw @ASCII-only idk if I said but lazy vars work now :DDDD
; ModuleID = 'main'
source_filename = "main"
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"

%0 = type { i32, void ()*, i8* }

@"x.$307.value" = private global <{ i1, i32 }> zeroinitializer
@0 = private unnamed_addr constant [10 x i8] c"got int32\00"
@llvm.global_ctors = appending global [1 x %0] zeroinitializer

define internal i32 @"x.$307"() {
entry:
  %0 = load i1, i1* getelementptr inbounds (<{ i1, i32 }>, <{ i1, i32 }>* @"x.$307.value", i32 0, i32 0)
  %1 = icmp eq i1 %0, false
is what you get for:
lazy let x: Int = 1

func main() {
    print(x)
}
not sure how to reduce it to 1 load
but it should hit CPU cache pretty well
additionally branch weights should be correct so branch prediction should be on our side
@Pavel This will throw a syntax error in VSL beacuse anyone who does that does not deserve working code
 
codegolf.stackexchange.com/questions/158060/which-card-is-it is it okay to tag this as kolmogorov complexity?
 
0
Q: Which Card is it?

Manish KunduIntroduction Long ago, when I used to code card games with usual playing cards, I used to specify a number for each card and call a function with some number to get a card. This somewhat inspired me to make this challenge. So for people unaware of the playing cards, a deck of cards consist of ...

 
6:12 AM
@ManishKundu this is very cheesy, but choosing any start number could let the golfer encode their program in the lows bit of every input
 
so just 1 and 0 as the start number should be done?
 
i think so, I don't see anything interesting people could do with other values that isn't an exploit
 
alright.
 
6:58 AM
-1
Q: Print all the positive non-zero integer n-tuples that solve an inequality within a bound

two black lines in the middleSuppose I have a linear inequality like x_0A_0+x_1A_1+...+x_nA_n <= C With x_i a non-zero positive integer and A_i & C a positive non-zero multiple of 0.01. Find all the positive integer n-tuples {x_i,...,x_n},{y_i,...,y_n},...,{z_i,...,z_n} such that: D <= x_0A_0+x_1A_1+...+x_nA_n <= C Where...

 
 
2 hours later…
8:31 AM
Why are the (mod) diamonds red for me?
 
Your font?
 
8:51 AM
@user202729 ?
 
Anyome know of a keyboard on android that can type all Jelly characters?
 
9:35 AM
probably not. maybe create a challenge asking people to make one :P
 
9:51 AM
@user202729 American
i.e. English (US)
 
 
3 hours later…
12:34 PM
@Adám who's to say that the array only contains simple scalars?
 
@EriktheOutgolfer Should still work. Counterexample?
 
@Adám (1 2 3)(4 5 6), while (⍳∘≢↑¨⊂)∘⍉ returns correctly, ,\ doesn't
 
@EriktheOutgolfer Currently learning a few greek words: the pronounciation of the letters is a mess!
why the hell does μπ make a /b/ sound?!
 
well, it might be that people being bored mispronounced it and it eventually became standard :P
 
@Fatalize 0.000003141592654
 
12:40 PM
also why is there ten billion different spellings for the sound /i/?
@Adám π_π
 
@Adám that...isn't exactly how μ works
 
@Fatalize ...says the French guy ;)
 
also why did they chose "yes" to start with a /n/ and "no" to start with a /o/, there's no way I'm not gonna confuse the two at least once
 
^^ exactly that, even English is messier than Greek!
 
@MartinEnder …says the German guy ;)
 
12:43 PM
uh, I don't think that's the kind of reply that can be chained like that
 
@EriktheOutgolfer But Danish is the messiest of them all!
 
German pronnounciation with regards to spelling is easy as hell
 
@Fatalize η ι υ ει οι υι, but some of them are actually supposed to be /i:/
(even though that was left far behind when Ancient Greek was replaced by Koine Greek)
 
E.g. in Danish, the vowel "u" has 20 official pronunciations — and that's just when it isn't affected by neighbouring letters.
 
@EriktheOutgolfer Can you get by in English in Athens?
 
12:47 PM
@Fatalize I did OK there for three days doing tourist-y things (I was on a study abroad trip)
 
on tourist areas, pretty much yes, but on more local areas I'm afraid...
(unfortunately, the tourist areas are the expensive areas)
 
I'm only here for a conference near the center of Athens, so I guess I should be ok
I hope they speak English at MacDonald's so that I actually survive
 
basically it's older people who mostly have issues with English
you mean at Syntagma square? I'm pretty sure you won't have any problem there
 
Close to it
Closer to the byzantine museum and war museum
 
yeah I know what you mean, although <100m is way closer than just "close" :P
 
1:00 PM
@Fatalize Greek food is delicious though, you should try some.
 
@J.Sallé I hate eating and food in general, I only eat to survive
8
 
Fair enough
 
@Fatalize and yet you choose McDonalds...
 
maybe since he's used to it
 
@NieDzejkob Well yes, because it's easy to eat
and I know that the one in Greece will be roughly the same as the one I'm used to
 
1:03 PM
if you eat to survive, eating at McDonalds is a bit... counterproductive
 
although if you don't try pork gyros souvlaki with tzatziki you are committing a crime :P
 
to survive on a short time-scale
 
@EriktheOutgolfer tzatziki is the yogurt sauce isn't it?
 
well, basically yes, but in fact it tastes very different
 
@EriktheOutgolfer yeah I've had it once at a friend's restaurant. Tastes good with those bbq'd skewers
 
1:15 PM
lol in Greece that's kalamaki, not skewers :P
 
Hahahah I'm pretty sure there are correct names for everything, I just don't know them. The eating part is what I'm really good at :p
 
no, kalamaki isn't skewers
it's literally a wooden stick, pointy on one end
 
@EriktheOutgolfer So basically skewer sticks
 
yeah, the sticks, not the metallic ones
 
what is this heresy
people use metallic skewers :O
 
1:28 PM
uh
 
Aren't wooden skewers also called skewers though? The name is the same in Portuguese >.>
 
well, yes, but metal skewers aren't called kalamaki
 
Ah, I get it now. Translation issues
 
ngn
2:04 PM
@Fatalize because "b" is a voiced bilabial stop - "m" gives the voicing and "p" gives the stop, if you try to pronounce them simultaneously :)
 
1 hour ago, by Erik the Outgolfer
well, it might be that people being bored mispronounced it and it eventually became standard :P
 
So only 3 uncracked entries in cops vs robbers challenge?
btw how do you write hyperlinks in comments?
 
@ManishKundu [text](url) -> text
 
3:10 PM
Hey friends, any more feedback on this would be appreciated.
 
3:21 PM
@J.Sallé I'm afraid that any changes to the normal scoring system can be exploited, unless you're very careful.
(the "b and # counted as 1 bytes each" part)
 
Huh? Who's talking about Modern Greek?
 
@user202729 I see. I added that because I believe everyone would have to use, at least, the string version of flat and sharp to output it
Also, I've never seen a lang use them as code, but then again there are thousands of answers I haven't seen here :p
 
3:51 PM
Can anyone check if this is selfcontained enough?
(probably not, but do you have any suggestion to makeit better?)
 
I think I found my problem in my code for Jagony.
Whenever I call ".Chain", it references and calls upon something that isn't defined yet, namely " System.MainClass.DeclarePublicStaticMethod", so it defaults to the blank object... I have no idea how to fix this
 
ngn
@user202729 "(n-1)%(l-1)+1th link (1-indexing)" - 1-indexing is distracting and only forces you to add +1
 
4:09 PM
In APL, would changing the naming mechanism a bit to where only names beginning with a ... z ∆ are functions, and A ... Z ⍙ being operators make APL parseable? Or do monadic/dyadic operators have to be split up further?
 
> (n-1)%(l-1)+1th link (1-indexing)
shouldn't it be "n%lth link"?
 
ngn
@Zacharý to make apl parsable, you need to know the "kind" of every name in every scope: (a.) array / niladic function, (b.) monadic/dyadic function, (c.) monadic operator, (d.) dyadic operator
 
basic question but.. when you normalize an array to have unit length and mean zero
do you subtract the mean after you have made it unit length or before?
but I am not sure if that is right
or is it the same?
 
before
z = (x - mu_x)/sigma_x
 
ok so take v = [2,4]. We get [-1,1] and we divide both by 2^2 +4^2
that doesn't seem to have unit length
I mean divide both by sqrt(2^2 + 4^2)
 
4:21 PM
Sorry, I might have confused disciplines there >_<
 
we -1/sqrt(20), 1/sqrt(20)
but that isn't of unit length is it?
 
@ngn ...(e.) .NET object, (a.) array/niladic function/namespace/class
 
Subtract the mean, then divide by the range.
 
any help much appreciated
@Zacharý so what do you get for the vector [2,4]?
oh we divide by sqrt(1 + 1) ?
 
[2,4] => [-1,1] => [-1.1]/(1--1) => [-1,1]/2 => [-.5, .5]
 
4:25 PM
thanks
 
Range = Max - Min
 
Want to learn #APL? Join Adam tonight at 18:30 UTC for another Informal #APL learning session in The APL Orchard https://chat.stackexchange.com/rooms/52405/apl See https://chat.stackexchange.com/transcript/message/41299896 … … … if you don't have 20 Stack Exchange rep points
 
@ngn Is (n-1)%(l-1) th link (0-indexing) better?
@EriktheOutgolfer I believe what I wrote is correct. (exclude the main link)
 
@Adám Is your job basically just advertising and teaching APL?
 
@DJMcMayhem He's also a powerful wizard wielding the APL grimoire.
5
 
4:33 PM
@Calvin'sHobbies @Downgoat imgur.com/gallery/XIvFv
 
I prefer J. One language with SBCS is enough.
(Jelly)
 
@DJMcMayhem No, I mainly develop and maintain internal and external tools. I also provide customer support, and help develop the language.
@user202729 There would be no Jelly if not for APL.
 
Ah, OK. I assume you mean the parts of the language that are written in APL, rather than the C part?
 
@DJMcMayhem No, I mean coming up with ideas on how APL should be extended and made faster.
 
So like new atoms?
 
4:37 PM
@DJMcMayhem Yes. E.g. I came up with which was added last year.
@DJMcMayhem I also help my co-workers with APL. E.g. the CXO just now IM'ed me: "need help with APL :-(" "I'm feeling too stupid this afternoon"
 
Haha
 
@ConorO'Brien I have no idea what you were even talking about, but your chat message inspired me to create Dodos.
6
 
@Dennis I am truly terrified of this language
 
@Adám sounds like me in The APL Orchard. Totally relatable.
 
@Dennis wat
 
4:44 PM
@DJMcMayhem primitives :P
 
@DJMcMayhem There ought to be ways that are much golfier, but I wanted to implement decimal literals.
 
@EriktheOutgolfer Are you calling me primitive?
:P
 
ngn
@user202729 I don't speak Jelly. I'm trying to understand what this means. Is it really like that: (n-1)%(l-1) ? So you can't call the last "link"?
 
So what is this lang?
The readme isn't that clear
 
Docs are under construction. I'll try to get the basics up this evening. The main idea is that f(n) can call f(n-1), but if it tries to call f(n+1) there's an exception and n is returned unaltered.
 
ngn
4:46 PM
@EriktheOutgolfer dyalog's oop extensions are not apl, syntactically they and the schizos are a can of worms
 
There are three builtins: dab (remove first argument), dip (decrement the arguments if positive, increment if not), and dot (dot product with vector of 1's, aka sum).
 
@ngn that depends on what flavor Zacharý is talking about, for example if it's specific to Dyalog then those should be a part of it, but, in general, those are not supported
 
@ngn Yes. The las5 link can't be called thid way. (there are some examples ti hekp understandingz)
 
There is no control flow, there are no literals, Only function definitions. The function at the top (main) takes input and returns output.
 
@Dennis why is that language based on D
(it's evident because, well, dot)
 
4:49 PM
Because dodos.
 
@Dennis So it will always halt?
 
@EriktheOutgolfer Not worried about OOP.
@EriktheOutgolfer Huh?
 
@user202729 Yes. Loops can be arbitrarily large (at least in theory, there's no TCO yet), but since the set of possible inputs is well-ordered, they will be finite.
 
@Dennis I could have phrased the cmc better, but this language looks fantastic
 
@Dennis What's TCO?
 
4:52 PM
tail call optimization
 
0
A: Sandbox for Proposed Challenges

Oisín Morancode-golf Introduction Humans are a remarkable species, but we can be very awkward to understand sometimes—especially for computers. In particular, we seem to like writing polynomials in a very convoluted fashion with seemingly arbitrary rules. What is the shortest program you can write to f...

 
I'm talking about Dodos, not Jelly.
 
@ngn Wrong reply target.
No, l is the total number of links in the whole program, not number of links before the current.
 
ngn
@user202729 I am confused...
@user202729 so, again, it's impossible to call the last link then?
 
Yes, the main link cannot be called by these.
Ç, Ñ, et al. work though.
 
4:59 PM
But (1) it's the main link(TODO add this) and (2) as Dennis said above.
 
ngn
ok, I think I got it
so in the jelly language itself link numbering is 1-based
 
All indexing in Jelly is 1-based.
 
ngn
@Dennis ugh...
@Dennis I thought it was based on J and "[]IO delenda est" long ago...
 
Chat is freaking out on me
 
Time travel?
 
5:08 PM
I guess
 
Is your computer's clock set correctly?
 
Does that mean the apocalypse happened? That's the only reason I can think of TNB being quite for 11 hours
@NieDzejkob Oooooh, no it isn't. My clock didn't correctly update for time zone (no idea why), so I set it manually, but for some reason it went to 11 PM instead of 11 AM
 
ngn
@DJMcMayhem someone has implemented "hours ago" as (x-1)%12+1 :)
 
Sorry, s/time zone/daylight savings
 
@DJMcMayhem for some reason, on my PC, Discord's clock is exactly 2 minutes ahead of mine. So when my clock is at 23:58, messages are shown as being sent "Tomorrow 00:00"
 
5:11 PM
for challenges involving randomness, is it alright to take a seed as input? I couldn't find a meta concerning this, tho I might be just incapable of searching :P
 
@ConorO'Brien This sorta came up with one of pavel's recent answers, but there's no official answer on it as far as I know
I think it would be worth a meta post. I'd be happy to write it up if you don't want to
 
I can write it up
 
Points to hit on: 1) Can PRNG be unseeded? 2) Can "random == user input"? 3) Can "seed == user input"? 4) Can "Random == time"?
 
@DJMcMayhem can you edit CTO to CXO? I feel bad to speak about the wrong person.
 
Done. (I know it's done because I essentially just pinged myself)
@ConorO'Brien Example of #2
 
5:16 PM
@DJMcMayhem Thanks.
 
@DJMcMayhem thanks, these are good points, I'll make sure to find examples of each
 
@ConorO'Brien And Example of #1
I can't think of any for #3 or #4
 
I know a few for #4
@DJMcMayhem I am slowly realizing that I may not have sufficient time to make a thoughtful post. I have some progress here, do you mind picking up on it/rewriting it?
 
Sure. Are the first two links supposed to be the same?
 
oh probably not no lol
 
ngn
5:23 PM
@Adám if a C-whatever-O says "i need help" or "can i show you something?" - run away, most likely your code isn't working :)
 
@DJMcMayhem I think a persuasive point to make would be C's srand boilerplat and languages like BF which can implement PNRGs but not time
 
OK, I'll make sure to mention those. I was already thinking about brain-flak for one
 
@ngn Nope, he needed help with how to use a new primitive. Also, it is usually me who goes to C?Os to "show something".
 
@Adám ⍤ new primitive!
 
@J.Sallé New in 16.0: @
 
5:37 PM
My font renders rank weird in non-monospace environments...
 
@Zacharý How does it look?
 
CMC: 426880√100005/13591409 (first term of the Chudnovsky algorithm for calculating pi)
 
○ yeah, happy pi day!
The ¨ is raised up a bit too high, it is the same high as if it were ¨.
*height
 
@ConorO'Brien Any links to #3 or #4?
 
CMC2: for input i, calculate 426880√10005 / Σₙ₌₀ⁱ (6n)!(545140134n+13591409)/(3n)!(n!)³(-262537412640768000)ⁿ
 
5:41 PM
CMC: Given a matrix where the second column has only 1s and 2s, replace 1s with "dir" and 2s with "file". E.g. [["Prog",1,"Hello"],["Probs",2,"World"],["CG",1,"!"]][["Prog","dir","Hello"],["Probs","file","World"],["CG","dir","!"]]
 
@betseg shouldn't there be one less 0 in the root?
 
@Adám ah, and here I was getting all excited for new primitives D:
 
@dzaima yep. too late to edit now.
 
@Zacharý Screenshot?
@J.Sallé None in 17.0, sorry. Hopefully in 18.0, together with even more exciting stuff.
 
5:43 PM
@betseg SOGL, 15 bytes
 
@Adám But TAO is a thing in 17.0, right (I know it's not a new primitive)?
 
@Zacharý Yes.
@Zacharý Not pretty, but at least it is very clear what it is. Can you screenshot (screenshoot?) ¨~⍨∘⍤○⍥?
 
5:48 PM
It's only in non monospace environments that is weird
 
I actually found an answer for #4, so this post won't need to address that
 
@Zacharý Can I see them in monospace?
 
The snapshot I showed you is the monospaced one, I think
 
@Zacharý But it doesn't have ¨ high over like your previous screenshot.
 
The LATTER snapshot is monospaced, while the former is not. It's weird in non-monospaced environments only.
 
5:53 PM
tfw you rep graph is a bottom-right 90° angle:
 
0
Q: What are the standard requirements for answering a [random] challenge?

DJMcMayhemThere are lots of of challenges involving randomness. However, not all languages have a built-in method for randomness. Some languages, like python or most golfing languages make it really easy. You can simply call some built in function that will return a pseudo-randomly generated number. There ...

 
@Adám mine looks like a staircase >.>
 
@J.Sallé That's more typical, I guess.
 
Also tfw you're 2 rep away from 1k >.>
By the way, I'll be posting this in a few, any other suggestions? I think it needs more tags, but I can't think of any. It's not KC is it?
 
@Adám Mine looks like a line that used to go up at a sharp 45 degree angle but now goes up slower and slower ._.
 
5:57 PM
@DJMcMayhem Also typical. Constant repcapping followed by relaxation.
 
Man, I haven't capped in ages
 
00:00 - 18:0018:00 - 00:00

« first day (2601 days earlier)      last day (2243 days later) »