Thawing permafrost is destroying Arctic cities (2016)

Thawing permafrost is destroying Arctic cities (2016)

Yury wasn’t a poor craftsman, and Nadezhda wasn’t crazy: one corner of their five-storey building at 59 Talnakhskaya Street in the northern Russian city of Norilsk was sinking as the permafrost underneath it thawed and the foundation slowly disintegrated. Cracking and collapsing structures are a growing problem in cities like Norilsk – a nickel-producing centre of 177,000 people located 180 miles above the Arctic Circle – as climate change thaws the perennially frozen soil and increases precipitation. Valery Tereshkov, deputy head of the emergencies ministry in the Krasnoyarsk region, wrote in an article this year that almost 60% of all buildings in Norilsk have been deformed as a result of climate change shrinking the permafrost zone.

Source: www.theguardian.com

‘Where was the Lord?’: Slave testimonies

‘Where was the Lord?’: Slave testimonies

: On Jefferson Davis’ birthday, 9 slave testimonies

The voices of five men and four women, once held in human bondage, interviewed in Alabama in 1937. The Confederate Constitution contained a provision explicitly prohibiting any law “impairing the right of property in negro slaves,” and his vice president, Alexander Stephens, said the “cornerstone” of the new government “rests upon the great truth, that the negro is not equal to the white man; that slavery — subordination to the superior race — is his natural and normal condition.” Four slave testimonies

Stories from U.S. slaves Delia Garlic, William Colbert, Laura Clark and George Young, narrated by Dr. Wendy R. Coleman of Alabama State University.

Source: www.montgomeryadvertiser.com

Jerry (YC S17) Is Hiring Software Developers in Toronto

Jerry (YC S17) Is Hiring Software Developers in Toronto

That is why we built jerry.ai to create the easiest experience for our users. Enabled by disruptive technologies, jerry.ai aims for the one-click user experience in financial product offerings which traditionally requires users to fill out long forms. Based in Silicon Valley, we are looking for engineering talent to join our team in Canada.

Source: jerry.workable.com

Pointers in Python

Pointers in Python

Variables in C

Let’s say you had the following code that defines the variable x:

This one line of code has several, distinct steps when executed:

Allocate enough memory for an integer

Assign the value 2337 to that memory location

Indicate that x points to that value

Shown in a simplified view of memory, it might look like this:

Here, you can see that the variable x has a fake memory location of 0x7f1 and the value 2337. Let’s take the equivalent code from the above C example and write it in Python:

Much like in C, the above code is broken down into several distinct steps during execution:

Create a PyObject

Set the typecode to integer for the PyObject

Set the value to 2337 for the PyObject

Create a name called x

Point x to the new PyObject

Increase the refcount of the PyObject by 1

Note: The PyObject is not the same as Python’s object. The Python name x doesn’t directly own any memory address in the way the C variable x owned a static slot in memory.

Source: realpython.com

I Wrote This on a 30-Year-Old Computer

I Wrote This on a 30-Year-Old Computer

Everything about this computer is loud: The groan of the power supply is loud. This is the experience a computer user would have had every time she booted up her Macintosh SE, a popular all-in-one computer sold by Apple from 1987 to 1990. It’s one of the reasons why computers weren’t as universal three decades ago as they are today, especially at home.

Source: www.theatlantic.com

Universal Logic Gates (2015)

Universal Logic Gates (2015)

There are many articles about how NAND and NOR are universal gates, but many of these articles omit other gates that are also universal gates. This article covers two input logic gates, demonstrates that the NAND gate is a universal gate, and demonstrates how other gates are universal gates that can be used to construct any logic gate. This article has discussed logic gates, universal gates, demonstrated that the NAND gate is a universal gate, and proven that four additional universal logic gates exist.

Source: www.allaboutcircuits.com

There’s a Relational Database in Your Unix CLI

There’s a Relational Database in Your Unix CLI

The flag to use is , which indicates that we should show all lines from File 1. You specify a file number along with it, and then will only print out the lines from that file that could not be paired with any lines in the other file. Even after over a decade of using the Unix command line, I’m still surprised by it.

Source: spin.atomicobject.com

In Defence of the Technical Interview

In Defence of the Technical Interview

I’ve heard of firms that ask candidates to actually write full blown, real world programs outside of interview time. Beyond the obvious copyright issues if you don’t get an assignment from the candidate, there’s no good way to make this process repeatable, no way to ensure the question always fits the available time, and no way to ensure you see a good range of programming skills (e.g. the feature may simply involve copy/pasting some existing code with minor tweaks). Companies do code testing because they have encountered so many candidates who look good on paper, and may even be able to talk about computers convincingly, but can’t actually write a program when asked.

Source: blog.plan99.net

Why Hong Kong Is Still Marching

Why Hong Kong Is Still Marching

“I believe that we cannot withdraw this bill, or else society will say that this bill was groundless,” Carrie Lam, Hong Kong’s chief executive , said at a news conference on Saturday. But Mrs. Lam stopped short of withdrawing the bill. For 79 days in 2014, thousands of protesters set up camp in Hong Kong’s main thoroughfares.

Source: www.nytimes.com

Walmart Grocery is now offering a $98 per year ‘Delivery Unlimited’ subscription

Walmart Grocery is now offering a $98 per year ‘Delivery Unlimited’ subscription

Walmart is taking aim at Instacart, Target’s Shipt and Amazon Prime Now/Whole Foods with a new grocery delivery subscription service called simply, “Delivery Unlimited.” Before, Walmart shoppers could order groceries online and pick them up at their local store for free or they could opt to pay the $9.95 (or sometimes less) per-order delivery fee. We reached out to Walmart for details, but the retailer has yet to respond to questions about the Delivery Unlimited service, or clarify how long it’s been around.

Source: techcrunch.com