Better HN
topnewbestaskshowjobs
Log inSign up

cryptos

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

Submissions

comment 8mo ago · link · parent

Windows reputation is declining, so the operating system might be the actual crisis. Linux with modern desktops (e.g. Gnome 3) might fill the gap, but the market is far from broad adoption. Promoting and improving Linux desktop and apps would be a long endeavour, but betting only on Windows which degrades to a cloud and AI advertising surface might be fatal.

comment 8mo ago · link · parent

I fear that a redesign won't help in this (terminal) stage.

comment 8mo ago · link · parent

Do have any links to back this up? I'd be really interested.

comment 8mo ago · link · parent

Gradle could be used as an AI benchenmark on its own! The syntax of plugin DSLs changes all the time. Special credits could be achieved for handling old (Groovy) and new versions (Kotlin) of Gradle itself.

comment 8mo ago · link · parent

However, the cause it not really Java as such, but massive frameworks and tooling (e.g. Maven). Maybe AI will bring some fresh air to Java, because old truths might no longer be valid. But it will be hard to get rid of old habits because it manifested in AI training data.

comment 8mo ago · link · parent

Project Lombok rewrites code, however it misuses annotation processing.

comment 8mo ago · link · parent

My takeaway is that Go almost always prefers simplicity and not so much good software engineering. `nil` without compiler checks is another example, or designing a new language without generics. However the overall simplicity has its own value.

comment 9mo ago · link · parent

I don't like Bitwarden UI/UX. It looks not really polished. Especially the "folders" are akward. How the implemented it, calling them labels and designing them like labels would make way more sense. But the whole UI looks like software developers - and not designers - built it.

comment 9mo ago · link · parent

In the end, even Java code becomes machine code at some point (at least the hot paths).

comment 10mo ago · link · parent

This statement makes the Copilot key on newer keyboards even more questionable!

comment 10mo ago · link · parent

Nobody would spend the whole day typing on a virtual keyboard, so that change makes a lot of sense to me.

comment 11mo ago · link · parent

As others already pointed out, UUIDv7 is a solid choice and if you don't like the default representation, you can encode the underlying byte array with base62 for example, to get short, URL-friendly IDs.

comment 11mo ago · link · parent

That is not quite true. Google did much of the research OpenAI used to build ChatGPT. It is just that OpenAI came up with the first popular mainstream AI tool.

Just look what Google does with its Tensor Processing Units ... they are developing AI chips for a decade now!

comment 11mo ago · link · parent

... and now we have this damn copilot key on our keyboards!

comment 1y ago · link · parent

This story reminds of Scala. The language as such is also fine, but has (had?) a cultural problem. There functional programming fundamentalists always promoting the purest solution without solid reasoning - as if god had decided that only pure functional programming is your ticket to paradise. In addition, Scala comes also with powerful language features to build abstractions, like traits, generics, and almost arbitrary names for classes, objects, and functions. All that lead to a culture of unreadably "try to be clever" code. I'm not sure whether the Scala authors paved the way with methods like :\ (fold left) or whether that happened, because the language had the features, but I tend to assume the latter. It is a great responsiblity of a language designer to think about what others might do with the language later. Regarding language features the rule "when in doubt, leave it out" applies. See Go (although not my favorite language).

comment 1y ago · link · parent

So, basically Product Hunt has become a paid ads platform - only that you wouldn't pay Product Hunt but external service providers. I wonder why PH doesn't take the money directly and switch the business model to some kind of advertising auction. Might be more fair and transparent.

comment 1y ago · link · parent

I had always the same feeling. KDE looks okay at first, but on a second look it would be somewhat ugly in a subtle way. That never changed for me in KDE, so I stopped looking at KDE some years ago. But maybe it is the time for another look!

comment 1y ago · link · parent

The simple solution is to write everything (for the browser) in TypeScript instead and treat JavaScript only as the compilation target noone actually talks about. And compiling to JavaScript might also become a thing of the past with Webassembly. So, I think we shouldn't care about JavaScript as a name.

comment 1y ago · link · parent

Was the tool company named after this man?

comment 1y ago · link · parent

The first time I heard about Valhalla was 2014 (if I remember correctly), so more than a decade ago! However, I'm very happy how Java is engineered. It is really the exception that a technology is so carefully developed. Java is the technology you want for long-term stability.

comment 1y ago · link · parent

One reason for that Java style is that Java was not such a powerful language for a long time. For example lambda expressions were only introduced in Java 8 (2014) and before that developers need to work around this restriction. A common workaround were/are some annotations above of methods and some reflection magic on top. For example a life cycle callback method annotated with @PrePersist is basically the same a registering a _function_. The whole Lombok library is a massive hack to circumvent some inconveniences in Java (and in my opinion no longer needed).

comment 1y ago · link · parent

Nice overview of new features in Java 25: https://www.baeldung.com/java-25-features

comment 1y ago · link · parent

Great idea, but sadly only for macOS :-(

comment 1y ago · link · parent

What do you think will be the survivors of the AI business, once the bubble bursts?

comment 1y ago · link · parent

Especially yaml is overused these days. Kubernetes config or Helm charts (which in turn are also Kubernetes config) with hundreds or even thousands of lines are just horrible. XML with a decent schema would be a better fit - or to come back to the topic of the article: XML scales better.

comment 1y ago · link · parent

Or was the _software_ released, labeled with this tag? Sorry, to split hairs. ;-)

comment 1y ago · link · parent

There are some internal compiler APIs (so, not officially supported) and some external tools to do so.

comment 1y ago · link · parent

That is a key point in my opinion. A typical stack trace of a Spring (Java) application can easily be 1000 to 2000 lines long. That is not so common in Go, as far as I know (I'm not a Go expert ...).

comment 1y ago · link · parent

If Windows has Copilot built in, then it is obvious that the Emacs operating system needs something similar! ;-)
12345
22