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

Bummer. Maybe it's only a non-physicist's mental model then. :|

comment 13y ago · link · parent

Awesome!

Based on my layman's understanding of relativity, I intuited this model on my own, but no physicist I've spoken with has verified it as a valid model. It just seemed so obvious to me based on the constraints. Thanks for verifying my intuition on the topic. :)

comment 13y ago · link · parent

At 40,000 software patents per year, it would require 110 posted patents per day to actually stop them, or a significant fraction of that to make a serious dent.

One a day would be less than a 1% reduction in software patents. We need to shut them ALL down.

comment 13y ago · link · parent

>There are many stable renter neighborhoods with great schools.

You forgot "...in other parts of the country." The "great" schools in the Bay Area are pretty much exclusively in places with $1m+ house prices, and with few places to rent for a reasonable amount.

Also consider that the bubble primarily affected the distant 'burbs. House prices in San Francisco, and close in to the city, didn't really drop appreciably at all, and have now regained any losses. So either the "pop" was delayed (and another one is still coming, as you suggest), or there wasn't a "bubble" in SF at all. Not to say that I think it's sane to pay those prices, but I don't live the Bay Area any more for that exact reason.

There are those of us who really want to own a house just so that we can change it however we like. There's something smothering about living in a rental when you've previously been free to do what you want. I know, first world problems, but still, home ownership means that I can't be kicked out (or priced out) on the whim of a landlord.

And leaving the Bay Area is one way to achieve both. I've got better (for some measures of "better") public schools near me now than even exist in California any more, and yet I own my home (and paid only about $320k for it -- still not cheap, but much more reasonable). In my case (having bought and sold at good times in the Bay Area), I own the house outright, so living expenses are even lower than if I were renting, giving me the ability to pursue my own dream projects for more of the time.

comment 13y ago · link · parent

cloc can answer the question definitively:

    $ cloc sqlite3.c
           1 text file.
           1 unique file.
           0 files ignored.

    http://cloc.sourceforge.net v 1.58  T=2.0 s (0.5 files/s, 70228.0 lines/s)
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    C                                1           9585          46745          84126
    -------------------------------------------------------------------------------


    $ cloc unqlite.c
           1 text file.
           1 unique file.
           0 files ignored.

    http://cloc.sourceforge.net v 1.58  T=0.5 s (2.0 files/s, 119944.0 lines/s)
    -------------------------------------------------------------------------------
    Language                     files          blank        comment           code
    -------------------------------------------------------------------------------
    C                                1            314          18670          40988
    -------------------------------------------------------------------------------
SQLite seems to have more verbose comments, but still has more than 2x the lines of code. If you want to build both on the same platform and compare binary size, be my guest.

comment 13y ago · link · parent

Licensing is a key issue. BerkeleyDB is AGPL and was previously under another strong copyleft license, neither of which could you embed in a commercial product without paying.

Kyoto Cabinet is also GPL. Again, no-go for a commercial product.

TOKYO Cabinet, on the other hand, is LGPL, so it at least CAN be embedded, but it's described as inferior to Kyoto. [1]

Regardless, if you want something to embed, it's not always easy when you have a huge pile of source with a build system that doesn't match your own. Another feature they describe is that the entire code base comes as a massive (1.3Mb) C file with no dependencies. That's a big win for "drop in the project and build."

Not making any claims for how good this particular library is, but at least it would be marginally interesting if I wanted a persistent key-value store in an app. The other go-to option is SQLite, which has a similar massive C file for easy embedding (and an even more permissive license: "Released to the Public Domain"), but SQLite's code is 4.8Mb. Size does matter, so SQLite needs to offer me some advantage to justify its size. The data I store in most apps locally doesn't require JOINs.

[1] http://fallabs.com/tokyocabinet/

comment 13y ago · link · parent

One C file with no dependencies? Should be a trivial build and interface wrap using the NDK.

comment 13y ago · link · parent

"Object Oriented" programming has been around since the '50s. [1]

"Functional Programming" has as well. [2]

And the "Waterfall" development model also has its roots in the 1950s. [3]

"Extreme Programming" (1996, and a book in 1999) [4] was the first popular methodology to advocate "100% pair programming" as a major component. (I've read the book: They say that you have to use all of the practices, all the time, if you want "Extreme Programming" to work.)

Point is that, depending on how old you are, the late '90s can qualify as "recent."

[1] https://en.wikipedia.org/wiki/Object-oriented_programming#Hi...

[2] https://en.wikipedia.org/wiki/Functional_programming#History

[3] https://en.wikipedia.org/wiki/Waterfall_model

[4] https://en.wikipedia.org/wiki/Extreme_Programming#History

comment 13y ago · link · parent

It's still a Really Hard Problem.

How would you account for LoC nuances, exactly?

As I pointed out, the better the developer, the fewer LoC produced per "feature point" or however you want to measure it. So any analysis that doesn't take into account the nuances would be skewed against the expert developers.

This would mean that, if the study purported to prove that two average programmers were more productive than an expert, I would have to take the conclusion with a grain of salt (or reject the analysis).

But given that despite the disadvantage, experts were still shown to be more cost effective without pair programming? I don't see why we'd need to reject that conclusion.

comment 13y ago · link · parent

It's very, very hard to do objective research on this topic. There are tons of reasons that LoC isn't a great way to measure productivity, including the times when you refactor existing code such that you delete thousands of lines of code, and your "LoC output" is negative for a time period. The Tale of Two Programmers is the epitome of such tales, IMO. [1]

That said, most of the time developers with roughly equal skill levels end up writing new code to implement new features. And LoC is about the best metric you can use. If you factor in expert developers writing fewer LoC to achieve the same goals, then the results of the paper are magnified, because if an expert's 1000 LoC is good for 2x the number of features as an average developer's 1000 LoC, but the number of bugs is comparable, then it's an even greater advantage to use the expert.

>No space given to future maintainability or bugs, only on raw productivity.

They do talk about bugs; they say in the summary:

"There are no significant quality benefits compared to a single programmer who uses static analysis and inspections."

And later on in the paper they compare delivered defects.

I'm easily in the "expert" end of the spectrum as a programmer; I've never seen a benefit in pair programming that would justify two salaries. I'm sorry, and I'm sure I'll be slammed for this, but pair programming is a crutch to boost programmer productivity of average or below average developers. "Average" developers would have to make 1/3 or less of my salary to make it worthwhile, economically.

In my opinion pair programming's only valid use is in training a junior developer (or allowing two junior developers to support each other, though in the paper the bugs delivered were far worse from two junior developers than from a single expert developer -- but you can't always hire an expert developer).

Otherwise it's a waste of money. If you can pull it off as a developer in some big company that has lots of money, by all means, have a blast. I thought HN was more about bootstrapping and getting code working as quickly as possible, and pair programming is not the way to accomplish that.

[1] http://mail.linux.ie/pipermail/social/1999-October/000483.ht...

comment 13y ago · link · parent

>They have to use actual facts.

If I understand the process, it DOES involve judgement of IRS agents. The IRS requires that applicants describe what social welfare activities they're going to take part in. If they didn't put something in that blank that was reasonable, then of course they weren't rubber stamped.

The Tea Party is pretty much all about reducing government size and spending and reducing taxes, with a few other standard conservative (guns, military) and libertarian (privacy, intrusive government) positions thrown in [1]; what could a "Tea Party" organization do that would promote the social welfare? Looking at teaparty.org, there's nothing in their set of 15 core beliefs that fall under "social welfare", [2] except arguably "Traditional family values are encouraged." Pretty much a stretch to expect 51% of their money to be spent "encouraging family values" and only 49% on politics.

[1] https://en.wikipedia.org/wiki/Tea_Party_movement.

[2] http://www.teaparty.org/about-us/

comment 13y ago · link · parent

No, the entire point is that political contributions shouldn't be tax deductible, no matter the goals.

I make lots of political contributions with the intent of improving social well-being. I just don't expect to also be able to deduct those contributions from my taxes.

The IRS wasn't preventing these groups from collecting money in support of a cause. It was preventing those donations from being deducted from your taxes.

I'm willing to take that tax hit to help people. It's the Tea Party supporters who hate taxes so much that are making a big deal of the fact that they can't get a deduction on their taxes on contributions made to elect people who will then try to reduce their taxes.

They want to double dip. Screw that. Make sure that the rules are fair in preventing any such political organization from being considered a "social welfare" organization, by all means. But don't let political contributions become deductible, no matter the politics.

comment 13y ago · link · parent

You're creating and then trashing a strawman.

He said that he couldn't come up with ANYTHING that a "Tea Party" group could do outside of politics with the 51% of their money, other than launder it by giving it to other groups.

Why don't YOU come up with something OTHER than changing public policy that a Tea Party group would do with that 51%? Any Tea Party group is a political group by definition, and shouldn't qualify as a charitable group. Period. It's just a tax dodge, plain and simple. Heck, that's pretty much the point of the party is they don't like taxes, so it's a blatantly obvious tax dodge.

comment 13y ago · link · parent

>51% of its money on social welfare

That's a pretty sucky rule, but regardless, I'd still have a hard time believing a "Tea Party" group would ONLY spend 49% of its money on politics, so I'm sorry, but I have to say "ha ha" that they missed a chance to influence the election.

I don't care if they apologized. That's PR 101 these days, regardless of fault. They also targeted progressive groups. And open source groups, apparently. Maybe they did target MORE Tea Party groups, or maybe there were just more Tea Party applicants than progressive group applicants. Regardless, it's all mob mentality lynching of the IRS without enough evidence to know what was really going on.

And I guess people who point out that it's not necessarily an actual conspiracy get downvoted for bursting that particular bubble. So be it.

comment 13y ago · link · parent

Wow, if you're being downvoted for saying that, I guess there must be a lot of Tea Party supporters here who are misusing downvotes to express disagreement.

Or maybe they don't get that political organizations should not ever be charitable "social welfare" organizations, on the left or the right.

In any case, it seems to me that you've got an excellent point. And the fact is that there's tons of evidence that the IRS was just being slow, not partisan, INCLUDING the linked article.

"Tea Party", being a politically based category, seems like a natural red flag for the IRS, just as "Progressive" or "Libertarian" would be. It's really hard to believe that most of these organizations WOULD have qualified. If someone created a non-profit named "Democrats for Social Justice," I would equally expect the IRS to think twice about approving "charitable" status.

comment 13y ago · link · parent

Webster says "a fledgling business enterprise," and sites as its first use 1845. [1]

Unless there's another dot-com bubble that happened 150 years earlier than the one I know about, I think you're pretty well wrong about the etymology.

Within the HN-bubble, people may define "startup" to be "VC-backed-startup, but the term does have a meaning outside of that bubble. I call my own company a "startup", and I have no plans to seek out a slot in an incubator or investment from VC.

[1] http://www.merriam-webster.com/dictionary/start-up

comment 13y ago · link · parent

> if radio and Pandora are used significantly differently (which I don't strongly believe: as you say, it's played in cafes in place of radio).

I have to disagree: I think the vast majority of people listening to Pandora are doing it on their laptop on headphones, while many radios (today) are not being listened to by a single listener.

Regardless, the estimates I used intentionally underestimated the Arbitron radio audience numbers by an order of magnitude. Some of the larger markets go up to 150k listeners on the top station. If you're right and significantly more than 1.0 people listen to a particular Pandora stream on average, then it still have to be more than about 5-10 listeners per instance before it hits the numbers that radio is claiming. And I would be very, very surprised if the average were anywhere near that high. I think if Pandora had evidence of that, they would be able to demand more money from advertisers, for one thing.

As to the methodology of Arbitron: Not really relevant for my purposes, because I think that it's accepted by advertisers as reasonable. At some point, if the numbers were complete garbage, the advertisers would have noticed and stopped relying on them; advertisers certainly track the results of their campaigns, after all.

comment 13y ago · link · parent

I did a bit more math here [1] based on Arbitron numbers for radio stations. It turns out that he IS likely being paid more per listener on Pandora.

[1] https://news.ycombinator.com/item?id=5935672

comment 13y ago · link · parent

Looks like the answer is probably "thousands" [1] of listeners per radio station. The back-of-the-envelope is that the top station will have 1% of its metro area listening at a time (metro areas as defined here [2]).

Even the 100th largest metro area would typically have 5k people listening to a play of a track.

If you assume 5000 people listening per play at 18797 plays, and then calculate a cost PER LISTENER (at $1373.78 royalties paid) you end up with $0.014617 royalty per 1000 "performances" of the song (counting every listener's radio as a "performance"). AND, when you multiply that back out with the number of "performances" on Pandora, you get....$16.94.

Considering WAY more people probably heard the song on the radio, possibly by a factor of 5 or more, this is a HIGH estimate; actually doing the math would likely come out with a much lower equivalence, but it's the right order of magnitude.

I am all about protecting artists rights to earn, and for buying music that I'm listening to. As the parallel comment by smack_fu mentions, though, this is really about the insignificance of the Pandora market size more than anything else. That and the inability of a particular blogging artist to do enough basic math to realize the royalty per performance is higher on Pandora than it is on the radio.

[1] http://www.radio-media.com/song-album/articles/airplay66.htm...

[2] http://www.arbitron.com/home/mm001050.asp

comment 13y ago · link · parent

Thanks for the hint. :)

comment 13y ago · link · parent

WSJ is behind a paywall. :(

comment 13y ago · link · parent

A $20/month Linode can handle 4k static pages per second on Nginx. I've heard tell of people pumping the cheap Linode server up to 30k views/second, but I haven't been able to break 4k.

Assuming text pages, the full 61k sites could be accessed every 15 seconds. If the pages have nontrivial graphics, then you're (as others have mentioned) far more likely to be bandwidth-limited. If the site has an unmetered 10Mbps connection, then it could serve 1Mbyte per second: If each of those 61k pages contained 1MB of data, then it would STILL be able to serve (at most) 86k pages per day.

It's likely that most of the pages hosted will be accessed less than once a day, though. Power law distribution of the long tail [1] and all that. And a megabyte is a lot of data for a single web page; I would imagine that with a 10Mb limit on the entire site, it's not going to be a place to host sites with tons of images.

[1] https://en.wikipedia.org/wiki/Long_Tail

comment 13y ago · link · parent

>Car drivers are more than self-sufficient.

The state of Colorado just announced that there are some roads that will never be fixed, because there isn't the money in the budget, and at the current rate there will never be (because the higher priority roads that the budget does fix will use up the budget perpetually).

I've heard that at least one big city has a "97 year" road fixing rotation, again because the budget isn't there to keep the roads fixed.

This is not even close to self-sufficiency for cars. If everyone took a bus there would be a small fraction of necessary road surface and wear-and-tear to repair. The reality is that cars have hidden costs paid by everyone, and that shifting some of those subsidies to public transit saves money.

comment 13y ago · link · parent

>All I'm saying is that we have to be careful with subsidies.

Don't forget the subsidies on the other side of the equation: As the poster above mentioned, building larger roads to handle increased traffic is very expensive.

comment 13y ago · link · parent

>if you're working in .Net

For the record, I've avoided .net and C#, so I'm not locked in that box.

I said Visual Studio because the C/C++ development features are pretty much unequaled. I've tried. At some level I hate Microsoft AND Apple, and would love to be a Linux user and get away from The Man. But I don't love the idea so much that I am willing to do even 20% more work to be on Linux full time, and honestly it would be far more than that.

Some things would be absolute showstoppers, like reading Photoshop files -- so I'd have to have Windows running in a VM. And while I'm sure that's getting better, the integration never seems to be quite as clean as you'd like.

>Amazon video has worked fine in Firefox for me on Ubuntu forever.

Good to know. Strike one thing off of my list. I expected that with that many items I'd likely get one wrong. The rest stands, though. ;)

comment 13y ago · link · parent

Though colanderman made some excellent replies, I have a few things to add.

>What about Gimp and Inkscape?

colanderman was right: Adobe products are That Much Better. Gimp doesn't stand a chance. Nor does Inkscape.

Not to mention the fact that I get .psd and .ai files from artists that I have to open. Gimp can sometimes, maybe, barely, open a .psd file correctly. If it's just got an image layer in it, sure, Gimp will work fine. But if they have 30 layers that include tons of complex filters? Almost no chance it will be exactly as Photoshop will render it.

>I think VirtualDub is open-source and exists on Linux.

If I want to spend 200x longer getting feedback on simple edits, then sure, I could use VirtualDub. I've used VirtualDub in scripts to hack videos in an automated way. It's not a replacement for an awesome video editor.

Vegas uses DirectX to render a preview in real time. I can do edits and see a reasonable approximation of the result almost instantly.

>it does what it's supposed to do for me. What are you doing?

Things like expecting the defaults to be sane, which in OO they rarely are. I even have trouble with really basic things sometimes, like styled bullet lists, where something will just randomly get messed up. And the default bullet is this dot smaller than a period. What's up with that?

Again, though, the killer is getting .docx files from people and having them be Completely Broken in OO. I tried working with OO for several years, but finally gave up in frustration. I'm sure I wasted more than 40 hours fighting with it, which would have paid for my Windows AND Office licenses several times over.

>Eclipse, NetBeans, Emacs, KDevelop

Eclipse is about the worst development environment I've ever been cursed to need to use (for Android development -- thank all that's holy they're officially supporting IntelliJ now). And none of the rest do nearly the job that Visual Studio does at being a really good, well-integrated development environment. Debugging an app? Oops, need to make a change. Edit and continue? Bing! Recompiled in place. Stepping...

Aside from the fact that I'm developing software for Windows (in part), in C/C++, not Java. I know KDevelop can do that, but GDB just doesn't hold a candle to the Visual Studio debugger. I know, because I'm forced to use GDB on other platforms. Just like the Adobe products above: Visual Studio is That Much Better.

>Linux has VLC, Totem, and Flash Just Works on Linux Mint.

Answering the wrong question. Neither Netflix nor Amazon streaming works through Flash, VLC, or Totem. Also, IIRC Flash Linux either had its support pulled, or it was announced that would happen, so that's not going to help for long.

The point is I have a Netflix account and an Amazon Prime account. I get thousands of movies that I can stream for free -- on Windows or Mac. Maybe you pirate your movies? Sorry, not my style.

> Did you make the mistake of buying official Apple hardware?

Not a mistake. I develop apps for iOS and Android. Actually my brother sold me my first iPad used, and gave me my second iPad, but I needed them regardless, despite not really being happy with the Apple walled garden.

>generic MP3 players and Android phones do everything iJunk does

Sorry, even though I'm with you philosophically, that's not correct. I play a lot of board games, and (until recently) almost all of the board game companies that make games for iPad have been ignoring Android. A few interesting board games have been coming out for Android recently, but it's still a fraction of what's available on iOS. I'm sure the broader game market is similar, though.

My day-to-day phone is an Android, but I have and occasionally use iOS products (even when I'm not developing for them). So I'm cursed with needing to use iTunes from time to time. I also have generic MP3 players (well, I only buy ones that play OGG files, but you know what I mean), but those are gathering dust since my Android phone with 16G of RAM can hold enough music to keep me happy -- and it can stream from Google Music anything I've let Google know I own.

I know ALL the apps you've referenced, and many more options besides. I've even used most of them. They all are severely lacking compared to what I use on Windows. It's golden handcuffs: I know I could leave, but I know I'd be worse off if I did. So I stay.

comment 13y ago · link · parent

>Most users don't know what sudo, wget, make, or apt-get commands are, just to start.

Have you used Ubuntu recently? Or Mint? They've made a lot of strides in that direction, including fancy graphical package installers.

On the other hand, when I use any Linux, I typically drop to the shell and edit config files, but that's because I'm always trying to do something unusual. Otherwise I wouldn't be on Linux to begin with. But for the 95th percentile of what typical people use a computer for (basic email, web browsing, maybe basic text editing), Linux is as easy to use as a Mac or Windows. In fact, Windows and OS X only recently are catching up to how easy it was to get software on the popular Linux desktop distributions: It was a matter of running the software installer app and selecting the programs you wanted. Now Windows and OS X each have their own "app stores", but Linux had that bit of convenience first. The only thing that prevents Linux from being on more personal computers is the fact that it doesn't ship on them. Consider Android, which is a Linux fork, is on millions of devices (a million a day are shipping now), so there's nothing wrong with Linux that can't be fixed with a few apps to smooth the edges.

No, being a power user is what keeps me on Windows. There are no sufficiently good replacements for:

* Adobe Photoshop/Lightroom (and Creative Suite in general)

* Sony Vegas Video

* Corel Draw Suite

* FL Studio

* Visual Studio

* Microsoft Word & Excel (don't get me started on how badly OpenOffice sucks...I've tried to use it for years, and they just can't get even close to "It Just Works.")

* Netflix and Amazon streaming

Any one of these would require I keep at least a virtual Windows instance around, and some (like FL Studio) really need you to be running on the raw hardware.

I've tried, again and again, to use free versions of all of the above, and the usability and feature set is nowhere near what I need in the free offerings. I've given up at this point; there are just too many critical apps on Windows for me to jump ship.

>And I have used iTunes on Windows, and I found it wasn't bloated.

In my experience, iTunes on Windows is one of the most hated pieces of software around; probably second only to QuickTime. I hate it with a passion, and I hate the fact that I can't use other software instead. I'm running 16Gb of RAM, an i7 with 8 threads, and a fast SSD hard drive, and yet it's still slow and frustrating, not to mention awkwardly designed and buggy. Not sure what you're running that it doesn't seem bloated, but it absolutely (and frequently) screws up in talking to iPads. And the fact that it considers every new upgrade a "new computer install", threatening to lock me out of my content and devices if I don't "uninstall" it first from the older computers (that have been reformatted) is absolutely infuriating.

comment 13y ago · link · parent

Awesome link! I've made a similar (though not as well-presented) argument myself on a thread on Reddit (in r/frugal -- people were actually defending buying a ticket using exactly the linked arguments). Glad to know the thinkers at lesswrong.com agree. :)

comment 13y ago · link · parent

OK, confused. "Current" Kickstarter? Is there more than one? Because the one that he finished seemed to fund quite well.

Skeptical that it will be late? Well, given the normal DC schedule, that wouldn't surprise me a lot. But I don't fund projects on Kickstarter expecting a particular delivery date like it's a store. So if it arrives in November I'll still be happy.

1
353637
50