Exclusive: Testing the World’s Most Accurate Pistols – Part I

Group picture of bac1023's entries into the testWhat is your ultimate shooting range pistol? “This pistol is really accurate,” we hear stated. “A tack driver for sure,” someone will say. Or, perhaps, we’ll hear that a pistol has poor accuracy. Despite these subjective claims, we rarely see actual numerical data to back them up. On the opposite side, we’ll also hear attempts […]

Read More …

The post Exclusive: Testing the World’s Most Accurate Pistols – Part I appeared first on The Firearm Blog.


via The Firearm Blog
Exclusive: Testing the World’s Most Accurate Pistols – Part I

MySQL 5.7 Performance Tuning Immediately After Installation

MySQL 5.7 Performance Tuning

This blog updates Stephane Combaudon’s blog on MySQL performance tuning, and covers MySQL 5.7 performance tuning immediately after installation.

A few years ago, Stephane Combaudon wrote a blog post on Ten MySQL performance tuning settings after installation that covers the (now) older versions of MySQL: 5.1, 5.5 and 5.6. In this post, I will look into what to tune in MySQL 5.7 (with a focus on InnoDB).

The good news is that MySQL 5.7 has significantly better default values. Morgan Tocker created a page with a complete list of features in MySQL 5.7, and is a great reference point. For example, the following variables are set:

In MySQL 5.7, there are only four really important variables that need to be changed. However, there are other InnoDB and global MySQL variables that might need to be tuned for a specific workload and hardware.

To start, add the following settings to my.cnf under the [mysqld] section. You will need to restart MySQL:

[mysqld]
# other variables here
innodb_buffer_pool_size = 1G # (adjust value here, 50%-70% of total RAM)
innodb_log_file_size = 256M
innodb_flush_log_at_trx_commit = 1 # may change to 2 or 0
innodb_flush_method = O_DIRECT

Description:

Variable Value
innodb_buffer_pool_size Start with 50% 70% of total RAM. Does not need to be larger than the database size
innodb_flush_log_at_trx_commit
  • 1   (Default)
  • 0/2 (more performance, less reliability)
innodb_log_file_size 128M – 2G (does not need to be larger than buffer pool)
innodb_flush_method O_DIRECT (avoid double buffering)

 

What is next?

Those are a good starting point for any new installation. There are a number of other variables that can increase MySQL performance for some workloads. Usually, I would setup a MySQL monitoring/graphing tool (for example, the Percona Monitoring and Management platform) and then check the MySQL dashboard to perform further tuning.

What can we tune further based on the graphs?

InnoDB buffer pool size. Look at the graphs:

MySQL 5.7 Performance Tuning

MySQL 5.7 Performance Tuning

As we can see, we can probably benefit from increasing the InnoDB buffer pool size a bit to ~10G, as we have RAM available and the number of free pages is small compared to the total buffer pool.

InnoDB log file size. Look at the graph:

MySQL 5.7 Performance Tuning

As we can see here, InnoDB usually writes 2.26 GB of data per hour, which exceeds the total size of the log files (2G). We can now increase the

innodb_log_file_size

 variable and restart MySQL. Alternatively, use “show engine InnoDB status” to calculate a good InnoDB log file size.

Other variables

There are a number of other InnoDB variables that can be further tuned:

innodb_autoinc_lock_mode

Setting innodb_autoinc_lock_mode =2 (interleaved mode) can remove the need for table-level AUTO-INC lock (and can increase performance when multi-row insert statements are used to insert values into tables with auto_increment primary key). This requires

binlog_format=ROW

  or

MIXED

  (and ROW is the default in MySQL 5.7).

innodb_io_capacity and innodb_io_capacity_max

This is a more advanced tuning, and only make sense when you are performing a lot of writes all the time (it does not apply to reads, i.e. SELECTs). If you really need to tune it, the best method is knowing how many IOPS the system can do. For example, if the server has one SSD drive, we can set

innodb_io_capacity_max=6000

 and

innodb_io_capacity=3000

 (50% of the max). It is a good idea to run the sysbench or any other benchmark tool to benchmark the disk throughput.

But do we need to worry about this setting? Look at the graph of buffer pool’s “dirty pages“:

screen-shot-2016-10-03-at-7-19-47-pm

In this case, the total amount of dirty pages is high, and it looks like InnoDB can’t keep up with flushing them. If we have a fast disk subsystem (i.e., SSD), we might benefit from increasing

innodb_io_capacity

 and innodb_io_capacity_max.

Conclusion or TL;DR version

The new MySQL 5.7 defaults are much better for general purpose workloads. At the same time, we still need to configure InnoDB variables to take advantages of the amount of RAM on the box. After installation, follow these steps:

  1. Add InnoDB variables to my.cnf (as described above) and restart MySQL
  2. Install a monitoring system, (e.g., Percona Monitoring and Management platform)
  3. Look at the graphs and determine if MySQL needs to be tuned further

via Planet MySQL
MySQL 5.7 Performance Tuning Immediately After Installation

Nuheara’s earbuds/hearing aids are open for general pre-order

Nuhear’s IQbuds are strange little things. It took a rep a few tries to properly explain the things when they first crossed my radar. And honestly, it wasn’t until I tookt he things for a spin on the crowded Manhattan streets that I really grasped what they were all about.

The simplest way to explain them is as a sort of combination wireless earbuds and hearing aids. They do all of the standard earbud things — music, calls and the like – but also feature a voice amplification mode that makes it easier to hear people in a crowded environment.

I tried an early model and was impressed by how much easier it was to carry on a conversation on the sidewalks of New York – though there were still some kinks to work out at the time, like the fact that the device has the habit of amplify the already unpleasant sound of bus brakes.

Today marks the next face of the product’s journey to retail, as pre-orders shift from the Indiegogo campaign to general availability. Those initial orders are now set to arrive for backers in late December – just in time for Christmas, or at least soon thereafter. That initial shipment includes 4,000 units being sent out to backers in 82 countries.

Those who pick up the earbuds in this second round, meanwhile, should be getting them next spring.

via TechCrunch
Nuheara’s earbuds/hearing aids are open for general pre-order

Build Your Endurance Anywhere With These Cycling, Running, and Stair Climbing Workouts

You don’t need a gym or even a running track to build your cardio fitness. Just a few flights of stairs can do the trick, if you have a good plan to work from. These routines from Fallout Fitness fit the bill.

For example, in your first week of stair climbing, you’ll sprint up the steps for 60 seconds, and then recover with two minutes of easier paced stair walking. By the end of the eight week program, you’ll be sprinting for 90 seconds and resting for just one minute.

For a well rounded endurance program, combine these stair workouts with Fallout Fitness’s other endurance programs: either the sprint-based cycling or running workouts, or the program of steady fast walks and slow jogs.

Whether you’re outrunning zombies or just building your heart and lungs for better health, check out the link below for all of their cardio endurance programs.

Cardio Zero to Cardio Hero | Fallout Fitness

Photo via VisualHunt.

via Lifehacker
Build Your Endurance Anywhere With These Cycling, Running, and Stair Climbing Workouts

Clinton Responds To WikiLeaks During Debate, And Blames Russian Hackers

An anonymous Slashdot reader writes:During Sunday night’s debate between Hillary Clinton and Donald Trump, moderators asked a question based on WikiLeaks documents released Friday — to which both candidates responded. The leaked emails had included excerpts from Hillary’s paid speeches to Wall Street in which she reportedly said "You need both a public and a private position on certain issues."
Clinton said she had been describing the 2012 movie Lincoln, and that Lincoln’s use of different arguments for different groups of people was "a great display of presidential leadership." Then, citing intelligence reports, she said "Putin and the Russian government are directing the attacks — the hacking on American accounts to influence our election…for Donald Trump." Click through for a complete transcript of Clinton’s remarks — and Trump’s response.



Share on Google+

Read more of this story at Slashdot.

via Slashdot
Clinton Responds To WikiLeaks During Debate, And Blames Russian Hackers

GE made an oilfield drone that can sniff out gas leaks

At the opening of GE’s new oil and gas R&D center in Oklahoma, the multi-business company has also presented its new methane-sniffing helicopter drone called "Raven." GE started working on the project last year, and it proved that the 20-pound machine can indeed do what it was created for during a test run in July: Raven successfully found gas leaking from a couple of oil wells in Arkansas. A lot of companies in other industries already use UAVs for inspections, including Con Edison and Airbus. GE created the Raven specifically to save oil and natural gas firms money and to help them assess all the data gathered from their facilities.

According to the company, the drone can make gas inspections go three times faster. The Environmental Protection Agency requires oil producers to monitor their fields for leaks, you see. And currently, what they do is send workers armed with infrared cameras to walk around their wells. Raven, with its laser-based sensors, can fly over the field for 40 minutes on a single charge and beam back data to an iPad on the ground. Even better, it can tell how bad the leak is, whereas the infrared camera can only detect its presence, not its severity. The drone is also loaded with custom software that allows it to plan its own flight and analyze the data it gathers.

GE will continue working on the project at its R&D Center in Oklahoma and will soon deploy its third Raven for testing. In the future, the machine might end up going head-to-head against the methane-sniffing drone NASA created, which was based on the sensor the Jet Propulsion Laboratory designed for use on Mars. Other than sniffing out gas leaks, the UAV’s potential applications include inspecting hard-to-reach machineries and and keeping an eye on factory flare stacks.

Source: Bloomberg

via Engadget
GE made an oilfield drone that can sniff out gas leaks

How to watch the second US presidential debate

The second US presidential debate promises to draw even more attention than the first. On top of giving Hillary Clinton and Donald Trump a chance to adjust their strategies, there’s a switch to a town hall format based on public questions. And then there’s both Trump’s video apology and Clinton’s leaked comments to banks — how will the candidates deal with these curveballs? Thankfully, there are plenty of ways to follow the drama online. We’ve aggregated many of the internet viewing options so that you won’t have to miss a moment when the debate kicks off at 9PM Eastern.

Facebook

GOP 2016 Debate Kasich

You practically know the drill by now — Facebook Live will play a major role in debate coverage, with numerous major news outlets using it as their streaming platform of choice. ABC News agreement with Facebook will make it the star of the show between its ad-free stream and viewer-influenced commentary, but it’s not the only choice. BuzzFeed, CNBC, C-SPAN, Fox News, the New York Times, PBS, Telemundo and Univision should also be streaming on Facebook, although the presentation you’ll get will certainly vary.

Twitter

Campaign 2016 Debate

Twitter is once again determined to be a one-stop shop for live debate coverage. Its partnership with Bloomberg will deliver the debate itself, on-air analysis and the obligatory never-ending stream of tweets from viewers. You can watch on the web at debates.twitter.com, and Twitter’s official mobile apps will help you tune in when you’re on the move.

YouTube

ALPHABET-YOUTUBE/SUBCRIPTION

You’d better believe that you’ll have an abundance of YouTube streams to watch. Bloomberg, Fox News, NBC News, PBS, Telemundo and the Washington Post should all have live feeds on Google’s video site, complete with commentary in many cases. And if you’re more interested in observation than raw candidate banter, outfits like Complex and The Young Turks can help you out.

Conventional media outlets

Campaign 2016 Debate

Naturally, some of the bigger names in conventional media are streaming the debate through their own portals alongside (or in some cases, instead of) third-party services. ABC News, CBS News, CNN, Fox Business and Reuters should have streams through their websites and mobile apps. As in previous debates, though, you may need to authenticate your TV subscription when using certain apps, such as ABC‘s regular app.

Images: AP Photo/John Minchillo; AP Photo/Patrick Semansky; Reuters/Lucy Nicholson; AP Photo/John Locher

via Engadget
How to watch the second US presidential debate

How to Stream Tonight’s Presidential Debate For Free, No Cable Required

How to Stream Tonight's Presidential Debate For Free, No Cable Required
Illustration by Sam Woolley

The second presidential debate between Hillary Clinton and Donald Trump is tonight at 9pm ET, 6pm PT. And after Trump’s latest scandal, it’s guaranteed to be explosive. If you don’t have cable TV, you might be wondering how to stream the debate live. Well, Gizmodo has you covered.

The second debate is “town hall style,” meaning that members of the audience will be able to ask questions. But tonight’s debate, at Washington University in St. Louis, won’t just include questions from the audience in attendance. Both Trump and Hillary will also get questions submitted via Facebook. And that’s a first. The primary debates have done something similar, but this is the first time that candidates have taken questions from social media for a general election debate.

Historically, the town hall presidential debates have always been the most interesting. Unlike the other debates, candidates will be sitting in chairs and able to walk around, rather than standing behind podiums. The candidates are more literally face-to-face, which always creates fireworks. But with many members of the Republican Party currently distancing themselves from Trump over his comments about “grabbing women by the pussy,” this debate will probably be even more colorful and unpredictable than usual.

YouTube

Whether you’re watching on a computer or a smartphone, one of the easiest ways to watch the debate is on YouTube.

  • NBC News is livestreaming the debate on its YouTube channel.
  • PBS Newshour also has a livestream of the debate on YouTube.
  • And C-SPAN will have its own stream of the debate on YouTube.

Twitter

Twitter is livestreaming Bloomberg TV’s coverage of the second debate at debates.twitter.com. The pre-show kicks off at 8:30pm ET, 5:30pm PT.

Facebook

AltspaceVR – Virtual Reality

Just as they did for the first debate, AltspaceVR has partnered with NBC News to deliver a virtual reality experience of the second debate. If you own a Samsung Gear VR, HTC Vive, or Oculus Rift, you can go to AltspaceVR for more information. The 2D “virtual reality” experience is also available on Mac and PC.

Websites

Most of the major news outlets will also have livestreams on their homepages. There’s CNN, Fox News, MSNBC, CBS News, ABC News, NBC News, C-SPAN, and plenty of others.


If you have a cable subscription, but want to watch one of the cable networks on your devices, you also have that option. We at Gizmodo call these the “half-cord” options. All of these require a cable subscription to login. So don’t forget to borrow your mom’s login details before attempting any of these.

CNN Half-Cord

Fox News Half-Cord

ABC’s Martha Raddatz and CNN’s Anderson Cooper are moderating this debate, and we’ll see if either of them can manage the circus that’s sure to unravel tonight.

Grab your popcorn and your emergency go-bag, and get ready for about 90 minutes of American democracy imploding before your very eyes.

via Gizmodo
How to Stream Tonight’s Presidential Debate For Free, No Cable Required

How to Watch the Second Presidential Debate Online, No Cable Required

How to Watch the Second Presidential Debate Online, No Cable Required

On Sunday, presidential candidates Hillary Clinton and Donald Trump will return to the debate stage for their second of three debates before the general election this November. Here’s how to watch for free, even if you don’t have cable.

The debate will start Sunday, October 9th at 9PM ET/6PM PT. ABC’s Martha Raddatz and CNN’s Anderson Cooper will moderate the debate at Washington University in St. Louis, Missouri. During the last presidential debate, Facebook collected viewer questions that will be used during this debate session.

Many news outlets are going to have their own live coverage. Here are some of the easiest ways to watch online:

Many other networks will be broadcasting their own coverage of the debate as well. If you want to watch via over the air broadcast, you can tune into ABC, CBS, CNBC, CNN, C-SPAN, Fox, Fox News, MSNBC, NBC, PBS, Univision, and many others.

If you’d like to watch on your TV via your mobile device or set-top box, the following stations can help (though some may require a cable package):

Keep in mind you can also watch the YouTube live stream on nearly any set-top box using the YouTube app. NPR will also offer coverage of the debate via your local radio affiliate, if you’d prefer to listen instead of watch. You can listen to NPR via its member stations, via NPR.org, on Facebook, or through the NPR One apps.

This will be the second of the three presidential debates before the election on November 8th. The final debate will take place on October 19th. The deadline to register in many states is fast approaching, and early voting has already begun in some places. Check out our guide on how to register in time to vote.


via Lifehacker
How to Watch the Second Presidential Debate Online, No Cable Required