HNHacker News
TopNewBestAskShowJobs

throwaway38375

170 karma · joined February 29, 2024

submissionscomments
throwaway38375··on Tell HN: PHP ≥8.1 security support for has been extended by a year
That's a great decision by the PHP team.

It makes PHP easier to rely on. Not only is it rock solid and easy to use, but now it has a long lifetime.

Not to say upgrades are bad, but sometimes businesses don't understand the value in updating things...

Long live PHP!

N.B. https://www.php.net/supported-versions.php

throwaway38375··on Ask HN: Those of you who don't use AWS/Azure/GCP, what do you use for hosting?
A fair point. :)
throwaway38375··on Ask HN: What fields or technologies are you excited about?
Thank you, but I'm afraid I can't move.

I'd love to hear more about the product though! Without giving too much away, what does the product/company do? :)

throwaway38375··on Any Google Analytics Alternatives?
Another vote for Cloudflare Analytics. Not as powerful as GA, but I think that's why I like it. Cloudflare Analytics is much easier to use on a day to day basis!
throwaway38375··on Ask HN: What fields or technologies are you excited about?
Sounds like a dream come true! Any jobs going?
throwaway38375··on Ask HN: Those of you who don't use AWS/Azure/GCP, what do you use for hosting?
The only exception I have to this is S3. There are so many S3 compatible providers that I don't see any problem with using S3. There's even MinIO for self hosting and local development!

Some more suggestions for open source components:

Redis for caching and queueing SMTP for mail Nginx for load balancing Cron for scheduling

throwaway38375··on Ask HN: Those of you who don't use AWS/Azure/GCP, what do you use for hosting?
I agree with your requirement to avoid lock in, but there's nothing wrong with using the big three if you make sure you use open source technologies.

I'm going to use the LAMP stack for example, because everyone is familiar with it.

For example, if you choose MySQL (rather than AWS Aurora) you can:

1. Run that locally during development

2. Install it yourself on a VPS

3. Or migrate to any of the big clouds quite easily

Same goes for your stack. Rather than using PHP with AWS Lambda, provision VMs and install PHP yourself (probably using some sort of shell script).

All cloud providers offer a VM in one form or another, so you're free to swap to another one when you choose.

throwaway38375··on Ask HN: Can Devin genuinely replace the roles of developers?
No
throwaway38375··on Client Runs on Waterfall
> Sadly, in most projects, it has become an excuse for clients who don't know what they want

Thank you for summarising why I hate agile so concisely.

I don't hate agile itself, more the clueless people who think agile replaces requirement gathering and planning.

throwaway38375··on A useful front-end confetti animation library
Neat library. Also, brilliant docs!
throwaway38375··on Ask HN: Best Open E-Reader?
Also voting for Kobo. I have a Clara I just use for reading books.

Really nice device and the price is good too.

I've never connected mine to the internet. I just use it as a giant USB stick with a screen.

Not that I've needed to, but you can take it apart and increase the storage too!

https://yingtongli.me/blog/2018/07/29/kobo-sd.html

throwaway38375··on Web Game Engines and Libraries
Kaboom was a pleasure to use.

Don't get me wrong, it's very simple, but it was fun.

Felt like using Flash again. :)

throwaway38375··on Ask HN: What is a good alternative to SendGrid?
MailJet has an okay free tier.
throwaway38375··on MySQL-Manage Memory Usage Efficiently
Not many new features are needed
throwaway38375··on Ask HN: Open-source Windows 11 backup solutions
Not strictly related to your question, but some information worth sharing:

If you've got physical hard drives to back up to, and you want to be able to use those hard drives on Windows, Mac, and Linux:

It would seem a good file system for cross compatibility is exFAT.

While it doesn't have all the features of other file systems, it seems to work on almost everything without making too many compromises.

Something to consider if your main computer dies and you need to restore from a backup using a different OS!

I hope this helps someone. :)

throwaway38375··on Ask HN: How do you handle people "steal" your product to resell it?
It's much easier to take down the services supporting the thief, rather than taking down the thief.

The thief won't care if you tell them to stop. But their domain registrar, web host, video host, social media accounts, and payment processor will care about copyright infringement.

throwaway38375··on Ask HN: How did you build feature flags?
Because now you have different tenants having different experiences and breaking your application in strange new ways you could never have predicted!
throwaway38375··on Ask HN: How did you build feature flags?
Choosing a good solution heavily relies on whether your product is multi-tenant or not.

If multi-tenant things get complicated quite quickly. It may be worth looking into existing packages/libraries for your stack. I would be careful about using a third party service for this due to the latency it may introduce.

If not then just have a FEATURES constant. The value can be as primitive as an associative array, dict, hashmap, or struct. The keys are your flags and their values are booleans.

Not your forever choice, but very simple, quick, and easy to use.

throwaway38375··on Low Cost Robot Arm
On the topic of automatically stirring pasta, I saw this the other day!

https://www.amazon.com/StirMATE-Automatic-Variable-Self-Adju...

throwaway38375··on Friends don't let friends export to CSV
CSVs won the war. No vendor lock in and very portable.

I wish TSVs were more popular though. Tabs appear less frequently than commas in data.

My biggest recommendation is to avoid Excel! It will mangle your data if you let it.

throwaway38375··on Ask HN: Tips to get started on my own server
Some tips:

1. Digital Ocean offer small VPS for $5 per month. That's a 50% saving right away!

2. Stick with Ubuntu in the beginning. It's not the best, but it's 100% good enough and has so much support and tutorials out there.

3. If you have a small VPS with not much RAM, definitely set up a swapfile. It gives you virtual RAM for doing RAM heavy things on a small VPS.

4. Use the virtual firewalls offered by your host rather than the server firewalls in the beginning. If you mess up a server firewall you may have to get your host to reset it for you. If you mess up a virtual firewall you can amend it through a web UI and get back to doing things quickly.

5. Learn to read man pages and log files. Between the two you can figure out how to do stuff, and then figure out why it isn't working correctly.

6. In terms of security, use a recent distro, use a firewall close everything you don't need, use SSH keys, and set up secure passwords for everything else, and you will avoid a lot of problems.

7. Keep an eye on resources, programs like top, uptime, free, df, and du will allow you to see what's using up CPU, RAM, or disk space.

8. Learn a relational database. MySQL or Postgres are good choices. This skill will keep you employed for years, almost every business uses a relational database in one way or another!

9. Have fun :)

throwaway38375··on Web apps or Mobile apps for solopreneur?
If you're going to be a team of one keep things simple.

If you know Python, use Django for full stack and FastAPI for APIs.

Although Go is great, I wouldn't add another language into the mix. Just not worth the overhead given that you can do so much with Python.

Also, try using boring old server side rendering as much as is possible.

Not to rag on Svelte specifically, but you'd be surprised at how far you can take a web app before needing to adopt a frontend framework!

throwaway38375··on Ask HN: Best way to set up self-managed Postgres clusters?
There's no amount of money you could pay me to do this with Kubernetes. Like, you could offer me double my salary, and I'd laugh.

The only answer that makes any sense here is Ansible.

Arguments:

Way simpler

Can fall back to using plain SSH if things goes really wrong

No vendor lock in

One less bit of technology in the mix to go wrong

Very boring, which means very reliable

throwaway38375··on Redis adopts dual source-available licensing
Same, I am interested to know.

I only install Redis on Ubuntu VMs. I don't pay for hosted Redis (since it's always been rock solid for me).

Will these changes stop me from running `sudo apt install redis`?

throwaway38375··on Ask HN: Fastest cross-platform GUI stack/strategy
I think HTML, CSS, and JS could be the answer here.

However it relies on two important things:

1. Using something which uses the OS's built in browser (rather than something like Electron).

2. Keeping your JS very lightweight.

This was shared a few days ago, combined with py2app could be a winner:

https://github.com/r0x0r/pywebview

throwaway38375··on Garnet – A new remote cache-store from Microsoft Research
Neat project, but I will be sticking with Redis.

I trust Redis to not do something weird with their licensing or pricing in the future.

Plus Redis has billions of production hours under its belt.

It's easier to install and understand.

throwaway38375··on Ask HN: What is easiest back end to learn and scale cheaply for apps?
I'm probably going to get some hate for this, but the LAMP stack.

- Can all be run off one big server

- No licenses or costs

- Super stable and battle proven

- Deployment, development, and debugging is stupidly simple

- If you don't want to do your own server admin there are millions of hosts

- Everything can be solved by Googling and copying and pasting

- Developers are easy to come by

- Frameworks such as Laravel and Symfony exist (not that you have to use one)

Remember, you said easiest... not best. :)

* Although "best" is subjective!!!

throwaway38375··on Show HN: Pywebview 5
This looks really neat! I'm just about to start a desktop application project, so I've found this at the perfect time.

Is this production ready? I need to target Windows and MacOS with a high level of stability.

throwaway38375··on Ask HN: What took you from being a good programmer to a great one?
1. Realising that 99% of the time, the stack doesn't matter. Users don't care about whether you're using a single PHP file or a dozen NodeJS microservices.

2. Realising that complexity is the enemy. Smart people avoid complexity, dumb people who think they're smart introduce complexity.

3. Realising that in order to ship anything worthwhile you need good specifications, a clear line in the sand, and the time to be left alone to do it.

Edit:

4. Shipping something small is good. You don't know what is needed, but once you've ran something in production for a few days you probably will. YAGNI and MVP all the way!

throwaway38375··on Ask HN: What underrated open source project deserves more recognition?
https://www.adminer.org/
← PreviousPage 2 of 3Next →