« first day (1722 days earlier)      last day (3416 days later) » 

05:00
There's data in the clipboard. I tried to paste it into vim and it made pissed off beeping sounds at me.
There's only one \n, actually. I guess it counts the \r and the \t.
5 bytes.
I pasted it into the vim command area before <.<
Was one of the unprintables a beep?
Yup.
It beeped at me
There was also a space. Could you paste in the input field of this?
05:04
Will do. Also:
8
Q: How to type non-printable ASCII characters in Mac OS X Terminal?

davidcannTo communicate with a serial-type device over a telnet socket, I need to type the null character (ASCII 0) and all other non-printable ASCII characters. On Windows, you hold ALT and type the ASCII code. How do I do this on Mac OS X?

My money's on [33 9 10 32 33].
[33 10 10 10 33]
I should have taken your pesos.
(Also, we don't use Pesos.)
Wait, what?
Just because you don't use pesos doesn't mean you don't have pesos. :P
Well, I don't.
05:08
Okay.
I am a Guaraní millionaire though. (So is everybody else.)
> I started using this code [...] to make my terminal is bit sexier. I just copied the code without editing it
^ SO gem
Link?
3
Q: Weird behavior in mac os x terminal

romainbergerI started using this code from Mark Dotto (http://markdotto.com/2013/01/13/improved-terminal-hotness/) to make my terminal is bit sexier. I just copied the code without editing it, so in my .bash_profile I added: export PS1='\[\e[0:35m⌘\e[m \e[0:36m\w/\e[m \e[0:33m`git branch 2> /dev/null | grep...

⌘ <-- does this show up to you? (It's the Apple command icon)
Not on my phone.
Related: The last update to git broke my bash tab completion.
05:12
Weird
Well, Doorknob would tell you to switch to zsh.
I would tell you to switch to Mac.
Zsh is cheaper. :P
Marginally
And Mac uses Bash, no?
It can use whatever. It uses Bash by default but zsh is installed as well.
OS X is based on FreeBSD so you can put a lot of standard stuff on it easily.
I certainly won't deny that Apple products are crazy expensive, but I do think it's worth it. This has been the most reliable computer I've ever used. I've literally had no issues with it, even though it's on its fourth OS and has all sorts of crap installed on it.
It's an early 2011 model, so it's about 4.5 years old.
If I only could try a Mac somehow. I have a long history of spending way too much on electronic devices, but it was always something I knew I wanted.
05:20
Are there Apple stores in Paraguay?
Also, Apple doesn't make 17.3" MacBooks anymore, I think.
What do I have?
15" MacBook Pro
We have Apple stores, but knowing if I would prefer a MacBook over my Toshiba would take more than a few minutes. :/
Haha
Well, come visit Seattle and you can use my computer. :P
And the keyboard. Oh god, the keyboard...
05:23
?
Weird symbols where Ctrl, Alt and Super should be.
No numpad.
Ctrl is unchanged. Alt is Option, which is the same. I don't know what Super is, but Macs use Command where that key would be.
International symbols are easy to type by holding Option and keyboard mashing.
The "Windows" key. I refuse to call it that.
Strauß
e^(iπ)=-1
4˚C
I use the numpad for all numbers.
Linux doesn't have "Alt codes" anyway.
05:27
The Mac laptops also don't have Home and End, which bugs me now that I know what they do, but you can get a full keyboard and plug it in through USB.
(Or Bluetooth)
I've been meaning to do that but effor
No Home and End? (frowny face)
No delete either. And backspace on Mac is called delete.
Argh!
Haha
Sounds like my wife's Chromebook.
For 200 bucks, it's a great piece of hardware. But the keyboard...
05:30
^ this is a Mac laptop keyboard
And you're correct, they no longer make the 17" MacBook Pro
That's the entire keyboard?
How do you toggle Insert? What do you use for Home, End, PgUp, PgDown or Delete?
I have never and will never use Insert. When I was young I thought it was some kind of demon that randomly spawned in Microsoft Word that required restarting the computer.
Haha.
05:36
I don't use any of Home, End, PgUp, PgDown, or Delete because I don't have those keys.
So how do you delete stuff under the cursor?
Backspace
Arrow keys as necessary
ಠ_ಠ
There are surely better ways, it's just what I know how to do.
I never bothered to learn anything better.
A decent visual alternative to the textual disapproval face:
Home: fn+Left Arrow
End: fn+Right Arrow
Page Up: fn+Up Arrow
Page Down: fn+Down Arrow
Delete: fn+Delete
05:39
No shit? That's amazing! Thank you so much!
Saving that in a file immediately
Not sure if the control key is even needed.
I only ever use it to tell processes to STFU.
For Home and End, I mean.
Nope, just fn works for me
Holy crap. Today will go down in infamy as the day a non-Mac user taught me how to be at least 50% more productive at programming on my Mac. :P
Haha.
Even found one for Insert.
05:43
Please tell me what it is so I don't assume demons if I press it accidentally like I used to do.
@Dennis fn+Return
I wonder if I can disable Insert in my system settings. :P
Newer versions seem to use fn+I.
Interestingly, neither of those key combinations works in Atom.
oops
Haha.
Regular Insert doesn't work in Chrome either. It refuses to overwrite text.
05:46
Neither seems to do it in this text box either.
OH! I wonder if it's then because Atom is written in and based on JS.
Nope, doesn't work in vim either
Looks like the fine developers at Apple agree with me about the demon spawn that is Insert.
Others suggest option+command+T or control+T.
WTH Apple, four different shortcuts in four different versions of OS X?
None of which work for me with the newest version
They sure seems to be trying to hide it. :P
With good reason!
I guess I could live without Insert.
05:49
:P
Oh man, I'm so jazzed about these home and end shortcuts
and page up/down
I wouldn't know what to do without them...
Do it the wrong way, like I did.
By holding down the arrow keys?
Yes
And waiting until the cursor got to one side or the other of a line of text
ಠ_ಠ
05:53
Haha I do deserve that face now that I know that shortcuts exist.
@AlexA. ಠ_ಠ
06:22
Cಠlಠnಠscಠpy
06:50
-1
Q: Geniux Contrary

CathyKnarr, the Geniux brain training games are not limited to a particular age charity and can be enjoyed by young person and pass. Studies have shown that brain training can shorten the occurrence of invincible diseases, how to prevent Alzheimer's sickness. These games can in addition to be used for the...

07:05
Challenge idea: Write a program which determines whether or not a question is probably spam based on the weirdness of its tag combination
4
07:19
GolfScript: "popularity-contest"?)
So does that mean your challenge idea from earlier is spam? :P
btw nice choice of formula for partition numbers
It took me ages to find one that could be competitive with your recursive approach.
Direct calculation of the partitions is shorter, but too slow.
Oh? What do you mean by direct?
07:53
Maa{_,f{)\1$-jf+~}:$_&}j,
08:04
Ah... does that not memoise?
08:19
Yes, it does. By direct I mean actually computing them, rather than just using a formula which counts them.
Oh, right. For some reason I thought that's what I did too, but looking back apparently not
08:53
@Sp3000 if you want to play:
0
A: The Mystery String Printer (Cops)

randomra><> (Fish) Length <= 8 >>>>>>>>>>>>>>>>>>>>>>> The output is 23 >'s and the program produces no error.

Well doesn't that look familiar? :P
this was the best I was able to do with 8, not that original unfortunately
but it has a novel thing (at least for me) in it which I wanted to use for some time
Hm, 24.
that was quick :)
btw there's a lot you can do with 8, e.g. fffffffffffffffffffffffffff :P
Hm... actually...
08:58
I wanted to put golf into it somehow
zzzzzzzzzz <-- that's better
ok, zzz... is interesting
people are joking about ಠ_ಠ and Alex A being clones, but I'm rather wondering about Geobits and Peter Taylor :p
Unrelated, but apparently you can also get lo?o?o?o?o?o. Hm.
I have 21 z's
09:07
votes cast: 926 up, 1037 down
@randomra I have 21 >s :P
BGLQV[`ejoty~ :/
still waits for an answer to his rapid fire question
09:23
@Optimizer which is?
@Sp3000 this is fun too: 559559559559559559559559559559559559559
As is the one I posted just then :P (BGLQV[ejoty~`)
Actually that one's probably not too hard tbh
@randomra 59955995599559955995599559 eh close enough
nice, how? the trick is probably the same
09:34
&_n in some order I've lost track of
I thought, you did 599 599, 59 95 59 95 is different strategy
Ah right. Oops
mine is 559 559 559
I can get 53 >s :P
97 ?s is also possible o_O
106 (s (yes, I'm just trying to find the largest finite output in 8 bytes)
@randomra Got the cop
10:24
Ahaha x, nice
using x for deterministic output was on my bucket list :)
Ahaha nice :P
I will look up, but had a couple hundred ;s for output
Yeah the best I've gotten with just one o is 218 ;s
Hmm I should really make that + a *
'f*l(?;o is 332 ;'s
10:29
'*l(?;op 12427 D:
Hmm that'd have been invalid anyway, too long :/
'**l(?;o should be really long
Oh true, let's see...
waits
137528?
I shot it down at 50K
and using n triples the output
10:34
Ahaha true :P
can I tell the '559'*13 solution?
Go for it - I'm guessing & is in there somewhere?
(137528 confirmed)
@Sp3000 nope, 'onl(?;5
Takes a while to run, eh? :P Didn't expect 8 bytes could get that long in ><>
Ah, you have o and n :/
yeah, 6 bytes need for decent length output (I think), and after that it seems to go up quickly
10:39
6 bytes gives 36 ;s, not bad actually
can you do something with loop and print with 5 bytes?
Oof tough question
Hmm I wonder if you can actually do something in 8 bytes with p other than using it to pop 3 values
@Sp3000 you can might extend the first line so more would be pushed on the stack, but that just decreases the output size in the current form
dunno about other option though
Longest I can think of for 5 atm is just 'nnn; :/
'nn|; is a bit better
I still dunno about loops though
11:27
0
Q: Problem in finding state for a Dynamic programming approach for a problem

gb27The question is Given k,n,m. where k is no. of coconuts you initially have. n is some no. such that if you have >=n coconuts, you become stressed otherwise you are normal. m is the no. of shops.You go from 1st shop to m-th shop without skipping any shop. At i-th shop, either you buy Si coconuts...

 
2 hours later…
13:24
@Zgarb Variables are immutable in Haskell?
Hmm
Is there any way to make them mutable?
13:38
Jeez I'm getting real sick of seeing the words "something smells fishy"
It's always the ><> programs that I expect not to work that work and ones I expect to work that don't work
Do you know where I could stick my 1.4MB log file permanently?
@muddyfish Pastebin?
too big
it says 512 kb max
Really? Huh
or should i have 3?
13:45
Mediafire I guess then
@muddyfish No that would just be recipe for confusion when you come back to them six months later :P
does SE have a site for this sort of thing?
Dunno
@quartata Out of curiosity, how are you debugging?
@Sp3000 Not at all
I just run them
And send a prayer to the Lord of ><> that it works
I've considered modifying fish.py to add debug statements (I do this to GS2 all the time) but eh
If you can't be bothered doing that, maybe try the online interpreter?
13:50
Oh yeah I forgot about that
One second
Yeah... some behaviours are different but, I dunno, maybe the animations might help?
I figured it out with that thanks
So conditional trampolines pop the value
der
Hmm still some more problems
But the animation definitely helps thanks
If you'd like help, you can post it here
It's a string printer :P
I would otherwise as I'm sure this is terribly golfed
@Sp3000 does this break the ><> compiler for you too?
01.

C
13:59
Yes because there's nothing on the second row, and ><> doesn't check for that
and if there is no C there, it trims the trailing newlines?
0
A: Sandbox for Proposed Challenges

trichoplaxLife: Created or Evolved? code-golf grid cellular-automata Given the state of a square Game of Life grid, determine whether it could have evolved from any previous state, or could only have been created. That is, identify whether the state is a "Garden of Eden" state. Input A square grid ...

It's less trimming, and more "doesn't place anything in the defaultdict" it seems
Are you trying the delete blank line challenge?
I played with jumps on the mystery challenge while I had some junk on the next lines
14:45
0
Q: Input the number of pages and the number of pages in a packet. Cost of packet is 350 and the cost of a loose sheet is 2. Calculate the total costs

thezayntheInput the number of pages and the number of pages in a packet. Cost of packet is 350 and the cost of a loose sheet is 2. Calculate the total costs Write it in pseudocode

@randomra If you're still here, if you had to change ' or ", what would you make it do?
Man there have been a LOT of off topic posts these past two weeks. Is it normally this bad?
Off topic posts are always with us. The internet is open to anyone
Yes. Most people really suck at disguising their homework.
5
@feersum But why PPCG?
14:54
I wonder how many times someone has successfully posted their homework, and got answers without it getting closed.
Why not Stack Overflow or Programmers or Code Review or any place else
Why here?
PPCG's got far less traffic than SO, so maybe they hope they'll get noticed?
@feersum I'd love to know whether anyone has ended up handing in CJam to their teacher
Also, as somebody mentioned, some people might think "Oh this is a hard bug/homework. It'd probably make a good puzzle"...
@Sp3000 I think part of the problem is the Programming Puzzles part of the name...
Hmmph
Or maybe if we just put a giant banner on top of the Ask Question form that says "STOP POSTING YOUR HOMEWORK"
Would using -v be okay for my ><> printer?
Which challenge is this for?
Mystery String Printer
It's the only way I know of to golf it down to below 32 bytes :P
You'd have to ask Daniel M, but probably no
Damn
15:05
You'd need a pretty big number for it to be worth it anyway
(I have no idea why I just said Dennis instead of Daniel M)
@Sp3000 what do you mean?
plus functionality?
In ><>, " and ' do basically the same thing. I was thinking of keeping it like that for added compatibility, but I'm not sure if that's the best idea
it's good that you don't have to escape them only if both present in a string; and I haven't seen in use, but the 'aaaa"aaaa format is fun too
Ahaha 'aaaa"aaaa
So... maybe keep it as is and see how it goes then?
I would say yes. Are you short of symbols?
15:12
Not yet - I've still got a few left
e.g. I still haven't decided what to do with _ or | yet
have you ever used them in ><>, where # wouldn't work?
I think only once, in a restricted source. It's not often you need the no-op part of it
15:54
Is there a general reference for how to count bytes in a language in meta somewhere? (again, I have terrible search queries.)
For example, in AppleScript, you can use the character, but it might be counted as two bytes even though AppleScript is saved in a file that in no way resembles the human-readable source.
Oh, found it. Never mind.
 
1 hour later…
17:26
ಠ_ಠ windows
I just wasted like an hour fixing my wireless driver
it literally stopped working all of a sudden
I would switch to linux but I'm too lazy to back up everything on my HDD
17:50
1
Q: Minifying math statements

TNDThe Challenge You are the owner of an amazing service called Coyote Beta, which magically answers math questions its users send to it over the internet. But it turns out, bandwidth is expensive. You have two choices, either create a "Coyote Beta Pro" or find some way to solve this. Just recen...

18:20
Dammit someone already did a continued fraction challenge
Hmm....
18:31
@Sp3000 So I went to the golfing tips for ><> page and thanks to your little tip I've managed to golf my string printer down to exactly 32 bytes using a jump instead of a newline.
Thanks
. is very useful in general, assuming you're talking about the tip I think you're talking about :P
Yes
I was so excited about it I accidentally posted my string printer on the golfing tips page
2
><> is actually a really cool language once you get the hang of it. I might try using it a bit more
I thought you'd made something absolutely impossible because 32 bytes is a lot to play around with, but you were nice and did something actually doable
This is interesting :)
19:25
Already cracked? Darn
I made it too easy
@Sp3000 Yeah I kinda was bored of making impossible number printers so I made an interesting one instead
:) it'd be even better with tetration, but I'm not sure if that fits
Added my code if you want to take a look
I now have the most cracked answers :(
Ah... yeah that leading whitespace is expensive
I didn't really try to golf it too much once I got it under 32 bytes
Ahaha true, <= 16 seems tricky/impossible
19:29
Yeah I don't think it is possible
Especially considering ff* and dd* is 6 bytes right there. Doing the rest in 10 bytes.... I don't think so
I kinda finished the song :p
What is Lenguage?
it's a great lenguage.. I mean language
It's Unary++
Lemme guess... the length of the code is used as instructions
Just my first guess from the LEN part
@Sp3000 Oh I see.
19:32
yep, and converts to brainfuck
Best Choice of Lenguage 2015
Alright so I'm going to make another number printer audience throws tomatoes at me
But I think it'll be interesting because I'm going to try to do it in dc
Do I get cool points for this: codegolf.stackexchange.com/a/61083/45151
I also used a little trick that makes it more or less impossible to brute force so that'll be fun
The leaderboard snippet appears to be broken -- it gives a half point off for every cracked submission past the first one. If I'm understanding the rules correctly, you should just get one half point off for having more than one cracked submission. — quartata 14 secs ago
Am I understanding this correctly?
Cause right now I'm at -2 points :(
19:55
0
A: Sandbox for Proposed Challenges

aditsuPlay a RTTTL song User quartata posted this question, but he neglected the fact that, for whatever reason, he's not able to play midi files on his computer. Let's help him out by writing a full program that reads a song in RTTTL format from the standard input and plays it (at the right speed an...

@NewSandboxedPosts Awh, how nice!
^___^
@aditsu If you want I can write the format description for you
Or you can just rip the one I used in RTTTL Obfuscation
I was going to copy from your question and adjust it a little bit
anyway, I'll probably do it tomorrow
Uh oh I just noticed a problem with my dc answer
20:11
Ah that's better.
@PeterTaylor If you're still considering that sky stitching pop-con... I just noticed, Mathematica has built-in texture synthesis since 10.2
20:24
Uh-oh. Dennis is starting to use Pyth: codegolf.stackexchange.com/a/60574/45151
IntegerReverse? lol, why would they implement such a silly builtin
@feersum In Mathematica?
Because it's Mathematica.
It's THE language of built-ins.
But why is Mathematica Mathematica?
20:27
@feersum Because no one else stepped up to the plate of the all stupid built in language.
I mean, the thing's got a built-in for country capitals.
@feersum it's quite painful to do manually in Mathematica (at least for golfers :P)
@feersum Yeah, if you think IntegerReverse is dumb you haven't seen anything yet
@quartata It now has a built-in for travel directions.
> nearly 5000 built-in functions
One can imagine country capitals being useful somehow
20:29
@MartinBüttner .
But no one would need IntegerReverse outside of recreational programming
@feersum I'm sure number theorists can find IntegerReverse "useful somehow".
It also finally has PalindromeQ now
@feersum CelluarAutomaton
@quartata Well what do you expect from Wolfram's own language?
PalindromeQ is actually pretty funky... it works for integers, lists and strings.
@MartinBüttner I expected exactly that. In fact I expected an empty file to create a simulation of Rule 110.
20:31
Cellular automata are somewhat of mathematical interest
I was disappointed.
digit string reversing is 100% silly, not a serious part of number theory
@Doorknob were you collecting potential content ideas for a PPCG blog/medium thing? Here is one: reviews of new language releases (with respect to how the new features/changes can shorten common idioms in the language).
@quartata Heh, that is impressively silly
20:33
@feersum What is this history doing in my Mathematica dammit
@MartinBüttner that's a good idea! (Still haven't made that meta post about Medium...)
@MartinBüttner ...
@MartinBüttner okay, that's actually pretty awesome
@MartinBüttner Indeed. He seems to think he invented cellular automata.
21:14
Every time someone cracks one of my cops, I post another one right away. I'm like the punching bag of cops and robbers.
3
This never happened to me: I did not read the specs of a challenge carefully enough, and as I had to implement something I omited before, it actually shortened my code by quite abit=)
lolcode doesn't have support for longs dafuq
EHRMAGEHRDWADDAFUGBARBECUUU!
Basically - Long Number Woes
I need to become admin just for this translate feature in the chat.
21:28
I can't count the number of times I wished there was an easy way of rotating the entire stack in CJam. Now that I thought of one, I can't find a challenge where I could use it. :/
CJam is cursed!
@Dennis That's one my favorite features of gs2 (wrap-stack). What's the easy way in CJam?
1
A: Tips for golfing in CJam

DennisRotating an array (or the stack) one unit to the left CJam has the rotate left operator m<, which is normally what you should use to rotate an array an arbitrary number of units to the left. In some cases, you can also use (+ to shift and append: [1 2 3] (+ e# Pushes [2 3 1]. [[1] [2] [3...

@Dennis I just thought of :\ like three days ago (although I didn't think about using it to rotate the entire stack). I was just wondering whether you'd actually ever used it, but apparently not.
It occurred to me a few minutes ago. Like most of my ideas, it occurred to me when I was trying to do something else entirely, which didn't work as expected. :\
One of my favorite golfs by accident has to be your xkcd page numbering challenge.
> Dammit, I got the indexes wrong again... ooooh, that produces the output I'm after!
2
21:48
I suspect quite a few advances in science are made similarly=)
The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' but 'That's funny…' --Isaac Asimov
Anonymous
It's not screwing around if you write down your results - it's science!
Anonymous
My favorite one from there is the one about running the centrifuge at a certain rpm because any higher makes it make a scary noise

« first day (1722 days earlier)      last day (3416 days later) »