This New Thor: Love and Thunder Video Is Pure, Infectious Joy

https://i.kinja-img.com/gawker-media/image/upload/c_fill,f_auto,fl_progressive,g_center,h_675,pg_1,q_80,w_1200/9db4b1eccfb5d2a0a2e6db591fa3f69a.jpg

Taika and two Thors.
Screenshot: YouTube/Marvel

This new featurette for Thor: Love and Thunder is more exciting than all of its trailers combined. Which is saying something: the trailers for Taika Waititi’s latest, starring Chris Hemsworth, Natalie Portman, Tessa Thompson, and Christian Bale, have been excellent. There’s just something about seeing all that footage cut with the actors and filmmaker gushing over it that gives a whole new level of energy.

Thor: Love and Thunder opens July 8 and it picks up where Avengers: Endgame left off. Thor (Hemsworth) has left Asgard under the protection of Valkyrie (Thompson) and set back off into space with the Guardians of the Galaxy. For the first time in his life, he has nothing he has to do. But that will change when a villain named Gorr the God Butcher (Bale) emerges to kill the Gods, which brings the Mighty Thor, Jane Foster (Portman), back into Thor’s world.

Below, watch a few of the actors and Waititi talk up this installment with infectious enthusiasm. Or maybe that’s just the Guns ‘N Roses talking.

Marvel Studios’ Thor: Love and Thunder | When Love Meets Thunder Featurette

While I haven’t seen every TV spot released for Thor: Love and Thunder, I do believe there’s some new footage in there too. The characters reacting to Thor’s very Peter Quill outfit. Footage of goats Tanngrisnir and Tanngnjóstr, who are important enough to get their own character posters, and of course that final shot of Thor vs. Gorr… hey that rhymed!

Either way, it’s an awesome featurette for what we hope is an equally awesome movie. It will have to be, to top what the team achieved with Thor: Ragnarok. Thor: Love and Thunder opens July 8, though the first reactions from early screenings will begin this week.


Want more io9 news? Check out when to expect the latest Marvel and Star Wars releases, what’s next for the DC Universe on film and TV, and everything you need to know about House of the Dragon and Lord of the Rings: The Rings of Power.

Gizmodo

Making a See-through Jet Engine

https://theawesomer.com/photos/2022/06/see_through_jet_engine_t.jpg

Making a See-through Jet Engine

Link

Warped Perception has made several project vehicles that incorporate small turbojet engines. For this video, he built a custom transparent housing for one of the jets so we can see exactly how it works to create thrust. Along the way, he offers a great layperson’s explanation of jet propulsion systems.

The Awesomer

Ohio Attorney General Dave Yost Issues Updated CCW Manual

https://www.buckeyefirearms.org/sites/buckeyefirearms.org/files/styles/slideshow/public/field/image/ccwhandbook.jpg?itok=Dk6I3RZZ

Ohio CCW Handbook 2022
by Dean Rieck

As of Monday, June 13, 2022, it is legal for "qualifying adults" to carry a concealed handgun in Ohio without a license.

Attorney General Dave Yost has issued an updated manual summarizing Ohio’s concealed carry laws and explaining the two ways you may now carry in the state, with or without a license.

Click here to view or download the manual as a PDF.

Whether you plan to carry with a license or without one, I highly recommend you read this manual, which covers a number of important topics, including:

  • Two Ways to Carry Concealed
  • A Crucial Difference Between CHL Holders and Permitless Carriers
  • Other Changes in Ohio’s Concealed-Carry Law
  • Training and Educational Requirements for a Concealed-Handgun License
  • Special Considerations for Members of the Armed Forces
  • Forbidden-Carry Zones
  • Transporting in Motor Vehicles
  • Traffic Stops and Other Law Enforcement Encounters
  • Private Property and the Workplace
  • Reciprocity
  • Open Carry
  • Deadly Force
  • Criminal Issues
  • Civil Liability
  • Self-Defense
  • No Duty to Retreat
  • Castle Doctrine
  • Burden of Proof
  • Defense of Others
  • Defense of Property
  • Dispute Resolution

In addition to reading this manual, I urge you to take a concealed carry class from an experienced and competent instructor, even if you do not plan to apply for a license. It is vital that you are familiar with Ohio self-defense law to help you make better decisions and act legally.

You can search for classes on OhioGunClass.org, a website we host for instructors in Ohio.

Dean Rieck is Executive Director of Buckeye Firearms Association, a former competitive shooter, NRA Patron Member, #1 NRA Recruiter for 2013, business owner and partner with Second Call Defense.

Buckeye Firearms Association

MySQL Performance : Benchmark kit (BMK-kit)

The following is a short HOWTO about deployment and use of Benchmark-kit (BMK-kit). The main idea of this kit is to simplify your life in running various MySQL benchmark workloads with less blood and minimal potential errors.

Generally as simple as the following :

$ bash /BMK/sb_exec/sb11-Prepare_50M_8tab-InnoDB.sh 32   # prepare data

$ for users in 1 2 4 8 16 32 64 128 256 512 1024
do   
  # run OLTP_RW for 5min each load level..
  bash /BMK/sb_exec/sb11-OLTP_RW_50M_8tab-uniform-ps-trx.sh $users 300
  sleep 15
done

Read more… (35 min remaining to read)

Planet MySQL

Linting A Laravel Project Using PHP CS Fixer

https://redberry.international/wp-content/uploads/2022/04/Linting-A-Laravel-Project-Using-PHP-CS-Fixer.png

Developers, deliberately or unknowingly, build their coding standards in the process of project development. A coding standard is a style that is applied to your whole codebase to shape a coding discipline and make the codebase more consistent and readable.

Why is it so important to implement a coding style?

The first and foremost essential factor is related to the discipline of coding. Shaping discipline and creating a coding style makes it easier not only just to understand the existing code but also makes it easier to develop the codebase further.

On top of that, discipline with the coding style is also crucial for effective collaboration within the development team. This attitude makes teamwork much more straightforward and efficient. Besides, that way, the new developers will be able to comprehend the code easily. It will also help developers not to get upset with individual code style preferences. 

However, we should also note that maintaining the coding standards with bare hands might be a highly complex task requiring time and effort. Therefore, there is a Linter concept in almost every programming language. With this article, we will dig down to understand Linting and how you can apply it to your Laravel Project by using PHP CS Fixer. So let’s get started.

What is Linter?

Linter is a common tool that helps us develop a specific coding style and find errors. 

In most cases, Linters are used in conjunction with the IDE. Linters are activated once a specific event fires and suggest a correction. You can also run Linter using a CLI to highlight and/or fix the errors in your codebase.

Does PHP have a Linter?

The short answer is Yes. 

Nowadays, Laravel is the most popular framework in the PHP world. However, Laravel itself frequently uses the components of the other very popular framework – Symfony. The founder of Symfony, Fabien Potencier, created a PHP Linter called CS Fixer. So let’s talk more about it. 

How Can we Install CS Fixer in the Laravel Project?

There are several ways to install CS Fixer:

  • Install globally using Composer
  • Install globally without using Composer
  • Install per project, using the Composer

In the following example, we will discuss how we can set up PHP CS Fixer in a per-project approach and connect it to VSCode and PHPStorm. Connecting to the other IDEs is a similar process.

First of all, we need to go to our Laravel project in the terminal and install PHP CS Fixer with Composer by running the following command:

composer require friendsofphp/php-cs-fixer --dev

Then if we see executable files in our project /vendor/bin directory we will see that one of them is php-cs-fixer. 

If we run this command in the root folder of our project:

./vendor/bin/php-cs-fixer

We will see that CSFixer has been installed successfully and will display the following:

We made sure that PHP CS Fixer really works 🙏

CS Fixer in the VSCode

Let’s move to the VSCode.

First, we will need to install the appropriate extension for CS Fixer in VSCode.

Pay attention to the fact that the author of this extension should be Junstyle.

Then we should create a .vscode folder in our project and a settings.json file in it where we will set configurations:

There are three things we need to configure:

  • Run PHP Formatter on save 
  • Tell VSCode the address of php-cs-fixer (/vendor/bin/php-cs-fixer) executable
  • Tell from where the php-cs-fixer configuration file should be read

Consequently, JSON configuration will look like this:

The only thing left is to create a .php-cs-fixer.php file in the root folder. We can set up formatting rules with that configuration file. Here is an example rule configuration file we use for some of our projects: PHP CS Fixer Config File.

CS Fixer in the PHPStorm

Open the desired project in PHPStorm and go into the PHPStorm settings:

Then we should find the Quality Tools under PHP; this is where the PHP CS Fixer section should be:

Click the button with the three points and point out our CS Fixer binary file address which is located in the vendor/bin folder:

Click Validate and make sure that everything works fine.

Then we should move to CS Fixer Inspection and set several parameters:

We should mark PHP CS Fixer validation. Severity should be set to Error, and we should choose Custom in the Ruleset. This means that we need to give PHP CS Fixer our rule file which defines how our codebase should be formatted.

Before we configure which file should be used as a Ruleset by PHPStorm, we should create a .php-cs-fixer.php file in our Root folder. Here is an example configuration file we use for some of our projects: PHP CS Fixer Config File.

Then we should navigate to Inspections and find our newly created configuration file in PHPStorm:

Then we can save our configuration, which means that PHPStorm will already start analyzing our codebase and format it according to our ruleset.

However, this is still not enough. For the development process to be smooth, it would be better for PHP CS Fixer to make autocorrections. This is why we need to add the File Watcher.

For this we should navigate to File Watchers in the PHPStorm settings.

Now we should choose Custom in Templates and write a new Watcher configuration.

Name: PHP CS Fixer

File Type: PHP

Program: [Your Project Path]/vendor/bin/php-cs-fixer

Arguments: fix –config=$ProjectFileDir$/.php-cs-fixer.php –cache-file=$ProjectFileDir$/.php-cs-fixer.cache $FileDir$/$FileName$

Also, we should turn off the first two checkboxes in the Advanced Options:

Click the OK button, and the Watcher File will be added. 

After that, our codebase will be auto-formatted using PHP CS Fixer every time we save the files.

The first time you CMD+S, PHPStorm will alert you to approve running the Watcher.

Click Trust Project and Run once you see the Alert box.

And that’s it 😉

Laravel News Links

Best Sci-Fi Movie Guns That Actually Exist (Kind Of)

https://www.pewpewtactical.com/wp-content/uploads/2017/08/terminator-with-laser-sight.jpg

Sci-fi flicks have to be fueled by imagination but still seem grounded. When you dress up existing items as props, you can do both.

terminator with laser sight

As such, over the years, I’ve picked apart movies and television shows that utilize real guns in fictional frames. I took my own nerdism and translated it into a list of my favorite fiction firearms with a rear firearm at their core.

Without further explanation, let’s dive into my favorites, and at the end, I hope you add your favorites.

Best Fictional Firearms That Used Real Guns

1. Moses Brothers Self-Defense Engine Frontier Model B – Taurus Model 85

The Moses Brothers Self-Defense Engine Frontier Model B is both a mouthful to say and the chosen sidearm of Captain Malcolm ‘Mal’ Reynolds of the Firefly-class vessel the Serenity.

We see Mal use the Model B dozens of times in the show and movie, and he appears quite proficient with the handgun. He’s a quick draw and accurate enough to shoot a rope during a high-speed chase.

Captain Mal Reynolds with the oses Brothers Self-Defense Engine Frontier Model B

The Model B looks and functions like a semi-auto handgun. As a space western, you get the classic revolver-style grips and aesthetics of a Volcano repeating lever-action pistol.

It’s free from most space-age do-dads and presents a simple appearance with simple sights, with lots of industrial age lines and ridges to make it distinctive.

Inside the Model 5 sits a Taurus Model 85 revolver with a futuristic shell built around the gun.

400

at Palmetto State Armory

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

It’s an interesting take on a sci-fi blaster. They took a revolver and turned it into a semi-automatic and dolled it up to produce a rather fine-looking futuristic handgun.

The Model B is so closely associated with Nathan Fillion’s character that it pops up in other shows, like Castle, as a subtle reference to the classic character.

2. M41A Pulse Rifle – Thompson SMG and Remington 870

The Space Marines of 2122 carry the M41A Pulse Rifle into combat, and the squad in the film Aliens mostly packs the M41A.

This select-fire weapon fires 10mm caseless ammunition with a total magazine capacity of 99 rounds — although it’s mentioned in some lore that Marines only load the magazines to 95 rounds to prevent jamming.

Even in the future, the Colonial Marine Corps can’t perfect their rifles. Outside the 10mm main gun, the M41A rifles are fitted with pump-action 30mm grenade launchers mounted beneath the barrel.

The M41A is a short carbine and isn’t too far off from the use of the M4 with an M203 in the modern-day.

In real life, the M41A pulse rifle utilizes a Thompson SMG fitted into a futuristic shell with a bottom-mounted Remington 870 fitted with a SPAS 12 heat shield and foregrip.

The use of a Thompson makes the M41A complete a rather larger circle. Marines carried Tommy guns as early as the Banana Wars, and the circle comes complete with the famed Colonial Marines carrying the M41A.

The combination of the rifle and grenade launcher makes the M41A pulse rifle an awesome weapon for destroying alien scum. You can see it in plenty of hero shots involving Ripley, Vasquez, and Hicks.

This setup also used .45 ACP blanks, which meant massive and sweet-looking muzzle flash.

3. M56 Smart Gun – MG 42

I don’t want to fill this list with guns from one series or another, but I simply couldn’t choose between the M56 Smart gun and the M41A Pulse Rifle.

What can I say; I’m a machine gunner and have a bias. After becoming a machine gunner, I saw the actual benefits of the M56 Smart gun. Also, I appreciated that the machine gun team of Vasquez and Drake were tight and worked together.

The M56 Smart gun mounts a machine gun to the body of the gunner with a harness. This allows them to better carry their heavy weapon and utilize it in the standing. An advanced sighting system allows shooters to engage from the hip with accurate fire, and the weapon can aim autonomously.

In real life, the M56 Smart Gun is an MG 42 machine gun that certainly gives the gun that old-school look and feel, but the armorers dressed it up for that future-proof design.

MG 42

The MG 42 has a famously fast firing rate of 1,200 rounds per minute and earned the name Hitler’s buzzsaw by American G.I.s in World War II. It’s a medium machine gun and one of the first true general-purpose machine guns.

For the mounting system, they used a camera Steadicam mount. Heck, they used motorcycle parts with a linkage to the trigger to make it fire when carried in such an odd way.

It’s an ingenious setup, and the M56 Smart gun was all kinds of cool.

4. Auto 9 – Beretta 93R

When you have a massive cyborg police officer, you give him a massive gun. You can’t give RoboCop a Glock 17 and call it a day.

A big gun was needed, and filmmakers tried the Desert Eagle…but the Desert Eagle of all weapons was still too small.

Profile of RoboCop's Auto 9
RoboCop’s Auto 9.

So, they went to the shop and created their own — the Auto 9. RobCop’s Auto 9 was no standard pistol but a machine pistol that seemingly integrated a targeting system into Robocop’s visor.

We see him shoot a variety of people without ever aiming with seemingly perfect accuracy.

In real life, they dressed up a Beretta 93R. The Beretta 93R took the Beretta 92 series and added a burst feature to the fun. This allowed the weapon to be selective fire with a 3-round burst or semi-automatic.

775

at Guns.com

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

As you’d imagine, it was too small for Robocop’s hand. To make it look bigger, they made the grip and barrel longer with a full-on shroud that added higher sights and gave it a look straight out of 2028 Detroit.

RoboCop demonstrating his skills with the Auto 9 at the range
RoboCop demonstrating his skills with the Auto 9 at the range

Part of that shroud appears to be a compensator that would reduce recoil and muzzle rise fairly well. It also granted the filmmakers some intense muzzle flash which always looks cool on film.

The Auto 9 is the first time a machine pistol has been practical.

5. Lawgiver MKII – Glock 17

2012’s Dredd was a sleeper hit but an overlooked gem. This film stuck to the source material of the famed comics and created a grisly and violent world devoid of Stallone yelling that he is the LAW!

Instead, we have Karl Urban playing Judge Dredd as the brutal and efficient killer that he is. In his hand is the famed Lawgiver MKII pistol.

Karl Urban as Judge Dredd

This sidearm features a biometric identification mode that only Judges can use. It’s more than just a handgun.

The Lawgiver also utilizes a variety of modes, including the full auto “rapid-fire” mode, an armor-piercing mode, suppressed mode, stun rounds, incendiary rounds, and high explosives. Plenty of options for any situation in which a Judge might find themselves.

(Photo: Yourprops.com)

To keep track of all those modes, a display shows the current ammo count, mode, and other information to use such a complicated weapon.

The Lawgiver MKII in real life is a Glock 17 Gen 4 or Gen 3. We see the finger grooves that lock it down to those two generations.

399

at Guns.com

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

Oddly enough, the Glock 17 makes a lot of sense since Glock pistols arm the majority of police officers in the United States.

Glock’s polymer frame pistol has dominated the market since its inception and created an awesomely reliable pistol that is both simple and robust for law enforcement.

6. Deckard’s Gun – Charter Arms Bulldog

In the film Blade Runner, Deckard’s gun never gets any official designation, so we’ll just call it Deckard’s gun.

Deckard is a biological robot-hunting police officer tasked with bringing escaped “skinjobs” down.

Blade Runner is far from an action film, but Deckard’s gun is prominently shown over and over throughout the film. It’s always been a different kind of cool — bizarre but realistic. Deckard’s blaster seems to be issued by the LAPD, and we see it in the hands of another Blade Runner.

In real life, the armorer took the classic Charter Arms Bulldog and morphed it into one of the most unique weapons in film.

409

at Sportsman’s Warehouse

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

The Charter Arms Bulldog is a .44 Special revolver that barely clings to its compact designation. Air Marshals in the 70s apparently carried the Bulldog, and it’s easy to see why.

It fires a big, heavy, and slow round that packed a decent punch for the time. Deckard’s blaster took the Bulldog and mounted the bolt-action from a Steyr Mannlicher Model SL to the top of the gun. There was a series of LEDs, a second trigger, and a really cool grip.

Deckard’s blaster might not be named, but it has a special place in all our hearts.

7. DL-44 Heavy Blaster Pistol – Mauser C96

I could make an entire list of real guns modified to be in Star Wars, but maybe that will be something for a later article.

Since I had to choose one, the gun I settled on comes from Star Wars’ most lovable rogue, Han Solo. He shoots first, and he does so with the DL-44 Heavy Blaster Pistol.

(Photo: StarWars.com)

This handgun arms our hero through four films, and he clearly has an affection for it.

Also, interestingly enough, Solo’s gun features an optic and muzzle device, like most Gucci pistols in 2021. The DL-44 Heavy blaster pistol hits hard and makes Storm Trooper armor rather useless.

In real life, the Star Wars prop team utilized a Mauser C96 to form the distinctive pistol. The propmaster attached an early 4X optic made for German sniper rifles, a heavy barrel, and the muzzle device from an MG81 machine gun.

Mauser C96
Mauser C96

Ultimately, the whole package became the gun that Han Solo would wield in many a film, comic, video game, and book.

The Mauser C96 shares the pride of being an early successful semi-auto pistol – the 96 in C96 comes from 1896! This gun originally came in the 7.62 Mauser but later chambered everything from 9mm to 8mm Gasser.

6299

at Guns.com

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

It was used by both sides of World War I — sticking around for decades due to its robust design and reliable nature.

8. Colonial Handgun – Smith & Wesson 686

Bears. Beets. Battlestar Galactica. The early 2000s series might easily eclipse the classic series it aimed to remake. This series brought us Edward James Olmos, the Beretta CX4, and Katee Sackoff’s abs to make us feel a little bad about that last Reeses.

It also brought us the Colonial Handgun.

The Colonial Handgun takes some cues from Blade Runner and uses a revolver as its core design. It’s seen in the hands of dozens of characters and appears to be the standard-issue pistol of the Colonials.

This handgun takes a 2.5-inch Smith & Wesson 686 and propels it to the future with a CNC machine aluminum shell.

799

at Palmetto State Armory

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

We get the classic wood grips and DA trigger, but the hammer is fully enclosed, as is the cylinder. The cylinder release has also been removed.

The S&W 686 is one of the more modern .357 Magnum revolvers on the market, and it’s an awesome pistol. Heck, you might even argue it’s the company’s current flagship revolver. It’s a 6-shooter, but a 7-shot plus model exists.

S&W 686 Side View

If I needed to carry a revolver on duty, it would likely be this gun.

9. The Resistance Rifle – AC556 in a Muzzelite Stock

I love the Terminator series, and as a kid, some of my favorite scenes were of the brutal future war between man and the machine.

We saw more than a few firearms shooting lasers in these short portions, and the unnamed resistance rifle always stuck out to me. We know very little about the weapon but can assume it worked well for killing Terminators.

Kyle Reese mentions that they’d be tough to kill with weapons from the 80s, and the Terminator mentioned a phased plasma rifle in the 40-watt range. So maybe it’s a plasma rifle. What we do know is that it’s a bullpup rifle outfitted with a massive scope.

In reality, the rifle of the Resistance is an AC556, a.k.a. a select-fire version of the Mini 14. The film’s armorers shoved it into a Muzzelite stock that creates a bullpup platform.

(Photo: Terminator Wiki)

On top of the gun is an iMatronic Lasersight LS45. This is not an optic you’ll look through but a massive laser that tossed a simple red dot downrange.

To make it look more optic-like, the armorers added what appears to be eyepieces of some type or another. The combinations of this sight, the stock, and the rifle might make this the most 80s gun ever.

966

at Guns.com

Prices accurate at time of writing

Prices accurate at time of writing

Available Coupons

It offered a more traditional alternative to AR-type weapons and used a design very similar to the M14. The Mini 14 series offered a light and semi-auto rifle in .223 that wasn’t the futuristic and not-so-traditional AR-15.

They weren’t known for their accuracy but tended to be robust and handy guns.

If you’ve never handled a Muzzelite stock, don’t worry, you aren’t missing out on anything. They feel exactly how they look. They made trigger abysmal but were a true drop-in design that greatly shortened a Ruger rifle.

Final Thoughts

You can tell when a sci-fi gun isn’t based on anything real. It’s often an impractical and unergonomic mess that makes no sense from a practical perspective.

The best sci-fi guns are always gun-based on real guns, which adds a certain degree of realism to the sci-fi design.

Plus, if they didn’t use real guns, nerds like me couldn’t pick them apart to an extreme degree.

What’s your favorite fictional gun based on a real gun? Let us know in the comments below! For more movies and guns, check out the Guns of Hollywood: Which Firearms Made Their Mark?

The post Best Sci-Fi Movie Guns That Actually Exist (Kind Of) appeared first on Pew Pew Tactical.

Pew Pew Tactical

So much unscrambling will need to be done

https://media.notthebee.com/articles/62ac05c64bf7462ac05c64bf75.jpg

It’s a heated discussion in my history classroom every year. Shortly after the semester break, I share an excerpt from the classic sociological study by Robert and Helen Lynd, "Middletown." The snippet I use depicts the changes that come to the quintessential American town around the turn of the century, with the introduction of the automobile into daily life.

Not the Bee