« first day (1815 days earlier)      last day (3124 days later) » 

12:00 AM
Le sigh?
 
Professional developers do not necessarily smell. Although I'll grant it's a mixed bag...
 
Well, it's not mandatory.
 
A daily shower with an application of antiperspirant is a good idea.
 
having a wife who insists on hygiene is helpful
 
Maybe I don't like coming home in the middle of the afternoon and having to say "Hi, Gene!"
 
12:10 AM
The pun was lost in the text.
 
It happens.
 
which also points the problem with grade inflation (or not being willing to give bad grades)
You used to start out in college with a course in data structures, with linked lists and hash tables and whatnot, with extensive use of pointers. Those courses were often used as weedout courses ... I've seen all kinds of figures for drop-out rates in CS and they're usually between 40% and 70%. The universities tend to see this as a waste; I think it's just a necessary culling of the people who aren't going to be happy or successful in programming careers.
 
12:34 AM
Grade inflation - if you're Harvard, do you rank your students relative to each other or relative to the average college student? Perhaps relative to each other provides more signal vs noise?
 
I would assume relative to each other as this should produce the best graduates and thereby help the school's reputation the most
 
12:51 AM
I guess this also means professors are pressured to keep up to a certain standard to keep up with the schools reputation of "success"?
 
There's a reason that "grade inflation" is a well-known term.
 
this reminds me of one course I had where it took a few months for grades to come out because the whole class did so poorly. I walked out of that exam only doing 1 out of 7 questions...I ended up with a B in the course.
 
1:10 AM
Lots of grade inflation outside of the Ivies too.
 
Yup...I wasn't in an Ivy school. :) Definitely inflation there.
 
agreed, sad to say I've seen it a few places in my school - particularly with new professors
 
Then on the flip side you have the tenured profs who don't really care and in a class of approx. 100, gave out about 80 As :)
 
I've seen more of the opposite with some of our tenured profs. In fact, the second programming class has a massive drop rate due to the fact that the professor (who is one of the most experienced ones at the school) does not inflate grades and expects people to actually understand programming.
Note: those who stick with the class (myself included) will point to how great a class it actual is and how much we learned
 
Oh yes...my tenure example is in the rare category. I remember for one of my database courses the teacher said "My initials are B C D....those are pretty much the grades you will be seeing in this course"
I laugh now...I didn't laugh then
I'm glad I experienced that though...it was quite the line he pulled on us
 
1:46 AM
I actually cared big-time, even though I was teaching at [carefully chooses words] unremarkable schools. I carefully kept a comprehensive spreadsheet, translated letters to numbers for weighted averaging, and was surprised at who got a B when I would have pegged them for a C. One dean didn't seem to care for my rigor, and cut me back from 3 to 2 classes.
 
With all the free resources out there....does an individual who is motivated and genuinely interested in software development need to bother doing a degree anymore?
So many companies now really don't care about academic degrees. They just want to make sure you know your stuff and are passionate about what you do
 
The companies may not care, but often the gatekeepers in HR do.
 
ceteris paribus - all things equal - I'd rather have a CS grad than a liberal arts grad.
I'll give my reasoning if you like.
 
The question isn't what kind of grad; the question is "grad or not?"
 
yes, exactly. "grad or not"
 
1:54 AM
Ah yes, I'll happily contradict that as well.
 
Given a graduate, sure -- choose the CS one.
I think the main reasoning for requiring a degree is that if everybody can get one, how hard can it be? So you're a loser if you don't have one...
But I'd certainly love to see your thoughts on the matter :-)
 
@PatrickMaupin for sure HR can be a big pain in the ass on the degree front
@AaronHall That's particularly brutal, why wasn't that liked?
 
What does a college degree signal? It signals ability to plan, learn, and complete a series of requirements. It signals a degree of intelligence as well. It doesn't mean that someone without a degree doesn't have those abilities. But signalling can be a huge factor in demand for an individual in the job market. I'd much rather have it than not. Without it, you have to demonstrate those abilities in some other way.
I don't have a CS degree, so I feel I need to signal that I have the abilities someone who graduates with that degree has. That's one of the reasons I contribute on SO.
 
Before I got my degree (in the last semester which only included one technical class so no real increase in knowledge): replies from applying to business = 0.
After degree: 4 replies in last two months
 
After you get experience, you don't need a degree. It's harder to get your foot in the door of the industry without the experience I mean degree.
 
2:04 AM
@AaronHall I think you said the same thing I did :-)
 
@AaronHall well said.
 
Another reason I contribute on SO is that I've always wanted to upvote people who helped me, and I've always wanted to be able to help other people like that. I try to have a lot of reasons for everything I do.
 
Granted, I also got paid to earn my degree so it would have been dumb not too
 
But passion in a programmer can be a very useful attribute. It used to be, in general, that someone who got a non-technical degree was probably not passionate about programming. Now, even those with technical degrees may not be -- because of the perceived available money.
 
I felt like i never got the most out of my degree, but you are right in that the ability to "plan, learn, and complete a series of requirements" is something that is pretty well taught in school. It's just that I found the content to be sooo lacking
however I did do a computer hardware engineering degree....a lot of the courses really lacked any level of interest.
 
2:09 AM
A lot of people are doctors for the money. Compensation is an important form of signalling too. It says we don't have enough of these people, please go to school and try to become one, if you don't mind.
 
But in my book, a non-CS-degreed or a non-degreed person who exhibits competence in an interview is probably an autodidact, and that's crucual for being a good programmer. Maybe even more so than good long-term planning.
 
That assumes you have a good interviewer.
 
(And that the candidate makes it past HR to the interview.)
 
@PatrickMaupin I'd agree with that as people with CS degree should continue to be self-taught - which is my biggest reason for joining SO (it forces me to compete with people who are better than myself and thereby improve)
I will also admit that it took me longer than I want to admit to remember what "autodidact" meant
 
That's why I decided to start contributing to SO as well...I love helping people and I want to improve by learning from those more experienced.
 
2:13 AM
@PatrickMaupin I have found something similar. it's just that getting these people to the interview stage in the first place is hard. Do you have any ideas on how to find this type of candidate?
 
It's really hard to find that ideal candidate....I've been to so many career fairs at universities and I almost feel like there needs to be a course on how to advertise yourself to companies.....
 
I thought I had found one at a Python Meetup. I spent a few hours with him, mentoring him to try to get him through our interview process. Unfortunately, he was a total flake.
 
Ha!
Flakes can get through college, but it's harder for them to.
 
Yeah, but I've had my share of those, too.
 
2:16 AM
Where did he flake out?
 
And as you say, you need a good interviewer. I can honestly say that I was not on the interview list for any of the employees who cause me issues.
 
Thanks @JGreenwell I was more talking about being on the employer side and having to filter through applicants
 
reverse engineer it :) ;)
 
Where he flaked out is that I pointed him to a couple of code repositories, and explained some stuff it would be nice to have (really simple stuff) and he couldn't do any of that in the few weeks we were in contact.
 
Any indication as to why?
 
2:17 AM
He probably didn't see the payoff.
 
@JGreenwell +1 haha.
 
@shuttle87 I'm not completely sure.
 
or he had memorized test answers (multiple choice & true/false) to pass school without gaining much knowledge
 
I happen to be very interested in the answer to that type of question in a more general sense
 
@AaronHall I thought the "better than Papa John's by almost a factor of two" intern salary seemed interesting to him.
At the end of the day, I think he was one of those people with some internal governing mechanism that keeps them from being successful.
@JGreenwell No, as I said, I spent some time with him (outside work). Maybe 6 or 7 hours over the course of a few weekends. He was plenty smart.
But the point is that his failure was (from my perspective) self-contained. I didn't take him in for interviews.
 
2:21 AM
Oh sure. I didn't expect you to have.
 
interesting
 
But the guy that I did take in for interviews (the EE masters grad) was almost uniformly panned by the interviewers.
They were sure he was too green to get any real work out of.
 
interesting. I know when I was in (and a team leader) I would occasionally get guys/gals that would seem to be the perfect candidates for something then cave before actually starting in a position out of some "fear of failure" - was my guess at least
 
But -- and this is crucual -- they aren't Python programmers. The guy wrote a working script for me his first day on the job, and has been performing well for a month now.
 
Fear of failure and lack of confidence is probably a big factor - my guess as to why Patrick's meetup guy seemed to flake out.
 
2:24 AM
I usually like to give people the benefit of the doubt when it comes to interviews. It can be a mental mess...we interviewed one guy who was just a nervous wreck in the interview, but we can tell he knew his stuff, but he couldn't get out of his head. We gave him a take home test and he aced it....we hired him and he is fantastic!
 
Cool.
 
corrected...sorry :P
 
@idjaw Don't disagree -- but what I gave this guy was basically a multi-week take-home interview (that would have been around 10 hours of work), and he flaked.
 
I know I (even after 6 years in Marines and two combat tours) felt a tremendous amount of pressure the first internship and contracting job I got when I was earning my degree (also my first non-military jobs in 8 years). Luckily, I had my family to take care of so I couldn't let myself fail
 
@shuttle87 So are you hiring in Australia?
 
2:26 AM
Umm maybe in a couple months if a few projects go well
 
@PatrickMaupin yeah, it unfortunately seems that individual just wasn't a fit for what was expected. In the end these things work out for the best for both parties
 
I'm only 54, and I'm still trying to figure out what I want to do when I grow up.
 
I'm trying to plan ahead of time to see if I can find some excellent people from non-standard backgrounds
 
Well, I don't have a degree, if that helps :-)
How non-standard do you want?
 
I know VHDL...is that non-standard? :P
 
2:29 AM
Depends on where you are. VHDL is standard in Europe; Verilog is standard in most of the US.
 
Well I suspect (and I have nothing concrete to base this on) that there are some extremely good people to hire who come from non-standard backgrounds who have slipped through the cracks because of traditional HR gatekeepers. So I'm looking carefully to find people who might be very high roi hires who would have been passed over by other companies.
 
smart move
 
Now I might be biased because of extremely good personal experience with such people.
 
@shuttle87 If you figure out how to reliably supply them, then you should start a consulting business.
 
Well I'm actually thinking of doing just that if possible
But that would be some time in the future...
 
2:32 AM
The HR at one of the companies I applied to threw out my resume - only to be saved by the head of IT (who apparently goes through the reject piles to make sure nobody slips through the cracks) and am now on my third interview for a different (better) position - between me and one other person who is a similar issue.
 
it is very unfortunate things like that happen, where HR make "bad" filters like that.
 
I almost didn't get my current contract because of that
 
Whichever of us gets hired (I've met the other candidate and he is good too) the company will be better off
 
@shuttle87 I think that, for a non-degreed person to make any headway at all, they have to be really good. Which might actually make specifically looking for them seem like a better idea than it really is. (I have no idea about this.)
 
I have an applied mathematics degree, and despite the 6-7 years of relevant development experience in the exact area they were hiring for HR didn't think I had the right credentials. Instead they wanted to hire recent grads with no experience. I managed to get hired along with the recent grad because the hiring manager really put up a fight to get me. Because of this I started to think about hiring a lot more carefully when I was on the hiring side of the table.
@PatrickMaupin I suspect this too. One thing that I'm wondering about though is the effect of HR and recruiters filtering out these people before they ever get to me.
So I wonder if there are more of them out there than I estimate as a result.
 
2:38 AM
But, doesn't HR get an explicit list from the respective team on what to filter on?
I know that we collaborate with our HR team closely to know how they should filter to make sure we don't lose any possibly good candidates
 
A lot of times, the qualifications can be "xxx degree or yyy years of relevant experience."
 
@idjaw Ideally yes, but not always unfortunately :(
Specifically I've seen degree requirements inserted because they were a condition of receiving funding from some external source,
 
oh, interesting.
 
Cbg all :)
 
Yeah, the external requirements are a bummer. Especially when a lot of the really fun speculative stuff is often handled that way.
cbg, Vineet.
 
2:43 AM
cbg, Vineet
 
can this be shorten any further??
#23chars
sumOccur = lambda x : sum(x)

#Other competitors are submitting 12 char solution ... I am totally shocked!!
 
Work is fine, but I'm not particularly enamoured of the direction that upper management has been taking our business for the last couple of years. So I've been casually popping up my head to look around occasionally, but frankly the jobs I see have been mostly uninteresting. That's partly because of the carefully calibrated golden handcuffs my employer provides :-)
 
Most of the people my group has interviewed recently had graduate degrees. MBA and tech graduate degrees.
 
@VineetKumarDoshi sumOccur=sum ???
 
More than a decade experience each...
some multiple decades.
 
2:44 AM
Wow!! ..... lol this is surprisingly awesome!!
 
I read a statistic that in 1958 only 8% of the people in the US had any sort of college degree.
 
I believe that
 
A high school degree used to mean something, though.
 
@AaronHall always nice to be able to get a lot of talent to interview
@VineetKumarDoshi why do you have a variable at all? Can't you just use sum directly?
 
Heh. I beat you to it :-)
 
2:47 AM
its a part of competitive coding .. where we are given a function name .. here sumOccur is a function/method :)
 
oh ok
 
Or maybe I didn't -- maybe I just misunderstood your question :(
 
I thought this was a code golf question initially so I was questioning why the variable name was introduced at all after I saw the suggestion to drop the lambda.
 
And I mis-read your question and thought you hadn't seen my suggestion to drop the lambda.
 
python is full of surprises :)
 
2:51 AM
Mostly good.
 
@PatrickMaupin your suggestion led to my suggestion :)
 
Right -- realized that after the follow-up exchange -- it's amazing how much information can be conveyed by the 40 bits of "oh ok" :-)
 
3:16 AM
@PatrickMaupin :)
 
Anyway, that wikipedia page that I linked to shows that, at least in the US, a large majority still don't get degrees. So there should be large numbers of suitable candidates there in absolute terms. Which may partly explain why Stack Overflow's business model concentrates on connecting employees and employers.
 
interesting link
 
3:31 AM
ISTM you'd want to get young employees with no responsibilities if possible, to give them the chance to do in-depth learning.
I suppose that's got to figure into the business plans for at least half the code challenge websites out there.
Of course, JGreenwell made the excellent point that having a family to support is motivating, as well.
 
very much
Also I just went and got the full census data from 2014 and the total statistical data for Bachelor's or Associate = 29.116%
 
Well, that's all for me...rbrb!
 
me, too. Rhubarb pie for all.
 
4:02 AM
Finding qualified candidates is really hard. SO's strategy is quite sensible. I wish them a very profitable future.
 
 
1 hour later…
5:10 AM
cbg
 
Hey up all
 
5:33 AM
cabbage
 
 
3 hours later…
8:06 AM
Cabbage!
 
Cabbage
 
fish fingers and custard!
(bah - faffing around with Drupal has really fried the lack of grey matter I have left weep)
 
Rather have a nice turkey. Fried grey matter by 9 on monday!...
 
8:25 AM
Admittedly, with me - it is hard to tell the difference :)
 
8:38 AM
Some people’s spelling is so bad that I wonder how they manage to write a single line of actual code without compilers giving up on them completely.
 
...I do have a track record of typo howlers it's true... ;)
o/ Hi @John
 
Hello :)
 
Welcome to the room. It's a bit quiet at the moment, but it's generally a friendly place. Hi @jaysheelutekar. Or - you might hear someone greet you with "Cabbage". Check out sopython.com/chatroom to find out why (it has the room rules - not heavy - and a page called "salad"...)
 
can anyone help with the regex to find any characters between "//" and "/?"
 
8:50 AM
Gotta run - rhubarb
 
@jaysheelutekar That is a bit vague, and lacks an attempt IMO
 
in my opinion
 
ok
i'll re frame it
I have a string "plugin://plugin.video.icefilms/?action=movieWidget",return)" having the plugin id for xbmc i just want to extract the plugin.video.icefilms part from it
can it be done using re if yes how??
 
8:55 AM
I feel like this can be done without having to resort to re though hmm
using something like s[s.find('//'):s.find('/?')] with some tweaking
 
@jaysheelutekar try looking up docs.python.org/2/library/urlparse.html
 
thanks @Jerry
 
Sigh.
 
9:10 AM
@Ffisegydd indeed
@jaysheelutekar not to be a spoilsport, but what if your url lacks query (some day)? The s.find('/?') will blow up. Use urlparser like @Ffisegydd suggested and be done with it.
 
9:24 AM
Cabbage
 
actually i made few changes according to myself and it won't blow up ever
@Ilja thanks for the concern
 
"Won't blow up ever" I bet I could find ways to blow it up :P
But whatever.
 
@Ffisegydd you playing with C4 again? How many times have we talked about that!? :p
 
Parsing URLs with regex isn't as bad as parsing HTML with regex, but still, when the standard modules provide you with a ready-made robust parser for a particular kind of entity you really should use it.
 
9:33 AM
cbg
@PM2Ring but it is NIH :D
 
@AnttiHaapala we are the soldiers who say NIH
we demand a custom built url parser made with regex
 
@Ffisegydd did this re.findall('//(.*?)/',url,re.DOTALL)[0]
 
Fantastic. You've written an ugly regex rather than using a stdlib module designed specifically for what you want to do
 
plugin://here.to.blow.stuff.up would blow it up
 
NIH?? @Ilja
 
9:37 AM
@jaysheelutekar Not Invented Here
 
nope it wont coz its id of plugin
 
@AnttiHaapala :) But seriously, while NIH may sometimes be applicable to 3rd-party stuff, it's totally ridiculous to apply it to the standard libraries that come with the language... unless those libraries have a bug. And even then you should file a bug report &/or make your superior solution available to the library maintainers. As well you know. :)
 
9:53 AM
Ah, @PM2Ring, you need to be sent for NIH re-education, I see ;)
 
:p
 
The Ministry of Truth hath decreed that there is no situation in which NIH cannot be applied. Otherwise "the culture of find a library for it will kill the art of coding". Kill it, I tell you. Let us parse independently. :D :D
 
"VMs are building" is the new form of "Code's compiling!"
 
Are you reticulating splines, Fizzy?
Just done my first Year 0 lab session of the academic year. They're a good bunch as far as I can tell. Now, when to introduce Python for graph production....
 
I'm ashamed of you that you haven't already.
 
10:14 AM
hangs head
 
10:37 AM
@JonClements can you thaw the Rust room?
 
@PM2Ring yeah, though, just look at datetime :P
 
Yeah, ok. datetime is a labyrinth. But it does function correctly... doesn't it?
 
@AnttiHaapala you had a post about that did you not?
 
yeah, written by me, credit stolen by mikko :D
 
Hi, I am seeking advice from fellow users on which stack exchange forum to put up this question. In python, I am using selenium and browsermobproxy to get the HAR files of a website. However the HAR file I am getting using the script is different from the one I am getting when I save as a HAR file manually from developer tools->Network Tab in chrome. What seems to be the issue? Thanks.
 
10:50 AM
Without an example you can't ask it anywhere.
 
yes I have the example ready
 
Then ask on Stack Overflow? It's a programming problem. Make sure you have an example though.
 
I am using the intro code here: browsermob-proxy-py.readthedocs.org/en/latest
 
sits back
It is a strange and unusual thing that the star board contains zero Kevin. A new form of absolute zero.
 
@JRichardSnape kevin is now on the port side.
 
10:54 AM
I'm feeling all chuffed about an example I made off the cuff for how client-server messages could be completely out of sequence / disconnected and yet exhibit coincidence. Combining fruit and the british weather.
 
Removing Kevin from the Star Board is actually one of the 66 Seals needed to begin the apocalypse.
 
Thanks.
 
@PronojitS post the question to the site. Make sure to include any changes you make to example code. Include the output(s) and show the differences you care about. Make sure the example is an MCVE
 
@JRichardSnape Ok..got it. Thanks again.
 
dead/alive?
 
11:01 AM
?
 
Schrodinger's cat. Both.
 
Fun Fact: When Schrodinger invented the gedankenexperiment of his cat he was actually doing it to refute quantum theory. Basically saying "If quantum were true then the cat could be both alive and dead at the same time, which is obviously boll**ks"
 
I believe that to be true. No, false. True-false. Hang on.
Fuzzy by Fizzy
 
: A third boolean value called Tralse which is both True and False at the same time.
4
Similar to Maybe but subtly different.
 
11:24 AM
 
It's both True and False until you evaluate it.
 
It only becomes True or False if you print it.
If you don't print it then it stays both True and False.
 
lazy boolean
a.k.a Whatever.
sorry, that's a new question, need to give her time to improve.
 
hello
Is there a way to have argparse allow only one of the specified positional args. Like git <command_name> <everything here greedily parsed as arguments for command_name>
 
11:39 AM
@AwalGarg like in subcommands?
 
@bereal hmm, that looks like it. I shall read more about it, thanks!
sigh, <removes all hacky code written to emulate what's native and sobs>
 
11:56 AM
@Ffisegydd ah, the Truelean data type
 
cbg
 
hey @Programmer
 
hi everyone
 
hello
 
@Ffisegydd In Python, there's the wildcard object Any which Antti & I cooked up back in June. Any compares as equal to both True and False. I know that's not exactly what your Tralse does, but it's close. :)
 
12:07 PM
Has anyone used transform feature which gives most important features in sgdclassifier in scikit learn
?
 
@PappuJha if you have a question, just ask.
 
@Ffisegydd And every time it's used in a conditional, I fork the process, with one branch each evaluating a different outcome. The only hard part is doing I/O, which will require me to also fork the computer memory and also the user's consciousness.
 
Ohk, I am using that and getting an error.
It is asking for complete feature set.
 
@Kevin that was my exact thinking! You get forked processes and follow each decision down the Trousers of Time.
 
clf.predict(clf.transform(x_test))
clf = SGDClassifier(loss='log',penalty='l2',shuffle=True)

clf.partial_fit(x_train, y_train,classes=all_classes)
 
12:09 PM
@Kevin hey, it's quantum computing ready! Be prepared to be showered with clueless VC money
 
error
Traceback (most recent call last):
File "test.py", line 106, in <module>
clf.predict(clf.transform(x_test))
File "/opt/anaconda2.2/lib/python2.7/site-packages/sklearn/linear_model/base.py", line 223, in predict
scores = self.decision_function(X)
File "/opt/anaconda2.2/lib/python2.7/site-packages/sklearn/linear_model/base.py", line 204, in decision_function
% (X.shape[1], n_features))
ValueError: X has 787 features per sample; expecting 262144
 
As CQO of KevinCorp I'd be happy to be showered with clueless VC money.
 
Today I was feeling pretty motivated for my work assignment. I just had to get some data from a requirements document written in July. I go to our planning application, and everything prior to September is gone.
No requirements document for me.
 
Oops
 
I've managed to avoid requirements so far. I just do what I want #yolo #dsmhashtag
 
12:12 PM
=/ no back up retrieval possible?
 
I'll have to wait an hour for my boss to get in
And even then, maybe not
 
Might as well wipe the slate clean. rm -rf *
 
I'm saved! Here's a copy in the application's "recycle bin" which I didn't know existed until just now.
 
slow clap?
 
Now I have no excuse for being unproductive (-:-(
 
12:20 PM
Can't work out whether to use selenium or flask test_client
 
What is the goal of your testing?
rather, what type of behaviour are you trying to test
 
Ugh, I dunno :) Does the damn thing still work when I change it :)
Selenium lets me test javascript stuff, which might be very helpful
So I guess I'd go for that in terms of features
 
right
 
CI by Bobby G. Telling it like it is
 
so my answer is actually an intelligent use of both
 
12:22 PM
I was wondering if I should use test_client for some stuff, and Selenium for others
Ah :)
@JRichardSnape I'm ready to be a thought leader
 
slow morning I actually Googled that before I finally understood it.
.....
 
You are a thought leader to me
 
:)
@idjaw thanks; I'll stick with that plan
 
But then, I'm easily led
 
np. I would go a step further and take a look at some js specific unit testing tools depending on how you ahve structured your project
 
12:25 PM
I'll run Selenium last as it's slowest
Yeah, the JS stuff is light so I'm happy with Selenium for that, at least for now
 
cbg again
 
hello @AnttiHaapala
 
12:41 PM
Know what I hate? Proxies.
 
Yeah same
 
and me
the very bane of existence
 
Find a utility to quickly switch your http(s)_proxy env var on and off
 
I take it you're setting up networking on your VMs again, Fizzy
 
Git has broken. Can't git clone from a remote anymore.
I tried turning off http{s}_proxy. No dice.
 
12:44 PM
Git has a different place for the proxy
.gitconfig
 
I also unset it using git config
 
Is this virtualbox?
 
It's in a VM, though not virtualbox specifically.
 
Get IT to fix the networking
 
I suspect it's an issue with my VM though, not the networking.
 
12:46 PM
I mean the VM's network config
 
Everything else works fine though, so I suspect it's not the network config. Someone has done something internal to the VM to bork it.
 
I'll try the obvious question, just to prevent the chance of D'oh later - the other end is up, isn't it? e.g. you can git clone from that remote from a non-VM box?
 
Yeah I can access it via browser.
 
OK. That should mean that its OK and also that your suspicion that it's not network config is likely true, I guess.
 
1:07 PM
Requirements document says, "this column should display YES if <condition1> or <condition2> and <condition3>, NO otherwise". Umm, is that (cond1 or cond2) and cond3? Or is it cond1 or (cond2 and cond3)?
 
Probably the latter, but might be worth checking :)
 
Your choice :)
 
I'll just do a rand() call for every row and choose one based on that
 
@Programmer so ((cond1 or cond2) and cond3) or (cond1 or (cond2 and cond3))? That's definitely the easiest way to write that :)
 
applies De Morgan's theorem
Oops - law - sorry, De Morgan
 
1:12 PM
@Kevin and is like multiplication, or is like addition, so and should have higher precedence than or. That's not guaranteed, although it is true in C.
 
The question is, does it have higher precedence in the spec writer's mind?
Quickly fork it, Kevin, and check
 
The document was written by a layman, so it's a coin flip
Time to employ the agile methodology: implement it however I feel like, and wait to see if someone complains
 
It's also the usual convention in symbolic logic: A.B + C.D is (A and B) or (C and D)
 
I guess we know why these plans were found in the recycling bin..
 
Send an email first saying that's what you're going to do if you don't get an answer by the end of the day
 
1:14 PM
For a layman, I'm gonna say it's (cond1 or cond2) and cond3
 
Funny, I'd choose the other one
 
And thus, the coin flip was vindicated
 
Roberts right, of course, the first reaction is CYA
 
...NIDE
Only way out of this spec
 
1:16 PM
my apostrophication is appalling
 
cbg
 
I can always flee to Mexico.
But only once. Fleeing to Mexico is idempotent.
 
Morning everyone
 
@corvid I never saw you on O:
 
On heroes of the storm? I was last night, playing Karazhim
 
1:19 PM
uhh, argparse.ArgumentParser()..parse_args returns an args object with a func method but parse_known_args doesn't. Why the inconsistency?
 
I only have the free heroes :[
 
Which one is your favorite that you've played?
 
Hmm I'm not sure. I played Valla to try and carry but no one knows what they're doing in my games since I'm low level
They just run around aimlessly
 
1:33 PM
Fixed Avoided my issue \o/
 
Wait for it to come back.
 
Although there's a chance he just wants a hex string for diagnostic purposes
 
1:50 PM
Hrmph. Think it's worth it to migrate a project from MongoDB to Postgresql if it's available?
 
very
 
Do it
 
Never
(I have no real opinion - just thought you needed the full range of polemic opinion to that question)
 
@Kevin Yeah. BTW, you can change the format string to use upper-case X, i.e., {:02X} and drop the call to .upper(). Also, there's binascii.hexlify, but you don't get spaces between the byte codes.
 
Oh, nice. Edited.
 
1:55 PM
I guess you _could_ use:
' '.join([''.join(t) for t in zip(*[iter(hexlify(s))]*2)])
 
@corvid seriously, try and work out how much extra effort you'll have in keeping relational structures up to date vs how much time you will spend on mongo crap
 
Mongo isn't terrible in this project but relational databases just seem so much easier to manage
 
I was thinking:
>>> " ".join(map("".join, zip(*[iter(binascii.hexlify(s))]*2)))
'18 63 d8 d6 1f 01 20 18'
Making good use of iter multiplication dark magic
 

« first day (1815 days earlier)      last day (3124 days later) »