« first day (1994 days earlier)      last day (2961 days later) » 

7:00 PM
so basically if you need constantly initialized lists, it can possibly be faster to do x = list((1,2,3,4,5,6,7,8,9,10))
 
"dominant"?
 
Well, my head is badly damaged
 
@DanielEngel were you the one asking about decorators yesterday?
 
No
It was someone else
 
DSM
That was Rooster, I think.
 
7:02 PM
right
 
Lists may support mutative operations, but mutability doesn't automatically make things better.
 
this whole back and forth seems very familiar is all
 
weird. Searching decorator in chat lead me to really odd posts.
 
I was the one that didnt understand anything from that conversation
 
But that word definitely was used several times yesterday
 
7:02 PM
@idjaw sort by newest
 
ah I thought it was...silly me
user was Rooster
 
I still didnt get to that level of understanding python
 
DSM
@davidism: seeing you reminds me. Do you have opinions on Falcon ? ... ( Too soon ? )
 
@DSM I have heard of it
 
Someone already showed me that link
 
7:05 PM
it's another minimalist framework that uses gevent to achieve it's benchmark numbers
if I remember correctly
more minimal than Flask
 
Im learning python freaquently at home with books
 
DSM
I was wondering how they did its magic, but ever since the Julians played games with their benchmark numbers I've been a little sceptical of those graphs.
 
How much more minimal can you get than Flask? What does it ship with?
 
Started to learn network programming
 
@DanielEngel You need a strong foundation before you can have meaningful discussion here.
which is why I linked you to those tutorials
 
7:07 PM
Or at least a willingness/ability to research the things we talk about that you don't understand. That's how I learned the more advanced bits of Python.
 
@DSM Flask can also be served with gevent, it won't be quite as fast because there's more complex routing going on
 
@Morgan'Venti'Thrappuccino thats what im doing all the time
 
DSM
@davidism: figures. Our app is well away from the situation where we'd need to worry about that level of performance but the numbers were definitely startling at first glance.
 
@DanielEngel Right, but the key part is researching the things you don't understand on your own. We're not a tutorial. You're at the level (and there's nothing wrong with that) where you would benefit the most from taking the time to really thoroughly complete a tutorial from the link davidism and I gave you.
 
Anyone have experience with Boto? I can't tell if set_contents_from_string is supposed to update a file on S3 if it already exists. The documentation doesn't specify.
 
7:12 PM
I'm only familiar with the SES chunk of boto, sorry.
 
:| might help if I set replace=True
I always find my bugs after I ask someone about it lol
 
Yup, welcome to rubber duck debugging. :D
 
quack quack
 
Bah, still didnt work, though.
 
I just found out that SnoopaVision was one more Google First April fool :(
 
7:16 PM
I enjoyed watching the double rainbow song with Snoop and the double rainbow guy.
@DSM looks like Falcon is doing some stuff with cython, so it does have that advantage.
 
It's pretty much the only way you could make WSGI faster.
 
sorry was supposed to link question :d
 
@davidism just watching it now, It's cool..
 
7:24 PM
on the topic of gevent and flask, we actually use eventlet.
 
eventlet has supported py3 for a while
Are you using it through gunicorn?
 
spot on @davidism :)
 
Wow - I'd forgotten about the Samurai - just waiting for that big electric throwing beast thing to turn up
 
It would be interesting to move some of the WSGI / data stuff in Werkzeug to Rust with cffi. Actually, that sounds like a good way to learn about Rust. I'll put it on my todo list.
 
DSM
"move some of the WSGI / data stuff in Werkzeug to Rust with cffi" is a hilariously incomprehensible phrase. :-)
 
7:32 PM
Dooo itttt. Rust is amazing.
 
DSM
@Morgan: were you around last week for my first adventure in Rust?
 
It makes my brain hurt a little, but I can tell that it's good. It's like Haskell and C had a baby.
@DSM I was not.
 
DSM is now an expert at rust :P
 
I used it for roughly a week and even submitted a golf in it, so I'm basically one of the core devs. ;)
@DSM What are your thoughts on Rust?
 
I'm interested to see how well Servo does.
 
DSM
7:34 PM
@Morgan: having spent forty whole minutes with it, I'm clearly justified in having strong opinions too. ;-) Interesting, although I haven't internalized the variable lifetime stuff yet.
 
@DSM Yeah, that and the pattern matching made my brain hurt.
 
DSM
That appealed to me, actually.
 
Plus, I'm so not used to static typing, so that took a bit to get used to again.
 
@davidism Please begin your sentences with a capital letter, and terminate them with a full stop. Thank you.
 
@BarryTheHatchet To be fair, eventlet is a proper noun. ;)
 
7:36 PM
@Morgan'Venti'Thrappuccino Its website renders it "Eventlet". :)
but nice try heehee
 
DSM
Last few hours at the office, so time to finish up a few tasks.. rhubarb for now!
 
rbrb DSM
 
rbrb
 
do you know some site for group coding games?
maybe I'll google it
 
7:41 PM
@MarkoMackic what do you mean by group coding games?
 
I mean where you code in groups, live
 
oh. I don't think I've ever heard of one. You mean like for learning purposes?
 
I don't know that I've ever heard of one.
Also, how the yam does JavaScript not have a string.count?
 
What would it do?
 
Yeah
 
7:43 PM
@Ffisegydd The same thing it does in Python? 'aaa'.count('a') # 3.
("str1,str2,str3,str4".match(/,/g) || []).length is the top solution on SO.
FFS, seriously?
 
I did not know what was a thing. Or more likely I did know and I've forgotten it.
 
Sometimes I feel objects in C# (or Java) are nullable is so programmers can get more lines of code by writing if (x == null)... after every function call.
 
I don't know, where you solve problems in small groups, in some programming language :) That's the point
 
@Morgan'Venti'Thrappuccino :D
 
has any of you played coding games on codinggame.com ?
 
7:49 PM
@MarkoMackic Nah, but I saw that the other day. It looked interesting.
 
I so hope davidism won't see that :D
 
@Morgan'Venti'Thrappuccino it is in deed, easy level is easy, but medium and hard get quiet complicated :)
 
Ive played it ... im just rotten at writing AI ...
 
@AnttiHaapala i can't edit, what to do?
lol
 
Oh, it's AI? Bleh, yeah, I can never get the hang of that stuff. I've tried so many of those "write an AI" games, and I always get frustrated an give up.
 
7:52 PM
There are these contests, that's what I like..
 
@MarkoMackic you can pray to your preferred deity / pasta dish
 
@Morgan'Venti'Thrappuccino Last time I tried one of those was on DOS 5.1 I think :p
 
@Morgan'Venti'Thrappuccino not AI, you have tasks, and you must build code to solve them
 
@JonClements Wow, 5.1 has 13 years on me. :P (If you take the initial release date). I feel like a child.
 
but they regualarly run contest in which you write AI to compete against other player ... thats the only interesting part of codinggame ... but its too difficult for me ... most of the "solve this task" type challenges are pretty dang easy
 
8:09 PM
/me is still curious about neural networks. A grad student when he was in undergrad did some cool robot-navigation stuff with NNs
 
I like NN's and Genetic algorithms ... I have yet to use them to solve a real world problem
 
My trouble is finding good tutorials on the topic. Maybe I just need to learn enough about them to write my own :P
 
yeah maybe ... I learned them in the classroom ... (sort of ...) I still have a hard time using the libraries for it and more often than not will write my own ...
 
that was (one of) the place(s) I learned that writing to STDOUT is slooooooooooooooooooooooooooooooooow
his NN training took about 5 minutes when it wrote each input to stdout
it took probably less than a half a second without stdout
 
8:34 PM
if a list like [2,2,2,2,2,2] and i say for i in list: print list.index(i) will i get current index of that 2 ?
 
wow... so close to palindromic rep...
@MarkoMackic what do the docs for list.index say?
 
going now
first val
but how to retrieve the index of current ? then i'd go like for x in range(len(list)):if list[x] == ?:
 
Use enumerate.
for i, x in enumerate(list_of_objects):.
 
found in docs, thanks
 
i will have the index and x will have the object.
The second arg to enumerate is the starting point for the index. Eg, enumerate(stuff, 1) will start the count from 1.
 
8:39 PM
That could be irony to a couple of questions that appeared today :D
 
although 99.9999% of the time you will want to not pass a second argument, and it will work as you expect
 
jeez. That Friday afternoon panic when you realize your pr is poop and you have to fix it before EOD. Fast coding was fast.
 
lol
yeah I have to go and move no tasks to done in my sprint standup now :P
 
today, I quickly slapped together some crappy code through ssh
to show a "demo" to customers
 
8:50 PM
so you don't have to import anything, it's float division already, that's cool.
 
On behalf of the JS room, thank you for taking the meta heat off of us for once :D
 
@Sterling we're nothing if not considerate? :p
 
I've had to be the voice of reason lately, it's damaging my cred.
 
Voices of reasons are for squares
 
8:56 PM
~ffisegydd what is the story on your name?
 
@William It is a Welsh word for "physicist"
 
ahh clever. Your profile gets the top spot in Google
 
So you do the physics?
 
I used to a long time ago in a galaxy far far away.
 
Oh, huh. I didn't know that. Man, Welsh really is an odd language isn't it.
 
8:58 PM
Good night people :)
 
Your name is Morgan, you can't really talk :P
 
> What are vowels? - Wales, 1200BC
 
3 hours ago, by Ffisegydd
a, e, i, o, u, w, y
:P
 
@Ffisegydd Hey, it's the Irish version of the name. Don't associate me with the Welsh. ;)
 
"Irish version", eh?
 
Morgan is a Celtic given name traditionally used in Wales, Brittany and Scotland. In the UK and Ireland it is traditionally a male name, though also increasingly used for girls too. In the United States, by contrast, it is more commonly used as a unisex name. It was the 63rd most popular name for girls born in the United States in 2010 and the 518th most popular name for boys born there in 2010. The name is also used for both sexes in other English-speaking countries, including Canada, Australia, and New Zealand. It is also frequently used in Brittany, where it is traditionally a male name. The...
 
> In the UK and Ireland it is traditionally a male name
See, Irish.
 
> The male and female names may not be the same name in origin. The male name is a descendant of Old Welsh Morcant, possibly derived from mor (meaning "sea") and cant (meaning "circle"),[1] with the meaning "sea chief" or "sea defender".
 
Which would make sense, because I'm Irish and not Welsh.
Though, now I'd be okay with it being Welsh, because "sea defender" is awesome.
 
9:01 PM
Do you defend the sea from us or us from the sea?
Or do you just defend in general when by the coast?
 
this better not be a freakin' joke
 
Alright. Time to get this Friday night started. PR fixed. That was painful.
rbrb folks
 
rbrb Cap'n!
Oh - teams now have pending requests - stackoverflow.com/teams/50/…
 
9:14 PM
 
oh... if you go to the members page of a team you're not on, you do get a "Request to Join" button - presumably that circumvents the need for the link anymore?
 
sweet, github added the option to squash and rebase prs rather than merge --no-ff
also sweat, but that's gross
@JonClements just approved it, too bad there's no way to turn it off for public groups
although we're probably definitely an unusual team :-)
 
9:38 PM
GAH! I forgot to run my puppet recipes
Friday work is not over yet
OK...I can do this. puts on big boy pants
 
9:51 PM
tests are green. Friday fun day.
rbrb for real
:D
 
10:07 PM
I already close-voted this question as unclear, so I can't dupe-hammer it as a dupe of this question.
Anyone got a hammer?
 
@user2357112 damn.
it didn't have
I do not have a hammer in 3.x
 
What?!?!?!?!?!?!?!??!
I dont use hammers to repair my computer!!!!!!!!!!!!!1
 
Oh, right. I wouldn't have been able to dupe-hammer it either.
 
Don't forget @user2357112 you could have edited in the Python tag and then asked for a hammer from a Python gold badger :p
 
@JonClements ok now it has the tag
anw, joncle can hammer it
 
10:12 PM
It works that way? I thought that was just a proposed change, and the hammer only worked for tags present in the initial revision.
Thanks, Jon.
 
@user2357112 that was how it worked originally... it was deemed that it was being used responsibly enough to allow dupe hammering on tags introduced by editors... (not just the original revision)
 
actually I am not even sure about the dupe target
I guess that should've been unclear
 
What?
hammer?
WTF
 
@h_e_u_r_e_k_a it seems there is two things going on. We discussing things, and you shouting something in between.
 
Well, it was unclear in the initial revision, and then the OP's edit and comments made it clear what the problem was.
 
10:15 PM
ah yes.
@user2357112 you're correct, I somehow missed that
 
right - yawns - night all
 
Good night.
 
10:37 PM
WOW, were you all communicative today!
Belated good night, Jon:)
 
@h_e_u_r_e_k_a I once used a pocket knife to repair my computer (to open the screws), and then it snapped shut :-/ I still have a scar on my finger (this was when I was 12).
Lesson: Use the right tool for the job
 
11:25 PM
@Carpetsmoker my newest cherished tool is a screwdriver with a hexagonal magnetic bit holder. It's awesome
I wold probably not poke around with it in a PC because its magnet is too strong, but for regular DIY stuff it's great:P
 
user5020521
can anyone tell me why this link is working on desktop and it is not on mobile?
http://89.97.214.162/backoffice
a blank page appears whenever you open it on your phone while it works on your desktop
 
cbg guys! Just curious here - who uses vim in this chatroom?
 
I do, hey @OneRaynyDay
others do as well
 
@AndrasDeak Heyy :) What color schemes do you like? I've been trying to use solarized but having some troubles
 
hey @Riccardo990, you've just asked the same thing in MATLAB & Octave
heads up: people are less understanding here with blatant off-topicness
 
11:33 PM
Starting to like it after a while (used to use sublime)
 
@OneRaynyDay default terminal settings...
 
^ Did that. Changed to solarized-dark. I don't think the font colors are exactly right though, and I opened a question for it if you're interested(stackoverflow.com/questions/36367376/…)
 
but I'm not your guy, I only program in a half-assed way
(not professionally)
 
LOL, what does that mean?
 
user5020521
it is crazy
 
11:34 PM
I'm not a programmer:)
 
It doesn't really require you to make money off of it to be a programmer ^_^ Or at least in my opinion, maybe the dictionary says otherwise.
 
still, very little of my time is related to vim
so its specific appearence is not paramount to me
if I were staring at it for 8 hours a day, it would probably matter more
 
I see. Yeah, I'd like to start making it my main text editor so I feel the need to make it all pretty and fancy :)
 
it is my main text editor:P
 
Oh. Do you use any IDE's?
 
11:44 PM
no, I use vim
 
Oh - how much time do you spend coding everyday?
 
On average...10 minutes? Maybe less. Comes in bursts of 0.5-1 hours, I guess
 
Oh wow - you seem to know a lot of matlab for spending so little time in coding. Impressive :D
 
I've been using it for ~7 years for post-processing all my calculations, and some standalone simulations
 
I see :) that sounds like a lot of time accumulated though - why not try fancy-ing it out?
 

« first day (1994 days earlier)      last day (2961 days later) »