MySQL Community Advent Calendar 2022 – how to handle UUIDs with MySQL 8.0Planet MySQL
Blip: A New Open Source MySQL Metrics Collector
Blip is a new open source MySQL metrics collector, or “MySQL monitor” for short.
But isn’t collecting MySQL metrics easy?
And don’t we already have some open source MySQL monitors?
Let’s take a trip down memory lane…
Planet MySQL
OpnForm is an Open-source Form Builder Made With Laravel
https://laravelnews.s3.amazonaws.com/images/opnform-featured.png
OpenForm is an open-source form builder made with Laravel, Vue.js, Tailwind CSS, and more.
The post OpnForm is an Open-source Form Builder Made With Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Laravel News
Three Seconds from Every Star Trek TNG
https://theawesomer.com/photos/2022/12/star_trek_tng_every_episode_t.jpg
This video from SentinelOfSomething offers a rapid-fire recap of all 178 episodes of Star Trek: The Next Generation. Whether you’re a die-hard Trekkie or just a casual viewer, the 9-minute clip offers a hilarious glimpse into the show’s seven-year run. Not every clip is exactly three seconds but Sentinel didn’t want to cut off lines.
The Awesomer
The Rimfire Report: Why Your 10/22 Rifle is Inaccurate
https://www.thefirearmblog.com/blog/wp-content/uploads/2022/12/keyhole-targetfeat-180×180.png
Hello everyone and welcome back to another edition of The Rimfire Report! This ongoing series is all about the rimfire firearm world and its various firearms, shooting sports, ammunition types, and history! Last week on The Rimfire Report we talked about the historical significance of what was collectively known as gallery guns – basically versions of rifles […]
The post The Rimfire Report: Why Your 10/22 Rifle is Inaccurate appeared first on The Firearm Blog.
The Firearm Blog
Things That Don’t Suck: Faxon’s Ruger 10/22 Bolt Upgrade
https://cdn0.thetruthaboutguns.com/wp-content/uploads/2022/12/ruger-1022-bolt-6-scaled-e1670962187398.jpg
There are many parts that make up a 10/22 rifle, and each one of them plays an important role. However, the most critical component of the Ruger is the bolt. The trigger may be what initiates every shot, but it’s the bolt that’s responsible for shot-to-shot operation.
A high-quality bolt affects more than just reliability. The bolt face, its consistency, and how the firing pin strikes the bullet significantly contribute to the rifle’s accuracy.
Faxon Stainless Steel Bolt Assembly for 10/22
Whether you’re building up a new gun or keeping an old favorite running, the Faxon 10/22 Bolt Assembly is compatible with the OEM receiver, trigger group, charging handle, and bolt stop pin. The Faxon 10/22 bolt is fully assembled and ready to drop into your Ruger 10/22.
Specs
- Material: 17-4 PH Stainless steel, H900
- Hardness: HRC 40 – 47
- Round Firing Pin
- Sharp Extractor
Why Upgrade a 10/22 Bolt?
Upgrading the bolt improves reliability and accuracy on any 10/22 rifle. A high-quality bolt aftermarket bold like Faxon’s is properly radiused and polished to enhance the reliability of the cyclic action.
Additionally, Faxon’s 10/22 bolt has the proper head spacing in order to improve the reliability of the bullets feeding from the magazine into the chamber. Lastly, proper firing pin protrusion ensures optimal striking of the rimfire case.
All these small improvements add up to better overall reliability, consistent performance, and improved accuracy.
Does The Ruger 10/22 Have a Bolt Hold Open?
Out of the box in the stock configuration, the Ruger 10/22 doesn’t have a last-round bolt hold open feature. To add the bolt hold open feature, you need a third-party upgrade such as the CST Auto Bolt Stop.
What is a 10/22 Bolt Buffer?
A bolt buffer replaces/upgrades the bolt stop pin in your 10/22 receiver. The OEM bolt stop pin is made from steel, whereas the bolt buffer is made from a polymer material.
Over time the steel bolt stop pin can cause micro-cracks in the receiver due to repeated impacts of the bolt during shooting. The bolt buffer mitigates that and several other issues by being manufactured out of a polymer material.
There are three main benefits of replacing the bolt stop pin with a bolt buffer.
- It reduces the sound when the bolt slams rearward during the cycling action during shooting. This is also a benefit when shooting suppressed as it greatly reduces the noise signature even more.
- The 10/22 blowback action is less shaky because of the dampening of the recoil and bolt cycling vibrations.
- It can prevent cracks in the 10/22 receiver resulting from prolonged usage, high round count shooting, or the added stress of high-velocity ammo.
The Ruger 10/22 bolt by Faxon includes a bolt buffer to replace the OEM bolt stop pin. If you’re interested in learning more, check out more on the Ruger 10/22 Bolt here.
This article originally appeared at Firearms Press and is reprinted here with permission.
The Truth About Guns
A Message From the MySQL Community Team
A holiday message from the MySQL Community Team!Planet MySQL
First Human Trials Test Light and Sound Therapy For Alzheimer’s Disease
A new study published in the journal PLoS ONE has reported on the first human tests of an experimental therapy using sound and light to treat Alzheimer’s disease (AD). New Atlas reports: Over the last seven years, Li-Huei Tsai and colleagues at MIT’s Picower Institute for Learning and Memory have been investigating an unusual hypothesis. The researchers found toxic proteins associated with Alzheimer’s disease could be eliminated from mouse brains following exposure to flickering lights. Further research found the magic frequency was 40 Hz. When animals were exposed to both sound and light at that frequency, improvements in brain health were detected. Of course, these kinds of animal tests don’t mean much if they can’t be replicated in humans, so after further investigations revealed how this sensory therapy could be affecting a mouse brain, the researchers started preliminary human experiments. Working with colleagues at Massachusetts General Hospital, two clinical trials set out to test the therapy in humans.
The first Phase 1 study recruited 43 participants to test whether this kind of light and sound exposure was safe, and did anything to the human brain. Each subject was monitored using EEG measures while experiencing a short exposure to what has been dubbed by the researchers as GENUS (Gamma ENtrainment Using Sensory stimulation). This preliminary study comprised both healthy and cognitively impaired subjects, as well as participants with epilepsy in order to evaluate the seizure potential of the treatment. After a short exposure to the sensory stimulation, the researchers found a number of brain regions synchronize with the 40-Hz frequency.
The second trial recruited 15 participants with early-stage Alzheimer’s disease. Each participant was given a device to take home and use for around an hour a day. The device was essentially a small LED white board with an iPad in the middle and a soundbar underneath. While watching videos on the iPad, the LED light panel on the white board would flicker at a rate of 40 Hz and the soundbar would play a 40-Hz tone. Half the cohort was randomized to a sham control condition, exposed to a constant white light and white noise. Compliance was relatively high between both the GENUS and the sham groups, with participants completing the daily requirement of exposure around 90 percent of the time. After around three months of use the researchers could detect statistically significant differences between the two groups, both on brain imaging and memory tests. The researchers are cautious not to overstate their initial findings, the report says. "It’s early days for human studies […], larger cohorts of patients are needed to better understand the impacts of this sensory stimulation and longer trials will hopefully establish more prominent beneficial effects."
Read more of this story at Slashdot.
Slashdot
Setup your MacOS for Laravel Development
https://ahmadrosid.com/images/macos-for-laravel.png
Congratulations on your recent purchase of a MacBook! If you intend to use it for Laravel development, you have come to the right place. Allow me to guide you through the necessary steps for setting up your MacBook for a Laravel development environment.
Install PHP
To install PHP on macOS, you can use the package manager Homebrew. First, make sure you have Homebrew installed by running the following command in your terminal:
If you don’t have Homebrew installed, you can install it by running the following command:
Once you have Homebrew installed, you can install PHP by running the following command:
If you want to install specific php version you can search available php package in brew.
For example if you want to install php version 8 just.
Now export path for binary php, change ~/.zshrc
to whatever shell you are using in this case I use zsh.
Install composer
To install Composer, you can follow the instructions on the Composer website: https://getcomposer.org/download. Here is a brief summary of the steps to install Composer on macOS:
Download the Composer installer by running the following command in your terminal:
Move the Composer binary to a directory that is included in your system path by running the following command:
Verify that Composer is installed by running the following command:
This should print the version of Composer that is installed on your machine
Install Laravel
This is optional. But if you want to create new project quickly you can use it directly from composer.
You also can create laravel project using the official cli. First install the cli.
Now export binary path.
And here’s how to create project from it.
Install MySQL
Most people use MySQL for Laravel projects. You might as well if you do. Please follow the instructions below for installation.
This will install the latest version of MySQL on your machine. You can verify that MySQL is installed by running the following command:
This should print the version of MySQL that is installed on your machine.
After installing MySQL, you will also need to start the MySQL server. You can do this by running the following command:
This will start the MySQL server in the background. To stop the MySQL server, you can run the following command:
To secure a MySQL installation, you can follow these steps:
Set a strong password for the MySQL root user: By default, the MySQL root user has no password, so you should set a strong password for the root user to prevent unauthorized access to your MySQL server. You can do this by running the following command:
Replace new_password
with a strong password of your choice.
Reload the privilege tables: After making changes to the MySQL user accounts and permissions, you will need to reload the privilege tables to apply the changes. You can do this by running the following command:
I hope this helps! Let me know if you have any other questions.
Laravel News Links
Are You Nuts? Know your Fishing Knots! – Snell Knot
https://www.alloutdoor.com/wp-content/uploads/2022/12/20221212_165728-e1670885907355.jpg
This week we are going to show you how to tie a snell knot, also called snelling the hook. The smell knot is an older knot that was originally invented for tying hooks with no hook eyes. Instead, these hooks had a flattened wider portion of the shank that you would snell in front of. Nowadays though it is still widely used in many different techniques. In freshwater, bass anglers often snell hooks and use pegged bullet weights for punching matted vegetation. Fly anglers use the snell knot to keep a straight presentation for tube flies when fly fishing. In saltwater, it is popular for targeting big game, especially when pitching live bait or dragging baits on the bottom.
The snell knot is a very strong knot that when tied on a hook with an offset hook eye can keep the hook and line inline making it easier to get a good hook set. With the knot being behind the eye of the hook, this knot does not slip easily when under pressure. There is also plenty of meat to the knot so even if the hook eye isn’t closed completely there’s less risk of the knot failing due to a bad hook eye. The biggest downside to the snell knot is that the line can be easily abraded and cut if the fish you hook have sharp teeth, this is due to the line being on the hook shank itself.
Step 1
First step as most knots is run the mainline through the eye of the hook, normally I use an offset hook but only have a straight shank hook for the demo.
Step 2
Make a loop with the mainline and make sure to pinch the loop.
Step 3
Using the pinched loop start wrapping the loop over the double line and shank of the hook, makes wraps towards the bend of the hook. Make sure to keep the loops from overlapping
Step 4
Make about 6 to 8 wraps around the lines and shank of the hook, adjust for more loops for thinner lines, and then wet the knot. Then pull both ends of the line on the knot and snug the knot down. Trim the tag end and you’re ready to fish.
The post Are You Nuts? Know your Fishing Knots! – Snell Knot appeared first on AllOutdoor.com.
AllOutdoor.com