Thursday 20 December 2018

Raspberry Pi Detailed Specifications

Voltages

Two 5V pins and two 3V3 pins are present on the board, as well as a number of ground pins (0V), which are unconfigurable. The remaining pins are all general purpose 3V3 pins, meaning outputs are set to 3V3 and inputs are 3V3-tolerant.

Outputs

A GPIO pin designated as an output pin can be set to high (3V3) or low (0V).

Inputs

A GPIO pin designated as an input pin can be read as high (3V3) or low (0V). This is made easier with the use of internal pull-up or pull-down resistors. Pins GPIO2 and GPIO3 have fixed pull-up resistors, but for other pins, this can be configured in software.

More

As well as simple input and output devices, the GPIO pins can be used with a variety of alternative functions, some are available on all pins, others on specific pins.
  • PWM (pulse-width modulation)
    • Software PWM available on all pins
    • Hardware PWM available on GPIO12, GPIO13, GPIO18, GPIO19
  • SPI
    • SPI0: MOSI (GPIO10); MISO (GPIO9); SCLK (GPIO11); CE0 (GPIO8), CE1 (GPIO7)
    • SPI1: MOSI (GPIO20); MISO (GPIO19); SCLK (GPIO21); CE0 (GPIO18); CE1 (GPIO17); CE2 (GPIO16)
  • I2C
    • Data: (GPIO2); Clock (GPIO3)
    • EEPROM Data: (GPIO0); EEPROM Clock (GPIO1)
  • Serial
    • TX (GPIO14); RX (GPIO15)

GPIO pinout

It's important to be aware of which pin is which. Some people use pin labels (like the RasPiO Portsplus PCB, or the printable Raspberry Leaf).
A handy reference can be accessed on the Raspberry Pi by opening a terminal window and running the command.pinout This tool is provided by the GPIO Zero Python library, which it is installed by default on the Raspbian desktop image, but not on Raspbian Lite.

Raspberry Pi 3 b+ Pin Mapping

Checkout the latest Raspberry Pi 3 b+ Pin Mapping

Changing Directory in ubuntu 18.04 LTS using Terminal


Change working Directory in Ubuntu (Linux) 18.04 LTS



Subscribe 'cause more is coming !!!!

Linux Ubuntu 18.04 LTS commands to check updates and upgrades in system from Terminal


Linux Ubuntu 18.04 LTS commands to check updates and upgrades in the system from Terminal


Check out this Video and Subscribe for more !!!

Monday 1 October 2018

Elon Musk's SEC deal may be a Dent on his Reputation

Now that Tesla CEO Elon Musk has settled fraud charges that arose from an errant tweet, what's next for the billionaire, his electric-car company, and the many customers and investors who have a financial stake in both?
Musk will stay on as CEO, but he must leave his position as chairman of Tesla's board for three years and fork over a $20 million fine for having made what the Security and Exchange Commission deemed a "false and misleading'' statement when he tweeted that Tesla had enough financing to go private. Under the settlement, Tesla will also add two new independent directors to the company's board.
The ramifications of the deal are likely to be positive overall, staving off an investigation that could have dragged on indefinitely and sapped the relatively young company of car buyers' confidence and revenue.
But it's also a rare loss for Musk, an innovator who's made bold strides in industries ranging from electronic payments to space exploration.

NOKIA 5.1 Plus Review: Trending Phone this week

HMD Global introduced the nokia 5.1 Plus from its budget portfolio in India this August. The smartphone marked its entry to the Indian market alongside the mid-range Nokia 6.1 Plus. Both the devices share near identical design with glass surface and run amdroid One-powered Android Oreo OS. The new Nokia 5.1 Plus retails for a price of Rs 10,999 for the 3GB RAM and 32GB internal storage.

Nokia 5.1 Plus features and specifications: 5.86-inch (1,520 x 720) 19:9 display | Android Oreo | MediaTek Helio P60 SoC | 3GB RAM, 32GB storage (expandable up to 400GB) | 13MP + 5MP dual camera with PDAF, LED flash | 8MP front camera | 3,060mAh battery | Connectivity options: 4G VoLTE, USB Type-C port, Wi-Fi, GPS, 3.5mm audio jack

Monday 16 April 2018

It’s time to give Firefox a fresh chance

Ever since it was first released almost a decade ago, Google’s Chrome browser has been the most consistent piece of technology in my life. I’ve gone through a legion of phones, laptops, and headphones, I’ve jumped around between Android, iOS, Windows Phone, macOS, and Windows, but I’ve rarely had reason to doubt my browser choice. Things have changed in recent times, however, and those changes have been sufficient to make me reconsider. After so many years away, I’m returning to Firefox, in equal measure pushed by Chrome’s downsides as I am pulled by Firefox’s latest upgrades.
If a friend were to ask me what the best web browser is, I’d answer “Chrome”
in a heartbeat, so don’t mistake this as a screed against Google’s browser. I still see it as the most fully-featured and trouble-free option for exploring the web. It’s just that sometimes there are reasons to not use the absolute best option available. Here are mine.
The thing that woke me up to my over-reliance on Chrome was when Google implemented an ad blocker directly into the browser. I’d usually be delighted to have ad blocking automated away, but the surrounding conversation about Google — an ad company — having sway over which ads are and are not acceptable to present to users convinced me there was a problem. According to NetMarketShare, Chrome is now used by 60 percent of web users, both on mobile and desktop devices, and Firefox looks respectable with 12 percent of desktops, but is almost a rounding error with only 0.6 percent of mobile devices. Apple’s Safari and Microsoft’s Edge don’t look much better, even though they’re the default option on their respective OS platforms.
Chrome has outgrown its competition in a way that’s unhealthy. My colleague Tom Warren already detailed the deleterious effects of Chrome’s outsize influence, with web developers optimizing and coding specifically for Chrome (and Google encouraging the practice), with unhappy connotations of the crummy old days when Internet Explorer was the dominant browser for the web. Chrome came to liberate us from the shackles of IE, but like many revolutionary leaders, too many years in power have corrupted Chrome’s original mission.
Before I settled on Firefox as my Escape from Chrometown alternative, I gave Safari a solid couple of months as my primary browser. If I were committed to using only iPhones, iPads, and Macs for the rest of my tech life, I might still be on Safari. Its performance is great on both iOS and macOS — though I’d be lying to you if I were to say I could tell a difference in speed between any of the modern browsers — and it offers a choice of ad blockers among a reasonable selection of browser extensions. The options are nowhere near as varied as Chrome’s extension library, but that’s a non-issue for me since I’ve never been dependent on extensions in the first place.
But I’m writing this in Firefox today for a very simple reason: cross-platform compatibility. I recently set up a new Windows laptop, and having to deal with a browser that doesn’t know me or my preferences was just an exercise in frustration. Safari’s nice, and I’m certain it’s good enough to supplant Chrome for Apple device users, but for me it’s a non-starter. I need a browser that knows me as well on a Huawei smartphone or Lenovo ThinkPad as it understands me an on iPhone X.
Like Chrome and Safari, Firefox has a built-in password manager that saves my logins and passwords as I browse, which I can then protect with a master password. One password, I can remember. Dozens of weird alphanumerical concoctions? That’s where I need the browser to step in and help, and Firefox has been great in that respect. With Safari, I had a couple of occasions where the browser would either forget a password or get confused about where to save it when, for example, I’m logging into more than one Google account. Firefox keeps all this stuff straight and, so far as I can tell, secure. (Security pros will tell you that a dedicated password manager is best, of course.)
In pondering my browser switch, I did the obvious thing and looked at benchmark comparisons among the most popular browsers, while also reading up on real-world experience with regard to battery life and other less obvious impacts. That piqued my interest in Opera, which has a built-in VPN and, like Firefox, plenty of privacy protection and anti-tracking options. I like the philosophy embodied by Opera, but I don’t like that the Android versions of its browsers serve ads on my lock screen.
After spending some quality time comparing the actual experience of using Chrome, Safari, and Firefox across a variety of websites, I’m confident in saying browser benchmarks are profoundly uninformative. The truth is that performance differences are not substantial enough to be noticed. If anything, you’re most likely to clash with “only works in Chrome” incompatibilities, but that’s kind of the whole reason for me to avoid Chrome: someone has to keep using the alternatives so as to give them a reason to exist.
But I’m no martyr sacrificing himself for the common good here. Firefox is a legitimate, high-quality replacement for Chrome. Ever since its Quantum engine overhaul, Firefox has been garnering plenty of praise from satisfied users, and though I’m only just starting to get into using it full-time as my main browser, everything I’ve seen has been encouraging. Firefox has certainly grown far beyond slow memory hog that I remember from a few years ago.
The main thing I’ve learned from migrating between a few browsers over the past couple of months has been that the design and performance differences between them are smaller than ever before. If you’re like me and want to strip your browser down to a bare address bar and a couple of arrows, you can do that as easily with Chrome, Firefox, Opera, Safari, or any of the other alternatives like Edge and Vivaldi. Your bookmarks can travel with you across operating systems and devices with most browsers. Keyboard shortcuts like Cmd/Ctrl + Shift + T to revive the last-closed browser window are approaching universality. Chrome and Firefox both have a “close tabs to the right [of this one]” option. You can mute individual tabs in both browsers.
Eventually, I may find myself forced to return to Chrome, perhaps by some clever ecosystem integration Google adds or the latest lovely Chromebook (I really think Chromebooks are underrated as basic getting-stuff-done computers). But until that time comes, I’m happy to support Firefox in its efforts to provide a genuine and viable alternative to the browser juggernaut.

Here’s how much Facebook donated to every lawmaker questioning Mark Zuckerberg this week

Facebook founder and CEO Mark Zuckerberg is testifying before the House Committee on Energy and Commerce today, fresh off the heels of a grueling five-hour joint session before the Senate Judiciary and Commerce committees yesterday. In total, Zuckerberg will face questions from nearly 100 legislators, and many of those legislators have received thousands of dollars from the company Zuckerberg runs.
Over the last 12 years, Facebook has spent $7 million in campaign contributions. Historically, Facebook has donated slightly more to Democrats than Republicans, but overall, the platform’s political footprint is small in Washington, DC relative to its market cap, which is currently calculated at about $400 billion. That’s not unusual for technology companies: Amazon spent $4 million in campaign contributions over 20 years, and it has a market cap of nearly $700 billion. (Note, however, that Alphabet, Inc., with a market cap just over Amazon’s, appears to be outspending Facebook in DC by an order of magnitude.)
According to data from the Center for Responsive Politics, since 2014, Facebook has contributed a total of $641,685 to the members of Congress that Zuckerberg is facing this week. The top recipients of that money include Sen. Cory Booker (D-NJ), Sen. Kamala Harris (D-CA), and Rep. Anna Eshoo (D-CA).
The amount of money received didn’t necessarily correlate to the hostility of questions asked by the legislators in Zuckerberg’s first hearing. That said, Sen. Orrin Hatch (R-UT) did make a somewhat bizarre pro-Facebook comment, saying, “Some have professed themselves shocked, shocked that companies like Google and Facebook share user data with advertisers. Did any of these individuals stop to ask themselves why Google and Facebook don’t charge for access? Nothing in life is free.” Hatch has taken $15,200 from Facebook since 2014 — the sixth largest amount on the combined committees.
But other senators who have received even larger campaign contributions from Facebook didn’t hold back. Cory Booker, who has received $44,025 from Facebook since 2014 (the largest amount), questioned Zuckerberg on the 2016 ProPublica investigation that showed Facebook allowed advertisers to target by race. Kamala Harris, who took the second largest amount ($30,990) grilled the CEO on why Facebook did not notify users in 2015 that Cambridge Analytica had misused their data, causing Zuckerberg to squirm uncomfortably.
If any senators pulled their punches, it was along party lines, when small-government Republicans like Sen. Roger Wicker (R-MS) or Sen. Dan Sullivan (R-AK) questioned the necessity of additional regulation. At one point Sen. Thom Tillis (R-NC) held up a tablet and pointed at the Facebook “privacy” tab, blaming individuals for not properly reviewing their own settings. Wicker has received $10,000 from Facebook since 2014, Tillis has received $7,500, and Sullivan has received a whopping $2,500.
The campaign contributions from Facebook to all the legislators who posed Mark Zuckerberg questions this week are listed below. The list includes the members of the Senate Judiciary and Commerce committees and House Committee on Energy and Commerce are listed in full below, and dates back to 2014.

Committee Leaders

Legislator Committee Role Party 2014 Cycle 2016 Cycle 2018 Cycle Total 2014-2018
Grassley, Chuck (R-IA) Senate Judiciary Chairman R $1,000 $4,000 $0 $5,000
Feinstein, Dianne (D-CA) Senate Judiciary Ranking Minority Member D $10,000 $1,000 $0 $11,000
Thune, John (R-SD) Senate Commerce Chairman R $3,500 $5,000 $2,000 $10,500
Nelson, Bill (D-FL) Senate Commerce Ranking Minority Member D $2,500 $5,000 $2,500 $10,000
Walden, Greg (R-OR) House Energy & Commerce Chairman R $7,500 $7,000 $5,500 $20,000
Pallone, Frank (D-NJ) House Energy & Commerce Ranking Minority Member D $3,500 $0 $2,500 $6,000

How to Run JAVA Program in Ubuntu

HOW TO RUN A JAVA PROGRAM IN UBUNTU 18.04 LTS Check out our channel and Subscribe for more SPARKY HACKS