« first day (2473 days earlier)      last day (943 days later) » 
00:00 - 15:0015:00 - 00:00

3:02 PM
Next OEIS posted, next sequence is pretty easy.
 
Impressively fast. +1 from me.
 
thanks :)
it took me a minute or two to understand what it meant
but then it's just (partitions + deltas + products) -> sum
 
What was the reason you used long...?
 
because I had no idea if it would go out of int range :P
 
@user202729 And I can't type with AltGr+Shift+K. (AltGr+k giving ' being out of commision is less detrimental because I also have a dedicated ' button.)
 
3:06 PM
so I just used long cuz why not :D
what is AltGr
 
The right Alt button.
 
oh ok
neither of my alt buttons indent code
 
How do you enter Jelly/Enlist/etc. special characters?
 
D: chromebooks are weird maybe?
@user202729 copy-paste :D :D
 
No, only some keyboard have right Alt = AltGr = Ctrl+Alt, some others have right Alt = Alt. That's customizable though.
 
3:08 PM
oh ok
 
Because I have to look up atoms meaning too, having dedicated keyboard is somewhat useless, but I don't like using mouse so it is still quite useful.
And I turn on MouseKeys on Windows.
 
I'm considering making a Jelly docs thingy that allows you to look up the meanings more easily and copy-paste without using a mouse :D
maybe also make a thingy that lets you provide a functionality example and it looks up an atom from that though that would probably be slow for lookup
 
@HyperNeutrino Maybe like Dyalog RIDE? ``name_of_desired_atom
 
@HyperNeutrino In Dyalog APL's RIDE interface, you can insert a symbol by name of its functionality if you hit backtick twice before that.
 
3:11 PM
oh cool :D
I thought that double backtick was a markdown fail ;P
 
Does Enlist have PrimeQ function? I can see just prime range, prime pi, "not pi" function.
 
I don't think so lol
 
Multiline doesn't have markdown.
 
The great thing is that I have a PrimeQ function implemented and I use it three times but not as a PrimeQ builtin :P
 
@user202729 huh
 
3:12 PM
@user202729 ?
 
Literally just "<some symbol>": (1, vecmonad(PrimeQ)),
 
cannot see images
 
I thought it was multiline.
 
@HyperNeutrino It says:
``ra│
? `q ``random
,    ``ravel
⍤ `J ``rank
⍞ `{ ``rawinput
 
3:19 PM
 
ah ok. ooh that's cool
@user202729 thanks :D
 
But how could you type backtick?
 
with the backtick key I guess?
 
@HyperNeutrino Wait, could you see that image, but not mine?
 
Because of domain blocking.
 
3:21 PM
@Adám imgur is blocked in his school
 
@user202729 Backtick is not used in APL, but backtick,space does it.
 
This is two consecutive backticks separated by a letter: a
@EriktheOutgolfer See, the above obviously doesn't work.
 
Oh, so which image hosting services one-box?
 
I was asked about backtick in chat.SE.
@Adám The ones that make links end with image extension.
 
@user202729 Apparently not:
 
3:24 PM
yes this shows as an image
 
It does onebox the image.
Or am I misunderstanding what is onebox?
 
@EriktheOutgolfer Yes, but the image doesn't actually load.
 
how
it does
it says "DYALOG"
 
@HyperNeutrino Why does the newest Enlist version prints a table of |Character|Function|...?
 
@user202729 darn, I forgot to remove the helper code for writing docs
(leaving in debug code is apparently something I really like doing)
 
3:26 PM
@EriktheOutgolfer Really‽
 
for me it doesn't say "Image not found"
 
The image shows for me too (it shows DYALOG).
 
try refreshing
 
(I hope that's the right image because I have no idea what I just uploaded)
 
3:28 PM
Your school block downloading but enable uploading?
 
@HyperNeutrino apart from the need to disable ghostery, yeah :p
 
Or is that uploading to SE, and SE forward to imgur?
 
@HyperNeutrino Yeah, it is right, but you gave us your entire screen. Potential privacy leak. Also, your chat looks odd.
 
@user202729 apparently so? or maybe it's sent to SE which sends to imgur
lolninja
 
it's sent to se
 
3:29 PM
@Adám Probably chromebook.
 
@Adám meh there's nothing too private other than that you know my email address which is also on my website which you can find on my profile already anyway
@Adám my school blocks icon images so only ones that are on gravatar, are SE default icons, or are already loaded will render
 
@EriktheOutgolfer I did, and now I have a one-boxed link saying "user image".
 
the only thing you can stalk is my slack workspace name and I don't care :P
unless you now know where I live because of screenshot o_O
 
@HyperNeutrino Do you keep all of those mail tabs open all the time?
 
@NathanMerrill not all the time but usually
 
3:31 PM
you should pin them
give yourself some tab space :P
 
nah then I can't see notifs
 
yeah, you can. There's a blue dot that appears
 
tab space is overrated D: having like 20 tabs open all crammed together is decently normal
@NathanMerrill oh really D:
 
um why do you need 4 emails?
 
Monument Valley 2 is out for Android \o/
 
3:32 PM
@HyperNeutrino And you can enable a favicon overlay saying how many unread.
 
if the title of a webpage changes on a pinned tab, chrome will put a blue dot
 
old personal, personal, new personal, and school
@NathanMerrill ooh that's cool :D
@Adám oh yeah I remember that thingy
 
@HyperNeutrino 3 personal? Wow
 
When I got my first email, I went out and got the same email on 5 or 6 other email providers
I even at it at cia.com
which apparently is now a high-value domain :P
 
one was really old but it had my personal name in it so I switched to using tetrahedron77 which doesn't, but then I realized that since now it's more important that people know who I am than for me to be some unidentified internet entity, so I put my real name into that email, and then I realized that "tetrahedron" is a weird name so I just made my short-form name into the email :D
and the school gives me a gmail account because why not
 
3:35 PM
[Enlist] I really need PrimeQ check for the next OEIS. Any quick (in terms of bytes) check?
My current code: 1,-ṁṬו³R!↔§S
 
@HyperNeutrino "gives … a gmail account" ‽
 
@Adám well every student in my school board has a gmail account
 
I have 4 email accounts on my PC too. Mine, another one of mine which I use for unimportant sites, mom's and dad's
 
under the school board gmail organization
 
@Adám Why is your ? ?
 
3:36 PM
it's not just ?
 
@user202729 == !? except it looks weird
 
it's both ? and !
 
@user202729 Because !!
 
it's compose key+!+?
 
@EriktheOutgolfer No, it is AltGr+(Shift+U,q)
 
3:38 PM
Oh it's an interrobang? My phone's monospace font doesn't have it so all i see is a rectangle
 
@Adám on what layout
 
@betseg wait do you set your system to use monospace fonts everywhere possible
 
@EriktheOutgolfer Mine.
 
> Why is your ? ?
i couldn't see that one
 
@betseg Can you see this one: ‽
 
3:39 PM
oh
 
@Adám yes
 
right facepalm
 
@Adám wow
that's massive
 
@EriktheOutgolfer What, the keyboard layout or the code?
 
the code
 
3:40 PM
@EriktheOutgolfer The .klc or .dyalog?
 
um the kbd dfn
 
writing char-by-char lexer is painful I'm switching back to regex D: D: D:
 
@EriktheOutgolfer That's auto-generated by MSKLC's GUI :-)
 
@EriktheOutgolfer almost as big as the timezone changes database :P github.com/tzinfo/tzinfo-data/blob/master/data/europe
(link is only eu)
 
@Adám why is msklc using apl >_>
 
3:44 PM
@betseg Nuts! IMHO, everybody should just switch to UTC year-round.
@EriktheOutgolfer Uh, what?
 
@Adám the issue is that day and night isn't the same time in all places
 
why cant you wake at at 8 pm and sleep at noon
 
@EriktheOutgolfer Neither is day and night the same on all dates – even in the same place.
@EriktheOutgolfer What betseg said.
 
Also imagine places like Canada, 'murica and Brazil which have 3 or 4 different time zones
 
and then there's china which has only one timezone :D
 
3:47 PM
@J.Sallé Yeah, it is a mess. Much easier if each store decides their opening hours in UTC. And long distance public transit schedules would be so much simpler.
 
@Adám well then we'd still need to deal with issues such as "8:00 is early for you but late for me"...
 
@Adám agreed
 
@HyperNeutrino and nepal with +5:45
 
how wide is nepal though
china spans like 4-5 timezone spots
 
but i mean
5:45
 
3:48 PM
@HyperNeutrino about 45 minutes wide, I guess? >.>
 
oh nepal is the weird one with quarter time?
 
i think there was one more quarter time zone
 
@EriktheOutgolfer You already have to deal with timezones to decide when to call. People could stick a (19:00-03:00) on their business cards.
 
newfie time is half which is already weird enough
I think some place near the east coast of asia also has quarter time, or maybe some weird island in australia area
 
@Adám oh that's easy they just append "UTC"
and you should know the timezone of where you live ;-p
 
3:50 PM
@EriktheOutgolfer Yes. My proposal doesn't even require any law changes. If everybody just started indicating all times in UTC…
 
@betseg North Korea, Newfoundland, India, Iran, Afghanistan, Burma, Sri Lanka, the Marquesas, as well as parts of Australia use half-hour deviations from standard time, and some nations, such as Nepal, and some provinces, such as the Chatham Islands of New Zealand, use quarter-hour deviations. (From wikipedia)
 
wow
 
yay so it was some weird island in australia area
 
i only knew iran india and au
 
anyway gtg o/
 
3:52 PM
bye
 
Cya Hyper o/
@betseg also this link is interesting.
 
> ...time-zones-interesting.html
yup, definitely interesting
 
Denmark's time zones constitute a huge mess too:
Area	              Std  	Dayl
Denmark	           UTC+1	UTC+2	EU transition dates
Faroe Islands	     UTC±0	UTC+1	EU transition dates	Atlantic/Faroe
Danmarkshavn	      UTC±0	(no DST)
Ittoqqortoormiit	  UTC-1	UTC±0	EU transition dates
Western Greenland 	UTC-3	UTC-2	EU transition dates
Thule Air Base	    UTC-4	UTC-3	U.S. transition dates
 
Pun intended :p
@Adám I think those are technically not all Denmark's though.
 
@J.Sallé Why not?
 
3:57 PM
@Adám nevermind those are all Danish territories
although Greenland and the Faroes are technically independent
 
@J.Sallé They each have two members of the Danish parliament.
 
@Adám yeah yeah, I just checked. They're not independent, they're autonomous.
 
Ittoqqortoormiit
nice name
 
Even if you just look at Greenland (the last four lines) it is still a mess. Four time zones; three daylight savings transition rules!
In linguistic typology, polysynthetic languages are highly synthetic languages, i.e. languages in which words are composed of many morphemes (word parts that have independent meaning but may or may not be able to stand alone). Polysynthetic languages typically have long "sentence-words" such as the Yupik word tuntussuqatarniksaitengqiggtuq which means "He had not yet said again that he was going to hunt reindeer." The word consists of the morphemes tuntu-ssur-qatar-ni-ksaite-ngqiggte-uq with the meanings, reindeer-hunt-future-say-negation-again-third.person.singular.indicative; and except for the...
 
i know how inuit languages work, i found 4 double letters interesting
 
4:08 PM
CMC: Given a word, return the number of double-letters. (You may assume no triple-letters.) E.g. Ittoqqortoormiit → 4
 
@Adám yup, seems like Brazil. Here in Rio we have DST, but in Bahia (which is the same time zone) there's no DST.
 
@Adám Ii => 1?
 
@betseg You may ignore or consider case as you want.
 
@Adám qqq -> 2?
 
@EriktheOutgolfer (You may assume no triple-letters.)
 
4:09 PM
oh so no qqq or qqqq etc.
then jelly, 4 bytes: ⁼2\S
 
@EriktheOutgolfer Correct. Also, I doublt many languages have words with quadruple-letters.
 
@EriktheOutgolfer +1. My solution is 6 bytes.
 
@Adám welsh
well technically ll is one letter
ff too
 
Oh no, the next OEIS A000087 has (nontrivial, easy to implement) formulas.
 
@Adám PowerShell, 36 bytes
bookkeeper is the highest count I can come up with for English
 
4:14 PM
@betseg The studying of eggs laid in animal parks: zoooology
 
zoo-oology
nice
 
@AdmBorkBork Subbookkeeper
 
Heh
 
maatteessüf in turkish, it's a borrowed word tho
 
@betseg ü in Turkish has the same pronunciation as it's German counterpart?
I assume not, but idk
 
4:18 PM
i think it does
yup, checked wikipedia, it does
 
Nice, good to know hahahah
 
4:35 PM
@Adám Emojicode, 136 bytes. Try it online!
 
5:01 PM
0
Q: exern link allowed in answer

RosLuPDubious link [Try run] in the "retina" solution in Question set intersection of two lists Point to one link is not Tio, but open Tio. What this means? What are the link allowed in Codegolf? And the ones prohibited? The link in question if I can report is http://retina.tryitonline.net/#code=K2Ao...

 
@Adám in one of Martin Gardner's columns someone suggested boobbookkeeper and then someone else added the obvious subboobbookkeeper
 
5:31 PM
 
@Adám For reference, Jelly, 6 bytes ŒgL€’S. It can be 4 as Erik pointed out well.
Jelly, 5 bytes ŒrFċ2
 
5:53 PM
@J.Sallé Posted, and thanks for the feedback!
 
0
Q: Do we share the prime cluster?

Mr. XcoderThe prime cluster of an integer N higher than 2 is defined as the pair formed by the highest prime strictly lower than N and the lowest prime strictly higher than N. Note that following the definition above, if the integer is a prime itself, then its prime cluster is the pair of the primes prece...

 
6:14 PM
@Adám V, 3 bytes (yay, it beats Jelly! XD): ؈±
No TIO link cause my internet is being dumb right now
Just kidding, it finally loaded: Try it online!
Just kidding, 30 bytes: {<({}[({})])>{(<{}>)()}{}[()]}
That version is waaaaay prettier
 
@DJMcMayhem What's the unprintable character?
 
@cairdcoinheringaahing 0x88. It's a regex shortcut for \(.\) in vim, or (.) in typical regex
And ± is a shortcut for \1, and Ø is the count function
So in pseudocode, it's basically replace(currentline, count(/(.)\1/, currentline))
Actually, technically it's all lines, not current, but there's only one so it doesn't matter
 
@DJMcMayhem IMO ± should split time itself, and continue running the program in parallel universes, one with + and another with -, and return the right answer by destroying one of the universes
have you tried that?
 
@cairdcoinheringaahing @EriktheOutgolfer was right, ETH's answer does fail if the inputs are equal and (both) are prime.
 
@orlp I tried that originally, but we're in the universe where that didn't work
 
6:29 PM
@orlp that's basically two threads in a processor?
 
@orlp Also, inb4 mathematica builtin
 
@Mr.Xcoder Shame :( It was a good idea
 
@J.Sallé no, no, we must split time itself
 
@orlp slightly harder, then. I'll let you know when I finally discover time warping.
 
@cairdcoinheringaahing I feel bad about ETH but I am also glad on the other hand that my challnge is not just primerange, negate.
Anyone up for JHT?
 
6:39 PM
@Mr.Xcoder Yeah, I should be ok for 30mins
 
So I've solved take one to make one, but am unhappy with my solution, so haven't posted it yet. would appreciate any improvement ideas from J experts, if any are around.
my solution: Try it online!
The tacit version was even more verbose. In any case, I can just feel that there's got to be a solution at least 30% shorter than that...
 
7:10 PM
@Jonah I don't know J, but I just invited a J expert to dinner.
 
0
A: Sandbox for Proposed Challenges

Zachary CottonTernary Parity of Substrings Definition The ternary parity of a string is the number of 1's in its ascii bitstring mod 3. For instance, the ascii values for "Hello World!" are: H:72 e:101 l:108 l:108 o:111 space:32 W:87 o:111 r:114 l:108 d:100 !:33 Converting each ascii value to binary gives...

 
@Adám Roger Hui?
 
@Jonah No, Marshall Lochbaum.
 
8:06 PM
2
Q: "pick - flatten"

Challenger5Consider the process of "picking" a nested list. Picking is defined as follows: If the argument is a list, take an element from the list at random (uniformly), and pick from that. If the argument is not a list, simply return it. An example implementation in Python: import random def pick(obj...

 
8:26 PM
0
A: Take one to make one

AdámJ, 30 bytes All credit goes to my colleague Marshall. Unnamed tacit prefix function. [:+./ .*(1->./@${.|:)^:2@|:@#: Try it online! (@ is function composition) #: antibase-2 |: transpose (…)^:2 apply the following function twice:  1- Boolean negate  >./ the maximum  @ of the  $ axis l...

 
8:50 PM
@DJMcMayhem How would you do this Challenge in brain-flak? Is it possible? codegolf.stackexchange.com/questions/103822/output-the-sign
 
1
Q: Convert between Music clefs

tfbninjaConvert between Music Clefs Before you leave, you do not have to understand much musical notation to do this challenge. EXPLANATION In standard sheet music, double clefs go across the page serving as reference points to the notes, letting you know what note should be played. If you are not a...

 
@tfbninja There's already 2 answers
9
A: Output the sign

RileyBrain-Flak 74 42 40 Bytes Saved 2 bytes thanks to 1000000000 {([({}<([()])>)]<>(())){({}())<>}}{}({}) Try it Online! Explanation: { } # if 0 do nothing ( ) # push: {}< > ...

 
@Adám tyvm! tell marshall ty as well. i knew there was a better solution.
 
@Jonah Marshall is reading along. :-)
 
9:09 PM
Marshall, that is some beautiful J. What fact are you using with that permanent? Is there some linear algebra fact that is equivalent to "you can pick a one from each row"?
 
@Jonah Marshall (needs a SE account but) says: There is no linear algebra reasoning behind this, you could use < . (;<) to analyse what . does.
@Jonah … It kind of is that determinant encapsulates the concept of choosing a different element from each row.
 
@Adám Okay that's helpful. I will look at it again tonight and ask in the comments if I can't figure it out myself.
 
9:59 PM
Alright, now to give Funky file IO
 
10:11 PM
I found an answer on linguistics.se but if i wanted to comment to correct it I'd have to join the community
 
woohoo! finally got 1k rep!
3
 
 
1 hour later…
11:21 PM
@NickClifford Now you can downvote 1000 people. Or one person, 1000 times
 
with great power comes great responsibility
 
Not necessarily!
 
@EricTressler Well, technically he could only downvote 875 people...
Actually, 876
 
11:37 PM
Anyone who knows Jelly know why this isn't working?
Huh, it worked with С but not Đ¡
Anyone see any difference?
 
I will get out paint.net and check
 
they have the same char code, so idk
 
they are identical, so maybe gamma rays?
 
11:58 PM
I moved Funky's libs from globalScope.js to their own files. Yay for clarity.
 
00:00 - 15:0015:00 - 00:00

« first day (2473 days earlier)      last day (943 days later) »