Slashdot Mirror


User: cerberusti

cerberusti's activity in the archive.

Stories
0
Comments
326
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 326

  1. Re:That's why slashdot is against tech immigration on Tech Looks To Obama To Save Them From 'Just Sort of OK' US Workers · · Score: 1

    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.

  2. Re:Know where your programming language is headed! on Ask Slashdot: What Do You Wish You'd Known Starting Out As a Programmer? · · Score: 1

    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.

  3. Re:Know where your programming language is headed! on Ask Slashdot: What Do You Wish You'd Known Starting Out As a Programmer? · · Score: 1

    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.

  4. Re:Kids These Days on Ask Slashdot: What Do You Wish You'd Known Starting Out As a Programmer? · · Score: 1

    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.

  5. Re:Pick a different job. on Ask Slashdot: What Do You Wish You'd Known Starting Out As a Programmer? · · Score: 1

    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.

  6. Re:C++ is not the language you start with on Ask Slashdot: What Do You Wish You'd Known Starting Out As a Programmer? · · Score: 1

    Why would you try to use some random macro library to get objects in C?

    Use C++ if you want objects, or make your own custom and perfect for your task objects with structures (and maybe some functions pointers.)

  7. Re:Complexity on Interviews: Ask Bjarne Stroustrup About Programming and C++ · · Score: 1

    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?

  8. Re:Require H1-B visa recipients be paid more on US Senator Blasts Microsoft's H-1B Push As It Lays 18,000 Off Workers · · Score: 1

    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.

  9. Re:Why isn't the U.S. doing things like this? on Japan To Offer $20,000 Subsidy For Fuel-Cell Cars · · Score: 2

    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.

  10. Re:Absolutely - it is filthy on Japan To Offer $20,000 Subsidy For Fuel-Cell Cars · · Score: 4, Interesting

    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.

  11. Re:Wrong approach on Preparing For Satellite Defense · · Score: 1

    It will always be easier to blow one up than to put it there. You do not need orbital velocity to take it out, you just need to get into its path at the correct time. This takes a lot less fuel to do, and should therefore be cheaper.

  12. Re: Administrators on Teaching College Is No Longer a Middle Class Job · · Score: 1

    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.)

  13. Re:Administrators on Teaching College Is No Longer a Middle Class Job · · Score: 1

    You can also get a personal subscription for about $200 per year if you want one. Most journals are fine with letting you subscribe directly.

    Many also have abstracts for free and let you buy papers individually. Arxiv is free.

  14. Re:Administrators on Teaching College Is No Longer a Middle Class Job · · Score: 2

    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.

  15. Re:It's The Bureaucracy, Stupid on Teaching College Is No Longer a Middle Class Job · · Score: 1

    In private industry that opens the door for a smaller, leaner, less bureaucratic company to compete and eat their lunch as the saying goes.

    This is really the basis of capitalism, and heavily favors those who are willing to take some risks and cut their own path through life. Sure, you may need to get a group together who can pull it off, get funding, and make it all work out somehow... but it happens more often than you may realize.

    If you spend your life doing what others tell you to do you will very likely suffer, as others will generally tell you to do what they want you to do, not what is in your best interest. I have seen more than a few companies form from the trenches of a larger company, and pillage the better employees to go compete with their previous employer. You do not pillage the bureaucrats when you do this for a reason.

    Government has a monopoly on anything it chooses to, as they can leverage their monopoly on violence to enforce it. This, and industries with startup capital costs so high it is difficult to put the kind of money necessary to compete together are where you find permanent bureaucracy.

    Higher education is not a sector which naturally forms a bureaucratic mess, the only reason it is so bad is that our government monopolized education funding through guaranteed loans and basically removed most pressure to perform while doing so. Their product quality is kind of terrible these days too.

  16. Re:Not to be snarky on Teaching College Is No Longer a Middle Class Job · · Score: 1

    Not so much. Only the cube farms and colleges have super high numbers of people with degrees, and they are usually not paid all that well.

    You just need a useful skill, or contacts, or a record of getting things done, or the ability to convince someone to take a risk on you, or a good idea and the ability to execute it, or an much above average intellect, or ambition, or wealthy parents... in short, you need to stand out somehow.

    Upper management at many organizations tends to have large numbers of people with no degree (also many MBAs), electricians and plumbers can make quite a bit of money with a certification instead, starting a business is an option open to everyone, consultants generally do not list education at all, etc.

    There are a lot of very good options to make as much or more money than most who go get a bachelors degree, they just require that you not float along and take the standard path.

    MDs are an exception due to legal requirements, but medical school does not require a college degree to get in either.

  17. Re:Obviously on Teaching College Is No Longer a Middle Class Job · · Score: 1

    This is part of why I think the government should get entirely out of higher education. No loans, grants, or guarantees beyond those given to any other sort of loan.

    Private banks would sort it out in very short order based on what schools and programs actually make a ROI, and tuition would indeed go into free fall. The real key is that you should be able to declare bankruptcy on student loans, possibly with bank having a lien on the degree (and the ability to deny you have it if you default.)

    The current system where we let young (and in many cases not all that bright) students take out as much money as they want, then indenture them with a huge loan they cannot discharge by any means other than paying it... is very bad.

  18. Re:Administrators on Teaching College Is No Longer a Middle Class Job · · Score: 1

    I could say the same thing about industry vs academia.

    In most fields the cutting edge work is done in industry, and it is the academic world which is woefully out of date. You have no access to this information if you do not work in the industry, so you deal with information which is a few decades old.

    The way to get access in this case is to join a company which works in the field (sometimes information is hoarded, sometimes there are industry groups which are good resources.) Getting in sometimes requires a degree, but not always. Increasingly it is not required, as the risk seems to be pretty similar these days between the self educated and those who attended a university.

    The exception is... when you need to pass a clueless HR department which does not have the ability to screen on anything except your credentials. HR tends not to have any say unless there are a lot more applicants than open positions, there is no favored candidate going in, and a way to cut the list down is necessary.

    The good positions are rarely advertised, they get filled through your contact network. Nobody really cares if or where you went to school if you have 20 years of work behind you, as what you have done is simply more important.

    I am less kind than most people, so instead of filtering by education I reduce salary on entry level positions until the number of applicants is appropriate. This is a growing trend due to the obvious benefit to the employer, and one of the reasons you see people making less than their student loan payments in some cases even in what are generally considered well paying fields.

    If they work out I can offer more, if not I am out less budget. If colleges were willing and able to ensure competence it would be worth a premium, but as it stands this is not the case.

    If it is supposed to be about learning for the sake of learning rather than obtaining useful skills then great, but that makes the advertising a little bit fraudulent.

  19. Re:Science is not consensus on Teaching Creationism As Science Now Banned In Britain's Schools · · Score: 1

    AGW is about as solid as estimating the results of a chemical reaction in an uncontrolled environment where you know only some of the reactants involved.

    What you give implies a warming trend, but trying to account for everything which affects surface temperature to the point where you can give a meaningful number leads to error bars which include both deep freeze and boiling water (although I admittedly recalculated those over ten years ago, I am not aware of any major developments which would warrant redoing that.)

    I understand it is the best we can currently do, but our best does not yield an answer most people would consider meaningful.

    An honest answer would be something like "What we know implies a warming trend, but we are incapable of putting a number to it at this time." Claiming the kind of certainty the IPCC does is very dishonest, which annoys me enough to be willing to argue it.

    And to answer your question:

    The energy goes back to space, but this is delayed more than it normally would be if it is absorbed by a CO2 molecule.

    The energy absorbed by a CO2 molecule will be emitted as a photon after an average of about ten microseconds (collision rate and therefore pressure will affect this.) The wavelength of the photon depends upon temperature, but due to the very limited absorption spectrum of CO2 it is unlikely to be absorbed by another CO2 molecule. H2O is however far more likely to absorb the photon, and we have a lot more of it in the atmosphere. The potential problem comes about from the interaction of both CO2 and H2O (a very small increase from CO2 amplifying a much larger effect from H2O.)

    The reason increasing CO2 has a noticeable effect is due to its small concentration in the atmosphere, as it will not yet absorb the wavelengths it can to extinction.

    As concentration increases it becomes "less bad" to increase it further. It should be kept in mind that increasing CO2 concentration will give a logarithmic falloff in absorbed energy. If you increase the concentration of a gas by 1000x, you will get about a 7x increase in absorbed energy.

    In short:

    We probably will see some warming, but are very unlikely to see a runaway greenhouse effect. A potential future problem which bears some watching is being pitched as a doomsday scenario, and I would consider this is a good example of the phrase "making a mountain out of a molehill."

  20. Re:A minority view? on Teaching Creationism As Science Now Banned In Britain's Schools · · Score: 1

    Aside from physics being a branch of science covering a large number of theories, and evolution being one theory within the branch of science we call biology?

    It is difficult to compare them directly for this reason.

    Physics tends to make predictions which are then tested, and I tend to dislike physical theories which cannot make predictions we can verify to a high degree of confidence. Evolution has some limited experimentation behind it, but the time scales involved do not allow much in the way of testing this (mostly it is fruit flies and other short lifespan organisms, which is very limited.)

    I do not think evolution comes even close to the kind of confidence you need to claim a result in physics (usually considered 95% with carefully controlled statistics to back it), but it is still by far the best explanation we have for how organisms on this planet came to the state they are in. Physics is a much harder science than biology.

    The person you replied to may be claiming his "feels" and some writings from some random long dead guys as evidence, but is not entirely wrong about evolution having a lot less evidence to it than some of the more well tested theories in physics (although there are also a few real crackpot theories which get thrown around from time to time in physics.)

    Then again religion is not science, and has no place in a science class (even though some people treat religion as science, or science as religion.)

  21. Re:Laser Sintering on 3-D Printing with Molten Steel (Video) · · Score: 1

    If it is large enough, why not move the laser instead?

    You may even be able to do this by reflection without moving more than a very small surface which reflects the correct wavelength. This does not seem like an problem which cannot be solved.

    My first thought as to what would stop it is the amount of energy required, as lasers are not very efficient, and melting (or sintering) large objects may take enough energy that the losses involved in transferring energy through a laser may make it inefficient compared to direct heating.

  22. Re:What's wrong with html and javascript? on Ask Slashdot: Best Rapid Development Language To Learn Today? · · Score: 1

    Many people have trouble with javascript being classless. A lot of people associate objects with classes, and are confused by an object oriented language without them.

  23. Re:What's wrong with html and javascript? on Ask Slashdot: Best Rapid Development Language To Learn Today? · · Score: 1

    undefined

  24. Re:What's wrong with html and javascript? on Ask Slashdot: Best Rapid Development Language To Learn Today? · · Score: 1

    You seem to be misinformed.

    === is true if both the type and value match (it will not do type conversion.)

  25. Re:Why would a prospective CS major take the AP te on Average HS Student Given Little Chance of AP CS Success · · Score: 1

    In my case I had 6 AP credits with a score of 4 or 5 (including CS), the college said "choose two". They were also kind enough to clarify that classes that could be tested out of also counted towards this limit.

    I could see not taking it for courses in your major, but they seemed not to want students skipping anything if they could prevent it. I suppose they wanted to make money from the classes, but not accepting them makes the entire AP thing a waste of time.