« first day (1382 days earlier)      last day (3464 days later) » 

5:05 PM
class ???{public static void main(String[]???){for(int n=34;n<18<<19;n<<=???)System.out.print(""+(char)94+('h'^n)+(char)???);}} leaves <<;=114579-Stringtr. I think the String is a blind alley, because there's no w or spare .. Of the missing numbers, one is equal to 3 mod 32 and the other to 10 mod 65536. But there I'm stuck.
 
hi @PhiNotPi
 
Hello
 
@Optimizer any clue how to get comment contents? I tried activating comments in the answer objects, and body_markdown (along with link for good measure) in the comment objects. I do get a list of comments in each answer, and those comments do have the links, but they don't seem to have their body_markdown property.
 
5:21 PM
@PhiNotPi how did you eigenidea go?
your
 
5:37 PM
You have to check body_markdown from comments filter in the list
api.stackexchange.com/docs/…!*cCFhSGsZiuliQ.QgQTy.BEhI0AsX8gPc.DOy&site=meta‌​.codegolf&run=true
Filter : !*cCFhSGsZiuliQ.QgQTy.BEhI0AsX8gPc.DOy
 
yeah that's what I did
also why is your filter so damn long :D
 
I think the length is constant ..
so our both should be equal
Check this url out, api.stackexchange.com/2.2/questions/2490/…!*cCFhSGsZiuliQ.QgQTy.BEhI0AsX8gPc.DO‌​y
 
no, I'm using much shorter filters
I got !3yXvhDLMpNdBHqo2n
 
what all is checked in urs ?
Whatever I do, my filter length is same. even if I let remain only one checked filter
!7go_j(Er.ijIJoVya80W1YxmaEc1QM51Am is for just comments and nothing else
(comment body and markdown)
 
I've taken the default and added comments and body_markdown on answers, as well as link and body_markdown on comments
 
5:45 PM
sometimes it does not give the updated result
try reloading the page
I can get comments body_markdown very easily
 
http://api.stackexchange.com/2.2/questions/40562/answers?order=desc&sort=activi‌​ty&site=codegolf&filter=!)rCcHAS1.UU9eTC7Z60A
 
I just found that for a while Code Review had weekend challenges: meta.codereview.stackexchange.com/questions/1347/…
 
@MartinBüttner wrong filter I assume
 
This might be an interesting idea for us, although I don't know if it will work because our site is different.
 
I have no clue what else to do... how do you generate the filter? I just go to api.stackexchange.com/docs/answers-on-questions, click on the edit next to "default filter" and add the checkboxes for answers->comments, answers->body_markdown, answers->share_link, comments->link, comments->body_markdown, and copy out the filter.
 
5:51 PM
http://api.stackexchange.com/docs/answers-on-questions#page=1&pagesize=100&orde‌​r=desc&sort=votes&ids=2490&filter=!7go_j%28Er.ijIJoVya80W1YxmaEc1QM51Am&site=meta‌​.codegolf&run=true hit this url
 
returns nothing at all
{
  "items": []
}
wait, not true
yep, I've got them now
(just nothing else any more)
 
yeah
that filter is just comments
now base ur filters on mine
 
I'm trying to get rid of a few fields I don't need, but so far, body markdown isn't showing up on mine... if that doesn't work, I'll try adding my fields to yours
 
@user2179021 We haven't written any code for it yet.
 
do the latter
 
6:01 PM
wtf
I did this to your filter: deselect body, select link, select owner. body_markdown was gone. then I deselected owner and link, and selected body again (restoring the previous filter). the comments are now completely empty
more importantly, the filter ID I get now is exactly the same as in your link above.
what the hell is going on.
 
caching
try hitting it again a couple of times
 
Optimizer is probably right.
 
or switch to Firefox
best solution
 
I don't like caching.
 
Just don't use Internet Explorer.
 
6:04 PM
@PhiNotPi Why not?
I do.
 
tor and Mozilla partner up ..
 
okay, I opened yours again (verifying that it's exactly the same URL), and yours worked... then I reloaded mine... now it works... I hate caching.
 
I use IE 11, and I set it to not cache.
 
the problem is SE's cache
(I believe)
(maybe not)
 
(Try upgrading to Google Ultron ~)
 
6:06 PM
What is that?
I don't use Google products - nasty things that cause PC problems.
 
Switch to Firefox
 
I am using a FireFox variant right now.
FireFox and Chrome render very fuzzy on my monitor.
 
tor one ?
 
IceDragon, by Comodo.
The famous FireWall company.
 
Google Ultron is a joke, which probably will take too long to explain.
 
6:08 PM
I've also used Dragon, which is a Chrome variant.
I didn't like that as much.
What might be interesting, @PhiNotPi, is that Chrome is written in Python.
Maybe we should write our own flavor together sometime - it is open-source, as you probably know.
At least partially (I'm sure not all of it is).
 
Firefox ?
 
@Optimizer What is FireFox written in?
 
Some sort of text editor ?
2
 
I mean which language, not which text editor.
 
:D
ofc i knew
 
6:11 PM
Probably Microsoft Word.
 
Sure, IE
 
Probably the IDE for the language, or else NotePad or NotePad++.
 
Firefox is in JS XUL CSS C++ and others.
the builder is in python
 
OK, I know CSS and C++, Python a little.
 
then there are idl
 
6:13 PM
We should.... Write our own web browser... From scratch.
 
JS I could probably pick up. I want to write my own custom browser and OS some day.
 
LOL
better luck rendering fonts by urself :P
 
I'm studying OS design principles right now.
Memory Management, at the moment.
The Buddy system in particular.
 
If you want to know how much difficult it is to create a functional page renderer from scratch, try following the journey of Servo
they still cannot render wikipedia properly.
 
We'll do it. Do you know how much time it took to write the first version of Windows?
 
6:16 PM
:/
 
A few months, if I am remembering correctly, with not too many programmers.
31 years and 1 day later from Windows 1.
(I think the quick version was MS DOS, not Windows 1.)
 
The underlying rendering engines are wicked complex.
 
@PhiNotPi There is not point explaining anymore to him :)
 
We'll do it, and it will be the best on the market :)
Half joking, half serious.
 
@Optimizer the comments are empty again :(...
I didn't even change the filter any more...
 
6:21 PM
:D
BOL
 
Empty your cache again?
 
@MartinBüttner Switch to Firefox until u are testing ?
works for me everytime
 
BTW, FireFox has a curious problem.
(So does IceDragon).
 
file a bug ;)
bugzilla.mozilla.org
 
If you open/close it quickly, sometimes it is registered as still open.
 
6:24 PM
:|
true with so many other applications
 
Then, next time you open it, it tells you that there is already an instance open on the system.
Then, I have to open the Task Manager, find it, and kill it.
This is the only application I have ever experienced this in.
 
anyways, it now has an option to kill it from that dialog itself
 
That is nice. IceDragon doesn't, but it is based on version 42 still.
It actually isn't even supported by Gmail anymore.
 
42??
 
Yup.
 
6:27 PM
36 is the latest dev version
so 42 does not exist
 
OK, 26.
I wonder where 42 came from.
 
42 = 6 * 9
 
nope'
 
42 is said to be the answer to everything. It isn't though.
26.0.0.2
Don't you love it when an assignment is posted, and you need a time machine to submit it/participate/whatever because it is locked?
Past deadline, and that type of stuff.
 
1+5*8+1?
 
6:32 PM
lol
 
@PhiNotPi Unless you are using a different base than 10, 42 = 6 * 7
42 = 10 ** 1.6232492903979004632209830565722
 
I believe he was referring to an old joke in some question on this site where you define six and nine as 1+5 and 8+1 then multiply them (without brackets)
 
Oh, OK.
 
287
A: Most creative way to display 42

Mr ListerC Here's an oldie but goodie... #include <stdio.h> #define six 1+5 #define nine 8+1 int main() { printf("what do you get when you multiply six by nine?\n"); printf("%i x %i = %i\n", six, nine, six*nine); } This program contains 42 different ASCII characters.

 
What is the difference between fantasy and science fiction?
The people over at SciFi.SE have the definitions thoroughly mixed up, it seems to me.
 
6:41 PM
do they?
 
Yup.
 
where?
 
Harry Potter is definitely fantasy.
So is Star Wars.
 
aaaand?
 
Fantasy includes magic and supernatural forces, SciFi doesn't.
 
6:42 PM
(that being said, I think Star Wars is a borderline case)
 
Yes, borderline.
 
@hosch250 aaaaand?
do they ever claim that HP is SciFi?
 
It does have many elements of SciFi.
Yes. They have a tag for it, and discuss it left and right.
Front and Center too.
 
you did see the site's title, right?
 
Isn't it Science Fiction and Fantasy?
 
6:44 PM
this ^
 
Now it is. I didn't see that before.
I just looked at the URI.
 
we're at codegolf.SE here ;)
 
Yeah, I know.
And we actually aren't.
We are on Chat.SE.
 
No puzzles here!
 
Look at the URI.
 
6:46 PM
also I suppose that scifiandfantasy.stackexchange wouldn't be as catchy
 
Yeah.
 
@FryAmTheEggman we tried to rename that to challenges or contests a couple of times, to no avail
 
I have a puzzle for you: What did one math book say to the other?
 
Also: What is the difference between ignorance and apathy?
Answer 1: I've got problems.
 
6:47 PM
Speaking of puzzles, I'm still trying your Party security problem
 
Answer 2: I don't know and I don't care.
 
The closest I got was the count of unique strokes to write the number
But it doesn't work with 5... :(
 
That spaghetti guy has thrown like 20 parties in one night.
In just a little over 12 hours.
 
@Optimizer does this link include non-empty comments for you? http://api.stackexchange.com/2.2/questions/40562/answers?page=1&pagesize=100&or‌​der=desc&sort=votes&site=codegolf&filter=!2oRRX03Ck6.3FC8ayV-AVtju5.WocccBjGv)FiD‌​J2n
 
can you post the filter separately
 
6:52 PM
sure, just didn't want you to have to navigate to the page again if you had closed the tab in the meantime ;)
 
thus asking
no, copy pasting the above url gives weird unicode characters
 
probably because it's a line-broken code block
try retyping the order key
 
although filter part is not broken at all
filter is invalid
 
wat...
 
yupp
 
6:54 PM
how...
this is the one that worked earlier. this is driving me crazy :D
 
no idea, it had weird %, I removed them, it now reads exactyl as what is printed above, still invalid
ok, I had to type it myself
comments are empty
 
tried starting from an older one again, which had body markdown working... added a few more fields... body_markdown gone...
(both in Chrome and FF)
 
I'll do it
:D
tell me what all u need
 
hm k...
one sec
answer:
    answer_id
    body_markdown
    comments
    creation_date
    owner
    score
    share_link

comment:
    body_markdown
    link
    owner

shallow_user:
    display_name
    user_id
 
@EveryoneWithWindows Patch Tuesday today. Get your updates!
 
7:08 PM
ok, so I found this weird bug
comments body* won't appear until answer's body is requested
@MartinBüttner !)ayn4w2btvFUpB1dq4O*Zh(*MfHznReEDKMpOOFMoLQn5 should work
with an extra answer body.
 
I believe I had combinations before which had the comments body stuff but not the answers body stuff
 
Then I think its the filter generation algorithm whih fails for certain combinations
(or the filter recognition algorithm)
 
@Optimizer like !7go_j(Er.ijIJoVya80W1YxmaEc1QM51Am
 
lol no markdown support :D
 
the one you sent me doesn't include either comment body field :(
 
7:11 PM
yes, nothing but just comment's body + body_markdown works for me too
are you sure ?
works for me
UGHHH
does not any more
 
see :(
 
WTH SE
 
where do you ask support question abouts API.SE? on SO?
 
:D
no idea
 
7:15 PM
try this
!)ayn4w2btvFUpB.1hE5iCL-ZUUv4AleT2euk*QD6y)Uqr
 
questions get a lot of answers there... stackapps.com/questions
@Optimizer nope
 
wat
what do u get ?
 
an answer body_markdown, but no body fields for comments
 
ok, so basically the usage page is making wrong calls wrt the filter
 
you mean it creates the wrong filter ID?
wow, since 29 September no support question on stackapps has been answered (except for self-answers)
 
7:19 PM
o_0
 
it shows X makes the call for Y and correct is Z
 
what are X, Y and Z?
 
yup, so the form says filter as !)ayn4w2btvFUpB1d6.o.BKKcUINGse1wa_ZUcP23R8RvI while url of page contains !)ayn4w2btvFUpB1dq4O*Zh(*MfHznReEDKMpOOFMoLQqr and Z is unkown
 
have you seen this?
even that says that !)ayn4w2btvFUpB1d6.o.BKKcUINGse1wa_ZUcP23R8RvI should include comment.body_markdown o.O
 
yeah
o.O
some bug in comments I guess
the answers one never fails
 
7:25 PM
I guess I could try going through the /comments request, but that seems unnecessarily complicated
 
that will require u to first fetch all answer ids
then pass them to the comments call
I guess ..
 
yeah, and then sort the answers back to the comments... this is stupid
 
BOL
I am gonna stop filtering and continue golfing codegolf.stackexchange.com/questions/41395/… now :)
 
what does BOL mean?
I'm gonna ask on stackapps now
 
best of luck
 
7:31 PM
not that I have any hopes of getting an answer...
 
try their chat first ?
 
too late
will try in a second
okay, I don't usually like to plug my questions from other SEs here, but could I get some upvotes on this in the interest of getting us some sick stack snippets for our challenges?
0
Q: Filter doesn't consistently return comment bodies

Martin BüttnerI've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments creation_date owner score share_link comment: body_markdown link owner s...

@Optimizer their chat looks really helpful: chat.stackexchange.com/rooms/27/stack-apps
this is f*ing ridiculous... there is a question from 31 Oct that has 4 views... StackApps has some serious visibility problems ^^
 
8:17 PM
My avatar is the same colour as the notifications icon, so when I see it I always get excited about a new notification... I'm like a puppy... :/
 
8:36 PM
@Optimizer ideone.com/nUeiBa
Doesn't seem to work?
Too many rocks fall..
 
ideone has perl 6, does it matter ?
 
I thought I ran in perl 5... I'll check...
Yeah I ran in perl 5.16.2
There are 2 perls in the list
The naked perl is perl 5
 
I need help
Nevermind I got it
 
@FryAmTheEggman Ah, so it means its not working ?
 
No it drops all rocks to the bottom
Regardless
Uh, so yes it's not working >_<
 
8:43 PM
Ok, I commented.
Thanks!
 
English is hard.
 
negation is not not hard
 
I don't not disagree without no reservations... ;p
 
now dont start close voting mine :P
@FryAmTheEggman How to read all lines of input in Pyth ?
not just the first one ...
 
9:05 PM
The full* search for 29/15 finished with no hits. (* Modulo caveats about collisions mod p).
 
@Optimizer Uh, I don't think you can.
You'd have to give the input as a string with \ns and use Q
 
hmm
 
(That's why I didn't try the rock problem)
You can repeatedly use w as well
 
I see
@FryAmTheEggman and replace ?
like replace a character in a string ...
 
@Optimizer Regex substitution is : <string> <string> <truthy value>
 
9:14 PM
in Pyth ? which function ?
doc does not list any substitution
 
: is the function
The arg order is <string><pattern><sub>
 
docs does not list them at all :|
 
if sub is empty it will just do find
Weird, it used to say Regex in the doc, lol
 
: is at_slice now
 
Yeah, it was that before, but he moved regex from some other function to an overload for it
Guess he forgot to update
 
9:17 PM
: is defs. not it now
 
BTW if you can't find something, you could try looking through macros.py
It works for me..?
Do you have the latest Pyth?
 
I run the online version, which is latest
 
:"hello""h""o" gives "oello"
 
err .. I want to do something different here ...
LOL
I get the issue.
works! thanks!
 
No problem :)
 
9:22 PM
how do I update an array ?
 
Like, index into it?
 
yeah
 
You want to do something like =@<array><index><new value> maybe?
 
a[2] = "foo"
 
Yeah
=@a2"foo
 
9:26 PM
((K[1]=copy("as")))
^
SyntaxError: invalid syntax
 
Oh be careful with K
Can I see your code?
 
ah
its that only
=@K_1"as"
 
K auto-assigns when you first use it
 
its not the first usage
KcQb
 
Works fine for me?
Do you have the assignment on the same line?
Anything in between?
 
9:30 PM
a space
 
KcQb=@K_1"as"K
Ah
That's messing you up
a space surrounds the next thing with brackets
(and suppresses print, but that isn't a problem)
 
Man!
removing space works
this is messed up at some levels :D
 
how do I join a list back ? :/
 
you can use s to sum
 
9:33 PM
join with some character .
 
or use j<char><list of strings> like python join()
 
j<list of string><char> failed..
wow, just wow
 
Haha
Well, I've got to go, but I'll be back. Good luck with pyth :)
 
Thanks for all the help
 

« first day (1382 days earlier)      last day (3464 days later) »