Huawei confirms its phones will be sold by US carriers in 2018, starting with Mate 10

  • Huawei exec Richard Yu stated its phones will be “competitively priced” in the US market.
  • He added that Huawei does not expect to deal with security concerns in the US.
  • More information on the Huawei US carrier launch will be revealed at CES 2018.

After months of rumors and unconfirmed reports, the massive China-based phone company Huawei has finally and officially revealed that some of its handsets will be sold by US wireless carriers, starting sometime in 2018. The first such phone will be in its Mate 10 family of devices.

Editor’s Pick

The report comes from ABC News, quoting Richard Yu, the president of Huawei Technologies’ consumer business. He stated, “We will sell our flagship phone, our product, in the U.S. market through carriers next year.” The Mate 10, and its higher-end brother, the Mate 10 Pro, went on sale in China and other markets earlier this fall. Previous rumors claimed that the Mate 10 Pro would be sold by AT&T and Verizon in 2018. Yu did not state specifics on which carriers would sell its phones, but he did reveal that more information on those sales plans will be announced in early January during CES 2018.

While Huawei has sold phones under its own name and with its Honor brand in the US as unlocked devices online, breaking into the US carrier market could be huge for the company. Huawei is currently the number three seller of smartphones worldwide, trailing behind only Apple and Samsung. Yu stated today that the company’s phones, as sold by carriers, would be “competitively priced” in the US market.

He also added that Huawei does not expect its plans to be hit by security concerns by the US government. Some lawmakers and agencies have expressed concerns in the past that Chinese-based smartphone companies like Huawei could use those devices to spy on consumers. Today, Yu denied that would be the case, and suggested that those kinds of complaints were either politically motivated, or perhaps generated by its competitors.

This Visionary Sci-Fi Author Sees the Destruction of Human Civilization: Predatory Capitalism

Ted Chiang examines how Silicon Valley has become its own worst nightmare.

The political theorist Frederic Jameson once observed that “it has become easier to imagine the end of the world than the end of capitalism.” But what if predatory capitalism finally destroys life on earth? That’s the question posed by science fiction writer Ted Chiang, who argues that in “superintelligent AI,” Silicon Valley capitalists have “unconsciously created a devil in their own image, a boogeyman whose excesses are precisely their own.”

In a new essay for Buzzfeed, part of a series about the forces shaping our lives in 2017, the acclaimed author of “Arrival” (Stories of Your Life and Others) deconstructs our fear of artificial intelligence; specifically, that of tech titans like Tesla founder Elon Musk. For Musk, the real threat is not a malevolent computer program rising up against its creator like Skynet in the Terminator films as much as AI destroying humanity by accident. In a recent interview with Vanity Fair, Musk imagines a mechanized strawberry picker wiping out the species simply as a means of maximizing its production.

“This scenario sounds absurd to most people, yet there are a surprising number of technologists who think it illustrates a real danger. Why?” Chiang wonders. “Perhaps it’s because they’re already accustomed to entities that operate this way: Silicon Valley tech companies.”

In Musk’s hypothetical, the destruction of human civilization follows the logic of the free market.

“Consider: Who pursues their goals with monomaniacal focus, oblivious to the possibility of negative consequences? Who adopts a scorched-earth approach to increasing market share?” Chiang continues. “[The] strawberry-picking AI does what every tech startup wishes it could do—grows at an exponential rate and destroys its competitors until it’s achieved an absolute monopoly.”

Ultimately, the catastrophe Musk and others foretell has already arrived in the form of “no-holds-barred capitalism.”

“We are already surrounded by machines that demonstrate a complete lack of insight, we just call them corporations,” Chiang continues. “Corporations don’t operate autonomously, of course, and the humans in charge of them are presumably capable of insight, but capitalism doesn’t reward them for using it. On the contrary, capitalism actively erodes this capacity in people by demanding that they replace their own judgment of what ‘good’ means with ‘whatever the market decides.'”

For Chiang, the operative word is insight. Our capacity for self-reflection, or the “recognition of one’s own condition,” is what separates humans from the Googles, Facebooks and Amazons. And it is this deficiency that makes these monopolies so uniquely dangerous.

“We need for the machines to wake up, not in the sense of computers becoming self-aware, but in the sense of corporations recognizing the consequences of their behavior,” he concludes. “Just as a superintelligent AI ought to realize that covering the planet in strawberry fields isn’t actually in its or anyone else’s best interests, companies in Silicon Valley need to realize that increasing market share isn’t a good reason to ignore all other considerations.”

Read Chiang’s essay at Buzzfeed.

 

Related Stories

  • Are You Suffering from Selfitis?
  • Uber Stole Trade Secrets, Bribed Foreign Officials and Spied on Rivals, Filing Says
  • Dustin Hoffman Faces Disturbing New Allegations of Sexual Misconduct

Robert Mueller Has the Trump Team Panicked, No Matter What the President Says

The special prosecutor has reportedly obtained thousands of campaign emails.

Donald Trump responded to questions on Sunday saying he had no intention to fire Special Counsel Robert Mueller. But while Trump was making this statement, both his team inside and outside the White House and Republicans in Congress continued to beat the drums for Mueller’s dismissal.

The president’s comments came a day after a lawyer representing Trump’s transition team accused Mueller of wrongfully obtaining thousands of emails sent and received by Trump officials before the start of his administration — a legal and public relations maneuver seen as possibly laying the groundwork to oust the special counsel.

The revelation that Mueller has obtained a large number of emails issued during the transition period had clearly sent Trump’s team scrambling. It’s not just that Mueller had this material now, but that he seems to have obtained it weeks ago, meaning that recent questioning of everyone from Jared Kushner to Hope Hicks may have been responding to questions for which Mueller already had the answers in hand. Considering that half the people Mueller has already indicted were convicted for lying, that has to have everyone in the White House carefully reviewing their time with the special counsel.

The Republican play on Mueller’s acquisition of the emails is that it is “illegal”—a charge made without bothering to state just what law might have been broken. On Sunday, Trump joined in the vague grumbling.

Trump criticized Mueller for gaining access to those emails, telling reporters the situation was “not looking good.”

But the letter from Trump’s lawyer and additional charges of partisanship by Mueller’s team, was enough to generate a rare statement from Mueller’s spokesman, Peter Carr.

“When we have obtained emails in the course of our ongoing criminal investigation, we have secured either the account owner’s consent or appropriate criminal process.”

Mueller’s gathering up the transition emails is giving Donald Trump a sad.

“It’s quite sad to see that,” Trump said. “My people were very upset about it.”

The potential for additional indictments over lying under oath gives Mueller even more leverage in his efforts to collect testimony directly concerning Trump … but Trump is maintaining an attitude of reduced concern.

Trump has spent much of his first year in office so enraged by the federal investigation into Russian meddling in last year’s election that lawmakers who work with him tried to avoid the issue entirely and his friends worried that Trump might rashly fire the special counsel. But in recent weeks, Trump has privately seemed less frustrated about the investigation, according to multiple sources who have spoken with the President.

Trump has been telling people that he expects to soon be cleared “in writing,” and keeps insisting that Mueller’s investigation will soon be over.

“The President’s mantra is ‘All this Russia stuff, it’s all going to wrap up soon.’ He repeats it as fact,” said one source who speaks to Trump. “Part of me is like — ‘Are you serious? You believe this?'”

But there’s no indication that the special counsel is running out of either witnesses or information. Just eight months in, Mueller’s investigation is a less than a quarter of the length of the average special counsel or special prosecutor investigation, and less than a tenth of investigations like Iran/Contra or Whitewater. It could easily proceed through the length of Trump’s time in office—whether or not that time is shortened.

For the investigation to end anytime soon, as Trump indicates, it will likely be because Trump and the Republicans step in to halt the process before it can complete. But while others are working to tear down Mueller’s reputation and attack the integrity of the investigation, Trump himself seems to be spending time in fantasyland.

Three sources familiar with the President’s recent conversations about the investigation said Trump has become convinced that he will receive a letter of exoneration, which would be unusual. One source worried Trump would have a “meltdown” if that doesn’t happen.

Maybe he expects that letter to come with the signature of Jefferson Sessions. Or new special counsel Sean Hannity. And maybe they’ll also give him a gold star.

 

 

 

Related Stories

  • The One Scenario in Which Trump Would Risk Impeachment and Fire Robert Mueller
  • Donald Trump Jr. and Ted Cruz Mock Barack Obama with Bizarre Cookie
  • Fox News’ Jeanine Pirro Delivers Her Most Disturbing Monologue of Trump’s Presidency

Core-PHP vs FrameWorks-in-PHP

PHP can be considered more as a revolution in the web development arena. Beginning with scripting of simple web pages, PHP today has evolved into a language that powers almost 60% of the web. Well, it has been extensively modified to develop frameworks and content management systems to ease the tasks of developers. Essentially, frameworks have some pre-coded functionalities that developers require on a regular basis and content management systems are built with the end user in mind.
We assume that Core PHP means solving a Mathematical problem by using paper and pen. Frame work means solving Mathematical problem by using a calculator.

Core PHP-Solving Mathematical Problem

Only some students can achieve results by using paper and pen as same as in PHP. Only a few of the developers can write the code in an easy way and reliable format.
Core PHP uses the PHP script in its purest form. A developer needs to know the language thoroughly in order to write a clear and concise code using core PHP. Only the experts can write flawless and reliable code using its core form.

Framework – Solving Mathematical problem

Everyone can achieve the result by using the calculator as same as in PHP. Even beginners can write the code in easy way and reliable format.
Frameworks are basically time savers. They have a rich set of functionalities available so that the developer does not have to embed the same code again and again. These frameworks generally have a fixed set of rules and hence the code can be passed on from one developer to another without any hassles. 
In core PHP one developer may not be able to read another developer’s code that easily. Frameworks on the other hand provide consistency in the code and are big time savers when the project needs to be handled by several developers at the same time. Frameworks rarely allow you to write bad code. This ensures less time in debugging and helps you deliver your project faster.
Frameworks Advantages:
  • Framework introduces an extra layer to wrap your business code which in turn provides better manageability and easily workability in teams. If you take an example of any MVC( Model-View-Controller)framework; you can understand that the teams can separately work on Model, Views and controller part. ORM (Object-relational mapping) provides easy scalability.
  • A framework gives you some tools and function to make it easier for yourself. For example the database seeds, the form request classes, the migrations, and so on.
  • In framework everything come as set of predefined codes, helpers, libraries. So, you don’t have to write your own pagination, security code or integrate someone else’s pagination, security scripts. Framework follow specific standard which makes the codes more organized. Besides, frameworks have organized MVC pattern that separate your code into 3 categories, excluding the probability of code.
  • Framework is better because almost everything is provided, you need to write less code and there is less to worry about.
  • Frameworks usually have security classes in the core. Some methods of Input class have flags to clean XSS from _POST or other global array.

Disadvantages:
  • You need to learn more as there is a specific learning curve for specific frameworks.
  • Frameworks are slower than core PHP code.

Core PHP code Advantages:
  • Core PHP offers you a lot of freedom a lot of space for imagination and invention.
  • If code is small; going with procedural PHP/Core PHP is good idea.

Disadvantages:
  • You need to write lots of code that may already be written.
  • There is more to consider about, like security (SQL Injection, XSS), organization of code, separation of business logic, view etc., (that frameworks already do it for you).
Enhance Projects
Everyone wants to move into sophisticated technologies. If any website or web applications have developed in Core PHP, it is difficult to enhance the website components, but if website or web applications has developed in Frame Work PHP, it is very easy to enhance the features.
Lets see some of the widely used PHP Frameworks:

1.Laravel

According to Sitepoint’s recent online survey it is the most popular framework among developers. Laravel has a huge ecosystem with an instant hosting and deployment platform, and its official website offers many screencast tutorials called Laracasts.
Laravel has many features that make rapid application development possible. Laravel has its own light-weight templating engine called “Blade”, elegant syntax that facilitates tasks you frequently need to do, such as authentication, sessions, queueing, caching and RESTful routing. Laravel also includes a local development environment called Homestead that is a packaged Vagrant box.

2.Symfony 

Symfony is a flexible, scalable yet powerful PHP frameworks for MVC application. There are plenty of reusable PHP components that can can be used like Security, Templating, Translation, Validator, Form Config and more. Like Laravel, it’s alss modularize with Composer. Its goal is to make your web application creation and maintenance faster with less repetitive coding.

3.CodeIgniter 

CodeIgniter is a lightweight PHP framework that is initially released in 2006. CodeIgniter has a very straightforward installation process that requires only a minimal configuration, so it can save you a lot of hassle. It’s also an ideal choice if you want to avoid PHP version conflict, as it works nicely on almost all shared and dedicated hosting platforms.
CodeIgniter is not strictly based on the MVC development pattern. Using Controller classes is a must, but Models and Views are optional, and you can use your own coding and naming conventions, evidence that CodeIgniter gives great freedom to developers. If you download it, you’ll see it’s only about 2MB, so it’s a lean framework, but it allows you to add third-party plugins if you need more complicated functionalities.

4.CakePHP 

CakePHP is a PHP framework that support version 4 and above. It is easy to learn with fast and flexible templating. The integrated CRUD (create, read, update and delete) is a handy feature in CakePHP for your database interaction. It also has various built-in feature for security, email, session, cookie and request handling.

5.Yii 2

Yii is a generic Web programming framework, meaning that it can be used for developing all kinds of Web applications using PHP. Because of its component-based architecture and sophisticated caching support, it is especially suitable for developing large-scale applications such as portals, forums, content management systems (CMS), e-commerce projects, RESTful Web services, and so on.
Yii is a full-stack framework providing many proven and ready-to-use features: query builders and ActiveRecord for both relational and NoSQL databases; RESTful API development support; multi-tier caching support; and more.

5. Phalcon

The Phalcon framework was released in 2012, and it quickly gained popularity among PHP developers. Phalcon is said to be fast as a falcon, because it was written in C and C++ to reach the highest level of performance optimization possible. Good news is that you don’t have to learn the C language, as the functionality is exposed as PHP classes that are ready to use for any application.
As Phalcon is delivered as a C-extension, its architecture is optimized at low levels which significantly reduces the overhead typical of MVC-based apps. Phalcon not only boosts execution speeds, but also decreases resource usage. Phalcon is also packed with many cool features such as a universal auto-loader, asset management, security, translation, caching, and many others. As it’s a well-documented and easy-to-use framework.

6.Slim

Slim is a lightweight micro-framework for PHP inspired by Sinatra, a Ruby framework. It has a tiny size without overkill learning curve. It’s built with incredible routing system and focuses on RESTful API with all HTTP methods (GET, POST, PUT, DELETE) supports. To use it, you need at least has a PHP version of 5.2+.

7.Zend

Zend Framework is a scalable and full featured object-oriented PHP framework.It has an online training and certification which make it popular and used by plenty of enterprise organizations. With its OOP (object-oriented programming) and design patterns consistency, you can easily extend custom classes and use only what you need.

8.Nette

The Nette Framework is another player in the world of php web application frameworks – but like most others, it has its right to be here. It comes with great and powerful features, and makes life easier for web developers. Nette uses revolutionary technology that eliminates security holes and their misuse, such as XSS, CSRF, session hijacking, session fixation, etc.
Nette is modern php framework which supports  AJAX / AJAJ, Dependency Injection, SEO, DRY, KISS , MVC, Web 2.0, cool URL

Want to learn Web Technologies?

The best tech gifts for men

Yes, the holidays are almost here again, and so if you haven’t finished shopping yet, it’s time to start thinking about what to get those special people in your lives. Or the people you want to suck up to – could go either way. So this year, we have a roundup of some of the best gifts you can give that will apply to most guys… though many of them will honestly make sense for anyone regardless of age or gender. Or you can go regift that fondue set from last year. We won’t judge. Should you decide not to go that route, here are some things you can think about.

Looking for even more options? Check out the following guides:

  • 10 cheap tech gifts that only look expensive
  • Best tech gifts under $25
  • Best tech gifts under $50
  • 11 cheap secret Santa gifts
  • These gifts look like they come straight out of Star Trek
  • 6 geeky gift ideas that aren’t just for nerds anymore

Exercise tracker

Exercise trackers are a thing these days. They allow you to track your steps, heart rate, and a number of other vital statistics to keep you healthy and happy. The Fitbit Blaze is Fitbit’s first foray into smartwatch territory. The Fitbit Blaze uses Fitbit’s custom software to track your body’s stats, and deliver some smartwatch notifications as well. The design is a little on the chunky side, but it can average around four days of battery life.

See more

If Fitbit isn’t his style, maybe give the Garmin Vivosmart a look.

Get Fitbit Blaze at Amazon
Get Garmin Vivosmart at Amazon
 

Home Assistant

Home assistants are one of those items that, once you have them, you can’t live without them. From checking on weather, appointments, or traffic to controlling your smarthome, a home assistant is one of the more futuristic technologies available today. But they can be a little pricey and it seems like something one wouldn’t buy for oneself, which is what makes it a perfect gift!

Google Home is a great product, and it even allows you to make phone calls and play movies and YouTube videos on your Chromecast-connected TVs. Google Home is a jack-of-all-trades kind of product, while other home assistants are a little more focused in one area or another. So, The home is definitely our recommendation in this gift guide. Check it out in the links below.

If your recipient is more Amazon-focused, then the second-generation Echo is also a great buy. Don’t forget both Google Home and the Amazon Echo have “mini” counterparts – you know, if you don’t love them THAT much.

See more
Get Google Home at Google
Get Amazon Echo at Amazon

VR Headset

In the world of VR, Oculus is by far the best known brand out there. While devices like the HTC Vive offer an outstanding experience the Oculus Rift headset is one of the go-to models in the world of VR. It offers a great array of games, plus support from a multi-billion dollar company which is always helpful. The Oculus Rift requires a pretty hefty computer to hook up to, much like the Vive, but the price is a bit lower – around $100 dollars lower.

Truth be told, the HTC Vive is a great experience too – you won’t really go wrong with either one. But Oculus has the name recognition and has a much stronger source of cash, tipping the scales in its favor.

Of course, if your recipient has a Playstation, the Sony Playstation VR is a great headset as well.

Get Oculus Rift at Amazon
Get HTC Vive at Amazon
Get PlayStation VR at Amazon

Headphones

In case you haven’t noticed, wired headphones are a dying breed. At least, those with a 3.5mm jack are. It remains to be seen what will happen with USB Type-C connectors or lightning connectors (hashtag #courage). For now, it’s best to adapt or die, so let’s talk about some bluetooth headphones.

The Jaybird X3 bluetooth in-ear headphones are sleek and stylish with great connectivity. These headphones come with a nice carrying case as well, making them a nice little package. That being said, these are in-ear monitors, which isn’t for everyone. The sound coming from them tends to be good, but not great, so if sound quality is of the utmost importance, or you’re not a fan of in-ear headphones, you may want to look at the Grado SR60e instead.

Get Jaybird X3 at Amazon
Get Grado SR60E at Amazon

Media Streaming

More and more of our content is coming from the internet these days. With the somewhat recent introductions of cable replacement services, like YouTube TV, Sling TV, and others, cord-cutting is becoming a real possibility for many folks out there. Of the wide variety of set top boxes that are out there, Roku stands above the rest. First and foremost, Roku has been doing this for a long time – long before the cord cutting phenomenon began. The Roku Express is an inexpensive, but not underpowered little box that can load up all of your cord-cutting apps without breaking a sweat, and without breaking the bank.

Roku’s UI is also very nice and very streamlined. Oddly enough, Amazon’s Instant video app works much better on the Roku than it does on the Fire Stick. Go figure. Speaking of the Fire Stick, that’s not a bad alternative to a Roku, if you happen to like Amazon’s interface and ecosystem.

See more
Get Roku Express at Amazon
Get Amazon Fire TV Stick at Amazon

Tablet

The future of tablets doesn’t really look all that bright if we’re going to be totally honest. But, there are still some solid use-cases for tablets today. The aforementioned cord-cutting/media streaming is a big one. Gaming is a solid number two. Whatever the case, tablets are still here, and they’re still fun to play with. And in the tablet space, the industry leader is far and away the iPad. From its inception the iPad has handled the transition from small phone screen to large tablet screen the best. Apps are designed exclusively for the iPad, and not just scaled up.

Sure, the iOS interface is about as exciting as watching paint dry in a cornfield in Iowa after 8 hours of fishing having caught no fish. I may be overstating, but the point is, even though the interface is not exciting, the apps make the ecosystem, and iPad app development is not going anywhere any time soon. However, if you’re a fan of thumbing your nose at industry trends, the runner up in the tablet market – the Amazon Fire also sports a solid lineup of devices to choose from with its own app ecosystem – assuming you can live without Google services.

Editor’s Pick
Get iPad Pro at Amazon
Get Fire tablets at Amazon

Phones

Of course if you really want to blow away a man during the holidays, who doesn’t love a new phone to play with. And recently, the Google Pixel 2 XL is one of the most solid phones you can buy today. It’s true, there may or may not be some screen issues, and until those can be addressed it’s hard to throw a lot of weight behind this recommendation. But, by the time you procrastinators out there are looking to shop for the holidays, perhaps we might have more clarity.

That being said, the Samsung Galaxy Note 8 is also a great phone to pick up for the holidays. Samsung has been absolutely killing it in the hardware department, and the Note 8 takes real advantage of that stylus. For a powerful phone that will last and last, the Note 8 might just be your phone of choice this holiday season – especially when it comes to snapping photos and sending them to friends and family.

See more
Get Google Pixel 2 XL at Verizon
Get Samsung Galaxy Note 8 at Amazon

Laptop

But since we’re talking about computing power, why settling for a phone or tablet when a full-blown laptop might be just what the doctor ordered. And in that area, the Dell XPS 13 is a beautiful line of laptops that absolutely kills it in the hardware department. The Dell XP 13 laptop can be just as powerful as you need it to be – it’s a very versatile line of laptops and comes in a number of configurations. But all of them come in the same gorgeous package.

If you’re not a Windows fan, give a long hard look at the ASUS Chromebook Flip. With a full touchscreen, tablet mode, USB-C ports and more, this is a solid contender in the Chromebook space.

Get Dell XPS 13 at Amazon
Get Asus Chromebook Flip at Amazon

Robot vacuum

When you think of robot vacuums, you think of Roomba. Sometimes you think of a puppy on a Roomba, but that’s a different conversation. Having a robot vacuum wandering around the house, doing what you hate to do is one of those wonderful things that you don’t think you need, until you have it. Giving this as a gift to someone is another one of those “you won’t buy it for yourself, so here” gift ideas. The Roomba 690 is one of the midrange options which gets you a lot of bang for your buck. It has WiFi connectivity and can be controlled using an app, plus there’s a host of other bonuses and add-ons that are pretty huge.

If the Roomba doesn’t float your boat, you can also take a look at the iLife A4. We also have a breakdown of a number of different robot vacuums over on DGiT.

Get Roomba at Amazon
Get iLife A4 at Amazon

Smart Coffee Pot

Coffee is arguably one of the most important parts of waking up in the morning. Millions of customers standing in line at Starbucks, Dunkin’ Donuts, and more every day can’t be wrong. But this is the future, and the future of coffee is in the smart Coffee Pot. Not to mention, we all like to drink coffee while we watch radar; everyone knows that. Enter the Mr. Coffee Smart WeMo Coffee Maker. This app-controlled coffee pot lets you automate much of the coffee making process – check the status of the coffee pot, set daily schedules for brewing, etc.

Alternatively, you could also take a look at the Behmor Connected Coffee Pot. We also wrote up a comprehensive look at smart coffee pots over a DGiT. Take a look!

Get WeMo Coffee Maker at Mr. Coffee
Get Belmor Coffee Maker at Amazon

TV

Vizio.com

Nothing says love during the holidays like a new TV, but getting the best new TV, without busting your budget can be a pretty big ask. The Vizio M Series 55-inch TV offers a lot of bang for your buck, and comes with an Android tablet to boot. The downside is, you use this android tablet as a remote which can be less than ideal. But to wrap up a TV and a tablet for the holidays, is a pretty big win in our opinion, so this would be a good way to go.

If you’re looking for a TV for gamers, the TCL P607 is a solid buy as well. Both TV’s are full array backlit instead of edge lit resulting in better black levels.

Get Visio TV at Amazon
Get TCL TV at Amazon

Drone

What man doesn’t want a drone? For the money, the DJI Spark is one of the best out there. Remarkably slim and stable, you can even fly the DJI spark using gestures, rather than a remote. Sure, it’s mostly a parlor trick at the moment, but it’s still pretty awesome tech and fun to brag about at parties. The DJI Spark is a great, “Grab and go” type of drone which will get you some great shots, and has a fair bit of range as well.

But it you want to really blow their doors off, take a look at the Phantom 4, also by DJI. The Phantom 4 is the Cadillac of drone flying with a range of two miles and more. Learn even more about your drone options over at DroneRush.

Get DJI Spark at Amazon
Get DJI Phantom 4 at Amazon

Home Game Console

At the beginning of the year, Nintendo came out with its new gaming console, the Nintendo Switch. At first, the console was tough to get hands on. Now the system can be had at most retail outlets without much hassle. The Nintendo Switch is one of the most versatile gaming systems out there. The tablet-like console has controllers on either side that slide off, the tablet itself has a kickstand, plus there’s an included dock to hook the console up to a TV. It is very close to an optimal gaming solution.

It’s not without its drawbacks – it’s a little underpowered compared to most modern gaming consoles. But the versatility of gaming scenarios, from family game nights, to road trips is pretty much unparalleled by any other system. If you know a gamer who doesn’t have a Nintendo Switch, this would put a smile on their face. Of course you could also get an Xbox or PS4, but odds are the person in your life already has one if they are into games at all. 

Get Nintendo Switch at Amazon

Smartwatch

Smartwatches are one of those fun accessories to a smartphone that you need to use, in order to understand. Unlike many accessories of this nature, there’s a pretty high barrier of entry to get in on this trend. So, what better way to bring joy to a man’s heart than with the gift of a smartwatch. The Samsung Gear S3 Frontier smartwatch is a stylish smartwatch that works great with his Android smartphone. The Tizen-based watch even add Samsung Pay ability through the watch, making contactless or magnetic stripe payments fun and easy. The days of cash are numbered and contactless payment opportunities are becoming more and more widespread. Best get on that wagon now.

Of course, if you need a watch for an iPhone user, look no further than the Apple Watch Series 3. No seriously, look no further, because that’s basically the only smartwatch that will work. The Apple Watch Series 3 adds LTE connectivity to the fold, which can be a great addition to the smartwatch family.

Looking for more options? Be sure to check out our guide to the best smartwatches.

Get Samsung Gear S3 Frontier at Amazon
Get Apple Watch at Amazon

Power bank

You can’t anticipate what’s going to happen on a daily basis, especially when it comes to your smartphone battery. So many smartphones today boast “all day battery life” which frankly leaves little room for error if your day is going to be longer than planned. Sometimes, you’ve just had a heavy gaming day. Whatever the reason, it’s always a good idea to have some extra juice on you when you need to tether on the train ride home, or entertain the kid while in line at the DMV. Does that seem to specific? Because believe me, it happens.

In cases like those, the Anker Powercore+ 20,000 mAh power bank might be a little on the beefy side, but it is very slick looking and slips easily into a bag. Plus it gives you PowerIQ technology and even a USB Type-C port for charging. This will top you off at the end of a long day, or keep you going during an overnight camping trip.

If you need something a little more compact, take a look at the Eighty Plus 10,000 mAh power bank. It’s a lot more sleek and also more attractive. We have a full rundown of a number of other power banks here on Android Authority. If neither of these two are exciting – well, that’s because they’re power banks, but we also have a longer list to look at.

Get Eighty Plus 10,000 at Amazon
Get Anker External Battery at Amazon

Tracking Beacon

People lose stuff. Like always. Which is why there has been a recent surge in tracking tags that attach to your stuff, so you can locate it when you lose it. Use cases for these things extend from wallets and purses, to bikes, to keys – you name it. Many of these tracking tag systems rely on the crowd to throw a blanket of coverage over an entire area. Connectivity range is limited, so in order to track items beyond 30 feet away from your phone, Tile users can report items they come across to their owners. It’s an elegant solution that requires a ton of user adoption in order to saturate an area.

Tile, and similar competitor Trackr have both gotten the type of widespread adoption required to make this somewhat of a reality. There are still gaps, to be sure, but GPS enabled trackers have miserable battery life and cost a lot of money. If you know someone who tends to misplace items, Tile or Trackr might just be a good stocking stuffer this holiday season.

Get Tile at Amazon
Get Tracker at Amazon

So that’ll do it for our holiday gift guide for the men in your life. ‘Are any of these items on your shopping list? Think we left something out? Hit us up in the comments below and let us know what you’ll be camping out on Black Friday for.

Disclosure: E-Commerce Content is independent of editorial content and we may receive compensation in connection with your purchase of products via links on this page. This post may contain affiliate links. See our disclosure policy for more details.

AIrrowy takes your mind off signals while keeping roads safe

Don’t you hate it when people don’t use their turn signals? I have to say most of my close calls have been due to drivers failing to use these handy lights. And it seems my experience is backed by a study from the Society of Automotive Engineers, which claims about 2 million accidents a year are caused by drivers not signaling a change of lane or turn. 

Other featured campaigns:

  • Elf Smart Plug makes your home intelligent for cheap
  • PLY is a motorcycle smart helmet that won’t break the bank
  • NOCABLE battery pack charges your smartphone wirelessly

Why is it such a hassle to simply move a lever. Not to defend those who don’t follow the rules, but driving is an attention hog. You have to look for cars, motorcycles, bicycles, lanes, signs, people, animals, debris, speed limits and more. There are plenty of distractions that could endanger your life, so maybe drivers just forget to reach for that lever in the middle of chaos. We are all human, after all, so a little help couldn’t hurt. 

We have come across a very neat tool being featured on Kickstarter. It goes by the name of AIrrowy and automates turn signal actions. The process is simple. Once installed on your vehicle (cars, motorcycles, etc.), it connects to your smartphone via Bluetooth and uses an app to predict your driving route. In essence, it is a simplified navigator that knows when and where you are turning. Signals will be activated accordingly.

Interested? The Kickstarter campaign only has a bit over 2 days to go, so you best make your move soon. You can get an AIrrowy for as low as €68. Shipments are estimated to start on April 2018, though, so you will have to wait a few months to stop worrying so much about signals. 

What do you guys think of these automated driving technologies? Will they spoil drivers? Should users still keep an eye on signals to make sure everything is functioning properly? After all, even big names like Tesla have had failures. 

Check out AIrowwy

Elemental Evil: Sessions 13 & 14

I just noticed that I am behind on my reporting on the Elemental Evil campaign. In the previous reported session the group had reached level 5 and was about to head for the Sacred Stone Monastery. Sessions 13 and 14 were about the adventures of the group in that monastery. However once again it has to be remarked that this particular group is mainly interested in the combat aspects of D&D, and less interested in the role-playing aspects. And the campaign has been chosen with this preference in mind, containing a lot of dungeon crawls. Nevertheless even in that campaign the group still managed to avoid most opportunities to find out more about the story, and spent those two sessions mostly in combat encounters.

The group entered the Sacred Stone Monastery via the garden and from there into the main hall. However that was exactly what the bad guys had planned for invaders, as the main hall contains a trap that drops the group down into the dungeon and into a cage with an Umber Hulk. Having beaten the Umber Hulk and then some orog and ogre guards, the group liberated a group of slaves used for mining work. That included members of the Mirabar delegation, which in the book is the official story hook. However the group showed absolutely no interest in asking them about what had happened to the delegation, and allowed the slaves to leave unescorted.

Next the group entered a part of the dungeon in which a Lich lives. A Lich is a challenge rating 21 monster and obviously not meant as a combat encounter for level 5 characters. But in spite of the Lich just being a bit grumpy and not immediately attacking, the group decided against getting information from him, and just fled. Having otherwise cleaned out the basement, the group found another staircase up, and found themselves in the middle of the monk’s quarters, where a big fight ensued. That included the boss of the place, a blind female monk with the name of Hellenrae. Just like in the previous two elemental keeps, the group killed the boss, looted the magical key part the bosses are carrying, and then legged it.

Then they returned to Red Larch to rest and recuperate. But the next morning at breakfast in the inn, they were attacked by four hell hounds. That was a bit annoying for the sorceress, who mainly had fire-based spells like scorching ray and fireball, to which the monsters were immune. But although they took heavy damage from fire breaths, the group prevailed and sent the dogs packing. They (correctly) concluded that the hell hounds had been sent by the one cult they hadn’t visited yet, the fire cult. As they had previously heard about druids planning a fire ritual at a location which corresponded to the location of the fourth elemental keep on their ancient map, they plan to go there in the next session.

Sarah Palin’s Son Track Palin Was Arrested in Alaska on Domestic Violence Charges

This is not the first time the former governor’s son has been arrested for violent behavior.

Track Palin, oldest son of former Alaska governor Sarah Palin, was arraigned Sunday on charges of felony burglary, assault in the fourth degree and criminal mischief for causing property damage.

The charges are all related to domestic violence, of which Palin has a history.

An attorney representing Sarah Palin and her husband Todd said he was unable to comment on the situation.

“Given the nature of actions addressed last night by law enforcement and the charges involved, the Palins are unable to comment further,” attorney John Tiemessen told NBC News in a statement. “They ask that the family’s privacy is respected during this challenging situation just as others dealing with a struggling family member would also request.”

Last time Track was arrested following allegations of domestic abuse, Sarah used it as a disturbing political talking point to suggest Americans don’t have enough respect for the military.

 

Related Stories

  • Former Fox News Analyst Tamara Holder Shares Explicit Details of Sexual Assault
  • The GOP’s Favorite Weapon to Hijack Our Elections
  • The Fempire Strikes Back with #MeToo

Does PHP & XML work together in the same place ? LoL , Yes, they do !

PHP and XML


XML stands for Extensible Markup Language. A markup language is used to annotate text or add additional information. These annotations are not shown to the end-user, but are needed by the ‘machine’ to read and subsequently process the text correctly.An XML document is plain text and contains tags delimited by < and >.
XML plays a significant role in the present world of web development, it is perfectly useful for those who wish to make use of web technologies for distributing information across the web.
XML is used to format a document with a web browser. It is an influential and effectual tool to process a document’s contents and therefore, creating own tags is possible with XML. It works well with any operating system and maintains a great amount of flexibility, which is very essential for the web development scenario. 

Parsing an XML Document

Parsing is usually applies to text  it is  the act of reading text and converting it into a more useful in-memory format, “understanding” what it means to some extent.
An XML Parser is a parser that is designed to read XML and create a way for programs to use XML.

PHP – Simple XML

PHP 5’s new SimpleXML module makes parsing an XML document, well, simple. It turns an XML document into an object that provides structured access to the XML.
The simple XML parser is used to parse Name, attributes and textual content.
The simple XML functions are shown below:


simplexml_load_file():

This function accepts file path as a first parameter and it is mandatory:
simplexml_load_file(($fileName,$class,$options,$ns,$is_prefix)

simplexml_load_string():

This function accepts the string instead of file reference.
simplexml_load_string($XMLData,$class,$options,$ns,$is_prefix)

simplexml_import_dom():

This function accepts DOM formatted XML content and it converts into simple XML.
simplexml_load_string($DOMNode,$class)
Assuming we’ve got our XML file above saved as a file called sctpl.xml in the same folder as our php file, we can read the whole feed into an object with the following code.

<?php
$sctpl = consultancy('sctpl.xml');
?>


PHP – Simple XML GET:

Get Node Values:

Consider following XML file:
sctpl.xml:
<SCTPL>

<Location >
<address>4/B wing,Trishul Apartments,Sindhi Society Rd Number1,Chembur, Mumbai.
</address>
<phno> 022-25277413 </phno>
<facebook>https://www.facebook.com/suvenconsultants/</facebook>
<youtube>https://www.youtube.com/user/rockyjagtiani</youtube>
<Location>

</SCTPL>

Following Code will return value of address,phno,facebook,youtube nodes:

Example

<?php
$xml=simplexml_load_file(“sctpl.xml”) or die(“Error: Cannot create object”);
echo $xml->Address . “<br>”;
echo $xml->phno . “<br>”;
echo $xml->facebook . “<br>”;
echo $xml->youtube; ?>
Output of above code will be:
4/B wing,Trishul Apartments,Sindhi Society Rd Number 1,Chembur, Mumbai 

022-25277413

https://www.facebook.com/suvenconsultants/

https://www.youtube.com/user/rockyjagtiani


Get Node Values of Specific Elements

Consider another XML file:

SuvenConsultancy.xml:
<SCTPL>

<Location name=”Chembur”>
<address>4/B wing,Trishul Apartments,Sindhi Society Rd Number1,Chembur, Mumbai.
</address>
<phno> 022-25277413 </phno>
<facebook>https://www.facebook.com/suvenconsultants/</facebook>
<youtube>https://www.youtube.com/user/rockyjagtiani</youtube>
<Location>

<Location name=”Kandivali”>
<address>510, 5th Floor , Ghanshyam Enclave,Link Road, Lalji-pada JunctionKandivali West, Mumbai
</address>
<phno> 022-28674177</phno>
<facebook>https://www.facebook.com/suvenconsultants/</facebook>
<youtube>https://www.youtube.com/user/rockyjagtiani</youtube>
<Location>

</SCTPL>
The following example gets the node value of the <phno> element in the first and second <location>elements in the “SuvenConsultancy.xml” file: 

Example

<?php
$xml=simplexml_load_file(“SuvenConsultancy.XML”or die(“Error: Cannot create object”);
echo $xml->location[0]->phno“<br>”;
echo $xml->location[1]->phno;
?>
The output of the code above will be:
022-25277413
022-28674177

Get Attribute Values:

The following example gets the attribute value of the “name” attribute of the first <location> element:

Example

<?php
$xml=simplexml_load_file(“SuvenConsultancy.xml”or die(“Error: Cannot create object”);
echo $xml->location[0][‘name’];
?>
The output of the code above will be:
Chembur

Want to learn Web Technologies?

USDA Gives in to Big ‘Organic’ Poultry, Moves to Withdraw New Animal Welfare Rules

The Obama-era rules were meant to establish stronger, more enforceable animal welfare requirements for certified organic producers.

On Monday, the U.S. Department of Agriculture (USDA) formally proposed withdrawing a set of rules finalized at the end of the Obama administration that establish stronger, more enforceable animal welfare requirements for certified organic producers.

The rules, titled the Organic Livestock and Poultry Practices rule, are the product of more than a decade of collaboration and coordination among the organic community, including consumers, farmers, veterinarians, environmentalists and animal welfare groups. Unfortunately, a few large-scale egg producers fear the new rules will expose their less-than-organic practices and put pressure on USDA and Congress to stop the rule.

“The new rules are vital for protecting animal welfare, organic consumers, and the thousands of farmers that opt-in to organic certification,” said Cameron Harsh, senior manager for Organic & Animal Policy at the Center for Food Safety.

The rules, which have been delayed from implementation three separate times since being finalized in January 2017, provide needed clarity on organic animal care, including prohibiting several painful alterations. In particular, the rules require all animals to have real access to the outdoors, which must include contact with soil and vegetation, and outline minimum spacing requirements for poultry. This is, in fact, what consumers already expect from the organic poultry and eggs they buy in stores. But the largest poultry producers have so far been able to consider small, cement, fenced-in areas as outdoor access and have not been required to abide by specific spacing limitations.

“The rules would hold all certified producers to the high standard of animal care that consumers expect and that the drafters of the organic law intended. If they are withdrawn, the steadily growing organic market and consumer trust in the organic seal will be at risk,” added Harsh.

Center for Food Safety has submitted extensive comments in support of the rules. While the rules are not perfect, they are a substantial step toward ensuring all organic animals are provided a consistent level of care. The small but vocal opposition against the rules have misrepresented the realities of the rules in order to continue business-as-usual.

The proposal to withdraw the Organic Livestock and Poultry Practices rule is open for public comment until Jan. 17, 2018.

 

 

Related Stories

  • Trump’s USDA Just Made School Meals Less Nutritious
  • Here Are the Top 5 Foods Killing the Planet
  • Dairy Is Bad for Humans, Cows and the Planet: So Why Are Public Schools Required to Offer Milk With Every Meal?