Amazon, Best Buy launch price war on Apple’s latest MacBook Pro – save up to $500

https://photos5.appleinsider.com/gallery/60252-123804-macbook-pro-14-inch-price-war-xl.jpg

Save up to $500 on Apple’s latest MacBook Pro laptops.


Amazon and Best Buy are slashing prices on current 14-inch and 16-inch MacBook Pro models by up to $500, delivering the best deals on a variety of M3, M3 Pro and M3 Max configs for the 4th of July holiday.

Apple’s popular M3 Pro 14-inch MacBook Pro has also returned to its all-time best price of $1,699 at both Amazon and Best Buy, as the two retailers engage in a holiday price war ahead of Prime Day.

The standard M3 Pro spec, which is $300 off in your choice of Space Black or Silver, comes equipped with Apple’s M3 Pro chip with an 11-core CPU and 14-core GPU. It also has 18GB of unified memory and a 512GB SSD, making it a well-equipped Mac for the price.

At press time, shoppers can pick up the system as early as today at select Best Buy store locations, while Amazon is shipping units in 1-2 days. Historically, when units experience a slight delay at Amazon, it signals inventory is extremely limited.

Those interested in the high-end M3 Max 16-inch MacBook Pro can save $500 on the premium configuration with a 40-core GPU, 48GB of unified memory and 1TB of storage. Normally $3,999, it’s discounted to $3,499 while supplies last.

Here’s a rundown of the offers at Best Buy and Amazon.

14-inch MacBook Pro savings

16-inch MacBook Pro markdowns

You can also find plenty of other MacBook Pro deals in effect for the 4th of July, with every M3 spec discounted by as much as $650. Even iMacs and Mac Studio desktops are marked down in our Apple Price Guide. It’s worth paying a visit to the guide prior to making a purchase to see how much you can save on Apple hardware.

AppleInsider News

The Great LEGO Space Coaster

https://theawesomer.com/photos/2024/07/great_lego_space_coaster_t.jpgHalf-Asleep Chris thought it would be fun to put a LEGO rollercoaster into space. So he and his pal Dan designed a custom rollercoaster that could withstand the flight and teamed up with Sent Into Space to launch it into the stratosphere. Once in space, the brave Minifigure astronauts got the thrill ride of their […]The Awesomer

POTD: Armed Forces of the Philippines – Archipelagic Coastal Defense

https://cdn-fastly.thefirearmblog.com/media/2024/06/16/14374/post.jpg?size=720×845&nocrop=1

Top of the morning and welcome to TFB’s   Photo Of The Day! Today we get a closer look at U.S. Marines with the 1st Battalion, 7th Marine Regiment, 1st Marine Division, and service members of the Armed Forces of the Philippines as they conduct the final exercise for Archipelagic Coastal Defense Continuum in Barira, Philippines, May 2024. The final exercise consisted of a bilateral company-level element conducting close-quarter combat and patrol-based operations.

Below: U.S. Marine Corps Staff Sgt. Zachary Thivierge, a platoon sergeant with 1st Battalion, 7th Marine Regiment, 1st Marine Division, conducts a close-quarters battle drill.

ACDC is a series of bilateral exchanges and training opportunities between the U.S. Marines and Philippine Marines aimed at bolstering the Philippine Marine Corps’ Coastal Defense strategy while supporting the modernization efforts of the Armed Forces of the Philippines.

U.S. Marines with 1st Battalion, 7th Marine Regiment, 1st Marine Division, and service members of the Armed Force of the Philippines pose for a photo.
Armed Forces of the Philippines – Archipelagic Coastal Defense Continuum

Images and captions: U.S. Marine Corps, photo by Sgt. Shaina Jupiter.


The Firearm Blog

Watch: Trump just dropped his most BRUTAL ad yet… it’s nothing but Biden debate highlights

https://www.louderwithcrowder.com/media-library/image.png?id=52516194&width=980

Subscribe to Louder with Crowder on Rumble! Download the app on Apple and Google Play.

Dude.

There’s nothing more left to be said. If I were Donald Trump, I would take the weekend off had I not had a rally planned in the suddenly swingy state of Virginia. Where he is making his first public appearance with … a potential running mate?

I think the word "ad" should be used loosely. Ads have points put behind them and are run on television or Goog… ok, Google would never. But TV, sure. This is a digital video. Trump’s social media team had a lot to work with and, if I were to guess, got into the bourbon. They had fun. This was an easy layup.

IF Team Trump wanted to put this up on TV in any combination of Minnesota, Wisconsin, Michigan, Pennsylvania, Arizona, Nevada, and/or Georgia, there would be nothing for the station to reject. Trump isn’t making any claims, misleading or otherwise. Trump isn’t saying anything at all. It’s nothing but ninety seconds of him promoting his opponent.

What would a network do? You can’t claim "cheap fake" anymore. Joe Biden’s braindead gaze took away what the Left and the media (but I repeat myself) were hoping to use as a talking point for the rest of the summer. Trump doesn’t need to say anything himself. Biden said it all last night, at an event designed to make him look good, in his special Biden way.

Not that the ad/digital video couldn’t use a little more Trump. I just need one line:

As of this writing, Joe Biden still has a full day of campaigning scheduled.

As of this writing, at least.

><><><><><><

Brodigan is Grand Poobah of this here website and when he isn’t writing words about things enjoys day drinking, pro-wrestling, and country music. You can find him on the Twitter too.

Facebook doesn’t want you reading this post or any others lately. Their algorithm hides our stories and shenanigans as best it can. The best way to stick it to Zuckerface? Sign up for our DAILY EMAIL BLASTS! They can’t stop us from delivering our content straight to your inbox. Yet.


CROWDER CLOSES: Conservatives Mustn’t be Afraid to Dream a Little Bit Bigger!

youtu.be

Louder With Crowder

The Fascinating Science of Cutting

https://theawesomer.com/photos/2024/06/the_science_of_cutting_t.jpg

The Fascinating Science of Cutting

Splitting an object into pieces by cutting it has proven invaluable in everything from starting fires to the production of goods. New Mind offers an in-depth exploration of the physics at work when we chop, cut, saw, slice, dice, and machine things to make more things. Along the way, you’ll learn about the history and development of cutting tools.

The Awesomer

Trump Indicted For Murdering Elderly Man On CNN

https://media.babylonbee.com/articles/667e1f4975f58667e1f4975f59.jpg

LAS VEGAS — Tonight’s presidential debate ended abruptly when Donald Trump was served with papers notifying him that he had been indicted for the murder of an elderly man on CNN.

"Hey, I didn’t do anything!" Trump told authorities. "He was like that when I got here!"

Trump, who had planned to debate President Joe Biden, argued that the strange old man keeled over all on his own.

"The very idea…" the old man said before slumping over onto a nearby podium. It was also at this point that Trump discovered the man had been propped up by an apparatus and could not stand on his own.

"You now, I got here and everything was fine. CNN is fake news, but I’m here and they’ve been nice tonight," Trump said. "But then there was this dead old man in the corner. And I thought, wow, the game must be afoot, you know? And believe me, I was about to solve this murder before you got here."

"Yeah, yeah!" said Officer Nolan of the LVPD. "Why don’t we talk about this downtown."

"Ahhh! Political persecution!" Trump said as he was dragged away. But he couldn’t explain away the blood on his hands.


Bob Boeing, the founder of Boeing, explains how the number 1 priority for the airline manufacturer is diversity.

Subscribe to our YouTube channel for more uplifting DEI videos!

Babylon Bee

Seeding test data in Laravel, a full guide

https://accreditly.io/storage/blogs/125/seeding-test-data-in-laravel-a-full-guide-1000.webp

3 min read

Published on 1st September 2023

Testing is an integral part of software development, and Laravel provides a robust framework for setting up tests. However, sometimes you need dummy data to test your application efficiently. In Laravel, this is done using seeders and the Faker library. This guide will walk you through creating and seeding test data in a Laravel application.

1. Introduction to Seeding

Seeders in Laravel provide a convenient way to populate your database with sample data. This is particularly useful during the development phase when you want to test your application with real-ish data.

2. Setting Up

Before you can use seeders, make sure you’ve set up a database and configured your .env file with the correct database connection details.

3. Creating a Seeder

To create a seeder, use the Artisan command-line tool:

php artisan make:seeder UsersTableSeeder

This will generate a new seeder class in the database/seeders directory.

4. Using Faker

Laravel uses the Faker library for generating random data. This library provides a plethora of methods to create data of different types.

You can even create your own formatters in Faker if you have specific format of data you need.

To use Faker in your seeder:

use Faker\Factory as Faker;

public function run()
{
    $faker = Faker::create();

    foreach (range(1, 10) as $index) {
        DB::table('users')->insert([
            'name' => $faker->name,
            'email' => $faker->email,
            'password' => bcrypt('secret'),
        ]);
    }
}

5. Model Factories

While seeders are powerful, Laravel recommends using model factories for generating large sets of test data.

Step 1: Create a factory.

php artisan make:factory UserFactory

This will create a new factory in the database/factories directory.

Step 2: Define the model’s default state.

use App\Models\User;

$factory->define(User::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'email' => $faker->unique()->safeEmail,
        'password' => bcrypt('password'),
    ];
});

Step 3: Use the factory in your seeder.

public function run()
{
    factory(App\Models\User::class, 50)->create();
}

This will create 50 users with random names, emails, and passwords.

6. Relationships and Test Data

Often, you’ll want to create test data that has relationships. For instance, a user might have many posts.

First, you’d define a relationship in the User model:

public function posts()
{
    return $this->hasMany('App\Models\Post');
}

Then, in the Post factory:

$factory->define(App\Models\Post::class, function (Faker $faker) {
    return [
        'user_id' => function () {
            return factory(App\Models\User::class)->create()->id;
        },
        'title' => $faker->sentence,
        'body' => $faker->paragraph,
    ];
});

7. Running Seeders

Once your seeders are set up, you can run them using:

php artisan db:seed --class=UsersTableSeeder

Or to run all seeders:

php artisan db:seed

8. Resetting and Reseeding

If you want to rollback all your migrations, run them again and then run the seeders, you can use:

php artisan migrate:refresh --seed

Seeding test data in Laravel can greatly improve the development and testing process. Using the combination of seeders, the Faker library, and model factories, you can generate realistic data sets to effectively test your application’s functionality.

Remember, while this data is great for development and testing, always ensure your production database is secured and not populated with test data.

Laravel News Links

ChatGPT for macOS no longer requires a subscription

The macOS ChatGPT desktop app is now available to everyone. That is, provided you’re running an Apple Silicon Mac (sorry, Intel users) and your computer is on macOS Sonoma or higher. OpenAI rolled out the app gradually, starting with Plus subscribers last month.

ChatGPT now has an official macOS client before it has a Windows one. (In case you haven’t heard, Microsoft is its most crucial partner.) Of course, Windows 11 has the OpenAI-powered Microsoft CoPilot baked into its OS, which likely explains the omission. OpenAI and Apple are also teaming up on Apple Intelligence, which arrives later this year (unless you’re in Europe).

The Mac app includes a keyboard shortcut (option-space by default, but it’s customizable) for typing chatbot queries from anywhere in macOS. Otherwise, the app mirrors the ChatGPT website’s appearance and functionality (including custom GPTs), except in native app form. You can also upload files, photos and screenshots.

You can download and install ChatGPT for macOS from OpenAI.

This article originally appeared on Engadget at https://www.engadget.com/chatgpt-for-macos-no-longer-requires-a-subscription-204959264.html?src=rssEngadget

Making Order from Chaos

https://theawesomer.com/photos/2024/06/order_from_chaos_t.jpgIf you dump a bunch of dice into a jar, they&#8217;ll just land in random positions. But if you jiggle the jar while spinning it, they will eventually work their way into orderly layers, filling in all the gaps. The Action Lab&#8217;s physics lesson explains the entropic forces at work that encourage objects to organize [&#8230;]The Awesomer