HNHacker News
TopNewBestAskShowJobs

roselan

130 karma · joined June 11, 2015

Lead developer at ifchor.ch. Likes coffee way too much.
submissionscomments
roselan··on Mozilla terminates its deal with Yahoo and makes Google the default in Firefox
Or maybe Mozilla doesn't want to send search queries and user info to Verizon for analytics. Plus there might be a trust issue with search results.
roselan··on How I Reduced My DB Server Load by 80%
It's not only that: It connects to your database an you have autocompletion for tables, columns and any schema objects, as well as linting. All that inside any string.

By example:

$sql = "select myColFromTableB from tableA";

Inspection will give you have a "unknown column" warning.

(ps: sorry for late reply)

roselan··on How I Reduced My DB Server Load by 80%
Intellij tools are capable to parse, lint, and autocomplete sql in strings.

To my own surprise, it has become my favorite way to handle queries with multiple/variable joins.

roselan··on Google Pixelbook – A High Performance Chromebook
Out of the US the landing page redirects you to the chromecast one.
roselan··on React and Redux are a joke right?
In my eyes this slice of code is even worse than the array map one, where there is 2.5 pieces of logic (map, if, and 2 return that makes for the .5).

In the version you have 2 spread operators, an array construct and 3 hardcoded ints.

I might not use the correct academic terms, and I might not be yet fully accustomed to es2015, but this way of writing stuff always make me pause and double check the code.

roselan··on To Protect Voting, Use Open-Source Software
It's quite easy to make them disappear or bulk fill them. Like bank notes, paper ballots can be counterfeited.

Canton of Geneva have open sourced their voting app. https://github.com/republique-et-canton-de-geneve/chvote-1-0

Of course there will never be a perfect way. However, I have a feeling that by multiplying voting methods, fraud impact can be contained. Mail vote increases the number of people voting and have the same positive effect (drowning a fraud in valid results).

roselan··on Reddit raises $200M at a $1.8B valuation
In that sense why not go to a "stars" system? It requires more cognitive overhead, but I think HN members can handle it.
roselan··on Reddit raises $200M at a $1.8B valuation
Me too, but there is a place and time for everything.

I believe allowing them would open a floodgate and start a race for reputation.

roselan··on MS Paint is here to stay
That's a clickbait title if I ever saw one. It seems Microsoft is trying to force uwp apps down our throats. It is sad because classic programs systematically feels snappier and are more efficient. They show their age, but are definitely less annoying than their sexier windows 10 version.

I don't know how many time I tried =really tried= to use the photo app or the new remote desktop app, but I always come back very frustrated to the classic version.

roselan··on Fast MySQL Backup and Restore Using Mydumper and Myloader
Note that with 5.7 there is a new tool, "mysqlpump" that can do parallel export/import and direct compression.

I haven't test it yet because mysqldump is enough for our needs.

roselan··on Fast MySQL Backup and Restore Using Mydumper and Myloader
Mainly users.

I'm probably too dumb to find it, but I have found no utility to export/import db users and grants. Not that it's hard to roll your own thou.

roselan··on Dell 38 inch UltraSharp monitor
Last time I tried such giant screen, I ended up extremely frustrated with the screen splitter feature, I prefer triple monitors for this reason.

Had there been significant progress in this field the last few years?

roselan··on Two Decades of Recommender Systems at Amazon.com
Well, if you bought some particular brand I won't name, you will need one per year.
roselan··on Why can't you guys comment your fucking code?
That's why I like code reviews too, it forces you to express what you meant in a way that at least one other chap on this planet get it.

Plus the code is still fresh in your mind so you haven't forgotten why did it that way, and discarded trade-offs.

roselan··on The Presence of One’s Own Smartphone Reduces Available Cognitive Capacity
When you are used to notifications, you look for them even if you don't have your phone with you. It takes a while to detoxify yourself, and lose your "check reflex".
roselan··on The future of MDN: a focus on web docs
I installed "Personal Blocklist" extension exclusively for w3schools...
← PreviousPage 2 of 2