« first day (2379 days earlier)      last day (2463 days later) » 

11:00 AM
you mean alpha? because beta would be much better than that
 
0
Q: Calculate the n-th iterate of a polynomial for a specific value; fⁿ(x)

AdámGiven a polynomial function f (e.g. as a list p of real coefficients in ascending or descending order), a non-negative integer n, and a real value x, return:    f n(x) i.e. the value of f (f (f (…f (x)…))) for n applications of f on x. Use reasonable precision and rounding. Example cases p =...

 
11:25 AM
My hard drive is almost full and I don't know why.
I'm running Windows 10. Any suggestions?
 
Temp directory? Recycle Bin?
Always good places to start
Other users temp, if more than one...
 
@TheLethalCoder I don't think those free any space...
 
@EriktheOutgolfer No but it marks them to be overwritten if need be doesn't it?
 
@EriktheOutgolfer They do.
 
0
A: Sandbox for Proposed Challenges

TheLethalCoderTitle cops-and-robbers code-golf This is a cops-and-robbers challenge, the robbers thread can be found here. ADD LINK Your task is to write some code that produces a memory leak in as few as bytes as possible. However, you should try and hide how your code does this as the robbers will be ...

 
11:30 AM
huh? then how is there an option to get something out of the recycle bin?
 
@TheLethalCoder Already cleared those. And most of my Downloads folder.
 
it must keep the data to be able to do that right?
 
@NSP 12 minutes that's more like it
 
@EriktheOutgolfer I thought TheLethalCoder was talking about deleting the contents of those folders.
 
Yeah deleting the files in them
 
11:31 AM
oh I thought he was talking about moving files there
 
hi all
hi @ASCII-only
 
@EriktheOutgolfer Oh no :)
Hi
 
@TheLethalCoder That "marking things to be overwritten" thing doesn't really happen in non-floppy file systems.
 
huh? am I being lied to or something?
 
@wizzwizz4 I didn't read the whole link to be honest. Saw the first few suggestions and they seemed reasonable
 
11:32 AM
how do data recovery utilities work if the files are wiped off the hard disk or something then?
 
Instead of renaming FILE.EXT to ?ILE.EXT, it just unmarks the block as storing data.
Once that's done, it's not really distinguishable from other unmarked blocks.
 
They aren't wiped when you delete a file, merely marked as eligible to be overwritten.
 
@EriktheOutgolfer Heurustics.
 
That's how I understand it at least.
 
It looks through the disk to find data that looks like files.
That's why it doesn't quite work as well on fragmented disks.
 
11:34 AM
That's why SecureDelete utils overwrite that block of bytes on the disk before deleting
 
 
@Adám this is the wrong way round
 
@Adám I don't really think that the last one causes the Singularity.
Or that the first one shrinks brains.
 
@DestructibleLemon How so?
 
@Adám the top one should be at the bottom and vice versa
 
11:38 AM
@DestructibleLemon I think this shows how smart language choice can be
 
well if that were the case wouldn't python be above c or whatever that is?
 
@DestructibleLemon Fair enough. I didn't make it. It was originally posted by someone who attended an APL meetup in Dublin last night. Source
 
@Adám Language bias explains it all.
If they program an AI better than me in APL, I'll give them that. But I still hold that summation in APL isn't going to cause the Singularity.
 
Is the third one Haskell?
@wizzwizz4 Who says the last pic symbolizes singularity?
 
@Adám What is it, then?
It looks to me like a human brain as part of a graph.
Those dots are data.
 
11:42 AM
@wizzwizz4 Maybe just an impression of the feeling you get when using the constructs on the left?
 
@Adám I don't understand why they're assigning a two-character function to a three-character name.
 
readability?
not everything is code golf btw
 
@wizzwizz4 Me neither. I'd just use +/ every time, but maybe all the code snippets must result in a function called sum. Also, the APL one should really be +⌿.
 
@Adám Perhaps the last pic symbolises bad code.
 
@wizzwizz4 I fairly often see if←/⍨ in APL code. Although I prefer where←⌿⍨
 
11:45 AM
@Adám I need some time to parse that Unicode.
Do you have an APL keyboard?!
 
@wizzwizz4 An APL layout, yes. At my office I have a physical APL keyboard too.
@wizzwizz4 It is pretty simple: / is a function which takes an integer list as left argument and a list of data as right argument and replicates each right side item by the corresponding number on the left, so 1 0 2/10 20 30 is 10 30 30.
 
2
Q: A Room Of Mirrors

Ian H.(This challenge is very similar, but this current challenge has additional complications.) Imagine a 2-dimensional room, where the walls are plated with flat mirrors. Suddenly, a beam of light strikes into the room, where a piece of wall is missing! The lightbeam dances around the room, get...

 
@wizzwizz4 just swaps the arguments, so if you stay with Booleans, you can read n/⍨n<10 as n where n is less than 10.
@wizzwizz4 is the same as / but works on the first dimension instead of the last dimension, allowing you to select rows of a matrix or layers of a 3D block instead of always the columns.
 
@Adám Do you, by any chance, have job security? :-)
 
@wizzwizz4 What do you mean?
 
11:53 AM
@Adám If you were fired, would you be easily replaced?
Considering that you use APL.
I was trying to make a statement about APL.
 
sum (x:xs) = x + sum xs ಠ_ಠ
a recursive sum function
ಠ_ಠ
 
@wizzwizz4 I guess I'll be hard to replace, both because it is really hard to find enough qualified APLers, and because I'm the only one that knows certain APL parts of our product fairly well, since the untimely passing of Dan.
@wizzwizz4 Yeah, I guess a good APLer should have an easy time finding a job. Know any?
 
Anonymous
I should learn APL :P
 
Anonymous
But I should finish learning Haskell first
 
12:00 PM
the only thing preventing me from learning apl is, well, the license I need to download it...and yes I need to download it not just tio
or the unlicensed version
 
@EriktheOutgolfer What's wrong with the unlicensed version?
@EriktheOutgolfer What is it that bothers you with the license?
 
@Adám I use linux, and I need the latest version for golfing
 
what about not golfing
 
@Adám too much personal info...not sure if I should give so much to third party
 
Two new challenges, both , again Charcoal wins both :/
 
12:03 PM
@EriktheOutgolfer Since it is a commercial product, we wouldn't be able to enforce the prohibition on commercial use if we don't know who you are. Right?
 
Or maybe Osabie with canvas mode?
 
nah 05ab1e canvas isn't that good (yet)
 
@EriktheOutgolfer Linux, yeah. I've been nagging about an unlicensed non-Win version. The latest versions actually don't provide much for golfing, as new glyphs force you into UTF-8.
 
@EriktheOutgolfer Beat Charcoal once :D
 
@Adám that's sad
and...why can't they provide linux unlicensed version? they get money from microsoft or something?
 
12:05 PM
@EriktheOutgolfer We can't really go about changing the character set below our subscribers' feet, can we now?
 
I meant the ignorance of your nagging
 
@EriktheOutgolfer Because until now (it is changing with 16.0) we did not have to functionality to pop up nag screens on non-Win.
 
2
A: Build a Semi-Zigzag

Adnan05AB1E, 21 20 19 bytes Code Uses the new canvas mode: Fx<)Nè'ONÉúR3212NèΛ Uses the 05AB1E encoding. Try it online! Explanation: F # For N in range(0, input) x<) # Push the array [input, 2 × input - 1] Nè # Retrieve the Nth ele...

 
@EriktheOutgolfer Oh, well, our devt team always have their hands full…
 
Beat it badly
 
12:07 PM
@EriktheOutgolfer Only @ is both really useful and available in the character set. But you can easily use a drop-in written in APL. I used to do that while waiting for TIO to move from 15.0 to 16.0.
 
3
Q: Stackin' Boards

GryphonI have a bunch of boards I need to stack in as small a space as possible. Unfortunately, the boards fall over if I stack them more than 10 high. I need a program to tell me how to stack the boards to take as little horizontal space as possible, without stacking boards more than ten high, or hav...

 
@Adám simple stuff on linux = fail right?
 
@EriktheOutgolfer Not really. But Dyalog spent years considering which way to go with GUI. On Windows, we've supported WinForms (and all of .NET) for a long time, but we wanted something cross platform and future proof. Finally, this year we got/are getting a cross platform HTML renderer (CEF).
 
Anonymous
Is Mono not an option?
 
Anonymous
If it runs on .NET and doesn't need external libraries like SQLite3, then there's a decent chance that it'll be plug-and-play on Linux/Mac with Mono
 
12:15 PM
@Mego We're looking into Mono and .NET Core.
 
Anonymous
I have a fair bit of experience developing cross-platform with .NET and Mono. Maybe I should send in a resumé :P
 
Anonymous
I'm not going to though, since I don't live in England, am not legally allowed to work there, and don't plan on changing either of those anytime soon
 
@Mego JohnD, who does all .NET stuff, has way too much on his hands. He could definitely need assistance.
 
... You write Dyalog APL?
 
@Mego We just hired an American (with all the paperwork), and we have people working for us from various places in the world, including an entire group in Serbia working on the CEF.
@wizzwizz4 Who?
 
12:21 PM
Lol
Joined Dyalog: September 1977
 
@Mr.Xcoder Pete?
 
Anonymous
> John sits in the corner in the Dyalog office and can frequently be heard shouting at his computer.
 
@Adám Yep
 
Anonymous
A kindred spirit
 
Anonymous
@Adám You allow remote work?
 
12:22 PM
@Adám You.
 
@Mego Sure. In fact, my group leader, Brian, works out of NY state.
@wizzwizz4 Yes, if by that you mean write in Dyalog APL. No, if by that you mean write the interpreter for Dyalog APL.
 
> Adám prides himself on having got APL with the breast-milk, as he attended his first APL conference at the age of one. He is adamant in many of his convictions, including that APL is by far the world's most superior programming language, and the only one worthy of being used day-to-day. His work is mainly in the development and maintenance of APL tools.
 
@Mr.Xcoder Joined Dyalog: January 1977
 
@EriktheOutgolfer Yep.
 
Anonymous
12:25 PM
@Adám Then perhaps I will send along a resumé. Where should I send it?
 
@Adám Is he the first member or smth? Who founded Dyalog?
 
@wizzwizz4 I just noticed the adamant. No pun intended, but how couldn't I be *Adámant*​‽
@Mr.Xcoder Co-founder.
 
@Adám Then who is/was the founder?
 
@Adám yeah markdown doesn't always work the way it should
 
12:26 PM
MEnder knows jelly, right?
 
CMC: Given a string, interleave it with its reverse.
abcde -> aebdccdbea
Java -> JaavvaaJ
 
@Adám Thanks, will take a look when I have time
NSA -> NASSAN
FBI -> FIBBIF
 
@Mr.Xcoder Dup, I think.
 
12:30 PM
CIA -> CAIIAC
@Adám Do we have such strict rules for CMCs?
 
@Mr.Xcoder No, just FYI, i.e. FIYYIF
 
Anonymous
@Mr.Xcoder Actually, 7 bytes: ;R@Z♂iΣ
 
@Mr.Xcoder APL, 4 bytes: ,⍪,⌽ (, ravel columnified , followed by it's reverse)
 
Nice, both :)
@Mego Just a curiosity: What does Σ do here?
 
Anonymous
@Mr.Xcoder Concatenation
 
12:33 PM
Ah, thanks
 
Anonymous
Without it, it's a list of len-1 strings
 
Let me solve it in Jelly / Pyth
@Me Jelly, 2 bytes: żṚ.
 
@Mego Ah, so it is like the sum across a list of strings?, as in "abc"+"def"+"ghi" is the same as Σ"abc" "def" "ghi"?
 
Maybe I'll solve it is 05AB1E once I learn it
 
Anonymous
@Adám Postfix, but yes
 
12:35 PM
@Mr.Xcoder That one I can actually read: Zip (the argument – implicit) with it's Reverse
 
@Adám Glad to hear that.
 
Anonymous
Σ is regular boring Python sum plus a specialization for concatenating iterables
 
@Adám ż is actually pure Interleave.
But yeah, It's also zip
Its description is Zip; Interleave x and y, so I guess you know how to read basic Jelly
@Adám Pyth ties APL, 4 bytes: .iQ_
 
@Mego So since APL uses , for concatenation and sum is +/, then it amounts to ,/ (actually ⊃,/ because APL annoyingly encloses after reduction). For simple arguments, this is the same as (ϵnlist), which could have been the first character instead of , for the same effect.
@Mr.Xcoder But an entirely different method, no?
 
@Adám .i = Interleave, Q = Input, _ = reverse.
 
Anonymous
12:41 PM
All these fancy builtins for interleave and Actually still has to deal with nested lists from zip :/
 
@Mego I could have used .V or C, but nah...
 
@Mego 05ab1e too...
 
@EriktheOutgolfer Can you help me solve it in 05AB1E?
 
have anything?
 
@EriktheOutgolfer Which one would be more helpful: ø or ζ?
Or nor of them?
 
12:46 PM
ø, since ζ is "zip with filler" and defaults to space
 
also you don't need any filler
 
@EriktheOutgolfer 3 bytes?
 
@EriktheOutgolfer I have 3 bytes
 
12:47 PM
oh wait it's 3
 
I had ÂøJ
 
@EriktheOutgolfer Mine is valid, right?
 
@EriktheOutgolfer Now give me an easy CMC for 05AB1E. Seems really cool and easy
 
12:49 PM
sum a list of numbers
 
@EriktheOutgolfer Ok
@EriktheOutgolfer 1 byte: O
 
Good
Another one?
Maybe I should go solve the Jelly easy ones?
 
no
those are fitted for jelly
 
Ok, then.
Do you have other challenges?
 
12:51 PM
yeah
 
find the levenshtein distance of two strings
 
@EriktheOutgolfer .L?
Wait
 
you found it right away
 
5
Q: DropSort it like it's hot

LordFarquaadAs described in this question: Dropsort, designed by David Morgan-Mar, is an example of a linear-time "sorting algorithm" that produces a list that is, in fact, sorted, but contains only some of the original elements. Any element that is not at least as large as the maximum of the elements pr...

 
12:52 PM
@EriktheOutgolfer How do you take two inputs in 05....?
 
separate lines on stdin
 
@EriktheOutgolfer Done
 
@Mr.Xcoder Gaia, 3 bytes: :vZ
(look, no unicode)
 
Nice, non-unicode Gaia
Wait, gotta solve the NMC
 
@Lembik hi
 
1:07 PM
Did anyone here read and understand the new challenge?
 
The DropSort?
 
If so, what do you think about my comment?
@BusinessCat Yes
 
Grrr, should I blame caching?
 
Maybe the whole point is to output like that, I don't know
@Adám For what?
 
I think I understand although it isn't exactly clear
 
1:09 PM
@Mr.Xcoder Reverting my changes to the css every time I reload.
 
Why don't I understand?
I am too dumb
 
I think how it's supposed to work is like this
 
Glad to hear someone that understands... Help me
 
For each number in your list, find the new list you've made so far whose maximum is <= the current number. If no such list exists, put it in a new list by itself. Then return all the lists
 
Hmmm...
 
1:15 PM
@ASCII-only that code you showed me that gave 6144. What was it doing?
@ASCII-only it wasn't really solving the n = 32 case, right?
 
1:28 PM
total silence in the PPCG chat room! Very rare
 
actually not
 
not rare?
or not silent?
or both :)
 
@Lembik no :P I saw the content on the question
Working on a PyPy one but not on computer atm
 
@Lembik if tnb gets frozen panic will ensue
 
@Adám Are you force reloading (Ctrl-F5, I think)?
 
1:38 PM
@EriktheOutgolfer If TNB gets frozen, somebody will lose their RO / Mod privileges.
 
ros can't prevent freezing
 
@StepHen No, and that was the problem. I almost cried. I blame caching. Rightfully, this time, I think.
 
nor mods, they can only unfreeze
 
@Adám Yup
 
but I think there are exceptions to that
 
1:39 PM
@ASCII-only oh cool!
 
@EriktheOutgolfer Doesn't just talking in the room prevent freezing, before it's happened?
 
well, given that >=2 people have already talked in here yes but that's not always the case
also freezing is some kind of old stuff protection I suppose
 
@ASCII-only I am intrigued what the next number should really be
my pypy code is too slow :(
 
@EriktheOutgolfer It's to stop people going through rooms saying "This is an old room! :-p" and "A piece of history."
Stuff like that.
 
1:43 PM
You can't actually do anything to old stuff without ♦s. Or, if you're a RO, you could move it to Trash.
 
My code is happy: =D
 
sad = False
happy = not sad
D= happy
code =D
assert(code is happy)
:39226052 We're making it happy.
 
> D= happy
contradiction!
how is D= happy?
 
@EriktheOutgolfer D = happy
 
@EriktheOutgolfer We make it happy in that line.
 
1:49 PM
that just made his invisible nose bigger
 
From then on, =D is used.
 
@wizzwizz4 I dunno if sudden emotional shifts are supposed to happen...that D= might end up being a psycho or something...?
and get transformed to =OOO=DD==OODODOD==DO or somethong
 
@EriktheOutgolfer We are cheering it up.
Have you ever been sad, then stopped being sad?
 
at least I have never been cheered up immediately after being sad
because that would make me even sadder
which is sad
 
@EriktheOutgolfer When do you cheer up if it's not after you are sad?
Do you cheer up when you are happy?
Or cross?
 
1:52 PM
I usually calm after being sad, not cheer up or something...?
 
You've only got one birthday present, despite hosting a party for everyone -> D=
But it's the thing you've wanted for six years -> =D
Cheering up.
 
@Lembik haha mine doesn't even work yet
 
@wizzwizz4 that's the point of having the few, but good friends
 
@EriktheOutgolfer Got other 05AB1E challenges?
 
I suspect it will actually be 6114 though
 
1:59 PM
rn I have to go to coursera
 
Ok...
Does anyone else have any CMC?
 

« first day (2379 days earlier)      last day (2463 days later) »