Go Behind the Scenes of Star Wars: The Last Jedi in This Awesome New Video

This isn’t just a video extolling the film’s special effects or praising the story (though there’s plenty of that). You also get to see new characters, new creatures, new settings, and what looks to be a couple of between-shot dance parties. This Last Jedi behind-the-scenes reel is jam-packed with so much awesome.

We’ll have a closer look at everything revealed in this clip very soon.

Star Wars: The Last Jedi has also begun sharing some gorgeous character posters. So far, Leia and Finn have made their way online.

And Rey and Luke too.

Star Wars: The Last Jedi is out December 15, 2017.

via Gizmodo
Go Behind the Scenes of Star Wars: The Last Jedi in This Awesome New Video

dork-cli – Command-line Google Dork Tool

dork-cli is a Python-based command-line Google Dork Tool to perform searches againsts Google’s custom search engine. A command-line option is always good as it allows you to script it in as part of your automated pen-testing suite.

dork-cli - Command-line Google Dork Tool

It will return a list of all the unique page results it finds, optionally filtered by a set of dynamic page extensions.

Any number of additional query terms/dorks can be specified. dork-cli was designed to be piped into an external tool such as a vulnerability scanner for automated testing purposes.

Setup

In order to use this program you need to configure at a minimum two settings: a Google API key and a custom search engine id.

Custom Search Engine:

  • Create a custom search engine via http://ift.tt/182MUCq
  • Add your desired domain(s) under “Sites to search”
  • Click “Search engine ID” button to reveal the id, or grab it from the “cx” url paramter

API key:

  • Open the Google API console at http://ift.tt/nd20To
  • Enable the Custom Search API via APIs & auth > APIs
  • Create a new API key via APIs & auth > Credentials > Create new Key
  • Select “Browser key”, leave HTTP Referer blank and click Create

Usage

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

$ ./dorkcli.py h

usage: dorkcli.py [h] [e ENGINE] [f [FILETYPES]] [k KEY] [m MAX_QUERIES]

                   [s SLEEP]

                   [T [T ...]]

 

Find dynamic pages via Google dorks.

 

positional arguments:

  T                     additional search term

 

optional arguments:

  h, help            show this help message and exit

  e ENGINE, engine ENGINE

                        Google custom search engine id (cx value)

  f [FILETYPES], filetypes [FILETYPES]

                        File extensions to return (if present but no

                        extensions specified, builtin dynamic list is used)

  k KEY, key KEY     Google API key

  m MAX_QUERIES, maxqueries MAX_QUERIES

                        Maximum number of queries to issue

  s SLEEP, sleep SLEEP

                        Seconds to sleep before retry if daily API limit is

                        reached (0=disable)

API Limitations

The free Google API limits you to 100 searches per day, with a maximum of 10 results per search. This means if you configure dork-cli.py to return 100 results, it will issue 10 queries (1/10th of your daily limit) each time it is run. You have the option to pay for additional searches via the Google API console. At the time of writing, signing up for billing on the Google API site gets you $300 free to spend on API calls for 60 days.

You can download dork-cli here:

dork-cli.py

Or read more here.

via Darknet – The Darkside
dork-cli – Command-line Google Dork Tool

A Little Trick Upgrading to MySQL 5.7

Upgrading to MySQL 5.7In this blog post, I’ll look at a trick we use at Percona when upgrading to MySQL 5.7.

I’ll be covering this subject (and others) in my webinar Learning MySQL 5.7 on Wednesday, July 19, 2017.

We’ve been doing upgrades for quite a while here are Percona, and we try to optimize, standardize and improve this process to save time. When upgrading to MySQL 5.7, more often than not you need to run REPAIR or ALTER via mysql_upgrade to a number of MySQL tables. Sometimes a few hundred, sometimes hundreds of thousands.

One way to cut some time from testing or executing mysql_upgrade is to combine it with mysqlcheck. This identifies tables that need to be rebuilt or repaired. The first step is to capture the output of this process:

This provides a lengthy output of what needs to be done to successfully upgrade our tables. On my test data, I get error reports like the ones below. I’ll need to take the specified action against them:

Before we run through this upgrade, let’s get an idea of how long it would take for a regular mysql_upgrade to complete on this dataset:

On a cold server, my baseline above took about 25 minutes.

The second step on our time-saving process is to identify the tables that need some action (in this case, REPAIR and ALTER … FORCE). Generate the SQL statements to run them and put them into a single SQL file:

My upgrade.sql file will have something like this:

Now we should be ready to run these commands in parallel as the third step in the process:

Getting some parallelization is not bad, and the process improved by about 38%. If we are talking about multi-terabyte data sets, then it is already a big gain.

On the other hand, my dataset has a few tables that are bigger than the rest. Since mysqlcheck processes them in a specific order, one of the threads was processing most of them instead of spreading them out evenly to each thread by size. To fix this, we need to have an idea of the sizes of each table we will be processing. We can use a query from the INFORMATION_SCHEMA.TABLES for this purpose:

Now my table-sizes.sql file will have contents like below, which I can sort and pass to the parallel command again and cut even more time!

This go-around, my total execution time is 8 minutes – a good 65% improvement. To wrap it up, we will need to run mysql_upgrade one last time so that the system tables are also upgraded, the tables are checked again and then restart the MySQL server as instructed by the manual:

The whole process should be easy to automate and script, depending on your preference. Lastly: YMMV. If you have one table that is more than half the size of your total data set, there might not be big gains.

If you want to learn more about upgrading to MySQL 5.7, come to my webinar on Wednesday, July 19: Learning MySQL 5.7. This process is only one of the phases in a multi-step upgrade process when moving to 5.7. I will discuss them in more detail next week. Register now from the link below, and I’ll talk to you soon!

Jervin Real

As Senior Consultant, Jervin partners with Percona’s customers on building reliable and highly performant MySQL infrastructures while also doing other fun stuff like watching cat videos on the internet. Jervin joined Percona in Apr 2010.

via MySQL Performance Blog
A Little Trick Upgrading to MySQL 5.7

Go to Disneyland on a Wednesday Morning in September

Photo: Getty

The Happiest Place on Earth isn’t so happy when you’ve been stuck in line for Space Mountain the past two-and-a-half hours on a sweltering Saturday in July, stress-eating a Mickey-shaped pretzel. Next time, avoid the theme park masses by analyzing line data.

The Los Angeles Times has put together a wildly comprehensive guide to choosing the best time to visit Disneyland and California Adventure based on average wait times for rides. Search for your favorite, can’t-miss rides, check the chart to see when the wait is the shortest, and strategize your trip your trip accordingly.

Los Angeles Times

For instance, Splash Mountain has a peak wait time of 62 minutes at 3 p.m., so do something else around that time. Unsurprisingly, the wait time for this ride is the least miserable when the park opens to the general public at 8 a.m. The Los Angeles Times recommends arriving to the parks at least a half-hour before they open. Do this if you want to maximize that $174 (on peak dates) Park Hopper ticket.

Other takeaways from the Times analysis, which used data from touringplans.com:

Advertisement

Advertisement

  • The best days to visit Disneyland and California Adventure are Wednesday, Thursday and Friday.
  • September and January are the best months to go, as the average wait time per ride is under 15 minutes. Avoid holidays.
  • If you’re willing to break up from your crew and ride solo, the single rider lines are a godsend and can shave off more than an hour of wait time in some cases. The rides that offer them are California Screamin’, Goofy’s Sky School. Grizzly River Run, Indiana Jones Adventure, Matterhorn Bobsleds, Radiator Springs Racers and Splash Mountain.
  • If you really want to go on the new Guardians of the Galaxy — Mission: Breakout! ride (which had a peak wait time of five hours when it first opened over Memorial Day weekend), head over there right at 8 a.m.—or else prepare yourself with a lot of Mickey-shaped snacks.

Don’t waste your time at Disneyland. Here’s how to avoid the lines. | Los Angeles Times


via Lifehacker
Go to Disneyland on a Wednesday Morning in September

Here’s a sneak peek of what Disney’s Star Wars Land will look like

This weekend is Disney’s D23 expo, where the company often unveils the first glimpses into what it has in store for the years ahead.

Our own Editor-and-Disney-aficionado-in-Chief Matthew Panzarino is down in LA for the event’s early access press day. Disney just pulled back the curtain on a bunch of stuff that’ll appear in the Star Wars Land parks that are set to open at Disneyland and Disneyworld in 2019, and he’s got pics of everything.

I expect we’ll see quite a bit more about Star Wars Land (and, hopefully, the tech that’ll power it) throughout the weekend, but here’s a little sneak peek of what we’ve seen so so far. Tap that right arrow to proceed through the slideshow — or if you’re on mobile, just scroll.

via TechCrunch
Here’s a sneak peek of what Disney’s Star Wars Land will look like

MySQL EXTRACT Function

Summary: in this tutorial, you will learn how to use the MySQL EXTRACT() function to extract part of a DATE or DATETIMEvalue. Introduction to the MySQL EXTRACT function The EXTRACT() function extracts part of a date. The following illustrates the syntax of the EXTRACT() function. [crayon-596848704a2f5006580142/] The EXTRACT() function requires two arguments unit and date. […]

The post MySQL EXTRACT Function appeared first on MySQL Tutorial.

via MySQL Tutorial
MySQL EXTRACT Function

Dilbert 2017-07-14

Transcript

Robot: Hello. I am a bluetooth speaker and your digital assistant. How may I help you? Man: Just shut up and sit there until I need something. Robot: Did you say” Give the CIA access to your microphone?” Man: Please, no. I’ll do anything you want.

via Dilbert
Dilbert 2017-07-14