« first day (2221 days earlier)      last day (2615 days later) » 

4:07 PM
0
A: Sandbox for Proposed Challenges

Stewie GriffinCops and robbers - Regex this Note, I haven't really decided what exactly the challenge should be, but I think I have a good idea for the cops/robber part. Example task (other suggestions are welcome): Write a code that takes an input n and creates a n-by-n "snake matrix" (I guess this has a r...

 
I spawn in
Can you concat strings in TIBASIC
 
@aditsu ah ok. Thanks
 
I also cant figger out how to store strings as a variable
 
4:25 PM
Dominosa‌​: a fun little game where you need to tile unique dominoes.
8
 
4:36 PM
@AdmBorkBork just curious, did/do you go to UMN TC?
 
Nope
 
About the Sandbox comment: Am I missing something?
 
No idea
I didn't see anything missing
 
So, if the cop's regex is something like foo then the robber could do #foo \n code-here and the robber's answer would still match.
The cop would need to include something like ^foo or foo$ or some other restriction
 
I guess the idea is that the regex could be wrapped in ^ and $ and still match
 
4:43 PM
Yeah, I think that's the solution.
If the cops' regex is always of the form ^<something>$
 
Just a note: I've written exactly one regex in my life...
 
The robber can't make any changes to the regex, only the code. So, if the cop writes a regex that only matches strings that starts with a number and contain exactly 6 characters, how can the robber circumvent it by adding a comment?
 
@Okx should be pretty simple to fix though
 
@StewieGriffin Because the regex is greedy and without things like ^ or $ to delimit the start/end of the string, the regex can match more than what's intended.
Matches a digit and then 5 alphabet characters
 
4:48 PM
@AdmBorkBork Then why can't the cop just add that?
 
But, you can put whatever you want in front of the 6 and it'll still match.
 
Are you saying it's impossible to write a regex that only matches the string abc and nothing else?
 
No, I'm saying that it's very easy for the cops to miss their regex.
It's very easy to accidentally write a regex that matches way more than intended.
 
@AdmBorkBork, I realize that. That's actually the main part of the challenge.
But do you think it's so hard that it makes the challenge too hard for the cops?
 
Well, there's a reason that regex that only matches itself is one of the highest-voted answers on this site.
 
4:57 PM
Guys in SOBotics we have a feed that gives us the new XKCD when it comes out
 
I'm not saying it's too hard, I'm just saying that you're either going to get a lot of cop answers that are cracked, or very few cop answers.
 
@Dennis it would be pretty cool if you could do that
 
@ChristopherPeart Feeds are supposed to be relevant to the room topic. Web comics are not.
26
A: Do we want XKCD autposted in chat?

Helka HombaNo We should remove the XKCD feed from The Nineteenth Byte.

 
5:13 PM
TIL RO's can see the history on deleted messages. o_O
 
They can? I thought that was a mod thing...
 
I thought so too
 
maybe new?
was it your msg?
you can then iirc
 
No, other users messages
 
@Riker ROs can see anyone's deleted post.
 
5:20 PM
TIL
 
5:47 PM
user image
10
 
this is good logic
 
I have an idea for a new esolang (inspired by 3b1b's e^pi*i = -1 video). The program will use a graph and points/vectors (haven't decided which yet) to calculate math stuff.
 
@betseg What package is that?
 
@Pavel Debian's package manager
 
Oh, is aptitude an alias for apt-get?
 
5:49 PM
@Pavel no, aptitude is another program.
but it works with apt-get and dpkg
 
@Pavel it's...complicated
 
*mans aptitude*
 
If I directly use 3b1b's idea, I will perform transformations on the plane and then determine which points land where to perform calculations. If I use my idea, then I will use vectors and perform transformations on the vectors instead, and to calculate stuff, I will determine the end points of those vectors after the transformations.
The question is, which idea should I use: transformations on plane, or transformations on vector(s)?
 
@betseg I can't find why on the man page.
>_>
 
^^^ By plane I mean complex-real plane
 
5:56 PM
@Pavel this page has why and why-not
 
Thanks
 
@betseg There should now be a why-not zoidberg option.
 
@AdmBorkBork You can write that package if you want.
'Zoidberg'
Or Alias, but that's boring.
Does anyone know of a Java library to handle PCRE regexes?
 
6:12 PM
@DJMcMayhem Woah, that regex is so compressed
 
@KritixiLithos The self-matching one?
 
@KritixiLithos Yeah, and somehow jelly and 05AB1E are both waaay shorter
I should add a register for the vowels
 
I think you should post an uncompressed version :P
 
What regex are you guys talking about >_>
 
@DJMcMayhem Do you mean a compressed regex that contains all the vowels?
 
6:16 PM
1
A: La La Land... no wait, Moo Moo Moonlight

DJMcMayhemV, 21 bytes Í㨃[aeiouy]«©/± ± & Try it online! This uses ridiculous regex compression, and it still manages to get it's butt kicked by the other golfing languages. For reference, this is about two/thirds the length of the regular "uncompressed" version, namely: :%s/\v\c(.{-}[aeiou]).*/\1 \1 &

 
thx
 
Oh duh, I have a huge golf
 
What is this regex compression, it scares me >.<
@DJMcMayhem Did you write a regex engine for V
 
No, just extended the vim one
 
@Riker The thing is, I don't quite get the meaning that Lorca wanted to convey on that one. So in that case I guess being literal is the best
 
6:19 PM
Oh. I've been wanting to write my own regex engine because I want to use PCRE in Java, but I can't figure out how that works.
 
Your answer already taught me a lot about vim regex
 
Brag alert: La La Land has spent 10 consecutive hours as #1 on the HNQ list (so far) :) I think that's a personal best for me...
 
0
Q: Print the Oscars Best Picture Winner

vikarjramunThis challenge is in tribute to the winner of Best Picture at the Oscars 2017, La La Land Moonlight! Your challenge is to print the text La La Land pause one second, then change the text to show La La Land MoonlightThe original text (La La Land without a strikethrough) must not be visible. Thi...

 
@NewMainPosts This is going to be an annoying theme, isn't it >_>
 
I mean, come on, even the vim docs stated that \v enables "magicness"
 
6:23 PM
I feel like that can be closed as duplicate, but I can't recall what the target would be.
 
@Pavel 12:00 // --:-- is related... There are a few others too I think...
 
@KritixiLithos I'm glad you learned from it! :)
I just golfed one byte off by using / instead of Í
 
The only special thing about that one is the strike-through, and that's the part I don't like since it's unspecified...
 
Yeah, it's very unclear
I have never heard of La La Land or Moonlight before today. Is it a bad thing if my nerdy programmer friends who make short code for a hobby is how I keep up with pop culture?
 
It's how I learn pop culture
 
6:36 PM
Did they screw up the oscars or something?
I don't really know what happened
 
I think so
 
Okx
I think what happened is they got given the wrong envelope @MistahFiggins
 
@DJMcMayhem I find that much of pop culture is freaking out about what someone did because others are also. I don't really care which "celebrities" are dating
@Okx ah, got it
That's embarassing
 
It was probably just a stunt
 
They were handed an envelope with the name Emma Stone, when they should have been handed an envelope with Moonlight.
 
6:40 PM
@MistahFiggins Exactly. I don't see why anyone should care
 
I hate it when Yahoo! news is filled with what celebrities did. NOBODY CARES, I just came here to see techy news and not this poop
 
Solution: Don't use Yahoo. :P
8
Muahaha, vim is 10 bytes shorter than Pyth
(for real this time, unlike last time)
 
6:56 PM
@DJMcMayhem really?
 
Really really
 
@DJMcMayhem <c-v>u336 doesn't work for me (it still waits for one more number after 6)
 
It should finish after the slash
 
Ah, it's just that my font doesn't render it (all I see is a faint dot)
 
Q: what is the name of that coding learning site that there is one code example per each language that uses nearly all of the language and is for starting to learn it?
 
7:03 PM
@GLASSIC RosettaCode?
 
No
 
@LuisMendo yeah, neither did I lol
 
@LliwTelracs 🍪🍪🍪🍪🍪🍪
4
A: Letter, Number, Symbol, Space, Repeat

LliwTelracsCardinal 2240 2224 bytes Template used LSNW a%1 a:1 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a>0 a>0 a>0 a>0 a>0 a>0 a>0 a+1 a+1 a+1 a+1 a.1 x.1 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0 a.0...

 
@DJMcMayhem do you think codegolf.stackexchange.com/questions/111310/… is doable in V(im?)
 
prolly not within 10 bytes
vim doesn't math well
 
7:14 PM
Ah
 
@AdmBorkBork this is pretty neat. I find it to be similar to sudoku
 
@Pavel woah I might be able to do it
 
just solved a 6x6
 
but somebody needs to change the ^ to ** in the last line
 
@Poke Yeah, similar vibe.
 
7:16 PM
I basically counted up from 0,0 to 6,6 and if there was only one spot that one of them could go, i placed it
 
Why has this challenge been closed as unclear?
 
then I did that a second time just in case i opened up some possibilities
and at that point there were a couple dominoes that had to go in a certain spot otherwise a number wouldn't be used
 
Are there any other Perl-like scripting languages we haven't exhausted?
 
@Pavel I have a solution! can't post tho :( I just did an answer
 
@Riker Ok, well we have one of the pythons but not the other, so I'll make one with the other python and change ^ to **.
 
7:19 PM
@Riker idk, you could do like :put=eval(repeat('2*',59)[:-2])
Vim isn't that bad at math, it's just usually not very golfy
 
for a vimscript answer:
"bc<<<2^57 #x??92a5*2p@^54┘#--2'3k:'2k*.@2(#"#28@P2*Jp;math 2\^45#2^41 NB.`#(expt 2 39); ^ exit @n.out (*2 32#e#a44******O@) //2 25)
"e
"2ej
:py print(2^58) "%d" $[2**43]bye'$/*#"A#327;N<."$"/class HelloWorld {static void Main() 0{;n***~#    System<.Console<.<.#1024print(2**53)--0;#0}}//4|#6904r"$2 #puts 16384 8*di 2^18o8*'*[[[268*^?>
@Pavel can't
you said versions count as same lang
 
Haha, that cheaty, but I guess it works
 
@Riker Which is why we have Perl and Perl 6. The two pythons are distinct enough, I might not have been clear on what counts as a version.
 
@DJMcMayhem That's vimscript? It looks like ... Python
 
@Pavel prolly just remove it
 
7:21 PM
@Poke Oh, that's a much more consistent method. I've been starting in the upper-left and deciding either horizontal or vertical for the first piece and trying a DFS from there
 
The sad thing is hardcoding the answer is shorter than anything in vimscript since it doesn't have exponents
@Riker not there though
That was vanilla VimL
 
oh cool but nvm
@DJMcMayhem nj
@DJMcMayhem :/
 
@AdmBorkBork ah yeah... that one will take a while ;)
 
@Riker done
 
@Pavel remove the version bit from the question IMO
 
7:22 PM
Yep
 
@Riker That echoes, not writing into the buffer
 
yeah
tha'ts allowed right tho
 
Done
 
I don't think so
 
wait what
why isn't it
 
7:23 PM
Generally vim answers just write to the buffer
 
yeah
 
Echoing is outputting to StdOut, I'm not sure why that would ever be banned for any reason.
 
@DJMcMayhem isn't it like returning from a function vs printing?
 
I suppose you could do it in V
 
That wouldn't help at all
I guess echoing is fine, I just never thought of it before
 
7:25 PM
lol
yeah, it's generally golfier to write to buffer
0
A: Evolution of Powers of Two

RikerAnswer 60, Vimscript, distance 7 "bc<<<2^57 #x??92a5*2p@^54┘#--2'3k:'2k*.@2(#"#28@P2*Jp;math 2\^45#2^41 NB.`#(expt 2 39); ^ exit @n.out (*2 32#e#a44******O@) //2 25) "e "2ej :py print(2^58) "%d" $[2**43]bye'$/*#"A#327;N<."$"/class HelloWorld {static void Main() 0{;n***~# System<.Console<.<.#1...

 
Crap I forgot to advance the C bit
 
@KritixiLithos ninj'aed
 
CMC: Find a language where the shortest programs to output <> or () or [] or {} are not all the same length. e.g. [] and {} and <> might all require at least 7 bytes but () needs 8.
 
hm
prolly BF
 
Not PowerShell - those can all just be string literals at 4 bytes each
 
7:28 PM
@Riker ^
 
fixed sorry copypaste error
 
@HelkaHomba Brain-flak probably
 
@DJMcMayhem add a newline before the "d%"
"bc<<<2^57 #x??92a5*2p@^54┘#--2'3k:'2k*.@2(#"#28@P2*Jp;math 2\^45#2^41 NB.`#(expt 2 39); ^ exit @n.out (*2 32#e#a44******O@) //2 25)
"e
"2ej
:py print(2**60)
"%d" $[2**43]bye'$/*#"A#327;N<."$"/class HelloWorld {static void Main() 0{;n***~#    System<.Console<.<.#1024print(2**53)--0;#0}}//4|#6904r"$2 #puts 16384 8*di 2^18o8*'*[[[268*^?>
 
Ah, your newer version is fine
 
yep!
10 distance also wipes forehead
 
7:29 PM
Okey dokey, ty for fixing
 
np
@DJMcMayhem vim is cool
hahaha 2 upvotes in 2min
 
grunts in agreement
 
lol
@Pavel also, congrats on having no downvotes on the Q
 
Vimscript on the other hand... :/
 
I would have expected at least some from people who don't want reposts of answer chaining Qs
 
7:30 PM
Talking about upvotes, I am on a 2-day rep-cap streak
 
:o nice!
my record is 6 days in a row, but over on lit.se not here
 
@Riker Yeah, I was nervous about that, I'm glad the community responded well.
 
Also, now my highest voted answer in SE is on PPCG (it used to be on Puzzling)
 
\o/ 3 answers by me
@KritixiLithos oh cool
 
@Riker woah
 
7:32 PM
first 6 days of the site tho
 
Would that coincide with the first 6 days of Lit.SE's existence?
 
> first 6 days of the site tho
@Pavel yes it so happens it would :p
 
No one says Python 3? :P print('<>') is 2 more than any others
 
@HelkaHomba woah
python2 is also :p
 
@Riker Wait, I thought you said, your first six days
nvm
 
7:34 PM
it was both lol
private beta, I committed
 
@HelkaHomba Woah
 
1 min ago, by Riker
@HelkaHomba woah
ninja'ed ;)
 
@Riker So did I
 
Yeah, i know.
 
I posted a comment somewhere, and never came back
 
7:35 PM
@Pavel lol
@DJMcMayhem see above message
@Pavel lol
it's a pretty fun site, I have 2959 rep on there now
 
Aren't you one of the top rep people of Lit.SE?
 
3rd, yeah
I've mostly fallen off right now due to IRL stuff
they just got mods :D
 
Lit.se probably has my highest rep:effort ratio of any site. I have two posts and 621 rep.
 
lol
how much was that bounty again?
 
Infosec is probably second
@Riker just 50
 
7:38 PM
ah ok, thought it was like 100
 
Area 51 is my best. I have 0 posts and ~308 rep
 
Info sec is 1 post:475 rep for me
 
How does that work?
Rep for no posts?
 
@KritixiLithos example questions give rep ;p
 
yup
and they don't count as posts
 
7:39 PM
you have 3 posts
@KritixiLithos yes they do -.-
 
My worst is probably Drupal. I have 213 flags and no rep :P
 
My best is PPCG, by virtue of not participating in any other SEs
 
lol
 
Woah, I average 68 points/post on ppcg
 
woah
 
7:42 PM
And 310/post on lit
 
I wonder how much Dennis gets
 
I have less than 30 rep/post ;_;
 
-.- i disagree
 
@Pavel 67.105
 
7:43 PM
Feb 4 '16 at 1:46, by Quill
Drupal is a spam magnet
Jan 22 '16 at 4:56, by quartata
OK seriously why does Drupal SE get so much spam
 
Woah, I average higher than Dennis
 
Congrats on having more rep per post than Dennis!
 
Jan 22 '16 at 4:02, by quartata
I still don't understand why Drupal SE is such a spam magnet
 
What even is Drupal?
 
7:44 PM
@Riker Yes, I am fully aware haha
 
 
@DJMcMayhem :P
@Pavel answers about drupal >_>
 
I've seen Drupal appear many times in Charcoal
 
well I will be back no worries but ima get lunch now see ya
 
@Riker No, I don't know what Drupal is. Not the SE about it, Drupal itself.
 
7:44 PM
I just got added to the core charcoal members list
 
To Wikipedia!
@DJMcMayhem Charcoal... like, the esolang???
 
300
Q: Can a machine be taught to flag spam automatically?

AndyTL;DR: We did it, so... yes. What is this? Charcoal is the organization behind the SmokeDetector bot and other nice things. This bot scans new posts across the entire network for spam posts and reports them to various chatrooms where people can act on them. If a post has been created or edite...

 
oic
 
@Dennis Are you suggesting that I change the language to xclip (if that would even count as a lang)?
 
@DJMcMayhem Martin Ender gets 75.5
 
7:48 PM
Are you counting assoc bonus?
 
@KritixiLithos No, as xclip isn't a language. But xclip is a valid 5 byte Bash solution.
 
@Pavel Trichoplax gets 184.18
 
Whoah
I wonder if anyone tops him
 
I'm positive
 
Presumably the API could be used to compile a list...
 
7:50 PM
There are people with one answer at several hundred points
 
@Dennis When I run xclip, the program seems to wait for input and doesn't terminate until I ^C it
 
@DJMcMayhem I'm not really counting those people, they haven't shown to consistently create amazing posts.
 
@Pavel For example, etoplay averages 1500 rep per post
Where's your line? 10 posts? 20? 50?
 
Let's say 10
 
7:54 PM
1149 UPVOTES!!!!!!eleven!!
 
JESUS CHRIST WHAT IS THIS MADNESS
 
Anyway, it's kindof a silly statistic because anyone you pick is an outlier with one or two ridiculously high scoring posts and a bunch of small ones
 
Yeah
 
@Pavel No need to yell
 
7:56 PM
I'm surprised Trichoplax only has 33 posts
I have more posts than that
What with him being a Mod and all.
 
(not a PPCG mod)
 
that would explain it
 
So I have just found out that the esolangs specifications for Cardinal disagree with how it got implemented in TIO
 
@Pavel Look at this
 
So... I can post my N++ solution?
Wait, no, it doesn't work anyway, I need to type some text in ;-;
Howabout Google Chrome? If your start page is the new tab page, it will still have copyable things on it selected by <c-A>
 
8:05 PM
Can you add numbers? How do you take input? What about primality checking?
 
Riiight
N++ works tho, it has regex support
 
8:16 PM
Done.
I shall become an N++ golfer!
 
8:31 PM
@AdmBorkBork are you writing a challenge for dominosa? could be fun
it will likely just get brute forced
you could do a fastest code challenge which would be neat
 
@LliwTelracs in which way(s)?
 
@Poke No, I'm not planning to. Go ahead, if it interests you.
 
@MistahFiggins The esolang page says that the pointers have 2 bytes of memory. However, in TIO I can give the pointers values up to at least 3^34, which can not be stored in 2 bytes of memory.
So here is where I found out that you can get above 2 bytes of memory on the pointers for Cardinal in TIO
 
I believe Dominosa is np-hard problem
I'm terrible at proofs, but it feels very similar to other puzzles that are also np-hard
 
not np-complete?
 
8:48 PM
@DJMcMayhem :o nice!
 
I was just about to say something about rep-capping today, and for a second there I thought you psychically congratulated me for it before I even said anything, haha
 
lol
congrats on the repcap!
@Downgoat hahahaha you use the same notification bar as jsfiddle
on cheddar.vihan.org
 
@KritixiLithos As I said, you can assume input is empty. Just press ^D when you get the prompt.
 
9:03 PM
<c-D> is EOF, right?
 
i think it's EOT technically
functionally EOF on unix
 
What is the C Shell referenced in this answer, and why does it look nothing like valid C?
 
Unix shell from 1978 Named because it looked more like C
 
9:50 PM
Can confirm, looks nothing like C
 

« first day (2221 days earlier)      last day (2615 days later) »