Better HN
topnewbestaskshowjobs
Log inSign up

programminggeek

5,207 karma · joined May 21, 2010 (16y ago) · 1,593 submissions

I am a builder. I build lots of things.
Submissions

comment 14y ago · link · parent

One thing I love about PhoneGap that I kind of hate about all of these different "compile in the cloud" platforms, is I like have the actual source and being able to compile on my local machine.

If your cloud compile infrastructure is down or I don't have a net connection, I can't compile my app and test on device. To me that is actually worse.

I'm a developer and I can figure out how to setup an xcode or Android or WP7 app. It's not hard, especially if the app just has a single web view.

I realize these features only exist to appease Windows only shops who want to make iOS apps, but don't want to buy Macs, but if you want to build iOS apps, buy a mac. You want to make Windows Phone apps, buy a PC.

Trigger.io looks cool and all, but give me local compile and the actual project code. Otherwise, you've made my dev experience worse, not better.

comment 14y ago · link · parent

Having done some PhoneGap dev lately, it is possible to make a great app using HTML5, but to make it perform well and have the right look and feel requires a ton of work, and the tooling around it still leaves something to be desired, especially on the UI side.

Libraries like Kendo UI or Sencha Mobile help a lot, but if I were Facebook, I'd spend the dev time to do it right and make it awesome.

Whether that means optimizing the crap out of their HTML 5 or going native is a judgement call.

comment 14y ago · link · parent

Look at the Microsoft Surface, it doesn't look like the iPad, it's not marketed to look like the iPad. It doesn't line up icons and UI to look like iOS.

Samsung's phones were designed to look as much like the iPhone and iPad as possible. They didn't have to do this, but they did it as a way to get sales by being "good enough" for people who couldn't get the iPhone on their network when it was AT&T only.

Now that the Galaxy phones are popular enough, they are working a little harder to look and feel different, which is to say, they no longer need to copy Apple to be successful. Hopefully soon they do the same with their tablets.

comment 14y ago · link · parent

I have no problem with HFT, but only because it is turning machines into things that are doing what humans did before, only at a speed that we can't keep up with as humans with our inherently physical interfaces.

How is HFT different than traditional arbitrage except for the fact that it is faster and potentially at a scale that normal traders would never be able to keep up with? How is buying something one second and selling the next inherently different than buying one day and selling the next? Speed?

Does computers being faster make it any more unfair than when one trader has access to millions or billions of dollars when I only have access to hundreds or thousands? I don't think so.

Now, one could argue that HFT disrupts the way that Wall Street has worked for decades, but really, it is shifting the profit from traders, bankers, and fund managers to HFT firms. Sure, Wall Street probably doesn't like it, but does anyone like it when someone disrupts their market and takes their profit?

You could also argue that HFT doesn't add value because HFT firms inherently don't do anything other than trade millions of stocks only for the sake of trading them, but how is this worse than day trading or running any other fund other than the turnover rate?

Perhaps I'm blind to the real issues, but I just don't see a huge difference between HFT and traditional Wall St. trading, except maybe that it magnifies the problems inherent in the system due to speed and scale.

comment 14y ago · link · parent

Funny story, I was at Sam's Club the other day checking out the tablets and I noticed two important things.

First, the iPad is always out front - highly visible and ready to play with. People are always stepping up and using it. The android tablets (including the Kindle Fire) were around back.

Second, a customer was playing with a 10" Android tablet and his wife came over. He commented to her something like "I like the tablet over there better" and he pointed to the Kindle Fire. The hardware is obviously not as good on the Fire, but the UI/UX and form factor seem to suit non-geeks a lot better than Android 4.0.

Also, my mother-in-law just got a Kindle Fire and loves it.

A couple data points don't mean much, but it's always interesting to see how normal people view and use these devices.

comment 14y ago · link · parent

This article is spot on, but it is easy to read it incorrectly. MSFT has a problem that the best/most popular consumer apps are being developed for the web or iOS, then Android, then far down the road they MIGHT make it to WP7 and someday maybe, eventually they show up on Windows proper.

For the last 2 decades MSFT's whole company strategy is to get developers to make apps for Windows Desktop. Name the last big "Windows App" that made you buy a copy of Windows? The web killed that and iOS and Android made it worse.

Now Microsoft needs devs to make Windows 8 apps and they are hoping that the inherently huge Windows Desktop ecosystem will make it so cheap to port to mobile that developers will build tablet and mobile apps from their Windows 8 codebase.

The only problem is if you have a native app you are talking about 3 or 4 codebases to deal with - iOS, Android, Windows (and its variants), and the web. As it stands now most devs will stop after doing iOS, Android, and web. Who knows if Windows App Store is going to sell enough software for it to be worthwhile to add a 4th codebase.

The opportunity in this is for shops who are willing to port popular Apps to Windows. At this point the only apps that are worthwhile to build Windows first are games.

comment 14y ago · link · parent

Is your goal to ship apps or is your goal to learn Obj-C?

If your goal is to just ship apps, pick a framework or tool that lets you get your app out there as fast as possible - PhoneGap+Sencha Touch/Kendo Mobile for informational apps or something like Corona for games.

If your goal is to learn Obj-C and build apps using it, you should just pick a basic app like a todo list, twitter client, whatever... and just solve the problems one at a time until you have a working app.

Books and tutorials are fine, but they're also a great way to procrastinate building the app that you are trying to build. If you are trying to build something, just build it.

comment 14y ago · link · parent

Well, if you like jQuery Mobile, Kendo Mobile is VERY similar, but in many ways much, much better. It looks and feels pretty native. It switches UI styles per operating system which is very cool. The best part of Kendo Mobile is that it is fast and much more bug free.

When I was building an app with jQuery Mobile, each time I added a feature it managed to add a bug. It was a huge pain. Kendo Mobile made it where I didn't have those kinds of bugs that I had with JQM.

I didn't use Sencha Touch because it is MVC with its own framework, and I had a bunch of existing KnockoutJS code that worked really well with Kendo Mobile, so I can't say much about Sencha Touch other than Sencha Touch seems fast and demos well, but is designed to look more like iOS.

If you have money to spend, Kendo Mobile is great and works great with PhoneGap/Cordova. If you don't want to spend the $200, check out Sencha Touch. Avoid jQuery Mobile like the plague. It's not ready for prime time.

comment 14y ago · link · parent

I think the easiest way to get in "the zone" (at least for me), is to have side projects that you can only devote time to in 30-60 minute chunks. You have to get down to business and focus to get anything done in that amount of time. Make sure you get at least one session done a day and over time you get good at jumping in and solving a problem quickly.

comment 14y ago · link · parent

As a software developer, Dreamweaver is basically a pointless tool that is not really needed for what I do. That being said, including PhoneGap and other modern HTML5 tools should help Dreamweaver stay relevant and useful to a certain class of web developer.

Too bad they are backing jQuery Mobile because it's terrible, buggy software, especially combined with PhoneGap. To anyone wanting to build a good app with PhoneGap, skip jQuery Mobile and move on to something better like Sencha Touch or Kendo Mobile. They are much better.

If jQuery Mobile wasn't backed by the jQuery project, people would not use it because it is slow, buggy, pre 1.0 quality software.

comment 14y ago · link · parent

Both MailChimp and Mandrill look great, but I have a pricing question. Is it possible to use Mandrill to send out newsletters since your Mandrill pricing is WAY cheaper than your pay as you go newsletter pricing?

I've been looking for a newsletter service that charges me reasonable rates for pay as you go sending of a monthly/semi-monthly email newsletter, using the pay as you go product, it would cost me $30 per 1,000 emails, whereas Mandrill's per email rates start around $0.90 per 1,000. You say that both are using the same infrastructure, so why is sending email newsletters with MailChimp 33x more expensive?

comment 14y ago · link · parent

This back and forth public argument feels a lot like the hype up for a professional wrestling, boxing, or mma match. Both sides talking themselves up while the audience picks sides and eats it up.

I'm sure this wasn't intended but it's fascinating to say the least.

comment 14y ago · link · parent

I like the idea of Boot2Gecko, but it's 100% pointless as a project. We had a shot to have a pure web based OS with webOS, and absent awesome hardware and marketing nobody bought it. Mozilla building their own Firefox version of webOS is not going to make this kind of thing successful.

Great devices are a marriage of hardware and software. Focus too much on one at the peril of the other.

Shipping an OS to basically closed hardware devices - phones is a much different ballgame than shipping a web browser app on a preinstalled operating system and with Android already being both free and popular and open source, I don't know why any hardware maker would use Boot2Gecko.

comment 14y ago · link · parent

You can do this right now, it's called Apache Cordova(Phonegap) or Appcelerator. He's right, without giving a web app a more direct interface into your device, they can't compete with web connected "native apps".

It is not that you can't write highly complex native feeling things in HTML and JS, it's that without real native hooks (both UI and hardware), it is simply impossible to do things from the web that a user would expect their device to be able to do.

If the user expects to be able to do something and they can't, it is a bad experience and they find a better alternative, which right now means "native apps".

comment 14y ago · link · parent

Having just spent the weekend doing an iOS app in PhoneGap and jQuery Mobile, I can say that PhoneGap can get you to the first 80% really fast and it can look/feel native, but the devil is in the details and the last 20% is going to take an extra 80% for sure.

Native vs HTML/PhoneGap is about tradeoffs. With a little bit more experience I'll be able to easily ship a working app in a weekend using PhoneGap, but there are plenty of use cases where native would be a much better way to go (games, photo filter apps, etc.)

It's not about what is better in all cases, it's about what is better for your project.

comment 14y ago · link · parent

Battery life on this is going to be terrible and so is price. The article was probably right that it will land in the 2-4 hour range. For ultrabook type specs you'll be paying ultrabook prices. This won't likely be a $500 machine, more like $800-1000. So, $500 iPad3 or $800 for Windows transformer tablet?

Sure it will sell, but not in any kind of volume like the iPad.

I'm sure Apple could have build this, or still could, but they likely didn't because they coudln't hit mainstream pricing. Nobody has the volume or the operational excellence to compete with Apple on price, quality, or volume without sacrificing profit margins.

comment 14y ago · link · parent

You know, static hosting works really great on Amazon S3, as long as you don't need a .htaccess file. On all of my jekyll sites I use S3 now and there's even a jekyll-s3 gem that makes pushing your site up to S3 painless. The nice thing about using S3 is you don't have to wait for Heroku instance start up if it's not a high traffic site.

comment 14y ago · link · parent

I think that non-windows devs don't realize how much Windows devs LOVE Visual Studio. They will spend however much money it costs to use it. Also, VS is like $500-600? Devs pay that for IntelliJ all day long, so why not VS?

Honestly, for a tool you would use all day long at work, $500 is cheap. If you NEED Visual Studio for C++, then it's worth the money.

Sure, on Linux and OS X you get free dev tools like XCode and GCC, but MSFT spends a lot of money building these tools, so if they decide they no longer want to subsidize them by offering them free, it's their business.

They want devs making Metro apps, not old Win32 C++ apps. If they don't get Metro apps to be built in a big way, Windows 8 tablet edition for human beings 2012 is never going to take off.

It makes sense for Microsoft.

comment 14y ago · link · parent

Facebook is probably not as "effective" at large spends as traditional media buys are, but Facebook is an INCREDIBLY lucrative system for advertising and social interaction if dealt with in an intelligent way. I think the problem people are having is the impedence mismatch of treating pull based engagement to traditional push marketing.

Traditional advertising is about pushing people to buy a product like a car or soda. Pull based engagement is more about people seeking you out and your business interacting with them at a time and place of their choosing.

Facebook is a social network, not a shopping mall or yellow pages. Google is more of a yellow pages for most people. I bet GM would be more successful if their $10 million spend went to push local dealerships and created customer to dealer relationships via coupons or creating local car clubs for various brands/models.

Local businesses would be more successful on FB if they treated as a lead gen system to build up their own mailing lists to offer ongoing coupons, sales, information, etc. You know, creating a relationship with them.

The point is, all of this goes against traditional advertising and marketing ideas where you just had to blast out a bunch of ads to TV, Radio, Newspapers, or more recently Google. Buying ads on Facebook isn't about flipping $1 of advertising into $2 in sales. That works for a few niches. For everyone else, use the cheap lead acquisition cost to build a long term relationship. It's harder, but it's WAY more valuable.

comment 14y ago · link · parent

This looks incredibly useful for browser based unit testing.

comment 14y ago · link · parent

I'm doing API first stuff in Sinatra(or grape, or radial-ruby), sequel/mongoid.

Static assets like JS and CSS can live on a CDN. If you need something google friendly on your views render with sinatra and your favorite template language, if not just write straight html/js apps with your favorite js framework.

In a world where you are building API first, what is the point of rails over something lighter and more performant like sinatra?

comment 14y ago · link · parent

I hate to say this is a bad idea, but dividends signal to the market that you have no better way to spend your money than just giving it back to investors to spend elsewhere.

Combining a stock buyback plan is smart at least because perhaps they can balance the two and counteract the dividend effect by buying up shares.

In reality Apple could probably just become a private company by buying back most/all the public shares, but I doubt they want to do that. There are obvious PR benefits to being the "most valuable" or "most profitable" public company in the world.

Also, as far as space travel and exploration, that makes no sense for Apple. Apple is not a company that invests huge in R&D projects that won't pay off for decades. It would ruin their incredible focus on what they are doing now and for the next 5 or so years. If you get too far out ahead, you build things the world isn't ready for yet or you stop executing on the here and now products and services.

Apple's still got a ton of room for potential growth on phones, pc's, and tv's. There are also a whole slew of "post pc" computing interfaces and devices that haven't even been dreamed up yet. Space travel would be a distraction.

comment 14y ago · link · parent

The author is right mostly, the problem is friction and market dynamics. Adding software in a given linux distro is too nerdy. If you don't have an "app store" like gui, you've already lost most users. Command line = friction for most users, even a lot of developers who grew up with windows.

As a linux nerd, I'm fine with command line + synaptic, but look at how well people have used the iTunes store, Amazon store, Google Play, etc... All of those have much less friction to find and download the right software than most linux distro's have. Ubuntu's market is close but...

WHERE IS THE NON FREE SOFTWARE?!!

If linux wants to do well for humans, paid, proprietary software NEEDS to exist on the platform. Ubuntu Software Center comes close, but it still kind of sucks.

Also, as a dev, it wasn't until VERY recently that you could even sign up to publish an app that was commercial in nature. It is hard to build a real marketplace when you're asking developers to give away all their work for free so that you can sell more operating systems (or support contracts) without the software dev seeing a dime.

As a software developer I can't feed my kids with free downloads on an open source operating system used by people who don't like paying for software.

Make it easy for devs to build software that people will pay for, then get operating system users who will buy that software for real money and you'll have fixed the Linux Desktop problem.

comment 14y ago · link · parent

DATE4J is a good alternative to the standard Java Date/Time lib or even Joda Time. (http://www.date4j.net/)

comment 14y ago · link · parent

Ok, you really don't need to know everything about SEO to do a non-terrible job of ranking. Do these things and you can get traffic with SEO.

1. Title tags that get clicks (not kw stuffing or plain exact match)

2. Write content that is unique and semi-frequent. (update once a week or so at least)

3. Acquire links.

#1 and #2 are the basics that you need to do to even have a shot to show up for a given query. #3 is what is going to get you on the first page.

You can do #3 by having great content and doing social promotion, using email newsletters to blast your content out to people so they can share it, or if you're in a boring industry and nobody likes you, you can buy or build links via the numerous link building services out there that can hit any number of link sources.

At the end of the day, natural links are viewed as better, but paid links can get the job done in some cases.

Given a certain bar of content quality, the quantity and volume of links is still the most important ranking factor on Google and Bing as far as I can tell.

comment 14y ago · link · parent

I usually just use guard to run my mocha tests continuously. I have it check for .js files that have changed and run the test suite again.

As an emacs user, this is just running in a terminal window inside emacs so I have continuous feedback as I code. Makes TDD a lot of fun.

comment 14y ago · link · parent

Things look amazing for FB. Seriously. So many opportunities for growth.

Imagine FB credits at local merchants... Imagine FB Social Ads for content publishers... Imagine FB running their own mobile ad network...

Sure, FB is kind of AOL all over again, but this time around FB (unlike AOL) has no intentions of cashing out to some media conglomerate.

Facebook is more like this decade's Google like Google was last decade's Microsoft.

comment 14y ago · link · parent

I don't think Rails-style MVC frameworks are going to disappear for a lot of content heavy internet sites, but API first architectures are going to continue to become popular I think. That is part of the reason I built radial https://github.com/RetroMocha/radial

The tooling around rapid API development seems very immature right now, but it's going to keep getting better. Once it is drop dead easy to write API's first, you will see a lot more apps having a HTML5 app, Android app, iOS app, Windows 8 app, Mac app, etc. as more of the standard and less of an edge case.

comment 14y ago · link · parent

I realize it's just one data point, but I tracked my weight for a whole year basically and while my diet fluctuated somewhat, there did seem to be a strong correlation to weight loss and using cold therapy to activate brown fat.

When I did the cold therapy, I lost weight much faster.

Ice pack on the back of the neck for 30-60 min each night while reading a book works wonders.

comment 15y ago · link · parent

I've started open sourcing more things lately, mostly in the realm of things that solve a problem I have that might solve someone else's problem. Sometimes I build tech for tech's sake that improves my software or apps, but it isn't a product in itself. Frameworks, libraries, templates, and tools all tend to fall into this category I think and github is a great example is open sourcing these things.

You shouldn't open source your product itself unless you want to be a service company. I personally don't care to become a service company, so I keep the "product" and the data behind it closed, but the frameworks, tools, etc. can and should when possible be open source.

1
484950
54