HNHacker News
TopNewBestAskShowJobs

danielpetrica

42 karma · joined September 9, 2018

Software Developer

Visit my personal site at https://danielpetrica.com

Talk to me on mastodon at https://infosec.exchange/@danielpetrica

Building https://laraplugins.io/

submissionscomments
danielpetrica··on [dead]
The squad got dormant for 3 months but now is active again. Lets get posting again everyone.
danielpetrica··on Ask HN: What Are You Working On? (July 2026)
I am building https://laraplugins.io and trying to create a tool usefull for developers and agents.
danielpetrica··on .self: A new top-level domain designed to support self-hosting
Sounds like a unified directory of domain with lower security that attackers can target to me. not sure the domain for self hosting is such a great idea.
danielpetrica··on [dead]
The short version: Someone exploited an outdated Livewire version on a dormant side project of mine. They stole my .env file, used the Mailcoach API keys to send 50,000 spam emails, and I spent a panicked night tearing through every project I own trying to find the source.
danielpetrica··on Should I run plain Docker Compose in production in 2026?
I run it for my apps with traefik in front and is awesome. you can easily add services, DBs, backups and more and using the bin mounts you can migrate in painless way.
danielpetrica··on [dead]
At the end of November, I shared a questionnaire to discover what the community thinks about the state of Laravel packages today.

I wanted to focus on the real-world pain points developers face.

To ensure I got busy developers to respond, I kept it short, under 3 minutes on average.

Without an established audience, I managed to reach around 200 responses.

This article illustrates what the community had to say.

danielpetrica··on [dead]
If you are building high-performance Laravel applications, you are likely already exploring the limits of what's possible with FrankenPHP and Laravel Octane. In my previous work designing a production-ready Laravel architecture with Traefik and FrankenPHP, I promoted this stack for its simplicity and raw power.

However, bleeding-edge tech often comes with bleeding-edge problems. Recently, I lost three hours debugging an issue that should have been obvious: The FrankenPHP binary installed by Laravel Octane is version-locked.

In my case, it was locked to PHP 8.4, despite my system running the latest stable PHP 8.5. If you are trying to upgrade your stack or build a high-performance directory like I did for LaraPlugins.io, you need your environment to match your expectations.

Here is how to force FrankenPHP to use PHP 8.5 and stop chasing ghost bugs.

danielpetrica··on The URL shortener that makes your links look as suspicious as possible
As someone who built a standard shortener (coz.jp), this is hilarious. I spent so much time trying to make links look trustworthy; doing the exact opposite is a surprisingly fun concept.
danielpetrica··on Show HN: TierWise – PPP pricing widget for SaaS (Built in 7 days)
Nice project, I love the laravel stack. but why did you use the laravel 11 version if i may ask?
danielpetrica··on Show HN: Hackernewsd v3 – Automate monitoring topics on Hacker News and Lobsters
upvote for the laravel topic
danielpetrica··on [dead]
Launching Laraplugins.io

Hello artisans!

I'm excited to launch Laraplugins.io, a Laravel-built directory that helps you discover healthy, maintained plugins faster.

The platform features automated health scores for each plugin, so you can quickly assess quality and make confident decisions without spending hours researching. Check it out the launching page here

danielpetrica··on Show HN: I built a health score for 1,800 Laravel packages
Also I should also mention that the site also expose this health data as Readme embeds for developers to use in their projects
danielpetrica··on Open Source as a Way of Giving Back: The Artisan of the Day Is Daniel Petrica
Honored to be featured by Laravel as artisan of the day
danielpetrica··on Ask HN: Loocking for advice new product: Fast link shortener
I’ve built COZ.JP, and I’m now looking to promote it. However, I’ll admit, I’m not great at marketing or promoting. Could you please share some advice on how to effectively market my product? Any tips, personal experiences, or even harsh realities I should prepare for would be incredibly helpful! Thank you in advance for your help.
danielpetrica··on Ask HN: Loocking for advice new product: Fast link shortener
Thank you for any advice you may share with me
danielpetrica··on [dead]
Between Japanese lessons and a lot of coffee, I'm happy to launch API beta support for Coz.jp! To make automation easy, I've also built an n8n node and a Laravel plugin.
danielpetrica··on AWS multiple services outage in us-east-1
I'm speacking of the self hosted version you can install on your own vps not the managwment version. I don't like using managed services if possible.
danielpetrica··on AWS multiple services outage in us-east-1
In this moments I think devs should invest in vendor independence if they can. While I'm not to that stage yet (cloudlfare dependence) using open technologies like docker (or Kubernetes), Traefik instead of managed services can help in this disaster situations by switching to a different provider in a faster way than having to rebuild from zero. as a disclosure I'm not still to that point on my infrastructure But I'm trying to slowly define one for my self
danielpetrica··on [dead]
Really enjoyed putting this system together — Laravel with FrankenPHP and Traefik makes a huge difference in real-world performance and maintainability. The full architecture and Docker setup are detailed here if you’d like to dive deeper
danielpetrica··on [dead]
I kept burning time manually recreating calendar blocks for routines like workouts and focus sessions, so I built a client-side solution to automate it. Key features: Generates complex recurring schedules directly in the browser Exports .ics files (tested with Google/Outlook/Apple) Shows time commitment upfront and handles exclusions (holidays/vacations) Zero dependencies beyond Vue 3 + vanilla JS Fully client-side – no data hits server! Tech stack is minimal: Vue 3 + Tailwind (with dark mode). No backend by design to guarantee privacy.

If you want to try dierectly without reading the post: https://danielpetrica.com/periodic-schedule-calendar-generat...

Would genuinely appreciate feedback on:

Edge cases with recurrence patterns (any weird schedules you’ve struggled with?) How it handles .ics exports for your calendar Whether you’d use this for work routines, fitness planning, etc.

danielpetrica··on Ask HN: Why is there no good travel organizing app?
really looks cumbersome to use it seems. the explore function is not as intuitive. I'll try to use it again in the future once I have more time to test it carefully
danielpetrica··on Ask HN: Why is there no good travel organizing app?
didn't know it I'll try
danielpetrica··on I Survived the Front Page of Hacker News Without Crashing My Site
Let me know if you have any suggestion On how to improve the server resilience to this spikes
danielpetrica··on My experience participating to a startup weekend competition in Italy
I everyone, I wrote another article explaining how my server survived the front page of hacker news with the steps I took. thank you for making my submission reach front-page. let me know if you have any other suggestion on this regard too https://news.ycombinator.com/item?id=43843494
danielpetrica··on [dead]
Hey HN! I never imagined my blog would land on the front page — and yet, here we are. The traffic spike (over 190k requests in a day) didn’t take my site down thanks to preparation I did last year, particularly with Cloudflare caching and Ghost CMS optimizations.

I wrote this to help other devs, indie hackers, and bloggers prepare for their “Hacker News moment” — with real config examples, traffic stats, and lessons learned from self-hosting.

Happy to answer any questions or hear how you all approach high-traffic resilience!

danielpetrica··on My experience of participating to a startup weekend competition in Italy
Thank you for your suggestions. I'll share this info with my team members. I also think is better to limit the scope for, at least, the first travels until we establish a process.
danielpetrica··on My experience of participating to a startup weekend competition in Italy
Thank you — that’s genuinely useful advice. You clearly have experience in this space, and I really appreciate the thoughtful insights. I’ll definitely share them with my team.

> People will tell you whatever they think you want to hear. When interviewing them you need to understand how they solved the problem before and the actions they took to solve it. Actions speak much louder than words and you can understand how they think about solving the problem which picks up valuable contextual information as well as potential alternative solutions (competing solutions) they evaluated.

We tried to apply some of that in the limited time we had — for instance, we avoided presenting the idea directly and focused on questions that revealed whether people had faced similar problems before.

> And then last, if I were you I would find AI use-cases in mid-size companies (20-200 employees). About 80% of early-stage investor money is flowing into AI right now. We're not actively seeking investment at the moment, but your point about AI in mid-size companies is very relevant — it's something we’ll keep in mind as we evolve.

danielpetrica··on My experience of participating to a startup weekend competition in Italy
We hope that selling a solution to a problem people already have marketing will be easier
danielpetrica··on My experience of participating to a startup weekend competition in Italy
Thank you! We do have fun at moment still, hope we can continue having fun
danielpetrica··on My experience of participating to a startup weekend competition in Italy
Totally agree — execution is everything. We're trying to build on the momentum from the event and shape the product fast. Would love your thoughts: is there anything you think we should do better or differently?
Page 1 of 3Next →