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 9y ago · link · parent

I'm liking the idea of NativeScript as well, though when doing large image work (or audio or video work), you might still want to drop into native code in a plugin.

So that, for instance, you can be sure exactly when the resources for an image have been deallocated.

comment 9y ago · link · parent

"Mentat is designed for embedding, initially in an Electron app (Tofino)."

It looks like it works both ways.

comment 9y ago · link · parent

My roof is covered in solar, enough so that I'm net negative on electricity. No coal power here.

comment 9y ago · link · parent

I missed that fact.

In that case, the author is measuring something that's completely useless. The entire advantage of Go is that it has really good multithreaded asynchronous behavior.

A benchmark that's measuring single thread performance of a task that's optimized to do well in a single thread (i.e., it doesn't actually do anything other than return static text) is entirely worthless.

If you're going to be returning static text, may as well compare to Nginx, which I'm certain can return static text even faster. If you're going to be doing processing in Python, then do at least something.

And run in multiple threads, since that's Go's native environment.

Rating: PANTS ON FIRE. [1]

[1] Not your comparison, but the original author's performance claims.

comment 9y ago · link · parent

>That's exceptional though.

Yes, it's the exception. But it's not non-existent. You just need to choose to live in an area like that.

I lived in Oakland, CA, and had the ability to walk to tons of restaurants, a post office, and a library. And Bart. But Oakland counts as "big city" by most measures.

I also lived in Lafayette, CA [0], walkable to Bart, restaurants, and grocery shopping. And Alameda, CA, walkable to grocery, the post office, an entire shopping center (Southshore [1]), and a beach. And in Boulder CO where I could walk to a supermarket, restaurants, and a library. And another location in Boulder where I could walk to restaurants.

And I've looked at walkable housing in a dozen other suburban cities. If "walkability" is your priority, you can find it all over the place.

[0] Ironically I'm now in Lafayette Colorado. I keep saying I just have a couple more Lafayttes to live in, and I can collect the whole set. :)

[1] http://www.alamedasouthshorecenter.com/

comment 9y ago · link · parent

Probably 30% of the housing in my town is manufactured homes, though (i.e., dirt cheap), and the city council and planners are actively looking for ways to improve diversity of housing. The people living here in the rich-people subdivisions predictably are against any higher density housing being built, though, probably for exactly the reasons you site (some explicitly site "undesirables", despite the already existing low-income housing).

They also complain that it will affect their view, though. Not the view from their homes, but as they drive along the road. Considering the housing is proposed for right behind a WalMart and other big box development, and in the opposite direction from the mountains from their subdivision. Sigh. "But we'll have to drive past it on the way to WalMart or the grocery! OMG!"

Despite having plenty of "undesirables" (not my word), we're in the top-10 safest cities in the state (#3 or 4, if I recall). The neighboring town (Louisville, CO) has won "best place in the US to raise a family" several times.

And the state is Colorado, where even the "rough" cities are actually pretty safe to begin with. I used to live in Oakland, CA, so there's probably no area in Denver that I'd be uncomfortable walking around at night. There are places I've been quite wary of in Oakland, though.

comment 9y ago · link · parent

1888

https://en.wikipedia.org/wiki/Lafayette%2C_Colorado

comment 9y ago · link · parent

Lafayette, CO. Though neighboring Louisville is similar, and Boulder proper has some very walkable areas as well (at twice the price).

Edit to add: Longmont, CO has a charming walkable downtown as well, plus gigabit ethernet for cheap. In case you care. :)

comment 9y ago · link · parent

I live in a small suburban city and I can walk to:

* The library (5 minutes)

* A supermarket (8 minutes)

* A dozen restaurants (7-15 minutes; mostly local restaurants + 2 fast food chains)

* Two liquor stores

* A drug store (12 minutes)

* A coworking space (15 minutes)

* Several antique stores (12-15 minutes)

* (Almost forgot) Walmart (10 minutes)

* Two barbers (8-12 minutes)

* At least three major bus lines

And if I get on a bike, I can go across the entire town in 20 minutes, which puts me in range of more supermarkets, a local game store, a Gamestop, a bowling alley, at least two dozen more restaurants, and tons more.

There are places to live in my town that I would be stuck driving (or at least biking) everywhere. But I chose a place near the downtown area, and I can walk to tons of places. And I do.

Not fond of big cities. My kids can wander around my neighborhood or walk to the park, and we don't worry at all. Granted it's not six miles to the park. Six miles in any direction and you've left the small city I live in. But we're trying to resist the helicopter parenting style.

That said, I think there's another thing that's missing from this discussion: People are having fewer kids. Sometimes they have a single kid. So it's natural when all your eggs are in one basket to be a bit more paranoid about that basket.

comment 9y ago · link · parent

I think that their benchmark isn't pushing the server hard enough (and having one "hey" requesting system may not be enough either?). And that if it were, you'd actually see the benefit of using fewer blocking OS threads.

If you look at the Plaintext TechEmpower benchmark [1], for instance, the "echo-prefork" Go benchmark hits 3.6M requests per second. fasthttp hits 2.8M. On a less powerful cloud server, fasthttp hits 850000 and echo-prefork hits 742000 (yes, fasthttp is faster on a slower system...the fun of benchmarks).

Not sure how fast your machine is, but I'm sticking with Go for my performance-critical code. As a parallel comment points out, Go is also fast no matter what code you're running, and Go's optimizations are throughout the stack, including some pretty extreme garbage collection optimizations, so when you have a complex, long-running server, GC won't be killing latency at a crucial time.

[1] https://www.techempower.com/benchmarks/#section=data-r13&hw=...

comment 9y ago · link · parent

The article doesn't mention whether or not these compounds are removed by using a filter (like a Brita filter).

I know Brita filters don't remove fluoride normally, but these compounds sound organic, which activated carbon usually does remove. Any idea whether standard filters remove this?

comment 9y ago · link · parent

>Get a good filter for your drinking water and most of these concerns vanish. Plus you'll save a fortune on bottled water.

We do that. But it's worth noting that your comment implies that a filter will remove fluoride.

Reverse osmosis will remove fluoride. A Brita filter will not. At least the last time I checked.

comment 9y ago · link · parent

This is actually my biggest complaint about the commonly cited benchmarks at TechEmpower. [1]

Their "multiple queries" and "data updates" benchmarks seem to be more of a test of the database and the specific database bindings than anything like production differences in database access. If you look at the data, the database is clearly being pushed to its limits, and is the constraining factor for all of those tests.

It's fine to test the bindings for speed, but they should be clear that's what they're doing. Instead they claim to be testing the speed of the frameworks ("Web Framework Benchmarks" is the topmost title on the page). I think the binding speed is rarely the constraining factor in production, and that if you had a properly scaled database backend you'd find the same languages on top of that comparison that you find on top of the "PlainText" and "Single Query" benchmarks.

In a production environment you typically have a database that is running on different hardware, sometimes in shards, and that is scaled to handle your access patterns. In that environment all queries have higher latency than a database on localhost, and you can push a single application server (where the "framework" runs) a lot farther when you're using, say, Go or Node.js, which can more efficiently pipeline requests, than you can when you're using a thread-per-connection language like Ruby or PHP.

Finally, the TechEmpower "Fortunes" benchmark is nearly 100% a benchmark of the default templating approach in each framework; Go has template libraries that are literally 10x faster than the one in the standard library and could be among the top performers on that page as well.

I guess the moral of the story is that I should contribute to the discussions around TechEmpower benchmarking... :)

[1] https://www.techempower.com/benchmarks/

comment 9y ago · link · parent

I've had restaurants ask me exactly that, after asking whether I was happy, and no, I wasn't pissed. I like the restaurants in question. Heck, I've had my dentist send me an email asking me to rate them.

When you live in a world where reviews can make or break your business, of course you're going to do whatever is possible to encourage good reviews. There's too much riding on it, and too many jerks out there that will rate you 3 stars or less because you weren't exactly right for their needs (or tastes in the case of a restaurant). Because people are going to just not go to a restaurant that rates a 3 star average, and they mostly won't download an app with a 3 star average.

A little bit of reality here: You can't always make everyone happy. You just can't. And because people who are unhappy are something like 7x more likely to leave a bad review than people who are happy, you pretty much have to encourage people who are happy to leave reviews. In other words you have to game the system just to have an accurate review profile.

EVERYONE games the system, even if you don't realize that. Asking for a "fake rating" and then sending them to make the real rating is the obvious way to game the system, and it clearly troubles some people. A far more subtle approach is to just wait for someone to use your app several times over a week and then ask them to rate it. Anyone who's using it that much probably likes it. Halfway in between could be the app that asks you if you're having any problems before asking you to rate it.

But really it's just a matter of degree, and it's life in the app ecosystem, and even in restaurants and other domains today. Railing against it is like railing against the tide.

comment 9y ago · link · parent

I do game for a living. I guess I assumed that people knew that games were optimized, though they usually don't fall under "enterprise."

Oculus falls under games for me, which is unusual to find in an enterprise company, and frankly probably isn't being run much like the rest of Facebook anyway, so the point is rather moot.

>That could mean enumerating all the possible applications of high performance software, or it could mean enumerating all of the strategic goals of a piece of business software and identifying that performance isn't one of them.

I'm a big fan of optimization, and yet I've done exactly the latter and come to the conclusion that a particular admin backend that would never have more than, say, a couple dozen users EVER would be fine to be written in Ruby. It was an internal tool, and the available engineers were efficient in Rails, so I gave a green light for them to write the admin tools in Rails. There wasn't even a debate. I just said yes, go.

But when you're writing a service that should have a solid front-end that can scale, you need to design scalability into the architecture. It seems to rarely happen.

>With respect to the backend of their main application, they created things like Cassandra to meet their unique database needs.

Cassandra is good and well optimized. Point.

>In the former case, you're going to feel like you've enumerated enough (e.g., three examples) and then come short of the actual space of high-performance problems.

Those are the things that came to mind. No, I'm sure I didn't hit all possible high-performance issues. But that's probably the 80th percentile.

And at least 95% of "enterprise" problems are not treated with the respect they should be toward optimizing. That I have from several personal sources.

>They put in a lot of engineering effort to make the best client for the appropriate device.

They put in 100x as much engineering effort as they should have needed to to create a solid mobile app, and the result is a monstrosity of garbage.

Several indie developers have produced replacement Facebook apps that are far better, faster, and would actually be more robust if Facebook weren't actively trying to prevent them from working. So you can't tell me you need a hundred developers writing generated code to create two apps (the main Facebook app and Facebook Messenger; if you want to read messages, the main app has that DISABLED with a nag screen to download Messenger if you want to read messages) are actually even remotely competent (as a group) if some developer in their bedroom can crank out a better app in their spare time.

I've also written an entire app from the ground up that had about 80% of the Facebook app's functionality, written against some of the worst backend APIs you can imagine (a mix of non-standardized, inconsistent XMLRPC, JSON, and other APIs) and it took me, writing code entirely by myself, about 5 weeks. To a finished, polished product. And that's at only about 30 hours a week.

>In the latter case, in my personal experience developing a line of business application, it turns out that performance eventually starts to matter. It sort of becomes the hardest problem, like people have said elsewhere.

I don't dispute that they should pay attention to performance. I just dispute that enterprise developers (excluding exceptional situations like Cassandra) actually optimize architecturally. Sometimes they can't for structural reasons, since ideal optimization needs to happen across teams and domains, which can be difficult in an environment where each team controls a domain.

comment 9y ago · link · parent

I see this for

* Machine learning

* Computer graphics

* Financial

...but not much else.

The Facebook app is a nightmare of terrible design that has something like 100Mb of generated code to do something that should take a couple megabytes at most. And they are a large organization with R&D by any definition.

comment 9y ago · link · parent

>Unfortunately, with modern libraries helping "abstract away" underlying architecture like databases and the network, code like this is very easy to write without even realising that there might be a problem until it hits you in production.

I think that modern library abstractions are a tip of the iceberg. There is entire copy-and-paste class of developer who doesn't understand what's going on under the hood with most anything they're doing. We're operating on a stack of a abstractions a dozen layers deep, and people rarely take the time to look more than one layer down.

These folks are competent developers who can get things done. Even big things. But they are either incapable of envisioning how the entire system will interact, or they lack the appropriate functional details of how the abstractions work "behind the curtain" to be able to form an accurate mental model. As a result, they just wire things up without understanding how everything will interact.

The Mythical Man Month talked about the "surgeon" role on a team. The programmer that's now known as the "10x" developer. That's what's needed for any project that will eventually need to scale, or you're almost certainly going to have major inefficiencies that make everyone's lives difficult for years. I'm actually considering marketing my consulting services as being that person for startups -- the architect you really need to design a solid foundation, so that you don't accidentally create a house of cards that will fall over the first time you hit the front page of HN.

Not to say that anyone can foresee all interactions in a complex system. You still have to profile and test carefully. But I do consulting and have seen systems that had, to me, obvious bottlenecks that were poorly handled. One recommendation I made brought hosting costs for a small company down from $10k/month (and spiraling up out of control) to less than $500/month. And their product wasn't even that popular; it was not nearly at a Reddit, HN, or Quora level of usage. They peaked at about 2000 requests per second. I was handling more than that on a $10/month VM for my own backend (different load, and different requirements, but theirs could have been handled by a pair of app servers and a paid of database servers, two of each entirely for redundancy).

comment 9y ago · link · parent

> If you're depending on people to "discover" your app without having ever heard of you, then you are choosing to gamble and attempting to game a system that every other gambler is trying to game right alongside you.

Bingo! All the popular indie apps that don't use every possible strategy to get to the top of the heap will fail.

By choosing the top rated apps in the top 20, you are playing the same game. If you don't like indie apps, don't download them. "The only way to win is not to play." You don't like that game, play a different game. Don't hurt the many, many developers who are in fact making a living making apps.

And don't spite them just because they're living the dream of earning a full time income working as their own boss from home and it's what you'd like to be doing.

>The App Store is a cesspool of every developer who figured out how to install XCode acting like they automatically deserve to win the windfall lottery.

I don't disagree, but it also has some very nice apps. If you think an app really sucks, by all means slam it in the reviews. It's a service to other people who may download it.

But I'm complaining about people rating apps they otherwise consider to be 4- or 5-star apps, and that they then vote down to 1-star because they're pissed about being asked to review. That's lying out of spite, is hurting a developer who otherwise did a good job on their app, and is uncool.

comment 9y ago · link · parent

>Your problems with Apple are not my problems as a user.

My problems with Apple are exactly your problems as a user.

If you want the apps that don't ever ask for reviews, then search past the first 100 that show up. Almost no one does. You'll find them there, because they don't rank at the top of the results.

Guess how much money those apps make? Not enough to pay for development. It's a power law distribution. At the top of the search you can make a decent living. By the time you're down to 20th place, you might be making $20/month.

You want good apps to use? Even apps you pay for? Then work within the system that exists, and work to change the system. Don't screw the developers who provide you the apps your using.

All you're doing by using the apps that you're slamming is being a hypocrite. The very reason you found those apps is that they asked users to post reviews. And the only reason that an app developer can continue to make and support the apps you're using is that they stay near the top of the rankings. Meaning that they really have no choice, most of the time, but to ask for reviews.

You want to have apps that work, and that aren't exclusively created by huge companies that can afford to get them to the top of the charts with big ad buys? Then support the developers who create them.

You don't want those apps? Then why do you have them installed on your phone at all? Easy solution here. Uninstall the annoying apps.

No, you owe us nothing. But neither do we owe you anything. If you're using our apps, and you want us to be able to afford to continue to make such apps, your one time $1-2 payment to remove ads isn't enough to pay for development for more than a couple of minutes. It's appreciated, don't get me wrong. A typical user of an ad-supported app probably makes $0.25 in a lifetime (depending on many variables). So the only way to actually make app development work is to get hundreds of thousands of downloads.

I actually have stopped trying to participate as an indie app developer who depends on the arbitrary and awful rankings that are ubiquitous in all the various markets. But I have empathy for those who keep trying, and I do want apps to continue to exist.

If one annoys me, I'll uninstall it. That's the honest thing to do, and by the way, it also hurts the ranking of the app. Rating it one star for a single annoyance is effectively lying out of spite. A "one star" ranking should be reserved for an app that you intend to immediately uninstall. Period.

comment 9y ago · link · parent

Google doesn't wipe the slate, to my knowledge. Has that changed?

comment 9y ago · link · parent

And I'd be happy to not have customers who are so extreme with their viewpoints, to be honest. If you have that kind of extreme negative reaction and would rate an app one star for asking you for help in promoting an app that they otherwise like, then I'm sure you'd be likely to express other entitled attitudes about how the app should and shouldn't work. People like that tend to be a support nightmare.

I'm not really anonymous here anyway. Check my profile. It points at my company web page. Feel free to never download any of my games. Please.

FWIW none of my games follow this pattern. But apps live and die based on ratings. I've had people rate my app one star simply because it was a paid version, and the Google return policy at the time was 15 minutes. So the review? "I can't judge whether this app is good in 15 minutes, so I'm rating it one star in protest." [1]

My fledgling, otherwise 5-star app that never even had a single review ask, with its measly ~5 reviews or so, now was pulled down to 4 stars because of one jerk. Who likely downloaded the app to pirate it. Yes, he almost certainly pirated the paid version; it showed up shortly thereafter on pirate sites. And his complaint was specious since I had a free demo you could also download.

We're not talking about voting for a politician here. We're talking about encouraging the people who like an app to vote for it; as I mentioned, the people who hate it already are motivated to slam it. So you're telling me that it's a dark pattern to encourage people who like your app to rate it, and to help the people who are having trouble with your app? Then you have zero empathy or understanding of the life of an indie app developer.

[1] EDIT: Actually, my current app under development is explicitly designed to not care about ranking in the various stores. And it will be Cordova (or similar) based, so I won't need to "reset" the reviews when I push patches to the app. But I don't promise that I won't occasionally ask for a review, so please feel free to blacklist my company and not download it anyway.

comment 9y ago · link · parent

>Secondly, the 3rd items you list is actually a dark pattern. If you are going to ask users to review, let them be honest. Directing 5 stars to app store and 4 or fewer to an internal system is gaming the system.

Sorry, but that particular pattern is 100% appropriate, IMO.

* If someone has a problem with my app, I absolutely don't want to send them to the reviews where they'll post a "tech support review". Yes Apple finally got off their collective behinds and caught up to Google's Play Store in that developers can respond now to reviews, but it's still a terrible venue for helping people with an app. Send them to somewhere that they can get real help, and turn their mediocre to poor review into a positive review.

* If someone has a problem with an app, the odds are roughly 7x greater that they will post a bad review. People who are frustrated are just more likely to seek out the review process to vent their spleens. There's absolutely no reason for me to attempt to be "fair" by reminding everyone to review my app; the haters will find the review button entirely on their own without my assistance.

I might send 4-5 stars to the app store, but if they rate it 3 or less, then damn straight I'm going to ask them what's wrong and not have them rate it. That's just common sense, not gaming the system.

comment 9y ago · link · parent

If you're getting 10 calls because all the apps updated at once, it's hardly one app's fault.

Also see https://news.ycombinator.com/item?id=13479086

comment 9y ago · link · parent

>What's your preferred user response to the practice of seemingly every single app begging for reviews? An actual, actionable response.

Complain to Apple for having a broken system, but don't hurt the developers of the very apps you're F-ing using.

As OP said above, Apple could fix this issue. Maybe weight recent reviews more, but don't just wipe the history for every upgrade.

The profound sense of entitlement that users express is really frustrating to app developers.

We can either never ask for reviews and watch as 1 in 100 people EVER review our app (and THOSE reviews are skewed to the people who have a complaint, so the review average is typically crap), meaning that we barely get any downloads and can't actually make a living selling apps, or we can ask for reviews and have people complain with 1-star reviews because the app they continue using for free annoyed them once.

And entirely because of Apple it needs to annoy them more than once in order to stay relevant.

Here's what I'd love to do: Make it so that, if you rate an app 1-star, or even 2-stars, you can't use it any more. If you rate it that low and you still use it, you're lying to other users and harming the creator of the app that you're using for free. Give me a developer API to know what users rated the app how, and I'd implement that in a minute.

People could still rate it 1-star if it sucked. Because if it sucked they wouldn't want to use it.

Drop the review to 4 stars if you're annoyed by it, but know that the developers really, really have no choice. You're basically telling them to commit economic suicide for your minor convenience.

comment 9y ago · link · parent

Ha! I always tell people I have a complicated love-hate relationship with C++. It was my tool of choice for writing games for 20+ years (combined with Lua for scripting). I knew all the C++, and loved, yet hated, it.

Maybe I'll give Rust a go after all. No pun intended. ;)

comment 9y ago · link · parent

I've never used D, but I think it was written before the developer community was ready for a new language.

Now that developers are ready for new languages, D is already an "old, failed" language.

It reminds me of selling a house. If you put your house during a hot market and go into contract right away, but then your buyer can't come up with the money and it falls out of contract three weeks later, bringing your house back on the market it's now no longer "newly available!", and everyone thinks that, because it didn't sell in the first week, there must be something wrong with it.

My personal entirely uninformed opinion of D is exactly that: It's an older, "failed" language. It's not on the upswing in popularity. It didn't catch peoples' hearts and minds. And if only because of network effects, therefore it's not worth learning, simply because no one else is learning it, and so therefore its ecosystem isn't expanding exponentially.

Success of technologies is far less merit than one might expect. See: VHS vs. Beta.

comment 9y ago · link · parent

I think it's more than a rumor. As far as I know, Google stopped allowing new XMPP servers to federate, because almost all of the new servers that were trying to were sending spam.

It's possible that they grandfathered you in, if you were already federated when they put on the breaks, and your server wasn't guilty of sending spam.

Or it's possible that I'm wrong and they just got really aggressive about banning new servers if anything even remotely spammy came out of them, and it's really the spammers complaining that "Google won't let anyone new federate."

comment 9y ago · link · parent

I've been on Pandora forever, but not Spotify. Maybe I should defect.

comment 9y ago · link · parent

$5 gets you a gadget that will stream music from a headphone jack into a tape player in a car. I had one for my last car; it worked great. Or are these folks so poor they don't even have a smart phone? "Free with plan" Android phones can easily play tons of music. Yes they fill up, but many do have an SD card option.

Or you can spend $15 on an MP3 player (or pick one up at a thrift store for less). Considering tapes cost more than digital tracks, you'd save enough by buying digital to pay for the MP3 player and the cassette adapter by just forgoing a couple of tapes.

As to "cost effective": Blank tapes cost way more than blank CD-Rs. A quick search finds 30 name-brand discs for six bucks [0], and I've seen them less than $0.01 each in bulk. [0b] Tapes cost nearly a dollar each.

Almost everyone, in college or otherwise, needs to have a computer, or has access to one (libraries!), and most inexpensive computers have CD-Rs. If you don't have a CD burner in your computer, one costs less than a decent cassette recorder. $11.99 on Amazon will get you one, in fact. [1]

And it will be faster to make copies onto CDs, and the copies will be strictly better, than using tape.

Tapes are simply a retro "style" thing. They're not cheaper, and they suck. Trying to justify them in any way just doesn't work.

[0] https://www.amazon.com/Verbatim-Branded-Recordable-30-Disc-9...

[0b] https://www.amazon.com/Smartbuy-700mb-80min-Recordable-1000-...

[1] https://www.amazon.com/Elephant-XuBlack-External-Supports-Co...

comment 9y ago · link · parent

I collected stamps as a kid too, though I did eventually quit. And I still have binders of my old CDs and some of my truly ancient video games. I should probably ditch the lot of it, but we haven't moved in quite a long time and probably won't for years, so the total impact is a few bookshelves and a couple of boxes in the storage room. Not so bad.

I keep my music in my computer which I regularly back up to two different external drives in a rotating manner.

Not because I'm specifically worried about losing my music, but because I just do regular backups in case any of my drives fail and/or I finally get stung by a ransomware trojan (thus TWO external drives; they're never both plugged in at the same time).

1
111213
50