News for hackers. Stuff that matters.

CR007

Re:Mago: A fast PHP toolchain written in Rust on Saturday September 13, 2025 @05:42PM (#45235575)
BS, compare projects like Infection vs whatever you have to fax to a guy running Ruby.
Post it on reddit to roast you.
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.

Why not the $4 bucket? There will be a DigitalOcean 1-Click app?
Re: on Wednesday February 14, 2024 @05:39AM (#39368428)
You can do quick prototyping without dirt in any language, it just turns out that you like working in dirt.
Re: on Wednesday February 14, 2024 @04:53AM (#39368229)
I love PHP but I hate the code in this repo.
Re:PHP: A fractal of bad design (2012) on Sunday January 21, 2024 @05:15AM (#39077188)
Zzzzz tired about this heavily outdated article. Let it RIP for good sake, POS that the author never updated what a joke.
Re:Ask HN: Who is hiring? (December 2023) on Saturday December 02, 2023 @04:36AM (#38497365)
Wrong.
Re:The Curse of Docker on Sunday November 26, 2023 @10:50AM (#38422478)
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.

Re:Developer account removed by Apple – $108,878 frozen on Friday November 24, 2023 @05:13AM (#38402335)
The guy lives in Chile but the company is registered at Hong Kong.
Re:Like Clippy but for the CLI on Sunday November 12, 2023 @06:09AM (#38239223)
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

Re:Companies that use PHP and pay well on Thursday November 02, 2023 @08:34AM (#38112621)
Where I can see a sample of your PHP work?
Re:Go with PHP on Thursday May 11, 2023 @07:41AM (#35900755)
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 to pay real money you will want a better tool.

Re:My boundaries as an open source developer on Thursday March 17, 2022 @06:41AM (#30709608)
Does it works? I also have issues with users and in my case they don't read this kind of instructions.
Re:PHP – The Right Way on Monday February 07, 2022 @05:35AM (#30242864)
Nope. I don't use these frameworks. But thanks for trying to assume how php is on 2022 and how all php devs work.
Re:PHP – The Right Way on Monday February 07, 2022 @05:03AM (#30242611)
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?

Re:PHP – The Right Way on Monday February 07, 2022 @04:50AM (#30242502)
Artisans = Laravel dev. Is a complete sub-type of phpc.
Re:PHP – The Right Way on Monday February 07, 2022 @04:45AM (#30242464)
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.
Re:Multiple vulnerabilities in WP Fastest Cache plugin on Friday October 15, 2021 @12:11PM (#28879362)
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.

Re:Multiple vulnerabilities in WP Fastest Cache plugin on Friday October 15, 2021 @06:50AM (#28876365)
> 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.

Re:IMGZ – Paid image sharing on Monday September 27, 2021 @07:23PM (#28677371)
Spoiler alert: Image hosting is a little bit more complicated. Good luck with it.
Re:Glass – Photo sharing app and community on Thursday September 16, 2021 @05:29PM (#28557911)
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.
Re:How to Replace Docker with Podman on a Mac on Wednesday September 08, 2021 @07:50PM (#28464475)
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!

Re:Deploy a website on imgur.com on Wednesday September 08, 2021 @12:52PM (#28459748)
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!

Re:Revolt: Open-source alternative to Discord on Monday September 06, 2021 @12:17PM (#28435212)
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...
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.

Re:Self hosting is important on Saturday July 24, 2021 @07:56AM (#27940137)
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.

Add AWS to title, please.
Re:Changes to Docker Hub Autobuilds on Tuesday June 08, 2021 @09:28AM (#27434876)
I started using Docker hub recently and I can't avoid to say how outdated it feels. I just use it because is the default thing.

Every other registry I've tried works better.

Older »