Wrenching Hero Installs $120 Lawnmower Engine Into Dodge Ram Pickup

The only gasoline internal combustion engines that most people have in their households are either in cars or lawnmowers. That naturally leads to the thought: What if you took the tiny mower motor and installed it into an automobile? That’s what one young intrepid YouTuber did, and the results are glorious.

My coworker Jason Torchinsky and I have been talking about installing a pull-start lawnmower engine into a car for years now, but it looks like YouTuber Carson Duba has beaten us to the punch. And he appears to have done quite a nice job:

What we’re looking at here is an early 1980s Dodge Ram 50 powered by a 6.5 horsepower, 8.1 ft-lb overhead-valve single-cylinder engine sold at Harbor Freight for $120. The tool store, you will be surprised to know, does not actually list “automobile” as an application for this motor. Here’s the full list from the store’s website:

pressure washers, cement mixers, compressors, mowers, log splitters, vacuums, tillers, water pumps, chipper/shredders, generators, blowers

The Dodge had apparently been sitting in the young wrencher’s friend’s yard for a while, so the friend just gave it away. Carson Duba decided to have some fun with it, stripping out the old motor, leaving not much more than the steering intermediate shaft and brake master cylinder. He then built a platform that ties into the original engine mounts, and that carries the single-cylinder engine.

That engine, which can slide on the platform thanks to slotted holes, has a centrifugal clutch on its output shaft, which sends power to a five-speed manual transmission via a sprocket and a chain. To get a 60-tooth sprocket on the transmission end, the YouTuber welded a shaft to the transmission input shaft (unsurprisingly, it was difficult to weld it perfectly straight), and then made a bracket so that the shaft could ride on a bearing (this bracket ties into a custom mount that holds up the front of the transmission). The big sprocket sits on the end of that shaft, and the tension of its chain is set by sliding the motor along the slotted holes in the platform.

The whole build is far more elegant than I expected for something as silly as a lawnmower in a junky old truck. The choke is hooked up to a nice slider on the dash, the original cable running from the gas pedal actuates the tiny engine’s throttle, and there’s a fairly nicely-packaged pull cord that goes through the fender, with a handle in the wheel housing that starts motor. A simple kill switch on the dash cuts it off.

The young mechanic even made his own door panels using material from a shower, and he demonstrates in the video that the truck works in both reverse and in a forward gear, even if it only drives about 20 MPH.

h/t: Kyle!

via Gizmodo
Wrenching Hero Installs $120 Lawnmower Engine Into Dodge Ram Pickup

Favourite Laravel packages I always install

I thought it might be helpful for me to share a handful of packages which I find myself installing whenever I start a new Laravel application. Let me know if there are any missing!

Laravel Debug bar

barryvdh/laravel-debugbar (Github / Packagist)

Probably the first package I install in every Laravel project is the laravel Debug bar by Barry vd. Heuvel. With over 13 million installes I am not the only person who thinks this is an amazing package. You get a bar at the bottom of the browser window which will show you queries, information about the current Route, the currently loaded views, events and the Laravel version and Environment. And that’s just s small list of the things you can use it for.

composer require barryvdh/laravel-debugbar --dev

Laravel Telescope

laravel/telescope (Official Laravel Docs / GitHub / Packagist)

A very powerful ‘telescope’ into everything that your application is doing. I have only recently started to look at this but it’s been a great help for a recent application we have been working on.


Laravel IDE Helper

barryvdh/laravel-ide-helper (GitHub / Packagist)

A no brainer for anyone who uses PHPStorm. It will basically build some meta files fo the IDE to use which will help with all sorts of magic.

composer require --dev barryvdh/laravel-ide-helper php artisan clear-compiled php artisan ide-helper:meta php artisan ide-helper:generate

Laravel Query Detector

beyondcode/laravel-query-detector (GitHub / Packagist)

The Laravel N+1 query detector helps you to increase your application’s performance by reducing the number of queries it executes. This package monitors your queries in real-time, while you develop your application and notify you when you should add eager loading (N+1 queries). (Taken directly from the Readme)

composer require beyondcode/laravel-query-detector --dev php artisan vendor:publish --provider=BeyondCode\QueryDetector\QueryDetectorServiceProvider 

PHP Coding Standards Fixer

friendsofphp/php-cs-fixer (GitHub / Packagist)

I have been a huge fan of PSR-2 for a long time and if you have ever worked on a project with me you know I can be a sucker about PR’s with code style errors/issues. PHPStorm has a build in Code Style fixer and there are a number of other ways you can set up automatic code style fixing but I prefer this method. I tweak a few things in the config so that I can match my own specific style. I have included a .php_cs config file below so you can use this if you wish. I also use the Makefile as a little helper so that I can run make fix from my project root in a terminal.

I highly recommend you make use of this package locally but if you want to look at automating this and other Laravel specific code styles like making sure you are doing things “The Laravel Way’ then Check out Laravel Shift

composer require --dev friendsofphp/php-cs-fixer make test make fix

Laravel UUID

jamesmills/eloquent-uuid (GitHub / Packagist)

A Laravel Eloquent Model trait for adding and using a uuid with models. The trait listens to the creating event. It generates a new UUID and saves it in the uuid column on the model.

I personally like adding UUID’s to every entity in my application. There are the odd occurrences which I don’t do this. The main reason is that I find they much nicer to work with when it comes to URL’s and API’s. You can hide the auto-increment ID’s from the public eye and I personally just think they look and work better.

composer require jamesmills/eloquent-uuid

Just add the package and make sure your Entity/Model uses theHasUuidTrait. When you save the model then a UUID will automatically be added.

<?php namespace App; use JamesMills\Uuid\HasUuidTrait; class User extends Eloquent { use HasUuidTrait; }

Laravel Timezones

jamesmills/laravel-timezone (GitHub / Packagist)

Laravel Timezones package An easy way to set a timezone for a user in your application and then show date/times to them in their local timezone. I think this is pure magic!

I wrote a blog post specifically about the Laravel Timezones package where I go into a little more detail about why and how to use this package.

I don’t install this in every application but I have found that almost all of my applications have needed to show times and dates to a user in their specific timezone so I usually just install it at project setup so I have it there when needed.

composer require jamesmills/laravel-timezone // This will add a timezone column to your users table. php artisan migrate

It has a number of helpful features like blade directives

@displayDate($post->created_at) // 4th July 2018 3:32:am

Related

via Laravel News Links
Favourite Laravel packages I always install

Two Laravel Developers Building SaaS – SaaS Reality

The beginning…

We are two experienced developers and entrepreneurs who are sharing our journey as we build, launch and run SaaS businesses.

Join us, Simon and Dean, as we share our ‘accountability’ updates with the world.

Come along with us through the highs and lows as we talk openly about the challenges and triumphs of running an online SaaS business.

In this first episode you get to meet the hosts (us):

Simon, the young energetic Dad, already a successful SaaS founder with his Snapshooter.io product is scratching his own itch and building Automaily.

Dean, a survivor of the pre-internet corporate IT world and an ex CTO/Technical Director of a 7 figure web agency brings his experience and maturity of the enterprise to the SaaS world.

About Episode 1:

In this, our first episode, you’ll discover why we started this podcast and why we are sharing our journey with you.  Why we think this podcast is needed and who inspired us.

About Automaily:

Automaily is a churn busting and dunning automation tool with fully configurable workflows designed to help you recover lost and churned revenue.  

It also takes care of all the tedious and boring follow up emails when chasing down failed payments.

About CloudInsights.app

CloudInsights is tackling a hard problem, how to reduce your AWS bill and save time and money.

Dean’s product scans your AWS infrastructure and analyses your costs and usage data. It identifies unused, under-utilised and forgotten servers and resources.

With this knowledge you can right-size, shut down or refactor the troublesome parts of your Amazon Web Services infrastructure to save money and reduce your support and DevOps overheads.

Links:

People and podcasts mentioned during the episode and who inspired this podcast

via Laravel News Links
Two Laravel Developers Building SaaS – SaaS Reality

Laravel Google Translate

Laravel Google Translate

Laravel Google Translate is a package that provides an artisan console command to translate your localization files with the Google translation API. You can either leverage stichoza/google-translate-php without an API key or configure your Google Translate API key.

The console command php artisan translate:files walks you through some prompts to determine how to proceed with your translations files:

Future goals of this package include handling vendor translations, a web interface, and adding other translation APIs such as Yandex, Bing, etc.

You can learn more about this package, get full installation instructions, and view the source code on GitHub at tanmuhittin/laravel-google-translate.


Filed in: News / packages


Enjoy this? Get Laravel News delivered straight to your inbox every Sunday.

No Spam, ever. We’ll never share your email address and you can opt out at any time.

via Laravel News
Laravel Google Translate

Congress Pushing A Terrible Bill To Massively Expand Patent Trolling

For most of the history of Techdirt, we’ve talked about what an incredible mess the US patent system has been. There are many, many reasons for this, but a big one was that for decades, the appeals court that handles all patent cases, the Court of Appeals for the Federal Circuit (or CAFC), kept expanding what it considered to be patentable subject matter, and the Supreme Court completely ignored the issue. This culminated, ridiculously, in the State Street decision, which massively expanded what was considered patentable software (before that there was software covered by patents, but it was very, very limited). What made this situation truly hellish for innovators, is that (1) the software world was exploding with all different kinds of apps, and (2) almost no software was documented in the very few areas where patent examiners look for prior art: mainly, other patent applications and scientific journals. There was no need to document software in those places, because (1) when most people recognized software shouldn’t be patented, very few even tried, and (2) why would you?

That resulted in a perfect storm in which patent trolls rushed in to fill the void. Tons upon tons of ridiculously broad patents were filed (or older ones were dug up and "repurposed" for use in trolling). Then it just became a shakedown game of numbers. Find companies doing something vaguely like what’s broadly and oddly described in your patent, tell them they’re infringing — and offer to "settle" for less than the cost to win in court.

The tide started to change over the last decade and a half or so, in part because of a few changes to the law, but more importantly, the Supreme Court started to wake up to the fact that the CAFC had gone rogue and had massively rewritten patent law. And then over a period of about a decade, case by case by case, the Supreme Court smacked down CAFC. Two of the biggest such smackdowns came in the Mayo Labs ruling in 2012 which rejected medical diagnostic patents, and the Alice ruling in 2014, which rejected patents on software that performs "generic functions" (which is basically all software).

Both of these cases focused on Section 101 of the Patent Act, which defines what actually is patentable subject matter. It’s short and sweet:

Whoever invents or discovers any new and useful process, machine, manufacture, or composition of matter, or any new and useful improvement thereof, may obtain a patent therefor, subject to the conditions and requirements of this title.

In both of the cases mentioned above, the Supreme Court noted simply that 101 doesn’t cover "laws of nature, natural phenomena, and abstract ideas" as decided in an earlier case that CAFC had ignored for two decades, Diamond v. Diehr. In the Mayo case, the court noted that medical diagnostics was trying to patent laws of nature. In the Alice case, "abstract ideas."

Since then, both cases have been incredibly useful in killing off a ton of truly awful patents. And the patent trolls and their friends have been really angry about this. And now it appears they’ve finally got a plan to reopen the patent trolling floodgates. And, they’ve got bipartisan members of both the House and the Senate to push a plan for them. In the Senate, Thom Tills and Chris Coons have announced plans to introduce a horrific bill to rewrite Section 101 in a manner that can only be called "Make Patent Trolls And Bogus Litigation Great Again." A House version is being introduced by Reps. Hank Johnson and Steve Stivers.

The biggest part of the bill is to remove the requirement that a patent be for an invention that is "new and useful." Yes, you read that right. The most fundamental part of a patent is that it’s to encourage people to invent something that is new and useful, and these elected officials want to do away with that. Then, they want to massively limit what is not patent eligible, demanding very narrowly defined areas, like "fundamental scientific principles" and "products that exist solely and exclusively in nature," rather than what we now have, which is "laws of nature." On the software side, they want to say that only "pure mathematical formulas" and "mental activities" would be excluded, but abstract ideas implemented in software? PATENT AWAY!

And, of course, the bill is explicit, that with this new list of narrowly defined exclusions, it would literally wipe away those big Supreme Court wins that have helped open up innovation and slowed down patent trolls.

This would be absolutely terrible for innovation.

Alex Moss, from EFF, has gone through and detailed just how massive a change this proposal would create and what a disaster it would be for companies that actually innovate (as opposed to those that just shake innovators down for money.) On the removal of "new and useful" from 101:

Removing the requirement that inventions actually be new and useful upends a fundamental Constitutional principle of patent law. The Constitution grants Congress the power to issue an “exclusive right,” such as a patent, only “[t]o promote the progress of science and useful arts.” The patent system’s entire purpose, in other words, is to encourage technological progress. Allowing patents on things that are neither new nor useful undermines the purpose of the Intellectual Property Clause.

Section 101’s purpose is to weed out patent applications that cannot possibly be inventive. The “existing statutory utility requirements” do not, and cannot, accomplish this. That’s because other parts of U.S. patent laws do not include a specific “utility” requirement. Section 102 and 103 set out requirements for determining whether an invention is obvious in view of pre-existing knowledge in the field—what is known as “prior art”—but courts and the Patent Office apply those requirements extremely narrowly.

It’s especially difficult to invalidate bad software patents under Sections 102 and 103. Because courts and the Patent Office didn’t start granting patents on software alone until the mid-1990s, there is a dearth of patents and patent applications that could be used to invalidate software patents under Sections 102 and 103. And because the code for most software products is not public, it isn’t readily available to others in court challenges.

So, yeah, that would be bad.

At this point, this is just a proposal, rather than an actual bill, but they promise to introduce it later this year. Patent trolls and some larger organizations that live off of patent licensing are likely going to push hard for this bill. It’s basically a full employment act for patent lawyers. What it’s not is a recipe for innovation. It is the reverse. Of course, because some people laughably believe that a patent itself is a sign of innovation, too many people incorrectly believe that "stronger" patent laws mean more innovation. That’s not how it works. Patent trolling scares off actual innovators, makes innovation much more costly, and blocks important innovations from the marketplace.

Already the quotes from the Senators and Representatives demonstrate the kind of innovation-ignorant arguments we’re likely to see in support of this bill. Coons falsely claims that "today US patent law discourages innovation in some of the most critical areas of technology, including artificial intelligence, medical diagnostics, and personalized medicine." This is laughable. There are massive innovations happening in all three of those fields. And part of that is because of decisions like Mayo and Alice opening up those fields and limiting some of the worst patent trolling.

Tills claims that this is to "reform our nation’s complicated patent process." It’s not that complicated. And removing the requirements for "new and useful" and making most software patentable again is going to create a huge mess of a patent thicket that will be a massive drain on innovation. That’s complicated.

Hopefully, reason will prevail and these elected officials will learn just how much harm they’re about to do to the sectors of the economy that are actually innovating — with less fear of bogus patents and widespread patent trolling. Bringing that back would be a total disaster for innovation.

Permalink | Comments | Email This Story

via Techdirt
Congress Pushing A Terrible Bill To Massively Expand Patent Trolling

OnVirtus Offering Online Firearms Education Taught by Top Professionals

You don’t need to wade through all the YouTube chaff any more looking for a few grains of wheat in search of worthwhile shooting lessons and tips. And getting access to learn from the industry’s top pros is difficult and expensive.

Now, however, OnVirtus, a new online education site, is offering firearms education featuring lessons from some of the best shooting professionals in the business.

TTAG readers can get a 20% discount off the subscription price by using discount code TTAG20 at checkout.

Here’s their press release . . .

OnVirtus Launches Its First Series of Classes from Shooting Professionals

Box Springs, GA – OnVirtus is pleased to introduce the new era of firearms education. During the 2019 NRA Annual Meetings, the OnVirtus.com website will launch its first series of classes taught by the most accomplished firearms professionals in the industry.

“In the past, it’s been difficult to gain access to high-level instructors without sacrificing a lot of time and money. We wanted to give everyone access to good, high quality, instruction,” said Daniel Horner, founder of OnVirtus. “If I had access to this type of a website when I was younger, it would have taken years off my training.”

OnVirtus hosts videos of the best instructors that have proven their capabilities in competition or combat.

With this initial launch, you will see lessons from:

  • Jerry Miculek – specializing in 3-gun and revolver
  • Shane Coley – specializing in USPSA Limited Division
  • Max Michel – specializing in USPSA Open and Carry Optics
  • Daniel Horner – specializing in 3-gun and long range rifle
  • Todd and Colby Hodnett – specializing in long range rifle and ballistics
  • Lena Miculek – specializing in PCC and 3-gun
  • Jake Vibbert – specializing in precision rifle
  • Brandon Green – specializing in NRA High Power
  • True Pearce – specializing in the legalities of concealed carry

More instructors will be added soon, to include:

  • Vincent Hancock – specializing in shotgun
  • JJ Racaza – specializing in IPSC Limited and Open
  • Eric Grauffel – specializing in IPSC
  • James Henderson – specializing in NRA Bullseye handgun
  • Kenda Lenseigna – specializing in cowboy mounted shooting

There are hours of content on the website, and more will be added on a constant basis. The price to access all the videos from all the instructors is only $124.99 for an annual membership. Videos are presented in small, specific clips that allow you to find exactly what you’re looking for in seconds. Furthermore, the members are encouraged to ask the instructor(s) questions so that future topics can be tailored to what the members want to learn more about.

Visit OnVirtus.com to accelerate your learning curve in multiple shooting disciplines.

via The Truth About Guns
OnVirtus Offering Online Firearms Education Taught by Top Professionals