Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

12,740 karma · joined Feb 17, 2008 (18y ago) · 2,917 submissions

Submissions

comment 18y ago · link · parent

I agree...I feel quite shackled by the green card "process", which consists largely of incomprehensibly lengthy delays. It doesn't make me feel valued at all.

If I had it to do over, I would change this: get a PhD FIRST! If you educate in your own country and then come to the U.S., you are put into this magic bin that says you're better than everybody else, and 90% of the bull in the process is removed.

comment 18y ago · link · parent

The stats are interesting, but still dangerous to draw direct conclusions from. (What the graphs suggest may be accurate, you just can't assume it from the article alone.)

For example, suppose a language's standard library is already powerful, or its 3rd party libraries are very reliable. If one language has one Really Good library to do X, and another language has 7 mediocre libraries because no one does X well, which language is more useful? Do you count the 7 projects required in the 2nd language as evidence of higher popularity, when they're all just picking up the slack?

Yet another example is projects that use multiple languages. For instance, I can combine scripting languages and lower-level languages easily. This may technically be evidence of the "popularity" of the lower-level language, but my hybrid could be using the scripting language much more.

comment 18y ago · link · parent

Not a good start. I went to "acrobat.com", and I see a blank page titled something like "Flash Player Installation" (but of course, I have Flash already).

There's no paragraph blurb, no E-mail link...just a black background. So I can't even let them know about the problems I'm having, and of course they haven't presented me with any actual information about their product.

In 2008, from a company the size of Adobe, this is an incredible blunder.

comment 18y ago · link · parent

It wasn't clear to me, is Ruby the first language you've learned? How many mini-projects have you tried, to see what you're capable of? You're better off starting with such projects, than leaping into anything big.

Versatility is important. Try to do many different things in your programming. Even if you don't like some problems, think about how you'd solve them.

At a startup, you'd be one of few employees so you could have many different tasks given to you. If you have experience or gut feelings on how to approach several problems, you're more likely to be able to jump in and not take time flipping through manuals.

comment 18y ago · link · parent

I've done very little Windows programming, but I am amazed how few tools it has "out of the box". If they want me to push my customers to use a new OS, they could ensure it comes with a good set of primitives: preferably the GNU tool set, as well as perl/python/tclsh/ruby/sh in predictable locations. They should also have networking tools of the caliber of PuTTY (or maybe just make a deal to have PuTTY available).

Thankfully, at work, we at least ship a build of Perl to our internal customers; otherwise I'd lose my mind trying to get anything done on Windows! Yes, there is CygWin, but there's definitely value if people can Just Work without downloading a bunch of stuff to their PCs first.

comment 18y ago · link · parent

At this point in time, it is far easier to just rely on CSS extensions well supported by Firefox and Safari, for instance:

-moz-border-radius-topleft: 0.4em; -webkit-border-top-left-radius: 0.4em; -moz-border-radius-topright: 0.4em; -webkit-border-top-right-radius: 0.4em; -moz-border-radius-bottomleft: 0.4em; -webkit-border-bottom-left-radius: 0.4em; -moz-border-radius-bottomright: 0.4em; -webkit-border-bottom-right-radius: 0.4em;

This doesn't mess up your HTML with divs, and degrades seamlessly to "not rounded corners" in any other browser.

comment 18y ago · link · parent

"Graceful degradation" is pretty important, and there is no way to even display Flash if a user doesn't have a player. Whereas, it is at least possible to do fancy things with AJAX that can be dumbed-down for clients that do not support JavaScript.

comment 18y ago · link · parent

I'd agree with the article that consistency is most important, and it applies to anything: for instance, when I add code to a project, I try to emulate an existing coding style (even if I hate it).

Having said that, there are logical reasons why the Mac/GNOME style (Cancel, OK) is a bit better.

One is the case of a different set of buttons. On a Mac, the default button is always in exactly the same place, even if there is no "Cancel" button. So your eye and your mouse will find "OK" without even thinking.

Another is the back/forward concept, where Cancel is a backward action. The default/OK button is a forward action, placed to the right of the backward action as it would be in a browser toolbar or a wizard. And "even more backward" actions, such as Don't Save, appear further left.

comment 18y ago · link · parent

That's odd, they have this page (and many others like it): http://www.apple.com/feedback/ipodnano.html

Apple's legal team maybe doesn't know what the web guys are doing. If they did know, they could have avoided bad press by simply telling the girl about the web page.

2890.

Ask YC: Avoiding "enterprise software" and self-justifying IT groups?

2 points · by makecheck · 18y ago · 1 comment

comment 18y ago · link · parent

I suspect the "underdogs" of the web browsing world may be more common than statistics currently show.

To track statistics, don't these systems rely on the same JavaScript features that allow so many sites to artificially break on browsers they don't like?

If you don't configure Firefox (or in my case, OmniWeb on the Mac) to lie and say it's IE5 on Windows, a percentage of the web is basically closed off. It's sad that this is still true in 2008, but it is.

I do try to contact site maintainers when I'm forced to lie, hoping they'll turn off their JavaScript junk and realize what the browsing landscape really looks like. But I never expect anything to come from it.

comment 18y ago · link · parent

Xcode and vim for editing, Perl and Python for automation.

The nice thing about Xcode is that when you don't need or otherwise want to avoid the GUI integration, you can: build rules can run anything you want, like a makefile or other script, and even show you the raw output in a terminal-like split view. Apple provides command-line access (/usr/bin/xcodebuild) for those cases where you want to start with an IDE-style project but still have direct build control from outside scripts. I've only dabbled in VS2005, but Microsoft's environment never seemed "avoidable" in the same way. The GUI tangled with every aspect of the project. It was so awkward that I once cranked open "vim" from Linux (over SSH) to edit raw VS2005 XML, and it was much faster than tweaking the project through the GUI!

Speaking of "vim", I often use this for editing on Mac OS X. It depends on the type of edit, I suppose; Xcode has some strengths (e.g. pulling a whole function out is easier with the mouse, and I often do edits based on project search results). But "vim" is deceptively simple, and is ideal for many kinds of edits. It has some pretty addictive features, like simple paren-matching with "%" even when in the middle of a function name.

It's really nice that Mac OS X ships with many scripting languages, because your project can depend on them. For instance, you can automate many tasks in Python and Perl, and other Mac developers can still build your code without a headache. Windows sucks for this; if you share a bunch of code that's heavily automated with scripts, odds are people will have to download and build all the interpreters you're using (and of course, you probably need a batch file to run it, because #!/usr/bin/perl is meaningless to Windows). It's just a completely different environment...I find Mac development infinitely more productive for many reasons but the Unix tool set alone is an unbelievable starting point.

comment 18y ago · link · parent

I've made just a couple of simple changes, and I'm slimming down.

One, I now walk for a long time (1-2 hours) every few days. I go around the neighborhood, up hills and such, so it's not a huge strain but not trivial either. I find a 2 hour walk all at once is much better than, say, 4 days of 30 minute walks, because your body only has to "ramp up" once and spends most of the time at a higher metabolic rate.

Two, I reduced, but did not eliminate, the "bad" things from my diet, permanently. For example, I like soda; but I drink mini-bar cans (100 calories) instead of bottles. I'm slimming anyway; soda is fine, as long as you don't drink so much that there's no calories left for real food. Sure, maybe I could slim down a week or two faster without it, but I wouldn't be happy, so why go through that? :)

comment 18y ago · link · parent

Microsoft has a history of making bold announcements that don't bear fruit. So I no longer consider it news when Microsoft goes on stage and talks about what could be coming to market. They "could" be doing a lot of things, it doesn't mean they will succeed.

I am more impressed when Microsoft releases proof, like a demo. For example, Microsoft Research's video on their Surface technology was quite impressive, and showed just what the company has been up to.

comment 18y ago · link · parent

It can help to have friends in the audience. They can "ask" specific questions that you're already prepared to answer confidently (no one else in the audience knows who they are). This keeps you in a better frame of mind to deal with the rest of the audience's tough questions.

comment 18y ago · link · parent

Start or become a key contributor to at least one open-source project. For one, this gives you experience and a good base for answering interview questions. Two, this makes you more "Googleable" (I have my current job because my employer found me, through a site that wouldn't have existed if not for my open-source project!).

College is important, not just for tuition. For example, I was able to teach myself HTML and aspects of Unix about 10 years ago while I was a student, primarily because I had a student Unix account with 'net access (still not that common off-campus). This turned out to be at least as important for landing the job "meant for my degree" (computer engineering), even though I'd taken no courses for the extra skills I'd acquired.

comment 18y ago · link · parent

If you aren't in a high position, you really won't be able to swing the ship directly.

All you can do at lower levels is drop strong hints. This can be done whether or not you quit (e.g. at an exit interview, assuming there even is one).

2898.

How is your refactoring done?

5 points · by makecheck · 18y ago · 8 comments

comment 18y ago · link · parent

Thanks for all of your responses so far. I guess my case is typical, which is what I was afraid of. :)

For those on visas, note that the limit on H1s goes away as long as you apply for a green card before your last visa expires. You are supposed to receive new H1s for as long as the green card takes.

2900.

How long did your U.S. green card take?

17 points · by makecheck · 18y ago · 26 comments

comment 18y ago · link · parent

I don't really condone Apple's sneakiness. However...I've had a real problem with Microsoft's ability to rake in market share for IE, for years, for no good reason: IE benefits from the tech-unsavviness of most people who can't replace it, it does not compete by adding real value.

IE's shell desperately needs to be broken; and as sneaky as Apple's solution is, Apple has a real chance of cracking the shell wider than anyone else has. And this isn't replacing Crap A with Crap B...Safari is a real standards-compliant browser, convincing people to move to Safari over IE is a step forward for the industry by any measure.

Yes, it would be much better if Apple opened up their magic update scheme to allow a choice of Firefox, etc., but one step at a time.

comment 18y ago · link · parent

I would split into two comments, because I always assume there will be value in dedicated discussion threads.

I also do this with E-mail. For example, someone sends a message to a group asking multiple unrelated questions, I reply to each question in a separate E-mail (and maybe even change the subject) so the reply threads aren't confusing.

comment 18y ago · link · parent

xargs; say, a fast replacement for a find-exec: % find <whatever> -print0 | xargs -0 <command>

comment 18y ago · link · parent

OmniWeb (Mac only). :)

It uses the WebKit (Safari) engine, so it is great at rendering.

Its preferences are very smart...one of my favorites is "block images matching known ad sizes". Preferences can be saved per-site, nice for cookie management. OmniWeb also lets you create a list of regexes for things to always load and things to never load, e.g. files from known ad servers.

It has some unique features too. For example, you can "yank" any text field from a web page into its own window, at which point you can make it as big as you want. Also, its tabs show miniature web pages.

The "downside" (if you can call it that) is that the browser isn't free. But it is cheap at $15, and for something I use 100 times a day I figure I can afford it.

comment 18y ago · link · parent

There's a ton of Mac terminals. I use MacTelnet as an OS X terminal, even though it isn't finished.

comment 18y ago · link · parent

I've used SCPlugin for Subversion access on the Mac desktop, it has a similar feel to TortoiseSVN on Windows.

I would also tinker with Apple's Automator (a built-in application) and look at the Finder's Folder Actions (which Automator supports). With surprisingly little effort, you can create some very powerful commands to use when right-clicking desktop items.

Finally, perhaps the Mac equivalent of a "registry hack" is the command-line "defaults" program (also built in). It allows you to explore and change the preferences of many programs. You can turn on hidden features and other cool stuff that way.

comment 18y ago · link · parent

It is certainly possible the APIs are hidden for competitive advantage. However...

There are costs when making an API truly public! Extra work to document it completely. Extra testing, to cover more than just the cases you know you're dealing with internally. Revisiting the API every time something new comes along ("will this API be 64 bit capable?", etc.). And ultimately, cost from losing the freedom to significantly change anything, lest you break binary compatibility or create some other problem that multiplies across your customer base.

comment 18y ago · link · parent

I don't think strategies are news.

I'd rather a company tell me what it has done, what products exist. A strategy is just "hey, everyone else is doing something cool, let's tell the world that we are too so we can reserve our piece of the pie".

Especially coming from Microsoft, who made part of its business by telling the public all the great things it was going to do without actually having a product...

comment 18y ago · link · parent

In files that ignore unknown or unused definitions (like CSS and HTML), my preference is just to misspell keywords and identifiers by adding an "x" prefix.

For example, if you have a block: .mystyle { font-size: smaller; . . . }

You can virtually comment-out the whole thing with one extra character: .xmystyle { font-size: smaller; . . . }

This also works to kill just one property: .mystyle { xfont-size: smaller; . . . }

It applies to HTML attributes too, e.g. <mytag class="abc"> could be disabled with <mytag class="xabc">, which is much simpler than any hack to comment-out the HTML tags or delete the class attribute.

comment 18y ago · link · parent

This article mentions very little of what could actually be wrong with a Ruby implementation (I recall one point about how Ruby on Rails tends to guide developers toward particular solutions). It describes mostly problems that are completely independent of Ruby and would happen in any migration.

Theirs failed because they didn't plan well. And some of the "work" they mention to undo the migration isn't unique to Ruby either (e.g. obviously in any new system, if features are added that aren't in the previous system and users/data grow dependent, you might have to retrofit your old system with the new features before you can smoothly move back).

1
9495969798