Better HN
topnewbestaskshowjobs
Log inSign up

cryptos

1,795 karma · joined Sep 13, 2012 (14y ago) · 645 submissions

Submissions

comment 2y ago · link · parent

The comparision with Gradle is not up to date. There is stated that you would end up in an untyped mess of Groovy build files, but statically typed Kotlin files are the default for quite some time now in Gradle! https://mill-build.org/mill/0.12.1/comparisons/gradle.html

comment 2y ago · link · parent

The UX is exactly the reason why a stayed away from Bitwarden.

comment 2y ago · link · parent

I did that for quite some time, but I had severe issues with multiple editing users and with android apps. All the tricks I tried, like nested vaults didn't fully work in the end. So I ended up with 1Password.

comment 2y ago · link · parent

I completely agree with you! Almost everyone needs to store more than only usernames and passwords for websites. Think of PIN for credit cards and the like.

comment 2y ago · link · parent

Moving to Linux is not an option for everyone. I like Linux for development, but from time to time I use other software (e.g. graphics software) that is only available for Windows and macOS. Hopefully more commercial software will be available for Linux in the future.

comment 2y ago · link · parent

This historic story has even inspired a movie with Michael Douglas: https://en.wikipedia.org/wiki/The_Ghost_and_the_Darkness

comment 2y ago · link · parent

Too bad .io became the hipster domain of the day. It was a bad idea to misuse a ccTLD for coolness in the first place ...

comment 2y ago · link · parent

I like the idea to pay for quality content - or search results. If you don't pay for it, someone else will and the "sponsor" will probably have different objectives than you. So, you won't get the best information and it would be likely to waste money because of that (e.g. buying an advertised low-quality product).

comment 2y ago · link · parent

You speak from my soul! An often underestimated fact is the future growth in features and complexity. Following the CRUD way this might easily end up in a mess, where you can hardly see domain concepts in all the technical code.

comment 2y ago · link · parent

I see one obstacle by this transparency approach: How to create a fair measure for "impact"? I would say that it is very hard to measure the actual impact of a senior developer. He gives advice here and there, he influences decisions in a good way, he asks the right questions, he recognizes risks early and so on. All that can hardly be measured.

comment 2y ago · link · parent

In what a cave of nerds am I in here?! :-D

comment 2y ago · link · parent

The statement that everything boils down to CRUD is not wrong, but also not very useful. Whether you should think of some operation in CRUD terms or not depends on the level of abstraction you are thinking in. Create, Read, Update, and Delete are mostly technical terms that might not have a well defined or understood meaning in a certain domain.

Therefore, I would suggest to use "CRUD" terminology mostly the more technical parts of the application (e.g. some adapter to communicate with a database) and to use business terms (from the "ubiquituos language", as it is called in domain-driven design) otherwise.

I once had a coworker argueing against DDD ideas with the killer argument that it would be only "CRUD". But it was in no way useful to think about the problem in these terms. Later it turned out that we had quite some business logic and that "CRUD" wouldn't have been very helpful to express that.

comment 2y ago · link · parent

The interesting question is: What will Sonos change to make sure that such a desaster will not happen again? Besides some software engineering challanges I see a big failure in the approach to user experience design. It looks like hardly any real user was involved, but that is key to UX design.

comment 2y ago · link · parent

More businesses should work that way! I especially dislike these catchy 0 €* (or 0 USD) offers from other providers where all the truth is in the *.

I really whish that Hetzner continues to evolve the cloud business, so that more kinds of managed services could be booked.

comment 2y ago · link · parent

I don't think that prefixing IDs with some semantic "type" is not such a great idea, because it makes IDs unnecessary long (and inefficient) and because it is basically a mixture of the actual data and a type, but we have typing systems for that. In general it is also not really an advantage. In case of URLs like http://example.com/items/0190b12d-5ed1-72f5-964c-2252afd2da7... "items" is already the "type". To avoid confusion on the server side the value extracted from the path could be put into some object like an ItemId (basically a typed wrapper around a UUID).

106.

Ask HN: What bothers you most about Scrum and how could it be fixed?

17 points · by cryptos · 2y ago · 53 comments

107.

Litelok X1 Review: Out Grinding the Angle Grinders? – The Best Bike Lock(thebestbikelock.com ↗)

2 points · by cryptos · 2y ago · discuss

comment 2y ago · link · parent

What I notice reading some of features is that Markdown is insufficient for that. For example Markdown dosen't support captions or side notes. AsciiDoc would be a much better fit for such cases.

comment 2y ago · link · parent

Now we need another round of the language battle, because now this approach needs to be implemented in Rust, Go, Zig, Nim ... you name it!

comment 2y ago · link · parent

Luckily there is Kotlin that gives programmers a nicer interface to the JVM.

111.

Celebrating Kotlin 2.0: Fast, Smart, and Multiplatform(blog.jetbrains.com ↗)

3 points · by cryptos · 2y ago · 1 comment

comment 2y ago · link · parent

To make this secure, some secret salt value needs to be added before hashing.

comment 2y ago · link · parent

You're right that including the Gradle wrapper is a common good practice for years. But if you have to or want to move to a newer Gradle version than you can enjoy the full randomness of the domain specific language from Gradle itself and from a thousand plug-ins.

comment 2y ago · link · parent

What you say about Gradle's instability over a long time is so true. Even code snippets from 3 to 5 five years ago seldom work without some (more or less random) adjustments.

comment 2y ago · link · parent

My impression is that inheritance is in many common programming languages the easiest way to share code. Sharing code in another way would require some more thoughts and sometimes code, so the lazy programmer takes inheritance.

Traits as a general concept would be very useful in many programming languages, but only some (like Scala) have proper support for it. In principle a Java interface with default methods (implemented methods) is also something like a trait, but very limited compared to traits in Scala. I have no statistics, but my impression is that inheritance is much less used in Scala, because the language has an easy to use alternative.

Another example is Go, where structs with their associated methods can be embedded, what is exactly composition supported by the language. Since Go doesn't support inheritance, programmers obviously needs to use this approach, so you would never see inheritance in Go programs.

So, my conclusion is that the usage of inheritance depends on what the language supports and how easy it is to use.

comment 2y ago · link · parent

Yeah, but that is what makes engineering interesting. You always have to find the right balance with your trade-offs.

comment 2y ago · link · parent

First the planes crash, then the company crashes.

comment 2y ago · link · parent

Isn't accounting "finance engineering"? :-)

119.

Font Readability Research: Key Difference Between Serif vs Sans Serif Font(geniusee.com ↗)

1 points · by cryptos · 2y ago · discuss

comment 2y ago · link · parent

Although I like Kotlin better, I'm really impressed how Oracle continues to improve Java. Some developers think Java is an old, cumbersome language, but it is indeed such a productive language and ecosystem with outstanding quality! Java has quite good support for functional programming, concise and immutable structs (called "records"), pattern matching, string templating, virtual threads, structured concurrency (preview for now), a vast ecosystem with outstanding quality, world class documentation, a fast and robust runtime and so on.

Even after nearly 30 years, Java is still a good choice to start something new (e.g. a startup).

12345
22