HNHacker News
TopNewBestAskShowJobs

stefano

1,479 karma · joined June 2, 2008

I've got a passion for learning and implementing programming languages, especially those in the Lisp family.

My github account: http://github.com/stefano

submissionscomments
stefano··on German banks are hoarding so many euros they need more vaults
There's always helicopter money, but yeah, the ECB is pretty much near the end of what they can do.
stefano··on The V Programming Language
These are not normal teething problems, it's straight up poor poor software and the claims about the supported features are quite simply lies right now. Last time I looked at the compiler, it was basically doing search and replace to generate buggy C code.
stefano··on Building all of our new mobile apps using React Native
With React Native, you're betting on a framework. With Flutter, you're betting on both a framework and a new language. Flutter also works on a much lower level than RN, which means it would be harder for them to pick up the development if the need should arise.
stefano··on How Popular Is “Sign in with Apple”?
I interpret that as:

- If you only have social logins, you must implement apple sign in.

- If you only have your own login, you don't need to implement apple sign in.

- If you have both apple sign and your own login, you must implement apple sign in.

stefano··on How Germany is able to run the world’s second largest export economy
Can't be so bad for innovation if they're ranking first in this classification: https://www.bloomberg.com/news/articles/2020-01-18/germany-b...
stefano··on How Germany is able to run the world’s second largest export economy
That point also ignores the fact that spanish workers are indeed cheaper than german workers. You can't focus on the unit of measure (the currency) while ignoring the accompanying number...
stefano··on T1: A Modern Programming Language for Constrained Environments
I think Ada, in its SPARK dialect, should be able to do this.
stefano··on Parcel – Fast, zero-configuration web application bundler
What does he spend his days doing? I wrote a configuration file years ago and I still use it for multiple projects. I only had to update it when upgrading between major versions of webpack.
stefano··on Google to end 'Double Irish, Dutch' tax scheme: filing
> 1. The prior and new behavior is neither good nor bad.

That depends from which point of view you're looking at it. Technically according to the law? All good. Ethically? Different people will have different opinions, but many would agree that it's bad behaviour. You're a law abiding leech on society, but you're still a leech.

stefano··on Google to end 'Double Irish, Dutch' tax scheme: filing
> The criticism towards Google, Apple etc. for minimizing their tax burdens has always been misplaced.

It's a valid criticism if you don't think that "Corporations are supposed to maximize profits" should be true. When anything can be justified because it maximizes profits it becomes very, very easy to be a technically law abiding unethical company which is a net negative on society.

stefano··on A lot of complex “scalable” systems can be done with a simple, single C++ server
The same argument can be made for Python (or for most non-trivial jobs, for that matter). You always need a good technical person to hire another one.
stefano··on A lot of complex “scalable” systems can be done with a simple, single C++ server
Python has some fundamental language semantics that make it really hard, if not impossible, to create an implementation that can match Java. Pypy is probably the best you can do to optimize python, and it shines in tight numerical loops, but it gets less effective as code gets more complex.
stefano··on Porting a JavaScript App to WebAssembly with Rust (Part 1)
You still need to go call into Javascript to do any kind of DOM manipulation. The solution I used for wasm-forth (a forth implementation targeting wasm), is to have a js "interpreter", implemented as a single function, that executes a sequence of DOM manipulation instructions, represented as an array of integers. On the forth side, the instructions are generated by a virtual DOM library: as the virtual DOMs are diffed, instead of manipulating the DOM directly it generates a sequence of opcodes to send in one go to the Javascript interpreter.

The cost of the Javascript bridge is minimal: it's a single function call to render or update a whole page, and there is no serialization/deserialization involved since both languages can understand arrays of integers natively.

stefano··on Annual Returns on Stock, T.Bonds and T.Bills: 1928 – Current
When a company drops out of the index, the fund sells all its shares in it and buys shares of the new company that took its place.
stefano··on Generating a Java program with 90% less code
Depending on your application, you can go a long way with integration tests alone.
stefano··on Amazon CodeGuru – Preview
Can you just remove newlines from files? In most languages they're optional.
stefano··on Django 3
When I tried them a year ago, they used "Any" a lot, especially around the ORM code (Django) and the serializers (DRF). Since those are also the parts where type checking would be the most interesting, I didn't find a lot of value in using them.
stefano··on Django 3
I recently upgraded from 1.11 to 2.2 in one go. I didn't have any issue at all, besides a problem with mysql drivers. I had to switch from using PyMySQL, which is not the one recommended by Django anyway, to mysqlclient, and that caused one minor problem that was trivial to fix. Looking at the release notes for 3.0, I'd expect that if I migrated from 1.11 directly to 3.0 it would've been a smooth transition.

Of course it depends on your codebase. In the past I worked on a project which interacted a lot with Django internals, with a lot of code reflection involved. Upgrading that was a pain even between minor releases.

stefano··on Django 3
Django (and DRF if you use it), uses too much reflection, which doesn't play nice with type annotations. The strategy that works for me is to annotate my application code, and keep using dynamic typing when interacting with the framework.
stefano··on It's 2019, but It Sure Feels a Lot Like 1998 for Stocks
Imagine if Jurgen held cash through the Weimar republic.
stefano··on Today’s Top Tech Skills
A data corruption might be also impossible to recover from. You could even only notice it after months of it happening, e.g. if your users spend months collecting data which is only analysed at the end of the year.
stefano··on How we built Uber Engineering's highest query-per-second service using Go (2016)
Is that still true after tuning the JVM GC for a low memory footprint? I'm genuinely asking, I'd like to see an article on the subject. I've read in the past that the default settings are geared towards long-running processes and trade off memory usage for higher throughput, as in general there's no free lunch with GCs. Better memory usage always implies worse performance (and viceversa), just like a higher throughput increases pause times. If Go has lower memory usage and lower pause times, I'd expect it to have lower throughput than the JVM GC.
stefano··on Google plans to partner with banks to offer checking accounts
But your bank will have humans making sure it's not a false positive. With google, you can appeal so a bot can tell you that your appeal was rejected.
stefano··on The future of my games on Apple and what this means for art games
Good luck with that if you have a non-technical user base. Gaining trust when the first thing they see is a big warning telling them this software shouldn't be trusted will also be really tough.
stefano··on The future of my games on Apple and what this means for art games
Should the user click on "Cancel" or "Move to trash" to tell Apple that they trust a developer?
stefano··on The future of my games on Apple and what this means for art games
The article mentions a "quality control process", so it's not only about the author being authorized. I view this as a first step to turn desktop computers into locked down iOS devices.
stefano··on The future of my games on Apple and what this means for art games
Don't overgeneralize. I don't agree, for instance. I want to run whatever I want in the computer I bought.
stefano··on U of Chicago projected to be the first U.S. university to cost $100k per year
What I find funny in these discussions on HN is how most people seem to be completely oblivious to the obvious solution, proven to work in many developed countries around the world: have the state directly fund universities and don't charge tuition to students (or charge them a small amount). Why is the assumption "universities are private endeavours that should make a profit" something that goes unchallenged on HN?
stefano··on Microsoft Japan’s 3-day weekend boosts worker productivity
A german company did a similar experiment with positive results: https://www.wsj.com/articles/the-5-hour-workday-gets-put-to-...
stefano··on Microsoft Japan’s 3-day weekend boosts worker productivity
Yes, it was introduced in late 2018 and came into effect this year. It's basically an extension of an equally bad tax cut that was previously reserved to people earning less than 30k. Given the higher limit, it makes the jump above that limit twice as steep.
← PreviousPage 2 of 9Next →