« first day (1986 days earlier)      last day (2969 days later) » 

6:13 PM
@AnttiHaapala heh, I can already see people rely on this service, which will of course be taken off-line in six years...
Not to mention the various outages
 
Sarcasm-as-a-Service: @Rob get the startup forms ready!
 
My god how has no one ever thought of that before?
 
It's like relying on cdn.jquery.com, except even worse...
 
@Carpet relying on jQuery, even when ran locally, is the worst.
 
Aren't there two sides to that coin @Carpetsmoker?
 
6:16 PM
@Ffisegydd What's wrong with jQuery?
@Programmer hm, such as?
 
Everything.
 
I only glanced over this briefly, so I may be wrong. But, doesn't using a CDN allow faster loads because the library may already be cached? (not that it's probably noticeable)
 
Because I see only downsides: cdn.jquery.com may have an outage or may be compromised, and if it breaks, your site breaks.
@Ffisegydd That's not really an answer.
 
@dirn welcome
 
@Carpet it absolutely is.
 
6:17 PM
thanks @davidism
 
I need to start adding flask questions to the canon.
 
We need a cannon.
 
I can usually remember the dupes off the top of my head, but I really should write them down.
 
@Programmer Well, true, in theory there's a small speed-up, but I doubt this makes serious real-world difference... And it's just for the first pageload, since after that your local jQuery is cached
 
@dirn if you feel like contributing, I'll add you to the editor list. The canon is a tool to help us find the duplicates for python questions.
 
6:19 PM
@Ffisegydd Okay. Your eloquent and insightful arguments have changed my views on jQuery. I will stop using it! How is it possible I never thought of any of this before? Amazing!
 
@Ffisegydd Wait, There was a restaurant named that, rite?
Flask and Cannon
 
@davidism sounds good. happy to help
 
@Carpetsmoker Well shucks. It seems you're taking someone seriously who's last message before addressing you was:
6 mins ago, by Ffisegydd
Sarcasm-as-a-Service: @Rob get the startup forms ready!
 
@Carpetsmoker I think the better point is that it's up-to-date. Although, as you said there can be new vulnerabilities :p
 
To be serious though if you like: jQuery has always struck me as a massive cop-out. I've done a bit of web development and have always preferred using pure JS where appropriate. Using jQuery just always struck me as being lazy. It also annoys me that 99.99% of the examples on the internet for "doing X" are "Dude why aren't you using jQuery? You should use jQuery! This is how you do it using jQuery!"
 
cbg
 
cbg
 
I think my main beef with jQuery is really the fact that it makes people lazy and that means their answer to questions is "Just use jQuery."
 
@Ffisegydd I find it strange that you argue this in the Python chatroom, of all places. Should we go back to C because "Python is for the lazy"? Not saying that jQuery is perfect, but typing $('#my_id .all_classes') strikes me as massively more productive than using document.getElementById('my_id').getElementsByClassName('all_classes') ...
 
@Carpetsmoker Thanks, time to fix a few things :p
 
6:25 PM
Not to mention that stuff like getElementsByClassName was unsupported by many browsers for a very long time meaning you always had to write your own wrappersmany browsers for a very long time meaning you always had to write your own wrappers
And then there are things like nextNode, where you need to skip over whitespace nodes (which jQuery's .next() does for you)
Or the weird way to append/remove elements (element.parentNode.removeElement(element), wut?!)
 
@Carpet I think I didn't explain it correctly. I don't mind people lazy, I was actually just typing that out explaining that when you sent your message. My issue is that a lot of people don't think for themselves anymore, their instant reaction is "Oh just use jQuery."
 
Basically, you could rephrase Greenspun's tenth rule as "Any sufficiently complicated JavaScript program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of jQuery"
@Ffisegydd Shrug. It fixes the problem. I think it's useful to understand some of the underlying concepts, but it's not exactly required.
 
Well, honestly shrug right back at you :P
I prefer to avoid jQuery and will continue this in the future, I've learned a lot more from not using jQuery than I would have by using it.
 
I don't see how saying "use jQuery" and "not thinking for themselves" are really related, by the way...
 
And I actually use D3.js a lot, when contains some code that is pretty jQueryish.
 
6:30 PM
I feel like jQuery has been mentioned at least once a day here this past week...
 
@Ffisegydd @RobertGrant you sell Sarcasm-as-a-service?! Now, here, take my money!!
 
@AnttiHaapala What package would you like?
 
I guess the packages are Silvery, Golden and Irony?
 
Some great puns there.
See? That's the kind of sarcasm you can get with FizzyBobby's SaaS.
 
6:54 PM
@dirn I added you to the editors group. I added that question we were discussing as well: sopython.com/canon/93/…
When I add stuff to the canon I try to edit the Q&A target so that it's more general/canonical.
Any help is appreciated. :-)
 
*sigh*
 
ergh....I hate making really stupid mistakes that I should not be making......grumble.......</rant>
 
@idjaw still talking about that Pizza you had last weekend?
 
hahah
that actually put a smile back on my face. Thank you.
 
There's such a thing as bad pizza?
 
7:10 PM
Airplane pizza....Certain pizza in Seattle
yes...there is.
I've eatened it
 
I take my previous statement back :p
 
@davidism did tojson escape the funny spaces as well?
 
funny spaces?
 
the \u2028, \u2029;
but it turns out that tojson does ensure_ascii=True
so nvm
or does it?
ah it doesn't
 
7:18 PM
You have some data that when rendered using |tojson isn't valid JavaScript?
 
I guess if you set JSON_AS_ASCII to False, then try to jsonify
yes
just need to have \u2028 or \u2029
 
but only if JSON_AS_ASCII is False?
 
I'm pretty sure we're ok with that then. I should document that.
 
you should test that
just have a string u'\u2028', wtih JSON_AS_ASCII = False
 
7:21 PM
Yeah, want to add a bug report?
Or a "needs docs/tests" report?
 
but I haven't even tested it :d
if it indeed happens, then one could just add 2 extra replaces here: github.com/mitsuhiko/flask/blob/master/flask/json.py#L186
 
> Hello Patrick,
>
> How are you? I need help with small python project, its a small script which pings API url without waiting for server response and in a very efficient/faster way.
>
> I am flexible to any technology/server setup.
>
> Looking forward to hear from you.
Best job offer ever? wtf.
 
:D:D
200 € /hour?
 
@poke you are a fool not to take it.
:P
 
#!/bin/bash
while true
do
    curl api.com
done
 
7:27 PM
@AnttiHaapala I should actually reply with that quote…
 
charge one hour
 
200 € / hour rounded up to the nearest hour
 
Did you know there was an email whois service? Pretty cool.
 
So now you know who is randomly pinging you to write a DOS for them?
 
Thanks to that, I now know that the author of that email is from New Delhi.
And has a website that doesn’t work.
Is typo/no longer reproducible an acceptable close reason for a question where OP is following a tutorial but didn’t scroll down enough on that tutorial and missed an important part?
 
7:40 PM
Cabbage!
 
cabbage!
 
@poke Too Broad if applicable. Sadly too localized aint there.
@danidee cbg
 
is your chat messing up, or is that mine? o.O
 
Guess mine
 
^^
 
7:42 PM
Nvm
Refreshed and they are gone :/
 
They are already gone on my end
 
Sigh, Some rather funny stuff going on.
 
Am I the only one that is bothered with the fact that sequence operations are displayed in a table (you can’t link to properly) when every other function in the whole documentation has a proper documentation entry?
 
yes
 
I'm annoyed by any part of the documentation that doesn't have anchor links
 
8:12 PM
There should be something that automatically deletes questions that contain a “what is the best way to”.
 
that's the SOCVR;)
 
I wonder if only zzzeek would count as "credible and/or official source" here stackoverflow.com/questions/36013239/…
and cbg
 
cbg
 
8:41 PM
I lost in a fair duel against Skeet :<
 
Rhubarb all, Time to sleep :)
 
rhubarb @Bhargav
 
rbrb @BhargavRao
 
@poke Hope you win next time :-)
 
@BhargavRao hmhmh
@BhargavRao actually your motor answer is not correct at all...
 
8:43 PM
@AnttiHaapala Op has mixed tabs and spaces :/
 
even though the OP didn't know to tag, they're using flask
 
@AnttiHaapala Bah, deleted it.
 
@BhargavRao I'm willing to bet your while-loop will leave the request handler in an infinite loop
 
and the point is that it needs to continue doing that "forward" I guess until another request comes :D
or something really crazy...
but didn't know at all what to ask
 
Can't stay awake any longer :P
 
8:44 PM
know the feeling
 
Working since 18hrs :/
Rhubarb again o/
 
@BhargavRao Woo! I have an upvote more! \o/
 
@poke Nice; Get the c# gold badge soon :)
 
I hope so, thanks, and rhubarb!
 
Np, Rbrb \o
 
 
1 hour later…
9:53 PM
"It seems like Haskell's typeclasses can be used in a way that is similar to how Haskell's typeclasses are used." quite stackoverflow.com/questions/36210631/…
 
oh man...OP accidentally gave the accept to the wrong answer heheh. aw well...I left them a note to see if they intended to do that.
 
@QuestionC I have the wrong friends.
 
10:30 PM
If that gif included me or my friends it would have been much less accurate throwing, but you'd probably see someone get hurt trying it.
 
10:51 PM
I’m mostly interested in that one person being my friend who owns a garden with a slide, a trampolin and a big pool.
 
There's a ping pong table too.
 
cbg
 
Whoever owns that house put a high premium on having a boss backyard.
 
Seems like a good priority.
 

« first day (1986 days earlier)      last day (2969 days later) »