« first day (2316 days earlier)      last day (2822 days later) » 

17:00
@nmjcman101 :D I'm glad to hear it!
I've learned a lot too, but that was mostly from learning/writing all the vimscript
@EriktheOutgolfer Your original and edited version seem to do the same thing.
It's cool to see that other people are getting stuff out of it too
@Phoenix CJam, 11 bytes: 90{Amd<},9>
@Phoenix original version is technically invalid even though valid in this case
I think that answer is cool because it uses s two different times, but with completely different effects
17:01
Alternatively, A2m*{:<},9>
@EriktheOutgolfer What makes it invalid?
I guess C would work too
means convert from base 10
J repl, 42 bytes: ' '-.~,/>(2":]>:@+10&*+i.@(9&-))&.>;/>:i.8
And what does V do?
17:02
had there been ints larger than 9 it would produce weird stuff
@Phoenix Code golf.
V is eval, when you pass a list as argument it stringifies it first
@Phoenix yes
although the way you phrased it probably means what does the language V do, which is string manipulation code golf
I was asking about Jelly's V
TY Cat
17:04
That's what I thought you meant at first. I was really confused at first, then I decided to mess with you
what do Jelly, V, 05AB1E, SOGL, Pyth, Pyke and Charcoal do? code golf of course what else?
Too many golflangs
I think Leaky Nun manages to know all of them somehow.
huh? he doesn't do 05AB1E, SOGL, Pyke and Charcoal afaict
he mainly does Jelly
@Phoenix are you jelly
17:08
oh
well ok
I am Java, Mathematica, and occasionally Ruby.
mathematica?!
mathics
because who has money for mathematica?
I didn't pay for Mathematica. They give it out for free a lot.
Especially to students.
I'm not in university yet :(
17:10
Neither am I
so...how are you considered a student?
I'm in 10th grade, a student of Tesla Stem High School.
o.o
you get stuff as high schooler?
Yes.
looks for all the student stuff he can
17:12
I got the Jetbrains complete pack thingamajig
what
that's ridiculous
for how long?
As long as my school email remains active, +1 year.
tesla stem has money to pay???
because someone's got to pay for sure
No, They just give it to free for people with a school email address.
somebody put the welcome comment on this
17:13
@EriktheOutgolfer We do have better funding than many schools, fortunately. We were able to afford three 3D printers and a laser cutter.
@totallyhuman Done
is there a specific welcome comment or you just type similar stuff?
who downvoted that? the new user should feel welcome even though an off-topic question is their first interaction
:-; I didn't snipe the CV because I thought I was on SO.
@EriktheOutgolfer codegolf.meta.stackexchange.com/q/11807/57100 near the bottom.
17:18
jetbrains doesn't have my school registered ;-;
somebody make a userscript out of that
RIP
@EriktheOutgolfer Someone did, search StackApps
@Phoenix what?
A userscript that allows you to paste in commonly used comments.
ppcg-specific?
oh you mean add that comment manually
I think I have that userscript
even though a bit outdated
17:25
YUM YUM BUTTER IS MY FAVORITE IT'S SO SMOOTH AND TASTY
15
@NewMainPosts can you please stop oneboxing closed questions?
it kinda clutters chat
FEED IT BUTTER, it might help
@NewMainPosts BUTTER
wow it really helped
proceeds to get 6 stars for liking butter
people, we've found the solution to reducing nmp clutter!
17:33
@MDXF Ah, gotta wait till I get home to make any more progress on it. My employer is pretty cool, but I doubt they'd appreciate Minecraft on my office workstation.
@Downgoat Typo on your blog post
But regular expressions is not as much greek letters; therefore, you may of grown used to seeing regexes such as:
It should be You may have
@MDXF So probably not before tomorrow sometime.
aaaaaaa giant eye
@DJMcMayhem oh, whoops, thanks :)
@totallyhuman with a twinkle of stars...
17:41
@feersum have you worked with llvm debugging intrinsics?
Question: does windows have puts function?
1
Q: Decrypt xor-encryption

Stewie GriffinYour task is to take an encrypted string as input, and output the string decrypted, to reveal it's hidden message. The strings, both the input and output, will contain characters from this list of 64 ASCII-characters (note the leading space). !"#$%&'()*+,-./0123456789:;=?@[\]_abcdefghijklmnopq...

windows what?
@Adnan In 05AB1E what counts as truthy? Just 1 or anything not 0? If statements (i) check if TOS is equal to 1, so 2 goes into the else, but 2__ is 1 not 0.
Okx
Okx
@Riley 'Truthy' is defined by the if statement
See this
So 1 is the only truthy value?
Okx
Okx
17:52
I believe so.
@KritixiLithos like as an OS
05AB1E is weird
Is there a 1 byte way to convert a number to 1/0? The shortest I can think of is __.
Okx
Okx
É?
haven't tested
17:54
i thought anything could be a truthy or falsey value
@Okx That just checks if it is odd.
@Riley Yes, only 1 is truthy, the rest is falsey
Question: anyone familiar with iOS app dev want to halp make PPCG app? (@Mendeleev I know you have made apps before)
Speaking of the app, is there an SVG of the PPCG logo I can use
@Downgoat I made a counter app. It had two buttons and a number display.
@Downgoat I'm sure I could pick it up quickly enough
18:05
@Downgoat you posted that on TNB just as soon as Evil Sheep posted a comment on that meta question
the language is swift right?
the only experience with iOS dev that I have is that XCode is a big piece of poop and it sucks and iOS sucks and Obj-C and Swift are weird
I can try to make android app
as i recall xcode isn't too bad but i agree that objective c is weird
I think SE chat was just down
18:08
@Riley Just to be sure, do you mean mapping 2 -> 1 or 2 -> 0?
@Mendeleev I think VTC is making the android app
yesterday, by VoteToClose
@KritixiLithos I hate Swift, so, Android.
so yeah, people care more about Android than iOS
that's, uh, a little rash to say
18:14
But accurate...
@ConorO'Brien Not really
@Adnan 2 -> 1. The same behavior as __ (negative bool X2)
@Phoenix for the CMC, Röda, 28 bytes: {seq 1,8|seq _*11+1,10*_1+9}
surely because you use a certain type of phone, doesn't mean you don't care about other types of phones
18:18
@Riley Added as Ā
What is the difference between a lambda and a function in python?
@Adnan Thanks!
@WheatWizard I think a lambda is anonymous
Yeah, but does it act different in any situations? (other than print x)
As far as I know, it also doesn't allow assigning values to variables
but I'm not sure
18:23
I'm having a very strange issues where lambdas are behaving entirely differently from functions and I can't seem to track down the source
Paste code?
@WheatWizard language?
Python
@Phoenix Its a pretty large program across two different files
If you want to see it I can show you but its not going to be pretty
so one file is a bunch of lambdas, the other is a bunch of functions?
No, I have a list of mixed lambdas and functions, some of them are being called
all of the lambdas return the same thing no matter how I define them
I'll try to recreate on a smaller scale
Maybe its just lambda weirdness, but I feel like that shouldn't be happening
18:31
its because python doesn't create closures
you are reassigning the char variable repeatedly
and when the lambda comes around, it accesses the char variable at instance it is at
Is there anyway around that?
Functions don't work either Try it online!
150
Q: What do (lambda) function closures capture?

BoazRecently I started playing around with Python and I came around something peculiar in the way closures work. Consider the following code: adders=[0,1,2,3] for i in [0,1,2,3]: adders[i]=lambda a: i+a print adders[1](3) It builds a simple array of functions that take a single input and retu...

18:34
ew, some of them are using default parameters
lambda char=char:char
I mean, that works, but I'd seriously reconsider refactoring, and simply putting the data in an array instead of functions in an array
(lambda b:lambda:b)(char) looks even worse
The functools solution looks the nicest
@NathanMerrill I don't know if I can refactor, most of my functions take args, and different functions take different numbers of args
I should probably go to CodeReview some time.
sounds like a great use case for tuples
they can easily unpack into any number of arguments
I'm not sure I follow, how would a tuple replace a function?
like, if you store the arguments to a function instead of the function itself
Then where would the function go?
18:44
args = [(1), (1,2,3), (2)]
for arg in args:
     f(*arg)
as opposed to
funcs = [lambda: f(1), lambda: f(1,2,3), lambda: f(2)]
for func in funcs:
    func()
Oh I have a bunch of different types of functions that do different things in the array. Is here any way I might apply this?
you have different functions that do different things with different arguments, but all return the same kind of thing?
I mean "kind of thing"
like, they all return an integer representing how long it took or something?
They return different kinds of things as well
I'm building a function tree
so, you're parsing a(b(c(2),3),1,3)?
Yeah
In a way
It doesn't much look like that but thats essentially whats happening
18:49
you'll actually want to wrap every parameter in some sort of "Resolver"
couple of questions: is there scoping?
In python?
no, in your language
There is no scoping
there are no variables
Its not really a language, Its part of a larger project
ok :)
well, I'm going to assume this is python, just so I have something to go off of
It is in python
18:51
basically, you have a list of tuples:
@WheatWizard that I'm parsing pythong
each tuple would contain two items: a function reference, and a list of parameters
each parameter would basically be a zero-argument function that I can call to get the parameter value
does that work for you?
(the zero-argument function is what I was terming the "resolver")
I'm not sure what the parameters are?
that's why you use a lambda: it'll resolve to whatever it ends up being at runtime
like, if you had a bunch of variables, you could put them in a map where the key is the variable name, and your lambda would call the map asking for the value of a particular variable name
(I know you don't have variables)
Ok
I think I see
18:57
that said, I'm working on a limited amount of information
15 mins ago, by Wheat Wizard
I should probably go to CodeReview some time.
that sounds like a good idea :)
Ok thanks for everything
Sorry that sounded sarcastic
I am actually thankful.
19:10
Anyone know a way to undelete files on F2FS?
I just deleted the last few hours of work on WatOS
accidentally
Woo, another Decimal answer! :P
Aaand rep cap. again. :(
19:23
damn that's evil
@NathanMerrill Here's the question if you are interested
@TuxCopter what's evil? Asus?
No, putting the power key right by the backspace
I mean, you may feel otherwise, but I personally don't like rebooting every time I make a mistake in my code
19:27
that's the same for my badly-built laptop
but the good thing is that it doesn't power off if you press it for just a moment
Making the power button a key on the keyboard period is evil
Does it not warn you when you hit the power button?
Wait... I thought New Main Posts was a bot.
NMP is a bot, but Doorknob edited its message
ninja'd
19:31
Oh, so mods can edit messages
@WheatWizard it doesn't warn me
Oh that's right. I remember now
@Linux/Mac Users: is it natively possible to output audio through two sources, like two pairs of headphones (without a physical cord splitter)?
It is on Mac
As far as I can tell it is not in Windows
19:35
Its much harder on Linux
I've done both Mac and Linux before, I've never tried Windows
Was wondering why something so seemingly basic (akin to plugging in 2 usb drives) is not easily supported :/
0
Q: Are there any functional programming languages designed for code-golfing?

PyRulezAre there any functional programming languages designed for code golfing? I know that golfscript and CJam fulfill the same category for stack based, but I couldn't find a functional code golfing language.

@NewMainPosts /disapprove why
@HelkaHomba Do you want to output the same thing from two sources or two things from different sources?
Why would you want a golfy Haskell
19:38
Because Haskell is fun, and golfing is fun
Aussi what's unclear about that?
@WheatWizard the same thing (but the option to output any to any would be nice, hint hint @MS)
...I am not going to correct that because it is already correct
@NewMainPosts Awful >.<
Thats rather easy using aggregate audio output on Mac. But that probably doesn't help you.
19:41
Well, that just tipped the mac scales one more notch in their favor
But I'm steadfast with my dislike of miniature, round exit buttons
And no right click >_>
i think they have that two finger click thing, right?
and phones with one front button and ever fewer ports >__>
@HelkaHomba Thats a hardware thing, OSX supports right clicking
You can also use control click if your hardware doesn't support the right click
19:50
uh
what
@WheatWizard Yeah. Just my old schools always had one-button macs and I hated having to use them
a keystroke in place of a mouse click?
also control key vs. command key
@totallyhuman I actually don't have a functioning click at all
I use keystrokes for most things, I can move the cursor though
@WheatWizard In windows you can control click to select multiple files, and shift click for a ranges of files. I wouldn't want to lose either of those
Its shift click for range and Command click for individuals on Mac
19:56
alright time to golf my brain

« first day (2316 days earlier)      last day (2822 days later) »