Home > Topics > Open Source

Open Source

Open Source Resource Center

Articles

Functions in Python have a variety of extra features that make the programmer’s life easier. Some are similar to capabilities in other programming languages, but many are unique to Python. These extras can make a function’s purpose more obvious. They can eliminate noise and clarify the intention of callers. They can significantly reduce subtle bugs that are difficult to find. In this excerpt from Effective Python: 59 Specific Ways to Write Better Python, Brett Slatkin shows you 4 best practices for function arguments in Python.

Hal Fulton

Hal Fulton, author of The Ruby Way, points out some of the extensive changes Ruby has experienced in less than a decade. By paying attention to why and how programming languages evolve, we can learn from experience and past mistakes, deliberately changing the language (and especially our usage of it) for a better future.

There are numerous problems with threads in Python, but Python can work around almost all of these issues with coroutines, which let you have many seemingly simultaneous functions in your Python programs. Brett Slatkin discusses coroutines in this excerpt from Effective Python: 59 Specific Ways to Write Better Python.

A string is simply a sequence of characters. Like most entities in Ruby, strings are first-class objects. In everyday programming, we need to manipulate strings in many ways. We want to concatenate strings, tokenize them, analyze them, perform searches and substitutions, and more. In this chapter from The Ruby Way: Solutions and Techniques in Ruby Programming, 3rd Edition, Hal Fulton and André Arko show you how Ruby makes most of these tasks easy.

See More Open Source Articles

Blogs

Brad Yale

I spend a lot of time online looking for answers. I spend a lot of time online crowd sourcing various communities for those answers. I spend a lot of time online sifting through the best online community based forums to find how-to tutorials and quick fixes. In this spirit, I present the best question/answer sites for developers, programmers, mobile devs and web hosting professionals.  

Brad Yale

There are times when you want to browse the web but you want to do it privately, without being traced. Sure, you could go ahead and utilize the incognito feature built into most major web browsers however to truly browse in anonymity, there is nothing better than utilizing a secure SSH SOCKS Tunnel. In this quick "how-to", we are going to show you how to set up a secure SSH Socks Tunnel enabling you to route all your web traffic through your host.  

John  Traenkenschuh

Just got notice that Microsoft is making a full-featured version of Visual Studio available--for free.  Traenk is happy.

Brad Yale

A few months back I wrote a post titled "Why Open Source Matters: Musings from OSCON 2014". The post covered five reasons why Open Source matters. Those reasons were/are:


  1. Code, Glitches and Open Source Security
  2. Open Source Software
  3. GitHub
  4. The Stringent Control of Proprietary Software
  5. The Endless Ability to Test, Play and Alter

While those reasons still ring true, I want to use this space to center in on another topic speaking to why Open Source and OSS matters more than ever: project management and time constraints.

See More Open Source Blogs