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

Blocking scripting is (or should be) basic web-surfing hygiene. I don't disable scripts to prevent Flash ads from annoying me. I disable scripts and Flash because of the many zero-day vulnerabilities I've read about in both.

There's this great <noscript> tag that sites can use to monetize me. They won't be able to track me as well, no, but I don't think a web site should ever have the RIGHT to track someone. No simple web page should EVER need scripting to work, nor should it EVER rely on Flash (which isn't even available if I'm surfing from an iPad/iPhone!). Anyone who doesn't test a web page with scripting disabled to make sure it renders in a reasonable manner shouldn't be doing web development. And don't get me started on idiots whose pages redirect a browser with scripting disabled to a dead-end page that tells me scripting is disabled (duh!) and then doesn't give me a way to get back to the original page.

Blocking ads is stealing bandwidth because you are intentionally are blocking the (typically only) means of income of a site for aesthetic (or philosophical) reasons. You're presenting to the site as if you're a normal user, but then surgically removing the ads from each page.

Blocking scripting may have the occasional side effect of limiting income on badly implemented sites, but I take no responsibility for hurting sites that are poorly designed. Any blame there should be on whoever decided to go with a Flash-based ad solution, which won't monetize everywhere no matter what.

If a site requires that I install software on my computer to use it, then (as you say) I won't use it. If it requires me to enter an email address to use it (and I don't trust it), then I similarly won't use it. If it requires me to enable scripting and I don't trust it, then I won't use it.

But I'm not going to enable scripting globally and risk ending up with an infected computer on the off chance that, on my first visit to a new site, I might prevent them from making a small amount of income because their web developers were incompetent.

comment 15y ago · link · parent

The student in question added more information in the comments below the article, and has this to say:

>Some extra information:

>Before I started the assessment, I asked for the mark scheme to make sure my project hit the criteria for a passing grade. We weren’t asked to build in powerpoint, but most opted to do so for lack of a better option. I asked if it would be a good idea to build an iPhone app for the assessment and the teacher of my class said “Sure if you can, give it a shot”. I maintained close contact with the teacher, regularly demoed the project and all was well. I have no idea when the teacher became aware that the project would fail but at no point was a concern raised with me until final marking.

>I didn’t build a complex project ‘just to be different’, I instead thought “Well here’s an opportunity to learn to do something I didn’t know how to do before”. Id been developing web things for a while but hadn’t dipped into native code up until that point. Again, the thought crossed my mind “If I can learn this in a week, surely they can at least have some basic understanding of it after 2 months”

>I was commenting while writing the code where I thought it necessary however, I had to go back and comment on libraries I used, on top of the comments that already existed, in basic terms

To me this sounds like the teacher screwed up.

comment 15y ago · link · parent

"Year 10 or 11" in the UK would be equivalent to 9th or 10th grade in the US, and 14-15 years old, not 11 years old.

comment 15y ago · link · parent

Umm....and it's a terrible, terrible tragedy to accidentally see an awful web page once.

With something that blocks scripting, you don't need to worry about a site infecting your browser/computer. If the site is covered with ads, then close the window, and it's gone. Then downvote it on HN or Reddit or where ever you found it.

comment 15y ago · link · parent

I read an article recently that pointed out that an episode of a TV show is effectively an advertisement for the next TV show in the series. Propaganda certainly has the connotations that you're looking for, but in English it's typically used to refer to a certain class of political ads. I get what you're saying, though, and I think the proper response is education.

Craigslist is great, and I might consider a subscription to Salon.com if it were inexpensive enough, but I think you're overestimating humanity's willingness to part with cash. All you have to do is look at just about ANY paid app on an iPhone or (especially) Android, and you'll find people complaining that it should be free.

Just a few years ago, buying a small game for your computer would cost from $7-$20. Now people complain if a game costs $1, even if the game contains dozens of hours of entertainment value. It's not like it costs less to make a polished game now than it did a few years ago.

And if a game is fun enough and has enough replay value, I can actually make more than the $0.70 I make from a $1 sale by showing the users ads (considering I get 200x as many downloads of a free version). Other models do exist -- in-app payments for buying "coins" to play a game more, for example -- but some of those end up feeling more evil than the advertising you're decrying.

What you'd need to fight is the sense of entitlement that people have around web content, which is what game developers have to fight on Android. I mean, just look at the comments on this very article! We're talking HN readers who feel entitled to get everything for free. People who have no connection with web site creation or running a business will typically have even less of a personal connection to the companies that they're hurting when disabling ads.

Micropayments for news sites could happen if you got the right sites to buy in, but it's been tried again and again, so I suspect that it's the lack of customers rather than the lack of site support that's the problem. If you got the New York Times, Salon.com, and a half dozen other high-profile sites to join a micropayment network, so I could sign up ONCE and go to a lot of different news sites ad free, I'd like that as a customer. But I suspect that you'd see the same ratio of 200x as many people sticking with the "free" ad-supported sites.

But then again, it would be a hard sell for the New York Times, at least: They want $35/month for a full digital subscription. That's off by at least a factor of ten from what I'd be willing to pay, possibly more. I think I'd be willing to pay $8/month to a micropayment network that included unlimited access to at least a dozen or so sites ad-free, but the NYT is demanding a much higher payment for unlimited access, so it's hard to believe they'd take a much lower amount.

Finally, I wouldn't want the micropayments service to charge me every time I looked at a site. I don't want to think about using the web; I want to browse freely, without worrying that I'm spending money every time I click a link. So those micropayments would need to come out of a monthly flat rate, to be divvied up among the various sites I'd actually visited.

comment 15y ago · link · parent

I haven't seen such ads in 5 years or more. I use NoScript to prevent most Flash from running without my permission, and that's the primary way that such ads blast things without your permission, but the only annoying music/auto-play video I've encountered typically is just a poorly designed web site, not an ad on a site. And 99% of the time, it's a TED talk video that's auto-playing when I restore Firefox...sigh...

I agree with the article. If you don't like a site, don't go there. Don't steal their bandwidth and try to justify it.

comment 15y ago · link · parent

It doesn't offend me, but the concept that all advertising is evil is very, very misguided. Just because big brands often use evil techniques to advertise doesn't mean that it's all bad.

If I'm selling something used on Craigslist, that's advertising. If I'm looking for a product to fill a need, and I don't know what to buy, the paid links on Google have more than once led me to the perfect product. Every single thing on Amazon's site (fill in ANY e-commerce site online here -- even most of Craigslist, with things like apartments for rent), right down to the product page, is, fundamentally, advertising.

You'd pretty much have to restrict the web to a highly edited version of Wikipedia if you were going to outlaw advertising. And if you succeeded in banning all advertising you'd just prevent new entries into any market, or the creations of new markets, because everyone would tend to buy the products at the stores they knew about already.

What's evil is not educating people in logical thinking, and in not inoculating them at a young age against the kinds of psychological tricks you're talking about.

comment 15y ago · link · parent

Sorry, but that's not a valid comparison.

Piracy is zero-cost (other than the "lost customer" argument) to the record label. Bandwidth is something SOMEONE pays for. If you're stealing my bandwidth, either by deep-linking a photo to put into a news article or by reading my site while blocking the monetization I've put on it, that's real money you're costing me, not some theoretical "you would have bought it if you didn't pirate it" argument of loss.

And there's no micropayment system that would allow a small blog to charge you the 1/100 of a cent that an ad might earn, so really there's no alternative unless you're a big enough company with a compelling enough product that you can charge a non-trivial subscription fee.

comment 15y ago · link · parent

I am so saddened to see your post "grey" (downvoted below zero). There is simply NO WAY this article is not "contributing to the discussion" -- so you're getting downvotes because people don't agree with you.

Especially since you're pretty much spot-on correct. Maybe that's why the downvotes? People don't like to have their world view challenged.

comment 15y ago · link · parent

Considering I had almost exactly the same idea as "NextDoor", and that the name almost suggests itself, I don't think there's any merit to the lawsuit.

To me anyway it was an obvious thing to try, though I haven't tried it out to see if they "stole" all of my ideas, or only the basic "connect with your neighbors" part. :)

comment 15y ago · link · parent

I'm a professional game developer who's jumped into indie/mobile. The problems people with my game are having are not (in general) things not working -- there are tutorials, and it's in the Angry Birds genre, so people know how to play it pretty quickly. I just got picked up by a major publisher (hint: they've had the #1 revenue app on iOS for a large percentage of the last two months...), so I'm not the only one who thinks my game is fit to run in the big leagues.

One problem is occasionally buggy devices or firmware. I have one crash where a WebView is dying trying to display an ad, and while the ad is possibly conflicting with the WebView, I'm not sure how to FIX that, since the ad being provided isn't under my control (aside from choosing another ad provider).

And don't get me started on Samsung and the SoundPool class. It will just lock up your Samsung device to USE a SoundPool on it in a game. But only intermittently. Sigh.

When the problem is they don't like ads -- well, it's a free game, and there aren't words I'm willing to use on HN that are sufficient to describe what I think of those...individuals.

comment 15y ago · link · parent

In the Android Market, there's a "Contact Developer" button for every app. Click it and write an email. No "registering" or complex forms to fill out.

In my game, there's also a "feedback" button. I say early in the app description to please contact me if you have any problems. I answer any questions that come in, and am polite even to the insulting emails. Well, at least mostly polite. ;) And I typically answer them in hours, at most.

And yet I still get 1-star "complaint" posts that hurt my ratings, from people who have never contacted me. Frequently they just say that they hate the ads, which are only shown between levels, and therefore don't interfere with game-play. I guess I should work for free?

I don't think it helps to justify their behavior; if they make the least attempt and give up, that's one thing, but if they don't even try when dealing with an indie app developer who's obviously not some faceless company, that's just lazy (and in many cases selfish -- they can pay to turn off ads, after all, and the games don't write themselves). It's the EASY thing for them to do, and they're being jerks.

Or if, as you say, they've been hurt before, they're taking out hurt from Faceless Corporation on me, which is pretty much indistinguishable from being a jerk from my point of view.

comment 15y ago · link · parent

On the other hand, a lot of people here love claiming that an argument is "no true Scotsman." ;)

comment 15y ago · link · parent

>People on Smartphones can ask a question of Siri in 2~3 seconds as opposed to typing that question in Google within 10~20.

Umm...Siri is cool, but that's not the advantage over Android. Android has had awesome voice recognition built in for ... over a year now? Not sure exactly how long, but my wife's dirt cheap ($150 with no contract) phone does voice recognition really well. I haven't had to type in a search query (with a 3G or WiFi connection active) since I got my new Android phone, either.

In addition to the basic Google search, it will send you to Google Navigation, send SMS messages to a friend in your contacts, and other things (I don't have the list in front of me). Siri adds to it by having a bit more context ("when I get home", for instance). It's cool, but it's not the voice recognition that's new. Except on the iPhone.

The big significance to Google is that it cuts them out of the iPhone search. But there are more Android phones than iPhones already, and the Android is growing faster, so that's becoming less relevant as well.

comment 15y ago · link · parent

There's programming, and then there's programming.

I'm sorry, but what you're talking about sounds like it doesn't qualify as "programming" as much as web design and code plumbing. Note that in large part I'm talking semantics, here, in that my definition (and I suspect Joel's as well) differs from the way you're using the word).

I understand that you're likely paid well to do it -- as are plumbers. And it's a respectable job. I'm not trying to knock what you're doing.

But by your own admission your own code less than ideal. And Joel is talking about what a good programmer would need to be able to do, and if you want to start someone off on the path to becoming a good programmer, it's not a bad suggestion.

If you just want someone who can copy and paste code off of Github and doesn't really understand it, well, then you don't want a "good programmer" -- and frankly anyone worth their paycheck in IT probably already knows how to do that.

comment 15y ago · link · parent

A month ago I went to advice the teacher of a high-school level video game design program about the curriculum of the program. I'm a C/C++ developer, but I too thought as you did that introducing a bunch of high school kids to programming using C or C++ would be too hard.

The school in question is mostly low-income kids looking for a vocational experience, so we expected a bunch of kids who would be out of their depth if thrown in without a garbage collector. But then the teacher mentioned that none of the kids had a hard time learning C or C++, pointers included.

So the group of game developers who had come to advice pretty much all agreed that learning C/C++ first was actually the best thing that could happen to those kids. Show them C first to teach them what the machine is REALLY doing (with only a minimal abstraction layer), give them OOP with C++, and THEN transition them to a scripting language and higher level environment so they can produce something interesting before the class is over.

comment 15y ago · link · parent

>issue a dividend (and pay both corporate taxes /and/ capital gains taxes

This is only true if you're a C-corp. I know on HN most folks are creating a C-corp because it's easier to invest in, but if you're doing a small business, a partnership, S-corp, or LLC filing as an S-corp are likely the best options for you.

In all three of the latter cases, taking money out only causes you to be taxed once.

comment 15y ago · link · parent

No. You need $380,000 in income, i.e., PROFIT, from a small business to be considered part of the 1%.

A "successful" small business owner could take in $2-3M in receipts and still only clear $150k a year after expenses. Or less. Some businesses don't have much of a margin. And most don't have more than a few hundred k a year of receipts.

That's what I find crazy about all of the "you'll hurt small business!" anti-tax rhetoric. If it's only targeting more than $380k in PROFIT (for a sole proprietorship, or that much per owner for a partnership/jointly owned business), then raising the MARGINAL tax to 50% or higher would only encourage the business owner(s) to spend the money on expanding their business instead of buying a second yacht.

comment 15y ago · link · parent

Did that. That was my first attempt at fixing this problem.

Doesn't work for me, since I can't get to it from the keyboard. If there's a keyboard shortcut to open it, then I never found it.

comment 15y ago · link · parent

I actually found the Windows 7 Start Menu killed a primary bit of usability that I'd been relying on: The ability to have folders of links in the start menu.

I use nearly 20 programs on a regular basis, and another 20 I use occasionally and would like the be able to find without digging through the Program Files menu, and I don't want to clutter the task bar with all of them. The way I have it set up in six folders on the top of the Start Menu (NOT inside "Programs", but above Programs), I can pull any of them up with a Ctrl-Esc and few hits of the arrow keys.

The text search feature works great when you can remember the name of the app you're looking for. My brain doesn't always work that way, though. Since I have the various apps sorted by category, I don't have to look through more than about 6 at a time to find the one I need.

I'm actually using a "Classic Windows Start Menu" app that replaces the new Windows 7 Start Menu with one that behaves the way I've come to depend on.

Until I found the Classic Start Menu app, I was getting stuck on the search line a lot, trying to remember what some tool was called. No fun.

comment 15y ago · link · parent

>For Siri, how many of us will actually use it day to day in the office or commute?

My wife has been using voice input on her low-end Android device ($150 with no contract) for months now, and she uses it pretty much every time she needs to navigate somewhere -- it's that good. I've also seen her use it for search -- general search and "Mexican restaurants near me" map search. It's fast, and it's pretty good at understanding what you're saying.

It's a cool feature, but the most compelling use cases are search related -- and Android has those nailed.

comment 15y ago · link · parent

The xconomy.com web site is completely broken if you have NoScript enabled; after about 2 seconds it forwards to the FRONT PAGE of the mobile site.

Sigh. Luckily you can hit ESC to stop it from forwarding you, but then if you want to read the second page, be quick on the draw with ESC again or it will send you back to the mobile site again.

Incompetent developers.

comment 15y ago · link · parent

The path of least resistance for me, BY FAR, was CouchDB.

What I wanted:

* Easy interface to a key/value store. * Reliability. Once something is stored in the database, I want a reasonably high level of guarantee that it won't be forgotten. * Trivial replication so if I server goes down and takes the database with it, I can restore it quickly and have a backup server in the mean time. * High speed on minimal hardware, so I wouldn't NEED to scale under likely usage scenarios. * Easy path to scaling if it should become necessary.

Every SQL database I know takes nontrivial effort to shard. CouchDB has built-in master-master replication that takes two seconds to set up.

SQL imposes performance penalties that I simply don't need, and so NoSQL is going to be faster on the same hardware, and require less scaling.

CouchDB makes things so simple and low-maintenance that I don't need to hire people who understand it, because I can keep it maintained in my free time. I haven't needed to do anything with it after I spent a couple days to deploy it, and it's happily replicating to a second CouchDB instance that I can fall back on if needed.

And if I get to the point where I need to scale, well, it will work fine to create more CouchDB instances (my data is read FAR more often than it's written, so simple replication should be workable).

Even with MySQL, I feel like I would NEED an expert to be sure to achieve all of my goals above -- not because I couldn't, but because it would waste too much of my time. With CouchDB I got something that Just Worked in exactly the way I needed it to.

comment 15y ago · link · parent

"Safe" or otherwise, it's (IMO) never a good idea to merge uncommitted files.

You're losing history that way: If the merge doesn't actually work, then you've got a screwed up file and no way to roll it back.

It's one of the great strengths of git that you can commit files even if someone else has changed them. It's a bad idea to merge when you have anything significant checked out (I'll leave temporary debugging changes checked out, or very small changes, but that's it). Heck, it's a good idea to check in every few hours, to track changes your making.

comment 15y ago · link · parent

Ahh, but here's the deal: The way the Nginx Lua module is written, you store everything in local variables. Those stay consistent across yields, and are tied to a single invocation of the Lua function.

So except for things you should EXPECT to change (like the state of a database you're querying) between calls, the "world" you (as a programmer) should care about stays perfectly consistent.

Unless I'm not understanding what you're asking -- is there some situation that I haven't encountered where the state of something that isn't a local variable matters?

comment 15y ago · link · parent

No, it's pretty easy. An example:

    local doc = ngx.location.capture(  "/couchdb/hamster/"..uid );
This queries the local CouchDB for a particular user record, and stores it in a local variable.

comment 15y ago · link · parent

Very cool, but it's too bad you have to deal with all that to begin with.

I've been using LuaJIT embedded in Nginx (LuaNginxModule). Lua supports coroutines, so a function can just yield. Here's a brief example:

    -- Query a database using an http backend.
    -- Yields and handles other requests until the reply is complete.
    local record = util.getUserRecord(userId)

    -- Send some text to the client. Yields control while
    -- the actual transfer is in progress.
    ngx.print( "Result=" )
    
    -- Send the result, encoded as JSON, to the client
    -- Again, this call doesn't block the server.
    ngx.print( cjson.encode(result) )
    
With code like the above I can easily handle into the thousands of concurrent connections per second on the lowest end Linode VPS node available, with barely any load on the box -- and I'm told it should be able to handle 40k+ connections per second, if I were to do any tuning. Oh, and I have only 512Mb of RAM, which it doesn't even get close to under load. And the longest request took less than 500ms at high load.

I've been using OpenResty [1] which has the Lua module and a bunch of others all configured together. Works great, and I can't complain about the performance.

Someday I'm sure I'll hand the maintenance of this off, and then I might regret not using one of the "popular" frameworks. But the code is SO straightforward using this stack -- and what I'm using it for is so simple -- I think not.

[1] http://openresty.org/

comment 15y ago · link · parent

No one will kill you over this. If your friends all have iPhones, I can see how that could skew your perception of the world.

I would say that ends the "obvious" reasons, in my opinion, though. At last count, Google was signing up 550,000 new phones per DAY, and I'm pretty sure the installed base for Android devices is now larger than that of iOS devices.

And frankly, Android is a better platform hands down for releasing a new product that's at all experimental. Have a bug? Release a new version. NOW. A new feature to try out? Release it. And then release another build to fix that new feature.

It takes at most an hour for a new build to go live on the Market, and all of that is propagation delay. Updates on iOS take a week to go live, and that's if Apple likes you. And you haven't accidentally used pinch zoom in a way that they consider to be proprietary.

People I know who have released on iOS and Android tell me they often are 4-5 builds ahead on Android, and that they hate their iOS version because it has so many bugs that Apple hasn't approved the fixes for yet. I'm frankly surprised that a start-up would release first on iOS, given the standard "release early and often" philosophy around here.

Whatever. Good luck. If I see an announcement for the Android version, I may give it a try. I'm a bootstrapped indie developer myself, so I can sympathize with your position. But my game has been polished under the Android fan base as a first release, and only in the next month will get a full release on iOS.

comment 15y ago · link · parent

"Pull down the barriers! Share music with all your friends!"

As long as they have an iPhone. Just about everyone I know has an Android-based phone, when they have a smartphone at all. Oops.

comment 15y ago · link · parent

Actually, the clause you quote (and the restriction I mention) only applies to free apps.

They certainly DON'T enforce the policy very often. Of course they'd need an army to enforce ALL of their policies. I doubt there are many apps on the market that adhere religiously to all the policies, and most have lots of obvious violations.

1
454647
50