« first day (2025 days earlier)      last day (2861 days later) » 

9:00 PM
I'm not really sure how to tell exactly what is going on
@NathanMerrill i see lots of question marks
good, so do I :)
@TùxCräftîñg Good, your penguin education has worked
@trichoplax Cyanide and Happiness did something similar with their Random Comic Generator
9:01 PM
@NathanMerrill Where'd the text come from?
I'm downloading from SE's API using Java
and that's what I'm getting back
@Mego What's the difference between Sage and Python?
@Chad fgsbhsegbuyreHellofewvyauvf
9:03 PM
Okay, anyone here interested in yesterday's 𝑓?
@NathanMerrill Any chance you could link to the original source on SE?
codegolf.stackexchange.com/questions/89923/is-it-a-wordinian If I understood right, I have to set a word stage and if someone in input write some parts of start (like s,t,a,g,e, st,ag,e etc.) it returns true and viceverse?
it works in the browser
@NathanMerrill you need jQuery
codegolf.stackexchange.com/… If I understood right, I have to set a word stage and if someone in input write some parts of start (like s,t,a,g,e, st,ag,e etc.) it returns true and viceverse?
9:05 PM
Pls answer me
@Chad There are two inputs, the word to be tested and the dictionary containing all English words
@Chad if it ie a meaningful word
lol ninja'd
@Chad If the word to be tested contains a word of every length up to its own length, you output True, otherwise False
9:06 PM
I go to work on it
So "cat" would be True, because "a", "at" and "cat" are all words
Same for "goat"
Does anyone here have a smart watch? If so, would a Stack Exchange app for it be useful?
I've got plans for Pebble apps
But "dog" would be false, because it doesn't contain a 1 letter word
@βετѧΛєҫαγ Sage is Python with a buttload of mathematical builtins.
It's essentially Matlab in Python
9:09 PM
I'm creating my first test server (on c9), What can I install on? I installed Apache, MySQL, Node, PHP and htop.
i just noticed
Puzzling SE and Workplace SE have the same icon shape
@trichoplax 3?
welp no interwebz
oh its back
@ReleasingHeliumNuclei Lose the g
Did anyone used C9.io here?
bah, it appears that by the time I store it in a string, my code points are already messed up
9:11 PM
i learnt a new word yay
Me too
I learnt stag
@ReleasingHeliumNuclei Does this mean you've never tried porridge or flapjacks?
I’m lazy, but someone else should figure out what the longest wordinian in ENABLE2K is.
@trichoplax im not american i didnt see the word anywhere
welp no interwebz agane wat iz happeningz
9:16 PM
@ReleasingHeliumNuclei I'm not american either. I thought oats were available most places but I've only had them in the UK
oats? TIL
@trichoplax Why do you think we need bigger pictures?
@flawr To fit more black pixels, and more empty pixels between them, to give a larger search space to avoid optimal solutions
@trichoplax im not in a place that mainly speaked english
@ReleasingHeliumNuclei Ah I see - so it's not that you haven't heard of the food, just haven't heard the word for it
9:17 PM
@trichoplax yup
@trichoplax Ok, but I have no more creativity left today.
@flawr Ideally there would be some way of testing how difficult a given image is (a reasonably efficient reference implementation)
I've posted a challenge with an achievable optimal solution before and it was a bad idea :)
@El'endiaStarman I think I figured it out. Its GZip compressed
Anyone here know JS?
We all know and love JS
9:20 PM
@Chad yes
JavaScript is my new favourite language
I've converted from Python
@βετѧΛєҫαγ :D
@βετѧΛєҫαγ It is Haskell, but you just don't know yet.
i still use python
9:22 PM
How to can I get dates from file .txt?
but i use JavaScript for big projects
@Chad regexs
@NathanMerrill Ahh, interesting.
@flawr Actually, it's Fourier but you don't know it yet ;)
@Chad What does file.txt look like?
I have raw.githubusercontent.com/JacquesMarais/ENABLE2K/master/…, can I create an array like ["a", "aa"] etc.
Yeah, you want regex
9:23 PM
@Chad text.split(/\n/)
@Chad XMLHttpRequest + Split?
@TùxCräftîñgu I know but
where text is your text
how to get .txt?
9:23 PM
xhttp.open("GET", "https://raw.githubusercontent.com/JacquesMarais/ENABLE2K/master/words.txt", true);
$.get(URL, function(data), function(error));
@TùxCräftîñg Alternatively, HECTOR.
9:24 PM
@TùxCräftîñg jQuery is bae
var req = new XMLHttpRequest();
req.onreadstatechange = function() {
    if (req.readyState === 4 && req.code === 200) {
        var ar = req.responseText.split("\n")
req.open("GET", "https://raw.githubusercontent.com/JacquesMarais/ENABLE2K/master/words.txt");
@βετѧΛєҫαγ ಠ_ಠ
@Chad ^^
@ΛεγίωνΜάμμαλϠΨΠʹ Hmm, I wonder why no one has responded in the affirmative to the three or four times you've asked that question...
Can I use a = req.open("GET", "https://raw.githubusercontent.com/JacquesMarais/ENABLE2K/master/words.txt") and a.split(/\n/)
9:25 PM
req.open is asynchronous so that wouldn't work
where the dates goes?
@Chad dates?
yes, req.open()
solution: don't use js
9:26 PM
I get the text
i think he mean data
@βετѧΛєҫαγ how
yes, I meant it
it's js
it doesn't matter what it has
it's js
9:27 PM
pls comic ideas? :3
^^ flags as offensive
For some reason I'm using the same algorithm as @Dennis but mine is taking a decade to run...
I know JS and Bash.
@EᴀsᴛᴇʀʟʏIʀᴋ i am making comic but idk how 2 funee
9:27 PM
A: Right and tfeL truncatable primes

DennisJelly, 26 23 bytes Forward Ѷp9¶7ÆR2ĿV€$ÆPÐf$ÐĿFị@ Try it online! Words Ñ ¶ p 9 ¶ 7ÆR2ĿV€$ÆPÐf$ÐĿFị@ Backward 7ÆR2ĿV€$ÆPÐf$ÐĿFị@¶9p¶Ñ Try it online! Words 7ÆR2ĿV€$ÆPÐf$ÐĿFị@ ¶ 9 p ¶ Ñ

and Latex too.
I'm not sure if I can get data file txt in latex
@Downgoat why u make comic
why not read cergos insteed
@LeakyNun Unless I switch to automatic updates or someone pings me in chat, yes.
@βετѧΛєҫαγ i know.
@EᴀsᴛᴇʀʟʏIʀᴋ Are you 13?
@Dennis What if I ping you now?
9:29 PM
Shots fired
@EᴀsᴛᴇʀʟʏIʀᴋ becus interesting blog get no views ;_;
@EᴀsᴛᴇʀʟʏIʀᴋ i do
@LeakyNun Pulled.
@Downgoat y no make js guest comic for cergos
@Dennis Thanks
then you link blag and get views
@Downgoat ... i read it regulary
9:30 PM
Also, can you help me with that above?
wtf wordpress
Oh @Dennis, can you update Fourier on TIO
I added some stuff
@EᴀsᴛᴇʀʟʏIʀᴋ :O rly? thx vm
9:31 PM
very much
@Chad ?
you mean unprotect? No. It's protected for a reason
@Chad Reopen? It isn't closed, it's just protected
meaning you need to gain 10 rep first
9:31 PM
Answer something like my question
you need 10 rep to answer it, then you can
Get 10 rep with an answer upvote
> </shameless self promotion>
Or two upvotes in a question
@EᴀsᴛᴇʀʟʏIʀᴋ you know it ;)
9:32 PM
you just need the closing tag
Can Emmet be considered a language?
I mean, Someone used Vim too.
What's Emmet? Do you have a link?
or else my regex (ಠ_ಠ)+ parser can't parse it right
@Chad link pls
Emmet is a text editor
9:34 PM
someone even used Notepad to answer, so i think text editors are allowed
@EᴀsᴛᴇʀʟʏIʀᴋ idea?
Emmet is a tool that helps you a lot of.
div (you tab) -> <div></div>
Emmet (alt spellings emmit or emit) is a pejorative nickname that some Cornish people use to refer to the non-Cornish. It originally referred to tourists who visit Cornwall but has also been used by native Cornish Folk to refer to "incomers" or residents who have moved to the county but were not born there. The more usual term "blowins" is used by the Cornish to describe new residents from outside Cornwall. The related terms Overner and Overlander are used on the Isle of Wight to refer to outsiders from the mainland, who are viewed with similar levels of suspicion. == Etymology == It is commonly...
@TùxCräftîñg wait wat no
9:34 PM
only on kolovoromorocokokookvapojsdfklascfndja complexity
@NathanMerrill Oh, okay
s/complexity/stupidity/ for(;;){s/o/oo/g}
@Downgoat It's spelled Kolmogorov fyi
its technically a text editor plugin, but for code-golf purposes, its functionally the same as a text editor
@Downgoat server side js
9:37 PM
that said, Vim has a very well defined Keystroke-to-byte conversion
I'm not sure if the same could be said of Emmet
tab = \t = 1 byte
pls halp i need to parse html with regex
limited tho
not much
A: RegEx match open tags except XHTML self-contained tags

bobinceYou can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...

if you do this Zalgo will destroy the world
please dont ;_;
nothing wrong with using it to actually replace text
that happens to be html formatted
> ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚​N̐Y̡
@Tony y u do dis ;_;
9:41 PM
@EᴀsᴛᴇʀʟʏIʀᴋ do you care if you replace some html as well?
only any HTML within the <div class="navbox"> and </div>
Migrated to Arts&Lovecraft.SE
but anything, newlines and all
specifically in sed
> Have you tried using an XML parser instead?
@EᴀsᴛᴇʀʟʏIʀᴋ can the navbox contain other html?
if so, its not possible with regex
@trichoplax hahahahahahaha
@βετѧΛєҫαγ Done.
@quartata :)
@NathanMerrill but not another </div>
9:43 PM
I'm jumping on the bandwagon here. Comic strips will be available infrequently at git.io/comic
@EᴀsᴛᴇʀʟʏIʀᴋ then, sure that's possible
question tho: my regex so far
<div class="navbox">\n(.+\n)+?.+<\/div>
@quartata I resisted the urge to actually create a room by that name
well, it completely depends on your regex engine
this doesn't work in sed though? anybody know why?
9:43 PM
@mınxomaτ Shit, now if I ever actually start my comic I'm going to look unoriginal... oh wait
some regex engines don't ever match newlines
@El'endiaStarman Where's that CA simulator dealy of yours?
@Dennis Great :D
Q: How can I replace a newline (\n) using sed?

hhhHow can I replace a newline (\n) using sed? I unsuccesfully tried: sed 's#\n# #g' file sed 's#^$# #g' file How to fix it?

Q: Alphabet to number

ChadChallenge In this challenge you have to take in input a number and get a letter in alphabet and vice versa. (1 -> A, 2 -> B) etc. 1 -> A 2 -> B A -> 1 100 -> This letter doesn't exist. ! -> Please input a number or a letter. Rules The golf most short, wins. You can't ...

9:45 PM
> You can't create variable
Well that's rather problematic
You can use array
const too
@Chad a variable is really hard to define
we have lots of languages with no concept of a variable
@Chad Haskell and erlang's variables are immutable
@EᴀsᴛᴇʀʟʏIʀᴋ i think <div class="navbox">\n(.+?\n).*?<\/div> is better
@quartata Why?
9:47 PM
Because they are?
if they are immutable they cant be called variables
a variable can be modified
This is not true. Mathematical variables are immutable by definition
You can't create variable, just arrays, let and const.
Is it ok now?
> just arrays
a = [0]; a[0] # my variable
In mathematics constants can tend towards other values too
9:49 PM
@Chad remove the requirement. You are trying to do a "X without Y":
A: Things to avoid when writing challenges

xnorDo X without Y This isn't always bad, but it's been a particular trap for beginners, so be careful. In the past, there were popular questions about doing a simple task but with the obvious method banned: Produce the number 2014 without any numbers in your source code How to write a C program ...

@Chad What does "let" mean? In Rust and many other languages, let is the keyword used to define variables.
9:50 PM
@LeakyNun Oh hey, I forgot about that challenge
@quartata That's why gold badges exist
in JS let is a keyword to define scope-specific variables
because they remember about that challenge
@LeakyNun Uh, what? How is that a duplicate?
@Doorknob <explains how duplicate means trivial modification />
<explains how the question is just conversion from base 10 to base 26 and vice versa />
9:51 PM
@Doorknob It's a subset of it
its not a conversion to base 26.
1 in base 26 is not A
its 1
Q: Alphabet to number

ChadChallenge In this challenge you have to take a number as input and output the corresponding letter of the alphabet, and vice versa. (1 -> A, 2 -> B) etc. 1 -> A 2 -> B A -> 1 100 -> 0 Rules Shortest code wins. You can't create a variable, just arrays, let and const.

@quartata That doesn't mean it's a duplicate at all
@NathanMerrill just add 10 and then convert
@NewMainPosts 1111111111111111111111111111111111111111111111
9:51 PM
duplicate = trivial modification of
It changes.
It's a lot easier to index into a string than it is to do full base conversion.
@Doorknob then I should have closed as duplicate of alphabet instead?
An Hello world is easy too.
No. I still don't see how it's a duplicate of anything.
9:52 PM
Anyway I'm closing it as duplicate
@Chad "You can't create a variable, just arrays, let and const.", from my experience, this isn't a good idea.
close it as too broad, but not as a dup
It seemed unclear. I thought it was just A-Z <=> 1-26, but the 100 -> 0 case is confusing
@Doorknob That's because it isn't
9:53 PM
(but lost all the votes)
and I was told that one cannot vote again
so I apologize
@Chad much better!
@Chad Nice :)
@Chad Why is 0 the 100th letter of the alphabet?
@HelkaHomba I think he means output 0 for an invalid case
Unclear :|
9:54 PM
@Chad What input will we need to handle?
since there are invalid inputs that we need to handle
You can use string letter (A, B, C) and numbers from 1 to 26.
I'm being the master of irony again
@Chad I'd recommend writing out that if the input is invalid (too big number or not an uppercase letter), they should output "0"
@Chad So, the input will always be an alphabetic character, or a number in the range 1 - 26?
or, remove the test case
9:56 PM
"Just letters uppercase are allowed." In the output? Input? Code?
He means you only have to handle the uppercase alphabet obviously
I don't think it's unclear at all
@HelkaHomba Just letters uppercase are allowed in input and output (You can't output b and you can't input b).
> You can assume that the input will always be a alphabetic character, or a number in the range 1 - 26.
10:01 PM
@Chad You have enough rep to post your solution to the other challenge now...
@Chad I think the challenge is pretty solid now. For the future though, I agree with Leaky Nun. Post it in the sandbox first :)
Why is this closed? I don't see any problems with its current formulation
Q: How many lights are on?

CasperTheFriendlyCodeYou are little speck on a Cartesian plane. Pondering your existence, you decide to roam around your plane and touch things. You notice that every coordinate pair you visit has a light switch. To entertain yourself, you decide to toggle every switch that you come across. The Challenge: Create a p...

I will @NathanMerrill
A: "Hello, World!"

ChadW3M and Bash w3m goo.gl/Bj0G1x

10:11 PM
@Chad You actually can't do that, because it requires internet access. It's one of the loopholes :p.
Help, why isn't this working
Which test input are you using?
the last
Huh, is there any place where Erlang can be run online?
Bleh, ideone.
10:36 PM
I think this marks the first time I've been in the lead on a challenge.
@@[email protected] i think the scoring on this site allows for -r at the cost of one byte
hmm that superping attempt seems to be a failure
You tried
i thought i was doing what this thing said meta.stackexchange.com/questions/258038/what-is-a-superping
oh maybe it's just a mod thing
> only available to diamond moderators
I'd say so, yes
anyway i'll just finish what i was writing and then post a link in a comment
you'd say so, good
so for 32 + 1 then
10:42 PM
>>> d={}
>>> 1 in d
>>> d[1]=1
>>> 1 in d
>>> d[1]=0
>>> 1 in d
@trichoplax what is the problem?
I think that might be something to do with it but not sure
but that is intended
Just realised you have that covered. Oops. I'll keep looking...
10:49 PM
@LeakyNun What do you get if you input 1 arrow?
@Sp3000 0
Should be 1, right? First move turns a light on
If I've read the question right
oh, thanks
Fun Fact: Anthony Howe (who I've mentioned before) designed the Olympic torch kinetic sculpture.
or 1 instead should work
Shouldn't it be move then toggle rather than toggle then move?
@Sp3000 both give the same result
Hmm k
Oh right
@StevenH. Not anymore :-P BTW I hope you don't mind I borrwed your example input
When d[p]^1 is 0 the or 1 triggers
10:55 PM
@Sp3000 oh....
Just use d.get(p,0)^1 anyway
Wasn't going to suggest it until you get up to golfing, but might as well
you can also use sum(d[k]for k in d)
I was thinking d.values()
ok i searched for .values on the documentation page and it didn't find a match
10:58 PM
A: How many lights are on?

Leaky NunPython, 119 bytes 23 bytes thanks to Sp3000. d={} s=input() n=len(s)**2 p=0 for c in s:p=[p-1,p+1,p-n,p+n]["<>^v".index(c)];d[p]=d.get(p,0)^1 print(sum(d.values())) Ideone it!

o_O posting already?
@Sp3000 I shouldn't post?
I thought that was just a work in progress and you weren't up to golfing yet
Anyone here about "fit bits" for compression?
@Sp3000 eh, I golf after I post
10:59 PM
For one you can have just three arrows in the string and use .find
yeah was just on the wrong documentation page

« first day (2025 days earlier)      last day (2861 days later) »