David Mathews (@coachdmathews) header
David Mathews (@coachdmathews) profile picture

Wrestling Coach and Programmer at USA Wrestling

Douglasville, Ga
Joined July 2012
Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)Photo by David Mathews (@coachdmathews)
Iowa USA Wrestling would like to thank Steve Mickelson for his outstanding commitment and service to our wrestling community! We wish Steve well in his new position with USA Wrestling. Steve will be moving to Colorado Springs in the coming months. #iowausawrestling
1
5
14
1,571
David Mathews retweeted
USA Bracketing Tip: If the dashboard feels daunting with 30 mats, follow just your favorite wrestlers by adding them individually or as team MN. ➡️ Customize the dashboard by filtering to "MY WRESTLERS" ➡️ Choose between a Normal display or condensed #mnusawrestling #mnstorm
4
11
655
David Mathews retweeted
We are proud to remain a leader in wrestling safety and innovation, now becoming the FIRST state to fully adopt USA Bracketing for wrestling event management! 🙌 #wiaawr
Starting next season, we're partnering with @USAWrestling to use USA Bracketing for all regional, sectional & State wrestling events! Their software will manage brackets, results & weight management at NO extra cost for school-hosted events. 🤼‍♂️ #wiaawr wiaawi.org/News/News-Article…
2
2
2,607
David Mathews retweeted
🔥 Most applications need to export and import large amounts of data. It is very easy to: - Waste lots of memory - Perform hundreds or thousands of unnecessary DB queries You can avoid them by learning some pretty simple techniques. 🧵 Keep Reading
3
33
1
270
23,056
Tailwind Play is a *great* place to teach new @tailwindcss v4 capabilities 🔥 Switching between v3 and v4 for the same code snippet lets you quickly illustrate what changed — and what those changes enable you to do ✨
4
6
109
9,176
✨ New screencast series up on the Livewire site This one's all about using that sorting plugin I dropped yesterday in a Laravel/Livewire app. We cover all the fun JS & database stuff and tons of little nuggets along the way dig it
8
23
193
16,481
If you are a wrestler who plays chess here is a club I created, feel free to join and I wil setup arena tournaments and such for us. chess.com/club/usa-wrestling…
1
173
Today, we break ground on the "Data Tables" screencast series. Here's my quick outline this morning - let me know if I'm missing anything!
14
12
1
145
10,955
David Mathews retweeted
Using @LaravelLivewire v3.0.8 or above? This gives you access to the wire:confirm directive💡 Quickly add a confirmation dialog to any of your actions.
4
5
60
8,832
Introducing Laravel Pulse. 💓 Pulse delivers at-a-glance insights into your production application's performance and usage. Track down slow jobs and endpoints, find your most active users, and more. Next week on GitHub. A gift from Laravel to you. pulse.laravel.com
128
467
96
3,029
240,888
✨Laravel Tip to display images 🖼️✨ 🌊 Stream Images instead of a direct storage link 🗝️ Add additional conditions to control access to images to display 🤩 Show images even from a non-public folder 🔒 You can even apply middleware to your display link #buildinpublic
1
27
1
96
10,250
⚡️ Database Tip Sometimes you want to get e.g. the last three orders for *every* customer. Regular joins can't do that. You have to execute n+1 queries in code, which is slow! But with lateral joins, you can do a for-each loop join in SQL sqlfordevs.com/for-each-loop…
8
61
3
485
53,943
You can now simulate real-world traffic on your local machine to performance test your APIs. And it’s available on Postman’s free plan. Here’s how (in 4 simple steps):
14
179
2
1,006
182,585
Will be free and open source. 😇
40
92
6
1,300
138,734
⚡️Speed up a #Laravel app by caching the entire response. You can use Spatie's ResponseCache package or create a middleware to store the response in the cache:
5
45
2
254
19,868
Amazon found that every 100 milliseconds of latency cost them 1% in sales. Google found an extra .5 seconds in search page generation time dropping the traffic by 20%. These are staggering implications. If there’s just one thing you can optimize your system for, I’d recommend trying to go for low-latency. Therefore, I compiled a list of 8 must-know strategies for low latency that can literally save your business from disaster. (don't forget to bookmark) ✅ Caching - Use caching to store frequently accessed data - The goal of caching is to minimize costly database lookups and heavy computations ✅ CDN - Take caching further by using a CDN. - CDNs can help cache content closer to the users - This reduces latency. ✅ Pre-caching and Pre-rendering - Use predictive techniques to pre-cache and pre-render pages - Since the pages are already rendered, you can serve the incoming requests much faster ✅ Database Indexing - Databases are a huge reason for high latency. - Ensure databases are well-indexed so queries can run faster - Also, optimize queries by analyzing and refactoring slow database queries ✅ Load Balancing - Distribute incoming traffic evenly across multiple servers with load balancers - This prevents any single server from becoming a bottleneck ✅ Async Processing - Implement async processing wherever applicable for long-running tasks. - This lets your system respond quickly to the user while performing further processing in the background. ✅ Compression - Compress data before sending it over the network. - This decreases transfer time and reduces the overall latency. ✅ Keep-Alive Connections - Reuse TCP connections wherever possible. - This helps avoid the overhead of re-establishing connections for new requests - Also, maintain a pool of established connections === That's all for now! If you enjoyed this post: - Destroy the LIKE button - REPOST to spread the word - BOOKMARK to revisit the post whenever needed - Follow me for more posts like this.
30
141
7
828
198,056
Designers and developers, you need to bookmark these websites! Fonts → uncut.wtf Colors → happyhues.co Cool symbols → glyphy.io Illustration → blush.design Inspiration → nicelydone.club
10
234
2
1,276
188,170
#Laravel Tip: Limit the number of requests a user can make in a given amount of time and prevent your APIs from abuse.
1
26
122
7,949
David Mathews retweeted
🌶️ #Laravel tip: Carbon offers the shiftTimezone() method that you can effectively use when filtering your data based on dates. The shiftTimezone() lets you assume the Carbon date in a specific Timezone. When building a Date Filter this comes handy!
2
10
46
5,625