« first day (1635 days earlier)      last day (3210 days later) » 
00:00 - 19:0019:00 - 00:00

7:01 PM
@Optimizer oh, you're in a crappy country?
 
kinda
it doesn't even say that "not available in your region".
just "not available", "sorry about that :/"
and then they blame the pirates!
 
It's available up here in Canadaland, probably just a region thing
 
@Sp3000 just finished the first row on TIS... pretty nice so far :)
 
could you take a look at meta.codegolf.stackexchange.com/a/5602/9206 please
especially the wacky scoring system
 
It took me a while before I realised that cycles doesn't take into account the number of nodes you use :/
 
7:09 PM
0
A: Sandbox for Proposed Challenges

LembikOptimize the size of a set For all strings in the challenge, the input alphabet is {-1,1}. For a string A of length 2n-1 consider all n substrings A[i,...,i+n-1]. For a given string B of length n, we output 1 if the inner product of A[i,...,i+n-1] and B is positive and 0 otherwise. For a pa...

 
I was a bit disappointed that the naive solution for the signal comparator was also optimal :D
I don't have optimal cycles for the multiplexer yet, but I'll have to try that later
 
I haven't actually gotten that far yet, because I was trying to busy-wait the self-test diagnostic
 
oh okay
 
... oh you can push constants. That makes things easier
 
is this sort of competitive scoring allowed?
 
7:11 PM
have you clicked the [[DEBUG]] button(s) yet? (I didn't notice them until level 4 and had to go back through the others)
@Sp3000 did you not print the manual? :P
 
I have the PDF open
And no I haven't
waits for the cycles to burn the fast button isn't fast enough
 
o.O what are you doing
 
"Solve SELF-TEST DIAGNOSTIC in over 100,000 cycles." complete :)
 
oh, I haven't checked out the achievements yet
 
There's signal comparator without JGZ, JLZ, JEZ or JNZ as well
 
7:19 PM
Can someone explain how this is opinion based?
0
Q: Google Maps still in Beta?

Beta DecayI noticed today, that when you choose walking directions on Google Maps, it still has the following warning: Walking directions (beta): Use Caution Why are walking directions still in Beta? It's probably been around five years since I first noticed this, so can someone please explain why it ha...

 
well, the signals are in -2 to 2 range, right? so you might be able to do it with JOR ACC
 
Ah... probably. Damn I was hoping for something more general :P
 
@BetaDecay I have no idea. Doesn't look opinion based to me
I can't possibly have an opinion as to why the technology is still in beta
 
@Rainbolt Yeah maybe it's just something they forgot about
 
There was a Business Insider article yesterday about code golf.
 
7:24 PM
Google has a history of that, though. Gmail was in beta for a good five years too I think.
 
(That article may have been mentioned already.)
 
@Geobits Your history is primarily opinion based.
Every day at exactly 2:25 our giant "G" turns on in the developer pit.
 
I have no real opinion on the POB issue. Simply an observance of mine.
 
We call it our Sun
 
Seems like a strange time to start the genesis.
 
7:25 PM
> But the former Google employee says: "The top voted entries on Stack Exchange are just not on par with the best solutions I've witnessed at Google, which exude an elevated level of creativity and craftsmanship rarely found elsewhere. Reading the code can easily trigger a software engineer's imposter syndrome, a profound feeling of humbleness, tinged with a sense of proudness to be working with these talented people."
 
I agree. I wonder if he meant to turn it on at 2:25 AM instead of PM
 
@Rainbolt You've got mail from Sathya
 
@Rainbolt it''s that + subjective to other's opinions — Sathya ♦ 1 min ago
I cannot parse this
 
@PhiNotPi Well at least he's humble about it >_>
 
@Rainbolt Me neither :O
 
7:31 PM
This (former) Google employee must not have dug deep enough into some of the ridiculous solutions
 
it can be for n number of reasons - improper directions / not accurate enough / not all areas covered / edge cases not consider. Unless we have a Google employee come in a definitive answer (with a source), question is speculative. If you'd like to contest the closure, please consider opening a question on our Web Applications Meta site. — Sathya ♦ 1 min ago
 
@Vioz- Meh. Everybody thinks their club is the best. NBD.
 
Oooh I know he doesn't know that I know how Stack Exchange works but I feel bloody patronised
 
@MartinBüttner Trying to optimize multiplexer but the limited number of instructions per node is making things hard :/
 
Fair enough
 
7:34 PM
hmm... I'll wait politely :)
 
I'm having problem understanding a python2 code linked in the article:
g=lambda a,e=enumerate:[`[+(2<`zip(*a[i+i/~i:i+2])[j+j/~j:j+2]`.count('1')<4+int(c))for j,c in e(x)]`[1::3]for i,x in e(a)]
what are the backticks do?
 
interesting
 
repr()
 
repr()
the l[1::3]` is an idiom to turn a list of digits into a string
 
but this has no repr: [+(2<
 
7:39 PM
@Beta For the record, where do you see the beta message? Pulling it up on my desktop doesn't show 'beta' at all, just "Use caution - may involve errors or sections not suited for walking".
 
@BetaDecay Looks like he is going to pull the old "My way or take it to meta." trick.
 
@randomra It's equivalent to this
g=lambda a,e=enumerate:[repr([+(2<repr(zip(*a[i+i/~i:i+2])[j+j/~j:j+2]).count('1')<4+int(‌​c))for j,c in e(x)])[1::3]for i,x in e(a)]
 
@randomra those are both open backticks
 
@Geobits They must have seen his post and fixed it.
2
 
@Geobits Hm on the Android app it shows it
 
7:41 PM
how are opening/closing backticks decided?
 
@BetaDecay Weird. Mine doesn't have it there either that I can see, in Maps itself or when jumping to Navigation.
 
that's a good question; it means the lexer has some look-ahead
 
What phone/os version?
 
>>> `1<`2``
'True'
Hm... that is very interesting
 
maybe it only closes when at the end of an expression?
or subexpression?
 
7:44 PM
@Geobits
 
Where the hell are you going?
 
Shetland Islands to Singapore :D
 
Oh, yea, that looks completely different than mine.
 
@Vioz- It's my daily commute ;)
 
When was the last time you updated the Maps app?
 
7:46 PM
Me or Geobits?
 
You
Mine looks nothing like that
 
You have a Flash battery ?
 
22 of July
 
On Lollipop? Maybe they haven't done the same updates for older OS?
 
Yeah, Lollipop.
 
7:47 PM
I think that's it
 
Huh, that's just weird.
 
Cause I just checked, apparently I do have the same thing
 
I'm on Lollipop, and mine looks nothing like that.
Maybe if I try crossing an ocean, lemme see...
 
It shows it if I just go down the road to Groes
Maps version 9.11.1 if that helps?
 
0
Q: Checking Word Grids

SirParselotYour Task Given a list of words, check if they form a valid word grid. They form a valid grid if there are N words with N letters and they spell the same words vertically as they do horizontally. The words can be given in any order. [FILE, ICED, LEAD, EDDY] = True and [FILE, LEAD, EDDY, ICED] = ...

 
7:49 PM
Yea, mine shows the ferry and country warnings, no beta.
Maps v 9.11.1 also. Weird...
Maybe they're beta in your area.
I really don't know.
 
Nope, Wilsonville, OR to Tampa, FL shows it
Could be the British Google Maps app
 
I got maps 6.14.5 on my phone, it's the best
 
Isn't there a Google Stack Exchange site?
 
Canada here, I have the same message as you Beta
It must be a not-States thing :P
 
Or a Colonial thing haha
We need some Australians and Indians now
And possibly someone from Germany to serve as a comparison
 
8:07 PM
What's this for?
 
To check if walking directions on the Google maps app are only in Beta in Colonial countries
 
We're trying to get out of beta.
(Maps, that is)
 
@Sp3000 are you trying the word grid challenge?
 
Nope, not a fan of it
 
I'm not sure if I should go for it, xnor has displayed interest :p
Plus my solution seems way too long
 
8:11 PM
i'm not gonna do this one
 
I would if itertools.permutations didn't have such a damned long name
 
If I had to guess, probably something like zip(*L)==zip(*zip(*L))
(updating Maps app, but I think we've had walking instructions for a while now)
(also iOS, I dunno if that counts)
 
That reminds me...I was thinking of offering a bounty if anyone can demonstrate a solution where they used import itertools that is shorter than any solution without it
 
i think that's not too hard
 
Probably anything with groupby
 
8:15 PM
maybe I should wait for the bounty before saying how I think so :-)
 
It has to be an actual question though...not a task you made up for it
 
ah
does anarchy golf count?
 
I can't give a bounty on anarchy golf
 
@Sp3000 Why zip zip? Isn't that a nop?
 
@PeterTaylor strings to lists
 
8:17 PM
To convert strings to tuples
 
Of course it can be shorter if you make a task 'list the cartesian 5th power of this array', but in a real task it's harder
 
i think a lot of comes down to recursive functions being allowed and competitive
and so being able to simulate many of the tasks itertools is used for
if we required STDIN input and printed output, then itertools would be more competitive
 
It's sad that I get more votes in 15 minutes for a trivial answer to a trivial question than I get in 24 hours for an answer which I spent a couple of hours thinking about.
 
i'll give you some upvotes
which answer?
 
Of course...upvotes are proportional to inverse square of effort
5
 
8:19 PM
That's not the point.
(Previous comment was in reply to xnor)
 
(hmm actually map(tuple, is just shorter than zip(zip)
 
Yup
 
... damn, xnor's never used itertools in a Python golf here
 
8:35 PM
0
A: List of bounties with no deadlines

feersumPython golf: Is itertools ever the answer? I offer a 200 reputation bounty to the first user to demonstrate that his/her solution to an existing question using itertools is shorter than any solution which does not import itertools. To compete, the user must first nominate the answer (in chat or ...

It made me "select all images with soup" ??? Anyone else had to do that?
 
8:52 PM
A captcha? No.
 
Apparently bots have learnt to read messy words and numbers so well that they changed strats
 
If you pass the captcha, you're a bot?
 
9:04 PM
^ This is relevant to my interests.
 
You're looking to filter out humans?
 
@trichoplax He's trying to find if he's a bot
 
Perhaps he's going for the extra credit on the Turing test
 
My mom wokrs from home and made $9215 LAST WEEK! Not a scam, click here to find out how!
 
9:08 PM
 
@BetaDecay That's the one :)
 
Haha perks of spending hours pressing the random comic button
 
Random only gets me the 8 ball one :(
 
Strange...
 
9:10 PM
You know if you just paste the standard xkcd address rather than an image address, it will display the comic but the hovertext will also show
@BetaDecay Not always I'm just amazed by how often it happens
 
I don't see the alt text :/
 
Hover
 
That's why, I'm on mobile
 
Ah OK. Mobile chat is still finding its limbs
 
Well hover on mobile is a beast of a UX problem in general.
 
9:13 PM
Yeah, I keep switching between mobile and desktop site to star and edit messages
 
Yeah, sometimes it's long press but I hardly ever think to try that
 
It's just pure crap IMO
 
Even on a tiny mobile screen it's less soul destroying to use the desktop chat on a mobile than to use the mobile chat
 
I use ChatSEy. Not perfect, but better than the regular mobile site.
 
Agreed hahahahha
 
9:15 PM
I just don't go out
 
If you want simple hover technology, you just need to have a magnet implanted into your finger
That's how the pen on my Wacom drawing tablet works.
That technology is a decade old at least
 
only took 14 hours, but it works! i.imgur.com/vfOkQMU.png o-lang.herokuapp.com
 
@phase Maybe make the code a textfield also?
I like the theme though, especially the links
 
> Characters are really stored as Strings on the stack, but they are a quick way to save a character when golfing.
 
@Maltysen I'll make it look pretty in a sec, just been trying to get the darn thing deployed.
 
9:24 PM
Maybe the example given for that should be something else. As it is, it's much longer than "hi"o
 
@Geobits sure thing, will change in a sec.
 
would anyone be able to make sure my scoring scheme is sane please? meta.codegolf.stackexchange.com/a/5602/9206
 
@phase It would be nice to be able to run, edit, run without using the back button also.
 
@Geobits ajax to the rescue!
 
@Maltysen I'd just need to send a POST request to the main page, and have it parse it.
@Geobits Characters are really stored as Strings on the stack, but they are a quick way to save a byte when [golfing](http://codegolf.stackexchange.com).
```
'io
```
*Outputs `i`"
I also need to figure out a way to do permalinks.
 
9:28 PM
Yea, I like that better.
 
@Lembik To test if I understood correctly, the winner is decided based on the score for the lowest n for which there is a unique winner?
 
@trichoplax are you reading "Your score will be the highest n for which you have the highest or equal highest value in your output when compared to the values in my question or to anyone else's. Non-existent values are assumed to be zero. "?
 
Yes
 
then I have written it badly!
 
So if you have the unique highest score for n=26, then it doesn't matter if other people beat you for n>26?
 
9:30 PM
yes!
that is right
that is exactly what I meant
 
Then I did understand, but I worded my understanding poorly
 
:)
I think I'll post it
thank you
 
So when deciding the winner, you see if there is a winner for n=2, then if not you see if there is a winner for n=3, and so on until the winner is unique or you run out of numbers and it's a tie
 
@phase permalinks should be easy. You're using a templating engine?
If so just take query params, and fill in the boxes
then when permalink button is pressed, use jquey to encode all the boxes in query params
 
True. If there's one thing it needs, it's more jQuery.
 
9:34 PM
may the optimizing begin :) codegolf.stackexchange.com/q/53590/9206
 
1
Q: Maximizing the number of different answers in a set

LembikFor all strings in the challenge are over the alphabet {-1,1}. For a string A of length 2n-1 consider all n substrings A[i,...,i+n-1]. For a given string B of length n, we output 1 if the inner product of A[i,...,i+n-1] and B is positive and 0 otherwise. For a pair A, B we therefore output n...

 
I feel I should hang around for the first person to point out an error in my numerical values :)
normally takes about 2 minutes
@Min_25 hi.. I posted another fiendish challenge if you are interested :)
 
@Maltysen i.imgur.com/90H8dHc.png This sends a new POST request to /code with the new code and inputs
and I made the code block bigger on the front page
I should probably do the same for /code
 
9:48 PM
la error pageon i.imgur.com/CNzFHCr.png
 
10:17 PM
@Maltysen how would I format the code for a url?
 
@randomra I'm down to 191 but I haven't found a way to shorten your alternative unary conversion yet
 
like $.param({code: $('#code').val(), input: $('#input').val()})
and also, why is the post going to /code?
you can set the form to have no action and then like
server side: if method == get: return index.html else: execute code; return filled in index.html
 
just fixed that
 
@phase after running, it seems to return an old file which still has action set to '/code'
 
@Maltysen just fixed that too :D
 
10:49 PM
@randomra I think I'm out of ideas. I've already made some really hacky changes now to golf it further. I've added the full explanation now, but feel free to have another look if you can find anything to shorten it.
@DigitalTrauma added the full explanation to the Retina Retina answer
 
11:09 PM
really important feature for retina: make parentheses at the ends of the pattern optional. that would have saved 7 bytes in this challenge.
 
11:24 PM
@MartinBüttner Thanks - thats sufficient :)
 
@Maltysen I got the code and inputs, now all I need to do is redirect to a POST request of the main page, which I've got no clue how to do!
 
@phase for the permalinks?
or for ajax?
 
@Maltysen ajax
 
you don't need to do redirect
what you want is to set up a special handler
ike /code
and then usse jquery, probably $.post(
make the handler return json
then parse it and fill the output boxes
 
@MartinBüttner will look, although I run out of ideas even for the longer version
(the unary squaring is funny, I never had to use it before, just multiplication)
that is a real lookaround :)
maybe add that the input format is d w h as it is not obvious
 
11:41 PM
@randomra I thought it was fairly clear, but I've mentioned it explicitly now, thanks
 
11:56 PM
0
Q: Functional Programming Bytecode

kurco19How can I compile a functional language into bytecode? My problem is this. Given this program in a haskell like syntax: add = (\x -> (\y -> x + y)) main = add 5 7 I want to compile it to a simple bytecode and export it in a file. Then I want to create a virtual machine that can interpret tha...

 
00:00 - 19:0019:00 - 00:00

« first day (1635 days earlier)      last day (3210 days later) »