« first day (1432 days earlier)      last day (3519 days later) » 

2:01 PM
It appears normally to the righteous
It is distended to the damned
 
You mean my pc doesn't have that language pack installed?
 
If it looks like this, the page is rendering correctly:
 
Yep, perfectly ordinary text.
 
yes , so why does it appear so?
 
To dissect the joke, Zalgo is a pastiche of Cthulhu, the horrifying octopus god whose mere presence causes text to melt and readers to go insane.
Parsing HTML with a regex is such a "profane" act, that it apparently summons such elder gods to our plane, signaling our doom.
 
2:06 PM
hahaha
there is an answer below using REgex :D
 
Yeah hilariously the next answer is totally straight laced and boring
 
HTML tags are allowed to be nested to an arbitrary level, which means regexes are not powerful enough to parse them. As a simpler example, it's impossible to write a regex that matches all strings of the class "any number of left parens, followed by the same number of right parens"
In practice, however, HTML documents aren't going to be nested more than, say, 10,000 times. So you could write a "good enough" regex to parse most pages that you'd expect a human to compose.
 
Mankind is doomed!!!
 
This is why some of the answers provide regexes that apparently work.
 
any of you guys play clash of clans??
 
2:16 PM
Not me.
I suggest "off topic -> requires minimal example"
 
Not Python I know, but ... ah, who am I kidding. I just think it's funny.
 
lol
he is 15 and will turn 16
He was in for a surprise with your comment @ZeroPiraeus
 
Aren't there parts of the world where you are considered 1 when you are born, or something like that?
 
He doomed himself.. That is the 2nd worse thing that can happen after the html-regex episode..
 
It's a cultural thing.
 
2:25 PM
I know some countries count your age by the new year.
So everyone ticks over on the same day.
 
so they use the natural numbers convention?
 
That way, a person who was born in mid December could turn one even though they've only been alive for a few weeks.
(or mid May or whenever the new year is for this culture)
 
A birthday is a day that comes once a year when a person celebrates the anniversary of his or her birth. Birthdays are celebrated in numerous cultures, often with a gift, party, or rite of passage. Many religions celebrate the birth of their founders with special holidays (e.g. Buddha's Birthday, Christmas). Note the distinction between birthday and birthdate: The former occurs each year (e.g. June 12), while the latter is the exact date a person was born (e.g., June 12, 2001). == Legal conventions == In most legal systems, one becomes designated as an adult on a particular birthday (often between...
That image is terrifying.
 
In North Korea, people do not celebrate birthdays on July 8 and December 17 because these were the dates of the deaths of Kim Il-sung and Kim Jong-il, respectively. More than 100,000 North Koreans celebrate displaced birthdays on July 9 or December 18 to avoid these dates. A person born on July 8 before 1994 may change their birthday, with official recognition.
 
> The Chinese count age without zero; a newborn's age is one, a 12-month-old is two, and so on.
> with horses, their age [becomes] one, on the first day of the year following their birth and being counted annually after that.
I guess my previous statement was about horse culture???
 
2:33 PM
@davidism The name appears to be Turkish - can't find anything on Turkish age/birthday conventions.
 
@Swordy pretty crazy
 
Math problem: assuming North Korea has a new leader every forty years, calculate the expected amount of time before no North Korean is allowed to celebrate their birthday, because all of the dates have been taken.
(assuming two leaders are allowed to have the same deathday. Otherwise the answer is just "366 * 40 years")
 
@Kevin utterly bizarre
 
lol ,being born would be illegal in Korea.
 
DSM
2:42 PM
Late-morning cabbage for all!
 
@DSM cbg , according to IST , it is quite late for a "late morning cabbage" here.
 
DSM
@Swordy: people here are from too many timezones, so I tend to use local time. Plus I'm an eat-breakfast-for-dinner kind of guy, so there's that.
 
;)
rhubarb all
 
@Kevin Turns out to be about a hundred thousand years (why no, I don't have much to do at the moment).
 
some french guys already done that
www.youtube.com/watch?v=yN38y5MILbs
 
2:57 PM
I have started learning Python and was wondering why they changed print to a function in Python 3. Not saying it was wrong, just looking for the reason. Thanks.
 
DSM
@Zero: that seems a little high. I'd have guessed something more like 1000 (birthday-paradox 23 * 40).
(Toss in a few more factors to bring it up from 50% to more like 99%, of course.)
 
I got 91898 years, myself.
Based on the reasoning that, once M deathdays have been taken, we expect to have (365 / (365-M)) glorious leaders pass away before another new deathday is established.
 
DSM
Hmm. Maybe my intuition is failing because I'm thinking in terms of the time to have one collision, and not the time for there to be no non-collisions.
 
so it's 40 * sum((35.0 / (365-M)) for M in range(0,356))
Plus or minus a thousand years to account for leap day weirdness
 
DSM
@Phorden: you can read the motivations in PEP 3105.
 
3:02 PM
This calls for a good old fashioned simulation, I think
 
TL;DR: it looks like Ruby, which we hate
 
@Phorden Because then you can use extra arguments like sep and end.
 
from collections import Counter
from random import randint
from itertools import count
def kbc(trials):
    """Return the number of generations until the Korean Birthday Cataclysm."""
    sample = Counter()
    for trial in range(trials):
        used = set()
        for n in count():
            used.add(randint(1,365))
            if len(used) == 365:
                break
        sample[n] += 1
    return sum(k * v for k, v in sample.items()) / trials
 
Also it confuses people trying to transition which gives us a good laugh.
 
@DSM @Ffisegydd Thanks.
 
3:06 PM
hi
 
We're of course assuming that the day on which people die is uniform across the year, this is probably not true. I'd imagine more people die in Winter/Summer than Spring/Autumn for example.
 
3.5 is getting a special-cased explanation in the SyntaxError. The proliferation of Stack Overflow duplicates was even mentioned in the rationale. :)
 
DSM
SO gets results. Eventually.
 
@ZeroPiraeus my simulation agrees with yours. Approximately 2.5k leaders, or 100k years.
 
(to be fair the repeated questions on python-list were probably a larger factor)
 
3:11 PM
@Ffisegydd they're calculating assuming death days can be shared, I think
@Ffisegydd sorry, I didn't read what you said properly. Ignore that :)
 
@RobertGrant yes but it'd still affect the calculation.
Ah nvm :P
 
Oh, like they wouldn't just coverup a leader's death for a few days to make them not overlap...
 
We should probably account for the fact that a dying Dear Leader would probably "aim" for a non-taken day, so he can get his own holiday.
 
Also, what if each leader instituted legislation to say that when they die, their death day becomes the first day of a new calendar
 
This is assuming that elderly people can will themselves to death, which seems to have a lot of anecdotal evidence in its favor
 
DSM
3:15 PM
Given that they've moved the location of Yuri's birth to Korea in the first place, I think some schedule rearrangements won't be a stretch.
 
I need opinons.
Is it worth my time to learn Python 3 right away if I want to learn Python game development. I am not sure if PyGame is compatable with Python 3 yet?
 
@Phorden oranges ARE the only fruit
oh
 
@RobertGrant I am more of a tangerine person myself.
 
If you fudge the death date by a day in either direction in order to get your own holiday, saturation occurs in a mere 45K years.
 
@Kevin Regarding the glorious leaders death/birthday thing, I am pretty sure the answer is 40 * 365/365 + 365/364 + 365/363, &ct. Basically just calculate the expected time for each leader to fill the next gap.
 
3:18 PM
@Phorden this isn't an opinion, but the website says it does work: pygame.org/wiki/…?
 
@QuestionC Yeah, I believe you're right.
 
@RobertGrant hm, this must be more recent. I know a few months ago, there was still a lot of incompatibilities. They must have updated the library. Thanks.
 
DSM
Even if it weren't, someone who knows Python 3 can adapt to 2. Someone who knows 2 will probably have picked up a lot of bad string-related habits to be unlearned.
 
Python3 is the bomb
Python2 is basically a bucket of ice water poured over the bomb
 
3:21 PM
94585.84 years
 
@QuestionC until Python3 reached a third standard deviation in terms of adoption range?
 
Until North Korea runs out of birthdays.
 
DSM
If we're neglecting leap years and the birthdate biases, I'm not sure seven digits of precision are justified. :-)
 
I just type what the machine tells me to.
 
We do have the best conversations.
 
3:25 PM
Me out.
 
Typical American propaganda, trying to convince us that The Democratic People's Republic isn't precise! We can calculate it to seven hundred levels of precision!
 
DSM
Even if those conversations don't involve as many verbs as you'd expect.
 
@QuestionC He just types what I tell him to? :)
@DSM hot damn!
 
3:37 PM
@Phorden use python 3 and use Pyglet.
 
@davidism in place of PyGame?
 
yes
 
K I will give it a try. Thanks.
 
3:57 PM
Yesterday I wrote some code that used reduce, whose sequence was a list of functions. I think I may be reinventing the functional programming wheel here.
 
DSM
If your website is meant to provide people with data, and yet important data you show visually on the site can only be extracted by parsing javascript code, something has gone horribly wrong.
 
yep
 
@DSM a bizillion times yes.
 
@Wooble Where did you hear that? I never know where to look for news regarding upcoming changes to the language. the python-dev mailing list and PEP listings don't seem to talk about it.
 
@Kevin Someone proposed it on python-ideas the other day and a core dev replied that it was already done. :)
 
4:03 PM
10
Q: What does "SyntaxError: Missing parentheses in call to 'print'" mean in Python?

ncoghlanWhen I try to use a print statement in Python, it gives me this error: >>> print "Hello world!" File "<stdin>", line 1 print "Hello world!" ^ SyntaxError: Missing parentheses in call to 'print' What does that mean?

 
Don't know if it will be backported to 3.4, although it would seem reasonable.
 
Let's dig through python-ideas... Was it this thread?
 
3.4.2
 
ah, indeed it is being backported.
or added there to begin with; I only ever build the 3.5 tip.
@Kevin yeah, that's where I first saw it. Followed by nick posting a link to his SO post from last month :)
 
I worry for the programmer who can't figure out the problem from this custom error message and needs to search it on stack overflow .. — wim Aug 22 at 12:48
One million upvotes for this man
 
4:05 PM
"what's this 'parenthesis' the error message tells me to use? HALP!:
 
user559633
asked by a 10k user....
 
DSM
@tristan: for self-answering purposes.
 
@tristan asked by one of the Python core-devs :P
 
user559633
Who is ostensibly self answering for rep
 
user559633
...beaten
 
4:06 PM
I don't think he cares about rep. Although probably should be community wiki.
 
user559633
if he doesn't care about rep, how will he afford goods and services
 
Pretty sure Red Hat pays him well. :)
 
barter system. Want some beads and shells?
 
People in this room have done the same before and not made it CW, after all they've put time and effort into it so why shouldn't they get some recompense with IIP (Imaginary Internet Points)
 
DSM
I don't know the word for "parenthesis" in any non-English language, so I could believe someone could fail to understand the message.
 
user559633
4:08 PM
Hah, that's where you're wrong @Ffisegydd. I only answer questions that require painful amount of elaboration for askers that don't appreciate or care.
 
The real problem is that all the tutorials used print rather than logger.info()
 
user559633
Like this: stackoverflow.com/questions/25895404/subprocess-call-for-cmd wherein i almost answered, yet the asker will accept the shell=True pseudo-bad answer
 
If only they had taught proper logging, there would be way fewer print questions
 
DSM
System.out.println("hello") seems perfectly clear.
 
@tristan it's sad because there's a standard library for working with pipes: docs.python.org/2/library/pipes.html
@DSM sys.stdout.write()
 
user559633
4:14 PM
Yep. And the user is using shlex instead of just being all Ruby-dev about it.
 
user559633
ruby == yoloscript
 
Hey folks! Long tim no see!
 
yo
 
@tristan Hey! Its been ages, how have you been?
@Kevin Hola! :D
 
user559633
Hey @GamesBrainiac! how's the book?
 
4:22 PM
@tristan Progressing slowly. I've started teaching a course on python, so that takes up quite a bit of time.
@tristan What about you? Its been ages!
 
user559633
I'm doing well. Writing more C++, JS than anything now.
 
user559633
hackerschool is about to be over for me, then back to the consulting life for a bit
 
@tristan How's hackerschool treatin ya? Was it challenging? Last I remember you were doing something with distributed networks, right?
 
user559633
@GamesBrainiac yeah, peer to peer filesystem. "finished" that in python, but really, python is a poor language for a filesystem.
 
@tristan Ahh, so what are you doing at hschool now? And I can imagine a couple of reasons, but whats your main gripe?
 
user559633
4:25 PM
Which is to say, it would be decent for glue/prototyping user plugins, but it's just too expensive to use for everything
 
@tristan Heh, I hear that a lot. I used to think cython/c was the answer, but unfortunately it isn't.
 
user559633
Really just latency in walking up and down the stack, lack of primitives.
 
Ahh, have you tried pypy? Any speedups?
They finally have working STM thats faster than cpython.
 
user559633
Yeah, that's what I went into -- writing the intensive parts in C. It gets you pretty far, but I C++ is pretty decent too, so why not go c & c++.
 
C++ is getting better too. Was just reading this -> drdobbs.com/cpp/the-c14-standard/240169034
@tristan But yea, did you just try pypy, to see if there were any speed gains?
 
user559633
4:29 PM
Not super interested in pypy. I know I would just end up dumping time into it and it's not really a stimulating thing to solve.
 
hahaha. I see what you mean. What I was getting at is, did you just try to run it once with pypy, and see if there were any gains or any pitfalls.
 
user559633
nope! don't even care really. (this sounds super abrasive, but i'd rather go down the route of C than "what about alternative compilers")
 
Ahh, Well, you solved the problem, thats what matters, pypy or cython/c/cpp is just a means.
 
user559633
Yeah, exactly how I feel. If it doesn't run with the most standard setup, I can't very well put it out into the world and advise people to jump through hoops to do something I wanted to be turnkey
 
Exactly, the python packaging can get a little complicated though. Make sure you use wheels, since they support binary distros.
btw, I'd like to know how you made this in greater depth, it seems like a really interesting project.
Definitely would like to see how you structured the whole thing, since systems like these fascinate me.
 
user559633
4:35 PM
sure, i'm going to do a writeup after it's ready for the world. the code i have on github for it is super old and is even before i switched parallelization strategies.
 
definitely reading it :D
 
Sigh, an OP posted some code with all sorts of crufty database access and unspecified command line arguments. I spend 20 minutes trimming it out so I can replicate the error, and in the meantime he discovers the problem on his own.
Seems kind of backwards to force each prospective answerer to spend 20 minutes of their own time creating a SSCCE, when the OP could do it once and benefit everyone.
Actually, he didn't discover the actual source of the problem. Aaand he deleted the post five seconds before I could tell him the real cause.
 
user559633
4:50 PM
No one forced you :)
 
I'm not entirely certain that free will exists, so theoretically everything I do is "forced"
 
user559633
who are you, my girlfriend?
 
user559633
i mean seriously, poor girl
 
I
3
I'm not certain that personal identity really exists, so I reject the concept of "I" and "you"
 
This and that, everything's an it.
 
4:56 PM
I'm not certain "this" and "that" exist outside of the mind of the person making those distinctions.
to save time, just assume that I reject the central premise of any declarative statement that anyone makes from now on.
 
@Kevin And yet you use the first person pronoun twice to refer to yourself in that sentence ...
 
user559633
"Burger King customer buys restaurant's 23 remaining apple pies to teach screaming child, indifferent mom a lesson"
 
DSM
This is like the SEC in the polls. Kevin gets a star for the letter "I"? (To be fair, one of my favourite jokes over the last few years had the punchline of "The circle". Was funny in context.)
 
@ZeroPiraeus As I have no free will, there's nothing else I could have done.
 
@PeterVaro That's a beautiful visualisation.
 
4:59 PM
@DSM Yeah, I don't know what the deal is there. I usually only get stars when I sprinkle my special Star Sauce on a message before submitting.
That "I" was just a slip of the finger. No time for sauce application.
 
user559633
I starred it because I read it as if you just didn't know what to say in response to me. No words. Again, like..
 
That is a reasonable interpretation.
Let us invoke the "death of the author" principle of literary criticism. It doesn't matter what meaning I meant to impart, only what is perceived by the reader.
 
I starred it so everyone else on the star list feels bad and resents you "I put so much effort into my witticisms and that green-and-white bar steward gets 2 stars FOR A VOWEL!"
 
@Ffisegydd ikr? I love it very much
 
I'd love to do stuff like that for sopython eventually.
 
5:09 PM
I wouldn't like to do it, but I would like to have done it already.
 
user559633
@Kevin oh -- the star wars suggestion. it doesn't matter that lucas didn't make the originals the way he wanted and that's exactly why they weren't completely terrible.
 
The work would be a drag but the satisfaction of putting "data visualization master" on my resume would be lovely
@tristan Pretty much.
 
I imagine something like that with all the top N tags in Python. With columns such as "Number of questions", "Number of answers", "Number of active users", etc
Whilst it's not "useful", that's the kind of amazing stuff we should be doing with the Nidaba data.
 
@Kevin +1
 
A less generous restatement of that sentiment would be "I want the reward, but I don't want to work for it"
 
5:18 PM
Man, the top comment on this HN post is about Flask not being good for Python 3. :( I corrected the commenter. (The specific comment)
 
@Kevin another +1
:D
 
It's a common feeling for me, due to my laziness handicap.
 
@davidism I would upvote you but HN is outside of the limit of our illicit voting cartel and as such would require re-negotiation (and would also require me getting a HN account)
 
@Ffisegydd Don't worry. When I upvoted, I clicked twice as hard as normal. For both of us.
 
Yeah, SO is the only site I have decent points on.
 
5:21 PM
Same. SO: 15K. HN: 79. Reddit: 0
I'm not counting the pity point they start you off with.
 
HN: 30, Reddit: 500/500
I haven't contributed to reddit or hn in about a year.
 
Sometimes I think about mass-submitting the 80 comics in my RSS feed to the comics subreddit every day.
Maybe shake up the Jim Benton / SMBC / xkcd monopoly going on in there
Have they no taste? Don't they like Octopus Pie?
No Gunnerkrigg Court? No Scary Go Round?
 
user559633
Remember when hackernews was pretty decent?
 
@Kevin SGR fan! You, sir, are a man of taste and distinction.
 
mm hmm. I find the art pleasing and the dialogue utterly unique.
 
5:28 PM
My comic tastes are standard, every morning I check PA, QC, xkcd, SMBC, SATW in that exact order (even if its not a day where the comic is updated)
 
I've wanted a "Wales is OK!" T-shirt ever since I first saw it ... Why oh why doesn't he make one?
 
user559633
cafepress?
 
@Ffisegydd I used to check every site every day, but my list has gotten too big.
 
I used to read LICD and CAD but have abandoned them as they went poop.
 
@tristan Have always assumed their product quality would be poor ...
 
5:31 PM
I just subscribe to a bunch of RSS feeds. It works pretty well, except when Mr Questionable Content decides to change feed providers and not tell me. Then I think, "why hasn't QC updated in two months...?"
 
user559633
it's...okay.
 
user559633
i've bought stuff before from customink.com
 
Well, that might actually be the perfect quality for the aforementioned shirt then :-)
 
"Wales is OK" is OK. Nice symmetry there.
 
hey .. what's up ?
 
5:35 PM
Not much. Web comics, nihilism. The usual.
 
I think you mean "Cabbage, potato?".
 
Quick git question: if I make a branch and someone updates master I can still merge my branch to take into account their changes, yes? I just need to sort out any conflicts.
 
user559633
yes, fetch. fetch their changes from master into your branch, then deal with any conflicts, and you're golden
 
Cabbage
 
user559633
cbg
 
user559633
5:42 PM
Fetching from master/upstream is also how you keep a gh fork up to date.
 
@tristan not merge?
 
user559633
no, fetch just grabs the changes from upstream. merge is when you take those changes/"union" your files together. a "pull" is just a fetch/merge
 
so if I'm on a branch off of master, I can use git pull origin master and deal with any conflicts to get the lastest changes from master?
This should be obvious, but I'm way more used to mercurial.
 
user559633
that will automatically attempt to merge the changes from "origin" source into the master branch
 
user559633
5:50 PM
that's probably the most common desired outcome, but not the only.
 
@davidism which js plotting library did you recommend? highcharts?
 
user559633
d3 is good and flexible. highcharts has some licensing overhead.
 
Highcharts is free for non-commercial use.
 
It is, it's amazing. It's more of a visualisation library though when all I really want is plotting. And this would be for sopython-site so we'd come under non-profit
 
Highcharts will be fine for sopython, and I think it is the best charting option available.
 
6:00 PM
If, in the fullness of time, we need something more we can add d3.js. But yeah I agree for most of our applications Highcharts will probably do.
 
user559633
i did like 5 hours of javascript/webdev this morning and now i'm having a hard time focusig on real programming :(
 
Heh I've had an ipython notebook server going for a month
 
user559633
 
I've been listening to your playlist as well as suggestions by @davidism for the past week or two. I give you both the Official FizzyGOOD Stamp Of Approval. If either of you come up with anymore suggestions let me know.
 
user559633
Sure, I've sort of stopped using Spotify since checking out SoundCloud more.
 
user559633
6:09 PM
I'll completely switch once I finish writing the desktop application for it.
 
Yeah I've listened to SoundCloud a bit, it is good.
 
user559633
For long playlists/new content, I've yet to find anything better. I don't really find much importance in the "social" aspect of it, but it's kind of neat to look at the "likes" of users that listen to the same music as yourself.
 
Yeah exactly.
I followed links in suggestions and found some good stuff.
 
user559633
Spotify is more of a "if you know what you're looking for and don't want to make a youtube playlist...and also give us money"
 
Yeah exactly.
Which is fine some of the time, but lately I've been enjoying exploring some new stuff.
 
user559633
6:15 PM
Same! Also, it's a semi-regular occurrence that a song I want won't be on Spotify, so it's annoying to have limited selection and not a great system for suggesting fresh content.
 
user559633
A friend and I compared our radio history and found a near perfect overlap, even though we had different seed artists.
 
I used to find Last.fm was great for finding new content
Then they started streaming directly from Youtube. Yuck
 
Same content? That's crap. I've read a bit about the ML they do.
 
user559633
They have some really bright people working there, but I think that it might need some fresh perspective.
 
user559633
e.g. soundcloud.com/logorythme/… i think this song is great, but it would never come up in my radio
 
DSM
6:31 PM
I just got to use SequenceMatcher on a real problem. I'm so startled that I'm going to go to lunch to recover.
 
user559633
Oh wow, that's a handy lib
 
I'm so frustrated that I can't find a web dev to join me in co-founding a startup. I believe in my idea, but everyone just thinks I'm spamming them... :)
 
I guess they just don't have The Right Stuff.
 
@Kevin What's that?
 
This reminds me that I need to re-write the rules.
 
6:40 PM
@Ffisegydd Don't worry, I'm not asking here
 
Not everyone can boldly go forth and form their own company.
 
I tried that a few weeks ago, remember
 
No I know :) but it just reminded me
 
@Kevin If wishes were horses, I'd have a lot of glue, and I could sell all that glue and use the money to start my business. ;)
 
@Soviero it's not that no one anywhere wants to work with you, it's that chat rooms and online communication in general is not the right venue for finding a business partner.
 
6:43 PM
Yeah that's a pretty fair way of putting it.
Maybe look for some programming meetups in your area?
 
user559633
@Soviero what's the startup?
 
@davidism No, no, I go to a lot of Python and Linux meetups near me, but like I said, no one's interested in working for free in the hopes that we'll strike it rich "eventually." I can't say I blame them, but I would still like to try.
 
user559633
Do you have a pitch/description on a google doc or something?
 
@tristan Long story, but don't worry about it, it's not important.
 
user559633
Haha, okay.
 
6:44 PM
Yeah, that is the wrong way to start a business. "Join me in this thing that will cost us but might make money, maybe, someday..." sounds incredibly shady, or at least makes you sound like you don't have the experience to run a business.
 
@davidism lol, that's not what I say. I am very professional when I'm actively talking to someone about it, I'm just not that professional here, because I'm not looking for anyone here to join up.
 
Starting a business requires investment and investment requires trust either through a proven track record or personal connections, not something you'll get from random people at meetings or online.
 
@davidism Totally true.
 
Of course you don't say that outright, but it comes off that way.
 
user559633
I'm just curious about the idea. I'm about to build out another one of mine in Nov->Jan
 
6:50 PM
@DSM do you know a way of stopping IPython notebooks from printing the repr of the last thing you did? (If you use the notebooks?)
For example if I do plt.yticks(range(2), ['Died', 'Survived']) I'll get ([<matplotlib.axis.YTick at 0x10db12358>, <matplotlib.axis.YTick at 0x10daba630>], <a list of 2 Text yticklabel objects>) just above my graph
 
I think you end with a semicolon (not joking)
 
@tristan That's my personal ownCloud instance, so you're going to have to go around the SSL cert being selfsigned
 
@davidism that is for ipython console I think, not the notebooks.
 
user559633
@Soviero I've done this work before. The difficulty and expenses comes from domain specific knowledge about the customer or their workflow.
 
user559633
As well as customers being willing to give you root access/configuring their sudoers correctly for this sort of remote mgmt
 
user559633
7:01 PM
Just saw that you invited me to a different room.
 
@tristan Where?
 
user559633
What do you mean where? Where have I done this work? Where do I see the invite to a different room?
 
user559633
Where have I done this work: several companies, both as a full time developer and as a contract sysadmin, where do i see the invite: chat.stackoverflow.com/rooms/61436/room-for-soviero-and-tristan
 
@tristan For themselves, or as a service?
 
user559633
I configured the most recent one to run in response to a nagios script. Alert fires off -> hits "ops bot" first -> if still no fix or timeout occurred -> pages oncall
 
user559633
7:14 PM
To be safe: this is not to discourage you. Plenty of businesses have been launched based on "it's hard to do right."
 
@tristan Don't worry, nothing can dissuade me other than outright failure.
 
user559633
That's a good spirit to have. Have any interested customers?
 
@NALCOConsultingITRecruiter what a straightforward name
 
@tristan Nope
 
user559633
@NALCOConsultingITRecruiter you've made it adorably deep into stackoverflow.
 
7:24 PM
I think this is usually the part where we explain to the newcomer that they can't send messages in chat until they accumulate more reputation.
Welcome, @NALCOConsultingITRecruiter. You can't send messages in chat until you accumulate more reputation.
 
user559633
Haha awesome.
 
They're really a recruiter, according to the profile, so maybe just doing market research?
Either way, cabbage!
 
Let's see... Specifically, you need 20 reputation.
 
user559633
schrodinger's spammer
 
you guys are beautiful.
 
user559633
7:30 PM
what did we do now
 
You don't have to do anything to be beautiful -3-
 
answered my many inane python questions, but of course
speaking of whiiiiich I am getting a little error in trying to create a database model from a web form
 
user559633
subtle
 
pivot_tables are fun.
 
I love you, gimme a dollar.
 
7:35 PM
True love for less than a dollar?
 
You can't put a price on love. Therefore, love is worthless.
3
 
is flask-restless good for a really basic JSON-centric app?
 
I would answer that question if I could, but I can't, so I won't.
 
@corvid Bottle forever!
 
7:39 PM
meh, I prefer flasks, they're great for rum
 
user559633
@corvid yeah, it's fine. i used it until dropping restless and just rolling my own because i didn't want everything exposed
 
what do you mean by everything exposed?
 
user559633
i realized that most of my models didn't need endpoints
 
ooh I see. Then our use cases would be different
 
user559633
yep!
 
7:47 PM
I'm trying to basically make a web app where someone could upload a spreadsheet, it would parse the spreadsheet, then send out emails once it was done for each person in the spreadsheet
 
@corvid That sounds really, really easy...
what's blocking you?
 
the way the person did the spreadsheets is a very annoying format, mostly. Then I'm kind of curious how most sites would implement a "bulk add" of users. Just a CSV upload again?
 
user559633
"bulk add?"
 
I have a feeling you can do this in four lines with the datetime module.
 
(waits for Antti to talk about why datetime is bad)
 
7:55 PM
Sure beats the alternative, which is trying to calculate whether it's a leap year using modulus
 
user559633
datetime owns
 
don't forget, dates divisible by 4 and 100 aren't leap years, unless they're also divisible by 1000, in which case they are, except on Tuesday...
 
@Kevin Humans are stupid...
 
dealing with dates sounds inevitably very difficult. I'd rather the fine folks making python did it :|
 
user559633
i just keep time by the rhythm in my heart
 
7:57 PM
@tristan What if you're nervous?
 
I don't keep track of time. There is only the eternal Now.
 
user559633
from now import yolo
 
@Kevin I want to say that at my next job interview...
 
"When can you start?" "I reject the fundamental premise of time." "Sooo... Monday?"
 
7:59 PM
People, is PyGame worth it for making an Android game?
I know only 3.3, which is another problem
 

« first day (1432 days earlier)      last day (3519 days later) »