Why did we wait so long for the bicycle?

Why did we wait so long for the bicycle? Early bicycles were inconvenient and dangerous. A bicycle, from what I’ve read, was cheaper to buy than a horse, and it was certainly cheaper to maintain (if nothing else, you don’t have to feed a bicycle). And it turns out that inventors were interested in the problem of human-powered vehicles, dispensing with the need for horses, for a long time before the modern bicycle. Sources and further reading: Excerpt from Bicycle, by David V. Herlihy, “Of Velocipedes and Draisiennes”, “Who Invented the Bicycle?”, and many Wikipedia articles including “History of the bicycle”.

Link  |  View on HN

To Break Google’s Monopoly on Search, Make Its Index Public

Why did this happen? Please make sure your browser supports JavaScript and cookies and that you are not blocking them from loading. For more information you can review our Terms of Service and Cookie Policy.

Link  |  View on HN

BPF Performance Tools: Linux System and Application Observability

BPF (eBPF) tracing is a superpower that can analyze everything, and I'll show you how in my upcoming book BPF Performance Tools: Linux System and Application Observability, coming soon from Addison Wesley. The book includes over 150 BPF observability tools that you can run to find performance wins and troubleshoot software, and also shows you how to write your own. I've been helping lead BPF observability since 2014, and I'm a major contributor and maintainer for the front-ends. BPF Performance Tools focuses on one topic only – observability – and goes deeper. For URLs where to find the book and updates, please see my website BPF Performance Tools (book).

Link  |  View on HN

Defunctionalize the Continuation

Hello world! By day, I work at MIT trying to make program transformation and synthesis tools easier to build ("programs that write programs that write programs"), and by night I help software engineers learn to write better code. I blog mainly about improving code quality, and occasionally about life quality.

Link  |  View on HN

How many kinds of USB-C to USB-C cables are there?

A USB 3.0 capable USB-B plug was physically larger than a 2.0 plug and would not fit into a USB 2.0-only receptacle. Cables with a USB-C plug on both ends (C-to-C), hitherto referred to as “USB-C cables”, come in several varieties. “Full-Featured Type-C Cables” are required for the most common USB-C Alternate Mode used on PCs and many phones today, VESA DisplayPort Alternate Mode. VESA DP Alt mode requires most of the 10 extra wires present in a Full-Featured USB-C cable. USB-C cables are mandated by USB-IF to bear a particular logo in order to be certified:Collectively, we have to teach users that if they need DisplayPort to work, they need to find cables with the two logos on the right.

Link  |  View on HN

Amazon workers launch protests on Prime Day

Unions say that 2,000 workers are on strike in Germany, while in the US, workers in a Minnesota centre reportedly plan a six-hour stoppage. William Stolz, a picker at a warehouse in the Shakopee warehouse in Minnesota, told the BBC that workers wanted "safe, reliable jobs" from Amazon. "While Amazon fuels bargain hunting on Prime Day with hefty discounts, employees are being deprived of a living wage," said Orhan Akman, retail specialist at Verdi. Mick Rix, GMB national officer, said: "Amazon workers want Jeff Bezos to know they are people not robots. It's prime time for Amazon to get round the table with GMB and discuss ways to make the workplaces safer and to give their workers and independence voice".

Link  |  View on HN

Cities: Skylines Is Turing Complete

Cities: Skylines is Turing Complete Daniel Bali Follow Jul 15 · 5 min read (Non-clickbait title: building a 4-bit adder in Cities:Skylines.) Cities: Skylines is a city simulation game that is complex enough to build universal logic gates in it. Water towers provide clean water, sewage pipes get rid of waste — both of these require electricity. The main cast left to right: oil power plant, water tower, sewage pipe. The output is the power line attached to the power plant.

Link  |  View on HN

Epic Games Supports Blender Foundation with $1.2M

“Having Epic Games on board is a major milestone for Blender,” said Blender Foundation founder and chairman Ton Roosendaal. About Unreal EngineEpic Games’ Unreal Engine technology brings high-quality games to PC, console, mobile, AR and VR platforms. About Epic GamesFounded in 1991, Epic Games is the creator of Fortnite, Unreal, Gears of War, Shadow Complex, and the Infinity Blade series of games. Epic’s Unreal Engine technology, which brings high-fidelity, interactive experiences to PC, console, mobile, AR, VR and the Web, is freely available at unrealengine.com. The Epic Games store offers a handpicked library of games, available at epicgames.com.

Link  |  View on HN

Let's Build a Compiler

This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. But our pointers still present a problem - they still use all of the bits. (define (immediate - rep x) ( cond ((integer? x) ( logior ( ash ( char -> integer x) char - shift) char - tag)) ((boolean? Now, let's try testing it again:scheme@(guile-user)> (load "compiler.scm") ... scheme@(guile-user)> (compile-and-run 2) 2 scheme@(guile-user)> (compile-and-run -272) -272 scheme@(guile-user)> (compile-and-run #t) #tSuccess!

Link  |  View on HN

Why I'm Leaving Medium

I’m hoping it will shed some light on blogging-as-a-business, provide the Medium team some useful feedback, and explain to my audience why I’m putting them through this migration. Only the biggest operations could afford to play this game, so we mistakenly concluded that online media only worked for large corporations. I’ve come to believe that we’re seeing the death of the freemium model that has governed online media since its inception. My hope is that reading Praxis likewise saves my members many hours of first-hand research and experimentation. Why I’m leaving MediumIn the past year, Medium has pivoted to an “open paywall.” Any writer can join with the click of a button, allowing them to make money on their articles.

Link  |  View on HN