HNHacker News
TopNewBestAskShowJobs

lvillani

816 karma · joined May 23, 2010

submissionscomments
lvillani··on DNS.watch – Fast, free and uncensored
Hey guys, your How-Tos page has some problems:

  - Window: points to FritzBox howto
  - OS X: 404
  - Linux: 404
You may want to run linkchecker (http://wummel.github.io/linkchecker/) next time :)
lvillani··on Mirror Your Android Screen to the TV with Chromecast
I have a MikroTik router (http://www.mikrotik.com/) and it's amazing. They expose configuration knobs through three almost-equal interfaces: a custom shell over SSH, a web interface and a Windows application.

That thing never stops, once it's set up you forget its there and only have to reboot it to update the software (which happens around once a month and it's an event you can skip if it contains no security patches).

lvillani··on Rust 0.11.0 Released
In my opinion the fact that there were two competing standard libraries (Tango and Phobos) certainly brought confusion and needlessly fragmented the community.

IIRC, at the beginning the whole thing was not being developed in the open and the compiler was proprietary (although the front-end became open source at one point).

Those two things (especially the former) pretty much killed it for me.

D finally matured at a time where I was already more interested and invested in the Lisp/ML family of languages, thus I ended up never considering it for a project.

lvillani··on Rust 0.11.0 Released
Nimrod looks quite interesting. Not so long ago I was discussing with a colleague how much I long for a statically typed Python with macros, sum types, optional garbage collection/ref-counting etc. Nimrod seems pretty close to that ideal programming language.

Thanks for sharing such nice little gem.

lvillani··on Rust 0.11.0 Released
I'm eagerly awaiting Rust 1.0 to play with it.

These days I'm dabbling with Go and while the toolchain is fantastic and the standard library is fairly comprehensive, I find the language itself to be "meh".

Rust-the-language looks much more promising but I'm holding my breath waiting until it stabilises before I consider it for my next project. I read elsewhere that they are striving for a near-final release at the end of the year so I won't have to wait long, after all :)

Keep it up!

lvillani··on Programming languages, operating systems, despair and anger (2009)
> There isn't an obvious way to parse broken HTML, and every HTML parser does it differently

At least with HTML 5 we have both a spec (http://www.whatwg.org/specs/web-apps/current-work/multipage/) and a library to parse it (https://github.com/google/gumbo-parser)

lvillani··on Linux Gaming: An Upward Trend
> the huge fragmentation in the desktop linux world (cue the Systemd Wars)

With Ubuntu adopting systemd (http://www.markshuttleworth.com/archives/1316), I guess the init system wars are basically over.

lvillani··on Apple to Cease Development of Aperture and Transition Users to Photos for OS X
I wonder how I would have felt had I bought Aperture a couple of weeks ago. Sure, 69€ isn't much, but knowing that those were basically thrown away would have been bad nonetheless.

Thankfully, I resisted the urge.

lvillani··on The new bower.io
Off-line applications.

We are developing a cross platform mobile application which has to run locally on user's tablets. Reaching out to a CDN to fetch dependencies is out of the question. We are basically using HTML5 in place of Qt5 here.

However, we found several horrible, horrible bugs with Bower randomly failing to install dependencies (such as https://github.com/bower/bower/issues/933), which is now thankfully fixed.

We are also investigating Browserify, so might switch to use NPM also for (some) client side dependencies.

lvillani··on µg: Open-source replacements of Google Apps and API on Android
"microG"?

The Greek letter Mu is the SI prefix for "micro".

μTorrent seems to do fine with the Mu, even though most people write it as "uTorrent" and spell it as such.

lvillani··on Web Starter Kit
I wish I had this in my tool belt a few months ago when we began working on our web application. The core of our project can be reduced to something like web-starter-kit but we had to get there with many, many hours of hard-earned knowledge. I also like the leanness and cleanliness of web-starter-kit, it's really a nice collection of best-practices and pre-configured tools.

I will definitely incorporate some pieces into our existing project and use it as a base for our next ones.

Thanks guys!

lvillani··on Running OS X Mavericks under QEMU with KVM
In my experience, trying to install OS X on a laptop is an exercise in frustration. I did it with Snow Leopard on a Dell Inspiron-1525, almost identical to a polycarbonate white MacBook of that time and one of the easiest machines to tinker with.

I read elsewhere that desktop computers are much easier to work with, but the OP is explicitly talking about portability and, in that case, it is just better to shell out the money to buy a MacBook... event though they get expensive really quick.

lvillani··on OS X Yosemite
AFAIK, PushBullet doesn't allow you to answer phone calls.

The closest analogue it comes to my mind is an early demo of Ubuntu for Android in which they showed the ability to reply to SMS messages from within the Unity desktop (although I'm certain I saw a phone call demo too, just can't find a link to the video). However, in that case, both the Ubuntu desktop and Android were running on the same device, so it was easier (still a notable feat for the time).

This kind of integration between different devices is far more impressive, though.

lvillani··on OS X 10.9.3 Is Toxic
I've had only one kernel panic so far on my late 2013 rMBP 13. At least that's what I found in /Library/Logs/DiagnosticReports, and I've been through the 10.9.3 betas as well.

On the other hand I experienced random WiFi problems upon wakeup, had to do a couple of hard-reboots, suffered the rainbow static problem and other miscellaneous problems with external displays. Lately I've been experiencing some weird issues with the sound system: I hear music in my headphones but some notification sounds are sent to the speakers.

As a first-time Mac user (after a decade with Linux) I must say this is quite a frustrating and "meh" experience.

Love the screen and the battery life though.

Glad to hear I'm not alone, my colleagues rolls eyes when I rant about the problems I'm having.

Side Note: It seems to me that the most problematic models are Retina MacBook Pros.

lvillani··on PDFium: Chrome’s PDF rendering engine is now open-source
For us, that would be the license. BSD is far more palatable than GPL (LGPL would be fine) when we have to embed a PDF viewer in a client's project.
lvillani··on The desktop and the developer
> I have to go to websites to get the installers for most big programs

There's "brew cask" for that! (http://caskroom.io/)

lvillani··on Boycott systemd
Cached: http://webcache.googleusercontent.com/search?q=cache:zylqvGo...

(the site is unreachable at the moment).

lvillani··on Spotify position in support of systemd in the default init debate
> If it were under the GPL and each contributor retained their copyright over their submission

DISCLAIMER: I'm not a lawyer, everything I say below may be totally wrong.

As far as I know, this is exactly what happens. Canonical's Contributor License Agreements stipulates a form of joint copyright assignment where both Canonical and the author have ownership over the contribution, thereby creating two source trees: one on which Canonical has full control over, the other owned by the collective of individuals who contributed to the project (just like the Linux kernel).

Even RedHat requires you to sign a similar CLA in order to accept contributions for Fedora, 389 Directory Server (LDAP), etc. The FSF does something similar for their project, so does Node, Apache, etc. Canonical's CLA used to be nasty but since they started using the Harmony Agreements I think their terms are reasonable.

Personally, as long as they don't ask me to relinquish all and every right on my contribution and/or ask for unreasonable provisions, I'm fine with a CLA.

lvillani··on Living a High-DPI desktop lifestyle can be painful on Windows
Some basic support was introduced in Gnome 3.10 (and Gtk+) (http://www.phoronix.com/scan.php?page=news_item&px=MTQzMDY) thanks to some Chromebook Pixels donated by individuals and Intel (http://www.gnome.org/news/2013/07/gnome-receives-hardware-do...). After googling for about five seconds I found a review and the TL;DR is "it kinda works, but there are bugs" (like Windows, see http://keithcu.com/wordpress/?p=3270).

Never tried first hand, hope to have a chance with the Retina MacBook Pro I'm buying at the end of March.

lvillani··on Dell XPS 13 Developer Edition review

    > Do you use both the internal display and external monitor?
Yes

    > Have you tried connecting more than one external monitor?
Never tried. This laptop has only one mini DisplayPort output. I heard that there are splitter cables/adapters which should allow for that but I haven't found an affordable one yet. An alternative would be a display that supports daisy chaining (the only one which I am aware of is Apple's Thunderbolt display which doesn't even turn on for me).
lvillani··on CentOS Project joins forces with Red Hat
I really wish that, when RHEL/CentOS branches from Fedora to make a new release, they would also keep and provide a snapshot of Fedora's repository at that time, just like what Ubuntu does when they sync with Debian Sid (i.e.: packages in 'main' and 'restricted' repos are supported, all other packages in the Debian archive are imported and made available in 'universe' and 'multiverse' repository for your convenience).

That would work a long way to make CentOS a viable Linux distribution for everyday use. In my experience, EPEL isn't enough and rebuilding packages seems like a wasted effort since they were there when they branched off to prep a new release.

Add a somewhat predictable release schedule on top of that (again, in my opinion Ubuntu hit the sweet spot with 24 months here) and that would be the icing on the cake. Heck, RHEL 6 was first released in 2010 and there's still Python 2.6 on that!

I know that I could shut up and use Ubuntu (I do), it's just that I like RedHat way more than Canonical but they don't make it easy for me to use and love their products (speaking as a former Fedora user and contributor).

lvillani··on Dell XPS 13 Developer Edition review
I have the first-gen XPS 13 with 1366x768 internal display. No problems at all in a multi monitor setup. I have a Dell S2409W, 1920x1080 at home and a NEC 1920x1200 at work.
lvillani··on Dell XPS 13 Developer Edition review
I have one of the first-gen (non Sputnik) systems. I simultaneously love it and hate it so much that after one year I had to put my (mixed) feelings in writing here: http://lorenzo.villani.me/2013/08/19/dell-xps-13-l321x-the-r... (this is little more than a pondered rant, unlike OP's thorough review).

However, I think this year I'm probably going to bite the bullet and buy a 13" Retina MacBook Pro.

lvillani··on Dell XPS 13 Developer Edition review
AFAIK, video over USB3 ain't pretty. I wanted to buy an USB 3.0 docking station but these things seem to be Windows-only and, even there, people experience issues.
lvillani··on Dell XPS 13 Developer Edition review
For a while I had terrible (in the 800msec - 4000msec range) RTT pinging an AP right next to me, running:

    sudo iw dev wlan0 set power_save off
did the trick for me (issued after every boot or through an UDev rule such as https://raw.github.com/lvillani/ansible-playbooks/9dc40c75cf...)
lvillani··on ReText - Markdown editor for Ubuntu
Ubuntu 12.04 ships with Python 3.2.3, IIRC the 'python3' executable is installed by default (even though the default installation may lack some third party modules).
lvillani··on Ask HN: How do you back up your data?
I've got a Synology DS213j [1] with two WD Red 2TB [2] drives in RAID-1. All machines in my house run some sort of Linux, thus they are encrypted and backed up daily with Deja-Dup (which is just a front-end to duplicity [3]).

The Synology has netatalk configured out of the box so it can be seen in the network as an AFP share and can be used as a destination for TimeMachine backups (I'm not using it in that way but a couple of friends who use Macs told me it works well).

It also has a package to backup data stored on the Synology to Amazon Glacier, and that is something I'm going to enable soon in order to improve redundancy (and to have an off-site copy of my data).

On top of that some of that stuff is also spread between Dropbox, Drive, Github and thumb drives. I might have like three to five copies of each file at any given time.

- [1]: http://www.synology.com/products/product.php?product_name=DS...

- [2]: http://www.wdc.com/en/products/products.aspx?id=810

- [3]: http://duplicity.nongnu.org/

lvillani··on Where to begin when learning C? Start by making lots of errors
FWIW: These are the compiler flags I typically use:

    -std=c99 -Wall -Wextra -Werror -pedantic-errors
lvillani··on Amazon WorkSpaces
In my experience on a Gbit LAN, RDP is really fast, VNC and TeamViewer, not so much. I'm connected to a Windows 7 machine via RDP and to a Mac via VNC (even though I used to use TeamViewer) with Remmina on Ubuntu.
lvillani··on Questions to ask your potential employer
Sounds like Design by Contract.
← PreviousPage 4 of 6Next →