Spyke

Replies

Comment on

Lemmy 0.19 updates

Time zones are an endless source of frustration, this one doesn’t sound too bad though:

Going forward, all timestamps in the API are switching from timestamps without time zone (2023-09-27T12:29:59.113132) to ISO8601 timestamps (e.g. 2023-10-29T15:10:51.557399+01:00 or Z suffix). In order to be compatible with both 0.18 and 0.19, parse the timestamp as ISO8601 and add a Z suffix if it fails (for older versions).

https://github.com/LemmyNet/lemmy/pull/3496

meta

Comment on

Programming.Dev Feature Requests

Reply in thread

Feels odd for admins be able to prevent users from seeing content

My understanding is those admins aren't just allowing users to view it but also allowing copies of the federated data to be stored on the server those admins are responsible for, so for certain types of content it seems really important to be implemented in this way.

Comment on

How do you get your team to write tests?

Reply in thread

Focusing on code coverage (which doesn't distinguish between more and less important parts of the code) seems like the opposite of your very good (IMO) recommendation in another comment to focus on specific high-value use-cases.

From my experience it’s far easier to sell the need for specific tests if they are framed as “we need assurances that this component does not fail under conceivable usecases” and specially as “we were screwed by this bug and we need to be absolutely sure we don’t experience it ever again.”

Code coverage is an OK metric and I agree with tracking it, but I wouldn’t recommend making it a target. It might force developers to write tests, but it probably won’t convince them. And as a developer I hate feeling “forced” and prefer if at all possible to use consensus to decide on team practices.

Comment on

How do you get your team to write tests?

We can’t test yet, we’re going to make changes soon

This could be a good opportunity to introduce the concept of test-driven development (TDD) without the necessity to “write tests first”. But I think it can help illustrate why having tests is better when you are expecting to make changes because of the safety they provide.

“When we make those changes, wouldn’t it be great to have more confidence that the business logic didn’t break when adding a new technical capability?”

You shouldn’t have to refactor to test something

This seems like a reasonable statement and I sort of agree, in the sense that for existing production code, making a code change which only adds new tests yet also requires refactoring of existing functionality might feel a bit risky. As other commenters mentioned, starting with writing tests for new features or fixes might help prevent folks feeling like they are refactoring to test. Instead they’re refactoring and developing for the feature and the tests feel like they contribute to that feature as well.

Comment on

Data Analyst Seeking Advice

I am learning Python, R, and SQL

SQL is an excellent skill to invest in. Even though your current role doesn’t allow you to use it, there’s no substitute when pulling data from a relational db.

It sounds like you’re currently focused on data quality. Automatic data quality checks are common features of (good) data workflows so this could be spun as relevant experience if you end up seeking a role writing data transformation code.

printsf

Comment on

What book is an example of this?

Ready Player One has the worldwide virtual reality system owned by a single corporation with one shareholder, and ::: spoiler spoiler change of ownership determined by being the best at video games and trivia


:::

Mark Zuckerburg: “people will love it!”

Comment on

Best Pocket Throwers?

Reply in thread

This s6 config is awesome value and I don’t think you’ll be disappointed, especially running in 18350 mode.

Found this beamshot on the other site but I can also say from personal experience that theres a nicely defined hotspot for a tube light.

Comment on

Triple channel D4K coming soon

Reply in thread

Imagine you need (or just want) to carry several flashlights for different use-cases: seeing far away, seeing nearby, lighting up your campsite with a warm glow, or emitting a specific color.

Multi-channel lights aim to consolidate multiple use-cases into a single flashlight. And although 2-channel lights are available, this might be the first 3-channel available from a flashlight maker who allows customers to customize their LED choices from the factory.

Comment on

Help identifying job title

Reply in thread

Although your current role wouldn’t seem very senior at a large organizational, “senior“ is a relative term and at this company it seems like you are the engineer with ownership responsibilities over the end-to-end software development of a production system. So it might still be reasonable to use a senior title if there are other benefits