HNHacker News
TopNewBestAskShowJobs

NightlyDev

455 karma · joined June 28, 2016

submissionscomments
NightlyDev··on A Failed SaaS Postmortem
This is very true for me too. I used Vue frontend and php backend, it makes it more fun to work on the frontend, but it's definitely slower for me compared to just rendering everything serverside.

The more I learned, the slower I became. I think everyone who has been doing webdev for some years have experienced that.

NightlyDev··on A Failed SaaS Postmortem
You're wrong. I've been doing it for 11 years, and it really is simple and quick. Package-managers does most of the work and there isn't much config necessary to start out. You should give it a go.
NightlyDev··on Deploy-your-own-SaaS: “only yours” cloud services for everyday needs
Why should people not run their own email server? It's not like email is moving fast, so it's mostly set and forget. Automatic security updates are a thing, so it really is a non-issue.

There sure are things that require quite a bit of maintenance, but personal e-mail servers is definitely in the other end of that spectrum.

NightlyDev··on Ask HN: What's the most valuable thing you can learn in an hour?
Not sure what that is supposed to mean. It's ~9 % the last ~5 years.
NightlyDev··on Ask HN: What's the most valuable thing you can learn in an hour?
1 billion*

2 - 2.5 million calories a day is normal for people with a normal level of physical activity.

NightlyDev··on Bypassing GitHub's OAuth Flow with a Head Request
Making sure the referer is correct is good enough. Other sites can't without permission send requests with a referer belonging to your site, and that won't change, unless the spec changes, and that's very very unlikely.
NightlyDev··on Bypassing GitHub's OAuth Flow with a Head Request
I don't think $25k is a large payment in githubs eyes. There are much smaller companies that doesn't even blink spending ten times as much.

And this was definitely approved before they went out and told people what they would pay for different bugs.

NightlyDev··on Apple keeps the web second-class on iOS
Safari on iOS really is total garbage. Everything this person said is true, but he forgot a few things: It's really inconsistent. Adding a webpage to the homescreen usually makes the experience even worse as apple usually have two webkit versions for iOS. One for browsers and an even worse one for pages added to the homescreen.

Not only that, but the browser is so insanely full of bugs, with race conditions, keyboard that won't show up if you press the address bar (requiring people to quit the browser), scroll that isn't always working and so on. The amount of strange bugs are really impressive.

NightlyDev··on Webtest.app – Website Speed Test with and Without Ad Blocker
It just sucks that ad-blockers are so slow. Do you have a really fast page without ads? Then using a plugin for ad-blocking will make the experience noticeably slower, often going from no noticeable delay to "this isn't instant". Whitelisting the page doesn't really help much either, at least not in ABP.
NightlyDev··on AirPods Pro Page Performance
First off all, yes. On mobile(Note 10+) the first experience is lag when I start scrolling. Second, it has very little information and a bunch of scroll-points are just blank and a total waste of time, resulting in "oh, slightly further down, whops, too far".
NightlyDev··on I Miss the Old Internet
Put it behind cloudflare, problem solved.
NightlyDev··on PHP-FPM remote code execution bug exploited in the wild
Mod_php was always faster at executing scripts. There is less overhead as you don't have to communicate like you have to with fpm.

For light scripts this is far superior to fpm. On the other hand, always loading php does have it's downsides too as memory consumption can get quite high depending on the number of threads.

This is was also the reason for the fpm hype a long time ago: don't waste memory on php when php isn't needed. It had nothing to do with it running php faster.

What you should choose depends on your need.

NightlyDev··on Traffic lights worldwide set to change after a Swedish engineer saw red
"entering under a yellow is prohibited"

What dumbasses came up with that rule? Isn't the whole point of the yellow light to signal that it will turn red soon, and that people have to make a choice?

So if you drive up to a green light then you have to stop, wait for the red light and then drive when it turns green again to ensure that you're not running a yellow light.

NightlyDev··on Ask HN: Feasible Alternative to the MacBook Pro?
If you want something that works, and with little downtime, go for a Dell XPS laptop. Way better than every other manufacturer I can think of.

Next business day on-site repair is usually included, so if something goes wrong then it will be fixed very quickly as a technician will be sent to you with the necessary parts.

I love it when companies actually stands behind their products.

NightlyDev··on Twitter says it will restrict retweeting world leaders who break rules
Restrict retweeting? Ban the damn account instead.

Normal users gets banned, and one would expect world leaders to usually behave better than the average user and actually read the terms of service.

If Twitters simple terms of service is to complicated for world leaders then they should probably stay away...

NightlyDev··on Open-source apps removed from Google Play Store due to donation links
Donation pages, maybe. But there is a lot of categories on the play store where you have to use your own payment method or can if you want to.

Some examples are purchases that can be used outside the app, eg. cross platform purchases and things like transportation and finance.

NightlyDev··on The end of uBlock origin for Google Chrome?
Page-loads in chrome are usually really slow if you have an adblocker. ABP runs a bunch of JS on every load and the page load performance goes from being seemingly instant when the mouse button is released to having a noticeable delay. Sure, this is isn't really noticeable when the page already have a noticeable delay, but it sure slows things down for pages without a bunch of tracking and ads that blocks rendering.
NightlyDev··on Google wins privacy case: ‘Right to be forgotten’ applies only in EU
Where is the asterisk?

applies only in EU*

* Also applies in Iceland, Liechtenstein, Norway, and Switzerland.

NightlyDev··on Mysterious Avid Issue Knocks Out Mac Pro Workstations Across Hollywood
Beautiful? There's a reason why it got the name, it looks like a trashcan. And the old mac pro is filled with garbage(how fitting, right?). If it was any good then apple would have stuck to it, but it was garbage, so they didn't.

Now we have the new mac pro, and it's a big step up from the trashcan.

NightlyDev··on Show HN: A website speed test tool to compare uBlock Origin with plain Chrome
Adblockers in chrome are slow. Fast pages goes from having no noticeable delay to having one. Many times the latency is not uncommon. Sure, this is only a problem for really fast pages, but it's still really annoying.
NightlyDev··on Ask HN: PostgreSQL or MySQL?
InnoDB got fulltext search support nearly 7 years ago if I remember correctly...
NightlyDev··on A captcha that requires your computer to solve equations in the background
This isn't by definition a captcha at all. This is just slowing users down. Took forever to run on a phone too.
NightlyDev··on Typed Properties in PHP 7.4
I think it's well known by most developers using PHP. You can do the same to call a function on a newly created object.
NightlyDev··on Typed Properties in PHP 7.4
No, definetly not true. The backwards-compatability of PHP is insanely good, so upgrading is usually super trivial.
NightlyDev··on Typed Properties in PHP 7.4
This isn't completely correct. A few years ago JetBrains changed the license.

You get the version available when you pay, and then you get a year of updates, which you can only continue using if you renew the license.

So you can only use the version available as of the moment you pay for a license.

NightlyDev··on The Raspberry Pi 4 needs a fan
What are you guys using since you're talking about symbols?
NightlyDev··on Cracking My Windshield and Earning $10k on the Tesla Bug Bounty Program
Actually, input might be the better option as one rarely needs to accept HTML or such special characters.

It's also a more common to display or use data than storing it, so you don't have that many places where you can fail when you just convert the input before storing it.

It's nice to be able to trust all data coming from the server.

NightlyDev··on Twitter was down
Software is getting increasingly complex. Why? To ensure better uptime, amongst other things. The funny part is that all the complexity often leads to downtime.

A single server would usually have less downtime than Google, Facebook and so on. But Google and Facebook needs this complexity to handle the amount of traffic they're getting.

Makes me wonder why people are trying to do stuff like Google when they're not Google. Keeping it simple is the best solution.

NightlyDev··on Is this Paypal experience customary?
As a business I can confirm that.

"Oh, yeah, don't worry, 3D secure can't be forced for all payments, but we got you, we'll enable it when we think it might be abuse. Also, our seller protection covers you."

All the time: "Here is a customer that made 12 purchases during the last 13 months. We took the money, but you have to prove that the card wasn't stolen and that the customer got what he paid for. We didn't enable 3D secure for this transaction, so please fix this for us and we'll give you your money back. Also, if you don't we'll take some more money from your account. Seller protection does not cover this as services are in a gray-zone."

240K frozen and taken since 2012 and still counting! At least I've started to win all the cases, but it takes a lot of time. Time to switch to stripe where I can force 3D secure...

PayPal is a joke. A bad joke.

NightlyDev··on Justin.tv's Live Video Broadcasting Architecture (2010)
"F5 storms" are easy to handle. Intercept all keypress combinations for refresh and do what you want with it client side. (spread it out over time, use a high-performance endpoint to check if live or a combination)

Most people doesn't use the refresh button in the browser, so only a small amount of traffic will be uncontrolled.

← PreviousPage 3 of 9Next →