4,107 karma · joined Feb 17, 2010 (16y ago) · 1,490 submissions
https://coderescue.com
comment 15y ago · link · parent
My game as an example: Almost half of the users are under 18, but most of the other half are in the 18-35 range (according to Flurry metrics, which guesses what the age of a user is based on what OTHER apps on the device are reporting -- I'm not asking them myself).
Unless I ask each user how old they are, I can't know whether or not to serve them ads. And if I DO ask them, then people often feel like I'm prying too much. ESPECIALLY if I'm asking if they are under 15 (and finding out they're under 13 would cause COPPA to kick in [1]).
I already have the "no adult ads" selected in my ad provider, which is supposed to block singles ads, but I've seen them come up anyway. Presumably if I fed them an age that I'd gotten from a user they would be filtering the ads more, if only to target them better.
Don't know.
comment 15y ago · link · parent
An ad with a discount is called a coupon, and you can get piles of them from the paper on Sunday. Or from your junk mail. Or online. I don't think people will consider them to be valuable unless they're categorically better than what you find in the paper.
comment 15y ago · link · parent
Rovio certainly has a lot of money, but other developers aren't so lucky -- and many are barely scraping by.
Try investing nearly $5000 and seven months of your life in developing a game that's being ad supported, where your income relies on ads, and then watch people joke about blocking them. It sucks, trust me.
comment 15y ago · link · parent
I also no longer need to maintain another resume online. It IS my online resume. And instead of saying "recommendations available on request", they're right on that same page.
Finally, it's a way to find people to work with you, if you're hiring. If you're always on the "being hired" side of the equation and never on the "hiring" side, then you won't experience that, but it's hard to find good people, and it's great to have friends-of-friends available as a resource.
comment 15y ago · link · parent
If I started getting lots of invites from people I trusted, then I might consider joining. But I'd never even heard of them before reading this article.
LinkedIn goofed up ONCE in allowing your face in ads when you have some connection to the company. That's nowhere near as slimy as Facebook putting your face on ads you'd never even CLICKED on (famously a woman saw her HUSBAND in a picture advertising a singles site...), and that's just the tip of Facebook's privacy betrayals.
And since LinkedIn has a totally dominant market share (and mind share) in "business connections," it's going to likely take a lot more than a better design and easy import to dethrone them.
It looks like the hook is "use us to host your online resume! We'll make it pretty!" That approach has some potential; I'll keep my eyes open for a Zerply-hosted resume moving forward.
comment 15y ago · link · parent
So it pumps water out of the river, sends it to people, purifies the result, and pumps it back into the river.
Three times. At different locations. So really they're already drinking their sewage water, only slightly diluted with the water from Denver's sewage water...and heading downstream to supply water to Utah, Nevada, and Southern California.
Can't find the reference, though. Sorry.
comment 15y ago · link · parent
Having achieved about 90% of his list, and having worked with many, many other developers, I can say that I've been in the 99th percentile wherever I've worked, and typically have been the top developer who everyone else came to for help.
And almost every other top developer I've known has had similarly broad experiences, so I don't think it's a coincidence. One friend is a notable exception; he refuses to learn any language but C++ and Flash. His experiences go in other directions; the list certainly is not comprehensive.
BUT, I also have a life away from the screen. I play a very fast competitive sport (badminton) that gets me exercise and keeps my reflexes sharp. I wouldn't say that it gives me practice in critical thinking, but the exercise and movement keeps my brain healthy.
comment 15y ago · link · parent
But certainly it becomes much easier if you have evidence from someone inside the company.
YOU don't really need to see how they could be sued, or how an engineer's comments could put them at risk, in any event. If Google's legal counsel believes it to be a risk, then that COULD be what's going on behind the scenes.
And this is exactly the kind of thing that a lawyer would advise, which is really my only point.
comment 15y ago · link · parent
Assume you've got a a super-successful app making $100k/month. Then a bug in the market messes up its ratings (like it did last Friday) and as a result they lose ranking and several hundreds of thousands of dollars over the next few months. They complain about it in a forum, and a helpful engineer says, "Oh, yes, that's a mistake we pushed to the Market. Sorry our testing procedures aren't better. I'll fix it right away!"
Bang, they've just publicly admitted negligence, and that developer could sue them for the lost $$$.
Again, I have seen NO proof of this. It's a going theory primarily because the money-oriented arms of Google (Market, AdMob, AdSense) are also the three that are the most tight-lipped over support issues.
comment 15y ago · link · parent
>I'd argue it's not a silver bullet as a primary language to write an entire game / engine in w/ more discussion continuing along those lines; there seems to be flexibility gained and lost. As a scripting engine that's one thing, but not a catch all for everything.
I write a lot of the core "engine" in C++ for speed and lack of garbage creation. The game I've got on the Android market right now has about 3149 lines of C++ code specific to the game (not counting 7400 lines of auto-generated Lua bindings), but 10k lines of Lua code. Most of the game code is in Lua; is that scripting?
The engine itself has about 10k lines of C++ code, and very little Lua. I want the engine to be as fast as possible, so it's hard for me to imagine doing it in a language that isn't C or C++.
>>>putting up native dialogs, etc. that will be non-native everywhere. >Why would you do this if you are creating an OpenGL/ES cross-platform game? Use a GL based GUI that will be cross-platform!
Geting UI right is really, really hard. For the primary game UI, and dialogs with buttons, sure, all of it happens in GL.
But if I want a list dialog, or a grid view, or a WebKit view, I'm not going to want to do my own halfway implementation -- I'm going to want a dialog with a native feel. There's no game anywhere that I've used that really gets anything as simple as a keyboard entry field completely right, if it doesn't use the native UI; there are some things better left to the UI experts.
A good friend of mine is a big Scala fan, but I haven't really explored it as an option.
The thing that kills Scala for me (without knowing anything else about it) is that most platforms I write for don't already have a guaranteed JVM -- iPhone and Windows being big ones. I mean, sure you almost always have SOME JVM on Windows, but I'd likely want to be shipping a specific JVM.
And that means adding multiple megabytes onto my package size. You've got 20Mb on iPhone if you want to be able to download over the air. Adding 5Mb to support a language...isn't an option.
LuaJIT takes up about 50k. With all its libraries. And performs on par with Scala. Which is a huge win for me. How much overhead does Scala add to an app on Android? I bet it's more than that, even with the guaranteed JVM (well, DVM) preinstalled.
comment 15y ago · link · parent
There are a number of Google Android developers who post to the various lists on a regular basis, answering tons of questions and quickly promising to fix bugs when they're identified.
There's a going theory that, because the Market involves money (like AdMob), the developers are under gag order from Google to not say anything, and all communications that do come out are filtered through legal.
I'm not justifying that as a practice, but just putting it out there that it might NOT be the fault of a reticent (or incompetent) Market team.
Though given the number of Friday-night releases that break things over the weekend (like a recent "oops! lost half your reviews!" bug), the incompetence theory has a lot of advocates.
comment 15y ago · link · parent
>I suppose you'd have to get a little more particular in the 95% of problems angle.
Hmm...getting very much off topic here, so I want to keep this brief, but roughly speaking I'm talking about the problems of the language being very verbose and missing a lot of useful features: no duck typing (C++ at least has templates, which have their own drawbacks -- Java generics need to be Object-derived), no coroutines, and no first-class functions are three examples that come to mind. Just look at the size of programs in the "Language Benchmark Game" -- Lua's entries are tiny compared to Java. Call me lazy. ;)
In addition, in Java you HAVE to force everything into an object paradigm, whether it makes sense or not. Lua can act object-oriented if you want it to, but you can also use it in other ways that simply make more sense to the problem at hand.
>Yes it's not a complete game engine nor is Moai which you mention you have your eye on presently.
No implied criticism there. As you mention BatteryTech is also low-level. There's a place for that.
For what it's worth, Moai does come with things like physics; not sure how they bind things together, but I would have guessed that they have a very basic engine with game objects. Could be wrong.
JavaCPP looks interesting, though I'm instead just minimizing my use of Java so I can have a Windows and iPhone version trivially.
>>I know that middleware providers will step in to fill in the gaps, but it's just annoying to be non-native on ALL platforms.
>Hrm? C / C++ is available on the majority of platforms... ?
Yes, but it's the API for getting events, putting up native dialogs, etc. that will be non-native everywhere. On Android more so than usual.
And actually...C/C++ isn't currently supported on Windows Mobile, at least in the public SDK, for what it's worth. Though C/C++ are supported on pretty much every platform where the company behind it isn't being stupid, yes.
No implied criticism toward your project in general, by the way. It's just not my thing, since I'm not a Java person. It does sound like you've solved a lot of the problems that people often have with Java, though, which is great.
>Regardless of what you choose though I hope you make some cool games for Android! :)
Thanks. :)
comment 15y ago · link · parent
Java is still annoying to me, even JITed. It's most of the cruft of C++/OOP without the speed. I'm a Lua fan, and a conversation here isn't likely to sway me. ;)
And it's not just mistakes; it's huge areas of the APIs that are missing or confusing or just plain poorly designed. I've developed for a lot of consoles (not current gen, but XBox/PS2 and older), so I know what you mean about docs being WRONG. But for the most part they let you do what you needed. Android just doesn't in some cases.
Try to do low-latency (or even reliable latency!) audio on Android and get back to me, for an example that Google is basically ignoring.
comment 15y ago · link · parent
I know that middleware providers will step in to fill in the gaps, but it's just annoying to be non-native on ALL platforms. And there are already a lot of options.
http://www.batterypoweredgames.com/batterytech is one that I know that's low level, for instance -- it gives you events, OpenGL and sound on Windows, Mac, iPhone, and Android. It's pretty bare-bones, though, as far as I know.
There are also stacks that allow you to write in JavaScript [1][2], 3d engines [3][4][5], and one that I just found out about one that sounds really awesome, though I haven't used it yet called Moai [6]. Moai is Lua-based, open source, supports iPhone and Android, and has a Lua-based cloud server component, so you can write in the same language for your game and for the server side in multiplayer games.
If I haven't been clear, I think Lua IS an awesome language, especially now that LuaJIT 2.0 works on Android (and at least partly on iPhone), and so I'm strongly considering using Moai for my next game.
I actually already use Lua on the server side, though I'm using a different stack than Moai (they're on Mongrel2/Tir, and I'm using Nginx with lua-nginx).
[1] http://www.sencha.com/ [2] http://www.phonegap.com/ [3] http://www.stonetrip.com/ [4] http://unity3d.com/ [5] http://irrlicht.sourceforge.net/forum/viewtopic.php?t=37235 [6] http://getmoai.com/
comment 15y ago · link · parent
Every time I turned around, the Android platform surprised me. In a bad way. Full disclosure: I'm also not a Java fan, and think it was a completely brain-dead idea to make Java the first-class API. I'm certainly not a Microsoft fan, but even C#/Mono would have been better (not that I know any C#), if only so they wouldn't have had to waste time reimplementing the VM for licensing reasons. But it's not Java that I had a hard time with.
I've developed games on 12 different hardware/software platforms. There are so many things missing and/or broken about the way Android does things that I feel embarrassed for Google. Some of those things have subsequently been fixed, but many haven't, and some have been ignored in the bug database for YEARS now. A LOT of those things wouldn't have been problems if they didn't have so many layers between the app and the hardware (Java being one of those layers, but not the only problem).
As you say, it's really Not That Hard to just throw a simple app together that does what it needs to. Intents and Services are also ABSOLUTELY not the problem. The developer who wrote the original article didn't read enough of the docs or the right docs, or isn't as smart as he thinks he is -- the concept of Intents is not rocket science. The application lifecycle isn't even hard to understand -- it's laid out in the intro docs pretty clearly.
If only Android actually DID what those docs said, things would be a lot easier for a game developer. In fact, an "app" can be stopped and then a new one started before the old one actually receives its shut-down message. In the same (Linux) process -- so any native code with static data is still sitting around. One of many annoying problems I ran into.
I think the core mistake of almost every new platform is one of ego. "We'll design this NEW AND DIFFERENT platform in some revolutionary and awesome way, and make everyone rewrite their apps in this way feel is Better." When dealing with platforms, the one most important thing to do, in my opinion, is to HIDE the differences between one and another platform as much as possible. Android does this to some degree WITHIN the Android ecosystem, but we simply DON'T NEED multiple ecosystems. I submit it would be better for everyone if there were a single cross-platform engine that everyone used. Before I get dismissed as a kook, please think about OpenGL, and the fact that something as complex as a rendering subsystem IS in fact supported on all platforms, to everyone's benefit.
What would have been better is a library that abstracts away the fact that Android is its own unique OS, period. When I write code, I don't want it to be Android code, or iOS code, or WebOS code, or Windows [Mobile] code, or Linux code. I want it to be, as much as possible, completely cross-platform. I want the platform to fade into the background. You could bootstrap this by creating all the UI and other OS code as a portable layer that can run on many different systems.
But no new platform developer ever seems to get that, and so we end up with a new ecosystem for every new platform, and it's left to third parties to fill in the gap with cross-platform libraries. But it's not the developers -- or the users -- that big initiatives like Android get funded to satisfy.
/rant
comment 15y ago · link · parent
Once an app is a month or two old, even if it's well rated and doing decent, it can crash in the rankings and get buried under thousands of other apps, even if it has a lot of enthusiastic fans. And it seems like this happens simply if people don't download it ENOUGH -- if it loses momentum, you're toast.
comment 15y ago · link · parent
I built my standing desk out of scrap wood, and quickly determined that I wanted a place to put a foot up: At about 12" off the floor I added a horizontal support that I can leave one or another foot on. It makes a HUGE difference for standing.
I also have a drafting chair that I CAN sit in if I want to, so I'm not completely tied to standing if I'm tired. My most productive days are certainly the ones where I stand for most of the time, though.
comment 15y ago · link · parent
"Well, it is about the idea. The idea is the seed. It is the kernel that is the start of something new."
There are lots of details in the execution, and semantically you can refer to those as "ideas," but that's not what people generally mean when they say "an idea doesn't matter."
The Newton had a custom mobile operating system in 1993 [1], by the way. The iPhone did all of those things in 2003, eight years ago.
So why did the iPad take so long? There's a lot of technology inside that took a long time to get right. No one brilliant idea can be pointed to that's the "seed" that made the iPad work. Instead it's hundreds of hours of design and testing and iteration -- i.e., the execution.
If anything, the Idea behind all Apple products is that style, presentation, and user experience matter. But even that idea is worthless without a good execution.
comment 15y ago · link · parent
comment 15y ago · link · parent
iPhone and Android developers are being sued by a patent troll for using in-app payments [1], based on technology developed by Apple and Google, using a patent that doesn't even apply to any of the code written by the developers. [2]
To make it worse, Apple and Google each own licenses to the patent, so it's like people who own washing machines being sued over a washing machine patent that the manufacturer has already licensed.
Oh, and iPhone developers are being sued over apps that include "forms that send data to a central server" by another troll. [3] Yeah.
How much more absurd can it get? I think someone already had your idea, and they decided to turn it into a business plan.
[1] http://www.readwriteweb.com/mobile/2011/05/5-links-to-help-i...
[2] http://www.macworld.com/article/160031/2011/05/apple_legal_l...
[3] http://www.readwriteweb.com/mobile/2011/05/macrosolve-joins-...
comment 15y ago · link · parent
One time is an anecdote; two times starts to be compelling. 6/6 times has a reasonable level of statistical significance.
FWIW, I'm somewhat convinced that a majority of computer programmers would fall under the general umbrella of "bumbling," though I don't think I'd use that term. "Marginally competent" might fit the bill better.
comment 15y ago · link · parent
My point about trans fats is that it's been known for YEARS that they're bad, and as you point out it's only recent that people have been believing it. I've been avoiding trans fats for over ten years, since well before most people had heard of them, but the original studies showing they were bad news date back to the 50s.
I think you may have misunderstood my point. What I'm saying is that the "it's another health scare meme" is a dangerous concept because it causes people to ignore ALL health advice they hear. Your point about false health claims reinforces my point: Because a lot of "health claims" made in the press are based on a single study (which could be poorly designed or just randomly showing a result), people now ignore all health advice. They've lost faith that any health advice can possibly be useful to them.
That's why I'm saying that it's a dangerous habit to label every new health report as a "health scare meme." On the other hand, it's also important to take pretty much anything you see in the press with a grain of salt. My hope is that, now that we have Google and other online research options, it will be easier to debunk the garbage ("my all protein diet is good for you!") and determine what the studies really show.
comment 15y ago · link · parent
In general I'm feeling better about working, which is why I said it improved my QoL.
comment 15y ago · link · parent
It comes standard as part of LuaJIT, which is likely what should be used for anything like a wireshark plugin (I don't know what wireshark actually uses, but LuaJIT is a drop-in replacement for the most part).
Bitop (or something similar) is included in Lua 5.2 as well.
comment 15y ago · link · parent
YES, the media can exaggerate the result of a single study and people will overreact to it (see: "margarine is healthier than butter," then more recently the reverse). In this particular study, the results may not be conclusive enough to act on; that aside, there ARE other health studies that have been successfully repeated (for example, the negative effects of hydrogenated oils/trans fats) that are also frequently dismissed by a media-weary public as yet another "health scare meme".
The "trans fats are bad" idea is finally going mainstream, but IMO it took years longer than it should have because of the media's tendency to jump at the first study showing a surprising result, and thus inuring the public to "bad health news," which a majority of people then proceed to ignore (and a minority jump onto the latest bandwagon).
In the case of standing vs. sitting, I saw this study months ago, and at the same time I started feeling uncomfortable sitting for long periods, and the combination caused me to build a standing desk. I'm now standing most days, and for me it's a great improvement -- YMMV, and not saying it proves anything but possibly that my circulation wasn't so great.
Regardless, I'm on this particular bandwagon, and it improves my QoL, so I'm staying, regardless of the scorn people may have for health fads. ;)
comment 15y ago · link · parent
I'd gone through a series of various expensive "ergo" chairs, and yet I would get a feeling of suffocation when sitting for too long. Now I can work for extended periods without the need to "get up and walk around."
And when particularly good music comes on the radio, I can dance to it during compiles. Yes, I work in an office where no one can see me. ;)