« first day (2579 days earlier)      last day (2255 days later) » 

9:00 PM
It constitutes Targeted voting if you are upvoting for the user, not for the content. That's forbidden all across SE.
@HyperNeutrino Well it's 12012
 
@Mr.Xcoder Ahhh... Lol, I just realized, I've never read the SE rules, only the PPCGSE rules.
I always assume site-wide rules are usually common sense.
 
Mine is 59487 or 59478, I think
 
68947 is mine I think (nope, 68942)
 
Wait so BOTH Mego and DJ got Mod? How's that work?
 
there were 2 positions...
 
9:01 PM
Well, I mean not so much how...
 
@MagicOctopusUrn 3 candidates, 2 open positions
 
I swear this sequence has already appeared.
 
@Mr.Xcoder there are like 80030545398605 sequences called the exact same thing
 
@HyperNeutrino How was it decided that we needed 2 positions, I guess would be the question, userbase size?
 
> Coefficients of ménage hit polynomials
 
9:02 PM
oeis.org/… @Mr.Xcoder
@MagicOctopusUrn hm good question, idk :P we need an even number of mods?
 
I am 100% sure I've seen this before in that challenge
 
@HyperNeutrino It must be the same rules as TV volume, divisible by 2 or 5 or none at all.
 
145858 is mine? Wait, that's not from any of SE sites...
 
@MagicOctopusUrn ? idk lol
 
I never tried to memorize a se/ppcg id because i dont have to
 
9:02 PM
@HyperNeutrino ಠ_ಠ NJA Slone
 
The description is identical, the terms are entirely different.
 
I haven't even remembered my bank ID nor school ID. Only ID from one game, because I had to put link to my PM page in all my forum games
 
@Mr.Xcoder offset
 
Welp.
> Conjecture: 2*(-252307*n+1041077)*a(n) +(504614*n^2-3362985*n+5118150)*a(n-1) +(1280831*n^2-7397886*n+6461565)*a(n-2) +(746598*n^2-2913543*n-1336090)*a(n-3) +(-405481*n^2+6175011*n-15469320)*a(n-4) +(-375862*n^2+4098537*n-8846430)*a(n-5) +2*(-187931*n+560630)*a(n-6)=0. - R. J. Mathar, Nov 02 2015
And they rejected a simple formula of mine saying It's too complicated for a simple sequence, but they include this...
 
9:05 PM
Pfft, conciseness on the OEIS? unheard of
 
I guess our answers cannot rely on unproven conjectures by default, right?
 
@cairdcoinheringaahing ^
 
@Mr.Xcoder well, what is their definition of a simple sequence?
Maybe they don't think this specific one is simple?
 
I. have. No. Idea.
@J.Sallé This one is not simple.
But what are ménage hit polynomials?
 
1 min ago, by Mr. Xcoder
I. have. No. Idea.
 
9:10 PM
@betseg too real
 
we've got a lesson in Poland where you have to remember PIN's
 
i think this is good enough but still bad in many ways that i dont know of. i want to post it in CR but im scared ;_;
 
#define MINE 9
#define FLAG 9
Hmmm... This looks weird
 
one is for the actual field, one is for the mask, and both are one greater than the maximum adjacent mine count possible
 
@labela--gotoa The only solidly impressive number I have memorized is my CC number (but that's only the case for 2 more months). The only reason I tried to do that is so I can at least order a pizza if I lose my wallet lol.
 
9:14 PM
so we won't leak memory... except a sigkill, then rip CR won't appreciate this :P
 
@MagicOctopusUrn Actually the lesson is history. .-. remember dates, remember dates...
 
@Mr.Xcoder the wording or leaking memory? :P
because there isnt a way to prevent the latter
 
The wording :P
 
@labela--gotoa O_o?
 
@MagicOctopusUrn We normally learn history at school and it's one of worst lessons...
 
9:16 PM
@betseg Looks good to me :)
 
and it's basically about remembering dates...
 
@HyperNeutrino Here you go! :D
 
@labela--gotoa List of classes I failed in college: [Sociology, Some MIPS Class that 40% of Students Failed]
 
if(IS_MINE(mask[y + dy][x + dx]) != IS_MINE(field[y + dy][x + dx])) {
    // exit game
    return 1;
}
 
I wish I could sit at home and write code 24/h
 
9:17 PM
@labela--gotoa The sociology fail was because we had to literally memorize vocabulary words and regurgitate them in essay form ._.
 
perhaps you can remove those brackets?
 
@labela--gotoa Maybe get a job programming ;{P?
 
@MagicOctopusUrn oh.
 
golfs some code that is not supposed to be golfed
 
@MagicOctopusUrn That could be my job, if I wasn't yet in school.
.-.
 
9:19 PM
@labela--gotoa I used to tutor for $$$, actually not terrible. Just gotta pick your clients... very well.
 
@Mr.Xcoder perhaps remove all whitespace and save 5429 bytes? :P
 
@Mr.Xcoder brb golfing GCC
 
@MagicOctopusUrn I don't think anyone would be interested in my "lessons"
peps here are really... no words to describe it
 
'smart'? :P
 
@betseg Post it! Code Review is like a tetanus shot: It hurts a lot at first but in the long run it's good for you.
 
9:22 PM
@DLosc legendary (especially here in Greece)
 
@DLosc Witcher quote: "The longer you practice alone, the more you ingrain your mistakes."
 
cmc (jk): write an algorithm that prints 1453, so I can remember that date... .-. it's repetitive... two things attached to it .-.
 
@DLosc lol
 
wait, that is the date you keep forgetting? >_> end of Byzantine Empire
May 29, 1453 :P
 
9:25 PM
i remember it because erdoğan repeats that at every rally ever
 
I'm sure now you'll remember it
 
1+ 345.rotate
I think I got it
This is how you learn dates
 
History was rough for me too b/c of dates. I prefer Gistory, the practice of History where you know crap has happened, but not when or any specific details.
 
lol
@labela--gotoa except that ".reverse" is most probably easier to remember than ".rotate"
 
My favorite is history that doesn't line up in my brain right. Like, Martin Luther King, Jr. and Anne Frank were born in the same year.
 
9:26 PM
@EriktheOutgolfer Oh, that would work too
 
or even this
 
@AdmBorkBork I... You... The... What? Wow. Okay.
 
12345 -> 2->+: 1+345 -> reverse each: 1+543 -> 1543
 
@EriktheOutgolfer except that 1543 ≠ 1453
 
should i include the gpl header on the snippet when posting it to CR? :P
 
9:29 PM
•5³• -> 1453 in 05AB1E.
 
@dzaima well, that's as far as my memory goes, then you do -> sort: 1345 -> 3 is last: 1453
 
Neat because the code has 14 in it lol.
 
@MagicOctopusUrn •5³ also apparently
 
@MagicOctopusUrn I'm sure it's easier to remember the date itself than the compression algorithm to calculate it .-.
 
@betseg Yeh, you don't need closing quotes or ending statements if your program prematurely terminates, it assumes them.
 
9:31 PM
@betseg only when your program ends there though
 
@labela--gotoa except the powers of ten :P
 
@betseg Just like how TFTF"Hi pushes Hi to the stack 100 times. If you wanted to PRINT each "Hi" you'd need the endquote: TFTF"Hi",
 
bai
 
thanks for help :P
 
9:33 PM
0
Q: Want to see a Magic Card Trick?

Magic Octopus UrnThe first magic card trick I ever learned as a child was the following: Have 1 deck of cards where the pattern on the back is not vertically symmetric. Organize all cards to be facing one direction. Ask an individual to, "pick a card, any card, memorize it and give it back to you". Proceed to p...

 
@labela--gotoa Maybe you can remember the word "dehi"?
 
adec? (every nth letter for every digit :P)
 
@betseg That's actually not a bad idea lol. Maybe replace the first 2 digits with the letter corresponding to those two digits? 1453 -> N53?
Dunno how you'd do the months/days though...
 
@MagicOctopusUrn Wait, what is @labela--gotoa trying to remember?
 
(Months-Days)/(Number of Concurrent Wars in that Year)*(The Third Letter of the Current Predominate Religion Converted to ASCII)
 
9:39 PM
@MagicOctopusUrn ‽
 
@Adám May 29, 1453 - As Erik stated, the End of the Byzantine Empire, for a history quiz.
@Adám He was complaining about how genuinely annoying history tests are because they test your ability to memorize dates, not test your knowledge of the over-arching lessons to be learned, etc... That was just a nonsense formula to "help" memorize a date lol.
@Adám I was curious, what did you mean by this anyway?
 
@MagicOctopusUrn Hebrew accent "dehi" is Unicode decimal 1453.
 
@Adám Unless you're using that on the regular I doubt that'd be helpful to most ;P.
 
Not only dates, but also some random, not necessarily useful information + super hidden details
 
just remember it as -16302124800, in unix time
 
9:44 PM
14:53 I'm usually home this time .-.
 
@labela--gotoa "What color was Franz Ferdinand of Austria's favorite scarf?"
 
@MagicOctopusUrn, hah no :P
 
@labela--gotoa If, after us literally discussing the number 1453 for a solid 30 minutes, you miss the answer to the end of the byzantine empire I'll be disappointed.
 
0
Q: Ethics around improving answers in comments

ngnI often prefer to improve other people' answers instead of writing one of my own (unless mine would be considerably different). To be entirely honest, I do this for petty selfish reasons - to show off that I can, to avoid having to explain the answer myself, and maybe to gain some reputation. Th...

 
@labela--gotoa 1 + 4 = 5, 5 - 3 = 2, 3 + 2 = 5 (May) and this is so crazy, that the only proper response is "No!" in German: 9.
 
9:46 PM
@MagicOctopusUrn I wouldn't be surprised if that's the only thing I'll remember :p
 
@MagicOctopusUrn Monochromatic magenta.
 
anyone into flight sims
 
12345.split(2).forEach(x=>x.rotate_left())
 
If so you may want to check yo'self rockpapershotgun.com/2018/02/19/…
 
@Adám Monochromatic magenta? Is this a reference to something :P? Or is that a legit answer from the Archives of Adam :P?
 
9:55 PM
@MagicOctopusUrn Let me give you a hint: If I ever get a magnetic monopole, I'll paint it monochromatic magenta.
 
@Adám Oh... yeah, I'm dumb. Haven't used the word "monochromatic" in quite the long time.
 
@betseg i.imgur.com/RW5BWsh.png shouldve posted a few hours ago :P
 
Can you make Piet programs using paint?
 
yes I think so? but I think colors have to be exact
 
@EriktheOutgolfer obviously :P
 
9:59 PM
@Adám Also thanks for getting me to the wikipedia page on magnets, RIP the next 30 minutes of my life in a good way. I'm like three links deep >_> en.wikipedia.org/wiki/Curie_temperature
 
Because I was busy earlier, I haven't actually seen my name in blue yet.
Ah there it is. Nice :)
 
@DJMcMayhem Gratz!
 
@MagicOctopusUrn the good old wikipedia vortex; you start reading about magnets, suddenly it's been 4 hours and you're reading about Finnish death metal of the early 90s
 
@DJMcMayhem :D nice!
@MagicOctopusUrn yes as long as you turn off anti-aliasing and only click pixel by pixel
 
@J.Sallé Finnish Death Metal you say ( ͡° ͜ʖ ͡°)?
4 hours later I'm back to magnets
 
10:03 PM
@J.Sallé i thik you're describing TVTropes
 
@moonheart08 ಠ_ಠ
 
Totally not trying to trap everyone or anything
 
lol
 
thanks, google: gives me the plot of the matrix (movie) for "matrix plot"
>.>
 
lel
 
@MagicOctopusUrn precisely
 
@Riker wel... what do you expect
 
@J.Sallé 17 years later +2hours I'm in the middle of the hellish cyclical loop that is Wikipedian Finnish ferromagnetic death metal.
 
@EriktheOutgolfer wow such a ripoff
 
18 years later you're at the wikipedia page describing you and your wikipedia adventure
 
10:08 PM
the other one is under maintenance though
 
@EriktheOutgolfer it makes me happy that this may have been a professor's assignment to his/her students at some point lol.
@moonheart08 That'd be so friggen' meta...l
 
@MagicOctopusUrn That sounds strangely appealing. I need to listen to some of that now
 
@J.Sallé Anywhere remotely non-american + the words "death metal" basically have me thinking of Toki from DeathKlok immediately lol.
I never watched the show, just the way he talked had me loling sometimes.
 
@MagicOctopusUrn Hah! Toki's a great character
 
@J.Sallé You're nots just sayings that are yous?
 
10:17 PM
@MagicOctopusUrn totes nots
 
Inb4 DJMcMayhem comes back in here and his eyes are immediately drawn to the only bolded text in the whole channel... Wikipedian Finnish ferromagnetic death metal?!?! I literally don't think we could get more off-topic lmao.
 
Searching "ferromagnetic death metal" yields things about removing metal items before MRI. Now I cannot unsee that.
 
@Adám oh god ಠ_ಠ
 
ಠ_ಠ
 
@MagicOctopusUrn ty
 
10:30 PM
@Riker Fair enough.
@Riker Still was an interesting read on why that's the fact though haha.
 
^
 
http://en.cppreference.com/w/cpp/language/constraints

My savior has come
Oh, and more opprotunities for compile time template code
lul
 
:42971092 I almost got that one but the Ç was in the wrong spot >.>
 
@J.Sallé The markdown is messing me up. Hang on.
Preparing for next webinar:
CMC: [["·abcdefghijklmnopqrçtuvwxy","·ä·············ö···s·ü····"],["-ABCDEFGHIJKLMNO‌​PQRÇTUVWXY","·Ä·············Ö···S·Ü····"]] (where · indicates a space)
Easier to visualise with the default APL output:
 abcdefghijklmnopqrçtuvwxy
 ä             ö   s ü

-ABCDEFGHIJKLMNOPQRÇTUVWXY
 Ä             Ö   S Ü
 
I see it now, but why is Ç in S's place?
 
10:45 PM
@J.Sallé It's a placeholder for ß/ẞ.
 
@Adám Ah, I see
 
@Adám :|
 
@ASCII-only Why the frown?
 
> placeholder
 
@ASCII-only I need it because I'm doing successive replacements with ß and . If I used the proper characters, the replacements would keep expanding forever.
 
10:55 PM
@Adám Why no z?
 
@DJMcMayhem Because typos :-(
 
Should I do 'z' if I answer it?
 
@DJMcMayhem Yes. (Where is the CMC sandbox?)
 
@Adám this makes me really want ⍳'z' to work >.>
 
@J.Sallé 819⌶⎕A?
 
10:57 PM
@Adám yeah but ⍳'z' is 2 bytes shorter :p
 
Also, why the dash on the uppercase but space on the lowercase?
 
@DJMcMayhem That's intentional. It means that spaces and dashes initially sort identically and only if we need to tie-break, then dashes come after spaces.
 
@DJMcMayhem All of this is really a left argument to APL's function which sorts with a custom alphabet. Each dimension in the alphabet indicates another level of sorting. So initially, aäAÄ all sort the same, but then if we need to tie-break, a and ä precede A and Ä, and only then do we tie-break by letting a precede ä and A precede Ä.
@DJMcMayhem Isn't that a 4×27 table?
@DJMcMayhem 30 bytes or chars?
 
Bytes. (The code in my message is slightly different cause of markdown)
@Adám Yes. Is that a problem?
 
11:05 PM
@DJMcMayhem Yes, look at the "CMC" line. It's a 2×2×27 array. APL indicates the two separate layers with an empty line.
 
V doesn't really have arrays. Is a blank line in the middle good enough?
 
@DJMcMayhem OK then.
 
@DJMcMayhem Neat. So V's character set has all those chars? Good thing I didn't use ß and ẞ, eh?
 
Haha. V has ß but not
 
11:11 PM
@DJMcMayhem I don't think any character set has ẞ. It isn't even properly supported by Unicode: It lower-folds to ß, but ß doesn't upper-fold to ẞ.
 
Strangely enough, to lower is ß, but ß to upper is SS in V
 
python does that
 
9
Q: Case-fold German

AdámGiven a German string and an indication of a case (lower/upper/title), fold the string to that case. Specifications Input will consist only of a–z plus äöüß-,.;:!?'" in uppercase and/or lowercase. The target case may be taken as any three unique values (please specify what they are) of a consi...

 
@Adám I think C# does that if you set Culture to German.
 
@Pavel I doubt it, but would love to have it verified.
 
11:15 PM
I'm not sure though, C# Culture always seems to affect only the stuff you don't want it to affect.
 
@Pavel It appears not. (⎕NEW String(⊂,'ß')).ToUpper⊂⎕NEW Globalization.CultureInfo(⊂'de-DE') gives me ß.
 
It does do things, like, remove the dot off of I sometimes
And make int.Parse swap the meaning of . and , which is particularly annoying if you're storing a CSV of floats.
 
@Pavel Yes, (⎕NEW String(⊂,'i')).ToUpper⊂⎕NEW Globalization.CultureInfo(⊂'tr-TR') gives me İ.
 
On the other hand, things like string.Equals will consider ß and ss to be the same with de-DE culture.
 
@DJMcMayhem could you unfreeze VSL room: chat.stackexchange.com/rooms/46888/vsl
 
11:29 PM
@Pavel I don't know enough .NET to try that. Maybe after tomorrow's lesson you'll be able to.
 
@Downgoat Done. I've never done that before :D
 
@Adám How do you call .NET functions in Dyalog with 3 arguments?
 
@Pavel Notice the s ? That's because it has to be a single argument. Multiple arguments would just be a vector of arguments.
@Pavel E.g. inst←⎕NEW SomeObject(arg1 arg2 arg3) or inst.Function arg1 arg2 arg3
 
@ASCII-only can you come into VSL room have design question now that working on backend
 
@Adám String.Equals(⊂,'ß' ⊂'ss' StringComparison.CurrentCulture) in that case
I think
Or InvariantCulture
Or C#
 
11:37 PM
@Pavel String.Equals (,'ß') 'ss' StringComparison.CurrentCulture indeed returns 1.
@Pavel C# requires so much boilerplate and extra syntax (parens and semicolons and commas…) Much easier to write the equivalent Dyalog APL. Wonder if there is anything that can be done in C# which cannot be easier done in Dyalog APL.
 
@Adám Hmm... async/await?
@Adám Do you know what your CultureInfo.CurrentCulture is? On TIO it's en-US.
 
@Pavel I have en-US on my local machine too.
@Pavel Dunno. Show me!
 
oh yeah @Downgoat how do you feel about you and Chatgoat being sacrificed to the mods
 
@J.Sallé oh yes I should really (try to) fix everything that's broken on it sometime soon
 
11:45 PM
 
@Fatalize You mean 6-8 weeks after we have 6-8 mods (as in not a guarantee until we get our 8th mod)
@Adám like Charcoal :P
 
@ASCII-only what
 
4 hours ago, by Martin Ender
@Mego @DJMcMayhem Welcome aboard! :) We're getting the goats ready for the inauguration ritual.
 
0
Q: Regex for multiples of 9

Alex MeiburgIt is easy to describe a finite state machine that recognizes multiples of 9: keep track of the digit sum (mod 9) and add whatever digit is accepted next. Such a FSM has only 9 states, very simple! By the equivalence between FSM-recognizability and regular languages, there is a regular expression...

 
@Pavel Sorry, I don't know enough to copy that. But Dyalog APL can certainly spin up parallel threads and have them await each others' completion. For things where performance isn't an issue, it is extremely easy using APL threads (where APL slices the time of a single CPU thread), but the isolate workspace makes it quite easy to do even proper CPU threads.
 
11:54 PM
@Adám Here's a better example:
 
@Pavel argh comment overload
 
@ASCII-only I'll admit return 4; //return 4 was a bit much
 

« first day (2579 days earlier)      last day (2255 days later) »