Archive

Category Archives for "Networking"

Double Parentheses in Python

Python is one of the easiest programming languages to learn, because of it’s inherent flexibility. (This can be a good thing as well as a bad thing.)

One example of Python’s flexibility is the double parentheses. Take the following snippet for example:

print funcwrapper(3)(2)

Even an inexperienced programmer should be able to make sense of most of this. Reading from left to right, it looks like we want to print the output of a function, and we’re passing an integer - 3 - to that function. However, the second pair of parentheses doesn’t quite make sense.

This notation is different from what we would do if we wanted to pass two arguments to a function; in that case, we’d put them all inside a single pair of parentheses and separate them via commas:

print funcwrapper(3, 2)

So what does the first example using two pairs of parentheses accomplish?

The use of a double parentheses is actually an indicator of one of Python’s coolest features - and that is that functions are themselves, objects! What does this mean?

Let’s work our way up to the snippet above by first defining a very simple function - something that takes an integer Continue reading

US Senate blocks NSA surveillance reform bill

The U.S. Senate voted early Saturday to block the USA Freedom Act, a legislation that aimed to put an end to the bulk collection of telephone records by the National Security Agency.It also voted down a bill that would extend to July 31 certain provisions of the Patriot Act, including Section 215, which provides the legal framework for the current NSA phone surveillance program.The Senate, which adjourned Saturday for the Memorial Day weekend, will reconvene on May 31, when it will try to hammer out a deal ahead of the June 1 deadline when the Patriot Act provisions expire, unless reauthorized in the same or modified form by legislation.To read this article in full or to leave a comment, please click here

Citizens of Tech 004 – Retro Virtual Reality Kittehs

A cat sets a world record. A surgical robot gets hacked. Capsela was a sweet toy. Oculus Rift is going to be available soon. Larsen B is falling into the Antarctic Ocean. Spotify takes on video. All this & more on this week's Citizens of Tech with Eric Sutphen & Ethan Banks.

Author information

Ethan Banks

Ethan Banks, CCIE #20655, has been managing networks for higher ed, government, financials and high tech since 1995. Ethan co-hosts the Packet Pushers Podcast, which has seen over 3M downloads and reaches over 10K listeners. With whatever time is left, Ethan writes for fun & profit, studies for certifications, and enjoys science fiction. @ecbanks

The post Citizens of Tech 004 – Retro Virtual Reality Kittehs appeared first on Packet Pushers Podcast and was written by Ethan Banks.

Suhosin: How to harden your PHP web application

The number of Internet servers that run the PHP language is incredible: According to Netcraft, as of January, 2012, something around 244,000,000 web sites were running PHP and according to a May, 2015, survey by W3Techs “PHP is used by 81.9% of all websites whose server-side programming language we know.” Bottom line: PHP rules.The lure of PHP is that it's easy to learn, easy to develop with, and flexible (though not every one thinks PHP is a good idea). On the other hand, as with all programming languages, PHP has security issues so poor coding practices can make a server vulnerable to hackers.To read this article in full or to leave a comment, please click here

Double Parentheses in Python

Python is one of the easiest programming languages to learn, because of it’s inherent flexibility. (This can be a good thing as well as a bad thing.) One example of Python’s flexibility is the double parentheses. Take the following snippet for example: print funcwrapper(3)(2) Even an inexperienced programmer should be able to make sense of most of this. Reading from left to right, it looks like we want to print the output of a function, and we’re passing an integer - 3 - to that function.

Double Parentheses in Python

Python is one of the easiest programming languages to learn, because of it’s inherent flexibility. (This can be a good thing as well as a bad thing.) One example of Python’s flexibility is the double parentheses. Take the following snippet for example: print(funcwrapper(3)(2)) Even an inexperienced programmer should be able to make sense of most of this. Reading from left to right, it looks like we want to print the output of a function, and we’re passing an integer - 3 - to that function.

Show 238 – A Deeper Look at SD-WAN with CloudGenix – Sponsored

Vijay Sagar and Aaron Edwards of CloudGenix discuss the software defined WAN with the Packet Pushers. We've heard from CloudGenix before on Priority Queue Show 49. If you missed that show, you might want to give it a listen first to get the most out of this podcast. On this show, we go a bit deeper into CloudGenix -- what it does, how it does it, and how you'd integrate it into your network.

Author information

Ethan Banks

Ethan Banks, CCIE #20655, has been managing networks for higher ed, government, financials and high tech since 1995. Ethan co-hosts the Packet Pushers Podcast, which has seen over 3M downloads and reaches over 10K listeners. With whatever time is left, Ethan writes for fun & profit, studies for certifications, and enjoys science fiction. @ecbanks

The post Show 238 – A Deeper Look at SD-WAN with CloudGenix – Sponsored appeared first on Packet Pushers Podcast and was written by Ethan Banks.

PlexxiPulse—A Visit From Networking Legend Dr. Doug Comer

It has been an exciting week here at Plexxi! Dr. Doug Comer spent the day with us on Wednesday learning about our products and new network architecture. Dr. Comer is an internationally recognized networking guru, widely known for his series of groundbreaking textbooks on computer networks, the Internet, computer operating systems and computer architecture (including the popular ‘Internetworking with TCP/IP’). He designed and implemented X25NET and Cypress networks as well as the Xinu operating system. He is currently a professor of computer science at Purdue University where he teaches courses on operating systems and computer networks. It was a pleasure having him at the Plexxi headquarters—we hope he learned as much from us as we did from him! Take a look at a few photos from his visit.

IMG_1286

IMG_1289

Below please find a few of our top picks for our favorite news articles of the week. Have a great Memorial Day weekend!

InfoWorld: 3 ways the data lake is actually not helping with IT agility
By Yves de Montcheuil
Loosely speaking, a data lake is the big data version of an operational data store, plus a network storage appliance, plus data processing/query engines, all combined — typically in a Hadoop cluster Continue reading

US Senate leader pushes to extend NSA phone dragnet

The U.S. Senate was deadlocked on Friday over whether to extend authorization for the National Security Agency’s massive collection of domestic telephone records, with Majority Leader Mitch McConnell insisting the surveillance program should continue with no new limits.With a weekend deadline looming, McConnell advocated for extending the section of the Patriot Act that the NSA has used to justify its collection of millions of U.S. phone records over the last nine years. Section 215 of the Act, which allows the agency to collect any telephone and business records relevant to a counterterrorism investigation, expires June 1, and Congress is scheduled to take a week-long recess starting this weekend.To read this article in full or to leave a comment, please click here

US Senate leader pushes to extend NSA phone dragnet

The U.S. Senate was deadlocked on Friday over whether to extend authorization for the National Security Agency’s massive collection of domestic telephone records, with Majority Leader Mitch McConnell insisting the surveillance program should continue with no new limits.With a weekend deadline looming, McConnell advocated for extending the section of the Patriot Act that the NSA has used to justify its collection of millions of U.S. phone records over the last nine years. Section 215 of the Act, which allows the agency to collect any telephone and business records relevant to a counterterrorism investigation, expires June 1, and Congress is scheduled to take a week-long recess starting this weekend.To read this article in full or to leave a comment, please click here

Cisco’s IoE keeps abreast of cancer

The Internet of Things/Everything can serve as a potentially lifesaving tool. Sensor-based wearable technology can monitor bodily vitals to determine if any health risks are imminent.Cisco and customer Cyrcadia Health are involved in the development of what it calls an iTBra to monitor a woman’s body temperature to determine if she is at risk for breast cancer. The iTBra is a personal screening tool intended as an intelligent monthly breast health monitor.The iTBra is made up of patches placed under a normal bra that collect up to 12 hours of normal and abnormal cellular activity associated with breast cancer. The iTBra bra is designed to take tissue density, a gating factor in the accuracy of mammography screening, out of the detection equation.To read this article in full or to leave a comment, please click here

Tutorial for creating first external SDN application for HP SDN VAN controller – Part 1/3: LAB creation and REST API introduction

For best article visual quality, open Tutorial for creating first external SDN application for HP SDN VAN controller – Part 1/3: LAB creation and REST API introduction directly at NetworkGeekStuff.

In this tutorial series, I will show you by example, how to build your first external REST API based SDN application for HP SDN VAN controller, with web interface for the user control. Target will be to learn how to use REST API, curl and perl scripting to generate some basic and useful code to view and also manipulate network traffic.

This article is part of “Tutorial for creating first external SDN application for HP SDN VAN controller” series consisting these articles:

In this Part 1/3, we will discuss creation of a quick development lab with HP SDN VAN controller and Mininet network and explore the REST API interface quickly.

Internal vs External SDN applications

The difference is this, external applications do not need to run inside the SDN controller itself and can rely on REST API commands transferred over network from Continue reading

IDG Contributor Network: Connected cars will overload mobile networks, report says

If you think stop-and-go city traffic can be bad around rush hour, just wait until connected cars get in on the act and start bringing mobile networks to a standstill too. There isn't enough capacity, a new report says.Market intelligence strategist Machina Research paints a gloomy connectivity picture of excessive growth from M2M, which includes connected cars.Growth in that area threatens to disrupt all mobile data traffic.Parking lot UK-based Machina Research analyzes Internet of Things (IoT), M2M and Big Data. Its report says that mobile data will double in certain cells at rush hour. The report predicts a 97% increase over 10 years. The big driver will be cars.To read this article in full or to leave a comment, please click here