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

gzip should already be enabled on any modern server/browser.

comment 11y ago · link · parent

Do you have a passion for developing software? Do you read Hacker News to find out about the latest technologies? ;) Do you spend time trying to improve your own skills?

If you answered yes to all three, you're probably not going to be a mediocre developer. No guarantees; there's a bit of genetic luck involved. But if you do care enough, you can almost certainly get above the "commodity developer" level.

comment 11y ago · link · parent

>My pet solution to the problem is to prioritize quota slots by pay tiers, as a rough proxy for how rare the skills being sought really are.

That is absolutely brilliant.

comment 11y ago · link · parent

The people I know in that range tend to work at:

* Google

* Facebook

* Amazon

* Microsoft

* Apple

They work on security, mobile, back-end, and "I can't tell you what I'm working on," the last being the most common answer, unfortunately. The common thread is that they're all good developers. I got my offer in large part because of Android development skills on top of low level skills, which on Android means I'm comfortable and experienced with the NDK. But I also know Windows, full-stack web, high performance servers design, scalable server design, multithreaded programming, game development, and a half dozen other interests/skills.

Most of the compensation comes in the form of stock grants and/or signing bonus. My compensation was $160k "salary" plus nearly that much in signing bonus+stock grant. Actually if I hadn't left the company, their new stock price would have meant higher total compensation this year, but I wanted to pursue my own things.

comment 11y ago · link · parent

This is a difficult problem to discuss, in large part because not all developers are created equal.

There is a reasonable supply of entry-level and low-skill developers. I refer to them as commodity developers: Developers who have a very basic skill set, who can do only a few specific things, none of them with extreme skill, but some of them reasonably competently. They typically do web front-end work, but sometimes work in Java on server back-ends. Typical pay ranges from $80-$120k, the same as it has been for 10 years or more.

There also is a shortage of high-skill developers. Compensation north of $250k-$500k is becoming standard in some areas for such developers. [1] That pretty much could only happen if there were a shortage, since real wages have remained flat in general since the mid 1970's. [2]

The problem is when companies ask for more H-1B employees, citing the fact that they can't hire developers for their highest skill positions (or claiming that they can't hire mid-skill developers at "market rates", because even the mid-skill tier is asking for more money now), but then import commodity developers.

By importing such workers, it unfairly keeps those developers' wages down by creating an artificial surplus of employees at that level. The idea of an H-1B worker is that they are not supposed to be paid less than the "prevailing standard" for a worker of equivalent skill in the local market [3]. But if by hiring H-1B workers you're holding down the "prevailing standard" in pay, that hardly seems like companies are following the spirit, or even the letter, of the law.

[1] My own compensation was in that range when I took a job working from remote full time, and I know several other developers at top companies whose compensation is well within that range.

[2] http://www.thestreet.com/story/11480568/1/us-standard-of-liv... and many other such charts and reports.

[3] https://en.wikipedia.org/wiki/H-1B_visa#Employer_attestation...

comment 11y ago · link · parent

There was a statewide measure in Colorado in the last election that would (somewhat) equalize funding across school districts, taking money from rich areas and giving more to poor areas (meaning more than they get under the current system, not more money in aggregate).

This is, IMO, a very progressive idea, and I totally expected it to fail. What I didn't expect was how badly it failed in the one of the most progressive/liberal towns in the state: Boulder.

It seems that, while the people in Boulder talk about helping others, when it comes to potentially reducing the (granted, excellent) quality of the schools in their own back yard, they vote selfishly along with the rest.

Sad.

comment 11y ago · link · parent

I've lived in all three of those locations, and I have to agree that there is awesomeness in all three.

There's also crap, though; all three are only awesome if you're toward the top of the earning spectrum. And even then the vacation allocations (and the guilt tripping related to using vacation) are pathetic, pretty universally in the US (with a few notable exceptions, but even those rarely give you a MONTH OFF every year and expect you to TAKE IT).

Until we have free health care and more standard vacation time and less expected overtime, there will be no Switzerland in the US.

Only privileged rich people living in enclaves have their own Switzerland experience. For all intents and purposes I'm one of those at this point, for what it's worth. I can take my extended vacations now (between contracts), and a few people I know will take an unpaid month away from work every few years. If I work overtime, it's for a high hourly rate for every hour I spend (depending on project type and client, between $150-$250/hour).

But the majority of people, even here in Boulder, still have a max 2 weeks of vacation a year, unpaid mandatory overtime, and pretty pathetic salaries to boot (considering the cost of living). Hardly paradise. Certainly not Switzerland, for them.

comment 11y ago · link · parent

Agreed that it's a positive thing to actually pay people for nontrivial amounts of work.

Downside is that, as a company paying someone to accomplish a task, I'd want to give a different task to each applicant, so that if they do a good job, it provides value to the company.

And this is a problem because rarely are two programming problems exactly as difficult as each other, so the test isn't normalized. Interviewing is hard enough when you keep all the variables that you can control the same.

comment 11y ago · link · parent

My kids get an Izzy (a 10-oz can of juice-sweetened soda) as a treat about once a month or so, and a "Zevia" soda (no sugar or calories of any kind) a couple more times a month.

One kid gets a (small) chocolate milk a 1-3 times a week. That's probably the most sugar either gets (outside of birthday parties and sugar-based holidays); the other will drink water even when she has the option of free soda.

Funny thing is that we don't restrict sugar. There's a container of candy in the cupboard that they can eat when they want (they typically ask first, but we rarely say no), but it frequently goes weeks without being touched. Sometimes they'll have a square of chocolate or two, but it's not a regular thing.

It turns out that if you "allow" kids to do most anything they want, but give them the tools to think clearly about what is healthy and why, they are perfectly capable of making good choices. I think it's the very restrictions that parents place on kids that makes them crave the same things those parents restrict.

comment 11y ago · link · parent

That's what linting is good for, at least in JavaScript where you have optional "var" declarations: You can set jshint to flag as an error any assignment that isn't part of a "var" declaration (or any reference that isn't explicitly defined), which will catch (at compile time) any variable name typos.

It won't catch this.fooo, though, so it's only a partial solution. My editor has great completion, though, so as long as the string is IN the file somewhere, I usually autocomplete it. Way fewer typos that way.

I see there's a PyLint, so MAYBE it has a way of spotting typos like the one you cite? Not sure how it would work in Python, though, other than on variable reads.

comment 11y ago · link · parent

I've used both, and Gimp falls flat in the implementation of the features that it does have. It's not about filling in boxes in a feature comparison table. It's about how well each key feature works. [1]

And that's where most open source software completely falls down, because getting UI and polish into an app takes tons of time and experimentation to get right. Open source apps typically get to 80% and leave it there. Problem is, the last 20% of UI and feature improvement typically requires 80% of the time.

But even that is irrelevant, as you point out, because PS is the de facto standard, and Gimp can't open a multi-layer PSD and be expected to render it perfectly if it uses any nontrivial effects.

[1] Gimp seems to still be missing "adjustment layers," which I swear are used in 95% of the nontrivial tutorials I've seen for PhotoShop. I'm sure you can work around that, but that is a key feature of PhotoShop. Just because you don't find a feature important doesn't mean it isn't used by 90% of graphic professionals who use PhotoShop.

comment 11y ago · link · parent

>This is a clear user freedom that is guaranteed by the GPL.

Yes, and that freedom is being guaranteed to fewer and fewer end users of GPLed software because of those feelings you're dismissing.

Linux is probably the success story for GPL, and even in that case Google has bundled it with proprietary software (Android now outnumbers all other operating system installs, IIRC). Yes people can make their own distributions, but they're for the most part irrelevant to 99% of users of Android devices. Probably 99.99% if you include people who never install Google proprietary apps (the Play Store; Google Maps; etc.) on their devices.

The point of GPL wasn't to serve the 1%, but to expand software freedoms to everyone. To start a revolution in software, and to supplant closed source and restrictive licenses. Look around, though; most people are ignoring what freedoms they are offered and basking in proprietary software options.

Open source is beautiful when it works. But freedom to redistribute something without value is about as relevant as debating whether a tree falling alone in a forest makes a noise.

comment 11y ago · link · parent

Thank you.

comment 11y ago · link · parent

>I actually think you chose a bad example with the Adobe suite.

It's actually a perfect example:

* Any DRM it has obviously is annoying and could prevent you from using a valid copy (though I've never seen it not work).

* It's crazy expensive.

* Its UI is annoying.

And yet it's by far the most used piece of software when it comes to editing photos (with the possible exception of Adobe Lightroom).

FWIW, PSD is a pretty well standardized file format, and files created in older versions of PhotoShop have always reliably worked in newer versions of the app. It's the other way around, especially if you're using transformations that don't exist in the older app, where you most frequently encounter problems. Which means that if you don't pay their ongoing extortion fees, you might end up getting a PSD that you can't open because of some new feature the older app doesn't support.

Yes it's annoying. But it's also hands down the best, and no professional graphic artist would be taken seriously without it. Gimp doesn't even come close in functionality -- but even worse, the various tutorials and scripts you can follow or acquire for PhotoShop don't work in Gimp.

>The article was talking specifically about serving the interests of users of applications.

Sure it was, but in my example I point out one of many apps that is vastly superior to its open source equivalents, and yet it is the one that serves users the best. Yes Adobe extorts money from those users. Yes it would be nice if it were just open and free. But the reason that Adobe can make software that is so much better is that it can extort that money from users.

So what good is the GPL in fighting apps like this? It accomplishes nothing with respect to large companies like Adobe, because they can just pay to reimplement what they need.

The argument is that the GPL will allow better software to be written with capital-f-Freedom than proprietary. That the GPLed libraries will grow in quantity and eventually outcompete proprietary tools. Other than developer tools (and precious few of those even qualify, honestly), name a GPL application that's better than its closed source rivals. Write a list of all of them that you can think of, in fact. If you hit a half dozen, I'd be surprised -- and there are dozens if not hundreds of solid proprietary packages that make the open source packages look embarrassingly bad by comparison.

Yes you can find GPL apps that are Good Enough for some purposes. I do know people who use and swear by Gimp, for example, or Inkscape. But except for people who use Free tools for philosophical (or financial) reasons, the vast majority of end users want the mainstream, proprietary software that for the most part works the way they expect.

Users are being better served by apps that work well and have the features they need. It happens those apps typically are proprietary. Some philosophies sound good on paper, but in reality fall apart. The GPL largely falls into that trap, IMO, except for the awesome developer tools that are available for free. And Firefox. I still like Firefox. :)

comment 11y ago · link · parent

Interesting point about the virtualization. MANY companies are scared of GPL, for certain.

Thinking about Clang, its better design didn't evolve in a vacuum. Clang was primarily developed by Apple [1] so that they would have (with LLVM) a full compiler toolchain that didn't include GPL code (and as others have mentioned, Clang is designed to integrate with editors for parsing, while GCC is explicitly designed to be HARD to integrate that way so that it can't be snuck into a proprietary project).

YOUR choice to change to Clang may not have been about licensing, but licensing and design choices in support of that license philosophy are what caused Clang to exist.

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

comment 11y ago · link · parent

The opposite has been the case, though, in practice: When using MIT-licensed software that's popular, proprietary software companies have been happy to contribute back upstream, because it reduces their maintenance requirements.

And since when does a for-pay piece of software eclipse the original free version in popularity? If it did happen, then I'd assert that the "proprietary company" must have done a lot of work to make that possible. In that unlikely case, they must have invested a nontrivial amount in the creation of a powerful tool, and they deserve the profits it generates.

A far more likely scenario is that a proprietary company forks an MIT-licensed project, does something creative with it, sells it to a few people, and then the open-source community would copy the cool features and add them to the MIT project. The actual code to a new feature is typically not as hard to create as the design of the feature, which has already been done by our hypothetical proprietary company. Then the company will need to innovate again to stay relevant, and the free project can copy those features as well.

A healthy ecosystem can include some companies that don't share. It's all part of the network effect. If you can cite any situation where a community surrounding a free software library or other product has been killed or even harmed by a piece of proprietary software that is based on the same code, then you might have a point, but I don't think it's happened.

It DOES happen that proprietary software runs circles around the equivalent free software (Adobe Photoshop, for instance), but that's not because the for-pay software is stealing free code. It's because when you have hundreds of full-time developers you can produce a lot more than the same number of people can do in their spare time. And when those full-time paid developers can contribute to open source (as is frequently the case with MIT/BSD licensed projects), those open source projects flourish as well. Again, see LLVM/Clang.

comment 11y ago · link · parent

> but is totally besides what I was saying, or the parent.

No, it's not.

GPL is only relevant if it can grant freedom to modify software that's relevant. Freedom to modify something you don't really want to use has no value.

comment 11y ago · link · parent

* As pointed out by another commenter, Apple switched away from GCC as the default to CLANG.

* Microsoft is supporting CLANG.

* Android switched from GCC default to CLANG default.

* The CLANG development community, combined with the LLVM development community, are both extremely robust.

* GCC used to have full time commercial developer contributors working for Google and Apple and other large companies; most such companies have migrated almost entirely to CLANG/LLVM support.

* Because of better management and the army of full time commercial developers contributing to it, CLANG is better in practically every conceivable way at this point than GCC. If GCC weren't GPL, CLANG would likely be (at most) a fork of GCC, and may have been merged back into trunk by now (this happened to GCC once before).

CLANG is also an excellent example of how a completely permissive license can be sufficient to encourage big companies to contribute their changes back to the commons. All of the GPL fearmongering would have you believe that CLANG couldn't exist, and yet it thrives.

And printer drivers are still almost all proprietary [1]. So GPL didn't even achieve the objective that inspired it.

GPL did prove that open source CAN work, and it jumpstarted the open source movement. But its time has past; enough people understand the benefits of contributing to open source that the coercion is no longer necessary, and in fact is harmful.

[1] Some printer drivers have been reverse-engineered for Linux, certainly. But modern printers frequently leave so much processing for the host that their drivers are nontrivial, and even when there exists "free" drivers for Linux, they pale in comparison feature-wise to the proprietary drivers. I'm sure there are exceptions.

comment 11y ago · link · parent

>depleting the community of improvements to the work they have made freely available under good faith

What is this insane logic?

If someone modifies my code and doesn't give it to me, it doesn't deplete me of anything. For that to be true I would have to lose something I already possessed.

You maybe meant "deprive," but at no time did I ever have a right to anything that they created. It seems you're asserting that because they used my code I suddenly should have a right to use their modifications. I think that logic is flawed.

I do believe I should have a right to use anything I've created [1]. And if someone feels they've made changes that would be generally useful, and submits code to add to the code I've released, then I would be thankful.

But I wouldn't feel that I had the right to something created by someone else just because I gave them a gift that didn't even cost me anything to give them (aside from possible opportunity costs).

That's not to say that GPLv2 isn't useful for dual-licensing situations (like Qt), so as to convince companies to pay for full commercial use. But the latter situation does NOT guarantee user freedom (people will only pay if they AREN'T willing to release code, after all), and the pro-GPL arguments on this article seem to focus on user freedom, so you can't really have it both ways.

[1] I would love to see a programmer's bill-of-rights that guaranteed a developer the ability to reuse any code that they'd ever written that didn't include any actual business or trade secrets. I once wrote an awesome string class for one employer that was even actually open source, but that was licensed in such an annoying proprietary manner that, even though I can still legally have and use the source code, I can never redistribute the source code. The company made games, so there was nothing at all about the string class that anyone would ever have cared about in a business sense.

comment 11y ago · link · parent

>Well, the GPL mandates the right to use the application, and that a redistributor cannot restrict it (section 0, preambule and section 6, IIRC); that right is not guaranteed by MIT, BSD, MPL or Apache.

Yeah, and because of the additional restrictions of GPL, big companies are simply avoiding it or writing software to replace it.

See: CLANG/LLVM. GCC used to be the king of the compiler heap; now it's well on its way to becoming an historical footnote.

It's far better to convince people to help you by being trusting and generous than by coercion. The GPL uses coercion.

Yes, some companies use BSD/MIT software and lock it up, never to send improvements back upstream. But they ultimately are harming themselves, as they can't trivially update to new versions of the the software, because they're now maintaining a fork, and the longer their code diverges, the harder it will be to maintain. So they are motivated to send improvements upstream. And many (most?) big companies do.

When there's another game in town, people will play the one where they're more welcome. Open source software benefits by many eyes and many hands; the GPL (especially GPLv3) cuts off access to just about everyone in big companies, which means the size of the potential user base is a fraction of what it can be.

Linux is a notable exception, obviously. But with Linux there's a clear way to use it that doesn't risk your proprietary code. Most other software, not so much.

comment 11y ago · link · parent

Can't speak for commenter above, but v3 has a "patent license" clause that is literally impossible for any large company to comply with.

Not just difficult or undesirable, but impossible.

GPLv3 requires you to offer a free license of any patent you have a license to that might apply to the GPLv3 software to anyone who might want to use that software. Almost any large company has at one time or another purchased broad patent licenses that cannot be sublicensed.

So GPLv3 is an absolute non-starter for any large company. You want to doom a product, license it under GPLv3. It may not instantly kill it, but it will slowly strangle it.

comment 11y ago · link · parent

Renderer-agnostic is nice, actually, when you need to support lots of different browsers.

Some mobile browsers can't do WebGL as fast as they do Canvas, for instance. Other browsers will have a huge speed advantage with WebGL.

I'm not sure if any are faster with SVG, or the relative performance between SVG and canvas. But being able to do some test renders quickly in all three modes should allow you to select the fastest for a particular browser.

Game developers are better off with a game-oriented library, IMO. Even if you used something like Two.JS to do your rendering, there are a lot of things still useful in a game library to justify using it -- and most games will need more than geometric figures.

comment 11y ago · link · parent

I come from games, which actually map to OO design better than most domains, from what I can tell. And while I was briefly of the OO religion, I've since recovered and appreciate all paradigms for what they can best accomplish. I'm "Post-OO". :)

I do still consider implementation inheritance to be useful. But it's certainly used poorly in a lot of circumstances (along with MOST of OO design, including most of Java), and it may encourage bad habits. And I agree that composition is often a better answer. Depends on what you're doing.

Aside: Do JS linters actually enforce a no-semicolon policy in real projects?! I started using jshint and jscs recently in part to enforce the use of semicolons (on the advice of "JavaScript: The Good Parts"). I see that jscs has a "disallowSemicolons" rule, but I didn't know stupidity went to such depths as to actually USE that rule...I thought it was there for completeness...

comment 11y ago · link · parent

Prototypal inheritance works well, if you understand it. It's only "wrong" if you're of the Java/C++ OOP religion.

comment 11y ago · link · parent

Interesting, though not useful unless there's a good way to access it from portable C/C++. An __asm__ section or equivalent would work, but would only be useful on a particular CPU -- and different compilers use different syntax for embedding assembly, so that's not ideal either.

But where I'd more likely use that optimization at this point is on Arm or ATmega processors. ARM doesn't seem to have an approximate inverse square root, based on a quick check, and ATmega are frequently still stuck with software floating point, so I'd hardly say that the optimization is dead.

comment 11y ago · link · parent

Yes, and that is what's broken. It's been broken from the original release of the Mac through today.

If I wanted to stop actually being fully productive and go down to 1/10th speed, then sure, I could use the mouse. But I like getting real work done at a reasonable clip. The slow-down can break my "flow state", too, which is even worse than the 10-15 second delay.

comment 11y ago · link · parent

Does that bring up a place to type a command to search for? Doesn't work for me.

I don't often use the global search feature on Windows (I hate the broken new start "menu" for that reason) because my brain doesn't work that way; if I have to think up the name of the feature and type it, I've already burned too many cycles.

It is useful to have a command search for when you can't remember. But I want a faster way to get to commands that uses fewer brain-CPU cycles.

comment 11y ago · link · parent

OSX has never gotten the basic keyboard interactions right that Windows has had from the beginning: The ability to trivially navigate menus from the keyboard.

I want Alt-F to open the file menu, and then "S" to save a file. Yes, I know that the Mac has Cmd-S to save, but there can be 50+ menu options spread across various menus, and the 10-15 that I use the most are far easier to remember (for me) as Alt-[menu letter], [hot letter of menu entry].

When you know what the underlined letters mean, it makes every new app have a completely discoverable keyboard interface that is easy to memorize, and it's one of the key advantages of Windows of OSX. That feature alone is why I only use Windows and Linux (except when I am forced to use OSX to do iOS builds) for development.

comment 11y ago · link · parent

Which is actually a useful feature in some obscure optimizations, like this fast (approximate) square root:

		float half_r=r*0.5F;

		union
		{
			float y;
			int32_t i;
		};

		y=r;
		i=0x5f375a86-(i>>1);
		y=y*(1.5F-(half_r*y*y));
		return y;
1
232425
50