HNHacker News
TopNewBestAskShowJobs

lpsz

1,371 karma · joined February 3, 2014

Lurking.
submissionscomments
lpsz··on Ask HN: How can I trust Google Analytics?
Why not just use an event handler which sends the event to GA, and after that, follows your link? They provide a callback and everything...

   var outboundLink = function(url) {
      ga('send', 'event', 'button', 'click', {'hitCallback':
         function () {
            document.location = url;
         }
      });
   }

   <a href="#" onclick="outboundLink('https://www.foo.com'); return false;">Foo</a>
See: https://developers.google.com/analytics/devguides/collection...
lpsz··on Ask HN: Browser extension for limiting bandwidth (feature request)
If you're on Mac, check out an Apple utility called Network Link Conditioner.
lpsz··on Apple Releases new MacBook Pros with Force Touch Trackpad
Yikes, that does sound terrible -- makes me wish you had a more positive experience since it really should all work. I wonder if it's CPU/hardware specific?

Data point re: Wi-Fi, though: I've seen friends experience Wi-fi issues on their Airs as of one recent update, but never have them myself on my 2011 Air (that I use heavily for coding and graphics work.)

lpsz··on Apple Releases new MacBook Pros with Force Touch Trackpad
I see these "OS X is getting worse" posts from time to time but it doesn't match my experience. Care to elaborate?
lpsz··on MacKeeper 0-day flaw more than 20M users affected
I don't see why apple doesn't ban them.

Even in the Mac App Store, Apple permits scammy apps such as "Memory Clean" [1] that consistently ends up in top ranks/top grossing. For one, "RAM cleaning" does nothing helpful and theoretically can make your Mac less performant. Bonus: the app calls home to push the developer's other apps.

I'm surprised stuff like this prospers in plain sight with Apple's tacit approval. Snake oil for non-power users who don't know better.

[1] https://itunes.apple.com/us/app/memory-clean/id451444120?mt=...

lpsz··on MongoDB and RocksDB at Parse
MongoDB seems to have a bad rep on HN for its various shortcomings, and yet here FB/Parse seem to use it. Is the bad rep overrated? (Honest question)
lpsz··on Pause Me – Apply the 20-20-20 rule to prevent eyestrain while working
I've found f.lux indispensable for long hours of computer work, be it coding or reading. Surprised when I find friends who haven't installed it (or an alternative) yet -- this stuff should be standard, especially on incredibly bright-screen Macs. If you're on Linux, try Redshift instead.

When will something like this be available on my non-jailbroken iPhone? Heck, maybe someone could make a third-party browser app that tints itself ... turning down the brightness is just not the same.

lpsz··on Bug 1202858 – Restarting squid results in deleting all files in hard-drive
And this is why it is important to write something like

    set -eu
on top of your bash scripts -- execution will stop on errors (non-zero retvals) and on undefined variables.
lpsz··on Inkscape 0.91 release
FWIW, I use Sketch daily and it has been a lifesaver after I abandoned Photoshop. Give it a second try! (This is v3, to be fair -- I believe earlier versions had new-adopter quirks.)
lpsz··on Developing iOS 8 Apps with Swift
Using Swift for sometime here. The language itself is great and I find myself generally more productive.

The annoyances are not with the language, but with the tooling. Slow auto-complete and lack of incremental compilation are my wishes for Apple to fix soon.

lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Echarts 2.0
There are more.
lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Echarts 2.0
There are more. For example, Taobao and its Nginx port [1].

[1] http://tengine.taobao.org/

lpsz··on Japan records lowest number of births on record as population shrinks
For those curious to see some numbers, this WP article [1] (2003) does a decent job -- among this, a projected ~25% population decline by 2050.

[1] http://www.washingtonpost.com/blogs/worldviews/wp/2013/10/22...

lpsz··on What happens to your bike after it’s stolen
Interestingly enough, intentionally setting a trap (even on your own property that you expect to be burglarized) has been ruled to be unlawful unless your life is in danger.

"The law has always placed a higher value upon human safety than upon mere rights in property."

[1] http://en.wikipedia.org/wiki/Katko_v._Briney

lpsz··on What happens to your bike after it’s stolen
I'm surprised that "stronger locks" is what folks resort to, instead of trying to address the underlying issue (be it through punishment or other means.) I live in a country (in Asia) where bikes are routinely left on the street and not stolen or burglarized, scooters are abound and also easily parked, and generally petty crimes are rare. Here I can also freely leave my phone on the table in a coffee shop and go about.

I sure as heck wouldn't do this back in SF, though -- the amount of petty crime the society is willing to put up with, is, again, surprising.

lpsz··on Ask HN: Has anyone switched to Swift from Objective C? If not, when will you?
Switched, more productive due to more static-typed nature of language. Not seeing any problems other than slow Xcode autocompletion.
lpsz··on The Worst Journalism of 2014
It's okay, because with decreasing attention spans, journalism will eventually be swallowed by click-bait BuzzFeeds of this world.

If you disagree, it's because on HN you're among peers that can actually read an entire NYT article or a think tank report. In one sitting. Without a Snapchat break. And HN is not representative of the general population.

lpsz··on Stanford's Women Won Just a Sliver of Silicon Valley
It seems that at least a few of the graduates mentioned in the story gave up entrepreneurship to start a family (i.e. a traditional path.) It would be interesting to see if modern-day delay/avoidance of "family life" stage [1] may lead to a different outcome today.

[1] http://www.bloomberg.com/image/i5kUtaPYUPf8.jpg

lpsz··on “I am not authorizing you to release a Ruby port of Metaphone 3”
The package maintainer, as you said, handled this very gracefully.

Yeah, the author is likely in the wrong/gray (IANAL). But I can't help but be disappointed that posters below immediately jump to "Well, it should be free anyway!" "Why is he protecting his code?" "Here is an evil oppressor trying to keep something valuable to himself."

Here is a developer who tried to build a living using his own software, something many of us aspire to do. Why are we so quick to throw him under the bus? Is it because we instinctively always want to "defend the underdog"?

lpsz··on Steve Jobs Introduces WebObjects [video] (1996)
At the 23:50 mark the slides follow the familiar model seen in Apple media events today.

The approach: in 3-4 concluding slides, concisely reiterate key selling points, compatibility, price, and the availability timeline. I've always found this approach to be particularly effective -- I'm highly likely to unambiguously remember these most important bits given that they are presented last.

lpsz··on The most popular web sites every year since 1996
Surprised to see Ask still on the list. I haven't personally browsed there since maybe y2k. Not to be facetious, but I imagine a whole segment of users unaware of Google (or DDG, or another sensible modern alternative) and still relying on Ask.
lpsz··on Einstein: The Negro Question (1946)
What, however, can the man of good will do to combat this deeply rooted prejudice?

More diversity (in neighborhoods, in workplaces, in schools) would certainly help -- the transition from "us" and "them" to a unified "us." And yet, it's disappointing how segregated America still is today. One fairly in-depth study [1] offers an example of how "today" came to be. (This report is not about any current events, but rather a detailed account of city zoning over a few decades.)

[1] http://www.epi.org/publication/making-ferguson/

lpsz··on Ask HN: OS X folks – do you use Finder?
This may help. One little-known feature: if you drag a folder to a File Open/Save dialog, it'll navigate to that folder! (This is unlike Windows, where it would move that folder.)

If you have the folder already open in another Finder window, you can drag its icon next to the title in the titlebar (top of window.)

You can also drag a folder (or that icon) to Terminal to grab the path.

lpsz··on Ask HN: OS X folks – do you use Finder?
Finder can be tamed if you master its keyboard shortcuts. For example, in a folder of photos, press Cmd+Y to view a single photo. Then use arrow keys to browse photos, Windows-style. Indispensable.

Or, Cmd+Backspace to delete a file.

← PreviousPage 3 of 5Next →