« first day (1921 days earlier)      last day (3180 days later) » 

00:00
why would you be pulling from Heroku?
@Downgoat No, Heroku is pulling from GitHub. Except they're not pulling, only cloning the files.
oh no I need a namespace and phase is taken
so why does it matter if .git and/or git data is deleted?
@phase phasesaber?
jadon420?
@Downgoat I need to pull the git submodules because Heroku doesn't pull them with the automatic deploys like it does with the manual pushing.
@AlexA. It's <project>-<namespace>.rhcloud.com, so that'd be o-phasesaber.rhcloud.com, and that's super long.
o-shit.rhcloud.com
00:05
I don't want to do that as I might ant to create other applications on OpenShift in the future, and they'd go under the shit namespace.
@phase oh, ok. Couldn't you store all your submodules in a different folder/file and then have a script to setup git and install submodules?
@Downgoat The folder/file is the git submodule, and the script is git submodule update --init. If Heroku doesn't support it, then I can't use them.
Have the script install git submodule?
@Downgoat It has git on the server, it just doesn't have the git data for my repo. I'd have to clone the repo in a subdirectory, move the git data to the main directory, and then issue the command.
All right, back
@Downgoat Can I see your code for Cheesecloth? I'm pretty concerned about the potential for a code injection if you're doing anything significant in bash
00:09
think we should close this
oops
wrong copy pasta
oh never mind
dennis already closed it
00:10
this guy is a fraud
he copy/pastes challenges to outsource the solution to codegolf
@Downgoat Oh, all right. That's fine
also you really should use JSON
@quartata json won't work very well
json sucks
Why? JS has built in support for it
TOML please
@quartata that is not a good reason to use JSON...
00:13
JS has support for everything since that's the only thing people code in.
@orlp We deleted both
JS has a built-in for shitty type casting, that doesn't mean it's good
@Downgoat In this case it is.
Who gives a shit about what the config format looks like as long as it's easy to use
@QPaysTaxes They were in the comments
@quartata we're using INI because I spent time to make it O^O
00:14
FWIW INI is fugly
@CᴏɴᴏʀO'Bʀɪᴇɴ ok but still
Feature request: Get some PPCG rep :P
the second one is trivial sorting by char codes and checking for equality :P
00:17
@quartata ಠ_ಠ
ini is beautiful
JSON is ugly af
@Downgoat Uh, it's true?
@Downgoat Dude, you know JSON is literally what happens when you stringify an object right
@quartata yeah?
but we're using ini
@Downgoat So.... you're basically saying that dictionaries in JS are ugly
00:18
pretty much
so you're admitting that JS is trash
which means I win
they're worse in python
@CᴏɴᴏʀO'Bʀɪᴇɴ they're exactly the same in Python
and I love js dictionaries
@quartata nope.
00:19
Saying the object literal syntax in JS (which you should almost never use) does not mean JS is bad.
@CᴏɴᴏʀO'Bʀɪᴇɴ Uhh?
"asdf": prop versus asdf: prop
You should be using Map for dictionaries anyway
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh, ffs.
@quartata what? something wrong?
00:19
@CᴏɴᴏʀO'Bʀɪᴇɴ basically same difference
does anynone here know SVN?
but it's much less convenient
@Downgoat quartata does
@quartata halp with SVN pls
ok what do you need help with
00:20
svn
so I have some git stuff I need to download
so right now I am doing:
svn export path/to/file
how would I download that to a specific file?
@Downgoat what do you mean?
00:22
I want to download and rename basically
svn export takes a remote or local repo and basically puts all the files in it in a new directory
So you do svn export repo new-path
oh
so like git
I'm bored. have a few more example programs. feel free to question/criticize as this is a work in progress
∇/∩∂         gcd (takes array)

÷-^φa^⁻Φa√5  golden ratio fibonacci

?<a2a+fàfà   recursive fibonacci

:„1+         recurrence relation fibonacci

∏            factorial, because array(n) = [1..n]
What is
00:28
@QPaysTaxes he's using the golden ratio to calculate the fibonacci
@Cyoce I really like this language
What is the language
@CᴏɴᴏʀO'Bʀɪᴇɴ thanks! :D
@Quill do you know node? If you do can you help me with it :3
@AlexA. pretzel
@Cyoce no problem
@AlexA. pretzel, my prefix golfing language.
00:29
( ͡° ͜ʖ ͡°)
Quill has been summoned
Strange, I thought I was still in this room...
Monring
@Downgoat maybe enough to help you out, what's up?
@Quill ok, so I am trying to run some commands in node
Fun fact: the : in the recurrence relation fibonacci :„1+ means subscript, so just „1+ will create an infinite fibonacci sequence generator object (which will infinitely print the next term if this is the last expression in the main function)
I need to get STDOUT which will be a file, it might be big but it's not really a file
00:31
@Cyoce whoa
@CᴏɴᴏʀO'Bʀɪᴇɴ lazy evaluation FTW
how should I do htis?
@DJMcMayhem Sorry about that. Feel free to ask me. The documentation is admittedly a little too long. Knowing some Matlab helps
Can't you just do a normal terminal stdout to file
@Quill and then read that file?
seems inefficient
00:32
Haskell does the same thing. Open GHCI and type [1..] and it will brutally murder your output stream.
@Cyoce you need to make a pretzel-to-(La)TeX converter
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't know (La)TeX, but sure I'll get on that once I make my unicode<->pretzel converters.
Soft pretzels are taste
@AlexA. I love soft pretzels
00:34
Quill$ npm update node -v >> meow.txt
Quill$ cat meow.txt
1.4.28
Can't you just do that @Downgoat
@Quill but my command is already outputting to stdout
@QPaysTaxes what do you mean by that
I need the file in memory
You're trying to rename/copy a file?
7 mins ago, by Alex A.
( ͡° ͜ʖ ͡°)
13 secs ago, by Alex A.
7 mins ago, by Alex A.
( ͡° ͜ʖ ͡°)
can we not lenny chain pls?
00:38
heck
Put a moderator hat on it and it can be @AlexA.
Mar 9 at 23:46, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
Jan 20 at 19:25, by Alex A.
Nov 5 '15 at 2:27, by Alex A.
╚═( ͡° ͜ʖ ͡°)═╝
╚═(███)═╝
╚═(███)═╝
.╚═(███)═╝
..╚═(███)═╝
…╚═(███)═╝
…╚═(███)═╝
..╚═(███)═╝
.╚═(███)═╝
╚═(███)═╝
.╚═(███)═╝
..╚═(███)═╝
…╚═(███)═╝
…╚═(███)═╝
…..╚(███)╝
……╚(██)╝
………(█)
……….*
pls delete these takes up too much space
Hope you don't mind either @Doorknob
\_( ͡° ͜ʖ ͡°)_/¯
¯\_(ಠ_ಠ)_/¯
¯\_(ಠ_ಠ)_/¯
.¯\_(ಠ_ಠ)_/¯
..¯\_(ಠ_ಠ)_/¯
…¯\_(ಠ_ಠ)_/¯
…¯\_(ಠ_ಠ)_/¯
..¯\_(ಠ_ಠ)_/¯
.¯\_(ಠ_ಠ)_/¯
¯\_(ಠ_ಠ)_/¯
.¯\_(ಠ_ಠ)_/¯
..¯\_(ಠ_ಠ)_/¯
…¯\_(ಠ_ಠ)_/¯
…¯\_(ಠ_ಠ)_/¯
…..╚(ಠ_ಠ)╝
……╚(ಠಠ)╝
………(ಠ)
……….*
3
00:48
1
Q: Rainbowlify An Image

Helka HombaThis challenge is about gradually shifting hues in an image to make pretty pictures like this: (original) Challenge Write a program or function that takes in two non-negative integers and an image in any common image file format of your choosing (you can take a path to the image or the raw im...

that's pretty cool
@HelkaHomba think you have a mistake
step = cycles / (image width * image height)
@orlp Where?
should be
step = cycles / image height
WHAT
TOO MANY BACKSLASHES
00:51
@HelkaHomba unless you intend for the rainbow to not be in rows
@QPaysTaxes I was testing and it failed
but that will look weird as cycles increases
say if two objects have a scale factor of n : m (n < m). Given distance K of the smaller object,what is the distance K' on the larger object?
@HelkaHomba either way you should add a testcase with a really high cycles, to sniff this out
@orlp No that's right. The rainbows aren't in rows, it's just tricky to tell
@orlp Good idea
00:53
also
you didn't specify how you define hue
by what color space
@HelkaHomba ^
@orlp Fixed both issues
@ArtOfCode Can I just post.title?
@QPaysTaxes just a picture of a bird
01:11
0
Q: Tips for golfing in Swift

addisonWhat are some tips for code-golfing in Swift? It seems like a difficult language to golf in because of it's focus on safety, but I was wondering if there's any tips to help? Are there any features in Swift that may help it excel in code-golf in certain applications?

@Quill do you know what Error: write EPIPE means?
oops post.title doesn't work
I'm trying to understand Answer here and my head hurts
i very stupid
haha, svn is so bad it segmentation faults instead of throwing an error
Ohhh, I get it now
@Downgoat broken pipe
01:20
which is a perfectly valid reason for a segfault
@quartata no, segfault happens on a different script
what are you doing to poor svn anyways
Sending it to hell where it belongs
01:22
@quartata there are files on github which I need to download with svn.
@ArtOfCode I went ahead and deployed the fix for rep notifications that shows the title
That issue was weird
now I just need to do comments
@Quill do you know what execFile does?
01:25
No
and done
No: looks like it executed a file
nvm figured it out
@LuisMendo Haha, no problem. I actually learned a fair bit. Although there are still a couple things that aren't clear. I'd love some help on it! I'll ping you about it later.
2 issues down 5 to go
01:34
Hi @NewMainPosts
@ANerd-I new main posts isn't in here...
@Downgoat Just how I greet the chatroom as a whole. :P
step = cycles / (image width * image height
@HelkaHomba missing a 360 * there
?a*afà1 recursive factorial
@orlp Unmatched parenthesis. I... aaaa... bzzzt... kkssshhh shutting down
) oh thank god
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ_ಠ for using var and not let
01:50
@ArtOfCode debating how to handle IRC logins. The easiest way is to run IRC over ssl and have users message the bot their qpixel logins
@CᴏɴᴏʀO'Bʀɪᴇɴ your INI parser fails for arrays/objects: D:
goat[]=downgoat
goat[]=upgoat
that would output "goat[]": "upgoat" rather than "goat": ["downgoat", "upgoat"]
Isn't that what it should do?
@Geobits no, [] denotes an array
[something] denotes an object
Yea, but what ugly syntax uses = to add to an array?
@Geobits this is an INI config file, not a fancy programming language
01:55
Either way I'd expect to see something sensible. Intuitively, it looks like you're assigning values to a variable (overwriting the first), not adding items to a list.
@Geobits ¯\_(ツ)_/¯ I didn't make INI

« first day (1921 days earlier)      last day (3180 days later) »