Nathan Heffley's Avatar

Nathan Heffley

@nathanheffley.com

Probably programming something silly with Laravel or doing actual work with Elasticsearch.

41
Followers
58
Following
61
Posts
14.07.2023
Joined
Posts Following

Latest posts by Nathan Heffley @nathanheffley.com

Talon Talon enables you to write code, play games, and control your computer with voice, eye tracking, or noises.

I dealt with this real bad for almost two years about a year and a half back. Used talonvoice.com aggressively and have recovered pretty well, not 100% but I haven't had to use the voice controls to feel okay for a while.

07.04.2025 22:33 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

If you started the project recently it would likely have created a SQLite database file for you when running the migration, although I suspect Copilot wasn't thinking about that even if it would've worked ๐Ÿ˜‚

06.04.2025 16:06 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I've used both even in the same project. Terraform to manage the servers, Ansible to manage the application.

05.04.2025 18:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I imagine they'll do new account promos, use it for credit, stuff like that. That tends to be the use case for such a system. I wouldn't expect to get enough of a discount there to make it financially viable if it's not already viable for you.

20.03.2025 16:51 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Are you talking about the invoice page that will show a couple of things, including discounts?

I don't think there are any public discounts at the moment.

20.03.2025 11:48 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

What kind of experience are you trying to create? Breeze is one you install but it boils down to placing stubs into your resource and app directories, and wouldn't be too hard to copy/tweak.

Most alternative starter kits I've seen are GitHub templates that you copy.

04.02.2025 18:10 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I just tried to set this up last night but following the Inertia docs didn't get me a working setup, and I couldn't find an article talking about it. Any tips for actually getting this stack up and running? ๐Ÿ˜…

15.12.2024 21:01 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I'm not sure how if it's not installed, but I thought it checks APP_DEBUG, not APP_ENV

14.12.2024 19:21 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Laravel VS Code extension ships Monday in public beta. โœจ

13.12.2024 17:17 ๐Ÿ‘ 258 ๐Ÿ” 37 ๐Ÿ’ฌ 26 ๐Ÿ“Œ 16

Have you played around with ingesting data from the firehose? I'd build two things, something extremely performant for handling the ingest, and then I could see Laravel being used on the user facing side when someone wants to load their feed.

I don't think using PHP for ingestion would be the best.

11.12.2024 01:15 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I assume they mean a feed generator that lets you create a feed people can subscribe to such as the Discover feed.

It's unfortunately not trivial. You have to ingest every event that happens and filter down to just what you want.

11.12.2024 01:13 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Good luck ๐Ÿซก๐Ÿ˜‚

06.12.2024 23:09 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Coding one isn't even the hardest part. Just ingesting the amount of activity that comes through the firehose is hard, and that's not even taking into account requests to load the feed which ping constantly for everyone that's viewing it.

I was messing with it and almost needed Kafka for the demo ๐Ÿ’€

06.12.2024 17:10 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

Then you're in luck! It sounds like they're going to replace the starter kit packages with GitHub repos you can clone (like how laravel/laravel is today)
bsky.app/profile/tayl...

06.12.2024 05:54 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

The Breeze starter kit has a TypeScript option. I thought Jetstream did as well but I guess it doesn't.

05.12.2024 21:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

For sure, although Herd can also manage many of those services as well now ๐Ÿ™‚ Just depends if I feel like spinning up/down Docker for a project or if it'd be nice to just have it running natively when I need to work on it.

05.12.2024 18:30 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I like Docker for projects with multiple devs or if the deployment target will be containers, but for a lot of stuff I'm the only one working on it, and it's going to be deployed on a basic server, so running it locally with Herd is pretty close to the real environment and makes it easy to manage.

05.12.2024 15:48 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

This does look pretty slick, thanks for sharing!

05.12.2024 15:06 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

More open to introducing a vulnerability, for sure. If you validate and only use validated request values then you won't be vulnerable.

If you like to pass `$request->all()` to your models, then definitely don't do this ๐Ÿ˜…

That being said, I like to use fillable and strict validation lol

04.12.2024 13:34 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Does Deno have a framework comparable to Rails/Laravel?

04.12.2024 13:26 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

project-name.test (w/ SSL thanks to Herd) โœจ

02.12.2024 19:16 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Breeze is lightweight auth + basic account settings. Jetstream has more advanced account settings and also a team option (although it's not my fave implementation).

If you're asking because you're learning Laravel, use Breeze ๐Ÿ™‚

01.12.2024 15:11 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Just saw this in the recent Laravel update video, nice!

01.12.2024 14:59 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Yeah, that's what I mean. You can't use it without paying for it, right? Wouldn't make much sense to let it be put into a public repo.

30.11.2024 23:04 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Isn't Flux a proprietary library?

30.11.2024 22:47 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Preview
PHP: Hypertext Preprocessor PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

Oh wow, I've never seen that before. www.php.net/manual/en/fu...

I'll have to test this out and see what differs from `Class::staticFunction` which I don't use ever but is what I would've assumed does what the first class callable seems to do.

30.11.2024 04:31 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

* function name, not functional.

That being said, you could totally call a static function if you wanted to.

30.11.2024 01:46 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

of controller functions not being static is that you can have a constructor in your controller that can automatically resolve dependencies bound in the container, like services that require a lot of setup or config values, etc.

Passing the controller and functional name allows for all of that.

30.11.2024 01:44 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

Controller functions don't have to be static. The default functions when you generate a controller using Artisan are not static.

If you called static functions, you couldn't have route model bindings and dependency injection. You could pass a reference to the controller function, but the benefit...

30.11.2024 01:42 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I could see the argument that they are two separate notifications and thus shouldn't be located in the same Notification class, but my personal philosophy is to use things like custom helpers as infrequently as possible because new users (or future self who's forgotten) have to relearn how it works.

29.11.2024 18:00 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0