Shared posts

20 Feb 02:06

Emergency Batarang Case

by elssah12
Dan Jones

I might need this.

emergency-batarangs-suatmmEmergency Batarang Case!

17 Feb 16:52

Clothes Washing

by Enzo

17 Feb 15:18

Shielding you from Potentially Harmful Applications

by Elijah Lawal

Earlier this month, we shared an overview of the ways we keep you safe, on Google and on the web, more broadly. Today, we wanted to specifically focus on one element of Android security—Potentially Harmful Applications—highlighting fraudsters’ common tactics, and how we shield you from these threats.

PHA_SecurityIllustration.png

Potentially Harmful Applications,” or PHAs, are Android applications that could harm you or your device, or do something unintended with the data on your device. Some examples of PHA badness include:

  • Backdoors: Apps that let hackers control your device, giving them unauthorized access to your data.
  • Billing fraud: Apps that charge you in an intentionally misleading way, like premium SMS scams or call scams.
  • Spyware: Apps that collect personal information from your device without consent
  • Hostile Downloads: Apps that download harmful programs, often through bundling with another program
  • Trojan Apps: Apps that appear benign (e.g., a game that claims only to be a game) but actually perform undesirable actions.
PHA_illustration.png

As we described in the Safer Internet post, we have a variety of automated systems that help keep you safe on Android, starting with Verify Apps—one of our key defenses against PHAs.

Verify Apps is a cloud-based service that proactively checks every application prior to install to determine if the application is potentially harmful, and subsequently rechecks devices regularly to help ensure they’re safe. Verify Apps checks more than 6 billion installed applications and scans around 400 million devices per day. If Verify Apps detects a PHA before you install it or on your device if, it will prompt you to remove the app immediately.

Testapp.png

Sometimes, Verify Apps will remove an application without requiring you to confirm the removal. This is an action we’ll take very rarely, but if a PHA is purely harmful, has no possible benefit to users, or is  impossible for you to remove on your own, we’ll zap it automatically. Ongoing protection from Verify Apps has ensured that in 2015, over 99 percent of all Android devices were free of known PHAs.

Verify Apps is just one of many protections we’ve instituted on Android to keep billions of people and devices safe. Just as PHAs are constantly evolving their tactics, we’re constantly improving our protections. We’ll continue to take action when we have the slightest suspicion that something might not be right. And we’re committed to educating and protecting people from current and future security threats—on mobile and online in general.

Be sure to check if Verify Apps is enabled on your Android device, and stay clear from harmful apps by only installing from a trusted source.

17 Feb 05:19

Start shopping with the Google Assistant on Google Home

by David Wang

What do you need to get done today? If picking up paper towels or stocking up on coffee is on your list, consider it done. To help you keep up with your busy schedule and shop for the things you need, we’re introducing shopping with your Google Assistant on Google Home.

Starting today, you can shop for your everyday essentials—from paper towels to vitamins. You'll be able to order from participating Google Express retailers, including Costco, Whole Foods Market, Walgreens, PetSmart, Bed Bath & Beyond and more than 50 other national and locally available retailers.

To get started, just say “Ok Google, how do I shop?” or “Ok Google, order paper towels”.

GoogleHome_ShoppingChat_650px.png

Through April 30, 2017, when you shop via Google Home, you don't have to worry about additional service or membership fees. And set-up is easy! To get started, go to the Google Home app, navigate to “More settings” and then scroll down to “Payments.” From there, set your default credit card and delivery address, and you’re ready to shop.

Today is just the beginning of what's possible for shopping with the Google Assistant. Over the coming months, we’ll continue to add new features and enable purchases for other apps and services.

16 Feb 21:42

Transparent JPG (With SVG)

by Chris Coyier

Let's say you have a photographic image that really should be a JPG or WebP, for the best file size and quality. But what if I need transparency too? Don't I need PNG for that? Won't that make for either huge file sizes (PNG-24) or weird quality (PNG-8)? Let's look at another way that ends up best-of-both-worlds.

The original photographic image.

The goal is to clip myself out of the image, removing the background. My technique for that is usually to use Photoshop and cut a clipping path manually with the Pen tool.

Now I can select the inverse of that clipping path to easily remove the background.

Attempting to save this as a 1200px wide image as PNG-24 out of Photoshop ends up as about a 1MB image!

1MB is huge :(

We could cut that by 75% using PNG-8, but then we 1) get that weird Giffy look (less photographic) and 2) have to pick a matte color for the edges because we aren't getting nice alpha transparency here, just binary transparency.

Much better file size, but quality is weird.

Gosh what if we could just use JPG? The quality and file size is way better.

No transparency though.

But wait! Can't we just clip this thing out? We have clip-path now. Well... yeah. We do have clip-path. It can't take a path(), though, and what we've created for vector points in Photoshop is path data. It could take a polygon() though, if we made all the lines straight. That's probably not ideal (I'm curvy!). Or we could make a <clipPath> element in some inline SVG and use clip-path: url(#id_of_clipPath);, which does support a <path> inside.

There is masking as well, which is another possibility.

Let's look at a third possibility though: put everything into <svg>. That made some logical sense to me, so all this stays together and scales together.

The trick is to make two things:

  1. The JPG
  2. The clipping <path>

The JPG is easy enough. Output that right from Photoshop. Optimize.

Now we can set up the SVG. SVG is happy to take a raster graphic. SVG is known for vector graphics, but it's a very flexible image format.

<svg>
  <image xlink:href="/images/chris.jpg" x="0" y="0">
<svg>

To get the path, we export the path we created with the Pen tool over to Illustrator.

Now we have the path over there, and it's easy to export as SVG:

Now we have the path data we need:

Even with all those points, this was 1.5K unoptimzed and ungzipped. Not much overhead.

Let's use that <path> within a <clipPath> in the SVG we've started. Then also apply that clip path to the <image>:

<svg viewBox="0 0 921.17 1409.71">
  <defs>
    <clipPath id="chris-clip">
      <path d=" ... " />
    </clipPath>
  </defs>
  <image xlink:href="/images/chris.jpg" clip-path="url(#chris-clip)" x="0" y="0" width="921" height="1409">
<svg>

Tada!

A transparent JPG, essentially.

Transparent JPG (With SVG) is a post from CSS-Tricks

16 Feb 04:45

Photo



16 Feb 00:20

Puttanesca

by Lunarbaboon
Dan Jones

Every day.

16 Feb 00:20

Bad Map Projection: Time Zones

This is probably the first projection in cartographic history that can be criticized for its disproportionate focus on Finland, Mongolia, and the Democratic Republic of the Congo.
16 Feb 00:20

Getting Started With Crafty: Introduction

by Monty Shokeen
Dan Jones

I've been wanting to try some simple game development. Like maybe an endless runner game.

If you have ever developed HTML5 games before, you might be familiar with a few game engines that can make game development a lot easier. They have all the code you need to detect collisions, spawn different entities, or add sound effects to your game. In this tutorial, you will learn about another such game engine called Crafty. It is very easy to use and supports all major browsers, including IE9. 

Once minified, the library is only 127kb in size, so it won't result in any major delay in loading your game. It supports sprite maps, so you can easily draw game entities on the screen. You can also create custom events that can be triggered whenever you want and on whatever object you want. 

There are also components for sounds, animation, and other effects. Overall, this game engine is a great choice if you want to develop some basic HTML5 games.

Initial Setup

The first thing that you need to do is include Crafty in your project. You can either download the file and load it in your projects or you can directly link to the minified version hosted on a CDN. Once the library has been loaded, you can use the following line to initialize Crafty:

Crafty.init([Number width, Number height, stage_elem]);

The first two arguments determine the width and height of our stage. The third argument is used to specify the element that we are going to use as our stage. If the third argument is not provided, Crafty will use a div with id cr-stage as its stage. Similarly, if the width and height arguments are missing, Crafty will set the width and height of our stage equal to the window width and height.

At this point, you should have the following code:

<html>
  <head></head>
  <body>
    <div id="crafty-game"></div>
    <script type="text/javascript" src="path/to/crafty.min.js"></script>
    <script>
      Crafty.init(600,400, document.getElementById('crafty-game'));
    </script>
  </body>
</html>

Creating Entities

Entities are building blocks of a Crafty game. Everything from the player to the enemies and obstacles is represented using entities. You can pass a list of components to an entity. Each of these components will add extra functionality to our entity by assigning properties and methods from that component to the entity. You can also chain other methods to an entity to set various properties like its width, height, location, and color. Here is a very basic example of adding components to an entity:

Crafty.e('2D, Canvas, Color');

Every entity that you want to display to the user will need both the 2D component and a rendering layer. The rendering layer can be DOM, Canvas, or WebGL. Please note that WebGL support was added in version 0.7.1. Currently, only the Sprite, Image, SpriteAnimation, and Color components support WebGL rendering. Text entities still need to use DOM or Canvas for now.

Now, you can use the attr() method to set the value of various properties including the width, height, and position of your entity. Most methods in Crafty will return the entity they are called on, and attr() is no exception. This means that you will be able to chain more methods to set other properties of your elements. Here is an example:

Crafty.e("2D, Canvas, Color")
      .attr({x:200, y:100, w:200, h:50})
      .color("orange");

This will create an orange rectangular entity on the stage.

Moving Entities Around

Now that you have created the entity, let's write some code to move it around using the keyboard. You can move an entity in four different directions, i.e. up, down, left, and right, by adding the Fourway component to it. 

The entity can then be moved by either using the arrow keys or W, A, S, and D. You can pass a number as an argument to the fourway constructor to set the speed of the entity. Here is what the code of the entity should look like now:

Crafty.e("2D, Canvas, Color, Fourway")
      .attr({x:200, y:100, w:200, h:50})
      .color("orange")
      .fourway(300);

You can restrict the movement of an entity to just two directions using the Twoway component. Replacing the Fourway component in the code above with Twoway will confine the movement of the box to just the horizontal direction. This is evident from the following demo:

You can also add your own components to different entities for identification or to group similar entities together. In this case, I am adding the Floor component to our orange box. You can use some other descriptive names to help you identify different entities.

Crafty.e("2D, Canvas, Color, Twoway, Floor")
  .attr({ x: 200, y: 340, w: 200, h: 50 })
  .color("orange")
  .twoway(300);

There is another very useful component that you can use to move elements around, and it is called the Gravity component. When added to an entity, it will make that entity fall down. You might want to stop the given entity from falling further, once it encounters some other entities. This can be achieved by passing an identifier component as an argument to the gravity function. Here is the code that makes the small black square fall on the floor or platform:

Crafty.e("2D, Canvas, Color, Gravity")
  .attr({ x: 200, y: 50, w: 50, h: 50 })
  .color("black")
  .gravity("Floor");

Final Thoughts

As you see in the tutorial, we were able to create the basic structure of a simple game using very little code. All we had to do was add components to our entities and specify the values of different properties like width, height, or movement speed.

This tutorial was meant give you a basic idea of entities and other concepts related to Crafty. In the next part, you will learn about entities in much more detail. If you have any questions about this tutorial, let me know in the comments.

16 Feb 00:20

Did you know...Google Search now has easy-to-find fun facts?

by Satyajeet Salgar

Did you know a cat can’t chew big pieces of food because their jaw can’t move sideways? Or that hamsters got their name from the German word “hamstern” which means to hoard? And how do we know this? Starting today on Google Search, you can find fun facts about living creatures from around the world, making you the most interesting person at the dinner party or the reigning champ at trivia. Head to Google, ask for a fun fact about something (think plants, animals, fruits and veggies), and ta-da! A trivia tidbit is delivered right at the top of your search results.

For the animal lovers out there, fun facts might be man’s (new) best friend. It might surprise you to learn that dogs have three eyelids to help protect and keep their eyes from drying out. Or for the arachnophobes out there: The venom of the black widow spider is apparently 15 times more potent than a rattlesnake's. The animal kingdom is chock full of wild facts and even wilder beasts!

hippo

For those of you still finding a reason to celebrate Valentine’s Day (or perhaps looking to make up for yesterday), stop and smell some fun facts about flowers. Did you know that light red carnations represent admiration, while dark red denotes deep love and affection? Or that the Ancient Greeks considered the violet to be a symbol of love and fertility and was an essential ingredient for love potions? A quick search may come in handy before you buy your blooms.

If you’re trying to convince the little ones in your life to eat healthy, fun facts about fruits and veggies are sure to please. After all, who knew that strawberries actually aren’t berries at all? Or that the inner temperature of a cucumber can be up to 20 degrees cooler than the outside air? That’s sure to put your brain in a pickle.

These are just a few of the fun facts out there for you to find on Google. And here’s a pro-tip for the trivia lovers out there: Some queries have multiple facts, one of which we randomly display when searched. So if you’re interested in learning more, just hit refresh and another fact may surface. Enjoy your fact finding!

16 Feb 00:20

Google Home and Amazon Echo may soon make phone calls

by Evan Selleck
Dan Jones

Interesting

While Google Home and the Amazon Echo are well-equipped with features already, the companies behind these smart speakers may soon add another major feature.

The Wall Street Journal offers a brief report suggesting that both Google and Amazon are working out ways to make the Home and Echo support phone call functionality. However, there are issues holding up both companies, including privacy, access to emergency service, and telecom regulations.

The report also adds that both companies are aware of the “inherent awkwardness” of having phone conversations on a speaker, which makes one wonder why they’d be going down that route at all if that’s the case.

Amazon is also working with a few more road blocks of its own, considering it does not own the operating systems that the Echo connects to to facilitate those phone calls. To get around these elements, Amazon may introduce a virtual number for the Echo speaker, or simply allow for call forwarding.

Do you think the Home or Echo should support phone calls?

15 Feb 15:09

Heart Plus Dog

by The Awkward Yeti

The Awkward Yeti | Heart Plus Dog

14 Feb 19:35

While discussing the DEADPOOL movie... (From the OVC Archive!)

by MRTIM

14 Feb 19:35

Shaking My Head In Hopeless Disbelief As I Watch The World Fall...



Shaking My Head In Hopeless Disbelief As I Watch The World Fall To Pieces Before My Eyes

PS: Need some good vibes to get you through? I’m Kickstarting a book of life advice from turtles. Good for the soul. Check it out!

14 Feb 19:35

ʕ – ▃ – ʔ  NATURE: AS POWERFUL AS SHE IS MYSTERIOUSPS: I just...



ʕ – ▃ – ʔ  NATURE: AS POWERFUL AS SHE IS MYSTERIOUS

PS: I just launched 2 new books on Kickstarter collecting my best comics from the past 3 years! They’ll bring you equal parts joy and maniacal laughter. Check it out!

14 Feb 19:35

This is the world we live in.I do a lot of these.So do other...















This is the world we live in.

I do a lot of these.
So do other people.

14 Feb 19:35

Photo



14 Feb 19:35

Where are the tests?

by CommitStrip

14 Feb 19:35

Comic for 2017.02.12

14 Feb 17:50

Google shutting down Hands Free pilot test next week

by Alex Wagner

Nearly one year after kicking off its Hands Free mobile payments trial, Google has revealed that its ending the test.

Google says that it’s shutting down the Hands Free app on February 8, almost one year after launching a pilot program in the San Francisco Bay Area. the company goes on to say that it’s using customer feedback to “bring the best of the Hands Free technology to even more people and stores,” and while Google won’t say what it’s got planned next, it does urge everyone to check out Android Pay in the mean time.

Google Hands Free was originally announced way back in May 2015. The goal of the service was to let you pay for things hands-free using the Bluetooth, Wi-Fi, and location services parts of your smartphone. After telling the cashier that you’d like to “pay with Google,” they would confirm your identity using the name and photo associated with your profile, and then you’d be good to go.

It’s kind of disappointing that the Hands Free trial only lasted a little less than a year and was only available in the Bay Area, because that means that many of us didn’t get to try the service. Here’s to hoping that when Google says that it’s working to bring Hands Free tech to more people and stores, that means that more of us will get to have a Hands Free-like experience in the future.

Did you ever try Hands Free?

14 Feb 17:50

Google Play Store getting new app management screen

by Dima Aryeh

The app management screen in the Google Play Store is pretty rudimentary. You get a list of installed apps and a list of all apps you’ve previously installed. That may change soon.

The images you see above reportedly show how the new app management screen will soon look. There is a separate tab for updates alongside the installed and library tabs and installed apps can be sorted via a drop down menu. You can also open apps with a single tap rather than opening the Google Play listing first, as well as see app size and when it was updated and last used.

There’s no news on when this will launch, but at least one person has gotten this new layout. Hopefully it’ll be a quick rollout!

14 Feb 17:50

Texts From SuperheroesFacebook | Twitter | Patreon



Texts From Superheroes

Facebook | Twitter | Patreon

14 Feb 17:50

Texts From SuperheroesFacebook | Twitter | Patreon



Texts From Superheroes

Facebook | Twitter | Patreon

14 Feb 17:49

Texts From Superheroes: Best Of Valentine’s Day      Read More of the Best of Valentine’s Day on...

Texts From Superheroes: Best Of Valentine’s Day

 

image

 

image

 

image


Read More of the Best of Valentine’s Day on Texts From Superheroes

02 Feb 02:21

I Went Through America’s Extreme Vetting

by Dan Jones
01 Feb 18:09

Photo



01 Feb 17:57

together

by Lunarbaboon

01 Feb 17:57

Vaccines.

by B_Movie_Guy
Sometimes I wonder how this asshole got elected and then I remember that I drew a comic about that already...

Love,
   Chris.
Facebook.com/PoorlyDrawnThoughts
Instagram.com/PoorlyDrawnThoughts
Twitter.com/PoorlyDrawnGuy
01 Feb 17:57

#1481 – Complete (No Comments)

by Chris

#1481 – Complete

31 Jan 12:53

Texts From SuperheroesFacebook | Twitter | Patreon



Texts From Superheroes

Facebook | Twitter | Patreon