Skip to content

Commit 2018105

Browse files
authored
Merge pull request mikeckennedy#215 from talkpython/master
sync back some changes
2 parents d604ac5 + 589bac7 commit 2018105

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+6417
-117
lines changed

transcripts/028.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ Check them out at codeship.com and tell them "thanks" for supporting the show on
327327

328328
41:51 Yeah, I don't know if it is out, it has a visualizer too, kind of like PyCallGraph? But they said they are using something called the YAPPI profiler and it will fall back to cProfile. If it has to. Do you know YAPPI? 
329329

330-
42:05 Yeah, I was looking at all these profiles also PyPy comes with some profiler that works on linux, VM prof and those are all different profiles and I looked at them and they are nicer, but I really loved how simple it was- I mean, I got the results and it comes with Python, you didn't need to install anything you just ran the module. And that's why I was so happy with using it and didn't need to try a different profiler. 
330+
42:05 Yeah, I was looking at all these profiles also PyPy comes with some profiler that works on Linux, VM prof and those are all different profiles and I looked at them and they are nicer, but I really loved how simple it was- I mean, I got the results and it comes with Python, you didn't need to install anything you just ran the module. And that's why I was so happy with using it and didn't need to try a different profiler. 
331331

332332
42:34 Right, that's cool, just Python space dash em space cProfile and then your app- boom.
333333

transcripts/033.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Opportunity is knocking, visit hired.com/talkpythontome and answer the call.
133133

134134
27:10 Yeah it is their business. But, I think that is a really cool advantage, because I haven't seen anything like this for AWS and you are usually on the internet, but at the same time there are certainly situations where you have spotty connectivity and you would rather be able to just work, but also you don't necessarily want to pay for that, depending on whether the company is paying, you are paying, right, that might or might not be a consideration. 
135135

136-
27:37 Sure. I mean, it's not just about like paying, paying is definitely a big pint here but it's not just about paying it's also about your resources wisely and by resources I also mean time. The other thing is that people think that you need a lot of power to run OpenStack. It may have been true in the past but it has come a long way on using less resources from your computing notes to the point where you can also just run OpenStack on top of Docker. And instead of using an hypervisor you can use just Docker and create linux containers and which are cheaper for your laptop.
136+
27:37 Sure. I mean, it's not just about like paying, paying is definitely a big pint here but it's not just about paying it's also about your resources wisely and by resources I also mean time. The other thing is that people think that you need a lot of power to run OpenStack. It may have been true in the past but it has come a long way on using less resources from your computing notes to the point where you can also just run OpenStack on top of Docker. And instead of using an hypervisor you can use just Docker and create Linux containers and which are cheaper for your laptop.
137137

138138
28:27 That's awesome. I definitely want to come back and talk about Docker. But maybe before we do, maybe we should talk about the various building blocks of OpenStack because people that are kind of new to it, they maybe don't know what it offers and what it doesn't. 
139139

transcripts/034.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ Today's guest was Travis Oliphant and this episode has been sponsored by Hired a
353353

354354
Hired wants to help you find your next big thing. Visit hired.com/talkpythontome to get 5 or more offers with salary and equity right up front and a special listener signing bonus of $4,000 USD.
355355

356-
Digital Ocean is amazing hosting blended with simplicity and crazy affordability. Create an account and then within 60 seconds, you can have linux server with a 20 GB SSD at your command. Seriously, I do it all the time. Remember the discount code - TALKPYTHON
356+
Digital Ocean is amazing hosting blended with simplicity and crazy affordability. Create an account and then within 60 seconds, you can have Linux server with a 20 GB SSD at your command. Seriously, I do it all the time. Remember the discount code - TALKPYTHON
357357

358358
Did you know you can personally support the show too? Just visit patreon.com/mkennedy and join the over 100 listeners who contribute between 1-2 dollars per episode.
359359

transcripts/038.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ This has been another episode of Talk Python To Me. Today's guest was Florian M
281281

282282
Hired wants to help you find your next big thing. Visit hired.com/talkpythontome to get 5 or more offers with salary and equity right up front and a special listener signing bonus of $4,000 USD.
283283

284-
Digital Ocean is amazing hosting blended with simplicity and crazy affordability. Create an account and within 60 seconds, you can have linux server with a 30 GB SSD at your command. Seriously, I do it all the time. Remember the discount code - TALKPYTHON
284+
Digital Ocean is amazing hosting blended with simplicity and crazy affordability. Create an account and within 60 seconds, you can have Linux server with a 30 GB SSD at your command. Seriously, I do it all the time. Remember the discount code - TALKPYTHON
285285

286286
You can find the links from the show at talkpython.fm/episodes/show/38
287287

transcripts/040.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ This is a joint episode with Partially Derivative and Jonathan Morgan and it has
310310

311311
Hired wants to help you find your next big thing. Visit hired.com/talkpythontome to get 5 or more offers with salary and equity right up front and a special listener signing bonus of $4,000 USD.
312312

313-
Digital Ocean is amazing hosting blended with simplicity and crazy affordability. Create an account and within 60 seconds, you can have linux server with a 30 GB SSD at your command. Seriously, I do it all the time. Remember the discount code – TALKPYTHON
313+
Digital Ocean is amazing hosting blended with simplicity and crazy affordability. Create an account and within 60 seconds, you can have Linux server with a 30 GB SSD at your command. Seriously, I do it all the time. Remember the discount code – TALKPYTHON
314314

315315
You can find the links from the show at talkpython.fm/episodes/show/40
316316

transcripts/072.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ We all want to ship our software faster, respond to user request quicker and bui
230230

231231
45:25 Michael: Yeah, that is awesome, yeah, let me just ask you for everyone's sake, because not everybody knows what swagger is or how Swagger defines documentation or how it can be used to actually build an API itself, so what's Swagger?
232232

233-
45:40 Rafael: Yes, what Swagger is like a specification, a standard, there is mainly standard that is popping up around specification of APIs like how http request should be made, and which end points are available, which environments you're waiting, which like validations are- like which formats should be and I would say the swagger like is the one that is winning now and this is recently supported by the linux foundation and it's changing the name from Swagger to open API. So that's why sometimes I was saying Swagger open API because it's changing the name, the official name now is the open API, so it's the question too, is the latest version they are working the version 3, but yeah, currently we use the version 2. And, yeah, it's just a way to define your API in a pretty good details, like you can define the end points the parameters, what are the http style tools that shall be expected by the clients, and from these specifications you can generate code like there is a swagger codegen there is a tool that you can generate coding many different languages including Python and if you use the swagger code gen you can generate actually connection Python code that use connection out of your swagger definition and you can just write the code that already have dictionary validated and the way you expect it, the way you define swagger definition.
233+
45:40 Rafael: Yes, what Swagger is like a specification, a standard, there is mainly standard that is popping up around specification of APIs like how http request should be made, and which end points are available, which environments you're waiting, which like validations are- like which formats should be and I would say the swagger like is the one that is winning now and this is recently supported by the Linux foundation and it's changing the name from Swagger to open API. So that's why sometimes I was saying Swagger open API because it's changing the name, the official name now is the open API, so it's the question too, is the latest version they are working the version 3, but yeah, currently we use the version 2. And, yeah, it's just a way to define your API in a pretty good details, like you can define the end points the parameters, what are the http style tools that shall be expected by the clients, and from these specifications you can generate code like there is a swagger codegen there is a tool that you can generate coding many different languages including Python and if you use the swagger code gen you can generate actually connection Python code that use connection out of your swagger definition and you can just write the code that already have dictionary validated and the way you expect it, the way you define swagger definition.
234234

235235
47:17 Michael: Yeah, so Connextion basically is built on top of Flask you give it one of these swagger files which is a Yaml file format that talks about the various end points and the type of data that is passed to them and so on, and it will basically automatically set up the routing and the data passing and you just write the functions to actually do the processing, is that the right summary?
236236

@@ -272,7 +272,7 @@ We all want to ship our software faster, respond to user request quicker and bui
272272

273273
55:53 Michael: Yeah, requests is pretty awesome. 
274274

275-
55:54 Lauri: And we have an engineer on our team Henning, who was largely responsible for our Python work early on, when we were the Java monolith and didn't have too much happening was open source so he's got a fair number of packages up there so I'll give a plug for ns enter so it's a Python package it lets you enter linux kernel name spaces with a single sys call. He puts a lot of code in lots of projects.
275+
55:54 Lauri: And we have an engineer on our team Henning, who was largely responsible for our Python work early on, when we were the Java monolith and didn't have too much happening was open source so he's got a fair number of packages up there so I'll give a plug for ns enter so it's a Python package it lets you enter Linux kernel name spaces with a single sys call. He puts a lot of code in lots of projects.
276276

277277
56:21 Michael: Ok, awesome. It's amazing how prolific some people are, right. And then the other question is when you write Python code, what editor do you use?
278278

transcripts/078.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Sounds awesome, doesn't it? Wait until you hear about the signing bonus- everyon
205205

206206
45:00 Michael: You know, it's possible that I ran it on windows 10 in parallels on my Mac. Interesting. 
207207

208-
45:13 Joseph: And all this support took only a day, so if you think about like Python one of its strength is, it pretty much will run anywhere, so you know Linux support had some capitalizations in some of my file names I had to fix, and of course you have the total [00:45:27] we do the distribution and you know the thing that makes an exe, that doesn't work at all the same way on Linux but besides of that stuff, the game should run really easy and one thing to keep in mind with PyGame is most 3d applications don't work through a virtual box, but PyGame does, so you can even be having your windows system open and open a virtual box with PyGame in it and it'll work fine, so you can dev for linux and windows at the same time, and it'll be quite nice.
208+
45:13 Joseph: And all this support took only a day, so if you think about like Python one of its strength is, it pretty much will run anywhere, so you know Linux support had some capitalizations in some of my file names I had to fix, and of course you have the total [00:45:27] we do the distribution and you know the thing that makes an exe, that doesn't work at all the same way on Linux but besides of that stuff, the game should run really easy and one thing to keep in mind with PyGame is most 3d applications don't work through a virtual box, but PyGame does, so you can even be having your windows system open and open a virtual box with PyGame in it and it'll work fine, so you can dev for Linux and windows at the same time, and it'll be quite nice.
209209

210210
45:57 Michael: Oh that is nice, you don't have to do a boot or anything crazy like that. 
211211

transcripts/080.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
00:02:31 Yeah, it's really great. I was talking to Austin, I think it was show 63 possibly about mutation testing. And he said, I'm doing this really cool work with mutation testing. Oh, and for the database, I'm using this cool embedded document oriented database called tiny dB. And since then, I was like, wow, an embedded document database. How awesome and it's 100% in Python. So even cooler. And since that I've wanted to have you on the show and talk about it. So welcome. Yeah, thank you. Yeah, it's gonna be fun to talk about this database. It's tiny. From what I can tell it. Yeah. But before we get into that, of course, let's talk about your story. How did you get into programming in Python?
1010

11-
00:03:12 When I was about 10 years old, 10 years old, I kind of got into programming because my dad bought me the book called c++ for kids. I was 10 years old, I didn't really understand much. I just copied the examples and made sure it compiled. And that was basically it. So later, when I had a book, a Python for kids and Java for kids, then was around 14 or 15 years, I started really doing some programming in Java on my own. So that's when I actually got really started with programming.
11+
00:03:12 When I was about 10 years old, 10 years old, I kind of got into programming because my dad bought me the book called C++ for kids. I was 10 years old, I didn't really understand much. I just copied the examples and made sure it compiled. And that was basically it. So later, when I had a book, a Python for kids and Java for kids, then was around 14 or 15 years, I started really doing some programming in Java on my own. So that's when I actually got really started with programming.
1212

1313
00:03:49 Cool, and what kind of what were some of the first apps he built with Java? What kind of work was that?
1414

@@ -24,7 +24,7 @@
2424

2525
00:06:08 I certainly think it is, as well as the United States, they used to teach Java as the primary computer science 101. first course you take programming languages, and the recent years, it switched to be the primarily Python. So that's great.
2626

27-
00:06:23 at my university, people have to start with C and c++. And they have most people have quite a lot of problems with that. And I guess it would be kind of an easier route to go with Python first. But I don't know. It's their their choice. Yeah, of course, I
27+
00:06:23 at my university, people have to start with C and C++. And they have most people have quite a lot of problems with that. And I guess it would be kind of an easier route to go with Python first. But I don't know. It's their their choice. Yeah, of course, I
2828

2929
00:06:39 think there's something to understanding a C oriented language, where you actually work with pointers and directly with the memory and stuff, but I'm not sure you should start there. You know what, I'm here as your exposure, just for? Yeah, just for comparison, my first computer science 101 course in college was Lisp. So that was really different. Alright, so what do you do? So that's how you got started? What do you do day to day
3030

0 commit comments

Comments
 (0)