« first day (2558 days earlier)      last day (2291 days later) » 

8:00 PM
@AdmBorkBork James Smith Westingford
 
@AdmBorkBork Not that English :P
 
And it's Dumbravă BTW.
 
soo-munth bas-ka-roo-nee is how i taught google assistant :P
 
@Mr.Xcoder What does the diacritic do?
 
Am I the only one who realised it's possible to find Leaky's old house (before he moved to England) just from his profile picture?
 
8:01 PM
@J.Sallé It makes the letter sound much more grave.
@cairdcoinheringaahing Actually his school, but yes.
That's how I knew he's from Hong Kong
 
@Mr.Xcoder Oh, I see. Do you have â in Romanian?
 
Yes.
 
@Mr.Xcoder Yay for Google :P
 
@Pavel well it’s a сapital ь
 
@Mr.Xcoder is your last name reasonably common in romanian?
 
8:02 PM
Somewhat.... Hm... So and so
 
> profile is on russian.se
> cyrillic knowledge checks out
 
I've never met anyone (aside from family) with my surname
 
@Mr.Xcoder :p I've never met a person with my last name that's not related to me, and only 1 other person with my first
 
@FrownyFrog ಠ_ಠ that's not a thing
 
kidding?
 
8:04 PM
ь can only be lowercase
 
@Riker Ha, lucky. I have 3 people in my school year with the same first name as me :P
 
How would you spell НЕ ВЛЕЗАТЬ then?
 
Oh, all caps.
 
@J.Sallé We do have it, but although it's very common, it sounds like an abomination.
 
> tfw you find a TotallyHuman42 on github
 
8:06 PM
@Mr.Xcoder euuuugh
:p
 
@Mr.Xcoder I see. It's actually considered a different letter than a altogether, right?
 
definitely
 
Yes. Both â and ă are considered different letters than a.
 
except by all browsers' Ctrl-F which is really annoying
 
@Mr.Xcoder thats ü in turkish :D
 
8:08 PM
In Portuguese, the alphabet is the same as the English one (26 letters), and ´, `, ^ and ~ are diacritics
 
@betseg its' umlaut u in many things isn't it
@J.Sallé do you not have ñ in pg?
huh, I thought you had that and the double r like spanish
 
hmm we have some interesting chat profile descriptions
 
@Riker Nope. That's the same as the digraph nh. We do have rr and ss, but they're also digraphs, not letters of the alphabet.
 
We also have some quirks regarding â: If you want to use it at the beginning of a word, you must replace it with î instead. Also if it occurs in a word, but the word has a prefix and it's the first letter after the prefix, then it gets replaced by î yet again... In names, you typically also use î instead
 
CMP: what is your chat profile description and why is it so
 
8:11 PM
@totallyhuman null; I'm lazy.
 
@totallyhuman Programming Puzzles and Code Golf FTW! because 1) I love PPCG and its community and 2) I'm lazy to come up with something better
 
PowerShell FTW, because PowerShell FTW
 
@totallyhuman because im proud of who i am
 
@Mr.Xcoder That's cool. We have some weird corner cases in Portuguese as well, but the main difficulty is usually accents and verb conjugations.
 
3 mins ago, by J. Sallé
@totallyhuman null; I'm lazy.
 
8:14 PM
Verb conjugations are surprisingly intuitive for native Romanian speakers, but horrifically hard for anyone else. That's because we have a different form for each mode, for each time of each mode and for each person with each time for each mode :P
 
we do too
 
Also in Russian
 
@Mr.Xcoder same for Portuguese. 6 tenses, 6 persons, 3 modes, and a different conjugation for each
 
> I really enjoy making puns about DR Seuss and/or ham ¯_(ツ)_/¯
 
DJMcMayHam?
 
8:15 PM
@totallyhuman Just populated it with a condensed form of my main profile.
 
codegolf.stackexchange.com/questions/92683/… there is even a challenge for turkish conjugation
 
@J.Sallé If Portuguese is like Spanish, than Russian has more kinds of verb "types" than portuguese
 
@J.Sallé ... 8 modes, 8 tenses for the indicative only (present, past continuous, past simple, imperfect, more than perfect, future, "past"-future/future II, popular future) and for all other personal modes 2: present and perfect, 6 persons.
 
i think i got mine down
> I have 200 characters (or is it bytes?) so I will try to keep this concise, so everybody can get this message and understand it too (but you can't have the cake and eat it too)... oh, I've run out of
 
Hi @LeakyNun!
 
8:18 PM
> relative complement is a contravariant functor
i'm assuming some of those words have some sort of meaning attached to them
 
@J.Sallé I don’t know Polish, but I’ve never heard of a good reason why it’s harder than any other slavic language. Sometimes they say it has hard spelling (but Russian can’t be that much easier), sometimes they say it has 7 genders (Russian has them too).
 
@Mr.Xcoder wow, 8 modes is a lot. We have indicative, subjunctive and imperative. 6 tenses for the indicative (Present, past perfect, imperfect and more-than-perfect, present future and past-future), 3 for the others.
 
@Mr.Xcoder hi
@totallyhuman category theory :P
 
@Mr.Xcoder popular future?
 
@totallyhuman There is an archaic future form that is still considered a valid, separate tense
 
8:21 PM
@LeakyNun functor led me to that but i still have no idea what it means lol
 
@FrownyFrog Russian has 3 genders last I checked.
 
@FrownyFrog The article I read said that Polish was at the top of the list because you're not considered "literate" until you finish 13 years of school. Not sure if that's true or not though.
 
@Pavel they multiply it by the animacy categories for Polish
 
E.G Instead of voi veni, am sa vin / o sa vin (All mean I will come)
 
So Russian would have at least 6
 
8:22 PM
Ah, I see
 
0
Q: Remove entries from array to sort it and maximize sum of elements

Busy BeaverWrite a program that removes entries from an array so that the remaining values are sorted in a strictly decreasing order and their sum is the maximized among all other possible decreasing sequences. Your input will be an unsorted array of integer values. Your output will be a list of indices o...

 
@Mr.Xcoder In Portuguese we usually only say eu vou (colloquially) or, formally (Eu) virei.
 
OK, I can only think of 4 combinations of gender and animacy, maybe they do have it more complex in Polish
 
@FrownyFrog I can think of a few other ways they can be classified in Russian but I don't know what the classifications are called >_<
 
@totallyhuman it means exactly the following: "consider the subsets of a universal set U. Let F denote relative complement, i.e. the function that sends the set A to U\A. Let A --> B denote A subset B. Then, A --> B implies F(B) --> F(A). Let id_A be the identity arrow from A to itself, then F(id_A) = id_F(A). Also, F(g compose f) = F(f) compose F(g) for any two arrows f and g."
in other words, if A is a subset of B, then U\B is a subset of U\A
@Mr.Xcoder the former sounds curiously similar to Spanish "voy a venir" (I will come)
 
8:27 PM
@Pavel Right, there’s clearly a lot going on, not just 3 genders against 7
 
Chinese be like "what is gender?" "what is conjugation?" "what is verb tense?"
 
@LeakyNun I still think there should be no universal set :|
 
@Mr.Xcoder I did say "relative" complement
it's relative to a set that you consider
not that it contains everything
but that it contains everything you want to consider
 
@LeakyNun all those angry little characters looking at you like ಠ益ಠ
 
Yeah not talking about your description, talking about the universal set in general
 
8:31 PM
CMC: new main question as and instead of returning the indices, return the list with the elements removed
 
tenses in turkish: known past, learned past, combined past (learned from a person who saw), past continuous, simple present, simple continuous, simple future, learned future, future and past combined (like "was going to"), learned present, learned continuous, conditional (yep a tense)
persons in turkish: singular 1,2,3; plural 1,2,3; formal singular and plural 2; very formal 2
verbs also get suffixes if the person is doing to themselves or to someone else or *with* someone else
 
Conditional is a mode here hmmm...
 
and no genders
 
Portuguese starts to get confusing when you learn "regência" (regency? sounds wrong), verb transitivity and sentence classification.
 
also turkish has this (a chat message from tnb with 12 stars)
 
8:36 PM
@totallyhuman Jelly, 14 bytes: I<0P\nŒPçÐfµSÐṀ
 
@totallyhuman Can we return the list of elements not removed instead?
 
@J.Sallé ah, ok
 
@Mr.Xcoder The list with, not the list of
 
@LeakyNun wait, what?
do they not have those
 
8:37 PM
Oh...
 
(to be fair no genders in words is great less hassle but still)
@betseg ofc conditional is a tense
 
@totallyhuman Brachylog, 9 bytes: {⊇>₁}ᶠ+ᵒt
 
Any jellyers see something I could improve?
 
iirc spanish has like 3 conditionals
@DJMcMayhem not a jellyer but you can try not using jelly
use julia instead
 
8:38 PM
it's still got a J in it but it's mcuh cooler
 
@betseg lol that's great. Fun fact: pineapple is called Abacaxi in Brazilian Portuguese. We hardly use Ananás
 
@Riker i mean in english it's generally like "if (simple present) then this" but in turkish "if (conditional) then this"
 
@betseg *13
:P
 
Pyth, 15 bytes: e.MsZf*F<R0.+Ty :(
 
I'm asking this again since there's more people in here now, but what's people's opinions on me running for mod (again)?
 
8:40 PM
Go for it :)
 
all those suffixes make turkish a boring language tho, it cant have things like Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo
 
@betseg Nah, that means it's a good language. English is the spoken language equivalent of javascript.
11
 
Pyth, 13 bytes: e.MsZfqS{T_Ty
Or, returning all possible lists, 12 bytes (remove e)
 
@Pavel thats a pretty good analogy
 
@Pavel That's a great analogy.
 
8:42 PM
ninja'd :P
 
12/11 bytes \o/ beats Jelly!
 
is there a programming language where they just mashed a bunch of features from other languages and paradigms
 
PHP
 
@totallyhuman C++ 17
 
8:44 PM
@Mr.Xcoder Nope.
 
HAHAHAHA
Nice
 
@Dennis Then ties Jelly. Remove the e to get all possible valid lists.
 
@Pavel wat
 
@betseg Also unfeasible in Portuguese because if you're from somewhere (as in Buffalo buffalo) you're de algum lugar. Also plurals (búfalos de Buffalo).
 
Jan 23 '16 at 19:42, by zyabin101
One does not simply outgolf Dennis.
 
8:45 PM
@Dennis Invalid!
 
D:
 
> are sorted in a strictly decreasing order
 
oh well mine is wrong too then
hmm
 
Oh well, gotta go home. Cya everyone o/
 
Cya
 
8:46 PM
\o
 
although the main challenge, OP says no repeating elements
 
Ah :(
> unique...
Then it's valid, I guess. But still ties Jelly :D
Wait I can beat Jelly
 
@totallyhuman Javascript
 
or can you? dun-dunn-dunnn
 
8:48 PM
@totallyhuman ►ΣfΛ>Q would work in Husk for 6 bytes if Λ wasn't broken (it returns 0 instead of 1)
 
@Pavel I’m so special
 
@betseg yeah, that's in spanish too
 
@totallyhuman what is formatting
 
also, I feel so dumb
 
idk ;-;
 
8:49 PM
TIL you can just mv to a directory in bash
you don't have to retype out the whole filename
 
Good job
 
wait what
 
@H.PWiz Lol, how is Λ broken? :P
 
What is Λ supposed to do?
 
@Dennis Explanation?
 
8:49 PM
@Riker Most people figure that out before they learn that you can rename files with mv
 
I've aways had to retype it out, i.e. mv Desktop/untitled\ text \ 2.js Documents/untitled\ text\ 2.js
 
@cairdcoinheringaahing It's an all operator. It checks if all elements are truthy under a given condition IIRC. When applied dyadically, it should check a condition over all pairs of adjacent elements.
 
@Pavel >.>
I think I learned mv as rename
since, y'know, that's kinda what it is under the hood last i checked
>.>
 
It is. It's also named "move".
 
@Mr.Xcoder When it should give 0, false, it gives 1
 
8:50 PM
@PhiNotPi go for it, I'd vote for you for certain
 
is there a language where <sublists><filter by><descending?><maximum by><maximum> is valid
 
you seem to be pretty levelheaded, I think you'd make a good mod
@totallyhuman no since most languages don't do that weird angle bracket syntax
>.>
 
Oh, Turkish, Finnish and Hungarian not only don’t have genders, they don’t have a word she.
 
i meant each one as a token of some sort
 
8:52 PM
@totallyhuman That is pretty much the Husk one. Except descending is Λ>
 
@FrownyFrog no he nor it neither
 
@FrownyFrog One of the languages of Papa New Guinea doesn't have a concept of right or left. The native speakers just intuitively understand at all times where North/South/East/West are.
 
@totallyhuman s/maximum>/sum>/
 
@FrownyFrog "o gitti"="she went"="he went"="it went"
i had a hard time about gendered pronouns
 
irish has "se" meaning "him", which always messed me up
and "is" is only "is" like half the time
 
8:55 PM
@PhiNotPi I think it would benefit you. Both running for mod and being a mod.
 
@Pavel If you never end up in an unfamiliar place, I can see how it’s easier
 
@H.PWiz and it's reversed :P
 
@betseg aren’t articles worse?
 
@Mr.Xcoder ŒPṖi¥\€SÞṪ (10 bytes)
 
8:56 PM
;-; Dammit
 
@Mr.Xcoder "Readable"
 
@FrownyFrog true, turkish doesnt have any articles
 
haha
 
I don’t even try anymore to get them right
 
@FrownyFrog How many languages do you know?
 
8:57 PM
@Dennis Now I need an explanation :P
 
sometimes i use articles when it isnt needed, sometimes i dont use articles when its needed ¯\_(ツ)_/¯
 
@Riker The Welsh word "hi" (pronounced like the English "he"), means "she".
 
articles are unnecessary
 
@trichoplax heh
 
@betseg I'm the same with cutlery
3
 
8:58 PM
and the irish "an" means "the" :D
 
@Pavel Actually just English and Russian. And I had German in school.
 
I want to learn German, but my high school only has Spanish.
 
@FrownyFrog Liar! You also know J :P
 
@Mr.Xcoder Ṗi¥\€ reduces each subset by mapping (a, b) -> [1, ..., a-1].index(b), which is b if a > b and 0 otherwise. The rest should be obvious.
 
9:00 PM
Hm, that's clever-ish. I just use Pyth's "Invariant" Operator
 
@DJMcMayhem fṢ€U$$ sorts and upends/reverses each subset, then f selects subsets that appear in the result.
 
@trichoplax Hebrew vs English: Annie = me; me = who; who = he; he = she; she = that.
 
@Adám What are asterisks?
 
Thanks for the explanation!
 
@Adám rip formatting
...edit ninja'd
 
9:02 PM
@Adám I was hoping that was going to come full circle...
 
ŒP«\QS$$ÞṪ should also work.
 
i wish haskell could just do last.filter descending.subsequences
that would be awesome
 
@trichoplax Sorry for disappointing you. There can only be so much coincidence, I guess.
 
It's still a remarkable chain
 
I hate Pyth when it sucks at applying things dyadically
 
9:05 PM
Oooh, new review thing (red dot showing reviews)
 
Yay I reviewed something!
@Dennis 9 bytes. I challenge you to outgolf me in Jelly :P!
(sorry for the triple ping!)
 
@totallyhuman I clicked Leave Open before reading the comments :/
 
esDfSI_Ty – Full program. y – Generate the powerset. f – Filter with a variable T: Keep those... that have the reverses (_) invariant (I) over sorting (S). Then sort them (D) by sum (s), then grab the last element (e)
 
@cairdcoinheringaahing you can still close it
 
9:13 PM
Yeah, I know (and have). But it looks kinda :/ when I VT-stay-open, then VTC'ed
 
Wow, TNB is the most populous SE chat room:
2
 
@cairdcoinheringaahing An inaction is much less binding than an action
@Adám Cool!
 
It has indeed been very hectic today... I think the winter break has ended! :-)
 
9:27 PM
@Adám why is the APl typo still there?
 
@totallyhuman Because it is unfixable. However, I may need to reschedule next week's lesson, which will force me to delete the event and make a new one. Then I will fix the typo.
 
I feel like it's a good time to advertise this chat room now that TNB has an increase in activity. A while ago, Flip and I have founded a chatroom for golfing in Python. I'd love to see it grow and become a place Python users frequent, just like "Of Monads and Men" for Haskell. It's called Python Byte Shavers, for reference.
 
> Of monads and men
Hahaha
10/10
 
credit to Laikoni for that name
CMC: new main question without
 
1
Q: Can square tree rings be generated from primes?

Luis MendoApparently yes! In three easy steps. Step 1 Let f(n) denote the prime-counting function (number of primes less than or equal to n). Define the integer sequence s(n) as follows. For each positive integer n, Initiallize t to n. Iteratively replace t by f(t) until the result is either prime of...

 
9:31 PM
@Adám we do that the other way around (starting with she)
 
CMP: Should I rename the APL chat room? I find myself having to refer to it as "the APL chat room" since it is just called APL, and is thus indistinguishable from the language APL. If so, what should it be called?
 
@Adám The Orchard? Since apple trees grow in orchards.
 
@Uriel Just read it from right to left!
@Pavel Nice, maybe "The APL Orchard".
 
of mnemonic symbols and men :P
 
@Adám yes I like that
 
9:52 PM
@Adám A room for a Programming Language
you can call it APL
 
wowza
 
@Adám goes with your other APL things i think
 

 The APL Orchard

apl.chat ― Learn, teach, ask, code, golf, & discuss usage. See ...
 
10:17 PM
> @ETHproductions 4
(return true to win leaderboard)
nice to see a ppcg'er there
 
CMP: Should the APL learning sessions be renamed? If so, to what?
 
Python CMC: Without testing it, what does print("Python" "nohtyP"[0]) output?
 
error
 
Pythonn
 
@DJMcMayhem Does it really implicitly concatenate?
 
10:27 PM
Weirdly, it outputs P
 
Oh shoot, I was close
I just got the precedence wrong
@Adám yes
 
@Adám Yes
@DJMcMayhem That was my first guess as well :P
 
That makes no sense ;-;
 
APL CMC: Without testing it, what does 'APL' 'LPA'[1] output? (1-indexed)
 
An error?
 
10:29 PM
@iPhoenix Nope.
 
@Adám APLA?
 
APL
 
Well, the wheel spinned and landed on error. With no APL knowledge, I expected as much.
 
@cairdcoinheringaahing No, how would that work?
 
@Adám APL is pretty weird last time I checked :P
 
10:32 PM
oh
it is an error
 
@FrownyFrog If that has a leading and a trailing space, then you're not wrong.
 
@FrownyFrog Uh, that's just TryAPL acting up. Clearing your cookie (or opening a new incognito window or another browser) should fix that.
In Dyalog APL, it outputs " APL " but in APL2 it outputs " APL L ".
 
@Mr.Xcoder it does and it has a specific reason for happening:
 
10:36 PM
@Adám I get APL in a box
 
@totallyhuman I figured it out.
 
string_lol = ('lol\n'
              'LOL')
 
@FrownyFrog Yes, the spaces in default output indicates that it is enclosed. You can force the default display form by sticking a on the far left.
@cairdcoinheringaahing Even better than what?
 
@Adám Python 3
 
@cairdcoinheringaahing Better as in weirder?
 
10:42 PM
Brain-flak CMC: Without running it, what does print("Brain-flak" "flak-brain"[1]) print?
 
@DJMcMayhem Without running it, it doesn't print anything.
6
hides
 
@DJMcMayhem With no input? 0?
It boils down to ([]), which pushes 0 on an empty stack, correct?
 
:)
 
10:47 PM
CMP: In your favourite language, what (IYO) is the craziest/stupidest thing it allows you to do? For example, Python let's you randomly allocate super classes
 
K CMC: Without running it, what does "Kx" "xK"[0] return? (0-indexed)
 
@cairdcoinheringaahing Vim lets you smile
 
@Adám r
 
@DJMcMayhem :smile is an actual command? I'll stick to Notepad :P
 
10:48 PM
@betseg Nope.
 
@cairdcoinheringaahing There's also a Ni! command, for monty python fans
 
nice
 
@totallyhuman Nope.
 
After being on this site for close to a year, I should really be used to discovering useless commands in languages. I'm not though :P
@Adám xK?
 
It returns " "!
 
10:50 PM
Why?
 
what
...two kinds of people...
 
Actually, there are 10 kinds of people. Those who understand binary, those who don't and those who realise this joke's in ternary.
 
It doesn't matter whether juxtaposition precedes indexing or vice-versa, because "Kx" ("xK"[0])"Kx" "x" → " " and ("Kx" "xK")[0]"" "[0]" "
Now why does the juxtaposition of two strings give a single space? No idea.
3
 
@Riker cool, which one is that on? (also, has there been discussion about RTTW?)
 
@cairdcoinheringaahing Not really a crazy/stupid thing, but does look strange at first: Try it online!
@cairdcoinheringaahing One more: Try it online!
 
11:22 PM
@ETHproductions that one? idr, maybe 'infinity'
I see you on a bunch tho
at least 4
I think it's sorted by recent
 
oh, makes sense
 
(and no, but I jst remember it today, learned about it from that ppcg challenge)
 
infinity is the first one that isn't closed
 
@Adám is this JS?
:p
@ETHproductions think so yeah
I'm still confused about how that "Yan" guy got a score of 1 for like 3 problems
 
I actually misunderstood the very first challenge, saw the "season 2" and ran all the way through it before realizing there was in fact more than one challenge in season 1 :P
 
11:24 PM
@Riker No, K.
 
I only got about 75% of S2 (made it to the end tho), and I'm actually stuck in S1
 
@ETHproductions LOL
@ETHproductions I've only done like 6 total, 1 s2 and the rest s1
I haven't had much time though
did you learn about it from the ppcg challenge or elsewhere?
 
ppcg challenge
 
cool
 
the first one I haven't solved in S1 is "array", are you there yet?
 
11:33 PM
I have it shown but havne't started on it
 

« first day (2558 days earlier)      last day (2291 days later) »