« first day (2201 days earlier)      last day (2748 days later) » 
00:00 - 18:0018:00 - 00:00

user559633
6:00 PM
@davidism Does Flask, specifically, do CORS incorrectly, where a node server does it correctly?
 
user559633
The bigger drawback, for me, is not having "server-side rendering" for React, but that's something I plan on hacking around when I have some time post launch. Was thinking of doing a little extension that spawns some node.js workers and FFIs across
 
It doesn't do anything, you have to do it all yourself. There's an extension for it though.
The docs aren't very clear though about how to add the headers and how to make requests that allow the session.
 
@kevin are you using php?
wtf?
 
Hey, I didn't pick $new_hire's name.
 
$new_hire; '; drop tables; --, you mean?
 
6:08 PM
I just gazed into the Platonic Realm of Ideal Forms and saw what was already there.
 
user559633
I'm going to dress up as Python 2.6 and haunt Antti for Halloween. What do you fine people have planned?
 
user559633
There will be no 2.8. Only 2.7.430
 
I ignore the new Western craze that is Halloween
 
Will the last release of 2.7 be 2.7.999999... repeating infinitely?
 
6:11 PM
like tex's version approximations?
 
user559633
Halloween stopped being as much fun once I started dating someone seriously. Probably a coincidence. Probably.
 
Not a fan of couple's costumes?
 
Christmas caroling for Halloween garnered us more candy in 30 minutes than our sister who had been out all night. I think I was 18 at the time
 
I bought an old-timey cloak and a ripoff Harry Potter wand from Party City. It's not really a coherent costume, I just needed enough that I wouldn't get turned away at the door for wearing ordinary clothes.
 
I wasn't planning to go, but my other sister was 16 at the time, and her and her friends wanted to go caroling. It was pretty fun.
@Kevin classic Kevin
 
6:14 PM
This is the first Halloween party I've gone to in... Ever? I think. Pretty sure I only got invited because the organizer went down their entire list of Facebook friends
 
user559633
Years ago, I dressed up as Finn from Adventure Time, but as I was working around Times Square, some little kids immediately thought I was one of those people that poses for photos/is part of the disneyification of NY while I was trying to walk over to the bar.
 
That's not Boston, is it?:P
 
@tristan like with express, you can use webpack dev middleware and webpack hot middleware on the server to make it super easy to read the config and output it
 
user559633
@AndrasDeak lol no. i'm pretty sure nothing has or ever will happen here
 
Last party I went to, I played a little game. Every time I felt like I'd rather be at home playing Minecraft, I took a drink. Eventually I no longer felt like going home, but I earned a bad hangover for my troubles.
 
user559633
6:17 PM
@corvid huh. i've never used that. i'm not using webpack, but could see where it would be useful to code-by-removing-errors
 
But one of the popular kids told me "we should hang out more, Kevin" which was very nearly worth the time I spent on the bathroom floor the next morning.
 
Webpack is fantastic, I feel like if flask had a good adapter for it, I would always use flask/react
 
user559633
When I used to go outside, I'd sometimes play a game in which I'd assume another identity and keep myself amused by filling out details of that person as needed. Does Gregory like vodka? Hmm, yes, Gregory does like vodka, but it gives him a headache
 
I don't know what to dress as nor do I have anywhere to go. Welp
 
user559633
@corvid Do you change/need to change your webpack config that often? I think I defined mine like 3 months ago and haven't needed to look at it since
 
6:19 PM
i should have known better than to answer that stupid flask question...
 
Oh I mean it loads it directly into the server and allows you to access it, which is really useful
 
user559633
I use webpack to load my i18n plugins and chunk up uglified/minified js files, and convert jsx->js. am i missing some amazing functionality?
 
how do i can get data out of cursor until row is none?
 
What's a cursor?
 
for row in cursor:
 
user559633
6:24 PM
probably iteration.
 
@Kevin usually like a database query
 
user559633
sorry for the cursory explanation
 
Ok in that case I bet the answer is "depends on what kind of database"
 
mysql
 
1 min ago, by davidism
for row in cursor:
 
6:25 PM
I think Oracle uses that terminology
 
Davidism is usually right so I bet Davidism is right
 
user559633
Chief Resident Davidologist
 
When rooms/6 forms a street gang, I'll be the guy slightly behind the front who just goes "yeah, you tell 'em boss!"
 
using for row in cursor but then how do i define those values to variable as i need t send them
 
@user6813858 you start by asking a clearer question
 
6:28 PM
how do i assign those values to a variable?
 
user559633
 
If I was in your position I'd look up the documentation for mysql and look at the class definition of whatever row is, and see if there are any useful methods that can get useful data out of it usefully.
 
@KevinMGranger well you weren't wrong
 
Possibly __getitem__ but who knows really
 
user559633
I shouldn't have gone to bed until I finished this current JS module :/ I don't really care to remember how it works, only that it does
 
6:29 PM
I don't feel like helping right now. I will only meta-help.
 
6:40 PM
using mysqldb
if i do,
for row in user:
h1 = row[0]
it just gets first value instead what i wanted is that for all the value that exist should gets assigned to a variable
 
user559633
and what does each "row" look like?
 
in a jupyter notebook is it possible to make the kernel wait for some kind of input from a widget so it can be used in the same fashion as input/raw_input or is raw_input handled completely differently then interactive widgets?
 
Of course it gets the first column, that's what you asked for. All the rest of the columns are in there too, and you obviously know how to get and assign them. What's the problem?
 
VUUUV
thats my vampire teeth :P
unfortunately they are a little lopsided
 
hmmm I would think V--------V would be a better representation
 
6:43 PM
but i don't know how many rows are there
 
1 million
and 425 thousand
 
over 9000
 
@user6813858 that doesn't really matter, for row in user will go through all of them, do you then want to visit each element in a row?
 
@user6813858 sorry, at this point we can't help you anymore because you're lacking a basic understanding of the data you're working with. Consider reading a tutorial, reading the docs, and playing around with the data in the interpreter.
garlic
 
6:45 PM
(('value',),('value',),......)
data looks like
 
:-|
 
user559633
@user6813858 your database rows just contain a single item tuples with the string 'value'? or are you just obfuscating your data because you want help, but don't want to provide information?
 
4 mins ago, by davidism
garlic
 
vamping
trolling vamp
vamp flags everything?

am I reading this right?
 
thats the quote i was expecting :P
 
user559633
6:49 PM
you're making it incredibly difficult for anyone to help you, and almost impossible to want to help
 
user559633
@davidism sorry, didn't see this
 
vamping....sounds like some kind of beauty product type thing
yeah...I vamp. Don't you?
 
or some tween typing vaping too fast on their cell phone
 
user559633
yeah i vamp, so what
 
This Halloween, practice safe vamping
 
6:50 PM
@idjaw I'm just a jr vamp, or vampling if you will.
 
I googled vamping and this is the first headline I see. "New Teen-Trend Alert: Late-Night Vamping"
It sounds dangerous and sexy...
 
am I correct that the references to vampirism are pointing to what us a helpvampire
 
user559633
That sounds a term that like NY Times or the Guardian (or some publication of similar low quality) made up
 
@TadhgMcDonald-Jensen That concept in general, yeah.
 
6:53 PM
@davidism did you play through that game?
 
@tristan This one is from "The Cut". An oddly appropriate name.
 
@idjaw oh yeah. I'm a fan of MGS, although I've only finished one and four.
 
user559633
@MorganThrapp Yeah, that sounds like a different subculture than "up all night to get texty"
 
Well that's stuck in my head for the rest of the day now.
 
user559633
Are there any oktobeer fest events happening near you @MorganThrapp? Looking for an excuse for gf and I to take a long weekend
 
6:55 PM
@tristan Good question, let me find out.
 
@davidism I really want to play Phantom Pain. I think the only one I haven't played was Portable Ops. Well, and obv, Phantom Pain.
 
@tristan you should visit me :D
we've got the biggest outside of Germany
 
mh phantom pain gets really repetitive...
 
@rlemon Are you talking about Beau's?
 
Kitchener-Waterloo Oktoberfest is an annual nine-day festival in the twin cities of Kitchener-Waterloo, Ontario, Canada. Based on the original German Oktoberfest, it is billed as Canada's Greatest Bavarian Festival, and is the second-largest Oktoberfest in the world. It is held every October, starting on the Friday before Canadian Thanksgiving and running until the Saturday after and attracts an estimated 750,000-1,000,000 visitors every year. While its best-known draws are the beer-based celebrations, other cultural and entertainment attractions also fill the week. The most well-known is the...
 
6:56 PM
these days im going nutz on overwatch ... my wife is on the verge of smashing my pc i think
 
my entire city is one big party for ten-ish days
 
ack...I haven't been to that one....I have to go to that one
 
user559633
@rlemon that's actually a pretty good idea for a meetup for lots of us if we can organize it in time
 
New SOPython field trip everyone. We are going to the Kitchener-Waterloo Oktoberfest
get your party pants on
 
:D we can get drunk and I'll talk so much JS
\o/
 
6:58 PM
Doesn't look like there's anything specifically Oktoberfest themed, but there is a workshop on home food preservation. ;)
Or a fall foliage train ride.
 
user559633
october 6-14th for that kitchener/waterloo festival? gives us time to plan next year
 
user559633
@MorganThrapp i do like trains.
 
user559633
gf and i are definitely going to be in hudson valley for at least a week before may as we want to scope it out as potential next location
 
@tristan ooo we got trains.
elmiramaplesyrup.com/the-festival and this glorious fest
 
6:59 PM
Oh, awesome. Definitely hit me up when you're in the area!
 
everyone come to my city... bring money... :D spend lots
 
using for row in cursor: x = row[0] y = row[1] works .but what to do when you don't know exact rows for e.g. posts by users
 
user559633
at the risk of lining myself up for ridicule: i hope the train rides take place on interesting trains and don't have too many people on them
 
@rlemon Why does Canada have all the best things. :/ I blame you, @idjaw.
 
user559633
@rlemon rlemon has been tagged as 'works for ontario board of tourism and marketing'
 
7:01 PM
@tristan we have "interesting" trains too:P
 
It is an old train, lots of tourists though. However it is next to this amazing diner that makes bourbon milkshakes.
 
@MorganThrapp perfect amount of freedom + sorreh
 
@MorganThrapp Love the Great North Country. LOVE IT!
 
poutines, syrup, and body contact sports while holding sticks. #Canada
 
nods
 
user559633
7:15 PM
when would you recommend a montreal trip? i've only been in the summer
 
wim
 
Heh.
 
user559633
putin c poutine
 
@tristan TBH it depends what things you're in to. Because you can find great things to do at each time of the year.
 
user559633
@idjaw drinking, eating, talking trash with friends. i imagine gf will want to do civilized person stuff.
 
user559633
7:17 PM
was thinking about asking morgan and maybe some other people if they want to go check out montreal and renting out a big apartment or something
 
@tristan So, for that in particular, it does not matter when you go. It would be not as fun doing it in the winter, just because you're lugging all that extra crap around to keep warm and all that. However, there are more food related festivals in the summer
along with other great festivals that you can enjoy
 
@tristan I would be very much in favor of that.
 
++
I would love to have you guys in Montreal.
 
user559633
cool, we should formally plan it for the spring. i imagine i can probably negotiate something considerably more "real" (and, nice bonus, cheaper) for accommodations than a hotel, esp with idjaw's help
 
Definitely! :) I do know that we have a family trip sometime in the spring. So some time coordination will be required.
 
7:29 PM
hey guys, how does a CPU know when an IO process is done?
does a separate thread monitor it?
 
Whatever is doing the IO gives the CPU an interrupt signal, or the kernel regularly polls the hardware.
 
Hm. I think reading from an IO device is actually an interrupt (at least in MASM)
Buuuut it's been a while since my assembly class
 
Isn't it hardware-dependent?
 
IO is kind of vague. Reading keypresses and a file are different.
 
@KevinMGranger I get that, and thats basic IPC. In asyncio, does that mean that python takes care of the signalling?
 
7:35 PM
Under the hood, python asyncio will use something like select, in which you say to the OS, "here are a list of IO handles. Return to me when any of them are ready"
 
@idjaw I got accepted to the pycon that was in montreal, but what happened is that when i applied for a visa, they said they wouldn't give me one because they thought that I might not return home :P
 
from The Netherlands?
 
hmm, that makes sense
@AndrasDeak nope, from bangladesh
 
oh, OK then:D
otherwise it would've been weird
So much for their niceness, eh?
 
@GamesBrainiac That is so frustrating to hear. I'm really sorry that happened.
Was this the most recent one in Montreal?
Because it's even more upsetting to hear that with our new Federal government in place.
 
7:43 PM
@idjaw yea, and i was so happy to get accepted XD
they even gave me money to go
 
I can imagine. :(
 
yeah, but thats when i realized that i needed to leave bangladesh
 
:(
that sucks
 
btw, anyone here from the netherlands?
maybe we could meet up at the python meetup in amsterdam in november
 
anybody with a Dutch name, like Martijn?;)
(I know, he's not there:( )
 
7:45 PM
yeah, but martijn is currently in london
 
it's disheartening to hear things like "time to leave X" because a Country decides that they want to outright reject people for reasons.
 
yeah, but thats the way things work man
opportunities in bangladesh are also pretty bad
 
I can't easily assume any circumstances when "time to leave home country" isn't horrible
 
Yeah....it's just always sucky to read about it
 
@idjaw you'll see yourself during the First Maple Wars, just wait
 
7:47 PM
yeah, but here in the netherlands and in europe in general, the opportunities seem limitless, you just have to work hard
@KevinMGranger thanks for the reply about async man, I was confused since the whole point of async was to use a single thread, so IPC would have to be improvised.
 
I'm not a Star Trek fan, but this seems to be making Trekkies laugh. So I'll share:

https://twitter.com/swear_trek
Did I just admit to something that I should not have admitted to on the internet?
 
meh
 
@idjaw !!!
you're not a trekkie, whyyyyy?!
 
Bad life choices. I never watched a single full episode of Star Trek. Ever.
I watched the movies. I think almost all of them.
 
Me neither. That should take some of the heat off of you :P
 
7:56 PM
but I just never watched the show. I don't know why....
I love sci fi
oh, hey @Programmer. Long time no see
 
@idjaw TNG rox
 
I'm usually around. I'm just a quiet one.
 
@AnttiHaapala I wonder if there is a legit way I can watch TNG now through current streaming channels.
 
the TNG is often about contemporary social issues.
 
woah...it's all on Netflix!
well..OK then.
 
8:00 PM
@idjaw the first and second seasons are pretty uneven
 
TNG is the best, but only Picard and Data make it watchable
 
wow...just got a notification on codementor for "I need to see where to indent my code"...60/hour.
 
gets better in 3rd, and then the end of the 7th is a bit uneven again
 
Wesley Kickhisface Crusher is the worst
 
8:04 PM
Maybe I'll make TNG part of my late night tv watching when I'm doing computer things
But I feel like the talky talky in the show is something I have to pay attention to...hmm
 
yup
Otherwise you'll miss out on all the subspace quantum interference
 
you don't really even need to see TNG in order, though...
 
that's even better
 
there are 2 or 3 episodes which expect some causal order
maybe a handful
 
there are some arches
 
8:06 PM
yup
no more shall be said
 
but really Data is the only character that significantly develops
if... that's significant.
 
So would you say he's....a developer? *ba-dumm tss*
 
so you can watch for example the top-list episodes :D
the borg episodes should be watched as an arc.
the some klingon episodes too
this I can agree with :D
 
Excellent. I think I can buy in to that. Thanks
 
the skin of evil isn't really good though
 
user6568562
8:10 PM
Yo everyone
 
it is just important storywise...
 
@randomhopeful hey!
 
@AnttiHaapala I'd argue that's why one shouldn't start with that
anyway...
cbg @random
 
@AndrasDeak it is the first on the list there :D
 
user6568562
Yo idjaw [ : Andras [ :
 
8:11 PM
no need to really see it :D
 
hmm...why have I only learned about this site until now: certificatedetails.com
I happened to run to it completely accidentally
 
the borg arc is
"Q Who"
"The Best of Both Worlds"
"The Best of Both Worlds, Part II"
"I Borg"
"Descent"
"Descent, Part II"
 
@wim so much division confusion
admittedly I fell for it too, marked a dupe then immediately went "d'oh!"
 
wim
lmao
guy wrote on my answer to use bitshift for the division
no bitshift hacks in python plz
 
user6568562
Today I went to testify against that douche of same few Saturdays ago. The one I've been in a fight with. Mofo had the nerve to tell them I started it when he spent a good deal of the evening harassing everyone
 
8:14 PM
:/
@randomhopeful Were there sufficient witnesses?
 
user6568562
Yeah tomorrow the bar owner will testify and I'll be there. Also the guy has antecedents the cops were not that credulous
 
@randomhopeful good, good...
hope it works out for the worst for them:P
 
user6568562
: D I'd lie if I'd pretend I'm not partially enjoying this
 
:D
I'm just reading that last Friday's DNS DDOS was carried out using webcams and stuff with factory-set-passwords, allegedly
this must be the internet equivalent of the anti-vaccine idiocy (from a game theory point of view: if there's a sufficient amount of idiots then everybody gets screwed)
 
user559633
@AndrasDeak github.com/jgamblin/Mirai-Source-Code probably came from this codebase too
 
8:29 PM
ah, nice, thanks
open source malware is the best:D
 
Hi @tylergould. Welcome!
 
hello!
 
welcome @tylergould
You have a typo: <from should be <form. — davidism 54 secs ago
 
8:55 PM
lol @davidism as an aside they now think it is likely not a state actor :P so good job callin me out on that
wrt last friday DYN atk
 
wasn't me, I think it was tristan
 
user559633
it was me
 
oh yeah thats right :P
 
user559633
it doesn't make sense for it to be a non-US state actor
 
lol my bad
 
> 2003
 
user559633
the only ones that benefit are the DNC/warmonger hillary/anyone trying to paint a narrative of US vs. Russia (e.g. focusing on the agent that released details of corrupt dealings instead of the information)
 
user559633
oh, would someone else benefit from trying to turn a DDOS into a geopolitical issue?
 
9:06 PM
trump because trumpetists think it is a false-flag operation organized by hillary clinton that woman.
 
IoT device manufacturers trying to shift the blame?
 
user559633
lol if you think people happily voting for trump would follow that complex a plan
 
user559633
s/that woman/that party and oligarchical group/
 
whatever
 
user559633
^ agreed
 
9:08 PM
seriously, what you guys need is a) choose president by popular vote, b) second round in case of no majority
or even better, get rid of the president.
 
user559633
I entirely agree with that second statement. I think the concept of "one person wears the big boy/girl pants and calls the shots" is just a distraction from the ugly, complex reality
 
you can choose a head of state by lottery...
 
And runoff voting instead of first past the post. And an end to gerrymandering
 
It used to be pres by popular vote and vice president was the best loser
 
But everything changed when Onion Biden was elected...
 
9:10 PM
Don't take away gerrymandering, we're just learning how to do that properly
 
@KevinMGranger runoff voting might work but might as well be too complicated
 
user559633
I forgot where the idea came from, but I love the idea of forcing politicians to wear patches on their clothing proportionate to their international/corporate sponsors à la NASCAR
 
gerrymandering gives us sweet dragons!
 
isn't that trogdor
 
@tristan that would be amazing
@AnttiHaapala I'd vote for Trogdor
That dragon has the wing-a-lings, but he's missing the S and the more different S.
 
user559633
9:13 PM
I'd love to watch a speech of Clinton talking about human and women's rights while being forced to wear the flag of Saudi Arabia on her jacket
 
I see no consummate Vs.
 
None at all :(
 
stackoverflow.com/q/40249556 no repro "forgot to rebuild"
 
user559633
woof, that's a rough development environment
 
What really gets me is that they decide to use docker, presumably to compose all the pieces so that production deployment is easy, but still use the dev server instead of a real WSGI server.
 
user559633
9:23 PM
haha yeah, i can kind of see if they're on windows
 
user559633
 
I've seen it multiple times now in SO questions.
If they actually deploy that they're gonna have a bad time.
 
user559633
Does the dev server hang on requests for you sometimes?
 
@davidism then, why do you have a separate dev server?
 
Convenience during development.
 
user559633
9:25 PM
i <3 the flask dev server
 
but what are these conveniences?
 
user559633
one line of python and i get a test server?
 
pyramid uses waitress in default confs but it is for deployments too
 
It's a lot simpler than the bazillion options that uWSGI or Gunicorn provides, and don't even start on mod_wsgi.
 
we are deploying waitress
 
9:27 PM
What's waitress based on? The dev server is using Python's http server, which isn't particularly performant, stable, or secure.
 
waitress is written in python
you need to deploy waitress behind a buffering proxy though
 
user559633
For my purposes, if it's not faster than uWSGI, it makes no difference to me what the built-in dev server is like, as long as it doesn't do anything surprising, as it won't be used beyond coding/testing locally
 
so I am just wondering what are the things that exist in the flask dev server that are different from waitress?
for one, waitress doesn't have reloading functionality - that must be done elsewhere.
 
user559633
reloading, doesn't need a reverse/buffering proxy. i don't know waitress, so i can't enumerate beyond what i've just now read
 
9:36 PM
Pure python is the fastest just like something's better for you because it's natural.
So use the dev server, why not?
 
ISO 8061:2015 specifies methods for the selection of the release torques for alpine ski-bindings. It gives information necessary to determine the release torques; these are to be recommended for use by ski-binding manufacturers in their instructions for installation and use, and by ski shops for the adjustment of already mounted ski-bindings.
@wim now marcusb posted that as an answer...
 
wim
I can't wait to one day comment that "this crappy code violates the ISO standard for state-of-the-art spaghetti"
 
9:53 PM
Pandas is beautiful until I try to do something to it that's unnatural
Then it goes to hell
 
10:05 PM
the obvious solution is to use it naturally
rhubarb
 
I just figured out how
.loc
I love you .loc
 
 
1 hour later…
11:23 PM
cbg
 
cbg
 
00:00 - 18:0018:00 - 00:00

« first day (2201 days earlier)      last day (2748 days later) »