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

3:18 PM
TIL: youtube.com/tv, a keyboard-navigated version of youtube.
 
@mınxomaτ I need to somehow make my computer air its A/V output into my TV, while not having to re-plug the computer from the monitor to the TV.
Just for the best experience.
What is the average speed of a typist?
in chars per minute?
 
@zʏᴀʙiɴ101 I believe a Chromecast can do this
 
@HelkaHomba What? Nope! We don't want to get one!
It costs 2290 RUR here!
 
That's $35, same cost in US
 
According to Google, it's 34.872119991937565857864034773662 dollars exactly.
 
3:31 PM
"Exactly" doesn't really make sense when you pretty much never deal with anything smaller than 0.01 cents (gas stations routinely price their gas down to 0.1 cents).
 
@zʏᴀʙiɴ101 according to typing-speed-test.aoeu.eu it's 150.
I can do about 350 on that site.
 
@DrGreenEggsandIronMan Chars per minute?
 
Most everyone says cars will be autonomous by 2020. Time to sell your car now before human driven cars are a dime a dozen :p
 
cd ws1a00
cat > README.md << EOF
# README

This is the index repo for ws1a00.
EOF
mkdir -pv .commits/.commit-0
cd .commits
cd .commit-0
echo "Initial commit" > .description
cd ..
cd ..
diff /dev/null README.md > .commits/.commit-0/.README.md
I made a very simple version control system.
.
│   README.md
│
└───.commits
    └───.commit-0
            .description
            .README.md
So, the commit data is kept in the folder .commits, with sub folders containing every commit. .commit-*.
Each folder name ends in a numerical index.
 
3:48 PM
Reinventing centralized version control? :P
 
Sorta.
Each .commit-* subfolder contains a file, .description, and one or more files with diffs.
 
Haha, I do 29 WPM on my phone.
 
.description contains the description of the commit.
The rest of the folder contains normal UNIX diffs.
I don't want temporal data saved in the file, and normal UNIX diffs are the best way to do it.
There should be a speed texting app for phones.
You enter a text, and the app returns the typing speed.
 
@zʏᴀʙiɴ101 That sounds like something that should exist already.
 
@El'endiaStarman But for phones.
 
3:58 PM
Yeah, still.
I find it mildly inconceivable that no one has already developed such an app.
 
It's a great thing that FFmpeg is included in the ImageMagick package. IM is broken on my PC, but I get FFmpeg free with that.
I can easily make Gource videos.
$ ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i /D/gource.ppm -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 /D/gource.x264.avi
ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
What the stack? Why the illegal instruction? :|
I wrote the command correctly.
I'm currently making a WebM video, and guess what--it's SLOW. 2.2 frames per sec, and also with chat and 3 other tabs up.
After lightening the load by 3 tabs, it's still 2.5 frames per sec. :|
Finally finished! \o/
frame=  734 fps=2.6 q=0.0 Lsize=     172kB time=00:00:12.23 bitrate= 115.2kbits/s
video:167kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.063726%
How to convert WebM to AVI without FFmpeg? >_>
I have an idea! Do it with FFmpeg, contradicting ^! >:D
Crap, 60 frames is too much. The PPM file is 412 MB.
 
4:45 PM
Encoded with 25 frames! :D
Video file size: 302 KB
 
5:00 PM
How can I make a directory listing using only Bash and vim?
@DrGreenEggsandIronMan I assumed you know vim, but do you know Bash?
Great! Chat is dead when it is expected to live.
 
I'm so so at bash. What are you trying to do? Does ls work?
 
Make an html directory listing using only Bash and vim.
The listing must at least name the files/directories and link to them.
 
Do you have to do it one time, or automate it?
 
One time.
 
ls > dir.html, then vim dir.html to add the various tags.
If you are OK with installing Vim plugins, tpope/surround is great for html.
 
5:09 PM
Automate the "add the various tags" part.
With vim macros and commands.
 
What do you want the tags to be?
You could do :%s/.*/<tag>\0<tag>
 
E488: Trailing characters
 
I just ran it and it worked for me. Do you have something in your vimrc? Or you entered it wrong.
 
I entered :%s/.*/<li>\0</li>.
 
Oh, I see. The second slash causes problems. Escape it with \/
 
5:16 PM
Good, now insert links into the resulting tags.
 
Give me an example
 
The link format should be <a href="$ITEM">$ITEM</a>, where $ITEM is the content of the <li></li> tag for that item.
 
So <li> <a href="item"> item </a> </li>
?
 
Sorta.
 
Then post the real thing
 
5:21 PM
<li>gource/</li>
<li>logstalgia/</li>
<li>ws1a00/</li>
 
Where do the "a" tags go?
 
Example:
<li>gource/</li> ==> <li><a href="gource/">gource/</a></li>
 
How comfortable with vim are you? If you're fairly confident, I'd just record it in a macro.
 
That's a hard question to answer.
 
Otherwise, you could do this (I haven't tested it) :%norm yiti<a href="<C-r>""><esc>f<i</a>
Then enter
 
5:28 PM
<li><a href="<C-r>""><esc>f<i</a>gource/</li>
<li><a href="<C-r>""><esc>f<i</a>logstalgia/</li>
<li><a href="<C-r>""><esc>f<i</a>ws1a00/</li>
 
Uh... try escaping <C-r> and <esc> with a backlash?
Idk
 
I'm not positive that will work, and I can't test it. (Phone)
 
But undo with "u" and try again but with \<esc> instead if <esc> and the same for <C-r>
 
5:31 PM
<li><a href="\<C-r>"">\<esc>f<i</a>gource/</li>
<li><a href="\<C-r>"">\<esc>f<i</a>logstalgia/</li>
<li><a href="\<C-r>"">\<esc>f<i</a>ws1a00/</li>
I'd better go doing it myself. :(
To err is human. To really foul up you need a computer.
 
That sounds pretty * ahem * Pythy... :P
(I prefer to pronounce "Pyth" like "paith", but the alternate pronunciation of "pith" really lends itself here... :P)
 
5:47 PM
I believe that is the correct pronunciation, so it works well :)
 
@El'endiaStarman So, "Python" is "pifon"?
I prefer to pronounce it so.
 
@trichoplax I know it's the intended pronunciation, but it's much more natural for me to mentally say it like the first syllable of "Python".
@zʏᴀʙiɴ101 Where'd that f come from?
 
@El'endiaStarman I have no problem whatsoever with how other people pronounce things mentally
 
@trichoplax Not even in the fabled "gif vs jif" wars?
 
No I only get involved in those for the fun of it...
 
5:50 PM
hahaha
 
Same for tabs and spaces, and smooth and crunchy
 
Jif is smooth :D
 
@El'endiaStarman That f is the voiceless labiodental fricative "f", like the pronunciation of "f" in "fill".
 
The pronunciation of those are controversial?! (I jest.)
@zʏᴀʙiɴ101 But neither "Python" nor "pith" have that sound.
 
(Derived from the Russian sound "ф".)
@El'endiaStarman I pronounce "Python" with the "f" sound. >_>
 
5:53 PM
Ah. Well, I know zero Russian, so I can't suggest words with the right sounds...
Do you pronounce "thorn" with an 'f' sound as well?
 
@El'endiaStarman Nope.
 
I'm pretty sure both th sounds don't exist in Russian
 
That reminds me of the stereotypical Boris & Natasha accent. "Nothing"->"Nuffink" and all. Do people really talk like that so much?
I don't know many Russians :/
 
@Fatalize I personally don't know, but zyabin seems to be moderately fluent in English, so...
 
@El'endiaStarman Thanks :3
 
5:56 PM
tbf they don't exist in many languages
 
They should get to work on that. It's a useful sound >_>
 
"Among the more than 60 languages with over 10 million speakers, only English, Modern Standard Arabic, Standard European Spanish, Burmese, and Greek have the voiceless dental non-sibilant fricative"
 
@zʏᴀʙiɴ101: Do you know or listen to very much spoken English?
 
@El'endiaStarman Not much.
 
^ you should, at this point you don't really need to improve your written English anymore
 
6:05 PM
0
Q: Evaluate a Stratego Battle

MaltysenIn the game Stratego, the main game mechanic is when you attack an opponent's piece with yours. In this challenge, you job is to simulate one of these battles and say who survives. Specs You will get as input a pair of string representing Stratego pieces. The pieces are one of "S 1 2 3 4 5 6 7 ...

 
Ah, Stratego! That was a fun board game.
 
I don't think I've played that since before several people in here were born o_o
 
I haven't played it since my early teens, if that.
 
@zʏᴀʙiɴ101 sorry I couldn't be more help. I know exactly what the problem was, but I'm kinda busy, and I don't have time to explain it on my phone.
 
@El'endiaStarman I've always pronounced it like "pithy" (I assumed that was the double meaning)
 
6:31 PM
@El'endiaStarman I recall playing that game at a point.... I can't remember about it though
OH that game! I used to love that game! When I was like, 7?
 
does anyone know a fast way for calculating totient? right now i'm using a dynamic programming thing where I take the first prime factor that i find, use the formula for it, then recurse using the fact that phi(n*m) =phi(n)*phi(m) if n and m are coprime, and then memoizing. This is decently fast, but I wonder if there is some other math trick for it.
 
@maltysen that's how I would do it
but you could use a method like a reverse sieve if you're calculating all of them up to some value.
 
@EricTressler I am
what do you mean by reverse seive?
if its just pre-calculating the primes up to N, i'm already doing that
 
6:46 PM
I don't know if it will be faster, but what if you did something like a sieve of eratasthones (or better sieve) to find the primes up to N, then
then fill in your table for all powers of each prime, products of powers of 2 primes, etc?
 
oh
that sounds interesting
 
I don't actually know if that's faster -- it could be worth a try. You probably already did the most important thing by using the phi(a*b) = phi(a)phi(b) identity when gcd(a,b) = 1
@Maltysen I tried reading through some literature, but I didn't find anything worth mentioning. Have you seen codegolf.stackexchange.com/questions/26739/…
 
@EricTressler oh, no I haven't
lemme see
maybe its just that python is really slow
 
is anyone here familiar with O (Phases language)?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ i know that digits are entered seperately
and that you can run a web server
not much more
 
6:59 PM
docs are so sparse
 
@CᴏɴᴏʀO'Bʀɪᴇɴ a bit
 
what is string replace?
 
As in?
 
replace all characters X in Y with Z
 
I think the closest thing is % which is regex substitute
(iirc)
 
7:22 PM
@Quill something is really wrong with mocha:
YOU MESSED UP! THE RESULT IS 0.577215664901532 AND THE DESIRED RESULT WAS 0.577215664901532
 
@quartata do you have an O interpreter on your computer? O's heroku is down, and my computer doesn't want to download things
 
TIL that there are children who get a knee removed because of cancer and get the ankle of that leg as a replacement knee joint. That's so weird and cool at the same time. (Sources: imgur.com/gallery/6M8Si , i.imgur.com/B5luOWO.gifv)
2
@Downgoat Could be floating-point shenanigans?
 
@Downgoat okay, I'll come take a look now
@Downgoat it's probably type differences though
I forgot to set strings to output with quote marks
 
wait nvm i think i got it
I think I'm gonna need to get off my ass and make STDOUT streams for cheddar and all >_>
 
make a project wide function and just replace all the console.log instances
also some of those should only come up if the ENV=debug
 
7:27 PM
@Quill yeah. I'm planning to mimic something like nodes
 
Mocha, the test runner, has started printing formatting strings instead of the actual content.... hahaha:
> %s) %s:
%s
 
>_> no one noticed I'm back as downgoat
@Quill in the globals.js where console.log is redefined. adding "c(str)" to the beginning makes the tests succesfully complete
but then moch aborked
 
:D \o/
 
I kept on almost accidentally pinging dennis because of @D
does anyone have a copy of O on their computer? :/
 
7:31 PM
take this one: O
7
 
o.c
O is my only hope if I want to continue with the alphabet -.-
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you could go to the english people and make them change the alphabet
 
@Maltysen do you know any english people
 
MILK WAS A BAD CHOICE
9
 
@CᴏɴᴏʀO'Bʀɪᴇɴ We have a few English people in here. I think most of them have or would have not voted for Brexit, so they're probably not radical enough to change the alphabet.
 
7:35 PM
@El'endiaStarman darn
 
@El'endiaStarman Oexit
 
@NewMainPosts ಠ_ಠ
MILK IS BEST CHOICE
5
 
@CᴏɴᴏʀO'Bʀɪᴇɴ use the online interpreter
 
no it's not
I'm staring at it right now
 
7:44 PM
try submitting something
 
ok
Just get it from Github then?
 
24 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
@quartata do you have an O interpreter on your computer? O's heroku is down, and my computer doesn't want to download things
 
git clone https://github.com/phase/o.git
 
> and my computer doesn't want to download things
 
dare I ask why
 
7:48 PM
my computer is haunted
 
I don't see how me sending it to you will help then
just give me the code you want to run I guess?
 
yeah
":\"Ao{[T::=~(\'etanimret\'91+\'@onj p $o o> @ tuptuo\'91+\'Q tuptuo\'91+\'@$h S$h r$h O$h s$h D$h r$h F$h e$h @ tuptuo\'91+\'Q tuptuo\'91+\'@$h \'@\'@\'$h @ tuptuo\'91+\'Q tuptuo\'91+\'@$h @ tuptuo\'91+\'Q tuptuo\'91+\'@$h R$h u$h b$h e$h 23#h G$h o$h l$h d$h b$h e$h r$h g$h @ tuptuo\'91+\'Q tuptuo\'91+\'@$h \'@\'@\'$h @ tuptuo\'91+\'Q tuptuo\'91+\'@$h p$h@ tuptuo\'Z)S¶::=¶T]}n~\"\@N
 
Oh my
err what is it supposed to do
 
print a string
 
Which is?
 
8:01 PM
:"Ao{[T::=~('etanimret'91+'@onj p $o o> @ tuptuo'91+'Q tuptuo'91+'@$h S$h r$h O$h s$h D$h r$h F$h e$h @ tuptuo'91+'Q tuptuo'91+'@$h '@'@'$h @ tuptuo'91+'Q tuptuo'91+'@$h @ tuptuo'91+'Q tuptuo'91+'@$h R$h u$h b$h e$h 23#h G$h o$h l$h d$h b$h e$h r$h g$h @ tuptuo'91+'Q tuptuo'91+'@$h '@'@'$h @ tuptuo'91+'Q tuptuo'91+'@$h p$h@ tuptuo'Z)S¶::=¶T]}n~"\@N
 
As far as I can tell it just prints itself?
Oh, der. OK.
 
but it works, right?
 
If this is a quine I think you way over complicated it
@CᴏɴᴏʀO'Bʀɪᴇɴ yes
 
:"Ao{[T::=~('etanimret'91+'@onj p $o o> @ tuptuo'91+'Q tuptuo'91+'@$h S$h r$h O$h s$h D$h r$h F$h e$h @ tuptuo'91+'Q tuptuo'91+'@$h '@'@'$h @ tuptuo'91+'Q tuptuo'91+'@$h @ tuptuo'91+'Q tuptuo'91+'@$h R$h u$h b$h e$h 23#h G$h o$h l$h d$h b$h e$h r$h g$h @ tuptuo'91+'Q tuptuo'91+'@$h '@'@'$h @ tuptuo'91+'Q tuptuo'91+'@$h p$h@ tuptuo'Z)S¶::=¶T]}n~"@N
^ output
Oh hey, there are differences
 
8:02 PM
the \@ for one, but any more?
 
Ohhh this is for Rube Goldberg.
 
yes
now it's time to find an N.* language
 
> The software is not intended for use in medical, life-saving,
or life-sustaining applications.
From a license on an esoteric language
 
to avoid being sued
 
8:13 PM
@Quill is C9 borked for you too or is it just comcast
 
So, what's the story behind @newmainposts occasionally spouting random shit? I've never understood.
 
C9 is slow, at least
 
@Downgoat I'm using C9 at the moment, and haven't really noticed anything adverse.
 
@DrGreenEggsandIronMan a mod edits something in to a deleted/closed post that contributes nothing to the discussion
 
39
A: A guide to moderating chat

bluefeetWhat tools are available to moderators? Moderators are our human exception handlers and will get involved when users and room owners can’t handle a situation on their own. If flags are raised or they are notified of something, then a moderator will step in to investigate and resolve the problem...

 
8:16 PM
@Quill Odd thing to link...
 
So which mod is the comedian?
 
multiple
Mostly alex, but alex isn't here
 
@DrGreenEggsandIronMan When NMP posts something that was recently posted by another user, or was deleted, or sometimes was closed before the feed bot picks it up, then oftentimes some mod will edit it to say something funny in all caps.
 
@DrGreenEggsandIronMan aren't we all comedians at heart
 
Is it always a ppcg mod? Or is it sometimes quill or elendia?
 
8:18 PM
@DrGreenEggsandIronMan I think it's always been ppcg mod
 
Or one of the other mods that frequents TNB
 
The latest one wasn't a PPCG mod.
I thought everyone can see message histories? Or is that just room owners?
 
Edited by Quill
 
I just forgot and didn't look
 
8:34 PM
@DrGreenEggsandIronMan I did it once.
 
Alright @Downgoat, the unit tests use normal JS now and the remapped coverage is good
 
hi guys I'm here to bother you again asking for a language that begins with N that isn't on esolangs
 
@DrGreenEggsandIronMan Click on the chain on the left of the message and view the edit history
 
some of your print tests don't work though
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Not Exactly C and Not Quite C (both for lego mindstorms)
 
8:36 PM
thanks, will keep those in mind
 
Nemerle, Nim
 
Every 5 months someone reads Wikipedia and finds out Tor was developed and is funded by the US government then posts about it on Twitter.
 
5 months later...
 
Hey, the US government funds the breaking of Tor!
 
8:54 PM
@Downgoat remember to make sure the coverage is correct before committing to master ;-)
 
@Downgoat what's the gource command you used for Cheddar's Gource?
 
@zʏᴀʙiɴ101 I just pushed a new update to Laura, it should be ready soon.
 
^ This thing is gonna be crazy to use when I finish it.
 
@Downgoat: Does Cheddar have comparison operator chaining? 'cause Pytek does now. :D
 
9:05 PM
0
A: Sandbox for Proposed Challenges

VTCAKAVSMoACEPyth Meta-Golf Golf Battery metagolf test-battery code-challenge (now that's a name, isn't it?) The Challenge Write a program in a language of your choice that takes an input of code in the same language and outputs a code that does the same thing in Pyth (though not necessarily the shortest ...

 
@VTCAKAVSMoACE :D
 
It's not working quite right yet, and I'm still changing a bunch of stuff for configuring, but it should be done soon.
 
@Downgoat i was gone
@zʏᴀʙiɴ101 camping trip (cc @Downgoat)
 
@El'endiaStarman wat is dat
@zʏᴀʙiɴ101 uh lemme check
@Quill ? did i do some dumb commmit?
 
@Downgoat 1 < 2 < 3 is true, 1 < 5 < 3 is false.
 
9:16 PM
I have master branch protection on
@El'endiaStarman ohhh <_< i should totally add that
how did you impllement it?
@Quill :D :D :D :D :D :D :D
@zʏᴀʙiɴ101 it is:
gource -s .2 -1920x1080 --highlight-users --multi-sampling --stop-at-end --key --title "4 Months of Cheddar" -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4
 
HELP I AM TRAPPED IN A CHALLENGE FACTORY
10
 
^ Now that format's interesting.
 
@Downgoat I had the great foresight months ago to include the operator object as an argument to the evaluation function, so I could check to see if the operator's first child is a comparison operator. If it is, then I look at the first item in args (the second argument to the evaluation function) to see if it's a pBoolean (since that's what comparisons return), and if it was, then return pBoolean(false) if it was false. Otherwise, take the operator's first child's second child and replace.
 
YOU MESSED UP! THE RESULT IS "" AND THE DESIRED RESULT WAS "2"
@Quill still borked >_>
 
9:22 PM
@Downgoat @Quill why is the unit test script shouting at failures? :|
 
GMP is bullying me
 
@BernardMeurer You need discourse with it. :d
 
@zʏᴀʙiɴ101 I swear to god my relationship with GMP is abusive
 
did someone hack new main posts?
 
@dorukayhan yeah :/ mods
 
9:24 PM
@Downgoat lol
 
halp y is mocha so bork
 
@Downgoat You know GMP with C++ don't you?
If not can you learn in about 10 minutes and help me out :v
 
@BernardMeurer yeah. gaot also knows how 2 speel i.e. no, sorry :(
 
Dear god, no one knows how to use this crap lol
not even me
 
@El'endiaStarman >_> oh, I didn't have that great foresight ;_; gaot is dumb
 
9:28 PM
At present, 1 > 2 == 3 > true returns false, even though 3 > true by itself would error. This isn't really acceptable behavior, is it?
I wonder how Python handles it.
>>> 1 > 2 == 3 > None
False
>>> 3 > None
Traceback (most recent call last):
  File "<pyshell#17>", line 1, in <module>
    3 > None
TypeError: unorderable types: int() > NoneType()
Oh, looks like it's all good. Short-circuiting FTW! :D
 
pet peeve: esolangs links going to dead pages
 
@Downgoat no
@Downgoat :)
@Downgoat the print test cases are failing
@zʏᴀʙiɴ101 BECAUSE I THOUGHT IT WAS FUNNY
Mocha isn't broken, all it does is take your test code and call the Cheddar function with it
 
9:54 PM
@Downgoat You should really just make your own unit tester
It's not really that difficult :P
 
@quartata why reinvent the wheel?
 
Because right now your wheel has two giant holes in it
Plus it literally would take you ten minutes to make a simple one that does what you want?
 
Euck
Laura is failing to even load in the Java runtime.
 
@quartata but mocha is a lot more robust and mature then one I'd throw together in 10 minutes
 
Anybody know how to fix this?:
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.ExceptionInInitializerError
	at com.VTC.laura.lib.Collector.loadLibraries(Collector.java:27)
 
9:57 PM
@quartata good point >_>
 
@Downgoat are you even using half of the features it has though
 
@VTCAKAVSMoACE Try uninstalling Java
and then use Node :P
 
@Downgoat no
 
@quartata I have no idea @Quill might know.
 
If the issue is Travis you can use custom test things on it
I don't know about coveralls
 
9:59 PM
@Quill for some reason after this commit it broke. It was a simple fix so I'm very confused >_>
 
@quartata Kinda, most of the "robust features" are for Angular (like mocking MVC projects)
You could write a unit tester, but Mocha works fine and it would be a waste of your time
@Downgoat, are you clearing the global scope on each test call?
That looks like you're using the same cheddar instance (with the same stored variables) over multiple test runs
@VTCAKAVSMoACE wrap your main block in a try catch to see what the exception is
 
@Quill I found that the jar file was failing to load because of something in an eclipse runnable jar library.
Trying to fix. :c
 
Yeah a completely new cheddar— ohhhh I mightn't not be... I'm on mobile but if the var GLOBAL_SCOPE is outside of the if in src/cli/prog.es6 then it's not >_>
 
The source of all my pain is this line: new File(Main.class.getProtectionDomain().getCodeSource().getLocation().toURI().getP‌​ath()).toString()
 
That's probably it. I made a change that throws an error when a variable is redeclared which might be it
 
10:13 PM
I've been playing around with Promises a bit lately, in the chat terminal thing, and now in my latest project with async and await.... and I just found this in the work project:
Instead of directly returning a promise, they make a brand new one, and then give it identical features to the functional one
 
>_> I have no idea what that means :|
 
this.$q.defer() is the builtin Angular version of Promise because Promise wasn't fully native when Angular came out
Which particularly doesn't matter, because it's TypeScript and we compile down to ES5 anyway
 
Ah ok
but why the $q?
 
because people have jQuery biases/fetishes
exuent
@Dennis Is it just me, or did you forget to include M in the index of TIO?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Indexing is automatic, but I explicitly excluded M. It's in pre-alpha right now and I didn't intend to actually use it yet in challenges. I just couldn't resist in two opportunities.
 
10:28 PM
Oh, I see. I guess that won't stop people from using it though :P
 
0
A: Sandbox for Proposed Challenges

dorukayhanMake a lolcat program We've golfed down cat programs 151 times in 136 different languages. But... what about lolcat programs? Task: Using the least amount of bytes possible, write a program that copies STDIN to STDOUT over and over again with the following twists: Im in ur console waitin ur t...

 
what should I name my version of python 3 in my path? "python3"?
 
@Quill If Mocha is broken I don't see a reason to continue using it
He's complaining about it once an hour, sounds like it would be worth his while to spend 30 minutes and never have to complain again :P
The best part is that you can reuse it
 
10:45 PM
Sometimes cutting a circle out of cardboard and putting an axle through it is preferable to using a car tire.
 
It's definitely preferable if the car tire doesn't work
 
this is why I would rent a taxi
 
@CᴏɴᴏʀO'Bʀɪᴇɴ aaaaaahhhhhhh jQuery. hides
@quartata it's difficult to do code coverage though with a custom test system which is a big reason I'm using mocha
 
@CᴏɴᴏʀO'Bʀɪᴇɴ dollar signs... ( ͡° ͜ʖ ͡°)
 
@Downgoat Huh
meh
 
No.
 
I think difficult is underestimating the difficulty of it. More like not possible while preserving the goats sanity
 
They're technically the same character
@Downgoat That sounds like a really shitty code coverage system
 
Idk
 
@quartata dangit
 
10:58 PM
Does \<pilcrow> not work?
 
:(
 
which means I can't use Jelly/M for my rube goldberg
 
Hmm maybe try this
 
@CᴏɴᴏʀO'Bʀɪᴇɴ use cheddar? :D
 

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