HNHacker News
TopNewBestAskShowJobs

readittwice

531 karma · joined September 3, 2016

submissionscomments
readittwice··on Using Java 9 Modularization to Ship Zero-Dependency Apps
Ah thanks, I got confused because you mentioned Java 9. I really hope Substrate VM or something similar gets into the JDK. Having the option of AOT-compilation or using jlink for bundling would be amazing.
readittwice··on Using Java 9 Modularization to Ship Zero-Dependency Apps
If you are talking about Java's AOT feature (JEP 295: http://openjdk.java.net/jeps/295) then I don't think it is true AFAICS. The JVM is still needed, Java-Code can be compiled into a shared library but this is "just" a code-cache that can be passed to the JVM when starting the application. This feature is mainly aimed for improving startup.
readittwice··on More Gotchas of Defer in Go, Part II
I am not sure about this. Swift for example also has `defer` statements but its behavior differs from Go's. Swift executes defer statements at the end of the block, not the end of the function. And AFAICR Swift doesn't evaluate the parameters right away like Go does. If you have already read how defer works in detail in Go, you probably already know this. Devs new to the language or those that haven't used defer in those cases might still be surprised when this shows up.
readittwice··on A Look at the Internals of 'Tiered JIT Compilation' in .NET Core
Java seems to have a similar initiative called "Project Metropolis" to (re)write some stuff in Java instead of C++: http://mail.openjdk.java.net/pipermail/discuss/2017-Septembe...
readittwice··on Cavium Is an Arm Server Contender
I am not sure if you have seen this review from Qualcomm's Centriq by Cloudflare, but at least for others it might be interesting: https://blog.cloudflare.com/arm-takes-wing/

In the conclusion they mention: "The largest win by far for Falkor is the low power consumption." (Falkor is the name of Qualcomm's Core).

readittwice··on Why Go and Rust Are Not Competitors (2015)
I suppose that "high-deployment costs" also includes JVM/application startup and warmup.
readittwice··on “It is never a compiler error”
> The sort() function was using a bubble sort. (This is of course a bad choice, and I think the maintainers plan to replace it.)

There are some valid use cases for Bubble Sort for small and almost sorted arrays (although Array.prototype.sort sounds like a very general solution, which I suppose is not a good idea). I've seen this in JavaScriptCore where they use Cocktail Sort (a variant of Bubble Sort) for sorting in some situations. They also added some performance numbers and explanation in [1] that show that it's faster than e.g. std::stable_sort. I actually tried to write an Insertion Set (which is supposed to be better than Bubble Sort), but couldn't get it to perform better than their Cocktail Sort implementation.

[1] https://github.com/WebKit/webkit/blob/master/Source/WTF/wtf/...

readittwice··on Go, don't collect my garbage
I would love to see an in-depth analysis why Go's GC behaves this way for this specific benchmark in the first place. Just playing around with different values for `GOGC` seems like guess-work and could just paper over the underlying real issue. I know this probably requires to read the GC's source code, but that would've been certainly been very educational.
readittwice··on Süddeutsche Zeitung Became the Go-To Place for Leaks Like the Paradise Papers
Your article is from 2016, while I was walking about 2015. This is pretty important since the events from sylvester 2015 were an important changing point. But please let's do not discuss single articles, it is more about the general sentiment the media wanted to convey. E.g. the infamous "Dunkeldeutschland".

Since you mention the left Die Zeit: it's chief editor criticized the media for its news coverage during that time: http://www.faz.net/aktuell/feuilleton/medien/bilanz-der-beri.... There have also been studies about the role of the media in 2015: http://www.zeit.de/2017/30/fluechtlinge-medien-berichterstat.... Photographers complained about the selection of their pictures in 2015: http://derstandard.at/2000066973507/Politikerfotos-Propagand....

It's fine to disagree with me, but calling my critique a "complete myth" is quite unfair.

readittwice··on Süddeutsche Zeitung Became the Go-To Place for Leaks Like the Paradise Papers
Interesting to read that, after what role german media/newspapers played in 2015. Especially since even journalists of well-respected german newspapers admitted the lack of critical journalism during this time.
readittwice··on HolyJit: A New Hope
No offense, but the blog post is seriously missing a better (or any?) explanation of what's the new JIT all about. At first I even thought my browser loaded only half the page...
readittwice··on Windows Subsystem for Linux is good, but not enough yet
I need to add that even glibc is also quite stable and backwards compatible: https://abi-laboratory.pro/tracker/timeline/glibc/.

That's why some projects deliberately build their software on very old distros, since the software then works from this version on.

readittwice··on Windows Subsystem for Linux is good, but not enough yet
Exactly. Linux keeps its ABI stable and is committed to not break userspace. Just bundling your app with all needed libraries should allow you to run your app on any distro. There are only two requirements: same machine architecture (e.g. x86_64) and the kernel should support all features used in the app. That's why Go's statically linked binaries don't break on Linux but e.g. on Mac.

I am quite excited about flatpak, should be quite useful for shipping applications to a wide variety of distro with a single binary.

readittwice··on Trump’s Tough Talk on NAFTA Suggests Pact’s Demise Is Imminent
You are right, that's what e.g. the verdict against Ireland/Apple was about. But this is only part of the story. The verdict in this case was that Ireland let Apple pay lower taxes compared to other local companies. Some other EU-countries want to tackle a different thing: Apple (just to give an example) not paying taxes on the profit they make in each country individually but only in Ireland (in the case of Apple) for all (EU-)countries combined.
readittwice··on Roman Empire per capita GDP shows the Romans were poorer than any 2015 country
Did you read the full article? They have an paragraph on that under the section Methodology. IMHO this addresses your concern. What's your problem with that reasoning?
readittwice··on Trump’s Tough Talk on NAFTA Suggests Pact’s Demise Is Imminent
The EU and its countries are actively trying to tax Facebook, Google, Apple, Amazon, etc. more than today for some time now. It's just not so easy. But that doesn't have anything to do with Trump, this started well before most people in Europe even knew him.
readittwice··on The rise of robots in the German labour market
But is this really different in other countries? I would say the numbers also apply for Austria. Although 300k is probably more the lower bound. Even if you built the house yourself in the rural area of the country. Austria already has a higher number of freehold property compared to Germany.

IMHO much of the difference between countries in this regard can be explained by tradition, history or population density.

readittwice··on The rise of robots in the German labour market
No sorry, you are right. There are also wages in this chart, I didnt't see that. Sorry for that...

But IMHO the difference between median and average isn't that big in Germany, even smaller than in Austria which doesn't have Hartz IV and Euro-Jobs. What would you consider acceptable? Also consider that these numbers may contain salaries for part-time jobs too. And those numbers are from 2010.

readittwice··on Why did we choose Rust to develop TiKV?
> that will be the end of Go and Rust

Will it? I don't think so, although I think Swift is great. IMHO Rust targets another market compared to Swift. Rust feels more low-level, e.g. Swift uses Reference Counting for everything. Swift also can't give you some of the nice guarantees you get in Rust.

Go also has some nice stuff compared to Swift: simplicity, goroutines or tracing GC. Go is also already widely used.

Swift is certainly great for Mac/iOS-Development, but I am somewhat skeptical for other platforms. I am afraid that non-apple-platforms will always feel a bit like second-class. It's just not Apple's main priority and most Swift-devs will always be paid by Apple. But who knows, I may be wrong.

readittwice··on The rise of robots in the German labour market
Your chart is about assets not income/wages as you claim. Since the chart is in German too, readers can't see that.

People in Germany seem to prefer rent over freehold property, this might explain Germany's low numbers compared to other states.

readittwice··on The rise of robots in the German labour market
Not to forget that this number alone doesn't mean anything, we still need to compare this number to other countries or to the past. But then we also need to consider stuff like this: AFAIR the number of "working poor" or "relative poor" decreased in/after the crisis 2008. Why? Not because companies paid more during the crisis but simply since the median income decreased.
readittwice··on Mrustc: a Rust compiler written in C++
No, they use C++ even for the C front-end. But you are right, you can still see its C past in the source code.

What's important though is that the GCC devs actively try to avoid the newest C++-features, this allows it to compile current GCC-trunk even with very old GCC-Releases. IIRC even GCC 4.3 (released in March 2008) is able to compile current trunk (GCC 8.0).

This is somewhat different for Rust, where I think the current policy is that master needs to compile with last released version (releases every 6 weeks and just to make it clear: Rust is written in Rust). Before that, the compiler was updated even more frequently. Bootstrapping Rust from 0 therefore is quite hard, since Rust is far from being as ubiquitous as C/C++-compilers. Even if you already have a rustc on your system, it's not unlikely that it is too old for compiling Rust-master. The first Rust-compiler was written in OCaml, so you need to compile that first, then compile Rust commit-for-commit until you reach current master. This could take quite some time. IMHO this is why mrustc is great, since you just compile current master (if it supports all features) with it and then use the generated compiler to compile Rust.

readittwice··on Angela Merkel’s record on environmental policy has been a disaster
Merkel perceived as populist in Germany? I've heard a lot about Merkel but this is new. Do you have a poll or anything to show this is really the case and not just your (or your friends/relatives) opinion? Who of Germany's politicians would you call then less of a populist?
readittwice··on Angela Merkel’s record on environmental policy has been a disaster
Saving some affected banks would've been cheaper than saving Greece. Even if "saving german banks" might have been one of the reason, it wasn't THE reason as you claim.
readittwice··on Angela Merkel’s record on environmental policy has been a disaster
> Greece imports a lot -> gets more expensive. I just want to add: This could also be a good thing, since people in Greece are more likely to spend money on goods produced in Greece. This could help their economy.
readittwice··on Angela Merkel’s record on environmental policy has been a disaster
Probably true, but that doesn't help anyone. Greece wanted to have the euro, they weren't forced to. They also knew from the start that devalueing your currency isn't possible anymore. Today their debts are in Euro not Drachme, now leaving the Euro doesn't change that fact.
readittwice··on How to conduct a good programming interview
I get your sentiment. But this is quite problematic if you already have a job. It's not so easy to take a week or month off on short notice. What happens if you don't get your dream job? You can't just quit your current job.
readittwice··on If Carpenters Were Hired Like Programmers (2004)
Maybe Java/PHP isn't the best example, since they are not so different. I think it is quite possible for an experienced dev to switch from to Java to PHP and vice-versa within a few weeks. Especially if you make use of code-reviews or pair-programming.

Let's say you are looking for experience with Machine Learning, Distributed Systems, Databases, Kernel, Graphics, Embedded, etc. IMHO those things are harder to learn than a new programming language or framework (at least after having some experience).

That said, I think this article was more about requirements such as: "at least 3 years experience with X". Where X is just another language/framework/tool. It artificially limits the number of applicants and you might miss some pretty good devs, just because they don't try to apply since either they've only worked with X for one year yet or they've only used tool Y instead of X.

readittwice··on If Carpenters Were Hired Like Programmers (2004)
I do think it's a good thing they hire people right after school, just not exclusively. Are they graduating from college or some other school?
readittwice··on 6 charts to help Americans understand the upcoming German elections
I will probably get down-voted for that, but personally I do think that the AfD adds value to the democratic system in Germany. In my whole life I haven't experienced a single other topic that's so controversial and influential as the whole immigration/refugee-crisis. Merkel gets criticized a lot for her open-border policy, but actually in Germany her party is still the most-restrictive in this regard except for the AfD. You can see that e.g. in the current discussion where social democrats want to allow all refugees to bring their relatives to Germany (right now this is only possible for a part of them). Merkel first wants to see if the number of people is manageable for Germany and want's to make the decision later (so after the election ;).

To show its importance even in 2017: In the yesterday's tv confrontation between Merkel and the social-democrats front runner, immigration was the first and longest discussed topic. I believe that even in a country with Germany's history, there has to be a party where people who disagree or are concerned with the recent decisions about immigration should be represented. You would do democracy a disfavor if you try to cut out the AfD or their voters from the public discourse.

I know they have some politicians with quite extreme views which they haven't got rid of. And they will pay the price for that by getting a lot less votes. Maybe it's also since I am not a German and therefore don't follow german domestic policy as close as many Germans do.

Personally I try to imagine the two leading parties in Austria having the same stance on immigration as in Germany. This would end in a disaster for them in the next election, which is shortly after the german election.

← PreviousPage 4 of 6Next →