Sorting Algorithm Cheat Sheet

Sorting Algorithm Cheat Sheet

Each algorithm comes with its own set of pros and cons. Once you know what’s important, you can pick the sorting algorithm that does it best. Being able to compare different algorithms and weigh their pros and cons is the mark of a strong computer programmer and a definite plus when interviewing.

Source: www.interviewcake.com

Margaret the Dragon Slayer

Margaret the Dragon Slayer

In an 11th-century English life of Saint Margaret, or Marina, of Antioch, there is a moment when she gets the devil in what martial artists call a ‘submission hold’. In depictions of the scene, Margaret usually has a face of beatific calm, standing in the wreckage of the dragon’s body. The reason for the difference between the saints’ long afterlives – George still widely celebrated; Margaret languishing in relative obscurity – isn’t unconnected to the way the stories are gendered: George saves the girl using his really big sword; Margaret’s power lies in the dark interiors of the body.

Source: www.lrb.co.uk

Uppy 1.0: Your best friend in file uploading

Uppy 1.0: Your best friend in file uploading

Today, after 3 years of development, we are launching version 1.0 of Uppy, our file uploader for web browsers. Harry took on the first version of what was then called Uppy Server (now Companion) — responsible for picking files from Google Drive, Instagram, remote Urls, etc. That’s where Renée joined the team (funny story — we met through collaborating on GitHub on Choo and Yo-Yo libraries) to help us with Uppy React components, Redux integration, the Golden Retriever plugin and many more cool features.

Source: uppy.io

Put Another Zero on Facebook’s Fine. Then We Can Talk

Put Another Zero on Facebook’s Fine. Then We Can Talk

How can I describe the fine of between $3 billion and $5 billion that Facebook is likely to pay to the Federal Trade Commission — which will doubtlessly be touted as its largest ever — to settle the government’s inquiry into what the social networking giant called “our platform and user data practices”? Back in 2011, with I’m-sorrys all around, Facebook signed a consent decree with the F.T.C. around a different set of data abuse issues. This new fine presumably will cover all of the fresh I’m-sorrys since then, for the various and sundry violations that the company has committed over the last several years, including the mistakes the company made in not seeing and then not quickly plugging the epic Cambridge Analytica data leak.

Source: www.nytimes.com

Futures Is Stable on Rust 1.36

Futures Is Stable on Rust 1.36

Sign in to comment

This commit was created on GitHub.com and signed with a verified signature using GitHub’s key. This commit was created on GitHub.com and signed with a verified signature using GitHub’s key. This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.

Source: github.com

Who hit the ball out? An egocentric temporal order bias

Who hit the ball out? An egocentric temporal order bias

To investigate whether there is a systematic bias to perceive one’s own action events as having occurred before external events in real-world temporal order judgments, we had Arizona State University (ASU) student participants (ages 18 to 23) play a timing game. In a replication of our first experiment, we again found a significant main effect bias for participants to believe that their touch occurred before a simultaneous mechanical tactile stimuli, with an ETO bias indicating a 75% chance of reporting “I touched first” at a 0-ms offset (t = 23.47, P < 0.001, d = 4.69) and a corresponding PSS of 47.8 ms (t = 6.56, P < 0.001, d = 1.31) (Fig. 3B). As in the previous experiments, we found the same bias even when participants performed this cross-sensory integration of their own tactile action event and an external auditory stimuli (ETO bias: 67% chance of responding “I touched first” at 0-ms offset, t = 20.22, P < 0.001, d = 4.56; PSS: 45.3 ms, t = 3.77, P < 0.001, d = 0.75) (Fig. 3C).

Source: advances.sciencemag.org

Why Symbols Aren’t Forever

Why Symbols Aren’t Forever

Many other cities have chosen to leave statues, place names, and monuments unchanged. The developer advertised the Klansman’s name across the city, over the airwaves, on billboards, and in flyers—invading many homes that were once subject to the discriminatory policies in place during Stapleton’s time as mayor. Removing symbols that have a dark history doesn’t erase past wrongs, but it does acknowledge those harms and open the door for a better future: concepts that are understood by our local middle schoolers who have pushed to remove the name Stapleton from their school.

Source: www.sapiens.org

Synthetic Speech Generated from Brain Recordings

Synthetic Speech Generated from Brain Recordings

Synthetic Speech Generated from Brain Recordings

New Technology is a Stepping Stone to a Neural Speech Prosthesis, Researchers Say

By

Nicholas Weiler

A state-of-the-art brain-machine interface created by UC San Francisco neuroscientists can generate natural-sounding synthetic speech by using brain activity to control a virtual vocal tract – an anatomically detailed computer simulation including the lips, jaw, tongue and larynx. Study senior author Edward Chang, MD, has been studying how the brain produces and analyzes speech for over a decade and aims to develop a speech prosthesis to restore the voices of individuals who have lost speech to paralysis and other forms of neurological damage. Virtual Vocal Tract Improves Naturalistic Speech Synthesis

The research was led by Gopala Anumanchipalli, PhD, a speech scientist, and Josh Chartier, a bioengineering graduate student in the Chang lab.

Source: www.ucsf.edu

Can Uber ever make money?

Can Uber ever make money?

Uber and Lyft in America, Didi in China and other ride-hailing firms elsewhere have used sackloads of venture capital to drive down fares and flood the streets of big cities with cars, clobbering the earnings of licensed rivals. Len Sherman of Columbia Business School draws a parallel between Uber’s business and that of unregulated taxis in New York in the 1930s, when Ford’s Model emerged as a new, low-cost cab. Uber and Lyft are reprising that episode as they fight city by city for drivers and customers.

Source: www.economist.com

Open-sourcing F14 for memory-efficient hash tables

Open-sourcing F14 for memory-efficient hash tables

The core idea of F14 is to use the hash code to map keys to a chunk (a block of slots) instead of to a single slot, then search within the chunk in parallel. The two-step search is a bit more work than in a normal hash table algorithm when neither has a collision, but F14 is faster overall because there’s a much lower probability that a collision will interfere with instruction pipelining. Two common strategies for hash table memory layouts are indirect (typically with a pointer stored in the main array) and direct (with the memory of the keys and values incorporated directly into the main hash array).

Source: code.fb.com