Is sorted using SIMD instructions
Recently, I came across a function that checks whether an array is sorted, i.e. if there is no element which would be greater than its successor. Below is a sample implementation:
Recently, I came across a function that checks whether an array is sorted, i.e. if there is no element which would be greater than its successor. Below is a sample implementation:
concurrent.futures is well suited to Embarrassingly Parallel tasks. You could write concurrent code with a simple for loop.
Latanya Sweeney blew the whistle on how easy supposedly de-identified data could be re-identified. Her results were not well received.
the first thing i thought when we setup our bee hive was "i wonder how you could count the number of bees coming and going?"
As a developer, you have the power to change the world! You can write programs that enable new technologies. For instance, develop software to find an earlier diagnosis of diseases. But that’s not the only way. You might do it indirectly by creating projects that make people more productive and help them free up time…
Writings about computing, agents, and the Internet.
Most of the projects I've been working on today have fairly strict code review policies. My work requires code review on most of our code, and as we bring on an army of interns for the summer, I've been responsible for reviewing lots of code. Additionally, about five months ago BarnOwl, the console-based IM client I…
I had heard of it years ago, but never really gave it a lot of thought (or time) to it, despite being a huge fan of Common Lisp and a bit of a language polyglot. I think part of my initial reluctance may have been 'java' - as I would typically associate just the negatives to it (cumbersome language syntax, slow start…
Recently I was fortunate enough to chat with Chris Bacon who wrote DotNetAnywhere (an alternative .NET Runtime) and I quipped with him:
You're probably reading this page because you've attempted to access some part of my blog (Wandering Thoughts) or CSpace , the wiki thing it's part of. Unfortunately you're using a browser version that my anti-crawler precautions consider suspicious, most often because it's too old (most often this applies to versions…
Most use cases of ActivityPub would be better off as Atom or RSS feeds.
So, you’ve got a program that’s using more and more over time as it runs. Probably you can immediately identify this as a likely symptom of a memory leak. But when we say “memory leak”, what do we actually mean? In my experience, apparent memory leaks divide into three broad categories, each with somewhat different…
Consider whether we're advocating for Firefox in the right way, on the right grounds.
The Java ecosystem has always been built on a high quality $free (zero-cost) JDK available from Oracle, and previously Sun. This is as true...
Update 2018-06-19: Yubico updated their statement on 2018-06-18, apologizing and crediting us: https://twitter.com/Yubico/status/1008816076610625536
If you work with anything that can be modeled mathematically, you most likely know that many things you work on can be expressed with algebras. However, if you are not a graduate of a computer science course or similar you might not know how ubiquitous they are and how often you rely on some of them. (And I don’t mean…
The road to a solid-state switch was a long and complex one. It began with the discovery that certain materials behaved oddly with respect to electricity – differently than any existing theor…
Hey, it's Zamenhofa Tago, otherwise known as Esperanto Book Day. Read on to learn more about the international language and why it's so cool.
My experiences with Gradle and why I finally moved back to Maven
What happened was, I was walking through a train station on the way to work with the buds playing randomly on shuffle and a knifeblade of Real Music came in from outside so I had to pull them out of my ears, there was this young dude getting great electric sound out of a teeny amp doing a slow take on Little Wing with…
Thanks, Hamilton1. The two reports look like excellent studies. At first scan, it looks like there are still things to examine though. For example, if ‘Oumuamua is considered representative of extra-solar objects in its debris trail, then the idea that extra solar meteorites showing up, say in Greenland, is in real…
In everything we do, we play the long or the short game. The short game is easy, pleasurable, and offers visible and immediate benefits. But it almost never leads to success. Here's how to play the long game.
At Recode’s Code Media conference on Feb. 13, 2018 (a few hours ago as I write this), they live streamed an interview with Ronny Abovitz, CEO of Magic Leap and NBA commissioner Adam Silver. The int…
Why buy an expensive desktop computer when your iPhone is a faster SMT solver?
How to script in any language thanks to rootless containers and BINFMT_MISC.
Harlem Children’s Zone (HCZ), an ambitious social experiment, combines community programs with charter schools. We provide the first empirical test of the causal impact of HCZ charters on educational outcomes. Both lottery and instrumental variable identification strategies suggest that the effects of attending an HCZ…