Better HN
topnewbestaskshowjobs
Log inSign up

makecheck

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

Submissions

comment 17y ago · link · parent

It's nice to see highlighted the things that Linux does well. There are still too many people who automatically write off open-source solutions, even in 2009; it's time they realized that companies don't have a monopoly on good ideas.

comment 17y ago · link · parent

They ought to look at a lot more than web sites (although I've written plenty of Perl CGI, and can understand why people would still use Perl).

Perl 5 is used extensively to automate tasks at companies; for example, in the semiconductor industry. I've found that most of the engineers working in design are basically fluent in Perl, and choose it for anything serious. I've also seen TCL used, but that's mostly because so many tools support only TCL APIs. Python has caught on in some places, but it is still mostly appealing to pure software developers.

2343.

Terminals Have Lots of Room for Innovation(kevdev.wordpress.com ↗)

1 points · by makecheck · 17y ago · discuss

comment 17y ago · link · parent

Maybe the price is a factor, but I suspect it's just this: there isn't much difference between a green card and citizenship. You can do "almost" everything with a green card that a citizen can do.

The green card process is extremely long: years and years of bureaucracy, lots of forms and lawyers that cost money, and even a medical exam and fingerprints. Becoming a citizen means another form, another fee, and studying to answer questions that (if Jaywalking is any indication) natural born citizens don't even know the answers to.

comment 17y ago · link · parent

I think what we see these days is confusion, where APIs are trying to take over what has traditionally been handled by protocols and file formats.

I prefer that APIs actually do things, such as calculations, or composite actions that would be awkward to perform individually. (Yes, APIs can exist primarily to expose data, too; but I think APIs that do this are wasting time in unnecessary encapsulation; all they really need to do is something simple, like returning the URL of data in a certain format.)

If I am looking for only data, it should have a (preferably popular) format, optionally with a protocol to access it using whatever network and/or database. This opens you up to multiple implementations, too: so if it turns out that Social Networking Site Du Jour's API isn't actually the most efficient way to do X, you might find an alternative Y that is better, but could use the same data.

APIs are also not good for data for the same reason that APIs can be a problem for code: instability. You can't be sure what languages will remain supported, and when things will change. You have to wait for an API to do X, even if it might have been possible given the "raw" data. And ultimately, a company could go out of business and leave your API unusable, whereas actual data can be copied to avoid this, and cached for performance.

comment 17y ago · link · parent

Basically right. And I would also use "the problem with unscientific ___" in a lot of other areas.

comment 17y ago · link · parent

At least a BSc. is a very good idea (I have computer engineering), but I would definitely back it up with experience, too. For example, try to make some open-source thing in your spare time, or write a web site, or tinker with electronics in your garage, while you go to school. Definitely do internships, every summer at someplace new. Do not mow lawns, talk to companies and get a 4-month commitment to do something cool. Failing that, talk to professors and see if you can help with their projects over the summer.

Engineering degrees open you up to jobs across the spectrum: software architecture, CAD tools, embedded systems, circuit design, logic design, power, and so forth. What's more, even if these better jobs aren't available in a bad economy, you are also qualified to do jobs that are "just" programming, which is a nice safety net.

Sometimes, "any" engineering degree is enough, it shows you have discipline and can handle responsibility. For instance, I've seen civil, mechanical and chemical engineers in places I wouldn't expect. So pursue what most interests you.

The degree programs cover topics that are favorites for interview questions. For example, many people ask about algorithms, and while you could buy a book on them or examine existing software projects, the computer science courses will really teach them to you well.

comment 17y ago · link · parent

I used SWIG to build the bridges, and compiled multiple interfaces; the right one is chosen at launch time.

10.3.9 was especially interesting because it doesn't support universal binaries either. :)

comment 17y ago · link · parent

Or do you want to use the one the system provides? Hint: The latter allows for much smaller downloads. Lets the user start using your software much quicker.

This is certainly what I try to do, as well. However, it is not for the faint of heart. For instance, I had to be extremely creative in order for my app to use the system Python, and yet work correctly (it was bound to C++) on Mac OS X 10.3.9 through 10.6.

comment 17y ago · link · parent

I think it would be nice if additional memory checkers and profilers worked on Mac OS X, but the article doesn't mention the (extremely powerful) suite that does come with the OS: Instruments.

API stability is a question of the framework, I suppose. Objective-C as a language isn't really in the same league as C as far as API stability, because it's fairly easy to deal with evolving parts in a semi-dynamic language. Perhaps that is why Apple is more careless when it comes to changing things.

Package management has a place in my heart, too, though. I have seen many attempts to do this that fall far short, and not just on Mac OS X. I suppose what I'd really like is something as powerful as apt-get, but merged with some kind of App Store; and I hope that Apple is working on such a thing.

comment 17y ago · link · parent

I think it would have been interesting to see FatELF included. While I can understand that lines have to be drawn somewhere, it didn't sound like this was very thoroughly examined before being rejected. On the other hand, at least they had a chance to talk about it.

One thing he says at the end:

Open source is a lot more gratifying when you are working on your own project. Contributing to other projects? Not so much fun, it turns out.

It definitely sucks to have a bad experience. But it's probably like switching jobs, your experience depends on the co-workers and the management; some environments are just better than others. Hopefully he won't generalize too much and decide against contributing in the future.

2352.

FatELF project is stopping(icculus.org ↗)

1 points · by makecheck · 17y ago · 1 comment

comment 17y ago · link · parent

Trac is the best I've used so far. It is extensible, and yet the out-of-the-box setup is very useful on its own.

If there is one I would absolutely stay away from, it would be Remedy (from BMC software). Remedy, even after all these versions, has one of the worst interfaces I have ever used, and has a lot of illogical limitations.

comment 17y ago · link · parent

Pretty much anything works; such as this. :)

http://www.apple.com/itunes/affiliates/download/?artistName=...

comment 17y ago · link · parent

I wonder if this wouldn't work better for voting:

Subtract 1 karma from yourself each time up-vote or down-vote is used; this effectively turns karma into "money" that can be spent on maintaining good discussion and high quality submissions.

This would make people think twice before down-voting. It would also reduce "knee-jerk" up-votes, as people would be more likely to reserve up-votes for things that truly deserve it.

It would also mean that long-time users will naturally do more of the moderation, as they have lots of points and may not be as afraid to use them.

comment 17y ago · link · parent

Subtract 1 karma from yourself each time up-vote or down-vote is used; this effectively turns karma into "money" that can be spent on maintaining good discussion and high quality submissions.

This would make people think twice before down-voting. It would also reduce "knee-jerk" up-votes, as people would be more likely to reserve up-votes for things that truly deserve it.

It would also mean that long-time users will naturally do more of the moderation, as they have lots of points and may not be as afraid to use them.

comment 17y ago · link · parent

This is a habit I picked up, too. It's very rare, though; most people don't do this, and think my code just looks weird. :) But I'd rather see this, than have obscure bugs from accidental assignments.

comment 17y ago · link · parent

On the west coast the salary will be higher, and it will cost a lot more to live. Central jobs will pay less, but it will cost a lot less to live. So don't just find out what people make, ask where they are.

comment 17y ago · link · parent

Nothing is written in stone. People decades ago weren't locking their doors, but factors such as urbanization (with higher crime in cities) created a reality that made people change the way they think. It wouldn't have taken many friends or neighbors having TVs and cars stolen, to make them change their minds. So does it really seem that unlikely that people will not learn from the experiences of being online, and learn the digital equivalent of locking their doors?

comment 17y ago · link · parent

I personally don't believe that privacy policies are useful at all. They are at best the web equivalent of a verbal agreement.

People need to adopt the security-oriented attitude that says, if you post anything, anywhere, the entire Internet may very well see it. Period. You cannot trust every server, protection mechanism and employee in between. (You wouldn't really know who to sue, anyway.)

If something really "must" be private or controlled, then you don't need a policy, you need actual control over your data. For example, don't post the thing on an Internet-enabled computer in the first place. Or, strongly encrypt it, and have absolute trust in the recipients of keys. If you've made your key recipients sign something legally binding, and retained proof that no one else could have received keys from you, then at least you'd know who to sue for violating your trust.

Ideally, the mechanism for transferring the keys doesn't use a network either, e.g. physically hand something to your intended audience that will let them decrypt whatever you do send. The data should also have a built-in "time bomb" that makes it impossible to decrypt anything after some specified period of time (for peace of mind). Of course, the recipient could do something stupid like save the decrypted data somewhere, which is why the legal binding to key recipients is so important.

comment 17y ago · link · parent

Yes...for instance, I've always used Window Maker on Linux.

comment 17y ago · link · parent

This is a very neat set of observations and a good description of how software and government work.

One point that isn't raised is the notion of switching, and I suppose it applies to government, too. As a user of a program, if it becomes so frustrating that you can't stand it anymore, you usually have the option to switch to at least one other product, pending the migration of your data. In the case of government, that may not be so easy; there may be many things that only the government does (in whatever inefficient, established way). I suppose privatization or moving to another country would be the analogs of "switching".

comment 17y ago · link · parent

They fixed a lot of the right things, yes. And they left a lot of things untouched, which is inexcusable for a company with their resources (sure it's a fresh coat of paint; but dig down just a little, and you can still find horrible, awkward interfaces that were untouched since 1995).

My friend bought 7 Pro for his extremely fast PC built in the last couple of years. But within hours he decided to remove it (back to XP) and wait until he buys a new PC. I'm sure the hardware businesses love that, but what kind of value is that for a multi-hundred-dollar OS?

comment 17y ago · link · parent

I would start with the parts that have perhaps the widest appeal (e.g. fonts, code marketplace) and work your way back to an editor.

The problem with editors is that they have to compete not only on basic features, but compete with every plug-in that ever existed for existing text editors. And on top of that, server-side storage can be a deal breaker (e.g. hobby projects, who won't pay you, may put up with it, but a business would want to keep its own copies of things).

If you can think of a way to package up the server, e.g. so a business could buy the whole thing and run it behind the firewall on their local stuff, you'll be in good shape.

comment 17y ago · link · parent

When someone "waits" to upgrade, I wonder who they think is doing the actual testing on their behalf.

comment 17y ago · link · parent

As far as the "os" versus "os.path" question; this is hinted in the Python documentation for modules that "os.path" can be an alias of, such as "os.posixpath"; there, it recommends "import os" and then referring to "os.path". In other words, there's no need to "import os.path".

comment 17y ago · link · parent

I think the best thing you can do is focus on results and not the clock. If someone wants to take 2 days off in the middle of nowhere, or work odd hours, they should, as long as they eventually produce as much as they're supposed to.

A "fun" workplace may not actually be, since it seeks to turn the office into the new home. People should actually go home in order to feel the most at home.

comment 17y ago · link · parent

If it is modular, reimplement one module in parallel and test. If there are no tests, add those first. If it is not modular, make it so, first.

If a single module can be ported to sane code successfully, you have a chance to fix the rest. If not, start reimplementing the whole thing in parallel. If you have no parallel test environment, create one first (so you can "deploy" your copy as if it were real).

It's all about the order in which you tinker with it. :)

comment 17y ago · link · parent

JavaScript relative performance is still a bit meaningless right now, because market share still counts for more. If you were to write a web app that required the speed of Chrome, it would still suck for most visitors.

This performance mainly showcases Google's platforms (e.g. some netbook with Chrome OS?). Google can write bleeding-edge, speed-dependent web apps, since the whole user experience is based on Chrome.

For everyone else, this doesn't help much yet, but it does mean that the future is bright. Historically Apple and Mozilla have responded well to friendly jabs in benchmarks, so they'll surely work hard to make the next one look much better. And that's when the real fun begins. :)

comment 17y ago · link · parent

For what it's worth, I disagree with this idea, or any idea that basically requires a lot of glue code without adding any real value.

This requires BOTH the API maintainer AND the caller to add code, all in the name of avoiding some theoretical violation of encapsulation. The extra code risks bugs, is harder to maintain, harder to read, harder to understand, and may accidentally limit the usefulness of the return value in some critical way (which would make the API temporarily unusable while some bug is opened to have the API expanded).

There's a lot of things they could try first, including simply adding documentation to tell the caller what must not happen to the collection that is returned.

1
787980
98