HNHacker News
TopNewBestAskShowJobs

NightlyDev

455 karma · joined June 28, 2016

submissionscomments
NightlyDev··on Redis 6.0 GA
It's definitely not a must when using multiple PHP servers, but it sure is common and useful.
NightlyDev··on Redis 6.0 GA
You might be fully aware, but containers doesn't have to be docker/kubernetes. Previously OpenVZ, and now LXC/LXD is great for replacing full VMs in a lot of scenarios. The isolation is great and it's way less resource intensive than full containers.
NightlyDev··on Cheapest iPhone has a more powerful processor than the most expensive Android
I kinda like the way they're doing things. It reminds me of the IE6 times, but with no decent options. I guess I'm a sucker for nostalgia.

At least the browsers can freeze, crash and hit more bugs per hour with a faster CPU, so at least it got that going for it.

NightlyDev··on Watch Zoox’s autonomous car drive around San Francisco for an hour
This is really cool, but the environment is also really simple and I think we're definetly at least 15+ years out before self driving cars can handle somewhat challenging situations as well as humans.

Just try to put one of this vehicles in a situation with varying road width, no markings, snow with no sticks to mark the edges so you really have to pay attention to where the road actually is. What would this do if you meet a car on such a road? Try to figure out who should go back, and maybe go back to the latest plase where its wide enough? Do random tests to check for grip every now and then? It also needs to know whether the road is salted, understand if the salt is working and so on and on and on...

NightlyDev··on The irony of Apple homepage and Safari WebP support
I guess you have some notifications on your phone, right? That's the point, notifications for things. If someone sends you a text then you need a notification so you actually notice it.
NightlyDev··on How I lost control of our bank accounts to a phone scammer
No, it's not. A username is rarely a secret used for anthentication. In this case it seems the user got tricked into giving away a password reset code given over SMS. So the first factor(password) was skipped. If an SMS code and the password would have been needed then it would be 2 factors.

SSN is alsp a stupidly bad usage as an authentication factor. A lot of people have access to it, it's not unique to the service and you can't just change it whenever you want.

NightlyDev··on How I lost control of our bank accounts to a phone scammer
No doubt that this person made a huge mistake, but...

Is this seriously a thing? A bank that uses one-factor login? Not only that, but a weak one too? This seems absolutely ridiculous. Why would anyone use such a terrible bank? Isn't the bank at least required to try to protect the customers money? It's usually not that hard to get a hold of a number belonging to someone else. Where in the world is this?

NightlyDev··on Private client-side-only PWAs are hard, but now Apple made them impossible
Sure they can, Apple would still have full control over push functionality. Web or native doesn't matter.
NightlyDev··on OBS Studio: Open-source software for video recording and live streaming
Lots of options: - Use Quick Sync - Lower your bitrate - Use a faster encoding preset - Lower your output resolution

If I remember correctly then your PC is a dual-core, and you can't expect a low-end machine to do high-res encoding well without HW acceleration.

NightlyDev··on Ask HN: Mobile devs who added Apple Sign In, what conversion changes?
Doesn't most services just create an account like normal when you sign in with eg. Google, if the email is verified? Then you can just use the forgot password and use your mail to log in without Google even if it was created with Google. At least that is my experience.
NightlyDev··on Private client-side-only PWAs are hard, but now Apple made them impossible
Yeah, cause everything in the browser is free, right?

Clearly it's A LOT of money for apple. If they didn't care about the money then they would just allow it so everyone could avoid receiving payments using apple and giving them 30 %.

NightlyDev··on Private client-side-only PWAs are hard, but now Apple made them impossible
Remember, harming webapps is Apple's agenda because only they benefit from it.

On the other hand, the web is mostly open for all, so most people benefit from it, not just Google.

NightlyDev··on Private client-side-only PWAs are hard, but now Apple made them impossible
Lucky us. We web developers really want to care about specific browsers like it's 2006 again.

IE6 must have been a great inspiration for Apple judging by their behaviour when it comes to Web.

NightlyDev··on Private client-side-only PWAs are hard, but now Apple made them impossible
By your logic they should just remove push notifications completely from iOS because it uses power. Wouldn't that be bad?

Web push is better than native app push when it comes to power consumption as web push is stricter on what you can do.

NightlyDev··on Stripe refunds: fees from the original charge are not returned
I haven't actively used stripe more than half a year, and I've really enjoyed it so far, except for some translation issues on stripe's checkout page. This change makes me somewhat uncomfortable using stripe.

Nordic countries has really good consumer protection laws and users can ask to cancel the purchase for any or no reason. Its also not allowed to charge the customer the fee, so this can become a issue.

It also sucks that the pricing for Norway is 1 % higher than our neighbours.

NightlyDev··on Sweden gives employees unpaid time off to be entrepreneurs (2019)
Well, that's highly dependendent on what country in Europe you compare it to, as it can go both ways...
NightlyDev··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
No, that is not what transactional mail means, you're wrong.

Things like friend requests are also transactional email by definition. So are those "you left your cart behind, want to complete the purchase?". That doesn't mean that you asked to receive it.

NightlyDev··on A guide to freelancing in Finland
"these countries have such high taxes and other restrictions, the only benefit to starting a business there are these programs"

Well, that's not true. You also have a good safety net if it doesn't work out. Quality of life, happiness, health care and education is also good or among the best.

NightlyDev··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
It's seems to be working though, everyone knows about the Nigerian Prince. He's really good at marketing.
NightlyDev··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
I don't know about you, but I usually don't want to receive notification emails. Did you explicitly ask for it? Good. Is this some stupid notification that I won't care for and was enabled by default? Congratulations on getting flagged.
NightlyDev··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
You can use you own server with eg. Postfix and Dovecot to do this, either with you own client or use Gmail to read and send the mail. The downside with using just Gmail is that mail will be delayed as Gmail doesn't check inboxes that often. Mail sent from can be stripped for any Gmail headers when being sent out, if you want.

I've used Gmail like this for maybe seven years to avoid gsuite and still have custom domains when using Gmail. The delay seems to vary based on how often there is new mail.

You could use a webmail solution or K9 mail to get mail instantly.

NightlyDev··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
A private service where you are very sure that subscribers wants and opens the mail? Easy.

A public service where a lot will be spam and unsolicited emails? Must be hell to run.

NightlyDev··on Tell HN: Mailgun lowers free-tier API from 10k to 625 emails per month
I've sent a lot of mail in the last 14 years, and it's not hard.

I spammed with invite mails to users friends back in 2008 and mail started to end up in spam for a while, but after switching to double opt-in for all mail and making unsubscribing easily available it went back to good. Add some periodic list cleaning of long time inactive subscribers and it works perfectly!

It does get harder if you have to account for bad users, but if you're the only user then you can make sure everything is good.

So, is it hard? That depends entirely on how wanted or unwanted the sent mail is.

NightlyDev··on Monoliths Are the Future
A lot of people seems to think that monoliths are a bad thing and microservives a good thing. That isn't the case. There is nothing wrong with monoliths.

Trying to make everything work as microservives just for the sake of it, or because it sounds cool is just a terrible idea.

Start out with a monolith, and if you later see a need to create a microservive, then do it, when you have more knowledge about the bounderies of the service.

I love creating high performance services and playing with containers. It sure is cool with microservives that can scale linearly over a lot of machines. I also enjoy using the latest frameworks.

But guess what, my first ever service is just using a cheap dedicated server, serves an average of ~250 highly dynamic webpages each second while still using less than 7 % CPU, on PHP and MariaDB. Last 12 years have resulted in about 6 hours of downtime. A couple of hours planned, a couple as a result of denial of service attacks and a couple when there was a power issue at the datacenter.

So what I'm trying to say is that more complicated doesn't mean that it's better.

NightlyDev··on Ask HN: What landing page do you love?
Yes. Safari is a joke - a bad one.
NightlyDev··on Ask HN: Haven't worked for a while, best guide/advice to start a hobby project?
You say you want to use python or nodejs, so just go with one of them and don't look back. It really doesn't matter what you choose, just start creating. Don't spend days upon days trying to predict issues that you might never ever have.
NightlyDev··on Does simultaneous multithreading still make sense?
That's not true. NIC queues and CPUs are still very important to get good performance on servers by pinning different queues to different cores.
NightlyDev··on How Complex Modern Headlights Can Be
Lazerlights are freaking expensive. Well above $10k was normal a few years ago.
NightlyDev··on How Complex Modern Headlights Can Be
Usually taillights turn on automatically when dark.
NightlyDev··on How Complex Modern Headlights Can Be
This is so insanely true. It is the most annoying thing ever.

"Well, it's not supposed to do that..."

You don't say!

← PreviousPage 2 of 9Next →