Active Cache a RESTful Response in Crafter CMS

See the original posting on DZone Python

Any time your services depend on another service there is a cause for concern. You can’t control the performance or the availability of the external service. Further, if the response of the external service is not unique across calls then there may be no real need to call out to it on each request you receive.

In this case, what you want to do is cache the request from the external service and have your service attempt to get the content from the cache. Active cache is a built-in Crafter CMS capability that makes building these sorts of solutions much easier. You tell Active Cache what you want, how to get it, and how often to refresh it in the background. From there on, you simply ask Active cache for whatever the current response is.

Heathkit’s New RF Meter: Who is it for?

See the original posting on Hackaday

Electronic hackers and ham radio operators of a certain age have a soft spot for the Heathkit brand. Maybe that’s why we had a rush of nostalgia when we saw the Heathkit site had a new product. You may recall that Heathkit had gone the way of the dodo until a few years ago when the brand started to resurface. Their latest kit is a precision RF meter which is available on preorder.

Before there were websites and hacker spaces and all the modern push to “do it yourself,” Heathkit was teaching people electronics through kit building. Sure, they were …read more

EV3DEV Lego Linux Updated

See the original posting on Hackaday

The ev3dev Linux distribution got an update this month. The distribution targets the Lego EV3 which is a CPU Lego provides to drive their Mindstorm robots. The new release includes the most recent kernel and updates from Debian 8.8. It also contains tools needed for some Wi-Fi dongles and other updates.

If you haven’t seen ev3dev before, it is quite simply Linux that boots on the EV3 hardware using an SD card. You don’t have to reflash the computer and if you want to return to stock, just take out the SD card. You can also use ev3dev on a …read more

EV3DEV Lego Linux Updated

See the original posting on Hackaday

The ev3dev Linux distribution got an update this month. The distribution targets the Lego EV3 which is a CPU Lego provides to drive their Mindstorm robots. The new release includes the most recent kernel and updates from Debian 8.8. It also contains tools needed for some Wi-Fi dongles and other updates.

If you haven’t seen ev3dev before, it is quite simply Linux that boots on the EV3 hardware using an SD card. You don’t have to reflash the computer and if you want to return to stock, just take out the SD card. You can also use ev3dev on a …read more

Crunch Report | Google To Stop Scanning Inboxes

See the original posting on TechCrunch

Crunch Report June 23 Today’s Stories  Google now has all the data it needs, will stop scanning Gmail inboxes for ad personalization Samsung’s Galaxy Note8 will reportedly be the company’s most expensive smartphone yet YouTube TV expands to 10 more U.S. markets, adds more YouTube Red series Tesla said to be in talks to create its own streaming music service Credits Written and Hosted by:… Read More

Scientists are racing to predict where the next pandemic will start

See the original posting on The Verge

In a race to prevent future deadly pandemics, scientists are trying to pinpoint the animals and regions where the next Ebola or Zika might arise — before the viruses start harming people. But some experts argue that it makes more sense to look for new viruses in humans, not other animals. In fact, the next emerging infectious disease is probably already out there, making people sick.

Animals host a massive number of viruses, and sometimes these viruses make the jump to humans. (These viruses are called zoonoses.) This happens pretty rarely, but when it does, it can wreak havoc: most pandemics in recent memory like HIV, pandemic influenza, and Zika were caused by viruses that started out in animals….

Continue reading…

For Binary Capital’s investors, a public apology may fall short

See the original posting on TechCrunch

 In May of last year, venture capitalist Justin Caldbeck of Binary Capital tweeted: “Big believers in ‘addition by subtraction’ for company culture. Bad apples impact others, and rest of team will thank you when they’re gone.” We may never know what company Caldbeck was referencing, but certainly, his messaging seems ironic in light of a detailed report about his… Read More

Andrew Ng announces Deeplearning.ai, his new venture after leaving Baidu

See the original posting on TechCrunch

 Andrew Ng, the former chief scientist of Baidu, announced his next venture, Deeplearning.ai, with only a logo, a domain name and a footnote pointing to an August launch date. In an interesting twist, the Deeplearning.ai domain name appears to be registered to Baidu’s Sunnyvale AI research campus — the same office Ng would have worked out of as an employee. It’s unclear… Read More

Review: bug-zapping lightbulbs are worthless

See the original posting on Boing Boing

I got one of those bug-zapping LED lightbulbs, in hopes of murdering the flies drifting into my office during the increasingly warm and muggy Pennsylvania summer. I got mine from Home Depot, but the bulbs at Lowes, Wal-Mart and Amazon are all obviously identical. There are two lights in each bulb: an ultraviolet one inside an electrified bug-zapping cage, and a standard 60W-equivalent LED element to light the room. You can have one or both lit simply by turning the light off and on repeatedly within a second: it sounds clunky, but in practice is an ingenious way to cycle the options without adding interface elements.

But it doesn’t matter, because they’re useless.

I installed my bulb in three locations, moving it every couple of days until a week had passed. As a control, I moved one of those traditional gooey fly strips likewise.

Subjectively, neither did much to stop the flies, a job clearly best accomplished by closing the damn windows.

Objectively, the death tolls were as follows:

Traditional fly strip: 9 bugs, 3 large.

Bug-zapping lightbulb: 4 bugs, all tiny. (The bulb is pictured here, without cleaning)

VERDICT: Don’t be tempted: they’re not half as good as fly strips and are many times the price. The only advantage they have is not being quite so gross when you throw them in the trash.

Getting Data Off Proprietary Glucometers Gets a Little Easier

See the original posting on Hackaday

Glucometers (which measure glucose levels in blood) are medical devices familiar to diabetics, and notorious for being proprietary. Gentoo Linux developer [Flameeyes] has some good news about his open source tool to read and export data from a growing variety of glucometers. For [Flameeyes], the process started four years ago when he needed to send his glucometer readings to his doctor and ended up writing his own tool. Previously it was for Linux only, but now has Windows support.

Glucometers use a variety of different data interfaces, and even similar glucometers from the same manufacturer can use different protocols. Getting …read more

Snapchat’s newest feature is also its biggest privacy threat

See the original posting on The Verge

Earlier this week, Snapchat introduced Snap Map, an opt-in function that allows you to share your location with your friends on a map. Snapchat’s introduction video to Snap Map, seen above, focuses on sharing the location of posted Snaps to Our Story, which is public, and could be useful for, say, seeing a collection of Snaps posted from a particular event.

But what Snapchat doesn’t tell you in the video, or in the app, is that if you aren’t careful, Snap Map will broadcast your exact location to anyone on your friends list every time you open the app.

When you update Snapchat and get to the Snap Map walkthrough, as seen below, only three screens need to be clicked through to complete it. Though it mentions sharing your location, what…

Continue reading…

Canada: Trump shows us what happens when “good” politicians demand surveillance powers

See the original posting on Boing Boing

The CBC asked me to write an editorial for their package about Canadian identity and politics, timed with the 150th anniversary of the founding of the settler state on indigenous lands. They’ve assigned several writers to expand on themes in the Canadian national anthem, and my line was “We stand on guard for thee.”
(more…)

This man has visited Disneyland 2,000 days in a row

See the original posting on Boing Boing

Jeff Reitz of Huntington Beach, California has visited Disneyland 2,000 days in a row and he has no plans to stop. Why? It makes him happy. From ABC7:

Reitz, an Air Force veteran, credits the parks with giving him something to look forward to each day, noting that he enjoys hearing the music as he enters, interacting with the friendly park cast members, and watching the park guests having a good time. He also enjoys the shows and attractions, including one of his favorites, the Matterhorn Bobsleds adventure.

(via NextDraft)

Teaching STEAM With Fidget Spinners

See the original posting on Hackaday

A huge focus of the maker revolution has been a focus on STEAM education, or rather an education in science, technology, engineering, art, and mathematics. We’ve seen innumerable kits and tools designed to introduce children to STEAM apps, ranging from electronic Lego blocks to robotics kits built around interlocking plastic bricks. These are just a passing fad, but finally, we have what looks like a winner: a STEAM education fidget spinner.

Fidget spinners have spun into our hearts like a shuriken over the last few months, and [MakerStorage]’s latest project taps into the popularity of fidget spinners to put an …read more

A Minority Report Arduino-Based Hand Controller

See the original posting on Hackaday

Movies love to show technology they can’t really build yet. Even in 2001: A Space Oddessy (released in 1968), for example, the computer screens were actually projected film.  The tablet they used to watch the news looks like something you could pick up at Best Buy this afternoon. [CircuitDigest] saw Iron Man and that inspired him to see if he could control his PC through gestures as they do on that film and so many others (including Minority Report). Although he calls it “virtual reality,” we think of VR as being visually immersed and this is really just the glove, …read more

Go Small, Get Big: The Hack that Revolutionized Bioscience

See the original posting on Hackaday

Few people outside the field know just how big bioscience can get. The public tends to think of fields like physics and astronomy, with their huge particle accelerators and massive telescopes, as the natural expressions of big science. But for decades, biology has been getting bigger, especially in the pharmaceutical industry. Specialized labs built around the automation equipment that enables modern pharmaceutical research would dazzle even the most jaded CERN physicist, with fleets of robot arms moving labware around in an attempt to find the Next Big Drug.

I’ve written before on big biology and how to get more visibility …read more

Simple Electric Bike Conversion from 3D-Printed Parts

See the original posting on Hackaday

Challenge: Perform an electric conversion on a bicycle. Problem: No significant metal working skills or equipment. Solution: 3D print everything needed to electrify the bike.

At least that’s the approach that [Tom Stanton] took to his electric bike build. Having caught the electric locomotion bug on a recent longboard build, [Tom] undertook the upgrade of a cheap “fixie,” or fixed-gear bike. His delta printer was big enough for the motor mount and weather-resistant ESC enclosure, but he needed to print the drive pulley in four quadrants that were later glued together. We can’t say we hold much faith in the …read more

Catastrophic Forgetting: Learning’s Effect on Machine Minds

See the original posting on Hackaday

What if every time you learned something new, you forgot a little of what you knew before? That sort of overwriting doesn’t happen in the human brain, but it does in artificial neural networks. It’s appropriately called catastrophic forgetting. So why are neural networks so successful despite this? How does this affect the future of things like self-driving cars? Just what limit does this put on what neural networks will be able to do, and what’s being done about it?

The way a neural network stores knowledge is by setting the values of weights (the lines in between the neurons …read more

1 2 3 3,214