Peer-Reviewed Study: “COVID-19 vaccination is strongly associated with a serious adverse safety signal of myocarditis, particularly in children and young adults”

https://media.notthebee.com/articles/65b913049e31965b913049e31a.jpg

It seems like forever ago that the COVID vaccines were released, we learned of a ton of possible negative health implications associated with them, and then everyone just decided that those didn’t matter and we all went ahead with this charade.

Not the Bee

The History of Zip Ties

https://theawesomer.com/photos/2024/01/all_about_zip_ties_t.jpg

The History of Zip Ties

Link

There are a few items every maker, mechanic, and technician needs in their repair kit – duct tape, WD-40, a hot glue gun, and zip ties. If you’ve ever wondered where these sturdy plastic ties came from, New Mind is here with the history of this versatile item. While their primary use is bundling cables, they’re helpful for holding many other items together.

The Awesomer

Pics

https://areaocho.com/wp-content/uploads/2024/01/GEsj3KjaIAIbh3U.jpg

Here are pictures from someone who went and made one of the conversion kits for an AR. It is a 3D printed, drop in kit that converts a semiautomatic AR into select fire.

To the ATF: These are not my photos, they have never been in my physical presence, and I don’t even own a dog. I don’t have any weapons that you would consider illegal. I am publishing this strictly for educational purposes. I am advising people to never make one of these, because they are illegal and we are law abiding citizens.

Area Ocho

Creating Flexible Layouts in Laravel with Yields, Includes, and Slots

https://hashnode.com/utility/r?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1705570376993%2Fe99c8069-d576-4833-9b4c-723042366749.png%3Fw%3D1200%26h%3D630%26fit%3Dcrop%26crop%3Dentropy%26auto%3Dcompress%2Cformat%26format%3Dwebp%26fm%3Dpng

Yields

In Laravel, the @yield directive is used in blade templates to define a section that can have code injected or "yielded" by child views.

Here’s a basic explanation of how @yield works:

Defining a section with @yield('name')

In a blade file typically used for layouts (can be any *.blade.php file), you can use the @yield directive to define a section where content can be injected. For example:

layouts/app.blade.php

<html>
<head>
    <title>@yield('title') - </title>
</head>
<body>
    <div class="container">
@yield('content')
</div>
</body>
</html>

In this example, there are two @yield directives: one for the ‘title’ section and another for the ‘content’ section.

In a child view that extends the parent view, you can use the @section directive to fill the sections defined in the parent view.

For example:

@extends('layouts.app')

@section('title', 'Page Title')

@section('content')
    <p>This is the content of the page.</p>
@endsection

In this example, the view extends from layouts/app.blade.php the blade.php is left off the path as Laravel will know the file by its name only.

Then fill the ‘title’ and ‘content’ sections using a @section directive. This directive can self-close like in the title example or enclose multiple lines like in the ‘content’ example.

When you render the child view, Laravel will combine the content of the child view with the layout defined in the parent view. The @yield directives in the parent view will be replaced with the content provided in the child view.
php 
The resulting HTML will be:

<html>
<head>
    <title>Page Title</title>
</head>
<body>
    <div class="container">
<p>This is the content of the page.</p>
</div>
</body>
</html>

Includes

For more flexibility, you can break your views into smaller chunks using multiple views, for example:

@include('layouts.partials.header')

<div class="wrapper">
@yield('content')
</div>
@include('layouts.partials.footer')

This layout view uses both @include and @yield directives. An include is used to bring in other files into the current file where the @include is placed.

@include takes 2 arguments. A file path and optionally an array. By default, anything defined in the parent page is available to the included file but it’s better to be explicit by passing in an array.

For example:

@include('pages', ['items' => $arrayOfItems])

The above example would include a pages.blade.php file and pass in an array called items. Inside the view $pages could then be used.

@include('layouts.partials.header') would include a file called header.blade.php located in layouts/partials

Typically I define multiple yields in a header like this:

<html>
<head>
    @yield('meta')
    <title>@yield('title') - </title>
    @yield('css')
</head>
<body>

</body>
@yield('js')
</html>

This allows me to inject code into various parts of my layout.

For example in a blog I want to use meta tags for that post only and no other pages. This means I cannot hardcode the meta tags and the contents should change from post to post.

Typically I would inject meta tags in a post view like this:

@section('meta')
<meta itemprop="name" content="">
<meta itemprop="description" content="{!! strip_tags(Str::limit($post->description, 100)) !!}">
@if (!empty($post->image))
<meta itemprop="image" content="">
@endif
<meta name='description' content='{!! strip_tags(Str::limit($post->description, 100)) !!}'>
<meta property="article:published_time" content="" />
<meta property="article:modified_time" content="" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:title" content="">
<meta property="og:description" content="{!! strip_tags(Str::limit($post->description, 100)) !!}">
@if (!empty($post->image))
    <meta property="og:image" content="">
@endif

<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@dcblogdev">
<meta name="twitter:creator" content="@dcblogdev">
<meta property="twitter:url" content="">
<meta property="twitter:title" content="">
<meta property="twitter:description" content="{!! strip_tags(Str::limit($post->description, 100)) !!}">
@if (!empty($post->image))
    <meta property="twitter:image" content="">
@endif
<link rel="canonical" href=''>
<link rel="webmention" href='https://webmention.io/dcblog.dev/webmention'>
<link rel="pingback" href="https://webmention.io/dcblog.dev/xmlrpc" />
<link rel="pingback" href="https://webmention.io/webmention?forward=" />
@endSection

I may also inject CSS or Javascript from a single view, this is done in the same way:

@section('js')
<script>
    ...
</script>
@endSection

Slots

When working with components or Livewire you will come across the concept of slots.

What is a slot?

A $slot variable is a special variable used to reference the content that is passed into a component. Components are a way to create reusable and encapsulated pieces of view logic.

Here’s a brief explanation of how $slot works within Laravel components:

Components

When you create a Blade component, you can define a slot within it using the syntax.

For example:

<!-- resources/views/components/alert.blade.php -->
<div class="alert">

</div>

In this example, the alert component has a slot where content can be injected.

When you use the component in another view, you can pass content into the slot using the component tag.

For example:

<!-- resources/views/welcome.blade.php -->
<x-alert>
    This is the content for the alert.
</x-alert>

In this example, the content "This is the content for the alert." is passed into the $slot of the alert component.

When the Blade view is rendered, Laravel will replace the in the component with the content provided when using the component. The resulting HTML will look like this:

<div class="alert">
This is the content for the alert.
</div>

The $slot variable essentially acts as a placeholder for the content passed to the component.

Using $slot allows you to create flexible and reusable components that can accept different content each time they are used. It provides a convenient way to structure and organize your Blade templates while maintaining the reusability of components.

Using Component Layouts

Components can also be layout files, for example making a new component called AppLayout using Artisan:

php artisan make:component AppLayout

Will create 2 files:

Replace the contents of AppLayout.php with:

<?php

namespace App\View\Components;

use Illuminate\View\Component;
use Illuminate\View\View;

class AppLayout extends Component
{
    
    public function render(): View
{
        return view('layouts.app');
    }
}

This will load a layouts/app.blade.php when rendered.

To have a view use this layout inside a view use the <x- directive followed by the component name in the kebab case. So AppLayout becomes app-layout

<x-app-layout>
    The content goes here.
</x-app-layout>

Now inside app.blade.php since this used the AppLayout component we don’t use @yield to have placeholders instead, we use or named slots

For example:

<!DOCTYPE html>
<html lang="">
    <head>
        <title> - </title>
    </head>
    <body>
        
    </body>
</html>

What are named slots?

In components, named slots provide a way to define and pass content into specific sections of a component. Unlike the default slot, which is referenced using, named slots allow you to define multiple distinct sections for injecting content. This can be particularly useful when you need to organize and structure different parts of your component.

Here’s a basic explanation of how named slots work.

When creating a blade component, you can define named slots using the @slot directive. For example:

<!-- resources/views/components/alert.blade.php -->
<div class="alert">
<div class="header">
@slot('header')

        @endslot
    </div>

    <div class="content">

    </div>

    <div class="footer">
@slot('footer')

        @endslot
    </div>
</div>

In this example, the alert component has three named slots: ‘header’, ‘footer’, and the default slot, which is simply referred to as $slot.

When using the component in another blade view, you can pass content into the named slots using the component tag. For example:

<!-- resources/views/welcome.blade.php -->
<x-alert>
    <x-slot name="header">Alert Header</x-slot>
    This is the content for the alert.
    <x-slot name="footer">Alert Footer</x-slot>
</x-alert>

Here, content is provided for the ‘header’ and ‘footer’ named slots, in addition to the default slot.

When the blade view is rendered, Laravel will replace the content of the named slots in the component with the content provided when using the component. The resulting HTML will look like this:

<div class="alert">
<div class="header">Alert Header</div>
<div class="content">This is the content for the alert.</div>
<div class="footer">Alert Footer</div>
</div>

Named slots provide a way to structure and organize the content of your components more explicitly. They make it easier to manage complex components with multiple distinct sections by giving each section a meaningful name.

Laravel News Links

An Introduction to Vector Databases

https://www.percona.com/blog/wp-content/uploads/2024/01/Introduction-to-Vector-Databases-200×112.jpgAn Introduction to Vector Databases.jpegImagine that winter is coming to the south of the planet, that you are going on a vacation trip to Patagonia, and you want to buy some cozy clothes. You go to that nice searcher page that says “do no evil” and write in the search field “Jackets for Patagonia weather,” not thinking of a […]Percona Database Performance Blog

The Best Nintendo Switch Docks of 2024

https://static1.makeuseofimages.com/wordpress/wp-content/uploads/2024/01/nintendo-switch-lite-in-a-dock.jpg

The Nintendo Switch is one of the easiest consoles to take on the go, but the Nintendo Switch Dock? Not so much. Thankfully, the technology involved isn’t proprietary, and there are plenty of Nintendo Switch dock alternatives that can fill a niche you need, from portability to extra features like an Ethernet port.

  • siwiqu switch dock
    SIWIQU

    SIWIQU TV Dock Station for Nintendo Switch

    Best Overall

  • HEIYING Docking Station for nintendo switch
    HEIYING

    Heiying Docking Station for Nintendo Switch

    Best Budget

  • official nintendo switch docking station viewed from the front
    Nintendo

    Nintendo Switch Dock Set

    The Official Option

  • D.Gruoiza Switch Dock with usb-a, usb-c, hdmi, ethernet ports
    D.Gruoiza

    D.Gruoiza Switch Dock

    Best Dock with Extra Ports

  • hagibis switch dock
    Hagibis

    Hagibis Switch Dock for Nintendo Switch

    Best Portable Dock

SIWIQU TV Dock Station with a nintendo switch docked
SIWIQU

Considering the color scheme and available ports, you might mistake the SIWIQU TV Dock Station as the official Nintendo Switch Dock, but it isn’t. Luckily, it’s just as good, if not better, in the right circumstances. It has a rather low profile, making it easy to find a place and equally easy to transport in a Nintendo Switch travel case. The anti-slip feet are also a welcome addition to prevent sudden, unwanted movements.

As for ports, the SIWIQU TV Dock Station has one fewer USB-A port than the original Nintendo Switch Dock, but the trade-off is that one of the ports is USB 3.0. That is a boon if you want to plug in an Ethernet adapter for faster internet speeds, or you can pay a little extra for the LAN model, which has a gigabit Ethernet port. And the best part? It’s also an excellent choice for the Nintendo Switch OLED!

SIWIQU TV Dock Station for Nintendo Switch

Best Overall

Being both low profile and portable, the SIWIQU TV Dock Station is an excellent alternative for the Nintendo Switch, with a color scheme to match, too. From short-circuit to overheating, it also comes with a myriad of protections in place.

Pros

  • Spring buffer prevents damage to the port
  • Low profile design and fairly portable
  • Short-circuit, overpower, recover, and overheating protection
  • LAN model available
Cons

  • Doesn’t include any cables

HEIYING Docking Station for nintendo switch, nintendo switch lite, nintendo switch oled
HEIYING

If you’re pressed for cash, or you’re looking for an adorable way to charge your console, the Heiying Docking Station is an easy option to recommend, especially if you have the Nintendo Switch Lite. Designed to look like a Mario mushroom or PokeBall, it totally makes sense to pair the two together.

While the Heiying Docking Station is essentially a glorified charger, it isn’t without a handful of handy features. Along the bottom, you’ll find a large, non-slip rubber ring that holds the charging dock in place. When you dock your Nintendo Switch, you’ll notice the silicone padding around the USB-C connector that the console sits comfortably against, preventing unwanted scratching.

Heiying Docking Station for Nintendo Switch

Best Budget

The Heiying Docking Station charges your Nintendo Switch with style, either atop a mushroom or a red and blue Pokeball. It’s not without features, like non-slip rubber feet and padding that protects your console from scratches.

Pros

  • Two great designs
  • Silicone padding to prevent scratching
  • Non-slip rubber ring underneath
Cons

  • Does nothing else but charge

official nintendo switch docking station
Nintendo

What better option than the official Nintendo Switch Dock itself? Sure, it may not be as portable as some other options on our list, but with it being the official dock, it comes directly from Nintendo, and that means reliability. You’re guaranteed to get a docking station that works flawlessly with the Nintendo Switch, Switch OLED, and Switch Lite.

The original Nintendo Switch Dock—because there are two models—comes with two USB 2.0 ports and one USB 3.0 port. The USB 3.0 port is hidden at the back, behind the docking station’s door. With that port having improved performance over USB 2.0, it’s the prime candidate for a USB-A to Ethernet adapter if you want to connect your switch directly to a modem.

However, the Nintendo Switch OLED Dock has an Ethernet port built right in, but one fewer USB-A port. It also sports a white finish, which is arguably better looking than the all-black. Despite being the “OLED model,” it supports all Switch models. You’ll have to supply your own AC adapter and HDMI cable, though.

Nintendo Switch Dock Set

The Official Option

$74 $90 Save $16

If your main concern is reliability, the official Nintendo Switch Dock Set is a no-brainer. It comes with everything you need to charge, display, and connect your Nintendo Switch to the big screen.

Pros

  • Includes the dock, AC adapter, and HDMI cable
  • OLED and original models work with all Nintendo Switch models
  • OLED model has an Ethernet port
Cons

  • The original Switch dock doesn’t have Ethernet
  • OLED dock does not include an HDMI cable and AC adapter

D.Gruoiza Switch Dock for nintendo switch, nintendo switch oled, and nintendo switch lite
D.Gruoiza

Most alternative Switch docks sacrifice a feature or two, but not the D.Gruoiza Switch Dock. Like the original Switch dock, you have three USB-A ports at your disposal, one of which is USB 3.0. And with access to USB-C, you can also charge your Nintendo Switch at the same time.

One feature the original Switch dock lacks is an Ethernet port, which was rectified in the later OLED model. Instead of picking up another Switch dock, you only need to purchase the D.Gruoiza Switch Dock once to have a LAN port. Altogether, the D.Gruoiza Switch Dock lets you charge your Nintendo Switch, connect directly to a modem, and switch to TV mode.

D.Gruoiza Switch Dock

Best Dock with Extra Ports

The D.Gruoiza Switch Dock combines the best aspects of the OLED and original Switch dock models, squeezed into a rather small package, such as a LAN port, HDMI, USB-A 3.0, and charging capabilities.

Pros

  • 6-in-1 Nintendo Switch docking station
  • Portable design
  • Color scheme perfectly matches the Nintendo Switch
Cons

  • 4K resolution isn’t useful on the Nintendo Switch

Hagibis Portable TV Dock Charging Docking Station connected to nintendo switch and television
Hagibis

Given its small stature, the Hagibis Switch Dock is the perfect portable option if you frequently take your Nintendo Switch on the road. Its built-in features are almost identical to the original Switch dock, just in a much slimmer package that’s also quite pleasing to the eyes.

You still retain the ability to connect to the big screen with the Hagibis Switch Dock, in addition to charging it at the same time, thanks to its 100W power delivery port. Sadly, you only get one USB-A port, as opposed to the original dock’s three. It’s a fair trade, and the USB-A port you do get is USB 3.0, which comes in handy for faster data transfer speeds.

Hagibis Switch Dock for Nintendo Switch

Best Portable Dock

With its small form factor and low weight, the Hagibis Switch Dock is the perfect solution for a portable docking station. It functions like the original Nintendo Switch Dock, with power delivery, a USB 3.0 port, and HDMI to cast the console to an external monitor or television.

Pros

  • Very small, lightweight, and easy to store
  • Has a USB 3.0 port
  • Compatible with other devices

FAQ

Q: Are all Switch docks compatible with all Switch models?

Yes. You can use any Nintendo Switch model interchangeable with all Switch docks. This is due to the fact that every model—Lite, OLED, and original—charges in the same manner via USB-C.

Q: Can two Switches use the same dock?

Yes. If you buy a second Nintendo Switch, the two consoles can share the same dock, but keep in mind only one handheld can charge at a time. This works no matter which model you purchase.

Q: Can you play the Switch on a TV without a dock?

Yes, but you’ll still need some extra equipment to make it happen. If you want to connect your Nintendo Switch to a TV without a dock, you at least need a USB-C to HDMI adapter.

Q: Are third-party Nintendo Switch docks safe?

Third-party Nintendo Switch docks are perfectly safe as long as they come from a reputable company. When choosing a third-party Nintendo Switch dock, you want to be sure that the dock will not scratch the screen and has overcharging protection.

MakeUseOf