HN user

wbercx

62 karma
Posts0
Comments37
View on HN
No posts found.

Nice.

I’ve noticed that many light themes use relatively bright colours for text, and I’m finding them increasingly difficult to read.

The orange used in the explorer view is just bright enough to become slightly blurry to me, causing me to squint.

I may not have that issue if you use the same orange found in the syntax highlighting, which seems slightly darker to me.

MySQL at Uber 1 year ago

What sort of quirks have you run into?

I find myself having to STRAIGHT_JOIN more often than I would like because it simply won’t generate sensible execution plans sometimes.

MySQL at Uber 1 year ago

Generally friends don't let friends use Mysql

What drives this sentiment?

Wonder why. We’ve got thousands of conditionally rendered components on a pretty interactive scheduling screen. One click can affect all of them but everything feels instantaneous.

Our bottleneck was that we have so much data, making it all observable up front led to slow initial load times and high memory usage. We now make things observable on demand which has eliminated a lot of that.

The Best iPhone 4 years ago

Yeah, interesting. In The Netherlands it is commonly used to mean "more or less", or "approximately", unless it is used in formulas.

PHP 8.1.0 5 years ago

I don't find these kinds of what-ifs very useful. I haven't used Rails, but does it somehow prevent you from accepting user input and programming it to go where you say you want it to go? Isn't there an element of "holding it wrong" with any language or framework?

I deleted mine from Facebook years ago, and it periodically still tries to entice me to verify my number with it prefilled.

With that said my details do not appear to have leaked.

I've had several of our users call up over the years, angrily asking why we made certain fields in our app "dropdowns" with rubbish in them.

Chrome decided to add autocomplete to some of our fields with contextually irrelevant options. As far as I know there isn't anything I can reliably do about it.

I too can't shake the feeling that hooks are off. I like JSX and the component model.

In React and like-minded projects, I look at a stack trace and see that it starts at some kind of batch renderer. I can't tell "why", "how" or sometimes even "what" broke. The input part of it is completely lost.

I work on a Backbone application where stack traces are much more obvious. They usually tell you the whole story. I find that juniors who were mostly exposed to React have a tendency to completely ignore stack traces, and am now wondering if they are just conditioned to them being unhelpful.

I do appreciate those rules because they lead to a higher quality listing.

I had a bugfix update rejected a little while ago for a business app.

Apple wanted a video walkthrough of every screen in the app, explaining what each screen is for and with a breakdown of device permissions needed on each of those screens. That day was a complete write-off. If the app required excessive permissions I could understand there might be some concern, but it doesn't. Any permissions we do need are justified in the info.plist as required, and are very descriptive.

They then rejected it again the next day, as I had apparently failed to mention what we use ARKit for in the video. We don't use ARKit and it is not in the codebase.

Another day goes by and they finally approve, with a friendly disclaimer that they will now require an updated video with every future update.

It just seems like busywork to me.

I listen to a few infosec podcasts when I'm out and about, and Spotify frequently forgets how far into an episode I am, or it just randomly jumps back half an hour. Only when I realise things sounds oddly familiar do I notice it happened yet again.

I cross a particularly busy intersection here in Melbourne as a pedestrian every day.

At least once a week I see people who are too busy playing with their phones to realise all the cars in front of them had already driven off, the traffic light was now red again, and pedestrians were about to start crossing. The sudden realisation then makes them slam the accelerator without checking their surroundings first.

At the same intersection I witnessed an accident where the first driver in line was playing with their phone, got spooked by someone honking, and ran the red light straight into traffic.

It's like they're tricking themselves into thinking they're paying enough attention.

If the `x` in the example was a const, it would throw an error because the code attempts to assign the value of `y` to `x`. You cannot assign a new value to a const.

Service Workers 8 years ago

Thanks for this! I've recently been asked how much data our React Native app uses. I totally hadn't thought of using Axios' interceptors to track this. So obvious!

I think it's important to appreciate that while RAM itself is cheap, the same is not always true for upgrading it. A lot of people these days use laptops where RAM is soldered on, and is not upgradeable after purchase. And they may not have had a choice if the machine was provided by the workplace.

Trying to keep RAM usage low doesn't hurt anyone.

What I personally care more about is CPU usage, because it affects the battery life of my laptops. Why is VS Code using 10-20% CPU when I have it open in the background? This behavior seems to come and go with each VS Code update, even without additional extensions installed.

AWS icon quiz 8 years ago

And why "Amazon" EC2 but "AWS" Lambda? It throws me off every time I look at an alphabetically sorted list of the services. Granted, Microsoft slaps "Azure" in front of some of their services, but Amazon seems to optimise for having "AWS" and "Amazon" mentioned together as many times as possible, as if we need to be reminded.