Better HN
topnewbestaskshowjobs
Log inSign up

wbercx

62 karma · joined Sep 8, 2013 (13y ago) · 37 submissions

Submissions

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

The largest table was 100 million rows. They could have had hundreds more tables.

comment 1y ago · link · parent

I'm still surprised What3Words isn't more popular outside of the UK.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

> Generally friends don't let friends use Mysql

What drives this sentiment?

comment 2y ago · link · parent

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.

comment 4y ago · link · parent

This is the one thing I wish I checked more thoroughly before I moved 5 domains from Gmail to Fastmail.

comment 4y ago · link · parent

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

comment 4y ago · link · parent

How would you interpret “+/- 10 years”?

comment 4y ago · link · parent

I found out about a WSL feature specific to Windows 11 today, after exporting an image from my Windows 11 laptop to my Windows 10 desktop.

https://docs.microsoft.com/en-us/windows/wsl/wsl-config#boot...

There's a few more on that page. I would not be surprised if more appeared over time.

comment 4y ago · link · parent

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?

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Even a Google search for it doesn't bring it up. Plenty of fanfare about the launch, but no actual product.

Already lost interest.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Ah yes, the dirty "but it was dishwashed!" utensils with yesterweek's meal still attached.

One thing I do not miss about working in an office!

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Could you elaborate on this?

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

You could still use MobX 4 though. It's equally well maintained.

comment 7y ago · link · parent

The Nexus 5X is a nice device. How long have you had it for?

comment 7y ago · link · parent

I'm not the only one then. "failures" instead of "fails" would've been clearer.

comment 8y ago · link · parent

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!

comment 8y ago · link · parent

Not only one of the most creative talks I've had the pleasure of attending, but also a good showcase of what happens when you fire this foot gun: https://www.youtube.com/watch?v=t7WraVE8rY8

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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.

comment 9y ago · link · parent

I happily use this too.

My only complaint is that I occassionally have to relink it to my cloud storage of choice to get syncing working again.

comment 9y ago · link · parent

I think you're talking about shortcut fusion.
12