« first day (2496 days earlier)      last day (2339 days later) » 

12:32 AM
-1
Q: Wir hassen Umlaute! (We hate umlauts!)

SuperNerdIntroduction As you all know, German has umlauts. They're these things: ¨ However, most keyboards don't have an umlaut key. That's fine, though, because you can write ö, ä, and ü as oe, ae, and ue. Challenge Your job is to to replace ö, ä, and ü with oe, ae, and ue. Capitalization stays inta...

 
12:58 AM
@NewMainPosts Not sandboxed again...
@NewMainPosts If you get 2 -1 then a +1, you get 6 rep overall; but if you get 1 +1 and 2 -1, you get 4 overall? (assuming your rep starts from 1)
 
Hello
 
@user202729 questions get +5 for upvotes
you'd get a total of +5 for the first case, +1 for the second
for a rep of 6 or 2
 
I need help from @HyperNeutrino :(
 
@HusnainRaza Don't worry I am learning Chemistry.
^ seemingly irrelevant answer
Nov 20 at 3:01, by HyperNeutrino
its death is soon to come anyway, the hype around it is gone
 
No w/ something else
Pretty sure next one for oeis challenge will be ok
 
2:12 AM
0
Q: Circular Keyboard Spiral

Conor O'BrienThis is a QWERTY keyboard. Q W E R T Y U I O P A S D F G H J K L Z X C V B N M We can "spiral out" on this keyboard, starting from G. The spiral will start at G, go to H, then to Y, then to T, then F, then V, then B, then N, then J, then U, then TR, then D, then C,... etc. Your challenge is...

 
 
3 hours later…
5:22 AM
I'm trying to golf in perl the expression n*n*(n+1)/2 (basically sum(1..n) * n). My program is $a=<>;print$a*$a*++$a/2 and I'm trying to apply the "reuse assigned variable" rule as such: print($a=<>)*$a*++$a/2, which is indeed a char shorter but I'm not getting the right results. any clue?
(also: 23 chars in ruby, 24 chars in bash (awk)...)
Trying to replace a=gets.to_i;p a*a*-~a/2 to p(a=gets.to_i)*a*-~a/2 is also escaping early on parenthesis as a function call, so I guess 23 is the shortest I can get with this narrow toolset?
 
^ Another pair of parentheses work. (but it is longer)
 
rad! indeed it's a character longer. I guess it broke the func name contract
 
^ this works too.
(no idea why, probably relevant to the print( )
 
lovely!
 
I've been working on the repeated digit primes problem and I have a function to repeat the digits of a number: (#~(+0=])@"."0)&.":. Any thoughts on going about implementing the function?
this is in J btw
I've tried recursion but I realized that I can't carry the nth prime, the number of repeated digit primes, and the array of them with me
oh nvm i just realized that i don't need the array
also related, is there a J chatroom? I can't seem to find one
 
does anyone have any ideas on how to optimize something like:
        let matches = this.find(terms[--termIndex], limit, threshold);

        while (--termIndex) {
            let results = this.find(terms[termIndex], limit, threshold),
                resultCount = results.length;

            addResult:
            while (--resultCount) {
                let result = results[resultCount];
                let matchLength = matches.length;

                while (--matchLength) {
                    if (matches[matchLength] === result) continue addResult;
 
ping me if you have thoughts on how best to recurse to yield the desired prime (or if you think of a better way)
 
@Downgoat for time?
 
for complexity
 
JS?
 
5:33 AM
basically I have a function which takes a 'term' and returns a list of matching objetcts in format: { score: ..., value: ... }
I need to run function multiple times and combine those lists
feels pretty simple but like three nested loops seems excessive
 
get all into matches then uniqufy?
 
pretty much
 
So just do it, don't use naive n^2 uniquify algorithm.
 
owait my array is storted >_< i am idiot
3
 
 
2 hours later…
7:16 AM
1
Q: Do I have permission?

Colera SuThe Challenge Given a string indicating the symbolic notation of UNIX permission of a file and its ownership (user ID and group ID), decide whether a given user A has permission to read / write / execute it. Related. Permissions in UNIX system In UNIX, every file has three classes of permissi...

 
 
2 hours later…
9:03 AM
0
A: Sandbox for Proposed Challenges

CharlieKnit me a 4th Doctor scarf! code-golf random ascii-art Challenge Draw an ASCII-art version of the 4th Doctor scarf from the classic series of Doctor Who. Rules Write a program/method/function/lambda that takes an integer number n greater than or equals to 7, and writes to STDOUT or returns (...

 
10:10 AM
@ETHproductions CMC: clean up text copied from an SE comment
 
I can only find one zero width non joiner at the end.
Assuming that's the only thing, then ///, 6 bytes: /‌//
 
11:10 AM
@Fatalize Is Brachylog's guaranteed to produce its results in a certain order?
And in general, do most predicates have a certain order of the results?
 
11:34 AM
How is possible everytime I see this chat the connected are 24 or 25?
 
11:52 AM
@Zgarb Yes
It tries bigger sublists first
and for sublists of the same it tries them "left to right"
 
Ok, thanks. And I'm guessing that in a larger program, the choices happen depth-first?
 
12:08 PM
0
A: Sandbox for Proposed Challenges

Antti29Happy birthday, Finland! Introduction As is known, in 2017, Finland celebrates its 100 years of independence. To mark the occasion, it is your job to produce a Finnish flag for everyone's enjoyment. Challenge Create a program or a function that produces the flag of Finland (the grey border is...

 
12:52 PM
@Zgarb You mean when multiple predicates follow one another?
 
1:06 PM
@Fatalize Yes, like ⊇<₁⊇+ṗ to give an artificial example.
 
it tries left to right
if at one point it cannot find any succeeding choice, it backtracks to the previous choice
 
Ok, makes sense.
 
(this is basically how Prolog works)
 
Btw, is there a short way of doing "? = [a,n], . = n copies of a"?
Input can be [n,a] too if it's easier.
 
if input is [n,a] you would use instead
 
1:12 PM
What about [37,37,37,37,37,37,37,37]
Oh, I should use g probably
 
you'd have to wrap 37 in a list
(you're trying the prime thing right?)
 
Yeah
 
I have a 19 bytes answer
 
The flipped ẹ fails for some reason.
(I'm trying to recognize a repeat-prime for now)
 
you can't really flip because it's not a true relationship
Why don't you simply use c though?
Also, you actually don't need the first , zip will work on a number directly
 
1:26 PM
Oh, nice
 
(I need to implement a get ?th answer of a predicate with no input metapredicate; that would make it 15 bytes)
 
1:47 PM
Ok so this is one of those situations where you need ≜
I kept running out of stack
I kept running out of stack
 
It's not always possible (or practical) to manipulate integers without assigning them values
 
2:28 PM
@Pavel what do you think of it compared to slack, irc, discord, SE chat, etc
 
3:07 PM
in APL, 32 secs ago, by Feeds
Adám is hosting another informal APL learning session tonight at 18:30 UTC in https://chat.stackexchange.com/rooms/52405/apl, continuing last week's "APL primitive functions' marathon". See https://chat.stackexchange.com/transcript/message/41299896#41299896 if you don't have 20 Stack Exchange rep points.
 
3:30 PM
Question to native English speakers: is "When are you?" understandable when compared to the question "Where are you?"?
Or is it too "weird"?
 
0
A: Sandbox for Proposed Challenges

Conor O'Brien(No title currently) Given a number N and a number K, find a list of numbers L such that: The product of the elements of L is N Each member of L is less than or equal to K And the length of L is minimized. Note that: If no such list exists, you program may do anything besides yielding a va...

 
@Fatalize With the context of comparing it to "Where are you?" it's understandable, but without that context it would be a meaningless question.
 
@Fatalize Surely the answer to "When are you?" is always "Now"?
 
I could see the answer being something like "UTC-5:00"
or "9:39am"
 
that's a weird question
unless you're talking about dr who
 
3:40 PM
^^^^
It's basically "what's your current context of time"
which could be the current hour+date, or just "evening" for example
 
as a native english speaker i'd give you one of these: o.O
 
ah, so "Where are you?" would be followed by "What time is it there?"
 
kind of
 
PS C:\tools\scripts> Get-Culture
LCID             Name             DisplayName
----             ----             -----------
1033             en-US            English (United States)

PS C:\tools\scripts> Get-Date
Wednesday, November 29, 2017 9:42:32 AM

PS C:\tools\scripts> Get-TimeZone
Id                         : Central Standard Time
DisplayName                : (UTC-06:00) Central Time (US & Canada)
StandardName               : Central Standard Time
DaylightName               : Central Daylight Time
There you go. When I am
 
Get-Culture
What kind of name is that
 
PowerShell goes to the Louvre
 
@AdmBorkBork Since gc is Get-Content, is there a shorter Get-Culture?
 
Well, there's just Culture, but I don't think there's an alias for it.
 
0
Q: How to length a number-named program name?

l4m2The title may be hard to understand, so below is an example: How long is the empty program in MetaGolfScript-209180605381204854470575573749277224? 1) len('209180605381204854470575573749277224') = 36 2) 209180605381204854470575573749277224..toString(2).length = 118, so the number can fit in 118 ...

 
Does anyone know if there is a difference in Bash between $( ... ) and ` ... `
 
3:59 PM
1
Q: Őőőőőőő, are you there?

SztupYDescription While support is getting better and better for people to write in various scripts around the world using unicode, and now you can even write in emojis as well, unfortunately most fonts[citation needed] are still missing Latin characters based on the double acute accent, which is requ...

 
@Pavel there are small differences like nesting
 
@NieDzejkob Looks like that OEIS just reference the wrong sequence.
 
@Poke TY
 
@NieDzejkob Well, applying the correct formula I got the correct result.
But it is defined implicitly (as the solution of a equation)
I'd like to properly understand the content, too.
 
4:27 PM
-1
A: Sandbox for Proposed Challenges

user2284570Shortest code to draw a png from stdin Rules : You’re free to use any image library you want as long as the image library is designed in the same language as your answer. The image should be displayed in an Xorg or wayland window or a console framebuffer. The stdin stream doesn’t eof. so the o...

 
@NewMainPosts Hmm, I get a feeling that challenges involving accents might do the same as alphabet or SE API challenges
 
@Poke I think it's a lot better than Slack at organizing large groups of people, so in an enterprise environment it's really nice. For just chatting, a lot of features suddenly stop being useful, so something more lightweight would be preferable.
Essentially it's like Slack, but moreso. It's even better at what Slack is good at, but all the reasons to not to use Slack are magnified.
 
4:45 PM
I tried using slack once. Goddamn thing only works when it feels like it, and it never quite did.
 
@J.Sallé I had a similar experience. MS has a rather inconsistent record for making software, but MS Teams is definitely an improvement over Slack.
 
5:10 PM
@Josh TIL that partial matches on a username still notify the user of the comment. — mbomb007 27 secs ago
418
A: How do comment @replies work?

GnomeYou can use @name syntax anywhere in your comment to reply to a specific user. This will notify that user in their global inbox. There can also be notification through email if you set it up in the preferences found in your profile page. Who can be notified with this feature? The author of th...

 
5:29 PM
0
A: Sandbox for Proposed Challenges

Stephen LeppikImage Censorship code-golf Users on many sites can be banned for having a swastika in their user profile. We should help a dear user with this by removing their swastikas. This is a swastika, for our purposes: ... . .SSS.S. ..S.S. .SSSSS. .S.S.. .S.SSS. . ... Where S is a consistent pi...

 
6:04 PM
@Pavel Do you use the app or the browser
 
@Poke App
 
I've heard there are memory leaks and whatnot
 
@Poke Well the fact that it's an electron app should tell you that it's going to use stupid amounts of memory. But so do Slack and Discord.
 
6:20 PM
Amazon really doesn't hold back with the product launches this year.
 
@Pavel mhm fair
it's also free with office 365 iirc
 
@mınxomaτ What did they launch? I haven't heard of anything.
@Poke Yep.
 
well hopefully Teams matures into the Microsoft Office 2003 of it's age (before the damn ribbons)
 
Announcement: APL learning session in 8 minutes.
 
@Poke I like the ribbon.
 
6:23 PM
@Pavel weirdo :P
 
I actually really like the MS Office desktop apps
 
@Pavel Fargate, SageMaker, DeepLens, DynamoDB Global Tables, Transcribe, Comprehend, Translate, dedicated EC2 ... in the last few days
 
Whoah
I have heard of zero of those things
 
@Pavel they take 5ever to open :|
 
Also, re:teams. We now retired the forever-in-maintenance Skype for Business server und use Teams exclusively (the private Teams communication still runs on MS-hosted Skype servers). Has been awesome with it's GitHub, VSTS, Intercom, Trello (...) integrations.
No more "I didn't get that e-mail".
 
6:26 PM
@mınxomaτ SfB is just a bad reskin of Lync. Skype proper is a much better application :\
 
Teams is several times better at skype than skype "proper"
 
SfB even shows up as lync.exe in task manager XD
 
It's Skype with a non-shit frontend.
 
@mınxomaτ ehh Teams is still maturing. I think there's a lot of room for improvement
i haven't used teams much yet, though
 
Apart from the ability to move and safe Wiki pages offline, I don't have any feature requests for now.
Or maybe a confluence integration to replace the half-arsed Wiki in Teams.
 
6:30 PM
@Poke Sure LibreOffice is a bit faster, but any online office suit loads much slower. It's not that bad.
 
@Pavel maybe it's the addons that take a while
but it's annoying
 
7:23 PM
0
Q: Random Capitalization

BrecertThe Task Your task is to create a program or function that given an input, outputs the inputted text with random letters capitalized, while keeping previous capitalized letters capitalized. Ex. input: Hello World output: HeLLo WoRlD Scoring This is code-golf, so the shortest answer in each l...

 
8:04 PM
ty
@tfbninja Hey, I really liked the idea of your challenge yesterday even though it had a few problems.
I think if you removed the part about spaces and sandboxed it it would really have some potential
 
Anonymous
 
@Mego please, patience won't hurt! :-P
 
9:06 PM
@DJMcMayhem you rock climb right?
 
@Mego dis gonna be good
I wonder if they'll have another star wars one this year
 
@cairdcoinheringaahing Yessiree
One of my favorite hobbies, other than gaming, music, coding, golfing etc. :P
Do you?
 
@DJMcMayhem What's the climbing like in Colorado?
@DJMcMayhem Yeah, but mainly indoors
 
Same here to be honest
 
@DJMcMayhem oh, you play golf? cool :D
 
9:10 PM
On Monday I got a 5.11, so I was pretty happy
@cairdcoinheringaahing Do you do ropes or bouldering more?
 
@DJMcMayhem Ideally both, but bouldering at the moment
 
@cairdcoinheringaahing It's pretty good, but I think the best stuff is in Utah. But Colorado is nice because so much of it is in the front range area that good climbing is never very far away.
 
@cairdcoinheringaahing you're in the US, right?
what state?
 
But I also don't climb outside very often
But living 5 minutes away from the Rockies is pretty nice
 
@Riker England :P
@DJMcMayhem What's That in French grades? I never understood US grading
 
9:12 PM
oh, huh, I thought you were us
 
@cairdcoinheringaahing Oh gosh, I have no idea
Let me check
 
@cairdcoinheringaahing ED
> ED (extremement difficile): Extremely hard. Requires lots of dedication and long periods of climbing (i.e no job).
> ABO (abominable-abominable): No job or family
^ LOL
 
@cairdcoinheringaahing Acoording to this page that's anywhere from a 6c to 7a
 
@DJMcMayhem Nice! That's more or less the hardest I've climbed :P
 
But I don't agree with their conversion of Hueco (V system) to roping
I'd consider a 5.11 harder than a V4 for example
@cairdcoinheringaahing Cool. Do you do lead climbing? I've never gotten into it yet
 
9:17 PM
@DJMcMayhem Yeah. It's definitely more fun than top roping, but can be scary at times. TBH that's a real problem I have with some climbs
 
Hardest I've done on ropes is one 5.12. On bouldering, I've done 1 V6 and one V7, but I think those were exceptions cause even V5 is really on the edge for me
So V5 is the hardest I think I've really done
 
I think it's a real shame that we don't do climbing in PE at school, it's such a great sport
@DJMcMayhem If I'm converting correctly, V6 is the hardest I've done bouldering, but I've come close to V7 a few times
 
@cairdcoinheringaahing I'm sure. I've done some route-cleaning (top-roping a route someone else lead and unclipping the ropes as you go) and it's incredible how much harder it makes it. Even a relatively easy 5.9 for me becomes a serious challenge when I'm cleaning
 
As it happens, I've got to go climb now :P Good chat and bye o/
 
Nice! Have fun.
 
9:20 PM
Thanks
 
10:16 PM
0
Q: Jolly gerrymandering

DopappBackground The United States has a unique love of gerrymandering––the deliberate manipulation of an electoral district to predict certain voting results. Just recently there was a gerrymandering case brought before the Supreme Court. Gerrymandering, especially when related to race, is ruled ille...

 
 
1 hour later…
11:19 PM
Shortest stack overflow in Funky I can find is f=@f()f(). I wonder if I can get shorter.
 
11:30 PM
0
Q: In which number set do I belong?

ericw31415Introduction Mathematicians often work with number sets. These are groups of numbers that share common properties. These are number sets are, in order from most specific to most broad: Natural numbers (symbol N): These are the counting numbers: 1, 2, 3, ... Integers (symbol Z): These...

 
I've finally beaten Jelly with Pyth. Someone needs to hotfix Jelly to have more builtins so it can re-establish dominance
 
Jelly has a lot of space it can still fill. Don't temp Dennis.
 
I mean, every builtin is another excuse for me to get off my laurels and learn how tacit arguments actually work
 
@StevenH. there's probably another way to do it shorter in jelly
tbh
I feel like that's too many steps to pair w/ uppercased string
 
11:59 PM
@Riker codegolf.stackexchange.com/a/149512/55696 So, yes but I did it first
 

« first day (2496 days earlier)      last day (2339 days later) »