Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Must be an alternate earth. (Score 1) 441

We should just open immigration up again with some minor basic criteria (learn english, no communicable diseases, job offer or enough cash to live for a year, etc.)

I have no problem with someone who comes here to make a new life. I do have a problem with the way we run the visa program right now.

Comment Re:That's why slashdot is against tech immigration (Score 1) 441

Down with all the barriers!

I should be able to choose which country I pay personal taxes in too, it is only fair that I also get to shop around for the best rates available. The US wants an over 65% effective tax when all is said and done? Screw that, Bahrain says I owe nothing.

The local pharmacy wants big money for a prescription? Some importing can fix that problem.

Cigarette prices in NYC getting you down? Time for some arbitrage.

Problem with my order of a 5 megawatt magnetron and 50,000 smoke detectors? A vacation to central Africa sounds about right, I doubt they have a problem with it.

Comment Re:Know where your programming language is headed! (Score 1) 548

COBOL also happens to be very good at what it is mostly used for (insurance / banking.)

There are very few languages with fixed point and binary coded decimal support. You want this for financial applications.

Most other languages are C derived, and do not support these. The C solution is usually to use a scaled int, or two ints. This works, but is not obvious to a new programmer. New programmers tend to use floating point numbers, which is slightly wrong... banks hate being wrong, and hate having to staff a ton of very expensive programmers in order to get what should be simple tasks right.

Comment Re:Know where your programming language is headed! (Score 1) 548

There is always C, if you can hack it.

It has a near monopoly in systems programming, is common in serious applications across a large range of industries, and the standard sees minor changes every decade or so. The combined usage is enough to make it the single most popular language, and it has been for a very long time.

Most operating systems, compilers, virtual machines, and scripting interpreters are also written in C, which makes it easy to learn these when you have a reason to do so.

It is not for everyone though, and the learning curve to become competent is longer than most languages.

Comment Re:Kids These Days (Score 1) 548

I still end up hand optimizing a lot of code. There are many tasks which are at the limits of current computational capacity, and require a lot of optimization in order to achieve a run time which is acceptable.

That mindset, and the newbies who have no idea how to do it, lead to few people who can do so competently these days, and therefore make it a very valuable skill.

Comment Re:Pick a different job. (Score 1) 548

I would refuse as well, there is no personal benefit to me. Most of what stops any attempt to unionize programmers dead in its tracks is that the ones who write the vast majority of the working code out there have no desire to join a union.

The people who want it are usually fluff, and would be no great loss anyway. Then again I always insist upon partial ownership, so maybe I would be considered part of the other team these days.

Comment Re:Complexity (Score 1) 427

I have the same habits. One of the first things I do on a new compiler is go find the warning for assignments within conditions and turn it on. It produces errors which can be hard to find, and do not always come up in testing (since it effectively makes it always take one code path, and sometimes this is the far more common case anyway.)

I think pretty much every C compiler has that option, some issued a warning by default.

I like my braces to line up vertically as well, so the brace gets its own line indented a space from the prior line. I sometimes go without braces if it is going to be a long block of conditions I want on single lines and I cannot use a switch, but this is very rare.

I tend to make casts explicit and group everything myself, but do it inline (most of the time the type is the same anyway.)

assuming int is 16 bit and long is 32:
int a;
unsigned int b;
long int c;
c=((long int)a) * ((long int)b);

Or do you have a compiler which does not give the expected results there?

Comment Re:Require H1-B visa recipients be paid more (Score 1) 529

It's easy, make the cost of an H1B 500k/yr payable to the IRS as a fee by the sponsoring company (with no deductions, you pay or it is not granted / renewed).

There are few enough positions which are paid at this level that you could be assured it really was a valuable and hard to find skill set if the company must pay this plus the actual salary. It does not matter what games they play if each license has a minimum fee of half a million regardless of why you want it or what you are paying as salary. This is low enough that in cases of real need it can be done, but will generally be a last resort.

Comment Re:Why isn't the U.S. doing things like this? (Score 2) 156

The most important thing for hydrogen as a car fuel is that it is impractically dangerous. Sure you can bind it to something else to mitigate that... but then we are talking about something like gasoline anyway (or your hydrocarbon of choice, but substituting other atoms for carbon tends to make it toxic.)

The safety issues with liquefied dihydrogen are so insanely bad that anybody seriously proposing it knows this cannot possibly work, or has very little chemical and engineering knowledge. The basic properties of this substance make it entirely unsuitable as a common fuel.

The suggestion that hydrogen will be useful as a fuel source on a moving vehicle would be hilarious if it was not suggested in all sincerity by individuals with the power to make laws.

The reality is that we are going to simply burn the methane (natural gas) as that is where we would be sourcing the hydrogen anyway, and it is much safer to transport.

Comment Re:Absolutely - it is filthy (Score 4, Interesting) 156

Even if we could produce it in a reasonable manner hydrogen is highly explosive, very easy to ignite, cryogenic when liquefied (as in 20 K cryogenic), and likes to leak out of most containers at an impressive rate (even very well sealed and cooled containers which you could not practically place in a moving vehicle).

Leaks can also cause spontaneous ignition due to the fact that unlike most gasses, hydrogen warms on expansion and requires a terrifyingly low amount of energy to ignite.

There is effectively no way to overcome the practical issues with using dihydrogen alone as a fuel source while being competitive with anything else. It must be bound to another atom, such as carbon (and if that counts as hydrogen powered we already have it with gasoline.)

In the US we will end up doing exactly what you mention: We will burn the natural gas directly for energy, because that is a sane thing to do. It is stable and easy to store compared to hydrogen, and the energy density is good enough.

Comment Re: Administrators (Score 1) 538

To some degree it depends upon the specialty of the programmer. Programmers who mostly write business apps in Java or C# may not get much exposure to a lot of this, but systems programmers will due to the type of code they write.

In a previous job as a consultant I picked up a fair amount of work from various IT departments in diagnosing what went wrong when things did not work as expected.

It can be useful to have someone you can call to dump a network capture and determine who messed up the implementation of a protocol (and help write up a bug report for the vendor, fix it if the source is available, or insert a bridge with a program which will fix the issue as it passes traffic if necessary.) This is especially true when less common operating systems are involved, as sysadmins tend to specialize a bit more in this way (OS400 and S/390 were good sources of income on a few occasions.)

I may not be as fast at configuring whatever they are using since I do not know how the menus or config files are put together until I look, but having implemented most of the major protocols over the years I know what the options mean (or failing that, I can read the spec.)

Comment Re:Administrators (Score 2) 538

Few sane people use HR to fill the good jobs, you use your contact network to do that. That is how I used to get good jobs, it is how I fill good jobs now, and that is true for almost everyone I know.

HR is a last resort, or for entry level positions. Even if you cannot fill something, if it is important you take on some contractors or consultants for a while and find someone that way (either directly, or through one of their recommendations.)

I am not sure what you do for a living, but good programmers are very hard to find (even decent web developers are getting difficult.) If you have been around for a while and are competent, you probably know someone who wants to hire you.

Slashdot Top Deals

"You know, we've won awards for this crap." -- David Letterman

Working...