HNHacker News
TopNewBestAskShowJobs

lvillani

816 karma · joined May 23, 2010

submissionscomments
lvillani··on Thinkpad X62
> on Mac they leave your iCloud email in in plaintext on the UEFI after the computer is wiped.

You are probably referring to the "Find My Mac" token that's stored in the NVRAM. It's fairly easy to wipe it with one of these commands/procedures:

  - sudo nvram -d fmm-mobileme-token-FMM
  - sudo nvram -c # this one will wipe the entire NVRAM, use with care!
  - https://support.apple.com/en-us/HT204063
> For computers, expect 6 to 7 years of macOS updates at most

High Sierra can be installed on "Late 2009 iMacs", that right there is 8 years of security and feature updates. Those models will get security and point updates, at the very least, until the next version of macOS, for a total of 9 years (if not more, we'll see).

lvillani··on Dell XPS 15 9560 Review
> despite the screen covering deterioration in weird spotty ways

If it's like images at [1] you may be eligible for a free screen replacement. I got Apple to change mine after it started showing the defect (granted, I went to an Apple Store mere weeks before the Apple Care+ coverage ended). Mine is a late 2013 rMBP. The new screen, however, is starting to show the same kind of damage around the edges.

[1] http://www.staingate.org/#gallery

lvillani··on Ask a Repair Shop
Most modern smartphones have the LCD, digitizer and glass all fused together. It improves image quality and reduces the distance between the glass and the image. This, however, greatly increases the replacement cost since you would then have to replace the entire unit when you break it. Also, higher resolution screens are more expensive.

I think the 3GS is old enough to have these layers as discrete components that you can replace one by one, hence the lower cost.

lvillani··on Ask HN: Why is Bluetooth so unreliable?
I can't speak for jsmthrowaway but I think that he's referring to Band Steering (please correct me if I'm wrong). It's not in the spec but my Unifi gear definitely has a checkbox to enable it if I opt-in to see "advanced settings".

As far as I know it's not dynamic, though. It just happens when a device connects to a base station and only "steers" the client to connect using one of the 2.4 or 5 GHz bands, and that doesn't interfere with channel selection.

The AP also has a function to scan bands to find the "best" channel to use but that disconnects all devices while the scan is in progress. I think some APs might be doing this automatically (?). My other AP (a Mikrotik) has an "auto" channel selector but I don't know what it does or when.

lvillani··on 27000 errors in the Tizen operating system
The mere mention of EFL brought this article back to my mind: https://what.thedailywtf.com/topic/15001/enlightened

The author makes no names but ends the article with "[...] did I mention EFL is the basis of all applications on Tizen?".

I don't know whether EFL is still the base for all applications on Tizen (I think they changed technologies several times, they are now on .NET?) but that, plus the SDK churn and Samsung reputation of generally low software quality and severe security issues don't really instill confidence in the platform.

lvillani··on ECMAScript 2017 Language Specification
Nitpick: "MacBookPro11,1" "Macmini7,1", etc refers to the hardware model: the first number being the machine's generation and the second one being its revision.
lvillani··on ARKit
I know.

However, the default experience is a little box that says "Streaming is available in Safari and the WWDC app". Now I have to go out of my way to learn that they stream via HLS, obtain the stream's URL and feed it to VLC. †

Compare this with Microsoft's and Google's videos (available through Channel9 and YouTube, respectively) that are accessible "virtually" from every operating system and device.

If your goal is to attract new developers to the platform, maybe adopting a more widespread industry standard (such as DASH, which all other browsers implement) is probably the way to go, IMO.

--

† By the way, the box also breaks the "Copy Video Location" menu item, so I have to open the inspector or install an extension to find out what the real URL is.

lvillani··on ARKit
I can still be an outsider and be genuinely interested in what their platform has to offer and, maybe, later decide that I want to invest in their platform. I become a better developer, Apple gains a new developer, everyone wins.

Forcing people to use macOS to view recorded sessions or events goes against that.

lvillani··on Google Will Help Publishers Prepare for a Chrome Ad Blocker Coming Next Year
I don't know.

On one hand I applaud Google's decision[1] to put its weight against autoplay videos, prestitial ads, and huge above-the-fold ads that are the main driving factor for me and many others to install an ad blocker in the first place.

I would love to live in a world in which ad blockers are not necessary, everyone displays tasteful ads and every party involved gains something in the end.

On the other hand advertising companies are still hell-bent on tracking and profiling people by whatever means necessary to target them better with ads. They amass huge amounts of information that, if put in the wrong hands, could lead to a disaster.

This is what still makes (and will still make) blanket ad-blocking a necessity, IMO.

---

[1] I'm ignoring the huge conflict of interest for the sake of argument here.

lvillani··on Moving forward at PhoneGap
Wouldn't it make more sense to revoke the patents only if you sue them over React patents specifically?

IANAL Hypothetically, there _may_ be good reasons to sue Facebook over patents unrelated to React, especially if they happen to break a patent you or your company owns.

However, that would mean loosing access to React if I happen to develop applications that use that.

Wouldn't such a blanket statement skew the power balance excessively in Facebook's favor?

lvillani··on Apache Allura — Open source project hosting platform
I think it's the underlying software that powers SourceForge itself. At least, that's what I gather from some pages on sourceforge.net displaying "Powered by Apache Allura" inside the footer.
lvillani··on Total.js Messenger – A small alternative to Slack
SQLite is great! It's just that those of us using it with pleasure don't complain or feel the need to be vocal about how good it is :)
lvillani··on Switching to Sublime Text from Vim in 2017
Put this in your settings file:

    "workbench.activityBar.visible": false
lvillani··on Growing Ubuntu for Cloud and IoT, Rather Than Phone and Convergence
Third party software has been available on Linux distributions for a long time all the same.

Shipping this feature out of the box with an OS install started happening only recently (e.g. Night Shift came to iOS only 1 year ago, Windows 10 is getting it just now, AOSP has a "secret" knob to turn it on and it's enabled in 3rd party ROMs, etc).

lvillani··on Samsung’s biggest challenge now is Google software, not Apple hardware
As far as I understand it, having the right to sell a phone with Google Play Services is an all-or-nothing situation.

> The OHA is a group of companies committed to Android—Google's Android—and members are contractually prohibited from building non-Google approved devices. That's right, joining the OHA requires a company to sign its life away and promise to not build a device that runs a competing Android fork.

(cit. https://arstechnica.com/gadgets/2013/10/googles-iron-grip-on...)

lvillani··on Ask HN: What do you want to see in Ubuntu 17.10?
It shouldn't be needed. AFAIK part of the post-installation script of a new kernel already marks the oldest kernels for removal with `apt-get autoremove`. They just need to run it automatically after an upgrade.
lvillani··on The new Nokia phones are here: Nokia 6, 5, 3 & 3310
I wonder what "we’ll make sure you keep getting regular updates" really means. Regular updates and prompt security updates the moment Google publishes them are two different things. Considering that even Google's support of its own devices is somewhat abysmal (three years of security updates _at best_) and that almost all 3rd party vendors don't push security updates fast enough I'm not confident that Nokia will be any better.
lvillani··on Ubuntu 16.04 Unity 8 current state [video]
"X isn't network transparent anymore" according to Daniel Stone (longtime X.org and Wayland developer): https://youtu.be/RIctzAQOe44?t=18m31s

If you use X11 forwarding with any application that uses a modern toolkit (Gtk+ 3, Qt 5, maybe also Gtk+ 2 and Qt 4) you are just pushing uncompressed pixmaps over the wire, as a bad substitute for VNC/RDP/etc.

Xpra adds image compression on top, AFAIK, so it should be slightly better.

The entire video (https://youtu.be/RIctzAQOe44) provides a good overview as to why people that have been working on X11 for many many years decided to start Wayland.

lvillani··on Ubiquiti Networks UniFi Controller in an Ubuntu LXD Machine Container
I just run the Unifi Controller on my Mac when I need to configure something and then shut it down. AFAIK some features (e.g. WiFi captive portal, if I remember correctly) require a Controller running full-time.
lvillani··on As Batteries Keep Catching Fire, U.S. Safety Agency Prepares For Change
My Galaxy Nexus would often shut down due to a loose battery connector. It was a widespread problem and the workaround was to fold paper or tinfoil at the bottom of the battery to push it against the connector.
lvillani··on HP Allegedly Time Bombs Unofficial Ink Cartridges from Working in Its Printers
Personally, I never ever had to use hplip's GUI tool, except for configuring wireless printing. After doing so, I could uninstall it and use bog-standard CUPS.
lvillani··on A FreeBSD 10 Desktop How-To
I still wonder why Canonical promotes non-LTS versions as stable releases. They are not. LTSes are and you only have to update once every two years, or 3-5 years if you wait for your current release to be EOL'ed.

Non-LTS releases are really just development snapshots to give you a sneak-peek of features coming in the next LTS.

At my company we used to upgrade our workstations with each and every Ubuntu release. It was a mess. As soon as we started to jump between LTS versions, every problem vanished. And upgrades are almost painless. We have a rock solid stable base and we can upgrade select packages through PPAs.

lvillani··on The Ars guide to building a Linux router from scratch
Which one do you have? Mine is an RB751U-2HnD and it is plagued with problems, to the point that I set-up an automatic reboot every other day and I'm thinking about switching to Ubiquiti gear...
lvillani··on Apple's $348M Tax Settlement In Italy Bodes Ill For Google, Facebook, Microsoft
I'm using uBlock Origin and it works just fine.
lvillani··on GitLab announces $4M series A funding from Khosla Ventures
GitHub is not just a place to host Git repos. It has an issue tracking system, wikis, pull requests, integrations with 3rd party tools, and reviews done through a pretty web interface.

If you rely on those parts of GitHub and it gets DOS'd, your workflow suffers.

lvillani··on OS X Command Line Utilities
> It uses the same underlying API

I don't think so. For whatever reason Caffeine doesn't take a power assertion, as show by `pmset -g assertions`, whereas caffeinate does.

This is what prompted me to write Theine (https://github.com/lvillani/theine) to use the proper API for this task, since Caffeine would behave erratically with the lock screen active.

lvillani··on Sublime Text packages are on GitHub
Visual Studio Code is based on Electron, not Atom. The editor component is Microsoft's and based on Monaco, the editor used in Visual Studio Online.

Electron is a souped up Chromium Embedded Framework, patched to make it easier to develop desktop applications. Atom is built on top of that.

So, Visual Studio Code only uses the "low level" components from the Atom project, but it doesn't use Atom itself (unlike Nuclide which is, instead, a set of Atom plugins).

lvillani··on Atom 1.0
It highly depends on your usage pattern.

I usually have one long-lived instance of an editor for the project/thing I'm focusing on, but I also frequently fire up "temporary" instances for one-off editing jobs, from the terminal.

The difference between, let's say, "subl ." (launch Sublime Text in the current directory) and "atom ." is staggering: Sublime Text starts instantly with a boatload of plugins; Atom starts nearly instantaneously but then takes around 5 seconds to become usable, without plugins, after repeated runs.

(Speaking of specs, I'm on a late 2013 Retina MacBook Pro, 16 GB of RAM)

lvillani··on Why did Borland fail?

  > I'll be taking up Android again soon. Every time I try I find Eclipse [...]
Is there a particular reason to choose Eclipse instead of Android Studio? Google is pushing its weight on the latter with their Eclipse+ADT combo being essentially on life support (and for good reason since Android Studio provides a vastly better experience).

Moreover, the next version of Android Studio will include C/C++ support based on JetBrains' CLion that will cover development with the NDK.

lvillani··on Xhyve – Lightweight Virtualization on OS X Based on Bhyve
VMWare Fusion is, in my experience, everything but horrible for battery life. I frequently spin up VMs with Vagrant, do something with them and then switch to other tasks. More often than not, I forget to shut them off, mostly because their impact on the battery life is so minimal that I don't notice them until I run `vagrant global-status`.
← PreviousPage 2 of 6Next →