Better HN
topnewbestaskshowjobs
Log inSign up

CR007

58 karma · joined Dec 28, 2014 (11y ago) · 35 submissions

Submissions

comment 1y ago · link · parent

BS, compare projects like Infection vs whatever you have to fax to a guy running Ruby.

comment 1y ago · link · parent

Post it on reddit to roast you.

comment 2y ago · link · parent

That's sad. DigitalOcean has a marketplace, you submit apps to end users one-click run. You build these from a packer snap.

https://marketplace.digitalocean.com/vendors/guidelines-reso...

I have two apps running there and another one under review. Takes about a week to get listed.

comment 2y ago · link · parent

Why not the $4 bucket? There will be a DigitalOcean 1-Click app?

comment 2y ago · link · parent

You can do quick prototyping without dirt in any language, it just turns out that you like working in dirt.

comment 2y ago · link · parent

I love PHP but I hate the code in this repo.

comment 2y ago · link · parent

Zzzzz tired about this heavily outdated article. Let it RIP for good sake, POS that the author never updated what a joke.

comment 2y ago · link · parent

Wrong.

comment 3y ago · link · parent

I distribute server-side software and it was a pain to provide the infra requirements. At higher level users easily miss what is yours and what's another tech, they just don't care to tell the difference. Is not a matter of documenting, is just not their concern.

That drives many issues and it becomes a snowball soon as inexperienced users start to vent bad practices. In a effort to help other users they often spread more damage.

With Docker I was able to take charge of the infra, which erased all the uncertainties on my next layer but it spawned the uncomfortable need of learning Docker to use my stuff, which users took very reluctant.

The best distribution method is to pack a binary release. Not only the package is lightweight, it doesn't need any fancy instruction. You can keep Docker for your internal use, don't ship it to end users.

comment 3y ago · link · parent

The guy lives in Chile but the company is registered at Hong Kong.

comment 3y ago · link · parent

For PHP there's the option of binary distribution using php-micro, sadly not all devs are into it as "just brew". They don't realize that the end user isn't a PHP dev and that having to install the runtime is an annoying step.

https://github.com/easysoft/phpmicro

comment 3y ago · link · parent

Where I can see a sample of your PHP work?

comment 3y ago · link · parent

I've been using PHP for about 19 years and what I can tell is that both the language and its community have evolved the right way. Writing modern PHP is a joy, IDE support is great and we have tools for everything.

Modern PHP is about community standards, not about any particular framework and exposing Laravel as the best way to get started with PHP is questionable. I wouldn't recommend it to anyone wanting to learn (real) PHP.

The article praises PHP but it is sad that doesn't link to any other resource or project which ditches the value of PHP community.

Laravel is great for RAD which is attractive for small projects. The kind of stuff "business with 500K orders runs on a $6 VPS" thing. For clients wanting a robust software system you can use a better tool.

comment 4y ago · link · parent

Does it works? I also have issues with users and in my case they don't read this kind of instructions.

15.

Show HN: XR Lightweight debug server utility for PHP(xr-docs.chevere.org ↗)

4 points · by CR007 · 4y ago · discuss

comment 4y ago · link · parent

Nope. I don't use these frameworks. But thanks for trying to assume how php is on 2022 and how all php devs work.

comment 4y ago · link · parent

The fact that composer comes with an autoloader doesn't means that you have to autoload everything.

You can manual include, define your own extra auto loader and use interfaces to quick swap for custom implementations.

Like I said, +15 years. Composer is 9 years old. How do you think we handle this in our own Jurassic times?

comment 4y ago · link · parent

Artisans = Laravel dev. Is a complete sub-type of phpc.

comment 4y ago · link · parent

Did you actually get these issues in a real use case? I've been developing PHP software for +15 years and I never had this namespace dilema.

comment 5y ago · link · parent

You are missing the point. This is a freemium plugin listed in the WordPress plugin directory. They (WordPress) are being negligent by exposing users to that kind of code without any warning, enabling users to install this directly from they WP Admin area.

One should expect at least a red flag, but as always they just care about numbers.

comment 5y ago · link · parent

> At this point, I’d happily call this level of negligence criminal.

I'm missing WordPress responsability here. The amount of crap listed in the plugin store without any standar needs to be stopped.

comment 5y ago · link · parent

Spoiler alert: Image hosting is a little bit more complicated. Good luck with it.

comment 5y ago · link · parent

I won't ever use an app where I don't control where the stuff is stored. No thank you, that's why I create and advocate for self-hosted software.

comment 5y ago · link · parent

We replaced Docker hub with ghcr + buildah action and we won't ever look back! We are just waiting for more compose support which seems that will happen shortly anyway.

Thanks redhat!

comment 5y ago · link · parent

This concept is old.. Back in the day we used this kind of techniques to sneak any kind of content in imageshack et all. Back then we didn't have Dropbox, online storage wasn't even a thing so we sneaked movies, software or anything in dozen of image files, hosted at plain sight.

This was 20 years ago or so... So many memories!

comment 5y ago · link · parent

People often use "written in" when they are targeting devs and contributors as no end-user cares about in which jargon we write stuff. In this case, I don't get why they brag as this definitely hits my spaghetti detector: https://github.com/revoltchat/delta/blob/master/src/database...

comment 5y ago · link · parent

I feel that it actually understand what I'm doing. Is very wicked how sometimes copilot nails a line or an entire block totally in my context and writing style.

Scary stuff.

comment 5y ago · link · parent

I sell self-hosted software since 2012, what can I say... Times change.

The problem with general public (people at home) is that most of them really don't want to pay for such software anymore and for the developer it requires to worry too much about stuff always getting broken as it runs in a galore of different configs.

For my stuff 90% of support issues are just bad permissions, bad mounted filesystem, somebody forgot to run apt update, etc. People really think that all those issues are our responsibility, just to educate the customer is a waste of everybody's time.

comment 5y ago · link · parent

Add AWS to title, please.
12