Better HN
topnewbestaskshowjobs
Log inSign up

cryptos

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

Submissions

comment 7y ago · link · parent

Can you provide a linke to Google's paper? I'm really interested in it.

comment 7y ago · link · parent

Scala support in IntelliJ is ok, but still not great. There are some Akka constructs IntelliJ underlines in red for years and JetBrains doesn't fix it. I've never seen something like that with Kotlin.

The hard truth is that Scala was not designed with tool support in mind and it probably never will be. For example hierarchical implicit conversions, while powerful, are terrible for tooling.

comment 7y ago · link · parent

While Lektor doesn't look bad, I doubt it would be attractive for non-technical persons. I'm thinking of something more like Ghost, WordPress (with less features), but with static files as output.

comment 7y ago · link · parent

I wonder how easily people bind themselves to a certain provider. Since the appereance of Medium I waited for the day they try to monetize it and people would leaving for better options. The possibility to move away should probably considered before starting to use such a service.

My own website is based on Hugo. While the usage (especially the template syntax) is not exactly a joy to use, it works fine and fast for years now. The only thing I need is some web space to drop static files, so it would be really easy to move to another provider. However I wouldn't recommend Hugo to non-technical writers, since the configuration and template syntax would scare them probably away.

The world needs more "static CMS" software (instead of just "static site generators")!

comment 7y ago · link · parent

Finally the famous Notepad IDE is catching up! ;-)

comment 8y ago · link · parent

What is the trick to make it clickable? I've thought links were recognized by pattern (https?://...) .

457.

Ask HN: Why are Attribute-based Architectural Styles (ABAS) not used widely?

4 points · by cryptos · 8y ago · 3 comments

comment 8y ago · link · parent

UML is not as useful in pracitice as I had thought as student. Especially use case diagrams are more or less useless. Class diagrams are sometimes useful to get some overview. However class diagrams for design patterns are often harder to understand than the related code. The most useful UML diagramms are sequence diagrams and activity diagrams, I think. It can be really useful to illustrate complex flows. I think UML is mostly useful to illustrate small parts of a system and not as an overall design instrument (model driven architecture (MDA) in extreme cases).

comment 8y ago · link · parent

It sad for the UK, but maybe it can at least serve as a warning example to what populism leads.

comment 8y ago · link · parent

Besides Node.js the main competitor is is Java/JVM. C# is a bit nicer than Java, but you can use Kotlin or Scala on the JVM. All in all I see no real advantage over the JVM/Java world - more of the other way around, since the .Net ecoystem is not as big as the JVM ecosystem. However competition is always good.

comment 8y ago · link · parent

The market share of Linux is somewhat pointless here, since this share comes mostly from Android and from a user's (and app developers) perspective there is not much Linux specific in Android. Goggle's plan to replace Android with Fuchsia makes clear that Android is not so much about Linux.

comment 8y ago · link · parent

Neo4j seems to have performance issues: https://www.arangodb.com/2018/02/nosql-performance-benchmark...

And as far as I can remember from a former project the scalability is pretty limited (but this could have changed).

comment 8y ago · link · parent

The JVM uses the memory to optimize the garbage collection, so it is a tradeoff between memory usage and speed (favoring the latter).

comment 8y ago · link · parent

As much as I like Hugo, I recently stumbled upon the terrible Go templates! This is probably the strangest and most limited template engine I'm aware of. It might be nice in an application to actually limit what can be done in templates, but in a tool like Hugo where the user can not easily extend the core functionality, more powerful templates would be necessary. I hope Hugo switches to a more powerful template engine one day.

Besides that I agree with the assessment that these tools are from developers for developers. In the end a static site generator is more like a special kind of build tool and less like a CMS (what non-technical users would need).

comment 8y ago · link · parent

I really like the advide to think of the death of a loved one. This helps to put everything in perspective. When my father died suddenly some years ago, I felt a clarity like never before. All the fears, worries, and thoughts about unimportant stuff were gone. All that was important to me then was my family and my friends. My only plan for the future was to start a family and raise children. Now I'm a father of three and I can say that the loss of my father changed my life - a lot.

comment 8y ago · link · parent

You can easily have millions of coroutines on the JVM with Kotlin coroutines: https://kotlinlang.org/docs/reference/coroutines/coroutines-...

comment 8y ago · link · parent

The wikis of GitHub and GitLab are nice for developers, but I doubt that non-technical users will be happy with them. Inserting a link to a recently created page is really simple in Confluence, but there is no assistence in these wikis. Inserting a table is not simple, comments, alerts and so on are not on par with Confluence.

comment 8y ago · link · parent

I've experience with MediaWiki, and it was not very popular. The markup language is one of the worst I've ever seen. I would prefer good, old HTML instead. But, anyway, non-technical users don't like it.

comment 8y ago · link · parent

I know Zenkit but it is not a replacement for Jira. It could possibly replace Jira in some (not so complex) scenarios, but not Confluence. And the Zenkit Android app is a disaster.

comment 8y ago · link · parent

We have performance issues with Jira (cloud) and I fear the same could happen with Confluence in the cloud. Another point is license cost -- I think the price of Confluence is ok, but we have some confluence sceptics and a lower price would reduce the hurdle to introduce such a product.

471.

Ask HN: What is a good alternative to Confluence?

33 points · by cryptos · 8y ago · 26 comments

comment 8y ago · link · parent

Keep in mind that Google dropped the motto "Don't be evil." So this change is in compliance with Google ethics now.

comment 8y ago · link · parent

I don't get the point with Java feeling slow because of the slow start time (compared to C++). If I understand correctly Passenger is a server application and this kind of application is typically started rarely and long running, so the start time is a non-issue in most cases.

Another option could have been Swift, what is a more powerful language compared to Go.

comment 8y ago · link · parent

That is all very well and I really appreciate Apple's long support for iPhones, but Apple did popularize firmly bonded batteries in its phones and even in notebooks. A battery is a wear part and should be easy to replace. Every thing else leads to more waste.

comment 8y ago · link · parent

I'm not saying that clojure is bad, but if you look at any language popularity index it is very rarely used in general.

comment 8y ago · link · parent

The author compares Spring and Java EE vs. Node.js. But these three things can do very different things. It would be better to compare Node.js with something like Reactor or RxJava and a reactive Web framework like WebFlux.

> Dahl’s experience was that using threads made for a heavyweight complex system. He sought something different, and spent a couple years honing and refining a set of core ideals arriving at Node.js. The result was a light-weight system, a single execution thread, an ingenious use of JavaScript anonymous functions for asynchronous callbacks, and a runtime library that ingeniously implemented asynchronicity.

He cured the symptom with an oversimplified solution. Having only one thread per process is a severe limitation. It would have been better, to create good APIs (like Reactor or Kotlin coroutines) or language-level solutions (like Rust) to handle multi-threading.

> In Java. Listeners require creating a concrete instance of an abstract interface class.

That is no longer true, since event handlers can be defined as anonymous functions since Java 8 (from 2014).

> Another learning: Most programming languages obscure the programmers intent, making it harder to understand the code.

The author mixes Java the language, Java the platform and libraries/frameworks, so it is worth pointing out, that the Java ecosystem is not limited to the Java language. Using Kotlin or Scala would remove his reasons to complain.

> JavaScript, by contrast, has loosey-goosey typing. The theory is obvious: The programmer has no certainty what kind of object they’ve received, so how can the programmer know what to do?

You have to make certain assumptions to handle incoming data, but it would be good for robustness and security to make these assumptions explicit. And, really, converting a Json string into a Java object is a single line calling Jackson and maybe a few annotations.

The section about modules could be applied to Java 9+ as well.

comment 8y ago · link · parent

I hate this with Ubuntu, too. And then you see that you systems since <crazy name> are supported and you have to google to find out the actual Ubuntu release number and compare it to that of the target system. Annoying!

478.

What Comes After JDK 8?(azul.com ↗)

2 points · by cryptos · 8y ago · discuss

comment 8y ago · link · parent

I wonder if it would have been possible to blast a bigger hole in the rock to get the victims out more easily?

comment 8y ago · link · parent

Welcome to subscription hell: https://techcrunch.com/2018/05/06/subscription-hell/
1
151617
22