Better HN
topnewbestaskshowjobs
Log inSign up

SomeCallMeTim

4,107 karma · joined Feb 17, 2010 (16y ago) · 1,490 submissions

I'm a consulting software architect and freelance CTO. I come in and rescue small businesses from code disasters, and occasionally am given the chance to prevent the disasters to begin with. I also used to develop video games, and have pivoted that skill to gamification consulting.

https://coderescue.com

Submissions

comment 15y ago · link · parent

It's a valid point: Neither Google nor Apple allow alternate payment processors. In that case they should be extra careful to make their service have lots of redundancy.

In fact their services (especially Google's) are not nearly so reliable as one would hope. Such is the danger of a monopoly.

comment 15y ago · link · parent

No, not x86. I actually can't remember the actual CPU it was. Something I'd never heard of, nor run across since. Maybe an IBM mini CPU? We would log into the computer via terminals and build and test that way. This was in the late 80s.

I remember that it was a pretty straightforward architecture, though. Something like 68000, which I knew already, but it was even more orthogonal with respect to addressing modes. I think it had 16 32-bit registers, and you could use any as an address to load data from, complete with offset for easy manipulation of data structures.

I do know x86, and while the 8086 was designed by idiots, it's not that hard to get the basics. Segment registers are a PITA, but as long as you're using 32-bit mode and not accessing more than 4Gb at a time, you can mostly ignore them. I've had to deal with something similar in another architecture, and you just end up with abstractions that hide the details as much as possible. Same as coding anything else that's nontrivial, really.

comment 15y ago · link · parent

I spent hours trying to help a friend in college "get" enough assembly language to not fail a class. I had already done assembly language development professionally and had previously gotten an A+ in the class, so I understood the concepts well, and I explained them from a dozen different directions.

I don't care what the OP says. This guy was simply not capable of understanding the concepts. Maybe at some level he was, and he had some kind of psychological blinders on that prevented him from getting what I was saying, but he really, really didn't get even the most basic concepts. And when it comes down to it, it doesn't matter whether he has some innate ability that he can't tap -- if he can't do it, even with lots of help, then he can't do it.

While I was helping him, others from the lab came over repeatedly to ask me for help, assuming I was the lab assistant. I WAS able to help a half dozen other students understand their program.

It was his third attempt at taking the class. He finally gave up and changed his major, IIRC.

comment 15y ago · link · parent

Wow, downvotes with no response? In what way was this message not adding to the conversation?

Not that I didn't expect it, since so many HN readers seem to disagree.

comment 15y ago · link · parent

Even though I consider US public schools borderline child abuse for holding kids back to keep up with the slowest kids, and for excessive to meaningless praise, I don't think reading the rest of the article and discovering that the kids did in fact overcome the challenges will make me feel it's EVER OK to dump a kid into a situation like that.

Kids are resilient. If it doesn't kill them, it can make them stronger. That doesn't mean that I believe it's OK to torture them in order to make them stronger. The ends don't justify the means.

It frankly ISN'T the competitiveness that troubles me. Not in the slightest. It's dropping the kids into a school where they can't understand ANYTHING, nor can they be understood, that strikes me as cruel and unusual. It's one thing to do that to someone who WANTS it. Kids have very little control over their lives, though, and forcing that on a kid (except when there is really no choice) is just wrong.

Especially since the PREMISE is wrong: Kids simply don't learn foreign languages faster and easier than adults. They learn them at a deeper level (different brain structures), so that they can eventually learn to speak a language as a native, but it takes as long or longer than an adult learning the same language for them to become proficient.

comment 15y ago · link · parent

If you extracted the TXT+DLL locally, then you'd be vulnerable, because the problem is that the TXT file is the current directory, and something (WordPad and Notepad, maybe, or Explorer itself) is searching for a DLL that doesn't exist elsewhere on the system, and one of the places searched is the current directory.

All the stuff about WebDav being necessary for a successful attack is because they're assuming someone can't drop a DLL onto your system. But if you unzip a package with a README.txt in the same folder as a DLL you would be vulnerable.

comment 15y ago · link · parent

>C# is good, but it's not so good that I refuse to learn other tools.

To me it's too heavy. About 10Mb too heavy.

Apple and Android don't ship a "standard" Mono runtime, so you end up having to ship one with your app.

The sweet spot for me is to use Lua: I can build it anywhere that you can build C, and it's TINY. If I want speed I use C++; for the rest I script in a really forgiving multi-paradigm language.

comment 15y ago · link · parent

This is old news, by the way (April). Ikea followed up here in May:

http://www.ikea.com/us/en/about_ikea/newsitem/Swedwood_state...

In short, they plan to fix the mandatory overtime problem, and they claim not to be involved in union busting. The latter charge, even in the article, was weak -- mandatory meetings where management tries to talk people into not unionizing? Sounds pretty benign.

They also denied the charges of discrimination.

Sounds like they hired American management who weren't really on board with their philosophies, and that they're fixing the problem.

comment 15y ago · link · parent

I actually do my development in cross-platform native code. My currently library can target iOS, Android, and Windows, and I'd be able to add most other major platforms pretty trivially.

I agree that some UI changes are necessary between platforms as different as the PC, the Wii, and a touch-screen-based phone. But I very much disagree that you can't take advantage of solid cross-platform tools. I've written such tools, in fact.

Some native code to interface to native UI is necessary, but none of the native UI is really rocket science, and something offered natively on one phone can typically be done manually on another. Then it becomes an abstraction in the cross-platform library, and your code doesn't need to know how it's implemented.

But then again I'm a game developer, so I guess you've admitted that I could potentially already understand cross-platform development. ;)

comment 15y ago · link · parent

No, thought I've read about Sencha Touch and several others.

I am planning on having a Web-app component to my next product, actually, and have been reading about them all; Dojo and jQuery Mobile are the two finalists I'm considering.

But the primary app is a game, and the production values for games make doing them entirely as web apps not an option.

Clunky scrolling would be a problem, sure, as well as choppy animations. I'll have to see what can be done when I actually dive in to writing the HTML5/CSS components.

The thing is, it's certainly POSSIBLE for web apps to animate better than they do. It may not be time for web apps to take over on phones, but it's only a matter of time. Processors in phones are getting more powerful, and the WebKit-based browsers are being optimized; scrolling animations really shouldn't be significantly slower done in JavaScript than they are in, e.g., Java on Android.

comment 15y ago · link · parent

I went back and forth with one client for about five months on a contract worth about $300k.

They actually started PAYING me on milestones well before the contract was signed. We didn't nail down a final version until just before the last milestone payment.

They paid in full, no delays -- they even paid extra for when they wanted additional changes out of scope. In my industry (games), it's actually quite common to start work on a contract before it's signed.

They were a rather large company, granted. But yes, don't DO a lot of work for someone you neither trust nor have a solid contract with.

If the contract allows them to weasel out of giving you any money at all after you've put significant time and resources into it, then that would be qualify as "I sometimes really fight for certain clauses". Ownership of IP is another critical nonnegotiable for me: If I have a library that I own and I'm using it in someone's product, it's going to be spelled out in the contract that I still own it (work for hire notwithstanding), or I'm not signing.

But if you're talking about unbalanced boilerplate legalese (nonreciprocal indemnification or nondisclosure, or clauses that otherwise aren't ideal according to your legal counsel), then I still agree with the article.

comment 15y ago · link · parent

I still show my contracts to my lawyer, and sometimes really fight for certain clauses, but I'm realistic: Sometimes having a signed contract is more important to me than certain categories of unlikely risk mitigation.

If you have the luxury of leverage -- the ability and willingness to walk away if the contract isn't perfect -- then yes. Hammer it out to protect your interests.

But if the contract is critical to the company's survival, then he's right: Just sign it. It's better to have an income from an imperfect contract, then no company at all because you've run out of money.

comment 15y ago · link · parent

hmmm...there's part of me that's just offended by the idea of having to write an application twice.

Maybe the HTML5 experience isn't good enough, but it truly sucks to have to write the app once for each platform.

I'd love to see the specific examples you're talking about; details like whether the apps were made by people with equivalent skills, and whether you're REALLY talking about the same app being judged better or worse.

Because it's so easy to write HTML5 and JavaScript, well, lots of idiots do it. If the study compares an app written by a median HTML5/JavaScript app developer with an app written by a median ObjectiveC developer, then it's not the environment you're actually comparing.

comment 15y ago · link · parent

With PhoneGap you can have what looks like a "native app" to end users that's written entirely in HTML5/JavaScript.

comment 15y ago · link · parent

>5) Client fails to monetize application because users think it sucks.

Cute theory, but lots of good apps failed to get monetized as well, even when users like them (say 4.5 stars, and lots of great reviews?).

The failure can be in the promotion or marketing of apps at this point. There are too many apps out there for good apps to be discoverable without promotion.

Also, good and bad UI can be written in native and HTML/JavaScript. Some apps really don't need native to be good. It really depends on the app; the content and the UI design really trump fancy native-only effects.

comment 15y ago · link · parent

I didn't think to add in the LoC from tests...that's about another 8k lines, if that matters.

Game code is...notoriously hard to unit test. We had some functional (?) tests that would do complete screen renders and check the resulting bitmap against a "correct" result, though that was mostly for verifying the code worked correctly on all target platforms, and some unit tests for classes like the string class that were relatively easy to create useful tests for, but far from complete coverage. Most HN developers would probably consider the coverage pathetic, I'd guess, and I rarely even ran the tests (they were mostly for QA).

I've actually never seen anyone create unit tests for actual game code. I've heard about it being done, but it's a rare exception rather than the rule. The religion of "Test First" hasn't really caught on in game development.

Most of the "business logic" (so to speak) changes so fast as you're developing a game it that creating unit tests to verify it doesn't make sense. Also, a lot of the behaviors are "fuzzy" or visual, and unit tests can't tell you if the results feel right -- for that you just have to play the game. Some of the more structural parts of a game's code could COULD stand to be tested, but in general it's not considered to be valuable enough to offset the cost.

comment 15y ago · link · parent

Yeah, fixing other people's code takes longer, most of the time. I did frequently have to fix bugs in other people's game code, though I've done games long enough that usually I would know how to dig and find the issue pretty quickly.

It didn't typically take more than a day or two to find such bugs, even if the original developer (working on their own code) had tried to find it for weeks and had given up. I could always come in with fresh eyes, and I know most of the ways that people write games, good and bad. In one case I had their "intractable" bug fixed in less than a half hour, having never seen their code before.

So I think I'd probably still pass that interview question, though I'm not looking for a job right now. ;)

comment 15y ago · link · parent

I wrote and maintained most of a (2d) video game library over the course of four years. Almost entirely by myself. I just looked, and it comes to something like 80000 lines of code.

So you're saying I was maintaining code that was ultimately enough for four full-time maintenance engineers while developing two games as lead, supporting other developers to put together nearly 100 games based on that library (I was also externally-facing support), AND designing and implementing the beginning of the next revision of the library)?

And people also raved about my support, to the point where it felt like I had a fan club. Maybe the bar is just that much higher in video game development; I'm certainly not even the most efficient developer I know.

I did refactor the code from time to time, though there were a lot of games based on this library by the end that I couldn't risk breaking, so I couldn't change the public API. Mostly I just wrote it to be solid the first time around. It was the fourth or fifth time I'd written a similar game library; after a while you get the hang of it, you know? Not to say there were never bugs, but they were (almost) always easy to find and fix, since the architecture was solid.

My only point really is that rules of thumb like the one about 20k lines of code per maintenance engineer can be off by an order of magnitude or more, if you've got the right code and the right developer. I'd estimate that no more than about 40% of my time at the end was taken up by maintenance, and it was probably more like 25%. And a lot of my "maintenance" time was spent fixing bugs in other developers' games that they just couldn't find, and that weren't in my code at all.

comment 15y ago · link · parent

Most (all?) video game developers do the same: A disclosure that says "we have LOTS of ideas already, and your ideas may be similar, so we can't agree not to create anything that includes your ideas."

comment 15y ago · link · parent

Seeing capitalism as amoral discounts the fact that capitalism a system used by humans. It's humans who are being amoral to attempt to enforce obviously bad patents. A rational and moral human shouldn't enforce (or consider there to be any value in) a patent that is obviously overly broad -- any more than a rational and moral human shouldn't attempt to steal someone's house because of an error made by the government in recording the deed.

I vehemently disagree that you can "blame" the patents. It's humans all the way down.

I agree with you on the STRATEGY -- the best way to fix the problems is to change the rules. But I will continue to call people amoral/unethical and lob lots of hate in their direction when their behavior justifies it, regardless of whether they are technically breaking the law. A parasite is a parasite.

comment 15y ago · link · parent

I must not have been clear. I DO blame the player, and think that the lawyers at (e.g.) LodSys don't have the slightest clue about ethics or morality among them (I also think things about them that are not printable in an HN comment). I just think the proper strategy is to defeat ALL of the players at once by changing the rules, both from a cost AND a risk perspective.

If you want to fight trolls mano-a-mano in lawsuits to either invalidate patents or at least knock them down in relation to a particular product or company, then more power to you, but I personally would find it terrifying to fight such a lawsuit myself if my company DEPENDS on the victory of the lawsuit.

I'd gladly (once my company is profitable, anyway) donate to the cause to help take a troll down, however. :)

comment 15y ago · link · parent

While I hate patent trolls as much as the next small technology business owner, the trolls themselves aren't the problem.

Completely non-novel patents being awarded by the thousands is the real problem. If the "trolls" were really just enforcing interesting and valid patents on behalf of individual inventors, that's one thing. But they're instead finding the most broad patents they can and using them to extort money from companies who are successful, sometimes regardless of applicability of the patent to the companies in question.

The fact that software can be patented at all is questionable in my opinion -- anything sufficiently complicated to be worthy of a software patent would be copyrightable. Anything less complicated should be held to an extremely high standard of novelty before being allowed a patent -- and even then I would put the time limit on such a patent at 5 years or less.

Just having an "idea" that no one has happened to already patent yet and sitting on until someone else thinks of it and implements it doesn't "promote the Progress of Science and useful Arts", which is the underlying mission of all IP protections in the US at least.

The patent database is full of so much noise that no one is mining it for ideas and creating software based on it at this point; instead everyone is coming up with similar ideas, and pretty much BY DEFINITION those patents shouldn't be valid.

comment 15y ago · link · parent

Having lived for a short time in "Cohousing," which is simply a fancy word for a bunch of people who own an entire condo complex/set of houses as a group, sharing ownership of a clubhouse and other facilities -- YES.

The core problem was diverse goals. The entire group each time (I somehow made this mistake TWICE) had a hard time coming to common solutions around the most trivial decisions.

Until you have something like a manifesto with a long set of explanations of what will be expected of everyone, you shouldn't even try to START forming the group. No more than a set of 3-4 friends should write the manifesto, either, or it won't have enough teeth.

And there's a downside here, too: If you're going to live together with a lot of people with shared rules, the one thing you DON'T want is a lot of cultural diversity, at least not before the rules are set down and the new "diverse" members have bought into them.

I've seen a community with strict vegans who wouldn't ever attend a meal where meat was served and other members who wouldn't eat if there wasn't a hefty meat portion. Now everyone gets their own kitchens, but the optional 2-3 times a week "common meals" were a strong way to stay connected with others in the community -- except in that they were also a source of conflict, for meat/no-meat and other reasons.

tl;dr: Living together with (say) 30 other people is somewhat like being in a marriage with 30 other people, only with fewer benefits. At least in most such communities.

comment 15y ago · link · parent

Location permissions are optional. I use MobClix, and I don't ask for location.

I might be able to get higher eCPMs if I had it enabled, but between GPS taking more battery (for fine location information) and people being hesitant to download apps that track their location, I'd rather have the higher distribution and happier users.

comment 15y ago · link · parent

I'd rather not say until I've signed. :)

Contact me offline and I'll let you know what happens -- there's contact info anti-spamified on here: http://rechargegames.com/page/about-quickcharge

comment 15y ago · link · parent

MobClix has big promises as to eCPM, but in the past month, AdMob has been KILLING my MobClix performance. I have AdMob AND MobClix in place, and recently dialed it to send 80% of my impressions to AdMob because of >$1 eCPM from AdMob.

Also, be sure you HAVE a paid version with no ads available to buy -- and don't forget to cross promote it using house ads. I have about a 1.4% conversion rate to paid (at $2), which accounts for more income than the free version so far.

Granted I'm still not getting rich on my Android version, but I'm trying to get a publisher for it (ONE clause left in the contract still to iron out), which should help a lot.

comment 15y ago · link · parent

He mentions on his blog that he's a photographer, so it's likely they are his photos.

Also, it's always the same woman in his photos--I'm betting it's his wife. :)

comment 15y ago · link · parent

They didn't all have premium versions to pirate? Angry Birds didn't.

Some of the top games probably were noticed randomly by the right bloggers; a Russian blogger loved my game, and it's sitting in a nice comfortable position in the Russian Market ranking, for example. Angry Birds was probably featured in EVERY blog that deals with Android games.

Some of the top games also have annoying but effective viral marketing components; I've so far avoided stooping to those depths.

Some of them probably had better marketing plans. I'm a programmer, not a marketing expert.

And if someone inside Google decides randomly to feature a game, then it's set. My game WAS featured on AppsLib, a secondary market, and after it was no longer featured it stayed on top of the free apps ranking at #2 for weeks. As in, the #2 downloaded APP, not game.

Unless you know more than anyone else outside of Google about the actual algorithm Google uses to determine how apps rank, you have no clue as to what could have caused a game to fall -- but a huge fall happens the SAME DAY it was pirated.

It's not proof, but it's a very suggestive correlation. Just because it doesn't match your world view doesn't make it garbage. What's indisputable is that the piracy DIDN'T give me a boost in sales OR downloads, which completely invalidates the "piracy is just another kind of marketing" theory.

There's a lot of random luck involved in getting to the top organically, and the process is potentially fragile unless you've got a lot of cross-promotion you can apply from other apps. Or a lot of money to buy ads. I had neither.

comment 15y ago · link · parent

He theorizes that pirates actually might promote the game. My Flurry numbers beg to differ.

My "unlocked" version of the game was pirated on July 15. Almost 2000 new users ran it that day, and all but about 10 of them were pirated copies.

So did I see my sales jump? I sold about 10 units that day, and 5 the next day. I don't think I've seen the numbers top 20 sales per day. If there are moral pirates out there, they didn't show up in sufficient numbers to make up for the devastation that followed.

How about downloads of the free version? Over the next two days, it crashed from consistently getting 750-900 downloads a day to about 350 downloads a day. And because of that drop, it fell off the charts and continued to crash down to 100-200 downloads a day.

So as nice as the theory is -- and as much as it might work for music, where the numbers are MUCH larger and there is some data supporting the theory -- it simply doesn't work for games.

In fact, it pretty much killed my game, because of the way the market rankings work -- the crash in downloads meant it lost position, which meant even fewer downloads, and a death spiral ensued.

So don't give me "piracy is actually good for your game!" when it killed mine. And it's still rated 4.5 stars, with tons of "Awesome game!" reviews, so don't tell me people don't like it.

comment 15y ago · link · parent

Magazines are paid for the number of ads they distribute. And the ads DID make it to you, so even if you go through them all and rip them out, you ARE being exposed to them, if only briefly. And the ads can't be all destroyed unilaterally by installing MagazineAdBlock.

If you block ads, you have NO chance of seeing them, and therefore I have no chance of making the $0.03 that's typical from a single click. And worse, if you block those annoying ads, then you have no motivation to BUY the version without ads!

If everyone blocked ads, you would have no more free games to steal. If you don't want ads, buy games without ads. Don't try to hide behind bogus rationalizations. Blocking ads is clearly unethical, even if you don't want to call it stealing, because the developer intends to make money on his product and is giving it to you with the express understanding that it's ad supported.

1
4647484950