Better HN
topnewbestaskshowjobs
Log inSign up

serial_dev

6,535 karma · joined Mar 8, 2019 (7y ago) · 1,560 submissions

Submissions

comment 2y ago · link · parent

If I Google SAW, I don’t get AWS as a result, I’ll reach out to them for you to change their name.

662.

Swift Java Interoperability Tools and Libraries(github.com ↗)

4 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

While everything you wrote I agree with, I’m not sure I arrived to the same conclusion. Alcohol, cigarettes, workaholics, social media apps all ruin the lives of the weak and those around them. Should we make them all illegal?

comment 2y ago · link · parent

Yeah, right… blocking has never helped with any of those.

comment 2y ago · link · parent

Extremely simplified, when you drive a sports car, you want to maximize power (work per unit of time), period, you don’t care about fuel.

If you want to go the farthest with a full tank, you want to maximize the total work (proportionate to traveled distance) for unit of fuel.

Reality for practically all cars are between these two extremes, you want to enjoy driving, go relatively fast, and still not wasting 25 liters for traveling 100 km.

comment 2y ago · link · parent

It’s the “chrome replacement we have been waiting for”, but (if I read this right), my data is still sent to Firebase? Also it’s a browser, not a “tinder but for cats” startup idea I’m writing for my cousin for a beer.

It’s not only not a smart engineering decision, it’s also a terrible product, reputation and marketing decision.

667.

Chat is broken. We're fixing it(clickup.com ↗)

4 points · by serial_dev · 2y ago · 2 comments

comment 2y ago · link · parent

I never understood why checked exceptions “are bad”, but Result types “are good”. To me they feel like conceptually the same idea.

comment 2y ago · link · parent

Well, previously you needed an intern working maybe an hour (of they actually wrote good content, obviously more), that intern needs food, air conditioning / heating, so I'm not sure which consumes less energy. Now you have it in a minute and for a predictable low fee.

comment 2y ago · link · parent

Blazingly fast is open source library lingo, startups are more pretentious.

comment 2y ago · link · parent

What an unfortunate naming, I thought I'd see some gravitational waves (as I have no idea what alphafold is).

comment 2y ago · link · parent

A password manager with some documentation and process could solve this.

What I describe is more or less what has been the standard at the companies I worked for, no secret sauce here, and I added some extra processes to address the questions you asked.

Get a password manager service (none of the keepass file thrown onto Google Drive), we used 1password, it's good enough I assume. Keep related items in one collection, don't mix unrelated items. Always save passwords in the pw manager, and make sure everyone does that, too. When someone joins, give them access to what makes sense. If someone gets promoted, add them to a new collection. Document who is allowed access to each collection if necessary. When someone leaves, kick them out of the password manager service first, then in a timely fashion, change the passwords (I don't know if you can do it automatically, but if churn isn't too bad, you can also do it manually). Save the new passwords in your passwords manager. As everyone uses the password manager, they will automatically get the new passwords without them even realizing it changed.

Some extra that's also important: if possible, use SSO and everyone uses their own account, eg Okta. Create and share passwords only if needed. When one off accounts are needed, make sure they are created with company email addresses, ideally named after a team rather an individual.

My experience is that most companies can't be bothered to change passwords every time someone leaves. Most people are not assholes, or want to go to court and possibly jail for messing around in accounts from their old companies (even if they could technically save the passwords for their own use for later).

comment 2y ago · link · parent

One of his points is that if you have a full time manager, this manager will make sure to do managerial stuff for 40 hrs a week, even if, for the team's success, you only need 10 hours.

In my experience this is true, managers who don't have enough legit stuff to do are the biggest time wasters because they want to appear busy and indispensable.

674.

We once more have no full-time managers at 37signals(world.hey.com ↗)

5 points · by serial_dev · 2y ago · 5 comments

comment 2y ago · link · parent

Writing what down? A bullet list of 30 items that "we added something that currently doesn't do anything or not used, but in case two years down the road, you need something, it might be close to what you need, so don't delete any of these unused items"? YAGNI is much simpler.

comment 2y ago · link · parent

Well, in your case it wasn't clear cut, but YAGNI is still a good default approach, I'd suspect maybe even in your case.

First of all, it wasn't guaranteed that this feature of yours would come. Even in this case, the feature came, you could probably add it with not too much effort, sure maybe a bit more than otherwise, but on a large project it's hard to guess the future. What if someone else would have taken that task, maybe they wouldn't even recognize why those columns are there and they could have just reimplemented it anyway.

Also, a year is a long time, and who knows how many times it would have caused additional work and confusion.

> A: hey why this thing here, it doesn't do anything / never actually used?

> B: I dunno, Alex added it because 'one day we might need it' (eyeroll), will get very touchy about if you try to remove it, and will explain how he/she can predict the future and we will definitely need this feature.

> A: and this thing over there?

> B: Same... just move on, please, I can't keep re-discussing these things every month...

And, if your team wouldn't have applied YAGNI, you would have 1 feature that was a year later needed, and probably around 20 that was never needed, yet caused maintenance burden for years down the road.

I dunno, YAGNI is one of the most valuable principles in software development, in my opinion.

comment 2y ago · link · parent

It's certainly not terrible, and I'll probably stick with it a year until I learn something else as well as I know Flutter...

But to answer...

Main reason, I'd like to ship software that isn't only good, but great. To create great apps, it needs to integrate into the OS/browser, and my experience with Flutter has been not great in this regard. The apps always look and feel a bit foreign. I'd rather write 3 separate apps (web, ios, android) that feel great, than ship something faster (if even...) that is so bad, sometimes I feel it's a spit in the face of our customers.

The mobile alternatives became much better: when they started, they were (as I remember) significantly better than the alternatives. Since then, RN became much better, Swift and Kotlin became mainstream, SwiftUI, Jetpack Computer came out, and in a couple of years KMP will also offer a pretty compelling alternative.

Flutter is spread too thin: I understand why they did it, it's great for marketing, and I know people who use it on web, desktop and embedded and are happy... To me, however, it feels like they added platforms before making iOS and Android work and feel great. I hate that I had to debug and pin dependencies that broke due to web incompatibility on an a mobile only app. IMO, it's so shjt on web it's laughable.

comment 2y ago · link · parent

I'm a Flutter developer starting to be a bit disappointed in the tech (and the community) and sceptical if it can really produce great apps, so I'm thinking about switching to something new in the coming years.

I decided to build a multiplatform app with SwiftUI to test out the waters. So far, learning SwiftUI and building an app is somehow both easier and harder than expected, but I'm glad to see something new.

I'm planning to write a series of apps in the next 6 months, so that I build confidence shipping apps with SwiftUI and maybe find a smaller contract with it.

comment 2y ago · link · parent

The article is about European sales though. I know some European people are obsessed with American politics as if there was nothing worth discussing that's European, but the number of people who knows and cares about whatever happened at Nancy Pelosi's house, then knows what Elon had to say about that, then deciding it's so egregious that they can't buy a Tesla anymore it's probably single digits.

comment 2y ago · link · parent

It assumes you know which one was first, the chicken or the egg.

One option is that the author found/got a referral deal with an alternative provider, so thought they could write this article complaining about a competitor.

Or... They were so pissed with Chase due to this nightmare they had to go through, they looked for alternatives, found something, so they mentioned it in the post.

Disregarding is fine as you don't know if they are honest, at the same time I wouldn't attribute evil intentions either.

It's like when a native iOS developer says the best apps are truly native. It could be that they tell you that so that you hire them and their niche stays strong... or they really believe it and that's why they are iOS developers.

comment 2y ago · link · parent

This sounds like the good old "having high test coverage is bad because I can get to 100% just by calling functions and doing nothing, asserting nothing with them".

100% test coverage doesn't mean your tests are good, but having 50% (or pick your number) means they are bad / not sufficient.

comment 2y ago · link · parent

So if I understand it right one option you seriously consider is... after the JS client feels right, you write a "core" language in C/Rust/Zig, then "wrap" it with Swift, Kotlin, and Dart?

comment 2y ago · link · parent

Do you have clients for Android, iOS, Mac apps, Flutter, Rust? If not, how hard do you think it is to implement a client for an additional language?

684.

Nothing is requiring employees to be in the office five days a week(theverge.com ↗)

3 points · by serial_dev · 2y ago · 3 comments

comment 2y ago · link · parent

But to me (not a native speaker), "person of color" is vague and misleading. I didn't even automatically know it's about the person's skin color. First I thought it means a flamboyant, over-the-top person.

If I think about colors in the scientific sense (black: lack of light, white: mixture of lights from all colors), the "person of color" expression would include everyone except black people, but how it is used, it includes everyone except white people (wherever we draw this "white-enough" line, depending on the context).

Why not just use "non-white person"?

1
222324
52