4,107 karma · joined Feb 17, 2010 (16y ago) · 1,490 submissions
https://coderescue.com
comment 13y ago · link · parent
When a new OS X release broke something that killed some 40 products at a company I used to work for, they simply made the bug report "private" so that others couldn't see it. Some of the products that they broke had to be rewritten to use a completely different technology, the breakage was so bad.
Google....has its own issues, but at least doesn't delete public bug reports. Sorry, I do have my own issues with Google, but Apple's behavior is a step beyond "poor customer support practices" and full into "dishonest and deceptive practices," which in my book is worse.
comment 13y ago · link · parent
Android has an API to query a unique device ID, which is generated from a field that's supposed to be populated with a serial number by the manufacturer. It is (or was previously) used to identify you as a particular user in some games, as well as for ad tracking and analytics.
One line of phones (I forget which manufacturer) managed to NOT update that serial number correctly, and as a result the entire model of phone came up with the same "unique ID". This was not fun to debug, as lots of users were ending up with other users' saved games, and one particular "user" was showing up in analytics as having used dozens of apps thousands of times a day...
comment 13y ago · link · parent
I'm with you on the "it's not good enough," but at the same time, you can't just close down the sweatshops if that would make their lives worse. I would say that this is a classic case of needing government to step in, because the problem is not one that the market can solve: As the parent points out, it's in the interest of each sweatshop owner to minimize labor costs. Only at the point where labor becomes scares is the market value of labor going to rise, and a lot of abuse can happen waiting for that eventuality. If it ever happens.
comment 13y ago · link · parent
comment 13y ago · link · parent
I've been in the industry for 20+ years. I've made lots of friends who like working with me. I ping them from time to time because I enjoy their conversation. And sometimes they think of me when they have a problem they need to solve.
I also found a local company on Craigslist during one lull about a year ago that does embedded software and is consulting-friendly; they now call me from time to time with contract offers as well.
Hit up your network; let people know you're looking. And don't be afraid of Craigslist. :)
comment 13y ago · link · parent
But it does improve the situation, you're right. What I'd love to see happen, though, is for the browsers to all adopt asm.js so I can just run Lua in the browser, so I can be symmetrical with the server... ;)
>there's several big corporation supported JS engines
There's one awesome LuaJIT that's faster than any of the JavaScript engines, not to mention much smaller, easier to build cross-platform or embed, and easier to bind to C code. I only need one, after all. :)
comment 13y ago · link · parent
Node.JS is cool in concept; in practice, the code ends up being really ugly because JavaScript doesn't have real closures. Callback hell. You know what I'm talking about.
I'm using Ngnix+LuaJit to get even more performance out of the same server hardware than Node.JS can provide, and I don't need to have nests of callbacks to get non-blocking logic since Lua supports true closures. The code is positively readable, especially compared to Node.
My only regret is that some of the cooler JS client libraries (socket.io in particular) require Node.JS on the server; for my current project (which involves HTML5+JavaScript+networking) it would be really nice to have, though I've already got the Nginx+LuaJit(+ZeroMQ) part of the architecture working, so I'm loathe to add a Node.JS server in addition just to avoid long polling.
So no, you're right, if I were to work with a startup that needed high performance servers, I'd probably not want to be tied down to Node.JS or Ruby. If someone wanted to hire me to handle that problem for them, I wouldn't need the "youngsters" to help me out. But I have enough gig options that I can say no to ones that I don't like. :)
And before you say that "no one knows that stack!", code written this way is far easier to understand by anyone who knows any stack, and that means it wouldn't be hard for a Node.JS expert to step in and maintain it. There also exists a thriving Lua community to pull developers from, for that matter -- some of whom maintain the stack I use. [1]
comment 13y ago · link · parent
I've been designing game APIs for 20+ years, actually. And that's what I'm doing now as a contractor.
I'm still working in C++ like I was in 1993 as well. I first learned C++ in 1989, so that's also 20+ years experience.
>all those years of experience could have, and often do, entrench very bad habits.
Working exclusively with languages like PHP, Ruby, and JavaScript can entrench some pretty atrocious habits as well. I would put my "started with assembly language and moved eventually to high level scripting languages" habits up against a "started with JavaScript" programmer's habits any day.
>Finally, the data suggests homogeneity is valuable in early startups.
What data? I think compatibility between developers is important. But I'm working on a project right now where the median developer age is about 25 (I'm more than twice as old as some team members), and I'm making crazy fast progress on my part of the project, keeping everyone happy. Beyond happy, really; no one expected me to get as far as I have this quickly. And yet I'm putting in 30 hours a week or so.
I think being awesome is valuable, on any project, startup or otherwise, and that "fundamental values and principles" is a red flag indicating "OK working tons of overtime", which is clearly not necessary if you have the awesome.
comment 13y ago · link · parent
How else could I be making $125-$250/hour? No company is going to pay me $250k-$400k in salary, and if they did, they'd expect to own me 24/7.
This way I get to work part time, have lots of time with my kids, and when I do work overtime, I get paid for the extra hours. So I know they aren't asking it lightly.
At least right now I've had no trouble finding gigs. Work's been finding me, in fact. I have more options available than I can take. And between gigs, I can work on personal projects, one of which may turn into a real business someday. It's all good. :)
comment 13y ago · link · parent
I've also worked with an outsourced programmer from another region who asked for $45/hour (closer to a $150/hour equivalent in local cost of living) who was completely incompetent. (He didn't last a week; it was obvious that quickly.)
You don't always get what you pay for.
comment 13y ago · link · parent
I don't work for "a company". I work for one of several companies, depending on the week/month, and sometimes two or more at the same time.
Personally I prefer shorter contracts, but I have constant offers of longer contracts, so I could go that route if I wanted. But I also want time to work on my own projects.
Though, in the abstract, sure, it's not always possible. This is advice along the lines of "Be Really Awesome and Have an Excellent Business Network." Not everyone can really follow it.
But there are a LOT of freelance jobs floating around right now, so it's a good time to give it a try if you can.
comment 13y ago · link · parent
BUT: Speaking only of programming, which is what I choose to do, that extra work can be extremely fulfilling. No, you can't just be working on what you want all the time, but honestly most projects that are driven entirely by people's spare time end up incomplete. The list of exceptions is long, but the list of projects that are incomplete, in features or documentation or in handling of corner cases, is far, far longer.
I love open source, but there are some domains that all the open source options suck. I think a big part of that is the amount of real, un-fun work required to really finish a project. And yet, when creating a project for a job, you (sometimes, at least) need to really finish it: Add the features your users need, handle those corner cases, write up that documentation.
And having really completed a project and seeing the feedback from hundreds of users that find it to be awesome? THAT is amazingly fulfilling. Even if it's not fun every step of the way.
I assume journalism can have similar benefits, but I can't speak to that.
comment 13y ago · link · parent
Can you believe that when I started, barely anyone used source control? That's what jumped out at me about your story, oddly enough. When I started the Web hadn't been invented, and the only version control packages were CVS and commercial options. CVS sucks, in case you're wondering. So did most of the commercial options.
In my own case I'd been programming and writing games for fun since I was 14, so by the time I took my first job at 22, I'd already been coding pretty regularly for 8 years. Some of that was actually for-pay, though only a few months worth. So between the experience I did have and my oversized ego, I pretty much expected the "Senior" label.
comment 13y ago · link · parent
Why? It made my point that he was dangerous, though to an unlikely extreme conclusion, which I admitted was unlikely before I even said it. I would hope everyone reading comments here would be perceptive enough to recognize hyperbole when they read it, especially since I called it out as an exaggeration. Given that no one is likely to take it literally, what is the problem? What is the real danger you're warning against?
Not sure what your goal with these comments is, honestly. Seems like I hit a sore spot, given the temperature of your replies. Apologies if I somehow hit close to home.
comment 13y ago · link · parent
In college I competed in the ACM programming competition against Stanford. I was the only one on my team to write (working) programs; I personally wrote more working programs in four hours than either of the two teams (of four) from Stanford were able to write in six. Presumably these were some of the best programmers at Stanford that year?
I was a sophomore, almost completely self-taught, and going to a JC at the time. I learned a bit about data structures from a rather uninspired class there, though later I learned a lot about optimization in compiler design class at a four-year school.
While I was still at the JC I successfully completed a contract to port a game to a new platform for a major studio (you've heard of them). The original game was entirely written in assembly language, as was my port. It took about four months. While I was going to college.
My first job out of school I quickly ended up a star programmer. I wrote tools that were used by the whole company while working on a game. After a week of working on my first game there, I was told by the CEO that it already had better physics code than the previous developer was ever able to achieve on the last product they'd shipped (this was back before physics engines, so I was just writing code the way I'd figured it out on my own as a teenager -- later I learned what I was using is called an Euler Integrator [1]). The game I finally shipped for this company was also written entirely in assembly language, and it shipped with no known bugs. On time.
The next company I worked for, the same kind of thing happened: I ended up fixing tools they'd been using for months, optimizing one frequent operation that previously took minutes to complete so it would finish in less than a second.
Every company I've worked at (with one notable exception where I wasn't a good fit) I've very quickly ended up someone that everyone comes to for help (and I enjoy helping people). I had one position where I was supporting a lot of people on a forum in addition to doing a lot of new engineering, and the guy who ended up in my shoes later (who was himself an awesome developer) told me he had no idea how I managed to do everything that I did.
And I rarely work more than about 40 hours in a week, at least after my first few years on the job.
At this point I've done apps, highly scalable web server code, games (console, smartphone, and PC), video, graphics code, embedded device code, and programming tools. And I've contributed to multiple open source projects (at least one of them high-profile).
So am I a 10x programmer? Who can say. But I have only once worked at a larger company (the aforementioned "bad fit"), and am almost entirely self-taught. And I take pride in doing things other developers label as "impossible". But I have never had a "mentor" outside of the code and books (and more recently blogs) I've read.
I've certainly known developers who I could out-program by at least a factor of 10, and others who simply couldn't do some of the tasks I do regularly. But I wasn't TAUGHT this by other developers, though I am certainly standing on the shoulders of giants; I just arrived there by climbing, not being lifted.
Don't wait for a mentor. Go learn. Now.
comment 13y ago · link · parent
I would admit to it being illogical, in that I didn't use logic to arrive at that statement. But it's an entirely rational statement: I arrived there via pattern matching, though, and not logic. Is it irrational when I look at a face and recognize it? If not, then why so with other patterns I recognize?
And it's not a conclusion at all; it's just an observation. People who are as obviously disgruntled as the employee in question often end up striking out. Some, a very few, strike out violently.
The employee in question has already shown evidence of "striking out," he just hasn't escalated past passive-aggressive behavior. I used an extreme example of striking out to throw it into perspective: He's not happy, and he's willing to do things out of spite, and that's a liability, even if he never ends up violent.
There are lots of scenarios that don't involve physical harm: Leaking confidential information. Cleverly hidden time-bombs in code that no one else understands. Lawsuits. Spreading discontent among employees.
comment 13y ago · link · parent
Sounds like he doesn't want to be working there. Sorry, but it's probably the right decision to encourage him to find a job that he wants. Elsewhere.
In a few of the behaviors he described, I find some sympathy. I do have a high opinion of myself, and at one job would end up in loud arguments with the CTO over how to do things. Sounds like this guy takes it farther, though, doing things that are spiteful when he doesn't get his way. That's a scary, pathological behavior, and that alone would make me think you'd be better off without him. I wasn't happy when I didn't get my way, but I'd suck it up and deal; that's the only professional response.
And speaking of pathological: It sounds like he's intentionally misinterpreting instructions when he can? Again, that speaks of passive-aggressive behavior. And he avoids other employees? Not to say that anyone is in danger, but you've painted a scenario that strikes me as the backstory for "the guy who cracked, came in to the office, and went on a shooting rampage."
Or he's just Aspergers. Can't really tell the difference from here.
comment 13y ago · link · parent
As problems get more complex, the amount of time to complete them can go exponential for some developers. I've been forced to work with people like that; it really can be the case that some developers (who are otherwise competent) would simply never finish tasks that involve a crucial level of complexity.
And EVEN at just about any nontrivial level of complexity, where the time spent is only in the 1.5x-2x realm, the code written by the awesome programmer will likely be easier to understand, shorter, and easier to maintain.
Huge articles like the one linked are simply written by (and for!) the average competent programmer, to make them feel better. If you haven't worked with developers with a huge range of productivity, then you either haven't worked with a really good developer, or you've somehow lucked out and never worked with a poor developer. Statistically, it's likely the former.
comment 13y ago · link · parent
Bingo! By forcing kids to go to school through 18 where they make basically NO choices that affect their lives, are taught things that more than half the time the teachers can't even tell them why they need to know them ("for college" isn't a real answer, either) -- all of this treats them like infants.
Even infants manage learn to speak and walk without being "taught" a thing. Forcing kids to go through a lock-step learning regimen just teaches them that their desires aren't important, and they end up rebelling.
If you look at kids from Sudbury schools [1], or kids who have been (competently) "Unschooled" [2], they typically seem to be mature for their age, polite, and reasonably well-spoken. By respecting the kids and giving them freedom at a young age, they act more mature.
See also Paul Graham's essay on "Nerds" [3], where he talks about (among other things) the completely artificial environment that is the broken schooling paradigm in the US, and in much of the world.
>In my opinion by 15 or 16 people should already be expected to act like adults.
If you treat them that way, for real, then they will. But that includes not forcing them into the stupidly artificial and even actively damaging [4].
Someday I want to fix this problem. If I end up involved in a start-up, fixing education -- REALLY fixing it, not just doing "more of the same" and calling that an improvement -- will be at the core.
[1] https://en.wikipedia.org/wiki/Sudbury_school
[2] http://sandradodd.com/unschooling -- briefly, the kids are allowed to learn what they want. This is NOT just "neglect the kids;" it requires active parent involvement.
[3] http://www.paulgraham.com/nerds.html
[4] http://www.johntaylorgatto.com/chapters/3d.htm -- see the note about dyslexia
comment 13y ago · link · parent
> I'd take 6p over Cmd+v-Cmd+v-Cmd+v-Cmd+v-Cmd+v-Cmd+v any time.
Does Cmd+V not repeat? If so, I'll add that to the list of reasons I could never be happy on a Mac. I will happily hold down Ctrl-V for as long as I need rather than trying to think in numbers, yes, absolutely, ESPECIALLY when the number I need is some number between, say 20 and 30. Thinking in exact number of things that I'll need interferes with the (mental) registers I'm using to hold all of the code I'm thinking about. This is also true of the more complex vim commands I've seen, including the ones you've quoted.
Nice trick, though, with the "move var declarations" example you gave. Considering I tend to do the opposite (moving variable declarations to be as late as possible), that particular trick isn't something I'd need, but I see how it could be useful in general.
Thing is, if I had a similar task, I'd create a macro that would do the right thing. There's a skill to creating macros like that, of course, but really learning to use a powerful GUI editor is a life-long experience. It just happens to have a shorter and almost infinitely less painful learning curve at the beginning than vim.
The problem is that some people (such as apparently the developer I was replying to) learn the basics and never any more. That's true of users of all editors, I'm sure. But just because 95%+ of GUI editor users don't ever go beyond the basics doesn't mean that there isn't power hidden under the surface. Maybe more vim users delve deep into its power, statistically speaking. I submit that says more about the kind of person who would use vim than it does about the power of vim relative to (modern) GUI editors.
comment 13y ago · link · parent
On a related note: I've never understood the fixation with being able to enter numbers into vim. I almost never know the exact number of characters or lines I need to move/delete/indent/whatever, but key repeat is fast enough to "replay" or redo an action that I'm likely done with it before I would have figured out the exact number.
I like the general concept of being able to "program" an editor with strings of commands. But in practice I'm much faster with the GUI approach. As a bonus, all of the commands I need to know to edit text in a Firefox window, or in any other window in a GUI-based OS, also follow the GDI standards, so I get a base level of efficiency in whatever program I need to enter text in.
VIM is great for editing over ssh. When I have no choice. But I feel seriously handicapped having to use ONLY the basics to move around, copy, paste, and edit, when I'm used to having much more powerful functionality at my fingertips.
comment 13y ago · link · parent
At the time I was doing video game development. I still am, but WHAT you need to know as a game developer is different now than it was then. For instance, I still wanted people to know SOME assembly language concepts (and Berkeley EECS grads were required to take an assembly language course, so that wasn't unreasonable).
Game development is still harder than most kinds of software development ("most" defined in terms of number of people who practice each kind), but the specific knowledge required has changed a lot. There are probably awesome developers today who have never tried to code a line of assembly language.
This fact makes me sad, actually, because I feel that my grounding in assembly language gives me a perspective on WHAT the computer is actually doing that developers who have never seen a language lower-level than C can't really have. And I feel it's a healthy perspective to have. But I'm not filtering out applicants based on whether they know assembly language. At least not any more.
Seriously, though, one of the questions was "What do you not like about your favorite programming language?" At the time the question may have been "What do you not like about C/C++?"; I can't remember when I changed it. This is a question that is designed to gauge what programming concepts the developer in question is challenged by, or what corners of the language they have trouble with.
If they answer "Pointers give me trouble!", then they're too green, but if they answer "overloaded template and normal function selection priorities in C++ are too hard to remember," then I know they've been doing relatively complex things with the language. So it's a question designed to give me a glimpse of their current skill and expertise; none of the answers I imagined people would say are "wrong," even though some might make me not want to hire them.
But to answer "I can't think of anything wrong" showed such an amazing lack of imagination (or fear of revealing the above) that it was the only time that I felt they'd managed to give a "wrong" answer to the question. If you can't come up with anything wrong with a programming language that you are saying you're skilled in, then you're not sufficiently analytically minded to work in games. Or at least not in a small indie studio where everyone needs to be awesome at something.
comment 13y ago · link · parent
Absolutely.
>or train them if they aren't a 100% match.
If they're close, sure. If they're not, then odds are unfortunately good that they aren't trainable, at least with respect to certain categories of advanced programming.
I could probably train anyone with decent technical aptitude to do web page work, or simple CRUD backend server work. There are probably still people who couldn't learn it; I think there needs to be an aptitude regardless.
But core game programming (engine work, graphics work, but not simple scripting) and certain kinds of embedded development (especially if video is involved) are realms that I'm familiar with that have a higher barrier to entry, and where "training" is probably going to fail more times than not. As in fail 90% of the time or more.
I think the cutoff is when you go beyond the point where a topic can be completely "taught" at all, and instead the task itself requires the developer to have exceptional learning and analytical skills. If a developer is good enough at figuring things out to actually get the work done, then any training would be unnecessary, because you would be able to learn what you need to know to get started on the job. Then what a new developer needs isn't "training" but just "orientation" to the tools and methods used in the domain in question.