HNHacker News
TopNewBestAskShowJobs

antrix

424 karma · joined April 15, 2010

lurker by day, lurker by night - antrix.net
submissionscomments
antrix··on About concurrency and the GIL
I don't get this argument. If I replace my memcache logic with an in-memory thread-safe hashmap, it will always be faster. I can't see how it can be slow.

As for 'simpler', as long as you aren't actually implementing the thread safe map, it is simpler than using memcache too.

So as long as you use well written shared state implementations, (e.g. Java's concurrent collections), shared state isn't as hard as you make it out to be.

antrix··on Who said Android apps can’t look good?
> Android UI design is easier coz it's XML so you can do it programmatically!

That is absolutely not the point raised in the article. XML based declarative UIs help to keep your view code separate from the application's logic allowing for faster iterations. I don't think anyone manipulates XML views in code except in corner cases.

The simplest way to get a big picture idea about Android's XML based UI is to think of them as HTML+CSS with the addition of good layout managers.

antrix··on A New Flavor... Still Delicious
> Twitter now serves this purpose for a ton of people, which is lovely, but a carefully-chosen Delicious network had a signal-to-noise ratio that was pretty unbeatable.

Moreover, searching for anything old on Twitter is pretty much impossible. Delicious was much better in that you could always search & recall that one bookmark.

antrix··on Android apps management architecture flaw?
I think it was a bad decision to ship devices with limited internal memory. But I'm trying to figure out how this is an 'architecture flaw'.
antrix··on The agonies of picking a product name and how we chose Trello
This reminds me of something that happened here in Singapore not too long ago. The government had big plans of reviving the downtown area with lots of new developments, including the new casinos. As part of this makeover, they thought the then name of the area - Marina Bay - needed to be retired too.

So they hired a consulting firm and paid them about half a million dollars (IIRC) to come up with a new name.

In the end, the name they picked was.. Marina Bay. Yes, half a million to just continue with the old name! The spin was that the name was good and already part of the national culture/image. Which, to the layman, was obvious from the start :-)

antrix··on Show HN: Quote Vote, my Android app combining social voting with 140 characters
Feedback not on the concept but on your implementation. Since you are saving the UUID to SharedPreferences, you can simply implement a Backup Manager [1] to ensure this is persisted for the user across application installs. It won't be tied to a device but to a user based on their Market identity.

[1]: http://developer.android.com/guide/topics/data/backup.html#S...

antrix··on Google App Engine leaves preview, new pricing
Not really, if you enable multi-threaded request handling. While one thread/request is waiting for IO/network to complete, other threads are still handling requests. All in the same instance.
antrix··on Google App Engine leaves preview, new pricing
Go isn't going to help at least in the near term. Concurrent request handling is not supported on Go. Nor do they have it on their roadmap, AFAIK.
antrix··on Announcing the first release of batman.js
Just two sentences after that, it lists exactly what it offers. One click away is the homepage which has much more detail. Are you seriously _so busy_ that you can't read a couple of lines more? And if you really are, please do practice skimming!
antrix··on Apple phasing out developer access to the UDID in iOS 5
FWIW, Google discourages the use of UDID as a 'unique user id' and recommends these alternatives: http://android-developers.blogspot.com/2011/03/identifying-a...
antrix··on HTC sues Apple over everything
The original complaint & the actual patents if anyone is interested: http://thisismynext.com/2011/08/16/htc-sues-apple-patents/
antrix··on HTC sues Apple over everything
Here you go: http://thisismynext.com/2011/08/16/htc-sues-apple-patents/
antrix··on Google's Latest Acquisition: The perils of licensing to your competitors
> Most these device makers outsource and do not have their own manufacturing.

You mean like Apple?

antrix··on Google Buys Motorola For $12.5 Billion
> The first litmus test will be the release of Honeycomb.

You mean Ice Cream Sandwich? Google has made it clear that they won't be making a Honeycomb source drop. Instead, ICS would contain the 'converged' codebase from their phone (Gingerbread) and tablet (Honeycomb) trees.

antrix··on Algorithmic trading -- the positive side
> minimally affect the price of said stock by the sale. [snip] I'm not sure I seed (sic) the point of the latter

This generally affects sales involving large quantities. Say you want to sell 10000 of IBM. The current order book at the exchange looks like:

    165.55 -  10    
    165.54 -  20    
    165.53 - 200
    165.52 - 500
    165.51 - 100
As you can see, the current market is 165.55 and you decide to place a SELL order for your 10000 IBM. You have two options - place a limit order or a market order.

Market Order: As soon as you place your order, you are going to sweep the order book above. End of those 5 transactions, the market has moved to 165.51 while you've only liquidated 830 of your 10000! Worse, people are noticing a lot of sell activity so the folks who wanted to buy start placing bids at lower & lower prices. By the time you liquidate all your 10000 stocks, the average price you end up getting would be 165 or 164 or lower! You've moved the market by virtue of your sale & made less money as a result.

Limit Order: If you place a limit order for SELL 10000@165.55, then you sell the first 10 to the current highest bid. After that, everyone knows there's a seller looking to offload 10000 units. So they lower their bids. You are worse off!

By now, I hope it is clear why you should care about not moving the market by your sale. The way to solve this problem is to sell in small chunks periodically in ways that does not signal to the market what your actual quantity is. As you can imagine, computers are pretty good at doing this kind of grunt work. Hence Algorithmic trading :-) Specific examples would be VWAP, TWAP, etc. Just Google for them.

PS: this has nothing to do with HFT algos.

antrix··on Developing Android Apps: it's really not so bad
> Java is notorious for having over-engineered frameworks

You've got to separate Java the language from all the other stuff. You aren't going to use J2EE for Android so how does that affect you? Java may not be the most elegant language but neither is Objective-C without warts.

> And, more importantly, the market isn't just there for Android apps.

Now you are just moving the discussion.. this is not what the OP was talking about nor was it the point of this discussion.

antrix··on Developing Android Apps: it's really not so bad
Why is _Android_ development relatively easy? Well, for one thing, the territory is well trodden. ... _Java_ masters have been able to switch to _Android_ and tell people/show people how to code properly. ... _Java_ has been around for a while.

Goes both ways, no? Not that your comment is without merit but this bit just struck me as really odd.

antrix··on Beginners Guide : pip and virtualenv
Same here. At times, it gets so bad that I have to hit Ctrl+C and then it dumps out a nice big trace before giving me my shell prompt.
antrix··on Why my Mom Bought an Android, Returned It, and Got an iPhone
Android is already selling tons of phones in Asia. HTC's rise as a top tier manufacturer is on the back of Android sales in Asia. Another data point: the Samsung Galaxy S2 has sold 5 million phones and it hasn't even been launched in the US yet.
antrix··on Multiple APK Support in Android Market
What the parent is describing isn't so much OS version specific but device specific. If Samsung puts out a phone with a broken Android build on which the GPS is always faulty, as a developer, I can blacklist that device and my GPS reliant app won't show up on that device's Market.

Consumer buys that device, loads up the Market & tries looking for my app which their friend said was MUST HAVE. They don't find it on the Market so go back to the store, return the device & get another.

I think this is what kogir is talking about. Feel free to replace GPS with such things as broken OpenGL implementation, etc.

antrix··on Go for the JVM, written in Scala
A best of breed garbage collector is a strong argument for the JVM.
antrix··on Google Singleton Detector
In addition to what johnyzee says, in Java at least, a class with just static methods can't _implement_ any Interfaces.
antrix··on Google to Retire Blogger & Picasa Brands in Google+ Push
Definitely. I would love it if my Reader shared items made their way into G+ as shares.
antrix··on Google+ For iOS Awaiting App Store Approval
Not available in Singapore Market either.
antrix··on Google+ and Privacy: A Roundup
> Their real-world relationships use very different names, but G+ forces them to pick only one.

G+ profiles have nicknames. Wouldn't that be suitable for this scenario?

antrix··on Tampermonkey: Greasemonkey for Android
I installed this on my Nexus One assuming it would install as a plugin to the standard browser. Instead, it is a browser by itself with the greasemonkey functionality baked in.
antrix··on New John Carmack Interview
Like the Xperia Play? http://www.sonyericsson.com/mwcnews/xperia_play/
antrix··on IOS vs. Android from the Trenches
> Example: if I jump from my app to the browser then hit home then later relaunch the app and I'm confused because I start in the browser.

As an Android developer and a long time Android phone user, I have to say that this can _never_ happen. Do you have a real example?

antrix··on The mother of all Android malware has arrived
The apps included root exploits. The thread on the Android subreddit has lots of details.
antrix··on Hong Kong gets 1 Gbps broadband service for $26 a month
One provider's traditional Cable as well as Fibre broadband plans: http://www.starhub.com/broadband/athome.html#tabcontrol-1

1USD ~ 1.3SGD

← PreviousPage 3 of 4Next →