« first day (1991 days earlier)      last day (3070 days later) » 

19:00
except maybe some newlines were randomly inserted, oops
ಠ_ಠ
No indentation and eval, I've seen enough
I'm going to try to break their website now.
guys at CR will kill you if you post that ;_;
At a first glance, I rate it 6/100.
and yup, it executes arbitrary code.
19:01
I draw 3 of my score because of no indentation and eval.
eval is evil
but code length is limited? :/
ah, there we go. removed maxlength property
ESLint rates it 0/100, because of
> 9:165 - Parsing error: Unterminated string constant (null)
182 warnings on jslint
19:07
@CᴏɴᴏʀO'Bʀɪᴇɴ But unterminated string constant...
7 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
except maybe some newlines were randomly inserted, oops
Where is the original code, without random new lines?
I was able to remove the newlines
function ppr(form) {
abc=eval(form.abc.value);
if (abc<2 || abc%2!=0) {form.result.value="Enter positive even integer.";}
else {
var newvv="";
var i=1;
var k=0
while (i<abc/(2+Math.sqrt(2))) {
if (Math.ceil((abc*abc-2*abc*i)/(2*abc-2*i))-Math.floor((abc*abc-2*abc*i)/(2*abc-2*i))==0) {aa=i+" ";bb=(abc*abc-2*abc*i)/(2*abc-2*i)+" ";cc=Math.sqrt(aa*aa+bb*bb)+"\n";k=k+1;}
else {aa="";bb="";cc="";k=k;}
newvv=newvv+aa+bb+cc;
i=i+1;
k=k;}
}
if (newvv!="") {
if (k==1) {sss="";}
if (k>1) {sss="s";}
form.result.value=k+" triple"+sss+": \n"+newvv;}
putting ^ through a beautifier gave only 52 warnings XD
ESLint draws 0 points, because of
@TùxCräftîñg do keep[ in mind that they are only one source, and are not necessarily correct all the time. Further, please use a map.
(wait, eslint is so dumb about selecting and right click)
@CᴏɴᴏʀO'Bʀɪᴇɴ but how to use a map instead of a switch ;_;
hi @Downgoat
Goat to catch them all! https://t.co/lQF0FBWBkQ
19:12
@TùxCräftîñg hello!
ESLint draws 0 points, because of
> Use the global form of 'use strict'.
switch(val){
    case "thing": stuff(); break;
    case "asdf": foo(); break;
}

=>

let map = new Map([
    ["thing", stuff],
    ["asdf", foo]
]);

map.get("thing");   // stuff
@Downgoat this is actual code to check if integer: Math.ceil((abc * abc - 2 * abc * i) / (2 * abc - 2 * i)) - Math.floor((abc * abc - 2 * abc * i) / (2 * abc - 2 * i)) == 0
19:18
@Downgoat could you please come to the zyabinVI room?
Find what: case ("."): ([^;]*); break;
Replace with: [$1, () => {$2;}],
regex ftw
I did it, I finished the website!
you can now add your own languages
Add a language here redirect to PPCG site ._.
wait what
AAA
There, should work now in a couple of seconds
nope
Lies and deceit and now I'll never trust you again. :p
19:22
Yup, the add language link is a link to PPCG
There
I actually fixed it
thanks :D
Once I finish the one I'm working on I'll put it up there
great!
19:25
still redirect to PPCG ;_;
no.., try clearing your cache
because it works for me
plz put your css in a separate file PLZ
const isInt = (n) => n === Math.floor(n);

const pythag = (perimiter) => {
    if(perimiter < 2)
        throw new Error(`${perimiter} needs to be >= 2.`);

    if(perimiter % 2 !== 0)
        throw new Error(`${perimiter} needs to be even.`);

    let i = 1;
    let k = 0;
    let triples = [];
    while(i < perimiter / (2 + Math.sqrt(2))){
        let N = perimiter * (perimiter - 2 * i);
        let D = 2 * (perimiter - i);
        if(isInt(N / D)){
            let a = i;
            let b = N / D;
@CᴏɴᴏʀO'Bʀɪᴇɴ I have righted the wrong
alright
19:28
there, it's now in a different file, @TùxCräftîñg
\o/
because putting the file on the same file than html a) is a bad style b) prevent caching
I know, I was just lazy
i have borked my regex :(
did you forget a character
case ("[^"]+"): ([^;]*) break;
19:31
@flawr
@TùxCräftîñg I don't think that's valid JS.
i am transforming single-line cases to map entries
oh, that's a regex
I HAVE FORGOTTEN A CHAR ;_:
;
yeah, it is
here, I actually have a regex for that
lemme find it
\s+case "(.)": (.+?) break;
replace with
["$1", function(){ $2 } ],\n
19:37
Hmm ... how REPL is a shell? Bash or PowerShell for example. Reference.
what is wrong now ;_;
case ("[^"]+"):\s+{(.+?)\s+break;\s+}
Is there a way to pass command line arguments in Ideone?
@BusinessCat exploit the fact that they're on an old version of apache
get command injection/remote code execution
Server:Apache/2.2.22 (Debian)
X-Powered-By:PHP/5.4.15-1
it's their own fault they serve those headers
19:50
@SuperJedi224 ​
> xs92_y4g84242111124248gzxg8g0g852y6258g0g8gzga5x1ye1x5agz78gymg87z012484248gy8g8‌​4248421zy44ah0gy2g0ha4zy71012222101
._.
@Poke X-Hacked-By: Everyone
I didn't see that one
besides they're completely safe since it's an https website
whoa, what is this, BBCode? :p
hey man, i have no idea how chat works
@CᴏɴᴏʀO'Bʀɪᴇɴ wat, where
19:58
@Poke Just joking with ya
i try so hard x.x
It's what's called mini-Markdown
supports code snippets with grave accent marks `` ` ``, italics with *single asterisks* and bold with **double asterisk**. And links with [link text](http://example.com).
and that's about it
And apparently there's a bug with enclosing code snippets in double-accents
yeah for snippets i prepend 4 spaces to each line or something
@AndersKaseorg seriously, I'm impressed that you figured out that some of my squares were permutations
You can also do italics with _2 underscores_
20:03
@CᴏɴᴏʀO'Bʀɪᴇɴ mapified your mom :D
github.com/tuxcrafting/your-mom is now es6 compliant
@BusinessCat Yeah, but who uses an underscore? I mean, if I have an option of typing Shift-8 versus Shift--, I'm choosing Shift-8
Also,
personnaly i use ** for bold and _ for italic
back, had probs
i'm only a little sad that no one commented about my statement on https
what was there to comment about?
20:13
that it makes no sense
Unfreeze pls?

 Chatgoat's Barn

PLEASE TALK TO CHATGOAT. I PROMISE HE'S SMART. jsfiddle.net/Lk...
@CᴏɴᴏʀO'Bʀɪᴇɴ Whut
howto waste 43 minutes
desire to work is gone
anyone can pls tell me how it is possible this can error:
git config --global user.name "Travis CI"
git config --global user.email $COMMIT_AUTHOR_EMAIL
not a git expert here
20:19
;_;
i only know how to commit so i cant help you D:
I've added Jelly and CJam to the language database
@Midnightas can i add Your Mom to the db?
Sure!
The more the better :D
20:21
Upgoat or Downgoat passed 200!!!
201
Q: Upgoat or Downgoat?

DowngoatGiven an image of a goat, your program should best try to identify whether the goat is upside down, or not. Examples These are examples of what the input may be. Not actual inputs Input: Output: Downgoat Spec Your program should be at most 30,000 bytes The input will contain the full goa...

Conlaturasions!
I've always wondered why they went for git as the name, since that's (at least to my knowledge) mild profanity
2
cograt \o/
Yay, Your Mom is in the language database
Huh, I had not voted on that. Have an upgoat, Downgoat.
20:23
@TimmyD :D
have an upgoat from me too
@TimmyD
> Torvalds quipped about the name git (which means "unpleasant person" in British English slang): "I'm an egotistical bastard, and I name all my projects after myself. First 'Linux', now 'git'."[15][16] The man page describes Git as "the stupid content tracker".[17] The readme file of the source code elaborates further:[18]
@TùxCräftîñg TIL. That's interesting.
This is russian roulette in Linux:
[ $(( $RANDOM % 6 )) -eq 0 ] && rm --no-preserve-root -rf / || echo "click"
DON'T TRY THIS, I'M SERIOUS
20:25
._.
open ubuntu vm
There's a 1 in 6 chance of it destroying your hard drive
A vm will destroy your real PC, too
so
don't try this xD
i have a ubuntu vm on vbox
freshly installed vm
It won't matter, it'll format your real system, too
not possible
then my thoughts are doodoo for the next 6 minutes
20:27
lol ... there are more upvotes on the comment than on the answer or the challenge.
pizza is as good as soda together with
@Midnightas it should only be able to wipe anything root has access to- and unless you dock your entire main hd into your vm/vbox it won't be able to rm -rf it
20:29
That's why there's a --no-preserve-root
I commented on your moms page on the db
@Midnightas It's annoying when people still say the archaic rm -rf / instead of the more modern rm -rf --no-preserve-root /
I did put a --no-preserve-root!
@Midnightas i have forgotten the : in https:// for the link to the github page of your mom D:
I'll fix it, no problem
Should I it so that anyone can edit a language just like in Wikipedia?
20:35
with a rollback feature
now rollbacks will be a pain in the bottom
then I'll probably do all of the edits myself
your mom have 247 views ._.
20:38
it's a record for my account
the es5 version of your mom is ~2x the size of the es6 version ;_; i love lambdas
Your mom should be fixed
@Midnightas what is the problem ?
hi @Quill
Not in to GitHub's new font? There's a Chrome extension for that http://chlg.co/29JYHnl
I mean in the language db
ok
I AM ON FIREFOX D:
20:40
Internet Explorer is great and does all things.
@TimmyD protip: stop drug
@TimmyD you talking about edge or 11
either way you're wrong. i'm just curious
@Poke Hah.
IE11
edge is worst than 11, strangely ._.
@flawr 34 problems v 33 :3
20:42
i think edge is decent. someday it will support extensions and might become good
Edge is ridiculously faster than anything else I've used (including Chrome or Firefox), but its user interface is a little lacking in polish.
@Downgoat you really don't want to know
@TùxCräftîñg nice!
edge is faster, but keep garbage when a lot of tabs is opened and closed
Like, the ability to save-as rather than just dumping into your Downloads folder ... yeah, I don't know why Edge got rid of that.
@TimmyD Have you attempted Opera yet? Opera can be quick as hell (and comes with the added bonus of "turbo" not loading ads)
20:44
@TimmyD it seems that every browser is always faster than the last
I'll make my own browser that reads JSON files and turns that into graphics :D
@Delioth I tried Opera many years ago, like probably at least 10 or so. Didn't really get into it, and haven't been back yet.
@CᴏɴᴏʀO'Bʀɪᴇɴ ._.
@NathanMerrill Yeah, that's true. But Microsoft's new rendering engine is pretty damn fast.
If I remember correctly, 11 or 12 was a pretty big overhaul. One of those in there added extensions
20:45
2 mins ago, by TùxCräftîñg
edge is faster, but keep garbage when a lot of tabs is opened and closed
@Microsoft do you know the C function free ?
clearly they're using boost pointers
Edge doesn't chew through memory like Chrome does (at least for me).
screw browsers. just browse the web with curl
nbd
lynx
At least it does some UI wraps for you
elinks is the best cmdline browser
20:48
i want to see raw html
all the time
@Mego <3
(to be fair, though, I have manually done a telnet 80 with GET / on a Server Core installation to determine public IP routing)
i have created a golfing language named your mom ;_;
but it's my more popular repo ._.
haha
who wants to make a fullblown language (non-esoteric) together, I'm bored
20:51
remake C but use smallcaps
i already have created a tokenizer/parser/compiler for a language, but i am too lazy to create a VM
lemme find it
call it ᴄ
what syntax is ultimath?
@Midnightas a mathematica-like syntax
like Echo["Hello, World!"]
hmm, not sure.. isn't that a bit esoteric?
20:53
no
what is your def of esoteric ?
@Downgoat halp how good are you at node
intended for or likely to be understood by only a small number of people with a specialized knowledge or interest
a stackbased jellylike language
that's every new language
You know, grep -R '<...>' . is surprisingly useful.
20:54
not really, only here
Mathematica isn't esoteric AFAIK
Mathematica isn't esoteric at all, it's used a lot by math people (like MATLAB/Maple/SageMath)
@MᴀʀsUʟᴛᴏʀ I'm rather OK
but it has a builtin to recognize goats ._______________________.
20:55
though i haven't built any node server apps yet
lol
jelly, cjam, your mom
I just realized cjam almost rhymes with your mom
@Midnightas no it doesn't ._.
$ MathKernel
Mathematica 10.1.0 for Linux x86 (64-bit)
Copyright 1988-2015 Wolfram Research, Inc.

In[1]:= Short[1000!]

Out[1]//Short= 4023872600770937735437024339230039857<<2511>>00000000000000000000
20:56
dont know how to pronounce english so idk
I said almost ;-;
@Downgoat uh [.........] - : (dots are grey) appears from somewhere, gets printed on last line all the time
@MᴀʀsUʟᴛᴏʀ wat
ghoti is pronounced like fish
are you being MitM'd?
20:57
brb, I'm going to restart my pc to open linux
@TimmyD gheaubteighptough is potato :D
In[4]:= AbsoluteTiming[Short[1000000!]]

Out[4]= {0.270156, 82639316883312400623766461031726662<<5565655>>00000000000000\

>      00000}
^ Mma can compute 1000000! in 0.27 seconds
Nov 5 '15 at 21:51, by TimmyD
> English is weird, yes, but it can be understood through tough, thorough thought, though.
20:59
through, thorough, though, rough and cough don't rhyme
but pony and bologna do
Lead doesn't rhyme with lead, but read does. And read doesn't rhyme with read, but lead does.
english is weird
@Quill I got cheddar auto-deployment to the online repl to work!! :D :D :D
21:00
yay
@Midnightas You forgot hiccough.
that, too
@Quill oh no chedz is gone
is it data or data?
is it route or route?
is it caramel or caramel?
is it either or either?
is it read or read?
21:01
@NathanMerrill WTF is that
I'm not content with this content.
cheddar> 1 + 1
 Chedz is not defined
because cheddar
@TùxCräftîñg a nail house. they refused to sell, so they dug around them
put cheddar on the db
21:02
@NathanMerrill I guess you could say "nailed it"...
well, most of the time, the do get massive amounts of compensation
is it wound or wound?
is it produce or produce?
is it refuse or refuse?
is it wind or wind?
there was one place that refused to sell until Macy's offered them 1 million dollars (in 1911)
is it winned or won?
added cheddar to the db
21:04
Yay
It has a black background.. yay!
Oh no, there are duplicate comments on each language page
a glitch has happened
> YOUR MOM
said @Midnightas to Cheddar
no I didnt, there are duplicate comments
it's a glitch
21:07
You just gotta add the cheddar file
cheddar> f = () -> 1
 1 | f = () -> 1
   |         ^
 this.Code is undefined
;_;
@Quill I did
but I think it's a problem with the browser_repl
it's throwing an error that it can't find a module
i'm gonna be afk from this chat, if anyone wants to say something, mention me with @
@TùxCräftîñg ;-; what OS do u use?
windows
@Downgoat v
21:10
:(
@Downgoat I think you need to change the order of the script tags in the HTML
idk. it seems like it's a circular dependency error browserify can't resolve or something
OHHHH
i know
-8 for thorowing a syntax error at let
:-; y u do dis
Feb 26 at 6:18, by Downgoat
http://jsfiddle.net/Lk4o076w/1/
;_; y i do dis
It's the goat's fault!
21:17
@FryAmTheEggman how does the gh translate to p
from "hiccough" (pronounced "hiccup")
Almost every answer I got was "How you spend your votes is entirely up to you."
Heck, even the downvoted answer says that
@Rainbolt thanks. Detective Timmy D. figured that out in the meantime :D ... I wasn't aware that it was actually your own question. I thought it was just something you found on meta and linked to.
That was old me, which is not the same as new me. It may as well have been another person.
21:27
Is it a good idea to parse syntaxes similar to Java/Javscript/C(++/#) using regex?
if you want a ast, then use regex to tokenize and a top-down parser to parse
if you want to do simple substitutions, regexs are fine
Pardon the noob in me, but what's ast?
@Midnightas abstract syntax tree
Abstract Syntax Tree
good night
aha, okay, but tokenizing ast is still a good idea?
21:29
"Is it a good idea to parse [thing that isn't a regular language] using regex?" -> No :P
tokenize yes, replace strings yes, parse NOPE
53 secs ago, by TùxCräftîñg
good night
g'night
darn, I have to go, too.
Y'all must be so happy! :D
bye!
21:42
Just polluted my dev db
Currently deleting 200k rows
oh, db = database
@FryAmTheEggman But html is a regular language, isn't it?
Anonymous
@flawr eye twitches
Anonymous
On a related note, this comment on Reddit: reddit.com/r/explainlikeimfive/comments/4sfmwt/…
@SuperJedi224 That's cheating, you're using 32x32 soups :p
@flawr define regular

« first day (1991 days earlier)      last day (3070 days later) »