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

I'm not sure they are that similar.

There were so many significantly different Nokia phones at one point. I'm talking about after 3310, like 3220, 6600, 7610, 3660, 7600, each design is unique.

Apple has like two models (small and larger) at a time, and you can get them in a couple of different colors. The big design revolution is that they add rose gold or purple or whatever color each year so that the few people who care about showing off their latest model can do so.

comment 2y ago · link · parent

Huh, interesting.

It would be hilarious* if these cars really had a serious rust problem, and all the hipsters with their 60-100k cars will explain how rust is completely normal on a 3 years old car. Or that it is "cosmetic tarnishing".

* hilarious in the abstract, if it happened to you and you take a financial hit, I'm sorry

As one reddit comment mentioned, if people start wrapping this car, but the "wrapping" company is not doing a perfect job, moisture and dirt under the wrap can wreck the car without owners noticing it for a long time.

However, I'm not sure if the issue is really widespread, I'd imagine we had more photos if it were. I guess we will see.

comment 2y ago · link · parent

I feel obligated to share my counter example of anecdata.

Current team of 12, 9 are young parents, other 3 in committed relationships (international team based in North America + EU).

Previous team was around 50% parents, but people went on parental leave all the time, so the number kept increasing (company based in Germany, and basically the German half of the team had all the babies, the immigrant half almost none which is interesting).

And my brother and I got our first kids the same year, so the cousin bit is also covered.

comment 2y ago · link · parent

HTML Spec:

> 7.2.2.3 Named access on the Window object

> window[name]

> Returns the indicated element or collection of elements.

https://html.spec.whatwg.org/multipage/nav-history-apis.html...

comment 2y ago · link · parent

I totally agree, it was a dysfunctional org, but sometimes fixing the org is extremely hard and you want to make progress today focusing on what you can do to improve the user's experience, instead of focusing on what others should change and do.

906.

I Read the Entire Neovim User Manual [video](youtube.com ↗)

2 points · by serial_dev · 2y ago · 1 comment

comment 2y ago · link · parent

Example: you work on the mobile team, the backend team is large and focuses on serving the web app, they send huge JSON payloads that the mobile app only partially need, and asking the backend team to now also serve msgpack is out of the question as things together with the backend and web teams were proven to be a PITA.

In this scenario, writing a new, or bundling someone else's json library can significantly improve things.

comment 2y ago · link · parent

Would this also make sense for video recordings, educational content on YouTube? I wanted to give making educational YouTube content a try, but the whole setup and video editing were just daunting.

909.

OpenAI Considers $7T Round, Thinks It Can Double Revenue by 2025(decrypt.co ↗)

9 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

> We're talking hundreds of static sites where he took the all the design docs and static HTML/CSS/JS files one would need to recreate them somewhere else.

You make it sound like he poached your clients or extorted your company. As they didn't go after him legally, I assume that didn't happen.

I assume all the files are on a thumb drive in his drawer, unopened, just in case he wants to remember how "that cool animation" was implemented. And when that moment comes, he will not find the thumb drive, anyway.

And all that security charade will accomplish is that people who care enough about their work, will make a copy the day before they quit. Congratulations, your policy achieved nothing, except get rid of their two weeks notice and everyone feel a bit worse working for you.

comment 2y ago · link · parent

That's not been my experience with hybrid work at all.

The days in the office were always unproductive, as you work on a new desk, need to set up your work station (which gets even worse with hot desk approach). You also couldn't really count on having all the meetings in person, as someone always had to stay at home for some (probably quite often, bs) reason, so now you have 5 people in office that need to Zoom because 2 stayed at home.

After a couple of you realized you won't get much done in the office, you use the time in the office to chat about things, most often not about work. When it's about work, it's in a negative light about silly decisions the company / team has been making, things that annoy you to no end, you can "casually" discuss alternative companies that hire your kind of talent. In person, it's much easier to talk about these things casually.

With hybrid work, you also can't hire people that aren't reasonably close to the main office.

comment 2y ago · link · parent

You can stay home and keep things the way they were, and management does not need to fire you or confront you because they can tell others (who were to meek to stand up for themselves) that "he/she is working on it" indefinitely. They can save face as you not challenge their authority directly and also don't need to fire you because you pretend to be collaborating, and you going back to the office could happen any time soon.

That's a really good approach, that's also what I'd use if I can't find a better alternative.

comment 2y ago · link · parent

They are not interchangeable but there is an overlap.

For normal code bases, this overlap is relatively small (do not need to validate input types, don't need to automatically convert strings to numbers, convert single items to lists, etc), but as you take advantage of the type system, the overlap can become slightly larger (wrap your types, create separate types for validated values, make impossible states impossible).

Granted, no matter how much of a genius you are with the type system, there will always be place for testing, I hope everybody understands that.

comment 2y ago · link · parent

I might just be naive, or you and I worked at places where different practices were implemented, but...

...should a DBA really SSH into the machine and run arbitrary schema changes willy-nilly?

In my ideal workflow, the database admin should write a migration script, open a PR, get it reviewed and merged, released to a staging environment via CI/CD, and when nothing blows up, a CI/CD process should run the schema changes on production.

At any point, you can track down how your database schema looks like, and nowhere in the process I need to worry about the unfortunate case of "oh, yeah, that table, yeah that table looks completely different because Tom was firefighting yesterday night, we have no idea what he did or when, but hopefully we didn't lose any data".

In the environment that I described, sqlx fits in perfectly

(and the DBA would probably get a good talking to for goofing around on live systems in ways that leaves the whole team in the dark, but that's a different issue)

915.

Torvalds Speaks: Rust attracts young developers to kernel [video](youtube.com ↗)

12 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

It might be a naive question, but why don't they just keep printing the book, if it was a hit?

There is a section on the website that says: "The book is almost sold out. A small remainder of books will be available to order in late 2023 or early 2024"

I was looking for some beautiful books about technology, so I'd love to buy the book, but I can't, and now I have to hope that I won't miss that email.

Or is it just a sales tactic like booking.com's "there is only one room left" banners?

917.

CommandFlags.h File Reference (2023)(web.archive.org ↗)

1 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

They are at 3%?! I didn't know I'm witnessing the death throes of the company. It looks like it will take a while, and I'm sure for some people, they will still benefit from it, but I don't see how they will come back.

comment 2y ago · link · parent

> The DFCI (...) had already been investigating some of the papers in question before David’s blogpost was published, says the centre’s research-integrity officer, Barrett Rollins. (...) (Rollins is a co-author of three of the papers that David flagged and is not involved in investigations into them, says DFCI spokesperson Ellen Berlin.)

How naive do they think people are?

920.

$50k revenue in one year(indiehackers.com ↗)

2 points · by serial_dev · 2y ago · discuss

comment 2y ago · link · parent

The "Work with code on any machine" is confusing because it's not what you expect by glancing over the headlines. In the section they describe what they actually meant by it... It means that you can collaborate with others who have zed installed and run things on their computer, edit code etc.

I vaguely remember them being on the Rust podcast and I believe they said that they want multiplatform support but they first need to nail it on one platform before they go for the next.

https://rustacean-station.org/episode/antonio-scandurra/

comment 2y ago · link · parent

(2022)

comment 2y ago · link · parent

I was very confused about Black Lives Matter's role here... BLM in this context refers to bBureau of Land Management.

comment 2y ago · link · parent

You can develop and improve your appreciation for cheese, you don't need to be born in France or Switzerland for that.

I'm not from one of the big cheese nations of Europe, when I grew up we had one kind of cheese for everything, but a couple of years ago I tried to broaden my palette, buy everything I could in local shops and supermarkets, and remembering twenty different kinds of cheese is not difficult.

What also helps is that these cheeses are significantly different, so Emmentaler, Camembert, Parmigiano Reggiano, Mozzarella, Bavarian Blu, Manchego, Pecorino, Gouda, Feta, etc, they all are very different, and most supermarkets in Europe have them all, so you can try out things easily.

comment 2y ago · link · parent

I guess having your config as a text file in a public repo instead of a multi GB private file can be nice.
1
303132
52