« first day (2028 days earlier)      last day (2812 days later) » 

10:01 PM
@TimmyD this is PPCG where less = better
 
@ConorO'Brien So when you say that it's "2D" that means the instruction pointer, not the memory layout?
Cause V is also 2D
 
Yes, I do mean that.
vim is 2D by it's nature, right?
 
Yes.
What text editor isn't?
 
the non TC ones. I was more clarifying if that is what you meant by 2D as well
 
Oh, turing complete
 
10:06 PM
yeah
I don't think you could apply language classifications to non languages :P
 
That's not true. Np++, and atom, and all the other ones are 2D also
 
@DJMcMayhem see above.
 
Fair enough
Is emacs TC?
 
they are technically 2d, but not in the language sense
@DJMcMayhem I have no clue
 
@DJMcMayhem Well, it can evaluate Emacs Lisp, so yes.
 
10:13 PM
@mınxomaτ How is the podcast idea going?
 
@TùxCräftîñg /Q\)
 
What language is that?
Pyth?
 
@Phrancis oh my god that Q/D ;_;
 
10:22 PM
@TùxCräftîñg Retina: \(
 
Damn. At first I was proud of it, but now I have the longest answer.
@Doorknob Now do it vim, I want to see who can do the shorter one. :)
 
@TùxCräftîñg 05AB1E: '(¢
 
@DJMcMayhem yeah
 
@Doorknob we have a winner
 
@Downgoat Eh, it is what it is
 
To be fair, on-topic PPCG questions are a bit more challenging to come up with than, say, Stack Overflow (NEED HALP WIF MAH BUGZ) or Code Review (NEED HALP WIF MAH UGLY CODEZ)
18
 
@DJMcMayhem Definitely not the shortest, but most fun: :redi@"|s/(//gn<cr>PdjwDx
 
Also, maybe someone should pin that link I provided, for a while?
 
@Phrancis NEED HELP WIF MY ASCII ART
 
I'm having a ridiculous amount of fun with Clojure Lisp at the moment
 
10:29 PM
Question: is there a "Farm.SE", if not, brb proposing
 
@DJMcMayhem ascii-art.SE genius, brb making area 51
 
@Doorknob Wat? What is :redi?
 
:h it :)
 
@Phrancis that's the lisp thing that runs on the jvm, right?
 
I don't have vim with me right now :(
 
10:30 PM
@Maltysen Correct
 
I have mobile vim but it doesn't have help tags
 
@Downgoat Why not GOAT.SE
 
PE8 using Clojure solves all 3 test cases together (along with all tests passed) in a matter of a few ms
 
@DJMcMayhem :redi@" captures output of ex commands into the " register. s/(//gn counts the number of open parens on the line. P pastes the resulting ex output ("n matches on 1 line"), dj deletes some junk, and wDx deletes everything except the first number which is the one we want.
 
10:32 PM
@Phrancis I solved it in about a tenth of a second using J :p
 
@Maltysen dadds de choke
 
@Maltysen ( ͡° ʖ̯ ͡°)
 
@Doorknob oh duh, I knew :redir, I just didn't realize it could be shortened to redi. Also you could do Vp which would be much shorter
 
@DJMcMayhem No, I would still have to delete the junk. It's actually 1 longer.
 
@Doorknob oh you're right. That's gross.
I came up with d2fxVr<C-a>C0<esc>@"
 
10:36 PM
d2fx -> dt)
 
Doesn't work for 0
 
Oh okay
 
V has nnoremap <M-R> Vr so it's one byte shorter, but nothing significant
 
@DJMcMayhem I personally am not a fan of Haskell but that's mostly because of its typing discipline
I've actually been using Erlang recently for small things and I like it.
 
10:45 PM
Question: what notable non-esoteric/golfing languages are stack-based?
 
Forth.
And Mouse. That's about it.
 
PostScript?
 
Oh, I suppose PostScript technically...
ninja'd
 
@DJMcMayhem dc
 
Woah, forth even uses RPN. that's cool
Nvmd, they all use RPN
 
10:53 PM
cmc: add two variables and print
 
u, 1 byte, jolf I WIN HAHAHAHHAHAHAHAH more maniacal laughter
 
brainfuck: [>+<-]>.
 
+, 1 byte, a lot of languages
 
Vim, 5 keystrokes: yw@"<C-a>
Optionally add BX to the end to remove leading space
 
@ReleasingHeliumNuclei s
 
11:02 PM
CMC: Sum everything up in an array until a 0 comes up
For example, [1, 2, 3, 0, 4, 5] -> 6
 
i,j;f(int*n){while(n[i++])j+=n[i];return j;}
edit: . -> ,
 
@Adnan s<xQZ
 
@Adnan t~f:)s
Hi @LuisMendo! Can that ^ be shorter?
 
@DJMcMayhem Very clever!!
I had 7 bytes
 
oops, i,j;f(int*n){while(n[i])j+=n[i++];return j;}
 
11:09 PM
Oh, awesome! What were they?
 
@DJMcMayhem That doesn't seem to work for [1, 2, 3]
 
Hm. You may solve that with an initial 0h.
 
Haskell: sum$takeWhile(/=0)
 
11:13 PM
@LuisMendo Woah, that Yp is really clever! I think the first "g" is unneeded
 
my solution doesnt work for [1,2,3] too :/ c arrays doesnt know their lengths, and the function continues summing until a 0 appears
 
oh fuck
@AlexA. Downgoat did that to your OS?
._.
 
@DJMcMayhem Oh, true! Now 6 bytes: tYpg)s
 
@LuisMendo I like this solution more. BTW, would it be possible to make an alternate of "f" that returns the indexes of falsy values instead of truthy values?
 
halp, is anyone here good at css? apparently i can't css
 
11:19 PM
@ASCII-only me
 
@DJMcMayhem Hm. That would have to use two chars, so like ~f
 
Oh, I didn't think of that
 
@ReleasingHeliumNuclei nvm, i somehow finally fixed it
 
@ASCII-only kk
 
@Phrancis Thanks for that!
 
11:30 PM
@flawr ಠ_ಠ
@ASCII-only no one is "good" at CSS. Some of us are just better and randomly fiddling copy pasting various answers from SO until it works than others :P
@ReleasingHeliumNuclei cheddar: (print)+(+)
 
css, especially after css3, is really fun
 
@Downgoat thst's what i do 99.99% of the time
but i couldn't find the solution to this on SO
 
@ASCII-only s/i/everyone/
@ASCII-only are you using flexbox?
 
i can css actually ._.
@Downgoat i do
 
@Downgoat yeah, always
i use it for almost everything
 
11:37 PM
@ASCII-only hm :/ if its still borked youre not using enough flexbox
 
@Downgoat if you are rewriting the installer for cheddar, can you also add a hash checker?
 
i think npm does that
that wont help tho
 
@Downgoat i know that's how i fixed it
 
if someone were to hijack it theyd simply remove the hash checker
thats why installer should do hash checkin
 
@ReleasingHeliumNuclei FOG, 1 byte: a
 
11:39 PM
Whats that SE chat client for the command line called again? I found it in the github repo of someone in here
@ReleasingHeliumNuclei Loopy: @^@+, (languege is a WIP, will be better at golfing later)
@EᴀsᴛᴇʀʟʏIʀᴋ um where is input?
 
@DJMcMayhem halp it wont work how to make it work
 
ono c9 borked my workspace ;_;
 
cloud9
 
@ReleasingHeliumNuclei c9.io
 
11:45 PM
@BaldBantha in quill's (same username on github)
 
@Downgoat like google docs?
 
@ASCII-only Yeah just found it
 
@ReleasingHeliumNuclei yeah, except you get ubuntu with the text editor
 
@ReleasingHeliumNuclei <C-a> is ctrl-a
 
@DJMcMayhem ya i know
how the file should be?
3 5
like this?
 
11:50 PM
Yep
 
and cursor?
 
Oh, duh, my b. Do de instead of dw
Cursor on the first char of first column as usual
 
> yw@"<C-a>
instead of dw wut
 
Wow, my first answer was very very wrong.
@ReleasingHeliumNuclei Vim, 6 keystrokes: diw@"<C-a>
Is that working better for you?
 
@DJMcMayhem yup
 
11:56 PM
ok writing this from the terminal
I just installed fedora (GNOME) alongside windows, so my first time using linux actually installed on something. I like it, but no hot corners, no minimising/maximising, and a non-functional mouse wheel
 
A beautiful piano song (You don't have to listen to the full 30 minutes):
 

« first day (2028 days earlier)      last day (2812 days later) »