HNHacker News
TopNewBestAskShowJobs

fevangelou

180 karma · joined March 1, 2013

submissionscomments
fevangelou··on The future of AlmaLinux
So AlmaLinux decides to stick to CentOS Stream (which "sits" between RHEL and Fedora in terms of "stability" as I understand). Basically what RHEL wanted these clones to do.

Rocky Linux on the other hand seems to take a more adventurous path by teaming up with SUSE on the new RHEL fork, whenever that comes. In the meantime it's not 100% clear how Rocky will continue working (they referenced some workarounds but not specifically how they'll get the source code from RHEL).

And Oracle will also work on their own fork.

Right...

fevangelou··on Interaction to Next Paint (INP)
Truly epic comment.
fevangelou··on Liberating the MacBook Air 2013 with Linux
And this is what you understood from that?

Intel Macs will soon become obsolete. Lots of folks will not just throw away a few years old machines. So between the choice of ditching perfectly fine hardware due to an unsupported OS or switching to Linux, it's really a no-brainer. Unless of course you live in the SV bubble and change devices every 6 months in which case kudos to you.

fevangelou··on Liberating the MacBook Air 2013 with Linux
I can at least confirm that Ubuntu 22.10's out-of-the-box touchpad support is PERFECT on a 2008 Macbook Aluminum (Core 2 Duo / 8GB RAM / SSD). Exactly as you'd expect with macOS.

I was actually astounded at how better this model worked with Ubuntu compared to El Capitan (last official supported version) or even Catalina (the last unsupported version I tried with dosdude1's patches, as I didn't know about OCLP at the time - perhaps OCLP didn't even exist when Catalina was out).

Granted it's an older model (compared to yours) and the Linux kernel probably already has support for its touchpad generation baked in, but I'm sure it won't be hard to load an extra driver (e.g. Synaptics?) or tweak some config file to get it to work like on macOS. I had a similar issue with T440 & X240 Thinkpads and the touchpad performance improved dramatically by installing the Synaptics driver from Ubuntu repos (on Ubuntu 20.04 at the time).

Seeing how you can resurrect much older hardware with Linux, the only question that remains is why some freaking companies still refuse not to support Linux with their software - and I'm not just talking about Adobe here, but companies like Panic, Pixelmator and others that choose to be Mac only.

fevangelou··on LosslessCut: lossless video/audio editing
Finally, a cross-platform VirtualDub!
fevangelou··on Migrating 1 terabyte of files from OneDrive to Nextcloud
As a current user of Dropbox, Google Drive & OneDrive I can definitely say that Dropbox beats the other two (and probably any other similar service) in both network transfers (up/down) and indexing time (especially if you consider LAN sync too for when mirroring data between devices). The level of file/folder movement you can do in Dropbox while it's sync'ing data is unparalleled. If you try doing the same e.g. with Google Drive, you will either end up with duplicate files or even lose data overall.

But we all know that this probably comes at a potential cost, e.g. privacy related concerns (anyone remember the controversial Dropbox board appointment of C. Rice back in the day?), services getting hacked etc.

So knowing the above and knowing that with Nextcloud, Owncloud, Syncthing etc. you fully control your cloud backup, any (perhaps) lower performance takes a step back for sure. But then again, if you're hosting on a server that's geographically close to you & on a solid datacenter with great peering (e.g. Hetzner, Scaleway/Online.net or OVH for Europeans), performance can be on par or perhaps even better compared to "established" backup cloud services.

fevangelou··on Hardening unused (sub)domains
GOV.UK has similar recommendations since 2016: https://www.gov.uk/guidance/protect-domains-that-dont-send-e...
fevangelou··on Castopod – Open-source podcast hosting platform
OTOH, I'd say language changes/improvements, PSR, the tooling of course (Composer/Packagist, tons of CLI tools), the frameworks (Laravel or Symfony, with CakePHP & CodeIgniter still rocking, also micro-frameworks like Slim/Lumen), the libraries (Symfony components, FriendsOfPHP, thephpleague.com), debugging (PHPStan, Phan, Psalm, PHP Insights), refactoring (PHP CS Fixer, PHP_CodeSniffer, Rector), async/event driven (Open Swoole, ReactPHP).

On Linux, production multi-PHP deployment is dead-simple thanks to the excellent DEB.SURY.ORG (for DEB based distros) and REMI (for RPM based distros) repos. It's also more common to deploy PHP via PHP-FPM and Nginx nowadays. Homebrew does a decent job on macOS too, multi-PHP deployment is also easy when coupled with Nginx/PHP-FPM. For Windows I have no idea but as long as you got XAMPP and MAMP, well :) Lots of Docker based solutions too like LocalWP (not just for WP), Lando, Laragon, DDEV to name a few.

There's also excellent support in editors/IDEs, either by default (in JetBrain's PHPStorm, Nova, KDevelop or Kate Editor) or via plugins for VSCode, Sublime Text, Atom and others.

fevangelou··on Castopod – Open-source podcast hosting platform
Sure, spaghetti React/JSX code coupled with SSR is the new hotness :D

For Node/JS folks, we've had "PSX" for decades in PHP:

  <?php
  
  function render($html) {
    return <<< PSXRULEZ
      Look ma, it's pure $html!
  PSXRULEZ;
fevangelou··on Castopod – Open-source podcast hosting platform
This may not be directly apparent to "typical" HN crowd, but PHP is having a quiet renaissance, thanks in part to a standardization of tools and processes, a more mature ecosystem (Laravel has been a huge factor here) plus the performance improvements since PHP 7.

Kudos to the folks who built Castopod.

fevangelou··on App Store doesn't accept “too simple” apps
Out of curiosity, since iOS seems to have a ~20% share in Romania, why not launch on Android first (which makes business sense at ~80% market share)? And if Apple keeps dicking around, at least make it easy for the mobile site to be installed as a web app to iOS homescreens.

@Apple Seriously?

fevangelou··on How to Delete Gmail Attachments Without Deleting the Emails
The business model of Unattach seems problematic though. Folks with storage issues are the ones who will not want to pay to increase storage for their Google account (not judging) but they would pay for a service to delete attachments?
fevangelou··on WorldWideWeb.app
If the purpose is to test static html pages only, what's the problem with just opening them up in the browser with file:// paths? For everyone else who need PHP, python, ruby or node they can just use Homebrew to install the relevant packages. The only benefit I see is just sharing a URL with someone else on the same network.
fevangelou··on The use of ‘class’ for things that should be simple free functions (2020)
Reminds me of the "Hello World" module in Drupal 9+...
fevangelou··on System Font Stack
IDEA: Browser vendors (or browser engines) should just agree on a bare minimum of modern fonts (the most used perhaps by websites?) and include them with their releases. Additionally, why not have a working group to deal with font upgrades for browsers as we have for CSS, JS (ECMA) standards and so on? And funded by the same billion dollar companies that build browsers...

REALITY: The engineers who would eventually build all this just laugh and don't care. And HN will talk about this again next year.

fevangelou··on Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM, 38400 baud internet
It could be your local DNS cache. Testing with a private browser window usually does the trick, otherwise, just flush your DNS cache ;)
fevangelou··on Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM, 38400 baud internet
Thanks to CloudFlare, it's working now...
fevangelou··on Ain't no party like a third party
For personal sites? Sure, why not.

For anything commercial though, especially in media publishing, this is just insane.

I'm beginning to think the old generation of "celebrity" web devs (the ones that became famous in the 2000s - now around in their 50s) has really lost touch with the modern web for some time now. And this comes from someone who's actually bought all of Jeremy's books.

The fact that Google is switching away from third party cookies is surely not a matter of "resisting the tide" as Jeremy writes. It's actually about more control. Whoever controls the web platform (=the browser) can now control the ad landscape [1]. See how Google used AMP to promote a supposedly "faster" web (and it's now being sued for for preferencial ad placement) [2].

[1] https://www.reuters.com/technology/googles-browser-cookies-p...

[2] https://www.theregister.com/2021/10/26/google_deliberately_t...

fevangelou··on Modern PHP Cheat Sheet
I remember inheriting a RoR v2 based project. Ended up virtualizing the entire server to migrate the damn thing as it was a big pile of dependency mess to port to a newer server stack. On a similar situation with a PHP 4 based codebase, adapting it to work on PHP 5.6 was a few hours work. Done. No other language can beat that. And thanks to a newer (and more open minded) generation of developers, PHP has a long way to go. The launch of the PHP Foundation by Jetbrains, Automattic and others - https://blog.jetbrains.com/phpstorm/2021/11/the-php-foundati... - is also a step towards a better future for PHP.
fevangelou··on Modern PHP Cheat Sheet
Do you think spaghetti code won't come from folks who use Composer? Ha!
fevangelou··on Apple unveils new iPad mini with breakthrough performance in new design
Probably the biggest news is the death of the Lightning connector. USB-C now paves the way for connecting anything, across different hardware platforms.
fevangelou··on Is Substack the Media Future We Want?
Ah, the New Yorker. Spot-on commentary on the important things in life.
fevangelou··on Ten year study: No link between violent video games and aggressive behavior
Is this like the studies paid by fast food chains on whether eating fast food is healthy or not? :D
fevangelou··on Mmhmm
From the site's footer...

"Mmhmm is the newest product by All Turtles, a mission-driven product studio that works to solve meaningful problems worldwide."

Didn't know backgrounds for Zoom are meaningful problems that need to be solved.

fevangelou··on TailwindCSS v2.0
Amen, brother!
fevangelou··on On not choosing WordPress for the W3C redesign project
Joomla has several d'n'd content builders nowadays.

As for the separation of types of extensions, that's actually a good thing for many practical reasons.

In the end, it depends on what you're building...

fevangelou··on On not choosing WordPress for the W3C redesign project
Indeed, mea culpa.
fevangelou··on On not choosing WordPress for the W3C redesign project
My mistake on its origin. Indeed though it's used on some high profile (albeit not high traffic) sites by well known UK agencies.
fevangelou··on On not choosing WordPress for the W3C redesign project
Not a WP fan (although I've built large scale sites professionally) but the arguments regarding the frontend are kinda BS. What does Gutenberg have to do with the entire frontend layout? Gutenberg can still be used just for the main content region, not surrounding blocks. Not really a "talented" team after all.

Plus, UK dev companies tend to be biased towards Craft these days cause (guess why) it's also UK based.

I also wonder how they got Statamic in the list (probably to dilute the argument for the need for a commercial CMS) and not the 2nd largest CMS in the world (Joomla).

All in all a pointless marketing article.

fevangelou··on Don't write your own framework
The same could have happened with any ready-made framework. You'd still have to manually update 200 sites... :)

And even worse, a known vulnerability on a popular framework could have hit you harder.

← PreviousPage 2 of 3Next →