« first day (2141 days earlier)      last day (2813 days later) » 

5:01 PM
@AnttiHaapala what's the new way to get the session from the request that they're referring to?
 
What would society look like if every adult could make things in direct line of sight explode by concentrating really hard? I expect a lot of politicians would only communicate via telecast.
 
user559633
@Kevin Well, I'd immediately set to trying to make the longest line of sight possible, purely out of curiosity, not maliciousness, so I'd say extrapolate from there for the rest of society.
 
user559633
Also, I'd imagine that within half a day, there would be no moon or sun.
 
Well if the average person only has a hand grenade's worth of explosive force, the celestial bodies are safe.
Exploding the sun is hard because the sun is already exploding all the time.
 
user559633
Nerd snipe: how many hand grenades would it take to destroy the moon?
 
5:08 PM
One, if it's meant for someone with giant hands.
 
There's a formula for how much energy it takes to separate the component pieces of a large body such that its pieces never re-coalesce under their collective gravitational force, so in principle that's easy to find out, but in practice I don't know what to google.
 
user559633
brb, going to irc and typing "linux sucks at finding out how much energy it takes to separate the component pieces of a large body such that its pieces never re-coalesce under their collective gravitational force"
 
DSM
@Kevin: you might be thinking of the Virial theorem.
 
I think I'm thinking of this:
A gravitational binding energy is the minimum energy that must be added to a system for the system to cease being in a gravitationally bound state. A gravitationally bound system has a lower (i.e., more negative) gravitational potential energy than the sum of its parts — this is what keeps the system aggregated in accordance with the minimum total potential energy principle. For a spherical mass of uniform density, the gravitational binding energy U is given by the formula U = 3 G ...
The Internet says that the Moon's gravitational binding energy is 1.2 x 10^29 joules. How many joules are in a hand grenade?
 
user559633
Are you doing the equation as if everyone activated their "concentration grenade simultaneously?" C'mon Kevin, you can waste more work hours than that.
 
DSM
5:20 PM
@Kevin: ah, okay. That's just the U in V = -2 U, or (because astronomers are lazy and don't care about anything other than order-of-magnitude) V ~ U. :-)
 
Oh, just send it to Randall Monroe. He'll write/draw it up
 
@davidism it is simply a property in the request
 
request.DBSession?
 
not scoped_session or session_maker...
anything you want to possibly call it
request.db_session looks better I guess
a sec
 
The Internet says it's around 400-800 kJ. So 1.2e29 / 8e5 = 1.5e23 hand grenades is the absolute hilariously optimistic bare minimum.
The moon is safe from our mind bullets, even if all humanity unites as one under this common purpose.
@DSM That's my kind of math. I just want the general shape of the correct answer; if you want actual precise numbers, make the computer do it.
 
5:23 PM
Because nothing says 'not being pendantic' more than belabouring the point some more.
Not pedantic. Practical. I've explained the issues in real life in both cluster environments (with data on NFS volumes), and discussed with other developers when dealing with file-based storage on commercial webhosts (with PHP instead of Python, though). You seem to think the caveats are well known, but I've seen the same issues crop up time and time again for the last fifteen years. Practical advise trumps answer brevity, in my opinion. — Nominal Animal 1 hour ago
 
@AnttiHaapala I answered. I didn't actually test it because I don't have a Pyramid app, but the second part is the same principal as flask-wtf.
 
What is a better prison for explosively telekinetic criminals? In the middle of an inhospitable desert, or at the bottom of the ocean?
 
@Kevin wrong site
 
Maybe we could keep regular prisons, but blindfold everyone? Is that cruel and unusual?
 
user559633
@Kevin In a room full of mirrors.
 
5:30 PM
I'm on the fence about whether one-way mirrors can block explosions from one direction but not the other
 
user559633
You said direct line of sight. The problem would be prisoners focusing on the mirror surface and exploding their way out, which means the room would have to be small enough to damage the prisoner enough to discourage that kind of behavior
 
and yet, not so small that it encouraged a prisoner to damage himself in order to "escape"
 
game idea Agile Craft - Real Time Strategy focusing on building the internals of a startup going head-to-head with another startup trying to build the same product
now taking ideas
 
are accidents and hazards enabled? cause if so the other team is going to have a run of bad luck ;)
 
yes. There will be the equivalent of a zerg rush. I haven't figured it out yet
 
user559633
5:40 PM
@JGreenwell if you're in jail in a universe in which others can make things explode using their minds, i'm pretty sure you deserve the consequences
 
Let's just ship all the bad guys to Siberia. "There's no walls between you and freedom, only 500 miles of desolate permafrost"
 
well, yes. But if we want to harness that power - them exploding themselves won't help much
 
user559633
You know Siberia isn't uninhabited, right?
 
user559633
@idjaw How many players?
 
@tristan no.
 
user559633
5:41 PM
@AnttiHaapala yes
 
@tristan two teams consisting of up to 10 people for the MVP
is 10 too high? Is 6 better?
 
@idjaw it should be something like that instead of supply depots you'd need lawyers to bind your workers to the shitty startup :d
 
ok, s/500/more than the maximum number of miles a fit adult can travel on foot in subzero temperatures with no supplies/
 
need additional lawyers
has a nice ring to it
 
user559633
@idjaw Agile Craft advanced players would suggest that other companies implement agile best practice [e: rest was an anecdote i don't want to go into]
 
5:43 PM
I am currently playing the WoL campaign in hard
 
there should be a head-hunting feature that allows you to snipe best talent from other company (maybe balanced by slight drop in current employees moral)
 
you know I'm a SC nerd when my first thought is "it should be 'additional lawyers required'"
 
user559633
10 is a big team.
 
@Karin Yeah...I had a feeling I had the quote wrong. But that is what I was going for :)
 
5:43 PM
@Karin before or after my line?
 
user559633
oh god the wiring has been remapped in my head and now that's all i can hear
 
@AnttiHaapala any comments on my answer?
 
not yet time to check :D
 
when idjaw said "need additional lawyers" :P
 
I am pretty sure bounty is yours
:/
 
5:45 PM
Chatting from the sauna or something? :-)
 
well the wiring in your head is pretty loose - it should return to its normal unconnected state soon @tristan
 
@davidism no, eating döner kebab
 
That's a pretty good idea actually. There's a kebab place down the street.
 
user559633
Is this Agile Craft game pay to win? If so, tech startup team of 6 means 4 devs, 1 business generalist, 1 sales person. Contract for art, legal, finance
 
at home tho, the best kebab place in oulu has the least seats :P
(not that "best" means something extraordinary)
I guess they can concentrate on the quality of the ingredients and cooking instead of paying the rent and cleaning tables.
 
5:47 PM
@tristan mobile version will be pay to win to properly fund the "real" game, which is the desktop version.
 
user559633
By the time you need full time council, you're late stage with advanced units on the map
 
I'm jotting down the build tiers now
 
user559633
Does the pre-order come with the self-loathing expansion?
 
at what point does personal chef get introduced
 
user559633
Can't remember if I pre-ordered or if that was a mod I already had installed
 
5:48 PM
self-loathing will be a meter throughout the game that you have to pay attention to
it will be part of the micro-managing strategy
 
user559633
@idjaw I'll let you know. Unless pizza delivery for a meeting is "personal chef"
 
food-budget :
level 1: nothing
level 2: dominos
level 3: Guy Fieri
 
@idjaw there is a unit that needs to replenish its energy at a coffee/ED vending machine
 
I could see the lines "You invested in an IoT infrastructure which increased your response times over big corporate" followed by Increased end-points without matching security compromised - locked out of own servers
 
at later stages you can research IV caffeine injections
 
5:49 PM
...can this actually become a thing. it sounds amazing.
 
only serious ideas are introduced here
 
Yeah, @Kevin's hard at work on the Orbital Tea Cannon.
 
user559633
Real talk, and sorry for oversharing, but I had this moment earlier this week when someone told me that they're jealous that I'm building a startup and that I'm so lucky (with the implication that it's somehow glorious) youtube.com/watch?v=Yg03q100E4g
 
never doubt the power of cool ideas combined with a group of bored developers
I love that video and that song
 
user559633
"Oh, Google added a new button to their location results hello darkness my old friend"
 
5:52 PM
I should also note that, having worked in development and helped a few startups with some "I feel sorry for you consulting" - I mostly pity you
 
user559633
npm install returned exit code > 0 hello darkness my old friend
 
@tristan it's very common people get a 'grass is greener' effect when all they keep hearing are the glorious things about startups, not realizing how much hair pulling stress it is at the beginning.
 
and the middle
 
user559633
@idjaw lol yeah. moving from some contract work to first full time employee is super hard and is my current "ugh i give up"
 
I do wish I had a good idea and enough willpower/know-how/resources/blind faith to commit to doing that.
 
5:53 PM
In my mind, building a startup is glorious in the way that backpacking across rural china is glorious. You're probably going to go to bed most nights covered in mud and with less money than the day before.
... And you might not have an actual bed.
 
And you probably have to eat the mud to survive.
 
@davidism Have you heard of this cool project called Agile Craft?
:D
 
user559633
@davidism The last part is the only thing you need.
 
user559633
Well, for you, you're insanely talented and it's crazy to hear you even doubt that.
 
from darkness import friend
 
5:55 PM
A friend of mine is looking at making a go of a startup and wanted me to join. I'd have effectively been #3 and the tech lead (at the beginning anyway). I was like "lol no."
 
getting in to business with friends is really risky.
 
user559633
Right now, I have a broken build and there's a huge opportunity that would require 3 months and 2 devs, but would require leaving the main focus broken and taking the risk of going deep into debt after convincing 2 people to follow me into battle
 
Well it's a relationship I'm not going to define on a public chat so let's just say "friend"
 
The scary part is when you realize you actually could convince 2 people to follow you
 
user559633
You know the chicken and pig thing? Chicken contributes eggs for breakfast, pig contributes flesh? That's the hard part, finding someone to come be a pig.
 
5:56 PM
@davidism upvoted atleast :D
 
user559633
It's stupid easy to find chickens.
 
@tristan Yeah exactly. This guy has the idea and would be working on the design/idea side of it, but no coding experience.
 
user559633
And then people that are chickens, but expect a salary, yet still think they're pigs.
 
"Chicken contributes eggs for breakfast, pig contributes flesh". I never heard that, and that's a great line.
 
@davidism I will check tomorrow, now I have to put out some fires...
 
5:58 PM
I like turkey sausage
 
I have to go end-of-agile now. Might be back later. rbrb
 
user559633
@Ffisegydd Yeah, unless he has a lot of business connections or if it's a design/idea selling startup, not a good sign.
 
Not gonna go into it over chat, but it's not as crazy an idea as it sounds.
aka Slack
 
@idjaw that's like the preface on every Agile book
@Ffisegydd smart move.
 
user559633
(! standard disclaimer !) In my experience, the worst part of a bootstrapped startup is knowing you're going to miss deadlines, having non-work life events just destroy your ambition, and watching major competitors get insanely close to your idea/execution.
 
5:59 PM
been a tech lead on several companies -- it sucks.
 
being head web developer was bad enough for me - esp. when I consider how little I ended up getting to code the back-end which was what I loved
 
@JGreenwell oh, I got to code everything
but I guess "everything was my fault then"
 
^ that's how I started and I loved that - I only lead when someone needs to lead or something needs fixed and that is the only way to fix it
 
@JGreenwell the tech lead here means: you have 1.374 (that's decimal point) full-time employees to lead. So basically you do everything yourself.
 
DSM
That does not sound appealing.
 
6:05 PM
and the growth in staff is linear and all extra resources go to the marketing dept.
also: you will have 5 bosses yourself.
 
ugh...yeah, no that's a bit much - and reminds me of Dilbert
 
perhaps I should change my avatar
 
or when I worked in the 90s
or in government - definitely government work
 
I don't wear a tie.
 
you should, and starch it so it stands up like that too
 
6:07 PM
no glasses...
no short-sleeved shirts :P
 
if Finland is as cold as Chicago (or colder) I get the last one at least
 
@AndrasDeak we've got a stall here now selling kürtőskalács
@JGreenwell the record low of chigago is more like average low in Finland
 
Dilbert doesn't wear a tie any more. He has a weird lanyard thing.
 
I wore a tie at work once.
 
@Ffisegydd !!!
 
6:11 PM
The entire comic is based on real cubepersons reading it and thinking "heh I relate to this" so it makes sense that Dilbert's dress code should reflect what is typical in reality
 
I was in a meeting with a ridiculously important client and so felt I should. No one else did. Not even the clients.
 
@Ffisegydd fail
the worst failure was that you showed them that you think they're important :P
now they feel powerful!
 
I was actually wearing a jumper too so it was barely visible, so partial save.
 
I like wearing a suit though...
 
user559633
6:15 PM
^Same.
 
suits are great
 
suit up
 
I wear a suit to work
 
I love suits, I don't bother generally because they're too much pain to keep proper
 
exactly.
 
6:15 PM
My BIRTHDAY SUIT! Look out, world!
 
I generally wear a patterned shirt, usually un-tucked and with sleeves rolled up, chinos, and walking shoes.
 
user559633
@RobertGrant Ugh, this one is all wrinkled and ill-fitting
 
user559633
Soccer shorts and tshirt, but that might be because my bedroom is upstairs.
 
I'm wearing a tshirt, shorts, and $15 shoes. I'm still dressed better than half the office because I don't have any stains.
 
@tristan ouch! My pride.
 
user559633
6:19 PM
I was talking about mine. I'm sure your bday suit is fine.
 
I got weird looks here when I went to interviews in dress pants, shoes, and a shirt/vest/tie combo - stupid Florida
now I go in polo stuff....usually tailored to the team/sport/event that I find the interview likes through his FB or Twitter or what have you
 
"Part of the traditional Florida interview process is gator wrasslin, and dress pants generally provide poor range of movement. A bold choice."
 
reverse lookup of interviewer by interviewee - am I the only person who does this?
 
user559633
@JGreenwell yeah, i don't think i ever really cared that much
 
user559633
maybe my parents raised me to have too much self-esteem, but if someone doesn't like me, oh well
 
6:21 PM
we have more pythons here so python wrestling would seem appropriate if somewhat fatal
 
user559633
interview pro tip!!!! find out which one of the power rangers your interviewer most admires and dress up as that one!!!
 
I just like the look and its gotten me laid a lot - still works with the wife - so shrug
 
Interesting, someone not liking me is the kind of thing that I think about five years later while trying to sleep.
 
user559633
@JGreenwell lol.
 
sadly, that is my actual reason for liking it
 
user559633
6:22 PM
charisma is my dump stat, so i'm incapable of giving a shit
 
only thing that worked better was military uniform but then - nothing works better than that
 
I usually deal with this by 1) interacting with others in such a way that they can't form an opinion about me one way or the other; or 2) deciding that nobody's preferences matter except my own.
 
user559633
seriously though, most of the time I choose my outfit on "what will make me the most invisible/less likely to be talked with or have attention drawn to"
 
also, not kidding about the shirt thing - last interview I had I found out the guy liked Dr. Who and wore a Dalek polo and the one before Lego Batman so wore a Lego watch
 
user559633
that's some expert level stuff. also that idea is funny to take to the absurdity
 
user559633
6:26 PM
"yeah, the guy was really into civil war re-enactment, but strangely only for the south"
 
I wore a suit to the last batch of interviews I took (five years ago) but I think it backfired by creating this expectation in my mind that this was an Exceptional Event and that I had to hold myself to a higher standard and anything less than complete effortless silver-tongued rhetorical domination would mar me forever as a nonfunctional human being
4
 
user6568562
@Kevin 3) blank stares are one honking great idea
 
If starlords have an ideal environment, the interview room is not it.
 
user6568562
Smell nice and be comfortable, that should take you well through most interviews
 
well, I am really into data analytics and NLTK so I tend to have way too much of an idea how insecure peoples social networks privacy and security setting are
Did learn that a bad answer to the question "why should we hire you?" is to point out all the analysis you did of the interviewer's data - even if you are accurate
 
6:30 PM
I'm only comfortable when I'm allowed to have a fifteen-minute tangential monologue about Magic: The Gathering.
That's why I stopped going to church.
 
user559633
@JGreenwell i was just kidding around -- i really hope i didn't make you feel like you needed to defend the choices you made
 
My kitten is chewing everything and playing with my fingers as I type
I'm feeling bad for being annoyed :[
 
user559633
and yeah, being really specific in your answers on "why should we hire you" or pointing out how easy it was to accidentally break their stuff probably isn't idea
 
Nah, I'm just working on some stuff and only half paying attention anyway
 
user559633
@vaultah haha pictures please
 
6:34 PM
@AnttiHaapala Your lobbying came to fruition early
 
I have a hard time answering "why do you want to work for us?" because anything other than "because I don't want to become homeless and starve" feels dishonest coming out of my mouth
 
Try it! I hope it's authentic...
 
well, that actually got me a contracting job - but not by that guy (who was fairly peeved) through his boss who thought it was awesome
 
2 days ago, by Andras Deak
Want to live somewhere and eat something; willing to work in return
 
honestly, I was at that point in a bad interview where you just go - "screw it, I'm gonna answer honestly cause I'm not getting this job"
 
user6568562
6:36 PM
Someone should answer that question with "To make the world a better place" with a straight face then tell us how it went
 
Like, I get the idea that coming up with a BS answer signals your willingness to play BS games, which is essential to corporate life. But I just can't sell the performance.
 
^ why I'm focusing on academic jobs - which aren't that much different but make me feel less like my soul is being devoured
 
That's just Fizzy's halo
It will follow you no matter what
It's an even older friend than darkness, like eat-cat-poo-in-the-sandbox-together old
 
hmm...I should add some more smileys to my statements - they seem kinda odd if you don't know how often I make "tongue in cheek comments"
Sarcasm is so hard to convey over text
 
the quality is bad - he's fidgety
 
user559633
6:45 PM
that's a cute cat
 
:)
still pretty young (<2 mo)
 
That is adorable.
 
Kitten fight!!! cc @Morgan
 
Hahaha.
 
There can only be one:P
 
user559633
6:52 PM
Highlander would be a good name for a marijuana dispensary.
 
We need to find a way to turn Tristan into an API
 
user559633
What's the features on MVP?
 
from tristan import snark
 
Yeah /snark group, maybe with /snark/random/
/snark/topic/:topic
 
Can we call it SaaSy?
Snark as a Service.
 
6:55 PM
Trademarked.
 
user559633
SaaSy is amazing.
 
>>> from tristan import niceness
NotImplementedError: please choose from (snark,)
Can't wait to use a keyboard again (on the train home now)
 
Either that or TraaSy.
 
TSA: Tristan Snark API. It'll leave you feeling like the TSA does-- insecure and probably violated.
 
user559633
@AndrasDeak Except I don't return tuples, i return triples.
 
user559633
7:07 PM
or tries
 
Can you return fries? I want fries.
 
I want hot wings
 
I want a keyboard:(
 
oh! I gonna make hot wings for supper - have a killer recipe
 
Man, now I want wings and fries.
 
7:11 PM
good, it is spreading
also beer
 
user559633
@MorganThrapp come on up, let's do it
 
@tristan I'm busy this weekend apartment hunting, but I'm down next weekend.
 
user559633
@MorganThrapp Cool, let me run it by the boss and check to make sure we don't have labor day plans
 
user559633
I thought you were hoping to relocate
 
@tristan Oh yeah, that is next weekend.
I am. I'm just trying to find something month to month until then.
In case it takes me a couple months to find something, which it might.
 
user559633
7:15 PM
Ah, good plan
 
7:38 PM
I was supposed to be reading the book that's on the picture I shared about an hour ago
Now my procrastination is documented 😐
 
user559633
My procrastination is well documented by my message count to the room.
 
well, a big message count implies that a person is communicative, which is good. There's nothing good in having read 3 sentences in an hour :D
 
user559633
Most people are half-duplex. When I'm talking, I'm not coding, and unfortunately, the coding pays the bills.
 
Just become a televangelist.
 
user559633
7:52 PM
voted, and also: "have a dict mapping ... occupying ~5GB memory. The mapping is updated each time in a nested loop. So my concern is mainly about the efficiency and memory release."
 
user559633
.__.
 
"When cleared it becomes None and when empty it is {}(initialized)." wat
 
thanks friends :) it's been up for longer than usual duplicates so I thought to draw attention to it
yeah the answers were...eek.
 
user559633
" But in first one you are simply clearing the current object which is more proper way." wait, what?
 
user559633
[citation needed] etc
 
7:54 PM
I should make a gold hammer queue that just looks for new duplicate close votes for tags I have gold in.
 
user559633
I like the blind faith in the efficiency of the Python garbage collector in those answers, especially with the askers not needing to see the rest of the code/refcount/etc
 
Anyone ever connect to azure with Python? Cause, I can't: stackoverflow.com/q/39129928/344286
 
@davidism cv queue has filters
 
Order is reversed in the queues though, from most to fewest votes, right?
 
@JGreenwell Is your recipe complicated/sharable? I'm about to make some myself, too
 
7:56 PM
@davidism also, ... there's one room with a CV robot.
 
I also don't like the mental overhead of audits, I'm putting in enough just finding the duplicates.
 
user559633
Ugh I really want to go eat cheap hot wings and heavily fried french fries now, thanks room
 
@davidism it is easy :P
the audits in cv queue are usually from wrong cv category
 
user559633
todo: add a step to my build process that grep -Es for "probably*fine|okay|good enough"
 
hmmm tag filter does not seem to work
I could swear it used to work...
 
8:03 PM
Ooo.... Star Wars VII has just been added to nowtv... might watch that...
 
user559633
who is this avatar thief?
 
Bob? :p
 
user559633
ugh rbrb too humid to think
 
rbrb tristan
 
rbrb
 
8:16 PM
No MCVE Cannot import from other package - Hanson Wu‎ - 2016-08-15 05:32:22Z
 
Django apparently does even weirder things to the path nowadays. At least in the past all the apps were inside the project package.
 
at some point it did nothing to paths...
instead relying on some weird cwd logic or so...
 
8:32 PM
@davidism you can subscribe to Queen in the SOCVFinder room, or call her here. She can notify you of dupe-suggestion-comments in your tags:)
She also does close-vote-count filtered question batches...
 
8:57 PM
My meeting included fun shenanigans like me taping a webcam to my hat.
best retro ever.
 
When people said that sprinters should use GoPro, they weren't talking about scrum
 
9:12 PM
I told my intern to generate a CSV file with Flask and found him reading my SO answer a few minutes later. I have outsourced my job to past me.
27
 
Did he know it was your answer?
 
He could recognize the face
 
Or the anger
 
9:28 PM
He knew. I'm not very subtle about browsing SO instead of working. Setting a great example.
 
Would have been good if he'd tried to pass it off as entirely his own work
 
Guys what's the fastest way to search a 250 mb text file in Python ?
Given that the ram is very limited ?
 
with open('my_file.txt', 'r') as f:
    for line in f:
        if search(line):
            return True
return False
 
The file is very big and it's used for fast autocompletion
 
So? This only keeps one line in memory at any time.
 
9:38 PM
Is that fast for a 250 mn file ?
 
Why not try it and find out?
 
Okay
 
^ won't work if the search term contains a newline
 
subprocess > grep? XD
 
Im on my phone
No they won't contain new lines
Never heard of grep, I'll look into it
 
9:41 PM
You need to search a 250 megabyte file for autocompletion?
 
Yes, it contains most IMDb movies
Doing that on the frontend would be impossible
 
gravatar shenanigans again....user2357112's avatar is brown
 
yay
 
It's purple for me.
 
That sounds like you should at least be sorting the data for fast binary search-based lookups, and it's likely you should be using some sort of database.
 
9:44 PM
I'm not the only one
 
I'm seeing purple.
 
I see purple if I click on your name.
 
I'm the exact opposite.
 
haha
 
It's purple in the box on the right imgur.com/a/CSAoe
 
9:47 PM
Weird.
 
Will grep work faster if the file is sorted ?
 
Nope. grep would still need to read the whole file, and for a 250 MB file and a use case like autocompletion, you cannot afford to read the whole file.
 
@DeltaWeb probably better off dumping it into a sqlite3 database with an index...
 
oh...ninja puppy is now officially ninja puppy
when did this happen
 
9:54 PM
Okay, I hope it won't be that big
With the db
 
@DeltaWeb it will be roughly the same size as the original file, but now you can perform SQL queries on it, which are much faster than sequential scans over a file.
"roughly" because obviously there's bookeeping, indexes, etc.
It's still a file though, the data isn't in memory.
 
Okay thanks for the help
 
@idjaw Felt like a change after 4.5 years :)
 
oh sorry, I missed the part about RAM and just thought of speed X_X
 
Huh, for some reason datetime.time doesn't have strptime, time does. Consistency!
I guess you just use datetime.datetime.strptime then drop the date.
 
10:05 PM
Yeah... datetime.strptime(...).time()...
 
10:38 PM
Guys is there a trick to make flask templates change automatically once there html structure has been changed ?
It's unproductive to start the whole program just for a quick change
 
Templates reload automatically.
 
I think templates load from disk every time, so it should be automatic without a restart
 
We haven't merged this yet github.com/pallets/flask/pull/1910
You need to make sure you enable debug mode on your app through config, not just through app.run until then.
Or avoid touching jinja_env (which you shouldn't anyway), and modify jinja_options instead.
 
DSM
11:15 PM
So why would I get an errno 22 on windows when opening a file whose path I got from glob (and so there can't be typos on my part) and I can examine the file using more? #puzzled
 
Wow, that doesn't make any sense. I could almost see a 32 if it were weird permissions issues, which Windows excels at, but 22 doesn't make any sense.
 
Huh. Windows has more. I didn't know that.
 
Has anybody had to automatically extract power laws? Im just thinking of how well defined the math behind the problem is...
 
DSM
My current theory (for want of anything better) is that I'm just a victim of bad luck with some other process racing me. I don't know how windows handles two people trying to access the same file.
@Mikhail: what, you mean you have y = k x^p and you want p?
 
@DSM IIRC - as long as a process doesn't claim an exclusive read lock - multiple processes reading the same file are fine...
 
11:30 PM
Yeah, I can confirm that. And a file lock is 32, not 22.
 
@DSM Yeah that was a little vague. I have y=k x^p where y and x are vectors. I want to get a k(x) when p(x) satisfies my criteria. For example, in part of my graph p=2, so I want those ks...
 
@DSM Is the file local or on a network share?
 
DSM
(Sorry -- Windows crashed, and I had to reboot!)
@MorganThrapp: the file is local to that machine (which is remote).
 
The tag has been fairly bad today :/
 
@davidism @karin Idk if this is possible when using cherrypy as your server .
 
11:44 PM
Shouldn't have anything to do with it. On a side note, why are you using that?
uWSGI and Gunicorn are the common production WSGI servers used with Flask. Not that it should matter.
 
@DSM I'm out of ideas then. :P
 
Flask servers sucks for production
 
Yes, you're telling one of the devs.
 
DSM
shutil.make_archive <- handy. Wish I'd known about it before.
 
It's the truth . Even books and online resource recommends to not use it
As a prod server
I'm more comfortable with cherrypy than gunicorn and wsgi
 
DSM
11:47 PM
@Mikhail: I'm about to hit the road, but I don't see why not. It sounds like a straightforward regression to me.
 
@DSM Well, you gotta first find the p(x), which means you need a certain window size for the regression
 
11:59 PM
@DeltaWeb I know, I'm one of the Flask devs, I don't recommend it either. :-)
 
I'm a big fan of flask, fwiw *-*
 

« first day (2141 days earlier)      last day (2813 days later) »