I have a fully 2.5Gb run between the Linux NAS and the Windows PC. iperf3 between the two shows 2.33Gbps. When copying files using NFS or SMB, they instantly hit 110 MB/s and stay there, while FTP and SCP transfers sustain 270-280 MB/s. I also ran CrystalDiskMark benchmark on the network drive and i...
The chain is as follows Windows PC with onboard 2.5gbe LAN connected to TrendNet TEG-S5061 switch via RJ45. LED lights on motherboard and switch indicate 2.5Gbe link. Switch is then connected to ScreenBeam ECB7250K02 MOCA 2.5 adapter, connected through coax to Xfinity modem/router combo. Moca 2.5 en...
I just created a fresh dev environment with Sail on a new machine (Arch Linux), following the instructions under Getting Started. When I run php or artisan commands with sail, it works fine, but when I run sail psql or sail tinker, the shell comes up but entering any command results in an indefinite...
I've been troubleshooting this one for a couple hours now and I'm really at a loss. I have a UI scene with a tree like this: Node2D --- CanvasLayer ------ Label --- CanvasLayer ------ Popup --------- Sprite --------- Button No matter what I try I can't click that button. I can focus it and press it...
If a User "has" a tag, that indiciates the user is following or subscribed to that tag. So we want to show all posts that are in the User's subscribed categories ("tags"). The first way I came up with was to load all the user's tags with their posts, then iterate through and push them into a Collect...
For example: your app manages and organizes a media library of movies and TV. Think Plex or Kodi. In the database you have people, movies, and a person_movie pivot table that describes a given person's role on a given movie (actor, director, writer, etc). So in Eloquent you have a Person model and a...
So I just set up my latest project with a resource controller and started to write some tests for it. Let's say it's a PostController with the usual CRUD ops and I wrote a test for the PostController@store method something like this: <?php class StoreTest extends TestCase { / Tests the PostControlle...
For example, I am writing an API that strives to be compliant with the JSON:API spec. One of the requirements is that if a request has a query parameter that the given endpoint does not support, the api must respond with 400 Bad Request. So currently in my controllers I'm simply maintaining an array...
I have two Models, a Track model and an Artist model, where each Track model belongsTo() one Artist model. Track models have a 'number' column and Artist models have a 'name' column. I want to retrieve all Tracks where number = 1 and then display those sorted by their Artist's name. So far I have on...
Normally I can bindsym XF86PowerOff but the power button on my Thinkpad t440p doesn't send anything according to xev. Edit: Turns out it just doesn't send the event until the button is held for about a second. Kind of annoying but oh well.