Charles R. Bowen (@devinthewild) header
Charles R. Bowen (@devinthewild) profile picture

Senior Engineer at @teemillstore - currently building https://teapawt.net/t.co/iLbowCic9Q & https://teapawt.net/t.co/J4HZBLx4wR

Isle Of Wight
Joined February 2018
Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)Photo by Charles R. Bowen (@devinthewild)
As someone who recently came over from WSL land, Herd is an incredible breath of fresh air in a typically painful area of dev. ❤️
Laravel Herd makes me so happy every time I use it. I ran into so many headaches on Homebrew when switching PHP versions. Now it's all managed for me, with versions kept up to date, and I can globally move between versions with a single click 🥰
40
Also my go-to for quick colour prototyping! 🤙
Need a color palette, but you only have a single hex code? This page can help you create a custom color-muted scale with ease. 👉 uicolors.app
96
New Laravel Christmas present 🤩 buzzing to try this out, looks sick!
Laravel Pulse is about to be released next week 🔥
1
27
I never knew that you can pass an initial value to #laravel's reduce collection method. 😅 Until now I've been providing a default return value, in case the collection has null values... Before & After... Every day is still a school day!
24
I recently ran into some CORS errors when trying to dd in Laravel while testing out a client, consuming an API. So I thought I’d write out a brief article on a workaround I found 😁 devinthewild.com/article/dd-…
35
My absolute favourite happy place right now is headphones on, writing up notes in @obsdmd. #Obsidian ✍️🍵
50
One massive benefit of using @pestphp that I've never appreciated before. If you switch to work on a Node application - everything feels super familiar ⚡ Another notch to the dev productivity belt!
1
4
11
3,312
I’ve been accurate on maybe 10% of the estimates I’ve made over the last 6 years, of those, all were super short sprints (a few days max). As soon as it’s weeks it’s impossible. The difficulty of estimation grows exponentially with the scope of the project.
Software estimates are one of the oldest lies we tell ourselves. We all know they don't work, but pretend they mean something and later feel enraged when shit hits the fan. I focused a big part of my undergrad on software estimation. After graduating, I wrote plenty about the topic. Then, I started working for a company where I spent years researching how to make better estimates. We sold multiple millions of dollars of software using the tools I built. I read everything there's to read. I could recite Steve McConnel's "Software Estimation" book from top to bottom. Here is the most important lesson I learned: People can't estimate software. It doesn't matter who they are or how much experience they have. Estimating software reliably is science fiction. And the best part: They will ask you to estimate something. They will tell you they understand it's not exact. They will promise they won't hold you accountable. And then they will. They always do. There are two solutions for this. Let's start with my recommendations for those who don't have a choice: 1. Remove "quick," "simple," "straightforward," "easy," and every similar word from your dictionary. Never use them. Don't let others use them when referring to your work. 2. Never volunteer an estimate. Everything you say will be used against you. 3. When forced, estimate work you know you can complete today. Always estimate with a range: "It will take me 2 - 4 hours." 4. Estimate anything you won't do today in days and weeks. Say, "I should finish that feature sometime this week." Do not estimate future work in hours. But we all know your manager will force you to give an estimate. Here is what you should do: 1. Estimate how long you think it will take you to complete the task. 2. Multiply the number by 3. This will be the lower range of your estimate. 3. Double the lower range of the estimate. This will be the upper range. Example: If you think something will take you 1 day of work, say "between 3 and 6 days." Here is the funny part: It won't take you between 3 - 6 days. This is as much bullshit as any other method you can think of. The true solution for this problem: Work for a company that doesn't care about estimates.
1
69
Wondering if any @statamic pros out there can help me with an issue I'm having. 🙏 Trying to render a bard field with blade, and seeing a performance issue. What I'm seeing is essentially a shit ton of cache reads, due to what looks like augmented fields in the card content.
1
66
When I dump values of the bard content, I can see the full entry data listed inside *each* of the bard field sets. I am I doing something drastically wrong here? Or can I prevent full entries being augmented into each fieldset property? Seems odd to have it in each property!
59
A fun day for me switching my php-cs configuration to @laravelphp Pint 🍻 As always, it was a breeze.
17
Been using @PocketBard for my D&D games for ages now and it’s absolutely epic. An unexpected habit I’ve fallen into is also using it as background noise to code to 😁 Props to the team for making such a versatile product. 🤙
2
4
172
My favourite settings for chill coding vibes 🎶
20
Not sure if this is a great idea or a terrible idea... but I had to add AppServiceProvider as a content path in my Tailwind config... Can't decide if it's worth the time to figure anything better out 😅
1
11
Really cool idea and implementation! Probably the most relevant tweet I’ve seen all year on scaling Laravel in a commercial environment.
For many years, I considered all talk about scale to be irrelevant. If you throw enough money at it, any web stack can scale to handle more traffic. With an abundance of free investor money, I've always believed that startups should choose the stack that allows them to move faster and further. As focus shifted to profitability in the recent year or two, cost control has become an important concern. PHP is my favorite programming language, but it blocks execution threads and network connections (DB, HTTP, Cache, etc.). Should we abandon PHP? NO! is my answer! Why should development speed be sacrificed for cost control? Why not have it both ways? I placed a bet on PHP and added GoLang to the stack and the results exceeded my expectations. Here's a look at my current stack (for cost control): 1. All web clients talk to a load balancer. 2. The load balancer handles SSL & routes most requests to the PHP monolith. 3. Requests to endpoints that receive high traffic & perform many I/O operations are routed to a Go web server. 4. The PHP monolith & Go server dispatch tasks to the queue & read/write from/to database & cache clusters. 5. A separate Go program handles background jobs (from the queue) and periodic tasks (scheduled). What do I get from Go? - Handlers waiting for I/O operations yield to the runtime so others can run. - I can handle concurrent workloads without having to start new worker processes. Which translates to less memory consumption. - Network connections are kept alive & re-used. - Database connections are put back for reuse once the query finishes. They aren't kept hostage until a response is sent. What do I get by keeping PHP? The tooling available in the ecosystem (& Laravel in specific) is lightyears ahead. It allows developers to get things done faster by spending their time adding functionality rather than re-inventing the wheel. Should you switch to this stack? Are you struggling with compute infrastructure cost at the moment? If the answer is no, stick with PHP. It'll help you move faster, add value, onboard more customers, and hopefully get crazy traffic so you start having infrastructure cost concerns :) That's a nice problem to have, specially that solutions are available.
1
54
Great little article on Laravel container usage with a domain driven approach from @JustSteveKing⁩ I have a sudden desire to refactor. Lot of code… 👀 laravel-news.com/leaning-on-…
1
1
7
854
Couldn’t stop myself picking up the Pact Coffee advent calendar this year… A blend for each day of the month. Look how perfect she is 🤩
Been working on a classic file download feature in Laravel this week so thought I'd do a quick write up on the implementation. Pest + League + Laravel make this a breeze 💪 devinthewild.com/blog/2022-1…
Finally managed to release my site redesign ✨ Statamic + Tailwind + Forge never fails to impress with how much you can get done! If take a look, let me know your thoughts 🤙 #codevember #webdevelopment #Laravel #tailwindcss
2
I’m having second thoughts about the new iPhone…
This software turned making battle maps from something I dreaded into something I love. ❤️ If you build print or digital maps it’s a no brainer!
Dungeon Alchemist is on #SALE on Steam for a couple days right now! 20% Off! We’re now both easy AND cheap.🙂 Go grab a copy if you were still on the fence: store.steampowered.com/app/1… #indiegamedev #ttrpg @karelcrombecq @wimdehert RT’s are much appreciated! ♥️
Are there any @statamic pros out there who’ve worked with torchlight syntax highlighting before? Trying to implement it using antlers templates, but struggling to find resources on how. 🤔