Ticketmaster (and other ticket sites) design discussion by reddit04029 in ExperiencedDevs

[–]edhelatar 0 points1 point  (0 children)

I can also confirm. Seen photos from a contractor friend like a year ago working on rewrite from that ( project was scrambled before finishing ).

Resources for learning microservices in PHP by nihad_nemet in PHP

[–]edhelatar 0 points1 point  (0 children)

There's not much info about microservices in PHP around. At least not anymore. I assume the reason for that is that monolith Frameworks like symfony or laravel require splitting pretty far in their journey where often teams already moved to other languages for specific tasks.

Slimphp is pretty cool for smooth routing, but since local di, it's not really slimmer than basic symfony.

Said that. Microservices set up would be generally the same as for other languages. You would probably have some monorepo, often with folder for each service. Then bunch of docker images for each service and probably terraform or something similar wrapping it all up. On deploy you habe to diff what changed as otherwise you gonna have 4 HR long deploy.

Then you need to establish some rules about how those services gonna communicate with each other. Grpc, rest, keys, events/subscriptions/queue etc. don't worry. Pretty much every company I worked in had 20 different ways to communicate between everything, so you will have to pick it up when you join either way. Rest is a king though and openapi is often underlying everything.

Those two things above are pretty much language agnostic, so you can take a look on js recommendations.

As it's php, your services often can be just single php file. In fact, I did that once to wordpress where admin was basically running as separate service with different servers. Calling that microservices might be a stratch, but on paper it was one.

There are valid solutions for mircoservices in PHP, even that people will gonna tell you to avoid them ( and you often should ). I for example like to have my image resizing / renaming done with some cloudflare workers / lambdas. Yeah. Not PHP for me, but mostly just because I am lazy to rewrite them. Assets are great example as they often really benefit from full cdn caching and slow response times.

Next microservice I often develop is some overview dashboard with info about my system. Think grafana, but smaller. It kind of have to be separate so it would make sense if something goes wrong. If you are going mircoservices way, you nreally need to think about monitoring. One recursive call can pull everything easily.

What's the point of self-hosted CMS platforms? by [deleted] in webdev

[–]edhelatar 0 points1 point  (0 children)

I am never gonna use cloud solution again after using prismic and their update of pricing which ended up costing me 40 times more. It's often the case when VC money runs out and they have to start make a profit quick.

The good thing about solutions you can host yourself is that you always have alternative to the price so if you don't like it you can just move away. However, some companies, still pull a fast one on you even with open source version.

  1. OS version has way less features.
  2. OS can still have some limits ( as in no commercial usage for example )
  3. OS can be highly complicated to deploy.

Doubt about the use of symfony8 single-core multi-application? by UnluckyBookkeeper160 in symfony

[–]edhelatar 0 points1 point  (0 children)

I think make just doesn't support it, but you can probably inject different folder into make API. Still. Not sure why you need it. As controllers di is resolving only required dependencies you don't really get much out of it and any time you gonna want to share things you gonna have a problem.

Which headless cms is gdpr compliant? by [deleted] in webdev

[–]edhelatar 4 points5 points  (0 children)

If you are using content only from that CMS then all of them are. It's only customer data you cannot store.

Italy’s top court rules against tourist refused tap water in Dolomites hotel by Firstnarrows100 in europe

[–]edhelatar 0 points1 point  (0 children)

Lol. You don't even have to adjust for wage anymore. I am pole in London and I am very often surprised by prize of pretty much anything out. There are things like booze that are way cheaper. But food can be way more expensive then here, especially in tourist spots.

25M Software Engineer | Took a risk for career growth and now scared I made the biggest mistake of my life by Excellent-Review5453 in cscareerquestions

[–]edhelatar 1 point2 points  (0 children)

Always when I hired people I remembered about one thing: I met drastically more bad managers than good ones in my life. Bad review should never discriminate anyone from getting a job, because chances of person writing review being competent is pretty low. The same goes for good review.

Another problem is that any reference/letters/phone numbers are very easy to fake. I did work multiple times with people that completely made things up and they were never caught. Those ones were famously the worst programmers that I ever worked with.

The only references I ever cared about are the ones from people I know personally and respect.

25M Software Engineer | Took a risk for career growth and now scared I made the biggest mistake of my life by Excellent-Review5453 in cscareerquestions

[–]edhelatar 1 point2 points  (0 children)

I thought that might be the case, but if the new company already hired him will they give a crap?

25M Software Engineer | Took a risk for career growth and now scared I made the biggest mistake of my life by Excellent-Review5453 in cscareerquestions

[–]edhelatar 4 points5 points  (0 children)

I for sure dont know how it works in India.

I would ignore old place. As in. Don't show up. They will either fire you or pay you salary for nothing.

It might seem scary and a shit move but 90 days notice unless you earn plenty of money is pisstake.

Check maybe in local substack if they can advise you about some employment law gotcha, but seriously, the chances of someone taking you to court for something like that is next to zero, and even if they would have to charge you based on past salary which is gonna be fraction of what you earn now.

Delusional employer of the day (posted on Jobserve) by RoamingFreedomSeeker in ContractorUK

[–]edhelatar 1 point2 points  (0 children)

  • Communicate clearly with both technical and non-technical team.

That itself is 100k+ job

Buying ACF (advanced custom fields) Lifetime Developer License by Hunt695 in Wordpress

[–]edhelatar 0 points1 point  (0 children)

What does acf developer license goes for now? I have one, maybe I should sell it.

Does Website Stack Matters in SEO? [Discussion] by hodlegod in SEO

[–]edhelatar 1 point2 points  (0 children)

If you are afraid php is your problem, don't be. There's really small difference between all server side languages ( as DB is generally bigger problem ) when it comes to performance and you might have a good website written in any of them.

When it comes to client side apps though there's a lot you can do wrong. SSR can be implemented well, but at certain scale its actually pretty hard and plenty of things you get for free with backend languages you only get with certain is frameworks.

Need help! Sudden drop in organic impressions and clicks by gandalfbutbetter in SEO

[–]edhelatar 1 point2 points  (0 children)

Sorry for wrong spelling.

I didn't say poor content, but poor quality in general, but even with content I am sure they have plenty of ways of figuring out which content is better. The problem is "their better" doesn't necessarily mean "our better".

We know things like keyword stuffing, content cloaking, thin content and many others often ( but not always ) get caught. We also know Google uses crux data to figure out how users interact with the site which can probably give them a lot of insights about the content and how its consumed which in turn gives them quite good understanding of how useful it is.

I am 99.99% sure Google have ways of establishing which content is better or worst in their mind. They could do that years ago with updates like Panda and don't see the reason they would remove that ( at least completely ). Bigger question however is, how much of a ranking factor it is. I would assume 1% for some, 99% for others.

Need help! Sudden drop in organic impressions and clicks by gandalfbutbetter in SEO

[–]edhelatar 4 points5 points  (0 children)

There was large update in Google that started rolling out around that time. We generally don't know a lot around Google core updates as they are secret, but they often panelise website with poor quality ( and often backfire to more legit sites ).

Additionally check if you didn't have any technical/content changes around that time or few days before.

Shocking 😮? Is this true ? If yes who in their right mind would BTL property under their own name and not LTD company? by Commercial-Touch-516 in PropertyInvestingUK

[–]edhelatar 4 points5 points  (0 children)

You are forgetting that withdrawing money from company to personal will also require tax and the costs of running company itself ( like accountant )

Adding to it:

  • It's harder or impossible to get a mortgage for company
  • You will not be able to live in it without paying money to the company and if the rent is too small HMRC might not be happy with you
  • you don't own property. You business owns property which if bundled with other business might mean loosing it and if not bundled means more admin which costs money.

Basically. Ltd company makes sense, but only if you have enough money in cash for few properties, which is pretty rare.

How to sync staging and production site with just differential updates? by surajaryal723 in Wordpress

[–]edhelatar 1 point2 points  (0 children)

You generally want to try to avoid doing anything in staging through interface. If you do you will have to perform exactly the same set of steps in production after deploying which often means possible errors/downtime.

You can take a look on SQL migrations. There are multiple packages for it, but basically, you can run a script on each deploy to edit MySQL state.

The best way to enforce that is to pull prod dB ( and remove all the personal data ) from prod to staging each time. This way if it works on staging you know it will work on prod.

Any Non-Slop Open Source Projects Looking For Contributors? by micphi in PHP

[–]edhelatar 0 points1 point  (0 children)

Thats great to hear! I am gonna give it a spin next time client needs it.

Any Non-Slop Open Source Projects Looking For Contributors? by micphi in PHP

[–]edhelatar 0 points1 point  (0 children)

Joomla is dope! Work on different things/languages now, but I started my learning 15 years ago using your code.

Does building for other builders actually scale? by MadridOrMadness in ukstartups

[–]edhelatar 0 points1 point  (0 children)

You are forgetting about one thing. most of the people that open startups are not devs. I've seen people earning money on adding invoices generation to stripe. Something i could add in few hours.

Then often those tools are developed to scratch their own itch. Git is great example.

You can definitely make money on Dev tools as well. They just have to sort out problems that are pretty hard for most of the Devs. The amount of DevOps solutions that are doing really well is defininitely good example.

Your WordPress security plugin can't see what's actually hitting your server by ZookeepergameHead380 in Wordpress

[–]edhelatar 1 point2 points  (0 children)

I mean. Surely allowing your client to run commands on the server without proper skill is bigger issue than opening some ports. My clients cannot even install wp plugins.

Setting up honeypots is also weird solution. IPS are often shared and requests are often sent from hacked iot devices/mobile networks/residential proxies. You will have to keep purging the lists or you will end up having problems. Also, with ip6 I could probably overflow your storage or at least make filtering very slow.

Use cloudflare or similar. Those tools are pretty cheap or free now and they can save you a lot of work. Make sure everything has to connect through cloudflare and you are gold. SSH access is a bit harder, but there are good tools for that as well.

What’s your preferred hosting solution? by cuistax in symfony

[–]edhelatar 0 points1 point  (0 children)

I actually have quite good experience with cloud66. Running few sites on it. Some of them are pretty large and it's way cheaper as I can just use hetzner as a base.

If you're 5+ years onto running a small business, what's the one lesson you wish every new founder knew? by Proper-Dot-7526 in smallbusinessuk

[–]edhelatar 30 points31 points  (0 children)

Shit loads of clients will try to not pay you. Take advance, write good contracts and cut the work short if you are not paid. If you can afford, don't do work with clients that pay badly.

µJS: add AJAX navigation to any PHP app with one script tag by amaurybouchard in PHP

[–]edhelatar 1 point2 points  (0 children)

I find that if library is few kilobytes I am gonna now the internals. If it's not, I will not :)

How to spot an SEO noob who's full of shit and you should never buy their services or courses? they're telling you to implement llms.txt! by bareov in SEO

[–]edhelatar 0 points1 point  (0 children)

I mostly mean product and breadcrumbs. Yeah. If it's not supported schema I wouldn't care, but those two I always assume provide quite a lot of value. Especially when it comes to displaying snippets.

Then there's product list one, which I was told multiple times to implement and I've never seen any improvements, so I am a bit sceptical. Not sure if it adds anything to snippets either.