Better HN
topnewbestaskshowjobs
Log inSign up

cryptos

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

Submissions

comment 2y ago · link · parent

I'm a JVM guy, but this is a good one :-)

comment 2y ago · link · parent

I'm still with Gradle, but my feeling is the same. Gradle comes with some very good things, but the typical Gradle configuration is an insane mess!

However, not everything is magically better with Maven. It is slower (although the Maven daemon is an improvement), the XML config is a bit verbose and modules are not as straightforward as with Gradle. But the convention over configuration approach (without exceptions like in Gradle) makes maintenance way easier.

comment 2y ago · link · parent

I wouldn't teach Pascal any more. While the ecosystem around it is not quite dead it is not alive either. So, everything feels a bit fallen out of time. At least to me it would be demotivating to learn the Latin of computer science.

I would rather pick Python or Kotlin.

comment 2y ago · link · parent

"Advice for new software devs who've read all those other advice essays" Ha! That reads like someone is trying to lure new developers into recursive essays! Be aware! :-)

comment 2y ago · link · parent

I have the vague feeling that way to many manager with poor technical skill make decisions like "We're going to the cloud. All-in!" or "Use a cloud-native™ approach!" without understanding all implications or to tackle problems (like fossilized business processes) that have nothing to do with the server infrastructure as such.

comment 2y ago · link · parent

But what would be the definition of "cloud" then? I'd say it boils down to managed services, so that you don't have to care about basic system configuration, hardware or networking. The only thing 37Signals outsourced is the hardware part and basic network infrastructure. That is pretty much what was known as "colocation" in the pre-cloud era.

comment 2y ago · link · parent

See also this talk: Why Static Typing Came Back, Richard Feldman, GOTO 2022

https://www.youtube.com/watch?v=Tml94je2edk&list=PLEx5khR4g7...

comment 2y ago · link · parent

But would Go really reduce the "ceremony" compared to C#? I doubt it. Just look at Linq (functional programming APIs in C#) and compare this to the typical Go approach with auxiliary lists and for loops! Or what about error handling? Or null safety? Not that cool in Go, I think.

comment 2y ago · link · parent

I would suggest Kotlin. It is concise and readable and the language itself is a bit leaner than C# (delegates are, in my opinion somewhat redundant, if there are first-class functions, for example).

comment 2y ago · link · parent

I agree with the author that "developer experience" is underrated in many programming languages or frameworks. But at least for me Ruby is by far not the number one in this area. While the syntax looks nice at a first sight, lack of type information and meta-programming can make working with this language tough. And there are other factors to pick a programming language, runtime performance for example. I guess that this and the absence of static typing are the reasons why Ruby fell out of fashion.

For me Kotlin is the sweet spot in programming language. You get a concise, readable language with world class tool support, static typing and the excellent performance of JVM + everything available in the Java ecosystem.

comment 2y ago · link · parent

Never argue with idiots. They drag you down to their level and beat you with experience.

comment 2y ago · link · parent

Training and technical security measures shouldn't be treated as alternatives. Even trained programmers produce bugs and security issues, if at least some of them can be prevented by an additional safety net, then it would be stupid not to use it.

comment 2y ago · link · parent

It looks like "the better WordPress" already exists: https://ghost.org/vs/wordpress/ (at least the Ghost makers say so)

comment 2y ago · link · parent

> Well done on inlining the stylesheets. Having zero subresources has a way bigger effect on page load time than people tend to expect.

Is that still true with HTTP/2 (or newer)?

comment 2y ago · link · parent

This is really enough to make it on the front-page of Hacker News? Posting a link to a programming language that is around for 16 years and not exactly an insider tip.

comment 3y ago · link · parent

It looks like Elon wants X to die the martyr's death. He could as well pull the plug today ... X is doomed.

comment 3y ago · link · parent

Maybe "join" like in databases?

comment 3y ago · link · parent

"zip" as a metaphor for compressing something makes even less sense than the zip in functional programming - actually "zip" for compression doesn't make any sense at all. But maybe zip in the context of compression was never meant as a metaphor.

comment 3y ago · link · parent

This could have been an article worth reading, instead it is chunked in tweets (or whatever they are named now) on X. I'd be interested in the topic, but hate the reading experience to much to read it.

comment 3y ago · link · parent

"statii" doesn't exist. It is "status" (with a long u) or "statuses".

comment 3y ago · link · parent

It is even easier: https://www.classnamer.org/

comment 3y ago · link · parent

I miss the old web, where everyone had a little website at (sometimes small) web hosting company and had everything under control. Blogspot is not the first blogging platform that disappears and won't be the last.

Maybe, there is something missing in the blogging ecosystem. I'm thinking of an easy to use GUI based blogging platform that generates static files. Basically something like a static site generator (Hugo and friends) with a nice UI + something to publish the result to whatever server is configured.

comment 3y ago · link · parent

I'm waiting for the OpenAI movie! :-)

comment 3y ago · link · parent

> The main issue is that none of them match the long tail of formatting logic of prettier. I'm putting up a $10k bounty for any project written in Rust that passes > 95% of the prettier JavaScript tests.

95 % is not the "long tail" in my opinion. Maybe 100 % is too hard, but 95 % is rather low.

comment 3y ago · link · parent

As far as I understood, they are using Gradle as back-end only to test the idea. If it works as intended, Gradle would be replaced by a new build tool.

comment 3y ago · link · parent

I like the idea, but I don't like that this is one more system that should be configured with YAML! Why not something cleaner and more robust like TOML?

https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...

comment 3y ago · link · parent

    - We will continue to use Bugzilla, moz-phab, Phabricator, and Lando
    - Although we'll be hosting the repository on GitHub, our contribution workflow will remain unchanged and we will not be accepting Pull Requests at this time
    - We're still working through the planning stages, but we're expecting at least six months before the migration begins
I understand that this could make sense as a first step, but I guess they could profit if they would go all-in with GitHub and use the tools it offers. Phabricator (https://www.phacility.com/phabricator/) is even deprecated! And who likes to file bugs in Bugzilla?

As sad as it is, I see Firefox losing ground even on the developer side.

comment 3y ago · link · parent

I have experienced both sides. First, I've written my own generator in Python (about 300 lines) but the code was not exactly maintainable and adding features like tagging was hard. So, I looked around and picked up Hugo. While I don't like the template engine it was not too much work, to set it up and offered everything I wanted. But Hugo comes with braking changes all the times! Plus the Hugo developers don't know what semantic versioning is, so you have to figure out whether a new release works with your configuration or not.

Now I'm on the verge to write my own generator again (probably in Kotlin or in Rust), because I'm tired of Hugo's breaking changes and because I still don't like the ugly Go templates.

comment 3y ago · link · parent

> a CRUD app, which covers the vast majority of business software.

Saying that most business applications would be CRUD applications doesn't reflect the reality very well. While technically everything could be broken down to CRUD operations, this term becomes pointless once a relevant amount of business logic is needed to perform the final (database) insert, update or delete. There is a reason why Domain-Driven Design exists (and RoR is, by the way, not the best framework to apply it).

comment 3y ago · link · parent

Is there an advantage over AsciiDoc? In my opionion AsciiDoc is really powerful and offers anything an author of academic papers (and blog posts) would need. The output is also not limited to html.
1
567
22