« first day (1705 days earlier)      last day (3242 days later) » 

12:00 PM
Nice!
Are the jobs in useful locations to you?
 
so apparently E3 happened?
 
Yeah. MS are getting 360 games running (with savegames carrying over) on the xbox1
That's pretty crazy
 
Yup. The first is in London, the second would be home-based but would probably involve more traveling
 
Nice
Decent salary for London?
Just to emphasise the point that London is a hideous money-sapping beast
 
A perfect place to be in negotiations - a prospective position and one in hand. Congrats!
 
12:21 PM
I guess this would be a duplicate so I won't ask it on SO, but I just can't figure it out / find the answer. Transposing a 1D list in Python... Is this really the best way? x2 = np.array(x)[np.newaxis].T.tolist(). I can only use zip(*x) for 2D-arrays.
Sorry for bothering you with programming questions when you're "having fun", but I guess it's a "type it in 10 seconds answer"... :)
 
morning jon
 
@StewieGriffin How about zip(*[x])
 
@Kevin too smart to pass a code review :-D
 
cbg
@Kevin zip(*[x])?
= zip(x)
 
12:29 PM
hah.
I'm tired -_-
 
How the F did I not make that work?? I'm sure I've tried that a hundred times... But it's of course correct! Gah!!
Thanks @Kevin and @Antti, I'm obviously tired too! =)
 
How the heck do you professional programmers not get burnt out after like two hours of solid programming? I'm still learning basics but my brain feels fried so quickly and suddenly even simple stuff feels beyond my grasp
 
@Dracunos the more competent you get at a skill, the more enjoyable it becomes.
 
always pick challenges at your level of knowledge
 
12:46 PM
what kind of stuff are you trying to do Dracunos?
 
Is it just me or does anyone else think "professional programmer" isn't really a job role?
 
A programmer who's profession is programming :p
 
That's my secret...
[mark ruffalo]
I'm always burnt out.
 
I'm taking the udacity class right after their basic programming class, but it is really challenging sometimes, it pushes my limits in a good way, like it's just barely out of reach, but I've learned a lot. But I can't seem to participate for very long before my brain gets foggy
It's been a long ass time since I've taken classes in general
 
12:50 PM
learning can be tiring
 
I think I'm just getting old
 
meh, it's all just practice. And the early stages are by far the worst because there's so little you can do at beginner stages. On the bright side it only gets better
 
Sometimes the hardest part is the fact that I'm kinda filling in the blanks of the teachers implementation. I understand what he's saying, but trying to piece together my idea of how to write a small piece of the program with his idea of how that piece fits perfectly into his puzzle.. Reading and understanding his code, basically, I have little practice on reading other people's code
 
Maybe you should find a different instructor. People think differently. I remember reading a book (Flask Development) and thinking "but... why?" the whole time, then looked at another code base and found it much more intuitive.
 
12:58 PM
^
 
It's hard to turn away from it when I've learned so much from the class already. I'm just afraid of taking actual classes in college someday and being left behind always trying to catch up
You're right though, it does have flaws from my perspective sometimes, not always the most intuitive teaching approach, but I'm definitely going to see it through
 
CBG!
 
Imo take a discrete math course at a college, it's very abstractly helpful to programming mentality
 
@corvid Love that. Electric car acceleration FTW. Doesn't quite sound right, though
 
How do I see debug log of Django in openshift ?
 
1:01 PM
Why do electric cars accelerate so fast anyway? Not building up torque?
 
Electric cars will only take up if they make artificial vroom vroom noises
 
Teslas seem like a car that a well paid programmer would like. I heard the next tesla will be only 35k new
 
@corvid Torque characteristics of an electric motor
 
@wonderb0lt I like them because they're so quiet. At night, in a full black car with black rims, I can turn off my lights and pretend to be the bat mobile
4
 
We have a NISSAN leaf at work. It will beat BMWs off the line...
 
1:02 PM
Ghost ride the whip, not goat
 
I have put some print statements in my django app and I need to see them for some debug purposes. But while running in on OpenShift I can't see i
it*
any advice ?
 
I'm considering an electric car for my next car should my trusty steed leave me. No idea when that will be. Definitely looking forward to the new, cheaper Tesla
 
@corvid This looks about right (unknown source) velvetron.com/blog/wp-content/uploads/2008/05/…
 
@d-coder don't debug while on production? :P
 
I am going to make the next big thing: a fission powered car!
 
1:06 PM
@Ffisegydd : NO!
 
Go the whole hog, might as well go for fusion power
 
It's still in testing phase
 
@corvid nah... anti-matter/matter reaction powered, or zero energy powered ;)
@d-coder look at django logging
 
Some people's cars should be powered solely by ion thrusters
 
Ah an anti-matter powered car... One teaspoon of fuel goes for 1,000,000 miles
 
1:07 PM
The Ford Nucleon was a scale model concept car developed by Ford Motor Company in 1958 as a design on how a nuclear-powered car might look. The design did not include an internal-combustion engine; rather, the vehicle was to be powered by a small nuclear reactor in the rear of the vehicle, based on the assumption that this would one day be possible by reducing sizes. The car was to use a steam engine powered by uranium fission similar to how nuclear submarines work. The mock-up of the car can be viewed at the Henry Ford Museum in Dearborn, Michigan. == In popular culture == The Nucleon is...
 
I read somewhere that Teslas are around 95% efficient, how is that even possible?
 
@JonClements : Thanks!
 
Just drive a delorian at exactly 88 mph...
 
@corvid That's the plus side... the other side I guess is that if there's an accident and the containment fails - they'd be a pretty impressive boom
 
@corvid bounding the system to your advantage. That definitely won't include the efficiency of generating the electricity that charges the battery. Probably no battery losses etc either.
 
1:09 PM
@JRichard then end up in the middle west and you get to pretend to be Clint Eastwood? :p
 
Drop a little bit of anti-matter fuel while filling up... there goes new york
 
@JonClements I was thinking play a solo for Chuck Berry, but I'm old, old school ;)
 
Obligatory Simpsons quote: "I drive a go-cart powered by my own sense of self-satisfaction"
 
yam. Must... not... chat... must... complete... tomorrow's... presentation...
rbrb
 
rbrb :)
I think non-fossil fuel based cars are a great idea and needs to be done - they're just too hyped up, impracticable and idealistic with current technology... "can do 100 miles from a single charge" doesn't really promote them for me
 
1:15 PM
Everyone should just stay home. Then we won't need cars.
 
That's good enough for a trip from Prague to Brno if you can recharge twice en-route.
yeah... not a good selling point :-)
You can use them as shopping carts, though :-D
 
0
A: Clean url with symlinks

GustafThose things are being handled via the .htaccess file (Rewrite-rules). Some guides/info that might help you: http://www.desiquintans.com/cleanurls How to create clean url using .htaccess http://pixelcode.co.uk/tutorials/webmaster/clean-urls-with-mod_rewrite/

 
I like the idea of highways made out of solar panels, recharging your cars as you go.
 
Something like this is "not an answer" right? because it only links to pages instead of answering anything?
 
"Limited mileage - but heck, if you've stranded in the middle of nowhere and can't re-charge - don't worry - you've got a very expensive shopping cart - be happy!" - yup - think we've got the marketing done :p
 
user559633
1:18 PM
@JRichardSnape that's incredibly interesting, thank you for sharing
 
@wonderb0lt only if you don't consider "use .htaccess rewrite rules" an answer
 
user559633
@JanDvorak electric trams already solved this problem
 
@JanDvorak I don't, so I don't feel bad about my flag :)
 
@tristan not for intercity travel. Those require something bigger :-)
 
JON CLEMENTS IS BLUE
 
user559633
1:19 PM
@wonderb0lt electric and non-electric cars already do this FWIW
 
still curious when the first commercial application of vacuum trains shown up
 
user559633
@JanDvorak no, trams, not cars. you connect to a cable that carries current.
 
@Robert nah nah, I'm relatively happy today thanks :)
 
(That's new, right?)
 
@tristan Do what?
(I seem to raise at least a few helpful flags considering I have 16 free already :D)
 
1:20 PM
@Robert not since Monday - not really :p
 
user559633
 
If you want to recharge an electric car, just stick a fan on the roof attached to a generator. Simples.
 
user559633
it's been a solved issue so long the picture is in black and white
 
user559633
pole connects vehicle to external power source, the base articulates to adjust for changing lanes/directions
 
Hook a bike frame up to a turbine, which is hooked up to your electric car. Alternatively, just ride a damn bike.
 
1:23 PM
Hadouken!
 
Battery-equipped trolleybuses are amazing
@JonClements what happened?
And how did I not see it before?
 
user559633
248
Q: Welcome two new moderators: Matt and Jon!

Shog9Moderator bluefeet has decided to step down in order to pursue a new career. While we all wish her the best of luck, there's no denying that her efforts will be missed... Especially the hundreds of flags she handled on a daily basis. Therefore, Stack Overflow needs some new moderators. Fortunate...

 
And why am I picturing you now as Dr Manhatten?
 
@wonderb0lt FYI - that's the wrong flag to use (it IS an answer - just a crap/wrong one) - I'm not doing mod stuff until I finish a late lunch and make some calls, but I expect it'll end up declined
 
@JonClements Oh. So "very low quality" would have been a more appropiate choice?
 
1:25 PM
Oh hey, congrats Jon
 
Jon's blue title is made of a magical fabric only visible to the pure of heart.
 
@Kevin or those not blue colour blind?
 
Congratulations to everyone who couldn't see it yesterday but can see it today. Ya'll must have moved up the heart purity ladder by a tick.
 
@JonClements Or just regular old downvoting?
 
Anyway. @JonClements congratulations!
I was the one person who voted for you first and MP second
 
1:26 PM
Just d/v it - yes... no need to flag at all
 
And as such, I demand lobbyist levels of access to the decision-making process
 
@JonClements According to my "magical fabric owner's manual", visibility is determined by "heart purity XOR blue color blindness"
 
user559633
@RobertGrant that's not how you do it you clumsy man
 
Sounds like one of those "was a bug, but an important client integrated it into their workflow and now it's a feature" things
 
@tristan sorry George!
 
user559633
1:28 PM
you send the pup baskets of milkbones and tennis balls over the course of a year while outwardly stating that you support the decisions he's making. then, you threaten to state that he was accepting milkbones as a bribe if he doesn't do what you want
 
Please don't shoot me
 
@RobertGrant You have to ply him with wine and song first.
 
user559633
it's okay comrade, i'm from america where we've gotten good and subtle about this sort of thing
 
Well I already do that
 
@JonClements I see. Thanks for your time. I'm just trying to be helpful but I have to admit I'm not as experienced I guess.
 
1:29 PM
That was far too obscure a reference, especially given the guy's name is George.
Not exactly distinctive
 
user559633
@wonderb0lt you should flag it and in the flag reason enter "i don't know how i got here"
 
"How do I close the 'flag' popup?"
 
@wonderb0lt don't worry about it - a quick glance at your flag history shows it's not unappreciated - so keep it up - just an upfront notice that it'll likely be declined - the "correct" behaviour should be to down vote - it needn't have been flagged at all
 
Hm - I wonder if I should propose a law against burning flags on SO
 
heh
 
1:34 PM
:)
 
JS testing frameworks are a pain
 
There are chances that more moderators hang out in this room than any other rooms ;-)
 
It's probably a good thing. Look at how rowdy we get even with mods in the room. ;)
 
Chucks a bottle of beer
 
lol, given the fact that both are ninjas, we are pretty badasses.
Oops, I pressed the wrong button. The room has gone to the silent mode. o.O
 
1:50 PM
What'd you do that for?
See all the fuss yesterday?
 
I assumed it was just the ninja's talking.
 
I made a chrome extension to make python-like helper functions in the javascript console (dir, help)
 
Trying to figure out some descriptors.
 
@thefourtheye everyone that's the least bit awesome, hangs about in this room pup :)
 
2:05 PM
SO's blocking my IP, what's up with that?
 
Perhaps your roommate is a notorious troll.
 
Is his favourite song Under The Bridge?
 
Survey: how does python choose the order in which to call the magic methods for comparison operations? Does it matter? Why?
 
@AaronHall I always liked exam questions like that where the last part was "Why not?" Kind of gave away the question before it.
 
Yeah, it should be "Why or why not?
I think I wrote good exams, but I didn't find it enjoyable.
 
2:10 PM
It tries left.__opnamehere__(right), and if that returns NotImplemented, it tries right.__reverseofopnamehere__(left), and if that returns NotImplemented, it crashes.
 
close
There's also a bit of type-checking
 
Hey now. If you ask the question, you aren't allowed to answer it.
 
Yes, it was a survey. Can someone give a complete answer?
And that answer was good for 50%.
;)
 
and I only got that far by fact checking with a working interpreter.
If this is for a paper quiz, prepare to curve
(unless you expect students who have been actually studying the intricacies of dunder methods to do better than an Internet rando like me that barely uses OOP at all)
 
OOP there it i-is
sidles off
 
2:17 PM
Hammer pants should come back in style
 
"This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site." Never seen that before. That's an interesting moderation style
 
@user5061 you posted that link last week telling us it was a copy of another answer.
 
@davidism i know
 
@user5061 so then why are you asking why it was deleted?
 
2:20 PM
Maybe it's a survey ;-)
 
No i mean.. there should be a reason stated in its deletion, right? The answer i mean.
Cause my flag got declined :)
And its deleted now :D
 
Well at least you can smile about it.
 
When I use my delete vote powers, it never asks for a justification, it just says "your vote was recorded"
 
Why would you expect to see a message? You don't have 10k.
 
It is unlike close voting in this way.
 
2:21 PM
I guess there's a lot of stuff I don't see looking only at newer questions
 
I m 1.6k rep.
 
Yeah, which is < 10k
 
Oh, misread what you said.
Reason why i am asking is to see if it got deleted for the same reason i flagged it, even though my flag was declined.
 
If you flagged it as "not an answer", then it got denied because it was an answer.
 
No, i flagged it with custom
 
2:24 PM
Why are you asking us then? We're not the mod who denied it.
Go ask on meta.
 
I did, mod never showed up.
 
OK, my point being: stop asking here, this is not the right place.
 
I didn't ask why the mod declined it. I asked what reason does it state for its deletion. No matter..
 
@Kevin ok, now I'll answer, so if they're not the same type, it checks if right is a subtype of left in which case it gives right first go. And NotImplemented doesn't blow up, it checks as True in a Boolean context.
 
2:28 PM
Bobby G, that's a travesty.
I don't think I can trust consumer OS's.
 
Guess you find it on meta :)
 
@AaronHall I think they tried to write it themselves instead of using an open source product
 
@user5061 Non-mod users can't see delete reasons (if they even exist). When I look at the page I only see "deleted by name, name, name 12 hours ago"
 
The Apple Maps team strike again!
 
Perhaps mods have logs with more information... But none of them are here right now, so.
 
2:31 PM
@Kevin Didnt know that. Thanks.
 
Guys I'm doing a Spark course and am annoyed that I have to use Python 2. All of you combine forces and fix it please, so I can say print() instead of print.
 
from __future__ import print_statement
 
And so I can type d.items() instead of d.iteritems() and get laziness
 
cbg
 
Waits
 
2:37 PM
I'm hacking the mainframe! "Enter password". Uh, "A". No? Uh, "B". No? ...
 
Lol that's not hacking! Assembling a cube is hacking!
 
⬆⬆⬇⬇⬅➡⬅➡AB. hacking
 
I know, I'll use social engineering: is anyone here the admin for the mainframe? I need the password so I can check its integrity.
Your boss told me to do it so it's totally cool.
 
Then what is a hax0r?
 
DSM
2:45 PM
Morning cabbage for all.
 
No thanks, gives me gas.
Cabbage poots are the worst.
What is it that makes them so fragrant?
 
DSM
fanatic, n: one who can't change his mind and won't change the subject.
 
Cabbage is plebian food
 
@AaronHall agreed
 
@DSM isn't that Winston Churchill?
 
2:47 PM
fanatic, b: Visit the site each day for 100 consecutive days. (Days are counted in UTC.).
 
If you're trying to lower the adoption rate of the salad language, creating an association in readers between it and fetid butt gas is a good approach
 
CharlesBabbaGe
(For the late crowd)
 
What a tomato move
 
fanatic, j: a loft full of old, unused and/or broken domestic appliances.
 
DSM
Heh.
 
2:49 PM
@RobertGrant ba dum chhhh
 
Not sure how to approach How to get the output of a subprocess.call in python. The answer is definitely "use check_output", but he pre-rejected that already.
 
@Kevin It looks like they need to show how they used check_output that didn't work.
 
Their sample code is also missing an opening paren but I don't think that's relevant
 
everydayhealth.com/digestive-health-pictures/… "raffinose, is found in asparagus, brussels sprouts, broccoli, and cabbage, among others."
 
I have a vague feeling that the answer is "the command you're trying to run actually outputs to stderr, which is not ordinarily picked up by check_output"
 
2:56 PM
I have a question, If facebook were to use a storage system for their servers , what would be better for them-- Nutanix or Nexenta ??
Nutanix is a hyperconverged solution , whereas Nexenta is a 100% software solution (Software Defined Storage)
 
That's not Python.
 
I have never heard of either one, so I now suspect that you're a salesman for both of them. Trying to get a little "coke vs pepsi"-like buzz going, eh
 
no, I am doing a case study
 
Nutanix - less filling, tastes great. Nexenta - the choice of a new generation
 
there were 6 , i shortlisted these 2..
 
2:59 PM
Right, but it's not a case study on Python.
 
@Kevin they...do kind of sound like that
 
DSM
A case study of what random strangers in a Python chat room think? That seems like a stupid study, if you don't mind my saying so.
 
@davidism more than half of the chat here is non - python
 
I'm doing a study on what people mind others saying so, so this is helpful to me
 
@Sword irrelevant
 
3:00 PM
@Sword I think it's the fact that it's "storage products" rather than banter that is your downfall here
 
@DSM I would ask for the reason as well.. Done my research, just need a push..
 
DSM
Push, kick-ban, whatever.
 
i meant push in the right direction..
 
@DSM Mind you - some university in the UK did do a £60k study to that most people go to coffee shops to buy coffee
 
Yeah that's true
Maybe it was @JRichardSnape's colleagues, and they all got fired
 
3:03 PM
Which is great... because until that research... how could I have known I'd get coffee from a coffee shop!?
 
well forget it, I'll try it out myself. Hope I won't be wrong..
 
Still can't get tea from an orbital canon, so they need to fund @Kevin next.
 
Sorry we can't help with completely unrelated stuff we don't know anything about.
 
DSM
Try what out? Starting your own Facebook and choosing a storage system? I'll say this, you don't aim low.
 
Just write the check out to CASH, thanks
 
DSM
3:04 PM
The man in green.
 
(to be clear, I wasn't serious in accusing you of being a salesman)
 
We interrupt this chatroom to bring you some carchat: the Koenigsegg One:1 just broke the 0->300->0km/h record: did it in 17.95s. How crazy is that?
 
@RobertGrant How many horses does it have in the engine? (I don't know anything about cars)
 
That's 186mph, multiples of the speed of light fans
1340bhp
 
3:08 PM
The coolest thing in cars that I've heard recently is still the Tesla S getting faster based on an OTA firmware update.
Like, I understand how they did it. I just think it's awesome.
 
@MorganThrapp Sounds like a literal speed up loop.
 
DSM
And the line between the Cartesian world and the Newtonian world grows ever blurrier.
 
@Kevin Hahahaha, pretty much.
 
@JonClements can you slack chat for a couple minutes?
 
Yeah that is cool
 
3:09 PM
@davidism yes... but give a moment - need to do some meta stuff
 
@MartijnPieters hey did you take a look at the RegExp.escape repo?
@JonClements cbg, how are you adjusting?
 
@davidism sorry about everything, hope its all ok now.
 
You can call me a noob, I don't mind
 
@Dracunos please just let it go, it doesn't need an extra quip
 
@RobertGrant Nice tying back to earlier themes - Eddie Izzard would be proud
 
3:19 PM
Eddie Izzard is a hero.
 
@Ffisegydd hey, you're back!
Been busy with job stuff?
 
I never left. I'm a silent guardian. A watchful protector. A dark knight.
 
I can agree with that, Eddie Izzard is a hero
 
But yeah I haven't been speaking much, mostly busy playing Heroes of the Storm sorting out moving and stuff.
 
How fun responsible
 
3:22 PM
Haven't seen much of his stuff, but his death star canteen bit is pretty terrific.
 
"Hitler never played Risk when he was a kid." Genius.
 
DSM
I was going to point out it hadn't been invented yet, but there are certain people I'm not going to use in the sentence beginning "In X's defense" on general principles.
 
@BenjaminGruenbaum it/s interesting
 
@Ffisegydd geek.com/chips/… link works better
yeah, it does look pretty cool
If I ever get around to seriously learning Japanese, that might be useful. But most of the time, I have no idea what I'd change the keys to.
 
3:35 PM
@BenjaminGruenbaum: sorry, no. I don't think I'll have time this week at all.
 
@DSM I had a German landlord once who had decided to settle in the UK on being released from a POW camp after WWII. One of the friendlier landlords I've had, although it was always a little odd when he started statements with "You see, where Hitler went wrong was ..."
 
I only understood about a quarter of that Cake or Death video, but the delivery is exceptional.
 
He is very British in his speaking.
 
Hmm, it says "mechanical keyboard", but doesn't describe the switches it uses.
 
I think it's OK for old men to have radical political viewpoints as long as they're not likely to spearhead a rebellion.
 
3:39 PM
No one seems to be able to succinctly answer, "Where Germany went wrong was..."
 
DSM
Few events have only one cause. It's like that rule of mystery novels, "there was always an earlier crime."
 
user559633
@AaronHall Creating a country for germs
 
What is the | symbol called in the context of python?
 
They lost rule of law. The Nazis could kill political opponents with impunity and the judges would let them off scot-free. It was as if organized crime won. They had the judges in their back pockets, so no one would stand up to them for fear of being next. That's how you know it's time to get out.
 
points There, right there, that's where it went wrong. What, you can't see where I'm pointing?
 
3:45 PM
@Dracunos bitwise or: docs.python.org/2/library/…
lol
Get out or go Punisher on the bad guys. I'd like to think I'd be willing to do that.
 
DSM
@Dracunos: remember you can always put keywords/syntax bits into help if you pass them as strings. So help("|") brings up a table describing it as "Bitwise OR".
 
one of the lesser known help features
 
I've never quite understood bitwise operators. Is there a good resource out there for learning about them?
 
@AaronHall IIRC my landlord's argument was typically along the lines of "they should have waited longer before reneging on their pact with Stalin". Possibly coming at it from a different angle, though ;-)
 
user559633
turn lefffft
 
user559633
3:48 PM
TURN LEFT
 
@MorganThrapp not unless you can describe how you "didn't understand bitwise operators" better
 
In 2x that help only gave me help on the string type
 
otherwise, asking that is equivalent to asking google
@Dracunos no, it works in 2 and 3
 
@davidism I think I just need to be better at binary in general. Consulting google now. :P
 
It wasn't working on the online interpreter for some reason, worked on local
 
3:51 PM
Who uses an online interpreter?
 
>>> bin(5)
'0b101'
>>> bin(2)
'0b10'
>>> bin(2|5)
'0b111'
 
I use repl.it all the time at work, it's just more convenient for checking little chunks of code
 
DSM
Maybe. Gives too many wrong answers, though.
 
You should break that habit.
Use a nicer shell, such as IPython or bpython.
 
better example:
>>> bin(int('1001', 2) | int('1100', 2))
'0b1101'
XOR:
>>> bin(int('1001', 2) ^ int('1100', 2))
'0b101'
 
3:58 PM
@MartijnPieters :/
 
@MorganThrapp do my examples help?
 
@BenjaminGruenbaum I have a very busy day on Friday that is currently slurping up all my spare time to prepare.
 
@AaronHall They do. That and I'm reading through the docs on Python's Bitwise operators.
 
@MartijnPieters ok, whenever you have time. Good luck on Friday
 

« first day (1705 days earlier)      last day (3242 days later) »