m

497 posts

m banner
m

m

@martinnewman

me

The Hague, The Netherlands Katılım Temmuz 2023
73 Takip Edilen20 Takipçiler
Sabitlenmiş Tweet
m
m@martinnewman·
Fresh account to start from scratch and focus on software only 🤓
English
0
0
1
528
m
m@martinnewman·
@benjamincrozat I don't think I did.. (the mortgage part was an example btw). Good luck!
English
0
0
0
22
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
@martinnewman You make a lot of assumptions about me. 🙂 For your struggles with SEO, I'd say stay up to date and leverage reliable sources (Google, their employees, and SEO blogs that quote those two sources). At least, that's how I do it. There's a lot of misinformation out there.
English
1
0
0
37
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
The greatest thing with SEO is this: I don't have to ask myself how the hell I'll get traffic tomorrow. ✅ And since I've written about what ranks on Google, it's growing on semi-autopilot. Basically the same thing as when you invest your money correctly. 👌
English
2
0
11
1.1K
m
m@martinnewman·
Problem is you don't always know what Google thinks is stupid.. And what it tomorrow thinks is stupid. Sure, it will helps not doing stupid things like black hat SEO, but even over optimizing on keywords, topic selection based to semrush/shrefs trafic estimations can lead to lower rankings when done to much. Also writing content for the sake of adrevenue is not as stable as it was since the "helpful content" updates that have rages the rankings last 2 years. I did my fair share of "niche" content sites to know it can go up and down very fast. Admin it, not every content was very good, but it was not that bad for complete de-ranking. I think you do a good job. You have authority, don't write like a robot and I don't think you use AI. But even 1 or 2 competitors rivaling on your keywords can make your life a real hell if your mortage depends on your Google traffic.. So yes SEO is cool, but don't rely on it. You don't own the trafic. Stay relevant, stay unique, stay trustworthy, and you do right a lot already. Keep your Twitter traffic afloat and try other sources like facebook, reddit etc. Become a brand. Make people searching for you as wel. Again, I think you do pretty good, but don't sleep in it. Nothing is free, neither Google trafic.
English
2
0
0
25
m
m@martinnewman·
@benjamincrozat i had to run php artisan route:clear ......
English
0
0
0
107
Benjamin Crozat
Benjamin Crozat@benjamincrozat·
For anyone having a 404 after installing Laravel Pulse, here's a potential solution: You may have a wildcard highjacking the `pulse` route. The fix is simple, but good luck writing that by yourself. Thank you Copilot! (More details below.)
Benjamin Crozat tweet media
English
10
12
138
18.2K
Buitengebieden
Buitengebieden@buitengebieden·
What’s the dog thinking about?
English
6.7K
14.1K
143.2K
30.9M
m
m@martinnewman·
@TheJackForge Japan is still in the 80s. Love the vibe. As I am from the 80s.
English
0
0
1
78
m
m@martinnewman·
@mateusjatenee I have to admit I struggle with this a lot… I don’t like to leak the database into my domain. But when you have methods like this, you are still hiding the data and only exposing behavior.
English
0
0
0
32
m
m@martinnewman·
@mateusjatenee Encapsulating behavior and data. That is how it should be. You will find many enemies my friend, but know I’m with you.
English
1
0
1
79
Mateus Guimarães
Mateus Guimarães@mateusjatenee·
I'm finding it very pleasant to use Eloquent this way. I get all the benefits of Active Record, and also some things I enjoy in repository-based approaches. These methods don't persist anything. They build the full object graph, and everything is saved in one go. 🔥
Mateus Guimarães tweet mediaMateus Guimarães tweet media
English
5
6
65
11.2K
m
m@martinnewman·
@_newtonjob I prefer to never redirect outside the controller/middleware layer.. Always a pain the find the direct when it is deploy buried in your domain…
English
1
0
1
142
Newton Job
Newton Job@_newtonjob·
#Laravel folks, let me show you 4 clean ways to send a redirect response or even any kind of response from anywhere within your app, that is not typical like a middleware or controller; Which do you prefer? 👇
Newton Job tweet media
English
4
7
32
4.4K
m
m@martinnewman·
Better safe then sorry😅 Organizing my book.. don’t know what went wrong here 😁
m tweet media
English
0
0
0
88
m
m@martinnewman·
@benjamincrozat Thank you… I thought it was my custom setup and gave up pretty quick 😅.. Will try again today
English
0
0
0
300
m
m@martinnewman·
@acquisizioni Okinawa airport. Fresh as wel. Estimating in Dutch market prices: a few hundred bucks there.. And this was one of many…
m tweet media
English
1
0
1
354
Pat Carino (d/b/a Acquisizioni)
Pat Carino (d/b/a Acquisizioni)@acquisizioni·
The concierge at this multi building just told me they get new orchids once a week. I know it’s not a lot of $ across 100s of units but I just can’t imagine have “fresh flowers” as a recurring expense line item …
Pat Carino (d/b/a Acquisizioni) tweet media
English
27
3
56
62.5K
m
m@martinnewman·
@seb_sebsn My daughter approves, so yes! Thank you for spoiling her 😅
English
0
0
1
49
Sebastian Schlein
Sebastian Schlein@seb_sebsn·
Dear people of the Netherlands, Is this allowed?
Sebastian Schlein tweet media
English
17
0
20
8K
m
m@martinnewman·
@aarondfrancis So than it is not that deep in the stack? If it does not hit the controller... A middleware would be my second candidate... We need more context, but I think you know what you are doing :)
English
0
0
1
84
Aaron Francis
Aaron Francis@aarondfrancis·
@martinnewman Unfortunately in this case, the redirect is required at step before it ever hits the controller.
English
1
0
0
130
Aaron Francis
Aaron Francis@aarondfrancis·
I was recording a Laravel video the other night and needed a way to redirect the request from deep within the HTTP stack. I couldn't figure out a built-in way to do it, so I created an exception that renders itself as a redirect! Good idea / bad idea / great idea?
Aaron Francis tweet media
English
34
7
101
59.5K
m
m@martinnewman·
@loudncleario @aarondfrancis I read deep into the http stack, as in deep into the business domain... So yeah... it might not left the http layer.. But still.... Reads as a design issue... Lets wait for the video ;)
English
0
0
1
53
Loud n Clear
Loud n Clear@loudncleario·
@martinnewman @aarondfrancis I believe this solves the generic purpose of redirect, for a specific domain you can extend from the redirect exception.
English
1
0
1
27
m
m@martinnewman·
I think I would prefer to throw a dedicated "domain" exception with a good name. Than catch that exception in your controller(http layer) and do a redirect there. What if your "deep domain" code is used in a console? You can than handle the exception differently. In your domain unit tests you can just test that an exception is thrown with $ this->expectException() under the right circumstances.
English
3
0
1
257
m
m@martinnewman·
I would also not let the request leak into my domain. As I read your Post, this feature is more that a simple CRUD where you update an Eloquent record... If you need data from the request, you might consider a DataTransferObject, of if the parameters are just a few, pass them to the domain as method parameters.. I would advise to keep http in the http layer: Controllers, Middleware, Requests, Responses. You never know how you gonna use your business later: command line, other modules that need to use the functionality..
English
0
0
0
40
m
m@martinnewman·
@mattstauffer Heavily invested in chocolate milk for the coming weeks 😎
m tweet media
English
1
0
1
86
Matt Stauffer
Matt Stauffer@mattstauffer·
I don’t know about y’all but one of the joys of my adult life is being overstocked on things I used to run out of. Soap. Toilet paper. Shampoo. Dish soap. Paper towels. Vitamins. Olive oil. Flour. Everything!
Matt Stauffer tweet media
English
21
2
71
13.6K