« first day (1834 days earlier)      last day (3008 days later) » 

2:01 AM
So it has a big dict of words?
 
yes
 
Yeah, and a very fancy system for accessing them. Although the dictionary doesn’t look very “cleaned up”. :<
 
I still maintain the dictionary would do better with some sorting by word commonality :P
 
"fudgy not found" <- major flaw right there
 
2:05 AM
Meanwhile, in ssh dh parameter setup land, VTC is struggling to let the certificate just be made. o-o
 
My Minkolang answer went from 26 bytes to 15 by using Dennis' algorithm. That's crazy.
3
 
Dennis is so good at golfing his answers that he golfs your answers too
11
The dictionary for Jelly is missing the word aardvark. Is it not a complete dictionary?
 
0
A: Sandbox for Proposed Challenges

DoᴡɴɢᴏᴀᴛUp goat or Down goat? test-battery code-challenge Given 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: Down goat Spec Your Program should be under...

 
@NewSandboxedPosts ._.
 
2:16 AM
ಠ_ಠ
 
IIRC I was the first one to implement a dictionary in a FREAKING GOLFING LANGUAGE programming language, but that project sat under a pile of dust
 
Did it contain the word aardvark?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You were the first one to ever make a list of common words accessible in a programming language?
idk, I bet apl has an English-dictionary import or something
 
@Eridan I think so
 
@Calvin'sHobbies APL has very few built-in features
 
2:22 AM
@Doorknob _ಠ_
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Then you've beaten Dennis in getting that word in your dictionary. Good job. You beat Dennis in something that he can't get ahead of you in.
 
I'm proud
 
@Doorknob Where has @ಠ_ಠ been lately?
 
2:24 AM
It's not like Dennis will build a time machine and beat me too it. For that, he'd have to erase the evidenc--
goes silent
 
he's a mod, he can do things
 
@Calvin'sHobbies Why do you assume Doorknob would know that?
 
I have made a bit of a mistake
 
How do you add an image to a Gist
 
Dennis's dictionary, sadly, does in fact contain aardvark. I was looking in the "short words" part of the dictionary
 
2:26 AM
@Doᴡɴɢᴏᴀᴛ Same way you'd add an image to any markdown file
 
ಠ,ಠ​​​​​​​​​​​​
ಠ,ಠ looks like an owl, doesn't it?​​​​​​​​​​
 
@AlexA. I meant how would I upload it
 
Oh. You'd need an image URL...
 
Ohhhh of course. imgur
 
2:27 AM
@AlexA. Doorknob lives here
 
@Calvin'sHobbies Here being Texas?
 
@Doᴡɴɢᴏᴀᴛ ninaj
I'm listening to a song whose lyrics sound like "goat stabbing" O_O
 
@CᴏɴᴏʀO'Bʀɪᴇɴ s/aj/ja/
 
@Doᴡɴɢᴏᴀᴛ Ninaj'd.
 
@Doᴡɴɢᴏᴀᴛ you can make albums in imgur
 
2:28 AM
You can also just put the image in the Gist
 
@AlexA. "The Nineteenth Byte" is actually a town in Texas
 
Gists can be multiple files
 
@Maltysen Do I need an imgur account for that? I don't want to make an imgur account
 
@Doᴡɴɢᴏᴀᴛ no
 
@Doorknob But how would I upload an image?
 
2:29 AM
By putting the image in the Gist?
git clone http://gist.github.com/foo && cd foo && cp ~/foo.png . && git commit -am 'image' && git push
 
@Doorknob I would need to make a markdown file and put the image into the markdown file right?
 
no
just... put the file in the Gist
 
the web ui lets you drag & drops files also IIRC
 
24 hours ago, by Doᴡɴɢᴏᴀᴛ
2 days ago, by Doᴡɴɢᴏᴀᴛ
Jan 28 at 5:30, by Doᴡɴɢᴏᴀᴛ
I suck at git
@Maltysen oh ok
 
@Doᴡɴɢᴏᴀᴛ imgur lets anyone upload images easily at any time (but it may reduce quality)
 
2:31 AM
drag & dropping Images doesn't work :(
 
just use git then
 
1 min ago, by Doᴡɴɢᴏᴀᴛ
24 hours ago, by Doᴡɴɢᴏᴀᴛ
2 days ago, by Doᴡɴɢᴏᴀᴛ
Jan 28 at 5:30, by Doᴡɴɢᴏᴀᴛ
I suck at git
 
learn git then?
 
^
 
As we speak, I am implementing a dictionary in jolf
.-.
 
2:33 AM
@Doᴡɴɢᴏᴀᴛ i think I had an answer written to that one challenge that got deleted from the sandbox about batch uploading gists
 
@Doorknob I know git commit and git add and git push and git pull but why learn git when I can upload it to imgur :P
 
because you keep complaining about not knowing git
 
@Doᴡɴɢᴏᴀᴛ I don't know that much... XD
 
@Doᴡɴɢᴏᴀᴛ Just use imgur then if the image is not super important. I literally just uploaded this
 
@Doᴡɴɢᴏᴀᴛ its in Pyth though
.x&K.d,,"description"k,"files".dm,d.d],"content"jb'd.z@c`h.w$__import__('json').dumps(K)$ "https://api.github.com/gists"N27"gist: unable to gist =("
 
2:34 AM
@Maltysen I don't really know Pyth either ._.
 
no I already wrote it
 
I forgot how it takes input though
it was in some weird way because the challenge was stupid
oh it takes input as a filename containing all the files
newline separated
-1
A: Sandbox for Proposed Challenges

WinnyGitHub Gist command-line client Create a command-line tool that publishes a list of files as one public GitHub Gist. Specification The following bullet points describe the behavior of the program. If a bullet point has "must", you must implement that point. If a bullet point has "can optionall...

 
@Maltysen "a filename containing all the files" whaa?
 
2:37 AM
That Jelly tutorial I’m writing just got super official
 
@AlexA. what in the holy name of zarquon is bazaar
 
@Doᴡɴɢᴏᴀᴛ read the sandbox post
 
GNU Bazaar (formerly Bazaar-NG, command line tool bzr) is a distributed revision control system sponsored by Canonical. Bazaar can be used by a single developer working on multiple branches of local content, or by teams collaborating across a network. Bazaar is written in the Python programming language, with packages for major GNU/Linux distributions, Mac OS X and Microsoft Windows. Bazaar is free software and part of the GNU Project. == Features == Bazaar commands are quite similar to those found in CVS or Subversion. A new project can be started and maintained without a remote repository server...
 
My favorite VCS is Copy (2) of main.c
 
ಠ_ಠ
 
2:38 AM
@AlexA. does anyone ever use that
 
@Doorknob I've heard of it so I included it but probably not
I know @quartata voted because there's one stray vote for SVN.
 
Why would you assume that
 
Because you're the only person I've ever talked to who actually likes Subversion
 
I think exactly zero of the people here have used all of these things, so how can you fairly vote
 
I have used Git and Mercurial
 
2:41 AM
Whatever you like to use
I've used Git and Subversion
 
I've used them all except bazaar
 
I've used half of Git
 
I’m this kind of Git user:
 
What, no CVS?
 
Does anyone know if JS arrays have a maximum index beyond which indexOf will not check for values?
 
2:44 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ 9007199254740991
I think
 
-1
A: Solve Einstein's riddle

terrythe brit keeps the fish as a pet becaus it doesn't minchen him

what
 
The Brit doesn't even keep the fish
 
@Doᴡɴɢᴏᴀᴛ Weird. I have a list of 773910 members and it doesn't work
 
Also
> minchen
 
2:45 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ What browser?
 
@Doᴡɴɢᴏᴀᴛ Firefox
 
what's l
 
The length of the array
 
Magos?
 
2:46 AM
"Mangos?" != "Magos?"
 
Carry on, I'm an idiot.
 
:D
 
Don’t worry, I’ve eternalized your shame. ^
2
 
I did it first ;)
 
@Lynn That's basically the motto of The Nineteenth Byte
 
2:46 AM
@Doᴡɴɢᴏᴀᴛ use this version:
 
Still doesn't work with some members D:
 
x&K.d,,"description"k,"files".dm,d.d],"content"jb'dQ@c`h.w$__import__('json').dumps(K)$ "https://api.github.com/gists"N27"gist: unable to gist =("
this takes input like ["file1", "file2"]
 
@Maltysen okay I'll try it out
Am I inputting correctly?
./pyth.py temp/gist '["/Users/vihan/Downloads/050234_Hausziege_04.jpg",     "/Users/vihan/Downloads/Hausziege_04.jpg"]'
 
no
./pyth.py temp/gist
 
nvm I got it to input correctly
Now it says: ImportError: No module named 'PIL'
 
2:50 AM
["akjd", "asd"]
apt-get install python-pil
or open up pyth.py and remove the import PIL line
 
I'm on mac so there's no apt-get
 
oh shoot my thing doesn't work
for images
 
pip install pil?
 
@AlexA. tried that. Doesn't work
 
What's it say?
 
2:52 AM
@Doᴡɴɢᴏᴀᴛ pip install pillow
 
The directory '/Users/vihan/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/vihan/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
 
@Maltysen That's Python 3
 
@Maltysen that worked \o/
 
Oh, maybe pip install PIL
 
I am such a bleeding idiot
 
2:53 AM
@Doᴡɴɢᴏᴀᴛ but it doesn't upload images properly…
 
@Maltysen D:
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You should get a bandage to stop the bleeding
 
@AlexA. I think I'll let it bleed.
 
ok
 
@Doᴡɴɢᴏᴀᴛ but its easily fixable
 
2:55 AM
I'm gonna bleeeeeed it out, if its the last thing that I do is taaaaaaaake you down
 
@Maltysen \o/
 
nvm
 
just use git
 
@Maltysen sigh ok
how do I do that?
 
3:00 AM
@ThomasKwa I've added an explanation.
 
2D pattern matching/manipulation is so powerful.
More golfy languages should have it!
I was gonna add a bunch to gs2, but I don’t really like gs2 anymore.
 
@Sp3000 That's definitely true. The problem is that I don't know how to calculate the commonality. All lists I can find online are dubious, pay-to-use or outdated.
 
And, of course, it requires lots of thought
 
@Doᴡɴɢᴏᴀᴛ k i'll walk you through this
first make a gist with a placeholder file
 
oh
I thought you meant to make a repo
 
3:03 AM
Not sure if it helps, but I keep using lemma.num for little experiments
 
So I looked up goat pictures for the Downgoat Upgoat challenge and I found this:
> Amazon Japan Doubles Its Goat Force
 
@Doᴡɴɢᴏᴀᴛ u made one?
 
thats a full git thing...
 
3:06 AM
I don't know any other way ¯_(ツ)_¯
 
@Doᴡɴɢᴏᴀᴛ I was gonna show you how
 
kay, go git clone <the url you have up there>
 
@Maltysen ok, done
 
remove the dummy file
and copy ur goat pics in
 
3:09 AM
\o/
then git push?
 
not yet
you have to put them in the staging area
with git add -A
 
okay, I think I got it
 
now commit
 
> We couldn’t find any files to show.
Is it because I made a folder?
 
You can git list to see what's staged
 
3:10 AM
@Doᴡɴɢᴏᴀᴛ prolly
 
git add . should add everything
 
@AlexA. no
 
@AlexA. I use git commit -a
 
it doesn't add deletions
 
o
 
3:11 AM
How do I remove a folder without deleting all of it's contents?
 
its prolly the folder thing
cp -R foldername/* .
then rm -R folder
 
@Maltysen cool thanks
Also, how do I rename all files in a folder to start with something like upgoat?
 
@Dennis Some of the word lists spawned for Up Goer Five/simplewriter/etc should be a start. Also, given the context, units like "Celcius" should probably be up there too
Not great suggestions, but I don't know of any complete English language rankings myself
 
@Doᴡɴɢᴏᴀᴛ what are they named now?
for x in *.png;do mv $x upgoat$x;done
prepends upgoat to the filenames
 
Domestic_goat_kid_in_capeweed.jpg
Grt-JF10-goats-kid-i.jpg
goat_1.jpg
Goat.jpg.1
Hausziege_04.jpg
GoatGenemaster2.jpg
goat.jpg
 
3:17 AM
@Lynn I've been saying this for a while now, but soon specialised languages will take over. Soon...
 
do you have rename command @Doᴡɴɢᴏᴀᴛ
 
@Maltysen yeah
 
it allows regexp renaming
 
Oh, do(w)ng(oat)... so that's what you guys were on about all this time
 
@Doᴡɴɢᴏᴀᴛ what do you want the names to be?
 
3:23 AM
@Maltysen preferably something like upgoat1.jpg upgoat2.jpg
 
a=1
for x in *.png;do mv $x upgoat$a.png;let a=a+1;done
@Doᴡɴɢᴏᴀᴛ ^
 
@Maltysen awesome! thanks a ton!
 
oh are these all the upfacing ones?
 
@Sp3000 Me neither. That's pretty much why I haven't done it yet. These lists would need a lot of extra words for our purposes, like fizz, buzz, etc.
 
@Maltysen yup. I'll do the downfacing ones now
 
3:29 AM
that first upgoat is kinda grainy
 
@Maltysen yeah. I guess I'll remove it. Now to flip the goats...
 
are you gonna use the same images, but flipped?
 
@Maltysen yeah. probably.
I might have a few unique ones
How would I match all the files that begin with downgoat?
 
downgoat*.png
 
^downgoat.*
with regex
 
3:33 AM
bash don't need no .'s
 
@Maltysen sweet, thanks
 
I am not a basher
 
@AlexA. Rather disappointingly, n->(+,~)[n%2+1](n^2)÷2+2 saves exactly 0 bytes.
(stupid 1-based indexing)
 
@Dennis Neat solution though!
 
3:43 AM
(removed)
 
Is my last message greyed out or is it just (removed)? If it's just black, then silly mobile
 
It's gray on desktop
 
Hmm weird, it's black on mobile?
 
¯\_(ツ)_/¯ I'm not on mobile
 
3:51 AM
Yeah, sorry about that Dennis. I was looking at the wrong dictionary
in PPCG Minecraft Server, 1 min ago, by El'endia Starman
...you can't find the honking big black thing?
 
Honking?
 
TALKING ABOUT A NETHER FORTRESS.
 
Is it a horn?
 
If an aardvark is large, black, and honking, I could not find it
 
3:54 AM
@El'endiaStarman ( ͡° ͜ʖ ͡°) nethers
 
-_________-
 
in PPCG Minecraft Server, 4 mins ago, by El'endia Starman
So glad I didn't say that in the Nineteenth Byte.
I see why
 
o/
@El'endiaStarman <3
 
@Dennis Just wondering, is it possible to have 256 1-byte chars and have the rest be 1.25 bytes?
 
3:59 AM
The main difficulty is knowing when to read the next 8 bits or the next 10.
 
@El'endiaStarman So it is possible, albeit much harder.
 
In a sense, yes.
 
No, it isn't possible.
 
If you have 256 different 1-byte chars, that's literally all the information you can encode in 1 byte.
 
4:00 AM
What you can do is have 128 1-byte chars and have the rest be 1.25 bytes.
 
@El'endiaStarman Hmm, that's pretty good too.
 
That'd give you 512 more chars.
 
For a total of 640. That's not enough IIRC.
 
Reasoning: if the next bit is 0, read the next 7 bits. Otherwise, read the next 9 bits.
 
4:02 AM
128 1-byte chars and 1024 1.375-byte chars might do though.
 
Does anyone have Visual Studio and Python 2 and is willing to do an experiment?
I'm having a ridiculous bug.
 
@ӍѲꝆΛҐӍΛПҒЦꝆ The primary disadvantage of that is that you (as it is now) could find a solution with a better score by adding characters. Having a fixed bit count for each would make things easier.
 
I have a Python program that prints some numbers.
When I pipe into a cat program written in C++, some of the newlines are dropped.
 
o_O
 
If I print 50000 lines, I get like 49980 lines with a few pairs smashed together.
 
4:05 AM
@Dennis Oic.
Man I've learned so much!
 
@feersum Does it have to be VS? I have Python and g++.
 
The bug doesn't occur when I compile it with g++.
I mean, you could try it if you really want to, but it probably won't be that interesting.
 
I think I have Visual Studio on my Windows virtual machine but I don't think I have Python 2 on it.
 
log a bug with the compiler!
 
@feersum I have python 2 and IntelC++ if that helps ¯\_(ツ)_/¯
 
4:07 AM
Booting up my Windows VM now to try it out
@feersum Want to send me some code?
 
@mınxomaτ I think VS uses icc, so that might actually help.
 
@Dennis haha,, no
 
Oh the bug is diefinitely not in Python.
I tried piping the input from type instead.
And it still happened.
Ok guys
 
@feersum I can try at least. Maybe find the bug if I'm lucky.
 
@feersum have you tried counting the characters?
 
4:09 AM
the C++ code is:
 
@Dennis VS uses MSVC as the compiler. ICC is an expensive standalone compiler that also offers a VS plugin (but you'd need both).
 
#include <cstdio>

int main()
{
    int c;
    while (~(c = getchar()))
        putchar(c);
    return 0;
}
 
aka, are the only lost characters newlines?
 
The input generator in Python is:
import random
random.seed(123354)
n=50000

s = range(n)
random.shuffle(s)
for i in s:
    j = i+1
    print i, i, j, j
@NathanMerrill yes
@NathanMerrill Actually, I didn't really check.
There could be some lost digits too
 
How were you piping it?
 
4:11 AM
@mınxomaτ Ah, OK. It's free of charge for Linux.
 
^ catacombs of Odessa
 
Either python thing.py | cat.exe or python thing.py > spam.txt; type spam.txt | cat.exe both produced the bug.
 
2
Q: Implement almost-equals for IEEE numbers

CJ DennisIsn't it annoying when you're working with floating point numbers and your code doesn't work because two numbers are not equal by the least significant bit? Now you can fix that! Write some code that takes two floating point numbers in any IEEE 754 binary format and returns TRUE if: the two nu...

am I the only one that finds this challenge underspecified and arbitrary?
 
But it doesn't happen if I do cat.exe < spam.txt
 
@feersum Okay, quick question: how do I compile with the Visual Studio compiler from the command line?
 
4:13 AM
@AlexA. um first you have to run some batch file called vcvarsall or something
Then you do cl <file>
 
@Dennis Not, it's not. The current compiler suite for linux (only C++) costs $699+.
 
@feersum Couldn't find that on the command line so I'm just starting a Visual Studio project with the file. It'll be a while before VS starts up. ._.
 
@mınxomaτ It's free for non-commercial use. If you have a GitHub project, you already qualify. software.intel.com/en-us/qualify-for-free-software/…
I previously used icc on Linux, until I realized that gcc is actually so much better. (On Linux, that is. icc kicks gcc's butt on Windows.)
 
How does clang compare?
(in your opinion)
 
I never used clang.
 
4:19 AM
Oh, okay
 
I love clang. ¯\_(ツ)_/¯
 
-1
Q: Would language restrictions for fastest-code problems be ok?

Nathan MerrillIn my last meta post, I asked about why we need objective winning criterion. Martin made a really good point that we need objective scoring to motivate users to improve their code. That said, the argument is a bit weak when it comes to fastest-code challenges. Because answers have to be run on...

 
The only compilers I've ever used were tcc, icc and gcc.
It can't get a lot worse than tcc...
 
@Dennis That depends on the workload. If it is highly parallel, icc will beat gcc on IA64 on linux and windows. But that's a very specific application (which is what icc was made for)
clang ... doesn't it power Emscripten?
If so, I used it.
 
grc
@feersum is the problem with windows newlines (e.g. something like this)?
 
4:24 AM
@grc I'm putting CRLF in and getting neither CR nor LF out.
 
grc
did you work out if it was just newlines missing?
 
@grc I just wrote a program to check and it is only newlines.
 
grc
that's weird
 
Did you compare the byte count? Does it print anything instead of the newlines?
 
It looks like this when a newline is dropped:
18052 18052 18053 1805322769 22769 22770 22770
 
4:34 AM
@feersum So I guess my Visual Studio license expired. :/
Sorry I won't be able to test it on VS for you
 
I'm using the free version
 
grc
just started my laptop's vm up and it seems to have visual studio
 
No unprintable between 18053 and 22769?
 
No.
The output is identical to the input except 10-20 CRLF pairs are removed.
 
4:49 AM
0
Q: Print a message if the programmer forgets to use an `else`

CJ DennisWrite some code, that when executed changes your language by forcing all subsequent if statements to have an accompanying bare else statement (i.e. not just else ifs), otherwise if no conditions are met, the code prints I found your loophole! to whatever qualifies as stdout in your language. else...

 
grc
@feersum how do you count lines on windows?
 
@grc I counted the lines by opening it in a text editor.
 
grc
I have 11 lines missing newlines o.O
 
yay!
What versions of Windows/VS do you have?
 
0
A: Sandbox for Proposed Challenges

DoᴡɴɢᴏᴀᴛEat the Chocolate Bar code-golf I have a chocolate bar and I need help eating it so you'll be writing a program just to do that. Explanation First number is size, second is pieces eaten. These can be taken in any order. 8 1 ____ __|__| |__|__| |__|__| |__|__| 8 2 _______ |__|__| |__|__|...

 
grc
4:59 AM
@feersum visual studio community 2015 (version 14.0. ...)
 

« first day (1834 days earlier)      last day (3008 days later) »