Readit News logoReadit News
k_roy commented on The Rise of Hybrid PHP: Blending PHP with Go and Rust   yekdeveloper.com/p/4-the-... · Posted by u/avan1
monooso · 2 days ago
I'm not sure what point you're trying to make by mentioning Hack.

At this point it's diverged from PHP to the point that it's basically a different language, is (IIRC) actually slower than PHP 8, and the HHVM doesn't even support PHP any more.

As such, it's not a huge surprise that relatively few people outside of Meta give it much attention.

I also moved on from PHP several years ago, and don't miss it. That doesn't mean I don't recognise that there are still perfectly legitimate reasons to choose it.

k_roy · 2 days ago
Yep.

And meta/hack is probably the other huge mainstay of PHP outside of what the person you responded to said. And hack with HHVM was supposed to be the panacea for PHP

Just saying.

What people used to use PHP for tasks, has largely been replaced by Python.

k_roy commented on The Rise of Hybrid PHP: Blending PHP with Go and Rust   yekdeveloper.com/p/4-the-... · Posted by u/avan1
monooso · 2 days ago
> The only reason PHP still exists is because of shared hosting companies and Wordpress.

Unfortunately I can't think of anything constructive to say about this nonsense.

> Today, it’s so easy to run JavaScript, I can build a basic jsx site in under an hour, just like I can with PHP and includes.

You assume people agree that it's preferable to work in JavaScript.

k_roy · 2 days ago
And still nobody outside of Meta cares about hack.

The niche I think PHP had back in the day has largely been supplanted by Python.

Maybe it’s better now, but after moving on from it to basically anything else after a 25 year career, I don’t miss it.

k_roy commented on Show HN: Clyp – Clipboard Manager for Linux   github.com/murat-cileli/c... · Posted by u/timeoperator
yjftsjthsd-h · 10 days ago
I'm confused; xsel, as you might imagine from the name, is very specifically a program for manipulating the X11 selection and clipboard. So it does work on Xorg, but I'm very confused that it would work in any meaningful capacity on Wayland. Are you somehow using Xwayland?
k_roy · 10 days ago
I run KDE usually so I imagine it's xwayland.
k_roy commented on Show HN: Clyp – Clipboard Manager for Linux   github.com/murat-cileli/c... · Posted by u/timeoperator
jdmg94 · 11 days ago
Great work! does the CLI support clipboard operations like MacOS' `pbcopy` and `pbpaste` ? I've added it to my stars to keep and eye on the project, GTK4 and wayland support makes it rather futureproof IMO
k_roy · 11 days ago
For Wayland I just use this:

        alias pbcopy='xsel --clipboard --input'
        alias pbpaste='xsel --clipboard --output'

I used to do the same thing on Xorg with xclip I think

Switching between macOS for job and linux for everything else, I’ve honestly never realized any difference.

k_roy commented on Go is still not good   blog.habets.se/2025/07/Go... · Posted by u/ustad
gnfargbl · 11 days ago
It's a contrived example which I have never really experienced in my own code (and at this point, I've written a lot of it) or any of my team's code.

Go had some poor design features, many of which have now been fixed, some of which can't be fixed. It's fine to warn people about those. But inventing intentionally confusing examples and then complaining about them is pretty close to strawmanning.

k_roy · 11 days ago
That's really my problem with these kind of critiques.

EVERY language has certain pitfalls like this. Back when I wrote PHP for 20+ years I had a Google doc full of every stupid PHP pitfall I came across.

And they were always almost a combination of something silly in the language, and horrible design by the developer, or trying to take a shortcut and losing the plot.

k_roy commented on CEO pay and stock buybacks have soared at the largest low-wage corporations   ips-dc.org/report-executi... · Posted by u/hhs
k_roy · 11 days ago
Seems like calling something low effort is even lower effort.

But hey, let’s chat.

Is this not the opposite of trickle down, with clearly the transfer of wealth upward?

Dead Comment

k_roy commented on High-severity WinRAR 0-day exploited for weeks by 2 groups   arstechnica.com/security/... · Posted by u/chrisjj
smokel · 20 days ago
You can't get a citation for this, and I must admit that this was a bit of a hyperbole.

Still, I sincerely believe that in a typical year, a typical user runs into zero or one .zip files. Of course there are exceptions, but these power users do not make up a large part of the population. Facebook and Instagram are not shipped in .zip format for a reason.

Here are some numbers to think about:

According to Microsoft, there are ~1.4 billion devices that run Windows 10 or Windows 11 [1]. Apparently, there are some 200 million additional devices that run older versions of Windows [2].

Now, I could hypothetically ask my mom and dad, and find out that only one of them knows what a .zip file is. The other has not heard of .rar. I don't think I myself am a typical user, but I do know .rar, and I do not even have WinRAR installed.

That leaves me to conclude that it is very, very, unlikely that 31% of all Windows users has WinRAR installed.

[1] https://blogs.windows.com/windowsexperience/2025/06/24/stay-...

[2] https://jitendra.co/how-many-windows-users-are-there-in-the-...

k_roy · 20 days ago
I know many people that still use it because it does all formats, it’s what they’ve been using forever, and the UI is so much better than using zip on Windows.

Of course, RAR usage nowadays is probably a bit more limited to things like usenet downloads, so the people caring enough to install an alternative decompressor is narrowing.

k_roy commented on Grok generates fake Taylor Swift nudes without being asked   arstechnica.com/tech-poli... · Posted by u/juujian
no_wizard · a month ago
I find it interesting that AI companies take the generated porn of celebrities seriously but they don’t do a good job with safe guards for mental health, for example
k_roy · a month ago
One has actual legal consequences. Mental health is a far more nebulous thing.
k_roy commented on Dotfiles feel too personal to share   hamatti.org/posts/dotfile... · Posted by u/speckx
seethishat · a month ago
They are private. Many people store env secrets (db conn strings, etc.) in .bashrc. It's meant to be a private place in your home folder for private things.
k_roy · a month ago
They are really only private if you design it that way. There are numerous ways you could have access to those private parts of your bashrc, but still make the actual bashrc public.

That's coming from my kubernetes background though, and handling secrets this way is not something that people are always accustomed to.

u/k_roy

KarmaCake day307September 23, 2014View Original