News for hackers. Stuff that matters.

dola

Re:What ORMs have taught me: just learn SQL (2014) on Sunday December 17, 2017 @10:46PM (#15949244)
A lot of the reasons listed in this article actually made me shift from sophisticated ORMs like Hibernate back to a query based approach. A really nice framework for this (in Java) is jOOQ which gives you the possibility to write typesafe SQL via code generation. https://www.jooq.org/

(I'm not at all affiliated with jOOQ - just a happy user)

Re:Show HN: Park your domain name with just 2 DNS records on Saturday August 26, 2017 @12:46PM (#15106216)
Cool idea. I hope you somehow confirm the listing on the dashboard, otherwise someone can just list some domains under your username to cost you money ;)
Re:Ask HN: How much do developers earn in Europe? on Thursday August 24, 2017 @06:52AM (#15089035)
There are a few consulting companies doing project work that hire a good amount of people. (However none are even close to you >100 / year number) And also, it will be pretty hard to get near the 200k mark in Zurich if you're not at either a bank with a very specific expertise or at Google.
Re:CHVote: Open-source e-voting system from Switzerland on Wednesday December 14, 2016 @08:09AM (#13175661)
this is on a similar level of trust as the question about whether your paper vote is actually counted by some volunteer or just scraped. But I agree, that e-voting systems require a high level of trust by the users but I would argue that it is comparable to the trust you need in letter voting. The main difference in my view is the authority is typically split between fewer people with an e-voting system giving a single person more potential influence when they abuse their power. (e.g. a single server admin can deploy a malicious version of the system rather than a person only having access to maybe a few thousand ballots)
I've been using Recharts [1] lately. It offers many different chart types and has a high level interface that makes it easy and quick to use for basic charts. If you want to customize you can still do so because almost every part of a graph is composable. (I have no affiliation)

[1]: http://recharts.org/

> Switzerland immediately taxes dividends at a maximum of 35 percent [...]

This is not quite true. They do impose a 35% tax on all dividends and interest of bank accounts (if the amount is over 200 Swiss Francs) but you get that back when filing your tax return. However you will have to pay income tax on dividends and interest. The goal is to ensure people don't commit tax evasion by not declaring some of their wealth. [1]

[1]: https://www.admin.ch/opc/de/classified-compilation/19650189/... (in German)

Re:SNB Unexpectedly Gives Up Cap on Franc, Lowers Deposit Rate on Thursday January 15, 2015 @07:39AM (#8892205)
They are.
Re:SNB Unexpectedly Gives Up Cap on Franc, Lowers Deposit Rate on Thursday January 15, 2015 @07:37AM (#8892191)
It's the rate banks have to pay to deposit Swiss Francs with the Swiss National Bank. Many Swiss Banks however do invest their assets differently (higher risk) and therefore the people in Switzerland with private accounts are not affected directly. This is mostly to avoid foreign banks to invest in Swiss Francs.
Re:In Soviet Minecraft, server op you on Sunday November 30, 2014 @03:45PM (#8678012)
I used to work on a Minecraft Server Tunnel which extended the idea of only using the console by also tunneling all network traffic. By inspecting packets it knew about things like player positions or block interactions which were used to allow players to have their own private chests or protected areas.

It is fairly outdated now but was a very interesting project. https://github.com/SimpleServer/SimpleServer/

Re:Dropbox Pro – 1 TB for $99/year on Thursday August 28, 2014 @06:01AM (#8236562)
however it seems as if they are looking at your billing address so you would also have to get a non european credit card...
Re:It Is Time For Basic Income on Saturday March 22, 2014 @01:47AM (#7447889)
This is actually a very current topic right now in Switzerland. There will a national vote to decide if every Swiss citizen should get a basic income of 2500 swiss francs (approximately 2700$) a month. Some interesting details can be read in this (kind of) recent article (most other ones are in German) http://themindunleashed.org/2014/03/swiss-pay-basic-income-2...
Re:Apple releases OS X Mavericks 10.9.2 with SSL fix on Tuesday February 25, 2014 @04:31PM (#7300687)
What I wonder, is if Apple can be held responsible (to some extent) for damages that resulted due to this bug for app developers like a bank whose customers were robbed because the bank relied on the secure connection as it should have been provided by the Apple API. Clearly, the attacker is still the person to have exploited the bug but I think a developer should be able to assume that Apples security relevant API functionalities are indeed secure.
Re:The second operating system hiding in every mobile phone on Tuesday November 12, 2013 @07:51PM (#6722593)
And then there is also the one on the SIM doing all the encryption and authentication stuff...
Re:Show HN: noteZilla - Interactive sheet music on Saturday August 17, 2013 @11:57AM (#6229406)
I liked it a lot! Very nice work.

What I was missing is some indicator showing where exactly in the whole piece I currently am. A simple solution would of course be a timeline but maybe something neat like a minimap with a sliding windows of the current view is possible. Like this one could directly navigate through the whole piece by clicking in the minimap.

Re:100,000 DOM Updates on Saturday August 03, 2013 @03:06PM (#6152990)
it works. but fine may be the wrong word if you compare it to Chrome... (slower, less responsive when e.g. scrolling)