HNHacker News
TopNewBestAskShowJobs

micampe

1,627 karma · joined July 21, 2007

submissionscomments
micampe··on Swift Blog
Here is a great article about strings in Swift: http://oleb.net/blog/2014/07/swift-strings/

Short story: “number of characters” and “nth character” are more complicated questions than you might think when you deal with full Unicode text.

micampe··on D-day landings scenes in 1944 and now – interactive
The technique is called rephotograpy, search for that and you'll find many more.
micampe··on iOS 8 Privacy Updates
I denied location access and Facebook never asks me anything more than once.
micampe··on Uncharged phones, laptops to be banned on US-bound flights
Alright, so open up the battery, keep half the cells so the laptop works fine and replace the other half with PETN.
micampe··on How Does One Create A Gtk+ Application?
Both Gentoo and GTK2 were released in 2002.
micampe··on Google’s Balloon Internet Experiment, One Year Later
The article says the repeater is only for wifi, phones connect directly.
micampe··on Google’s Balloon Internet Experiment, One Year Later
What does that mean?
micampe··on Google’s Balloon Internet Experiment, One Year Later
There is one thing I don’t understand: the balloon can have a powerful enough antenna to send information to a phone 60,000 or more feet away, how does the phone talk back to the balloon?
micampe··on Google I/O 2014
I’m watching it in Safari without Flash installed.
micampe··on Why The Cool Kids Don't Use Erlang
Sure, and other people have the right to not like reading the negativity.
micampe··on Why The Cool Kids Don't Use Erlang
Negativity. I didn’t downvote but even agreeng with you and being frustrated with the website I was put off by the tone of your comment.
micampe··on Interesting Swift Features
Ok, let me replace my “can’t” with “is a lot less likely to”.

I checked: neither // nor /// can be used as operators (syntax error: they both just start a comment). All your other examples work, but I would say those mean the author is intentionally trying to trick me. Or he’s writing a clever DSL, but that line is very fine and treacherous.

micampe··on Interesting Swift Features
I think the danger of abuse is stronger when you overload existing operators than when you make up new ones. The latter can't fool you on its semantic and behavior.
micampe··on Interesting Swift Features
It's a small thing but I think let/var deserved a mention too (my C code is littered with const everywhere).
micampe··on The best 4K monitor doesn’t exist yet
Eh, you got me. Digital camera disaply resolution is reported like that, worse, they don’t count pixels but “dots” (i.e. subpixels).

Example: the Olympus E-M10 has a 1,037,000 dots display, which means 345,600 pixels, which means 720x480. But all the marketing material (and review websites) reports “1 million dots display”.

micampe··on The best 4K monitor doesn’t exist yet
They do that for digital camera displays and it’s super confusing.
micampe··on Why Rubyist Will Love Swift
That is true for every programming language and platform pair. The syntax is always the easy part, but unfortunately the only thing most people fixate on.
micampe··on Firefox OS Apps run on Android
Sorry, deleted my comment while you were posting this. Repeating verbatim here:

“Chrome OS APIs, like Firefox OS APIs are not web APIs, so a Chrome OS app is not a web app, it’s just a regular app developed using web technologies.”

micampe··on KDE Ships Second Beta of Next Generation Plasma Workspace
Please don’t stir conflict by only reasoning in terms superior and inferior.

Things are different, no need to order them, especially on one single axis.

micampe··on Airbum – A simple and elegant online album
Your comment is overly harsh but I find the reaction interesting. It’s getting more common here.

In other cases I’m also disturbed by the broken scrolling but in this case my only complaint is the space bar not working. This is a slideshow, but it feels like scrolling because it goes vertically and the scroll bar works. I’m pretty sure if the scroll bar were completely disabled and there was a [next] button with a different transition you wouldn’t complain because you wouldn’t think of it as broken scrolling, but just as another slideshow.

So, my suggestion to the author: make it slide horizontally.

micampe··on Inside Swift
Don't run the binary directly, that path will change when the GM ships. Use:

    xcrun swift
micampe··on Apple Pro Mouse
The problem is that it's hard to tell humor from this https://news.ycombinator.com/item?id=7862743

Also: Rule 34.

micampe··on Apple Pro Mouse
Yes. And the Magic Trackpad beats any mouse for any task that is not Photoshop or gaming.
micampe··on How to write an iOS app purely in C
Your opinions are fine, but some of your facts are incorrect.

http://xamarin.com

http://www.rubymotion.com

http://www.appcelerator.com

http://unity3d.com

http://developer.coronalabs.com

micampe··on Linux Mint 17 “Qiana” Cinnamon released
> It just doesn't seem like a very hard problem to solve.

For any given problem, only people who have not tried to solve it will say that.

micampe··on Name.com released .NINJA domain names yesterday
is an interesting link not interesting anymore if you add a tracking bug?
micampe··on Name.com released .NINJA domain names yesterday
I think ccTLDs and the common TLDs work now more as signaling "this is a website" than as namespaces. When I read bounce.com I know it's a website, bounce.ninja not so much. We'll have to go back to 1999 when people didn't know about the web and you had to write http:// everywhere.
micampe··on The Scroll Up Bar
I don't know, but I don't think it's wise to override a system behavior in ways the user doesn't expect. Better just put a button on the page.
micampe··on The Scroll Up Bar
I don't know what mobile phone you use, but on iOS tapping the status bar scrolls back to the top of the page (or anything else that scrolls in the system).
micampe··on Things about Git
Even with --hard, the commit isn't lost. Commits are not immediately removed from the repository, only when git runs the garbage collection. Try it: create a test commit, make a note of its hash, reset to HEAD~1 and then reset again to that hash.

When you do this by mistake and you don't know the hash you can find it using git reflog, which logs everything that happens in the repository.

More detailed: http://gitready.com/intermediate/2009/02/09/reflog-your-safe...

← PreviousPage 7 of 19Next →