« first day (2019 days earlier)      last day (2825 days later) » 

5:00 PM
how do i update a GM/TM script?
 
Another poll because I can't choose an emoji to represent a given char: What emoji would best represent a ' sign (single quote)?
 
30
Q: Print a 10 by 10 grid of asterisks

Leaky NunBackground This is a standard textbook example to demonstrate for loops. This is one of the first programs I learnt when I started learning programming ~10 years ago. Task You are to print this exact text: ********** ********** ********** ********** ********** ********** ********** *********...

10k views \o/
 
126 answers
Some day it'll reach Hello, World levels
 
@LeakyNun It took Truth Machine 2 months to get 10k views
 
@quartata thank you
 
5:08 PM
I'm not sure what I'm more mad about: that or the fact that it disproves that our voting is driven entirely by HNQ
(10k views, but the highest voted answer is 38 which easily could have come from all regulars)
 
What is HNQ?
 
hot network questions
 
@zyabin101 ✏️ for chr 📝 for string
 
@Downgoat I use 📝 to write to output and 🔠⚫⚫⚫🔡 for string literals. But ✏ is not square for my Android environment.
🔏 Thanks. :3
 
5:12 PM
This always drives me nuts:
158
A: ConcurrentModificationException and a HashMap

RobinThis is not a synchronization problem. This will occur if the underlying collection that is being iterated over is modified by anything other than the Iterator itself. Iterator it = map.entrySet().iterator(); while (it.hasNext()) { Entry item = it.next(); map.remove(item.getKey()); } Th...

 
There is now the other pool remaining: What emoji would best represent a % sign (percent)?
 
every time I see it I always forget and start slathering my code in mutexs and synchronized blocks
 
Emojicode uses 🔤 for string literals
 
These are all boxes
 
Emojicode uses 🚮 for modulus (% in most languages)
 
5:15 PM
2
Q: Slices of triangular alphabets

TimmyDGiven an input number n from 1 to 26 (or 0 to 25), output the alphabet reading left-to-right up to and including that corresponding letter, with a=1, b=2, c=3, .... The twist is the letters must also be repeated vertically corresponding to their position in the alphabet. Odd numbers (when 1-index...

 
@flawr Teehee. Reminds me of the name of the island in The Incredibles (by Pixar): Nomanisan Island.
 
Jul 26 at 7:44, by zyabin101
@LeakyNun You're officially at 10k!
And I'm 12k now
Well, almost
 
That's pretty old
 
@ReleasingHeliumNuclei Okay, for now I'll use 🚮.
🚮 Thanks.
Next poll: What emoji would best represent _ (underscore)?
And probably another: What emoji would best represent ` (backtick)?
 
@zyabin101 -_-
 
5:28 PM
@zyabin101 modulus is what's left behind after a division, so the trash emoji iz gud representing it
 
@LeakyNun That's an emoticon, not an emoji.
 
@zyabin101 there's an emoji for it
 
@LeakyNun Which?
 
@zyabin101 I'm not on mobile
 
@zyabin101 😑
 
5:32 PM
Last poll: What emoji would best represent ` (backtick)?
 
@Dennis Could you please pull 05AB1E?
 
@Adnan Pulled.
 
Thanks :)
 
@zyabin101 ↩
 
that's not an emoji
that's just a unicode return symbol
 
5:36 PM
@ReleasingHeliumNuclei Not squarey enough.
 
@zyabin101 🔙?
ninjuic'ed
 
🔙 Thanks!
 
I wish there was a ninja emoji
Lets ask unicode consortium to make one! :p
 
(|:|) <== here's a ninja emoticon
 
please sir
can I have 1 more byte?
 
5:59 PM
Good News Everyone!
I'm not dead!
@HelkaHomba I got up to 40mph
 
you evolved into gyrados?
 
I had my first driving lesson
 
Was it an automatic or a manual?
 
manual
 
Nice. I learned in an auto but now drive and own a manual
 
6:17 PM
I strongly prefer manual, but had to switch to automatic due to leg pain.
 
@Dennis Thanks
 
I am scared to drive
I have to get my permit soon
When I feel like putting in the effort for the paperwork
 
-.- ruby has no pi constant
 
@Fatalize 'Murica
 
I don't care what the docs say, it's not on my ruby >_<
wait
do you call constants with a dot or with two colons
ugh. I'm an idiot, carry on >_<
 
@Dennis When you get the chance, could you pull Jellyfish?
 
@Zgarb Done.
> The OEIS may be off the air this weekend August 13 to 14 so that we can upgrade the server. There may be further interruptions later.
Uh oh!
 
Thank you!
 
@Dennis Beat my perfect score xd
 
6:36 PM
@Dennis that's when to do the challenge... :3
first gold badge on lifehacks \o/
 
And that for your first and only question. Impressive...
 
bows thank you
I have equal gold and silver badges on that site
 
@ConorO'Brien
 
which one is that?
 
30
Q: Print a 10 by 10 grid of asterisks

Leaky NunBackground This is a standard textbook example to demonstrate for loops. This is one of the first programs I learnt when I started learning programming ~10 years ago. Task You are to print this exact text: ********** ********** ********** ********** ********** ********** ********** *********...

 
6:41 PM
oh, code golf
you had the help of the HNQ >_>
 
Oh, thanks HNQ
 
for like, 3 days XD
 
Who here is excited for the Doodle Fruit Games? :3
 
what is that?
 
6:56 PM
Update the Google app on Android to find out :3
 
@Sherlock9 I think you're still only making one handshake for those. The io games use websockets, right?
 
@zyabin101 I don't have andriod
 
:(
Then what mobile system do you have?
 
iPhone
 
0
A: Slices of triangular alphabets

DennisJelly, 25 bytes RØaxŒgz⁶W€;ṚL‘$¡¥/Ṛ⁸H¤¡j⁷ Try it online! or verify all test cases.

 
7:01 PM
@ConorO'Brien Then I don't know what's with the Doodle Fruit Games on the Google app on iOS. :/
 
Ah! There should be the Doodle Fruit Games on the Google app on iOS! :3
Update the Google app and find out! :D
And the latest Doodle Fruit Games doodle. Today's sport is golf.
 
google has an app? why
how many alphabet challenges have we had? :?
 
Probably around 5 or 6
 
@ConorO'Brien More than enough.
 
7:13 PM
@Poke Ah never mind. I don't know enough about Web backend to contribute much to this conversation. Sorry
We should do challenges in Cyrillic. Or Hangul
 
@El'endiaStarman I'm looking for a list
ugh I'm horrible at searching and remembering
 
Heck, hiragana and katakana would be great, too
@ConorO'Brien Check Leaky Nun's profile. He posted a lot recently
 
How code is the Unicorn support for any alphabet outside of the Latin alphabet? I'm not sure many languages have a Unicode lookup table larger than extended UTF-16 maybe
 
7:25 PM
Ooh, interesting challenge. Given an input in IPA, transliterate it into all of the following alphabets: Cyrillic, Greek, Hangul, maybe the Latin alphabet if it had more rules for what letters or clusters represented which IPA sounds
Dang autocorrect
 
#include <stdio.h>
#include <stdlib.h>

void f0(int i0, char c0) {
    int i1;
    for (i1 = 0; i1 < i0; i1++)
        putchar(c0);
}

void f1(int i0, char c0, char c1) {
    int i1;
    for (i1 = 0; i1 < i0; i1++) {
        putchar(c0);
        putchar(c1);
    }
}

int main(int i0, char *c_P0[]) {
    int i1, i2, i3;
    i1 = i0 > 1 ? atoi(c_P0[1]) : 2;
    i2 = i0 > 2 ? atoi(c_P0[2]) : 4;
    if (i1 < 0 || i2 < 0) {
        printf("Remember what happened LAST time you messed with negative S'mores?");
^ a simple S'more-generating program I made when I was bored
 
0
A: Sandbox for Proposed Challenges

PeanutYour job is to take an input like below: Hello, world! π is cool! and output it as a series of <kbd>. Every character, including enter and space get their own <kbd> HTML element, like so: Hello,SPACEworld!NEWLINE OPT + PSPACEisSPACEcool! Other characters like space and newl...

 
> Remember what happened LAST time you messed with negative S'mores?
XD
 
In this context, what is a S'more?
 
A s'more (sometimes spelled smore) is a traditional nighttime campfire treat popular in the United States and Canada, consisting of a fire-roasted marshmallow and a layer of chocolate sandwiched between two pieces of graham cracker. National S'mores Day is celebrated annually on August 10. The Guinness World Record for number of people making s'mores at one time was 423, set April 21, 2016 in Huntington Beach, California. == Etymology and origins == S'more is a contraction of the phrase "some more". Although the exact origin of the treat is unclear, reports about scouts from as early as 1...
American thing
 
7:33 PM
I am aware of the food. In the context of Legion a man's program, what is a S'more?
 
Oh, I guess it prints an ASCII-art S'more?
I don't think it means anything in the context of programming...
 
Ah
Interesting :D
Thanks
 
@Sherlock9 Are you speaking with the Google Speech Input?
XP
> Legion a man's
 
I planned out/wrote like 5-6 hours of code without compiling. Just now, I compiled, and everything works. ★◡★
3
Functional programming is like cheating.
 
@Lynn You must be a wizard amongst men.
 
7:37 PM
One of the advantages of declarative programming
 
@Lynn ★_★
 
@El'endiaStarman You mean a witch among… ah, forget it.
 
@Lynn ....I swear I'll get the gender right one of these days...
 
I think wizard among women is right. I don't think wizard implies a gender does it
Although witch sounds a little better? Dunno
 
I should change my name to Lynnwhoisdefinitelynotaguy
Hm, I thiiink wizard can be either, yeah
 
7:40 PM
@quartata "a person who is very skilled in a particular field or activity" - sounds neutral to me
 
Wait so Lynn is a guy?
</troll>
 
Alright, let's get into the linguistics of magic-wielding people!
 
facepalm
 
@El'endiaStarman Witch implies warlock which is different
 
@Lynn I think so.
 
7:42 PM
@Poke Let's not troll about stuff like that, please?
5
 
13
A: Is there a gender-neutral term for witches and wizards?

RedCaio"Wizard" can be used for males and females Dumbledore uses the term "wizards" to refer to both males and females. HERMIONE: Please believe us. DUMBLEDORE: I do, Miss Granger. But the word of three 13-year-old wizards will convince few others - Prisoner of Azkaban (film) The s...

 
I think witch and warlock are the only ones specific to a gender
 
nailed it
 
Lynn the witchard
 
Guess what: it’s neutral according to frickin’ Dumbledore.
If that isn’t authoritative…
 
7:42 PM
Highly accurate source
 
There may be situations that lend themselves to high amounts of trolling
I won't resist the urges
 
@Lynn You mean Dublefrickindore
 
@quartata Source: I'm a wizard
 
In Turkish, there is one female term and one gender-neutral term.
 
That's even weirder
 
7:44 PM
@flawr From what I've read, English is perhaps the only language with the so-named "F'ing-insertion", where the F-word is inserted into the middle of a word. I say this because where I read it said that linguists found it very interesting that English-speaking people do that.
 
@flawr also, s/ub/umb/
 
@El'endiaStarman absofuckolutely
 
On another note, I do have a male, straight friend that calls himself a "witch" (he and his "wife" are pagans), so apparently "witch" can be gender-neutral too.
 
That is one of the strangest sentences I have ever read
 
What are pagans?
 
7:46 PM
no offense to your friend
 
I think gender neutral witch is a well established usage, even though it is also used to mean female
 
@El'endiaStarman I’ve heard of that kind of thing, too!
 
0
A: Sandbox for Proposed Challenges

Greg MartinTesting for admissible sequences Executive summary: test whether an input sequence of integers is "admissible", meaning that it doesn't cover all residue classes for any modulus. What is an "admissible" sequence? Given an integer m ≥ 2, the residue classes modulo m are just the m possible arit...

 
@El'endiaStarman What's a "wife"?
 
a pseudowife
or a hobbywife
a part-time wife?
 
7:48 PM
Does that make him a "husband"?
 
@flawr Paganism is a "religion", albeit one that is ill-defined and very broad. People who believe in god(s) from mythology are generally considered pagans.
 
0
Q: Data from excel query is not in number format in Excel

Rovshan AliyevI am querying using Excel 2013-DATA tab-From Other Sources-From Microsoft Query. Everything works I am getting what I need but the format of numbers is not in right format and I am doing everything to change it but I can't. I know escel quite well, so I tried everything that everybody would try f...

 
PENGUIN'D
8
 
I put "wife" in quotes because so far as I know, they never legally married or had a typical wedding ceremony. They would've had a hand-fasting, which is a pagan version, so to speak.
 
I’m late, but.
 
7:49 PM
@El'endiaStarman I always wondered how that worked
Is it weird that I'm a native english speaker who stops mid sentence to think about things like that
 
@NewMainPosts ( ͡° ͜ʖ ͡°)
 
@Lynn hahaha
Guess I'm not
 
Referring to "gods from mythology" makes some perhaps unintended assertions about the relative importance of different beliefs
3
 
@Lynn I wonder whether you can actualy write down rules on how fuck can "correctly" be in-fucking-serted.
 
I mean it doesn't make any grammatical sense. It's using a gerund as an adverb
 
7:51 PM
@trichoplax In some sense, yes. That said, the vast majority of pagans (so far as I know) believe in higher powers that show up in (what people generally call) mythology more than decades old.
 
should we have a validation tag?
 
ven
@Adnan mh, did you rename a lot of commands in 05AB1E? I can't seem to refer to the docs, I keep having to use the interpreter's source
 
@ven I'm pretty sure I haven't renamed anything
Except »
 
@flawr People have tried! Like John McCarthy, “Prosodic Structure and Expletive Infixation”, Language 1982.
7
 
7:53 PM
What's the problem then?
 
Because of course they have, they’re linguists.
 
@zyabin101 I couldn't figure out how to parse that thought. So I wrote it three ways
 
@El'endiaStarman I wasn't complaining about dismissal of recently founded myths. I was trying to subtly point out that classifying some but not all gods as mythology treats some beliefs as less valid than others (especially where both types are equally ancient).
 
@Lynn Ha-fucking-ha, so fucking cool!
 
Wikipedia paraphrases his findings:
> For example, although unbelievable and irresponsible have identical stress patterns, and the first syllable of each is a separate morpheme, the preferred insertion points are different: un-fuckin'-believable, but irre-fuckin'-sponsible. McCarthy explains this by saying they have different prosodic structures: un(be((lieva)ble)), but (irre)((sponsi)ble).
 
7:54 PM
@Lynn Still need to learn that. My list of things to do grows every day
@zyabin101 ah. Damn autocorrect
 
@trichoplax Point, although it does also matter what one defines to be mythology. (And that question was answered on Meta.Mythology the first day of beta. :P)
 
@Lynn Let's make a challenge out of this: Make a program that takes and english sentence and inserts fuck/-ing wherever possible according to those rules=)
 
@NewSandboxedPosts y u mac ಠ_ಠ
 
Oof, you need prosodic structure information about each word though.
 
I probably won't play the Doodle Fruit Games this year D:
 
7:55 PM
@Lynn Which article?
 
It's kinda funny to think there's a whole generation of kids growing up with functional programming
 
Expletive infixation is a process by which an expletive or profanity is inserted into a word, usually for intensification. It is similar to tmesis, but not all instances are covered by the usual definition of tmesis because the words are not necessarily compounds. The most commonly inserted English expletives are adjectival: either participles (fucking, mother-fucking, freaking, blooming, bleeding, damned) or adjectives (bloody). Although most speakers are not exposed to these formations until after childhood, they can form new examples readily once introduced to the process, and their judgments...
 
ven
@Adnan oh my god, and it HAD to be the one I looked for :[
 
ooh my keyboard haz a backtick i just noticed while looking at it
 
@Lynn Thanks!
 
7:56 PM
@quartata ahh c'est moi
 
That’s what the process is called.
 
I mean, it's always been there but now it's much more mainstream
 
@El'endiaStarman I don't know if you have seen a film called "Dogma"? I now have the scene about Christian mythology in mind...
 
Because I found negative reviews on Play Store on these...
 
To think that there will be a generation of programmers who are liek "While loops make no sense"
 
7:56 PM
@ven Yeah, I messed that one up pretty badly
Took me 4 commits to actually fix it
 
@ReleasingHeliumNuclei i always copied from googled :(
 
I've had to take one class entirely about functional and one class entirely about OO
The others weren't anything specific
 
Cheddar is a OO functional language
because cheese
 
?
 
semi-oo, currently.
 
7:57 PM
@trichoplax C.S. Lewis (a well known Christian writer, for those who don't know) even called Christianity a "true myth".
 
Considering it doesn't have classes and it doesn't have recursion I don't think it qualifies as either yet
Scala is OO functional though.
 
> doesn't have recursion
weird ಠ_ಠ
 
@Lynn That's fascinating.
 
@quartata :D Imperative programming actually feels kind of like a subset of functional programming to me!
 
imperative programming was before functional programming, so its false
 
7:59 PM
Like I’m stuck in the State monad or something.
 
heh
 
@quartata Scala supports both but I don't know that I'd phrase it like it is both
 

« first day (2019 days earlier)      last day (2825 days later) »