Categories
Technology

Former Salesforce science boss founds You.com for Google search

A new challenger enters the arena! Richard Socher, former chief scientist at Salesforce, dropped the figurative bomb today when he announced the launch of You.com, a website he believes will directly compete with Google search.

https://t.co/2tfrBwhwOc

Let’s build a new internet together.

– Richard Socher (@RichardSocher), December 8, 2020

Heads up: It looks like TechCrunch’s Ron Miller got the bullet. Socher wants to “differentiate himself from Google by not relying on advertising”. The big idea here, according to the article and on the You.com website, is to use advanced natural language processing to display more relevant search results without relying on targeted data / advertising. At least in theory, this would enable a “really private” yet fully functional search engine.

Background: The list of Davids who set out to slay the Goliath in search is long and excellent. When was the last time you heard someone say, “I’m not sure I’ll get Microsoft Edge” when they needed a quick trivia?

That being said, Socher certainly has the right background and know-how to build a better search engine and the right friends to support him. According to TechCrunch, its investors include billionaires Marc Bennioff and Jim Breyer.

Here is a conspiracy theory for you: According to the aforementioned TechCrunch article, Socher can compete with Search because of its clever AI, nuanced approach that Google can’t easily mimic and eradicate (the innovator’s dilemma), and the fact that Google is involved in antitrust lawsuits.

Gasp! What if Socher had strayed from Salesforce (but not too far, after all, Benioff is his benefactor) just to do the big job on You.com while the world’s Googles and Facebooks figure out if a Biden admin dated them Rule out antitrust law will hook.

It’s not a bad way to test the water. If the search is fragmented by Google, You.Com can compete against it. And if the Google Opoly stays intact, it would be interesting to find out how difficult it would be for Salesforce to buy out the You.com startup at some point in the future.

Take quickly: That could be good for everyone. Google has long dominated the planet on the wings of search. Making the switch could help us break away from an ad-supported society giving away their data for free about how trees remove carbon monoxide from our air without thanking them for their privacy.

Has anyone seen a research paper on You.com?

Published on December 8, 2020 – 22:25 UTC

Categories
Technology

The most effective photo voltaic chargers on your telephone or pill

Let’s face it, our phones are often about to shut down, usually due to a dead battery. This is especially frustrating on a hike, camping trip, or other outing where you might rely on your phone for GPS coordinates.

Fortunately, the sun is always on – at least during the day – so why not use the energy of the sun and keep your devices running even when you are hiking in the middle of nowhere? After months of testing, we decided on that BigBlue 28W The best solar charger for backcountry power thanks to its affordable price and efficiency. However, if BigBlue’s range is too big for your needs, we have some alternatives.

further reading

BigBlue 28W solar charger

  • Capacity – None (panel only)
  • Outputs – 2 USB (2.4A)
  • Weight – 22 ounces
  • Solar panel – 28 watts

Many solar chargers are marketed as portable solar options, but few match the BigBlue 28W solar charger. The device is not the smallest panel on the market, but it offers considerable performance. The solar panel charges quickly and reliably even under adverse conditions and then charges several devices quickly. With a manufacturer’s recommended price of $ 60, the Big Blue is also easy on the wallet. The only catch is that BigBlue doesn’t contain a battery. You will either need to charge your electronic devices directly or provide your own portable battery.

Renogy E.FLEX 10W

  • Capacity – None (panel only)
  • Outputs – 1 USB port (1.92 A)
  • Weight – 13 ounces
  • Solar panel – 10W

While the Renogy E.Flex doesn’t have battery support (meaning it’s only useful in sunshine), it’s one of the cheapest panel-only options that gets high marks for both durability and chargeability. A 1.92A USB port should provide enough power to charge your phone at about the same time as traditional power and even power your phone without draining the battery in full sunlight. These are many other panel-only options, most of which are more expensive – can’t. There’s a 5-watt model on Amazon for just $ 24, but it produces less than an amp of current on the USB ports, making it inadequate for many uses.

NekTeck 21W solar charger

  • Capacity – None (panel only)
  • Outputs – 2 USB ports (total up to 3A)
  • Weight – 1.3 lbs.
  • Solar panel – 21W

Although Nekteck has no battery storage capacity, we love solar charging with up to 21 watts of power generation, which is more than enough to quickly charge any portable device. In contrast to most pure solar chargers (those without a battery), the Nekteck model can charge up to two devices at the same time. Keep in mind that you are limited to 3 amps total so it will take much longer to charge two devices. Another nice feature is SmartIC, which intelligently detects the device type and delivers just the right amount of power to charge your phone, tablet or GPS as quickly as possible.

Voltaic Arc 20W solar charging kit

Arc 20W solar charging kitInstagram / GazLeah

  • Capacity -24,000 mAh
  • Outputs – DC output, USB output (2A)
  • Weight – 3.25 pounds including battery and solar panels
  • Solar panel – 19.8 watts

Unlike some of the chunkier hard shell structures on the market, the Arc 20 Watt Solar Charger easily attaches to a wide variety of awnings, backpacks, and tents so you can charge evenly throughout your adventure. This 20W kit also includes the Voltaic V88 Universal Laptop Battery, which has a DC output so you can charge most laptops at least once. The external battery also provides protection against short circuits and overcharging so you don’t have to worry about frying your appliances.

Panergy 18W fast charger with LED flashlights

Panergy solar charger displayed on a table

  • Capacity -26,800 mAh
  • Outputs – USB output (up to 3A), Type C (up to 3A)
  • Weight – 1.11 pounds
  • Solar panel – 1.5 watts

Nature lovers will be delighted because this superior transportable power stone is for you. The Panergy solar charger offers 18 watts of power and a sturdy armored case that will hold up well under most conditions that nature throws at you during a hike or a camping trip. Additionally, the IPX1 weather protection can withstand most types of rainfall, and the durable ABS material keeps the pack free of unwanted dust and debris. Juicing an empty battery takes approximately eight hours. Once the battery is fully charged, it can charge both a Galaxy S10 and an iPhone 11 at least six times. Panergy’s charger is built with safety in mind and has a powerful LED that allows you to flash a distress signal from over 300 feet away. The charger is intentionally orange in color to repel insects.

Dizual 5,000 mAh portable solar charger

  • Capacity – 5,000 mAh
  • Outputs – Dual USB output (up to 1A)
  • Weight – 0.5 pounds
  • Solar panel – 1.2 watts

At a surprisingly low cost of $ 15, you get way more than what you paid for with the Dizual charger. This charger is packed with useful features, a backpack-ready design and a lanyard that you can use to attach it to the back of your bag. We wholeheartedly recommend this charger.

The eco-friendly design of the pack is also made of tough ABS materials, so you don’t have to worry if it falls or rains lightly (but don’t dive into ponds). The two USB outlets have rubber caps for protection to keep dirt and debris from clogging your ports. The built-in row of LEDs shows how much power is left in the pack.

Editor’s recommendations



Categories
Technology

The very best telescopes for 2020

As anyone who has ever looked through a telescope knows, there are few sensations similar to your first-hand look at another astral body. For many this begins a lifetime devoted to the hobby. Fortunately, there are hundreds of quality telescopes in the market to choose from.

For those looking for a telescope to observe the moon and our closest heavenly neighbors, a budget model will suffice. Seasoned enthusiasts, however, are likely to want the more sophisticated, cutting-edge equipment. Here are our six favorite telescopes for every budget and performance level.

At a glance

  • The best telescope: Orion 10019 SkyQuest XT1oi Intelliscope
  • The best portable telescope: Celestron 5SE telescope
  • The best telescope for automatic tracking: Celestron NexStar 130SLT
  • The best telescope on a budget: Celestron Astromaster 130EQ
  • The best telescope for beginners: Celestron AstroMaster 70AZ
  • The best telescope for your mobile phone: Celestron StarSense Explorer 102AZ

The best telescope: Orion 10019 SkyQuest XT10i IntelliScope

The Orion 10019 SkyQuest XT10i IntelliScope is a premium Dobsonian reflector telescope. The model has one of the largest openings you will find under a wing, which allows the lens to collect more light for the brightest views of the cosmos.

The most outstanding feature is the computer-aided object location tool: simply select the astral body you want to observe and then follow the arrows on the display to quickly orient yourself to any of more than 14,000 celestial objects. Would you like a tour instead? You’re lucky. The tour setting allows you to automatically choose from 12 pre-programmed astronomical tours, each of which is available monthly.

In addition, the wooden base and the adjustment control ensure that the telescope is always in balance in all viewing positions. The SkyQuest XT10i even comes with a 2-inch Crayford focuser and two 1.25-inch Sirius Plossl telescope eyepieces – a 25-millimeter and 10-millimeter eyepiece – not to mention a 9 × 50 finder scope , an eyepiece frame and a collimation cap.

The real problem with this guy is the general bulk of the telescope. Dobsonians are more cumbersome than other tripod-mounted models SkyQuest XT10i has a handle that makes lugging around a little less annoying. The push-to-alignment tool is really just a plus for those who prefer more manual control.

The best portable telescope: Celestron NexStar 5SE


The Celestron NexStar 5SE is a dream for astronomers and available at a fair price. The handheld device features a 5 inch bezel that provides superior light gathering capabilities in a sleek, modern building, allowing you to see some of the more fantastic highlights of our solar system in breathtaking clarity. Thanks to Celetron’s patented tracking technology, the telescope does the more meticulous work on your behalf. The telescope’s automatic locator can easily locate more than 40,000 objects in a few moments. With a built-in GPS, you can simply point the telescope at three bright objects in the sky to position the device.

Unlike some of the bulkier telescopes on the market, the Celestron NexStar 5SE weighs just 17.5 pounds, which makes it perfect for family outings in the countryside. There are telescopes that are capable of collecting and focusing more light for less money, but the sleek design of the NexStar 5SE and its on-board computer is a tempting addition. Even so, the NexStar 5SE is better suited for experienced astronomers than the casual hobbyist.

The best telescope for automatic tracking: Celestron NexStar 130 SLT


The Celestron NexStar 130SLT is a solid option for those who have already taken advantage of their first telescope. The 307x magnification and 5-inch bezel allow the device to match the performance of any model in the same price range. However, Celestron’s offering also includes the company’s SkyAlign technology while others do not. This will make it easier to carefully scan and line up your cosmic hunt. Simply point the telescope at any three objects in the sky and the device will position itself independently, taking into account more than 40,000 celestial objects.

An internal battery supplies the device with power and thus enables independent functions. In addition, the device uses NexRemote, which allows you to control your telescope directly from your computer. Everything done with the built-in hand control can be done remotely as soon as you connect to your PC. You can also assemble the device quickly and without tools, which makes it more portable than other areas on our list.

The included eyepieces certainly do the trick, but to get the most bang for your buck you may want to upgrade to something stronger. As for the cons, the only thing that really works is What is against this model is the limited battery capacity, which you will notice even more when you use the “Auto-Tracking.” Still it is NexStar 130 SLT is about as cheap as it gets when it comes to auto-tracking models with a 5-inch bezel. It’s the high point for those considering performance and affordability.

The best telescope on a small budget: Celestron Astromaster 130EQ PowerSeeker


The 130EQ PowerSeeker is one of the most popular telescopes on the market because of the price. This Newtonian style reflector telescope is equipped with a 130 millimeter glass objective lens and a focal length of 1,000 millimeters, which can be adjusted using the precision controls on the AstroMaster mount. The rifle scope also comes with a 20 and 10 millimeter eyepiece, a foldable tripod and a Starpointer red dot finder scope that allows you to locate your favorite planets in no time.

Each PowerSeekers line of products is also equipped with coated optics and industry-acclaimed The Sky software that allows you to locate a range of objects using your computer. The telescope’s smooth manual slow-motion tracking makes it easy to keep objects in the viewing area. There aren’t many other drawbacks, however. You may want to upgrade from a slightly dull eyepiece to a more powerful one. Apart from that, for the range of features, price and light size that 130EQ PowerSeeker is hard to beat.

The best telescope for beginners: Celestron AstroMaster 70AZ


The AstroMaster 70AZ is hard to beat when you’re looking to spend less than $ 200 on a telescope. The 3-inch opening allows for exceptional views of the moon and nearby planets so you can play your Newtonian whistle, and the included tripod is easy to assemble. Better still, when fully assembled, the telescope and tripod weigh just under 18 pounds. The AstroMaster also comes with multiple eyepieces and three coated lenses, which avoids focusing problems.

The main disadvantage of the AstroMaster is the lack of an automatic or more sophisticated manual tracking system. This means that you often have a short window of time to view objects before they escape your viewing area. The tripod is also a bit short, so taller astronomers may want to opt for a different tripod.

Other models on our list offer a higher base performance than this refractor model. At 165x magnification, the AstroMaster 70AZ is a good option for children or other budding astronomers.

The best telescope for your mobile phone: Celestron StarSense Explorer 102AZ

Product still from the Celestron Starseeker in a back yard

For all Apple or Android smartphone users, the Celestron StarSense Explorer 102AZ offers an additional benefit that takes stargazing to the next level. This telescope has an app called Celestrol Starseeker that guides you through stargazing. You can open the app with your phone once it is connected to the telescope’s signal to start studying the sky. Please note that the app only works on newer Android phones and on Apple phones, all models from iPhone 6 and up.

The app gives you guidance on what to see and where to position the area. It even shows you which objects are best to see and where to find them in the sky the night you are looking at the stars. If you tend to dig even deeper, the app will show you additional information, such as: B. What kind of celestial body you are looking at (planet, moon, etc.), when it rises and when it sets.

The 4-inch XLT-coated lens and the brilliant aperture of the rifle scope work together to perfectly illuminate the celestial bodies. Weighing just 15 pounds, the StarSense Explorer 102AZ is easy to unpack and set up. The only downside is that the app can be a little picky at times, but recalibrations and slow response speeds are the exceptions rather than the norm.

Editor’s recommendations



Categories
Technology

COVID-19 newsletters are sooooo 2020

Hello pandemic friends,

I have good news and bad news. I also have some great news (I’ll come back to that later) and then I have the regular news (which, as usual, is mostly terrible).

The good news: 2020 is coming to an end. The bad news: it takes coronavirus in context.

We are submitting this newsletter because it has taken its course.

The pandemic is still raging around us. And yes, there are some amazing vaccines on the way. It is really busy and there is a lot more to be said about COVID-19. However, this newsletter should only be temporary.

We will publish our final issue on Tuesday December 22nd.

This newsletter means a lot to me. It gave me complete creative freedom, and because of that, it was the most challenging and rewarding thing I’ve done as a journalist.

But it’s the readers who have shaped it. Your feedback, your responses and your willingness to take part in the discourse have defined my reporting.

Together we have explored COVID-19 in the context of the Black Lives Matter movement, queer struggle and as global citizens who want the best for our communities.

We’ve talked about the technology, science, medicine, and politics of the pandemic and even got personal. It’s been a wonderful trip, but I’m glad it’s over.

Because it’s time to take all of that perspective we’ve gained, take the “context” we’ve found and use it to move forward. We know what to do to get the pandemic under control. It’s time to mask and regulate the future.

And here comes the good news:

For me and Neural, the AI ​​section I work on here at TNW, means a brand new newsletter for artificial intelligence in 2021! Details will follow shortly.

Categories
Technology

Greatest Cyber ​​Week Drone Offers 2020: DJI and Parrot Gross sales

Now is the time of year to find the best bargains on electronics of all kinds. Cyber ​​Week offers discount everything from computers to smartwatches. This is a great time to buy what you’ve always wanted to buy but never seem to enjoy. Or when you buy Christmas gifts, you can give that special someone a great gift at a great price. One category that you should definitely check out is drones, as these once exclusive technologies are now cheaper than ever. Whether you want to get aerial photography of an area or an event, or just want to have fun with friends or family while flying a drone outdoors, you can find tons of Cyber ​​Week drone deals today.

Best Deals on Cyber ​​Week Drones

How to choose a drone during Cyber ​​Week

There are tons of different types, brands, and prices of drones. How do you know which one to choose? When choosing the best drone for your needs, consider factors such as video resolution and frames per second, additional features like video stabilization and obstacle avoidance, and the weight of the drone. More high-end drones not only record better quality videos, but are also easier to control in the air thanks to intelligent environmental sensors and more precise inputs. This is especially important on days with wind and bad weather, as it is more difficult to control a drone in these conditions. So think about what you want to use your drone for and whether you are at the mercy of the weather when you fly your new drone.

Weight is also an important factor as drones weighing more than 250 grams must be registered if you want to fly them in the US. So drones like the original DJI Mavic Mini and the newer DJI Mini 2 weigh just 249 grams, both of which are great choices for those who want to start flying right away and don’t want to worry about paperwork. If you are looking for the best video quality for professional productions, a high-end model like the DJI Mavic 2 Pro or even the DJI Mavic Air 2 offers features such as environment detection, autonomous tracking of a subject, exceptionally solid build quality, responsive controls and an excellent camera . Of course, all of these features aren’t cheap, so high-end drones are expensive!

There are tons of affordable drone pilot options for beginners too. Brands like Snaptain have many inexpensive entry-level drones under $ 200, and you can find inexpensive models from well-respected brands like Potensic too. The Potensic T25 or Snaptain SP650 are two examples of affordable drones that still allow you to enjoy the fun of flying and record videos in 1080p quality. This makes them perfect for home and leisure use.

Should you buy a drone during Cyber ​​Week?

For all bargain hunters, Cyber ​​Week is the last big sales event of the year where you get the best drones at the highest discount on the market. If you don’t take advantage of these Cyber ​​Week offers, the next time you’ll see discounts as good as 2021. There is no better time to start purchasing these Cyber ​​Week drone deals than today.

Are drone deals too good to be true?

The old axiom “if something seems too good to be true, it probably is” always applies to sales like Cyber ​​Week. Retailers like to take advantage of these events to clear their shelves of stale inventory, so a hot Cyber ​​Week drone deal you noticed earlier may be out of date by today’s standards and not have the features you really want in 2020 The excitement about the sale (or pressure tactics like countdown timers and limited availability warnings) can improve your judgment. Feel free to add the item to your cart, but do take a look around and compare prices first before hitting the checkout button.

It is also a good idea to do your research by reading guides like this before shopping for Cyber ​​Week drone deals. So you already have a good idea of ​​what you want, what features to look for, and what is actually a really great bargain. This will help you set a budget to stick to while also providing you with the information you need to prevent you from making a purchase that may later disappoint you.

We strive to help our readers find the best deals on quality products and services, and we carefully and independently select what we cover. The prices, details and availability of the products and offers in this post are subject to change at any time. Make sure they are still valid before making a purchase.

Digital Trends can earn commissions on products purchased through our links, which supports the work we do for our readers.

Editor’s recommendations



Categories
Technology

eight homes with secret passages

A home can be more than you think. If you look behind a bookshelf, under a trapdoor, or down a dark staircase, more property may be lurking around you. Secret rooms and passages that were part of the home from the start, or savvy additions that were later added by inspired homeowners.

From underground wine cellars to Batcave-like garages, homeowners design living spaces with tons of hidden nooks and crannies to ensure a quick getaway – or to simply take their home to the next level. Below are some of the more innovative hidden rooms from around the world.

DA Studio architects and artist Richard Woods created the four-story Rainbow House in central London. With transforming furniture, revolving rooms, and a lively spiral staircase that spans four floors and shows the full range of colors, this home is a sight to behold. However, one of the real gems in the Rainbow House is the secret passage built right into the floor of the master suite. With this hidden door and an attached slide, people can quickly move from the bedroom to the lounge below.

Simple walls and doors are boring. Why not spice up your living room and add a rotating wall? This black metal frame and plywood wall transforms the living room into a kitchen, revealing the home’s television. The faceted panels can also be used separately and to separate two individual rooms.

Do you love wine but can’t find a new place in your home to store your collection? UK based Spiral Cellars can solve this problem for you. The company is known for its dynamic wine cellars, like this subterranean beauty installed on your first floor.

Do you need to escape for a quiet time after dinner to ponder and ponder (and digest)? This stunning Jefferson, New York home has a secret door on the ground floor of the kitchen that leads to another part of the home.

Sometimes what’s behind a bookshelf is even better than what’s on the shelves. For example, a spacious wine cellar sits behind a bookcase in this beautiful home in Tacoma, Washington. It definitely comes in handy when you’re diving into a Danielle Steele novel.

This country style home is fairytale and is located on a hill in rural Maine. A hidden passageway is behind a bookcase that is in the turquoise common room, which allows quick access to a secret bathroom. Talk about a great escape.

We thought a house like this only existed in The Dark Knight films. This home was built along the lines of the legendary superhero pad and has underground parking that is accessible from the home’s tennis court. With lit lights on the ceiling and gray tiles on the floor, any average Joe will instantly feel like Batman.

Creative Home Engineering architectural firm specialize in a range of custom hidden doors for your home. The company is showing one of its electronic models at the nine-second mark in the video above. With the push of a button, a staircase is raised, giving individuals access to a hidden lounge.

Editor’s recommendations



Categories
Technology

A easy information to Redis and caching with NodeJS

In the past few years, Redis has been widely used in a Node.js application stack. Although the most popular use case is caching, Redis has many other use cases where you can take advantage of the lightning-fast in-memory database.

In this tutorial, we are going to give you a brief introduction to Redis. We’ll also be using Redis to create a simple cache for a node application to see how this affects performance.

What is redis

Redis is an open source data structure store (BSD licensed) in storage used as a database, cache and message broker.

You can think of a No-SQL database in which data is stored as key-value pairs in system memory. Redis also supports the storage of hard disk-persistent data if required.

Redis supports saving Multiple data structures and data types, including strings, lists, hashes, sets, and sorted sets. Supported data structures offer Redis the versatility for many use cases.

Redis is best for situations where data needs to be retrieved and delivered to the client in no time.

Redis use cases

One of the most popular use cases for Redis is caching.

What is caching?

Caching is the process of storing copies of data in caches so that applications can access and retrieve data more quickly. The goal of caching is to make data access faster than a database or remote server could allow. This is especially true for expensive (temporary) operations.

As a back-end developer, it is our job to meet customer requirements as quickly as possible. Sometimes queries require multiple operations like getting data from a database, doing calculations, getting additional data from other services, and so on, which affect our performance.

This is where caching stands out because we can process the data once, store it in a cache, and later retrieve it directly from the cache without having to perform all these expensive operations. We would then update the cache periodically so that users can see updated information.

[Read: Why AI is the future of home security]

Caching & Redis

Because Redis is an in-memory database, its data access operations are faster than any other disk-mounted database. This makes Redis the perfect choice for caching. Key-value data storage is another plus as it makes storing and retrieving data a lot easier.

This tutorial shows you how to do caching with Redis and Node.js.

Redis for real-time analysis

Redis promises data processing operations of less than a millisecond. This makes Redis a perfect candidate for applications based on real-time data analysis.

For example, you can use Redis to store user identities and their transaction details when implementing a real-time fraud detection service. Redis even offers an AI-assisted faster transaction scoring system and faster statistical models to better handle this use case.

Other real-time analytics use cases include real-time inventory management systems and game leaderboards.

Redis for session management

If your application uses sessions to track authenticated users and manage user-specific data, Redis is perfect as a Canister. Using Redis could greatly improve the system’s performance while also making it easier to process user data, including login information, recent activity, and even a cart-like system.

Redis as a queue

With Redis, you can queue application tasks that are taking a long time to complete. You can implement first-in, first-out (FIDO) queues or create deferred queues to delay the implementation of tasks until a predetermined time.

Caching with Node and Redis

Now let’s start with the main focus of this tutorial: Using Redis for Caching in a NodeJS Application.

Caching with Redis is pretty easy. When we receive a user request for a route that has caching enabled, we first check whether the requested data is already in the cache. If so, we can quickly pull data from Redis and send the response.

However, if the data is not cached, what we call cache miss, then we must first get the data from the database or external API and send it to the client. We also make sure that the data we retrieve is cached so that the next time we receive the same request, we can simply send the cached data to the user faster.

After you have a clear idea of ​​what we’re going to do, let’s start implementing.

Install Redis

If you haven’t already, you’ll need to install Redis for this tutorial.

You can download the binaries and easily compile them using the commands below.

Ping the server to make sure the Redis server is running without problems redis-cli.

When you receive In response, the Redis server is running successfully.

read this official quick guide to get a better idea when something goes wrong.

Build the NodeJS application

Basic setting

Set up the initial boilerplate for the Node application as follows.

Notice how we use two additional packages named Axios and to repeat. to repeat is the standard Redis client for Node. We use Axios to get data from an external API for this tutorial.

Before going any further, make sure you install these two packages using npm.

Get data from the external API

We’ll use that GitHub Jobs API to get data on programming jobs available in different locations around the world.

You can pass a search term for the job you are looking for to the API and get a number of available jobs in JSON format. An example request to the API looks like this.

POSTMAN – GitHub Jobs API Results

In our node application we define a route with the name / jobs, which gets job data from the above API and sends it back to the client.

Here we use Axios to send a GET request to the GitHub Jobs API with the search term specified by the user.

Let’s see how the route works now with Postman.

POSTMAN – Our API results

Cache the results

Now let’s see how we can use caching to improve application performance.

First, we need to connect to the Redis server through our application. For this task we will use the installed Redis package.

The Redis server listens on port 6379 by default, so we’re passing the port number to connect to Redis and create a client.

Then implement the logic to store and retrieve data from the cache.

What’s going on here?

When we receive a client request to route / jobs, the search term with the query parameters of the request is sent first.

Then we try to get the requested data from the cache, bypassing the search term that we use as the key when storing data in the cache. Since the Redis package doesn’t have native support for Promises, we need to pass a callback to process the data that is being retrieved.

If the value returned by Redis is non-zero, it means the related data is in the cache, so it’s easy to return that data in the response. Just make sure to reset the string to JSON.

If the returned value was zero, we need to send a request to the external API to get relevant data.

When we get the data from the API, we store it in Redis before sending it back so that the next time we send the same request to the node server, it can respond with cached data rather than requesting it from the API.

Notice how we use that Setex Function for storing data in the cache. Use of Setex Function specific instead of the regular to adjust Function we can set an expiration time for the stored key-value pair. Since we are setting a value for the expiration time, Redis will automatically remove this key-value pair from the cache when the elapsed time has expired.

Complete source code

That’s it. We created a simple cache for our application. It wasn’t that hard, was it?

Moment of truth: time comparison

We will see how using a cache affects the performance of our app. I used Postman to send requests to the server and measure request completion time.

performance

The first time you send a request to the server with a new search term, the application will take longer to respond (over 7 seconds) as the data must be fetched from the external API. The second time you make the same request, the server will respond more quickly because the results are already in the cache.

The request is completed within 10 ms. This is a huge increase in performance over the application we saw before without a cache.

Summary

In this tutorial, we gave you a brief introduction to Redis and used it to create a simple cache for a Node.js application. Now you can use Redis to cache frequently queried data in your application for a significant increase in performance.

You can also explore how you can leverage the best of Redis’ features in other use cases as well.

This items was originally published on Live code stream by Juan Cruz Martinez (Twitter: @bajcmartinez), Founder and publisher of Live Code Stream, entrepreneur, developer, author, speaker and maker of things.

Live code stream is also available as a free weekly newsletter. Sign up for updates on everything related to programming, AI and computer science in general.

Read on: About Time! Toyota is finally announcing a fully electric vehicle

Categories
Technology

The very best robotic garden mowers for 2020

Mowing your lawn can be a therapeutic hobby, but it can also be a nightmare if you don’t find the time (or willpower) to start that old drawstring mower. Fortunately, for those of us willing to part with a few bucks, there are now robotic lawnmowers that take the time and pain out of seasonal lawn maintenance. A battery-powered, solid robo-mower can learn to cut your lawn inside and out, quickly, quietly and according to a schedule you have created.

We review the best robotic lawn mowers of 2020 with their top features. For our list, we consider the quality of services in some categories, such as: B. Noise level, automatic sensors and adjustability of the blades.

Worx WR140

This Worx model shows a strong understanding of what the average buyer needs from a reliable robotic lawnmower. First, they need a reasonable price: a lot of people interested in a robotic lawnmower don’t want to spend thousands of dollars, especially if they’re not sure how exactly it will work. Second, buyers are looking for bots that can handle relatively small spaces very neatly. The WR140 meets these requirements because it’s a sub $ 1,000 mower that does a really good job on lawns no larger than a quarter acre.

The mower is designed to follow a schedule based on the information you provide in the app about your lawn. Light layers are cut that do not have to be emptied or collected. If necessary, you can still adjust the cutting height. The “Cut to Edge” design helps the knives mow as close to the lawn’s edges as possible so you don’t get those pesky stragglers on the flower beds, and there’s a handy warning feature to notify you when your mower leaves the lawn Space that indicates a performance problem or that someone is tampering with the device (every good robotic lawnmower should have this feature).

Not the most powerful bot at 20V, but it has the features a lawn owner needs, including auto battery charging and the ability to climb 20 degree hills. The sensors keep it from colliding with anything surprising, and you can also use included magnetic strips to surround certain items to help the bot avoid that area. All in all that Worx WR140 is a great mower bot for first-time bot cutters.

Robomow RS630


We tested the Robomow RS630 a few years ago and it is still one of the leading robotic lawnmowers, although the price is a bit high. For larger and more complex yards, however, you’ll need a little more lawnmowers than the Worx above. The Robomow RS630 can handle yards up to three quarters of an acre and sloped yards up to 20 degrees, making this unit ideal for most yard types. It also has a rain sensor to prevent mowing in bad weather and automatic charging when the mower is low on power.

With an operational decibel range of up to 78 dB, the Robomow RS630 is certainly louder than the Husqvarna Automower 450X (our next recommendation), but significantly quieter than the average lawnmower.

Husqvarna Automower 450X


The Husqvarna Automower 450X covers most lawns – up to 1.25 hectares. While other models on this list have softer lines and warmer, matte color schemes, the Automower 450X has a glossier RoboCop 2 construction and looks downright menacing in your front yard.

As with the other models, you must “fence” the area around your lawn and garden before you start mowing. However, you can also customize the map of your farm through the app to mark additional zones to avoid. This is necessary for trenches or rougher areas where the mower may have difficulty traction.

You can set mowing times over the course of a specific month so that the model can trim as regularly or as minimally as desired. Regular mowing minimizes clippings and ensures a cleaner garden.

Perhaps the best feature, however, is its quiet operation. Rated at just 58 decibels, the Husqvarna Automower 450X is about as loud as an air conditioner. If you really wanted to, you could probably get away with mowing in the middle of the night without waking the neighbors.

Honda Miimo HRM520


It’s really no surprise that Honda – the company that brought us Asimo – was one of the pioneering manufacturers of robotic lawn care. Overall, the Miimo HRM520 is one of our most popular offers on the market with its 3-quarter acre mowing capacity and an impressive mowing ability of up to 25 degrees.

With the HRM520 app, you can adjust the cutting height, start or stop the device and manage a calendar from your smartphone. This model uses an innovative “continuous cutting system” in which the machine cuts your lawn about an inch several times a week. Honda says this promotes better growth and overall health for the farm compared to infrequent and larger cuts.

These routine lawn sections also adapt to the seasonal variations in grass growth. Whenever thicker sections of grass are detected, it adapts quickly to allow for more accurate cuts. The Honda Miimo HRM520’s three landscape sensors enable it to detect and avoid potential obstacles.

Husqvarna 115H Connect

Husqvarna 115H Connect

The Husqvarna 315X is versatile, providing lawn maintenance for properties with half an acre or less, slopes of 22 degrees or less, and grass heights of 2.4 inches or less. The battery is charged for one hour and ten minutes and can be controlled via a smartphone app. Another great benefit of this mower is the LCD panel which allows you to adjust the controls as needed.

Command technology is the premier feature that makes the Husqvarna 115H Connect one of the best voice command technologies out there. A big advantage for voice command lovers is that this mower can be easily connected to Google Assistant and Alexa. With your commands you can start, stop, park, set how long the mower runs, pause and much more.

Are you looking for more lawn tools? We have found the best lawn sprinklers, weed killers and leaf blowers for your garden.

Editor’s recommendations



Categories
Technology

When an exploit turns into a murals

Subscribe to this bi-weekly newsletter here!

Welcome to the latest edition of Pardon The Intrusion, TNW’s bi-weekly newsletter in which we explore the wild world of security.

Google Project zeroThe elite team of insect hunters does not need an introduction.

The white hat hackers were good at finding something Bug in Android and iOS, but that’s impressive new disclosure by Ian Beer beats everything that came before.

Beer spent six months of his lockdown single-handedly devising a method that would allow iPhones to be remotely hijacked. This shows that with just one Raspberry Pi, commercially available WiFi adapters that cost a total of $ 100 and a few lines of code available are possible for a remote attacker too Take full control from any iPhone nearby.

What’s more impressive is that multiple vulnerabilities don’t have to be chained together to fully control an iPhone, Beer explained in a 30,000 word magnum opus.

The exploit “uses a single memory corruption vulnerability to compromise the flagship iPhone 11 Pro,” allowing a villain to “view all photos, read all email, copy all private messages, and monitor everything that happens” [the device] Real time.”

The bugs Beer discovered while developing this chain of exploits were all fixed before iOS 13.5 was released earlier this year.

But, as Beer wrote in his post, the takeaway here should be: “A person working alone in their bedroom has been able to develop a skill that allows them to seriously become iPhone users they’ve come in close contact with endanger. “

Patrick Wardle, a senior security researcher at Jamf, described Beer’s Lockdown Project as “Artwork. ”

What’s the trend in terms of security?

Google News app for Android, Facebook patched a critical problem in its Messenger app for Android, which could allow an attacker to eavesdrop on callers, and Twitter was introduced Support for two-factor authentication with physical security keys.

  • In a big win for privacy and security, Google has announced that it will expand its messaging app for Android to include end-to-end encryption, starting with one-on-one calls between users of the app. [Google]
  • Swiss lawmakers raised concerns after reports that a country-based encryption company called Omnisec was allegedly used as a Trojan horse by US and German intelligence agencies to spy on governments around the world. [AFP]
  • Facebook has patched a critical problem in his messenger app for Android, which could have allowed a hacker to call you and listen before you answered the call. It’s similar to a security flaw in FaceTime that Apple quickly fixed last year. [Google Project Zero]
  • Researchers at the University of Leuven in Belgium found flaws in the keyless entry system of the Tesla Model X, which would have allowed attackers to steal the car within minutes. This is the third such attack on Tesla’s key chain. [IMEC]
  • Symantec researchers engaged Chinese threat actor APT10 (also known as Stone Panda and Cicada) for a year to steal sensitive data from numerous Japanese companies and their subsidiaries. [Symantec]
  • T.The hacking group known as APT32 or OceanLotus has set up a new MacOS backdoor that gives attackers a window into the compromised computer, allowing them to search and steal confidential information and confidential business documents. [Trend Micro]
  • Security engineer and bug hunter Ashar Javed is on the lookout for 365 security holes in Microsoft Office 365. [Vice]
  • North Korean hackers attempted to destroy UK drug maker AstraZeneca’s systems using LinkedIn and WhatsApp to send out bogus job postings containing malware as national threat actors continue to target health organizations working on COVID-19 vaccine research. [Reuters]
  • Just like that Pitfalls of privacy The Australian Inspector General for Intelligence and Security (IGIS) found that the country’s espionage agencies “randomly” collected data from the country’s COVIDSafe contact tracking app for the first six months of operation. However, the data has not been decrypted, accessed or used. [iTnews]
  • Scientists at Israel’s Ben Gurion University in the Negev described a new form of “cyber biological attack” that could allow a malicious actor to compromise a biologist’s computer in order to inject pathogenic substrings into DNA sequences and deliver dangerous viruses and toxins develop. [ZDNet / ESET]
  • Twitter added support for two-factor authentication using hardware security keys. [Twitter]
  • The last 14 days of data breaches, leaks and ransomware: Advantech, Belden, Embraer, Spotify, US fertilityand the personal data of 16 million Brazilian COVID-19 patients.

Data point

According to cybersecurity firm Kaspersky’s IT Threat Evolution Report For the third quarter of 2020, cyber criminals are resorting to the spread of malware containing the names of popular streaming platforms to trick users into downloading.


“Typically, backdoors and other Trojans are downloaded when users try to gain access in an unofficial way – by buying discounted accounts, getting a ‘hack’ to keep their free trial running, or trying on a free subscription to access. “

Between January 2019 and April 8, 2020, Trojans made up 47.23% of all malware camouflaged under the names of popular streaming platforms.

That’s it. I’ll see you all in two weeks. Stay safe!

Delighted x TNW (enthusiastic[at]the next web[dot]With)

Read Next: How to Set Your Google Photos Pictures as Live Wallpaper for Android

Categories
Technology

Greatest Cyber ​​Week Drone Offers 2020: DJI and Parrot Gross sales

Now is the time of year to find the best bargains on electronics of all kinds. Cyber ​​Week offers discount everything from computers to smartwatches. This is a great time to buy what you’ve always wanted to buy but never seem to enjoy. Or when you buy Christmas gifts, you can give that special someone a great gift at a great price. One category that you should definitely check out is drones, as these once exclusive technologies are now cheaper than ever. Whether you want to get aerial photography of an area or an event, or just want to have fun with friends or family while flying a drone outdoors, you can find tons of Cyber ​​Week drone deals today.

Best Deals on Cyber ​​Week Drones

How to choose a drone during Cyber ​​Week

There are tons of different types, brands, and prices of drones. How do you know which one to choose? When choosing the best drone for your needs, consider factors such as video resolution and frames per second, additional features like video stabilization and obstacle avoidance, and the weight of the drone. More high-end drones not only record better quality videos, but are also easier to control in the air thanks to intelligent environmental sensors and more precise inputs. This is especially important on days with wind and bad weather, as it is more difficult to control a drone in these conditions. So think about what you want to use your drone for and whether you are at the mercy of the weather when you fly your new drone.

Weight is also an important factor as drones weighing more than 250 grams must be registered if you want to fly them in the US. So drones like the original DJI Mavic Mini and the newer DJI Mini 2 weigh just 249 grams, both of which are great choices for those who want to start flying right away and don’t want to worry about paperwork. If you are looking for the best video quality for professional productions, a high-end model like the DJI Mavic 2 Pro or even the DJI Mavic Air 2 offers features such as environment detection, autonomous tracking of a subject, exceptionally solid build quality, responsive controls and an excellent camera . Of course, all of these features aren’t cheap, so high-end drones are expensive!

There are tons of affordable drone pilot options for beginners too. Brands like Snaptain have many inexpensive entry-level drones under $ 200, and you can find inexpensive models from well-respected brands like Potensic too. The Potensic T25 or Snaptain SP650 are two examples of affordable drones that still allow you to enjoy the fun of flying and record videos in 1080p quality. This makes them perfect for home and leisure use.

Should you buy a drone during Cyber ​​Week?

For all bargain hunters, Cyber ​​Week is the last big sales event of the year where you get the best drones at the highest discount on the market. If you don’t take advantage of these Cyber ​​Week offers, the next time you’ll see discounts as good as 2021. There is no better time to start purchasing these Cyber ​​Week drone deals than today.

Are drone deals too good to be true?

The old axiom “if something seems too good to be true, it probably is” always applies to sales like Cyber ​​Week. Retailers like to take advantage of these events to clear their shelves of stale inventory, so a hot Cyber ​​Week drone deal you noticed earlier may be out of date by today’s standards and not have the features you really want in 2020 The excitement about the sale (or pressure tactics like countdown timers and limited availability warnings) can improve your judgment. Feel free to add the item to your cart, but do take a look around and compare prices first before hitting the checkout button.

It is also a good idea to do your research by reading guides like this before shopping for Cyber ​​Week drone deals. So you already have a good idea of ​​what you want, what features to look for, and what is actually a really great bargain. This will help you set a budget to stick to while also providing you with the information you need to prevent you from making a purchase that may later disappoint you.

We strive to help our readers find the best deals on quality products and services, and we carefully and independently select what we cover. The prices, details and availability of the products and offers in this post are subject to change at any time. Make sure they are still valid before making a purchase.

Digital Trends can earn commissions on products purchased through our links, which supports the work we do for our readers.

Editor’s recommendations