Tags » Iterator

Spelunking Linux - what is this auxv thing anyway

While spelunking Linux, trying to find an easier way to do this or that, I ran across this vDSO thing (virtual ELF Dynamic Shared Object). What? 2,062 more words


Spelunking Linux - Yes, the system truly is a database

In this article: Isn’t the whole system just a database? – libdrm, I explored a little bit of the database nature of Linux by using libudev to enumerate and open libdrm devices.  842 more words


A skeleton code for Iterator in Rust

For record, I wrote down the same code.

Consuming Iterator

Iterator that does not consume items


Handling Multiple Windows in Selenium Webdriver

Hello friends. In this article we are going to see how to handle multiple windows in Selenium Webdriver. There are situations where we would have to deal with multiple windows. 265 more words


Python - Iterators

Post contents:
– What is an iterator?
– Examples
– Pros/Cons
– Cases

What is an iterator?

https://docs.python.org/2/glossary.html#term-iterator defines an iterator as

An object representing a stream of data.

844 more words

More Project Euler madness

Finished problem 3 of Project Euler (woo!)

My solution in python is up here

The problem is here

Notable about this problem was how it required me to approach the problem, and realizing that the answer ties into the concept of… 196 more words

Ruby : Array : Iterate the given block for each array of consecutive elements

each_cons(p1) public

Iterates the given block for each array of consecutive <n> elements. If no block is given, returns an enumerator. 61 more words