Show HN: A Scala Implementation of the Chromaprint/AcoustID Audio Fingerprinter

Show HN: A Scala Implementation of the Chromaprint/AcoustID Audio Fingerprinter

It creates an audio fingerprint designed to identify near-identical audio tracks in the AcoustID and MusicBrainz databases. The algorithm performs a pipeline of operations on an audio stream to extract its fingerprint:

This package is build for Scala 2.11 and 2.12. Then in your Java application:

Then run the command line app (assuming audio file in current folder, double quotes needed for filenames containing spaces).

Source: github.com

Too Many Cooks – Exploiting the Internet-of-TR-069-Things (2014) [video]

Too Many Cooks – Exploiting the Internet-of-TR-069-Things (2014)

TL;DR We unravel the story of a bug that would become one of the most important vulnerabilities released this year. The findings we published earlier this year demystified the voodoo that is TR-069, demonstrated how mass pwnage can be achieved via server-side attacks, and proved the landscape is ripe for harvesting. We will continue where we left off to explore TR-069 client-side vulnerabilities; we analyze client implementations, pour some insight into mysterious results from our internet-wide scans, and follow to mass pwnage through remote code execution on millions of online devices.

Source: media.ccc.de

A Type of Programming

A Type of Programming

So, presumably, the dual of said covariant functor —let’s call it “ the contravariant”— is one that lifts a function into instead, arrow flipped. So, to sum up, s are covariant functors, as witnessed by the existence of their instance, but they are not contravariant functors at all, as witnessed by the impossibility of coming up with a instance for them. And it shouldn’t surprise us, considering how we saw in detail that except for their opposite argument positions, the types of and , as well as their laws, are exactly the same.

Source: atypeofprogramming.com

Show HN: Roc – Real-Time streaming over the network

Show HN: Roc – Real-Time streaming over the network

Finally, Roc provides proof-of-concept PulseAudio modules allowing PulseAudio to improve the network service quality by using Roc as a transport. Roc addresses all these problems by using a jitter buffer to counter network jitter and packet reordering, Forward Erasure Correction codes to recover lost packets, and a frequency estimation algorithm with a resampler to compensate the clocks difference between the sender and receiver. Roc is conceived to support multiple audio encodings, FEC schemes, and network protocols and let the user select what is most appropriate for the specific use-case.

Source: gavv.github.io

The Myth of Food Cravings

The Myth of Food Cravings

Food cravings largely can be explained by this conditioning response, says John Apolzan, assistant professor of clinical nutrition and metabolism at Pennington Biomedical Research Center. Chocolate is one of the most common food cravings in the West – which supports the argument that cravings don’t stem from nutritional deficiencies, since chocolate doesn’t really contain high levels of anything we could be deficient in. In one study, researchers carried out a two-year trial where they randomised more than 300 subjects to one of four diets with different levels of fat, protein and carbohydrates, and measured their cravings and food intake.

Source: www.bbc.com

The Art of Thinking Long-Term Even When Money Is Running Out

The Art of Thinking Long-Term Even When Money Is Running Out

Difficult trade-offs
Short-term gains and long-term investments are often at odds with each other. It takes a lot of time to replace and train someone new, and besides, something really important is happening next month, so we’ll postpone the inevitable. Keep one eye on the prize
Striking a balance between short-term results and long-term investments is difficult, especially when money is limited and you’re under pressure to deliver.

Source: medium.dave-bailey.com

U.S. Says Russia Might Be Setting Off Low-Yield Nuclear Weapons

U.S. Says Russia Might Be Setting Off Low-Yield Nuclear Weapons

Since Trump took office in 2017, there have been growing calls for the United States to resume nuclear testing to support programs to modernize the country’s nuclear arsenal. Regardless of whether Russia is or isn’t conducting secret low-yield nuclear testing, or is preparing to do so in response to the United States doing the same, a dispute over the CTBT is the latest in a worrying trend regarding major arms control agreements. There are already strong indications that the United States and Russia, and potentially other nuclear powers around the world, are already in the midst of a new arms race.

Source: www.thedrive.com

Exponential economist meets finite physicist

Exponential economist meets finite physicist

Earth’s physical resources—particularly energy—are limited and may prohibit continued growth within centuries, or possibly much shorter depending on the choices we make. But two points before we continue: First, I’ll just mention that energy growth has far outstripped population growth, so that per-capita energy use has surged dramatically over time—our energy lives today are far richer than those of our great-great-grandparents a century ago [economist nods]. At that 2.3% growth rate, we would be using energy at a rate corresponding to the total solar input striking Earth in a little over 400 years.

Source: dothemath.ucsd.edu

Hack on Bitcoin in SF at Sparkswap (YC S18)

Hack on Bitcoin in SF at Sparkswap (YC S18)

Everyone should keep the rest of the team informed on what they’re doing, and given how small our team is today (4 full-time employees), we look to bring on avid learners: we frequently figure out problems together, and “bringing someone up to speed” on an issue is a common and recommended practice, even in the middle of a conversation. Every Friday, a team member has the opportunity to grow as a public speaker and teach the rest of the team about some core technology that we use at Sparkswap. On Fridays we do Sparkwap Study Sessions during (or usually right after) lunch, which is a presentation/talk from someone on the team about a core technology.

Source: keyvalues.com