Forgot your password?
typodupeerror

Comment: Barriers to entry (Score 1) 205

by jgotts (#47569001) Attached to: Jesse Jackson: Tech Diversity Is Next Civil Rights Step

The major cause of the lack of minority and women computer programmers was a financial barrier to entry.

Today, you can get a desktop computer for $250. You can get a tablet for $300. You can get a laptop for $400. You can get an Android smartphone for $600, all pretty much medium to high end hardware, nothing second hand or used. 15 years ago, you had to invest a minimum of $1000 to get a new computer, and $1500 would give you something more reasonable. Importantly, decent home broadband connections are now affordable for all but the poorest individuals.

The difference between someone becoming a computer programmer and making millions of dollars throughout his or her career and someone not in the field might now only be a few hundred dollar initial investment whereas when I was a kid it was thousands of dollars. Fortunately, we don't have to worry about that large investment anymore, so this aspect of the problem has solved itself.

There are plenty of scholarship opportunities for minority and women computer programmers, but they need to get started way before college. Nobody learns programming at the university. If you're doing programming for the first time at the university, then very likely you'll never want to do it again. The programming work you do at school is dull, formulaic, theoretical, useless, and often frustrating.

Comment: Hammer (Score 1) 111

by jgotts (#47554679) Attached to: Ask Slashdot: Preparing an Android Tablet For Resale?

You'll burn through more money in labor by opening up the device without damaging it further and yanking the proper chips than what you'll get for it in parts.

What people should do with old tablets and smartphones is smash them. I'm sure there are techniques to wipe a tablet, but do you really want to take that kind of risk with your personal data? Even one credit card number accidentally cached by a sloppily programmed app can cause you way more harm than the $25 you might get for parts. You may not be liable for fradulent charges, but you are liable for the hours on the phone, filling out paperwork, and the other hassles coming from having your credit card stolen.

When I dispose of hard drives, I smash the platters to bits. Doesn't take much longer than 1-2 minutes. I have yet to dispose of an Android device, but the same concepts would apply.

Comment: Simple explanation (Score 1) 277

The default setting for most apps is to phone home every 15 minutes or at some absurdly-high interval. Once you lose 4G coverage your phone slows to a crawl. When you turn off automatic updates and notifications (which can be arduous or impossible for some apps) even older smartphones run well.

Every time my Samsung Galaxy S3 is running slowly, some app developer forgot my preferences and turned back on auto updates. The ABC News app was the latest violator.

There is no reason why an app can't load content on demand while running. When apps are not open, they should do doing nothing! Apps not being open can be a strong indication that you are not in a coverage area, or coverage is poor. So automatic updates when no apps are running is the opposite of what you want to do.

The only thing I want to be happening in the background is backing up my files, and even then only on wifi and while charging. If I'm doing nothing, apps should be doing nothing.

Comment: Foreign workers (Score 1) 89

by jgotts (#47509899) Attached to: Researchers Test Developer Biometrics To Predict Buggy Code

Microsoft Research should also track how far the individual is working away from the main office of his company, because that has far more of an effect on bugs than any biometric reading. I recommend that they develop a special laser and a series of geostationary satellites and ground repeater stations. The total round trip time of the laser pulse will be a measure of how buggy the developer's code is.

1) Microsoft Research is wasting an awful lot of money to conclude that the reason why Microsoft's software is so terrible is that it's being written by outside companies in India.
2) Microsoft's well-paid American and European programmers are producing good or at least above average code, as would be expected.
3) Quality evaporates when they use foreign and H1B workers, who are educated in substandard universities, inexperienced in engineering, and/or do not have English superliteracy. [I've discussed elsewhere that basic language literacy is not enough to be a good programmer---you need to have enough language expertise to communicate without any ambiguity whatsoever to write good code because of the essential nature of interpersonal communication. By the same token, if you're writing software for Indians speaking Hindi your entire team should be Hindi-speaking Indians.]

Comment: Remote areas? (Score 1) 89

by jgotts (#47462601) Attached to: Harvesting Energy From Humidity

Way too high tech for remote areas.

Bringing clean water to remote areas in Africa means using parts that can be sourced from those remote areas using skills taught in those remote areas or else it's back to dirty water in a few years.

Think about aliens crashing a ship on Earth. Where would we get the parts to fix it? Alien technology is worse than useless when it fails.

Comment: It's corporations we're talking about (Score 4, Insightful) 749

by jgotts (#47452061) Attached to: Obama Administration Says the World's Servers Are Ours

Effectively, though perhaps not in the strict legal definition, the purpose of a corporation is to make a profit.

As we can plainly see from Microsoft's conduct over the years, they will break whatever laws they can get away with to make that profit. This lawsuit isn't about Hotmail users' e-mail messages, this is about illegal or otherwise objectionable behavior that they are trying to shield in other countries.

If you're worried about your e-mail and data stored on Microsoft's servers, then let's not mix that up with a corporation's ability to hide illegal, unethical, or immoral behavior within a more compliant state's physical borders.

Comment: Technical discussion (Score 1) 101

by jgotts (#47451713) Attached to: First Release of LibreSSL Portable Is Available

There is a lot of political discussion on this thread. How about a bit of technical discussion?

I spent about 20-30 minutes code reviewing the first few files in ssl/*.c.

The codebase looks better than most C code I look at. The indentation is a pleasure to look at.

I did notice a few issues. Wrappers are apparently still being used around memory allocation functions. I don't know if this is for API compatibility or what. There is more casting than I would like to read. I hope it is all absolutely necessary. If you look at, for example, RSMBLY_BITMASK_MARK, that code is absolutely horrible. Never write code like that. To me that is how not to write C, C++, Perl, Java, or PHP (all would look very similar).

Lots of gotos. Not necessarily considered harmful. May not indicate bad coding practices, but something to think about. gotos inside of a case-switch. Yikes. Hope you really needed to do that.

Functions are very long. Linus Torvalds's rule of thumb for a function is that it should fit nicely on a screen. You should be able to look at it, conclude, that does x, and move on to the next function.

There you have it. I debug other people's code for a living, and sometimes write my own.

Comment: A problem with the $1 trillion number (Score 1) 364

by jgotts (#47419993) Attached to: The Pentagon's $399 Billion Plane To Nowhere

The article's summary seems to imply that US taxpayers are on the hook for $1 trillion. That's not quite right:

"But the armed services are not the only customers. Eight international partners have signed on to help build and buy the planes: the U.K., Italy, the Netherlands, Turkey, Canada, Australia, Denmark, and Norway. While not involved in the development of the plane, Israel and Japan are buying it through the foreign military sales process, and South Korea recently indicated that it would buy at least 40 of the aircraft."

The US is set to buy 2,443 planes, but international sales will offset at least some of the expense both directly and indirectly.

Comment: Renters (Score 1) 150

by jgotts (#47411109) Attached to: Coddled, Surveilled, and Monetized: How Modern Houses Can Watch You

Around half of Americans are renters. You won't see any of these things in rental units for decades. Rental units use the cheapest available everything at the time of construction and they're not ever updated. They become the bad part of town over 50 or so years as they decay, and eventually either they are town down or become decrepit. At nearly every apartment I've ever lived in, virtually everything was original: 40-50 year old wiring, 1960's or 1970's mercury-style thermostat, nothing ever electronic. For a few years, I lived in an expensive apartment building that was only around 15 year old. Even everything there was the lowest tech possible.

Do I care that rich people living in multi-million-dollar homes have privacy-violating things? Not until decades from now when they start actually appearing in the places where most people live.

Pretty much the only difference in what I would call the core infrastructure in my apartment from 1970 would be the lightbulbs have been switched to CFL. I could re-wire the wall switches to be electronic, and do a few things here and there, but why bother? I don't own the place. I'm a technie, and I just don't care about any of these things.

Comment: Bad programming (Score 4, Insightful) 113

Microsoft has been writing poor quality software for my entire life.

The best programmers do not go to work for Microsoft. Maybe that was the case in the early 90's but it hasn't been true for decades.

To make matters worse, Microsoft does a lot of its programming in India. We all know that Indian programming is of poor quality, and the reason is not because Indian programmers are much less competent. It has more to do with the fact that in programming if two parties can't communicate completely unambiguously in one language then they have no hope of writing good software. Programmers have to be more than fluent in the language they speak with each other, they have to be scientifically precise.

People go to work for Microsoft because it's safe. There's no risk of the company going under. Risk minimizers don't write good software, because they're not very creative. They tend to keep patching up the same old crap rather than writing something new that works better.

At mature software companies hundreds of non-programmers are telling the programmers what to do, and it only gums up the works. You wind up not working efficiently, because you need too much sign off to get anything done. And once you get signoff, the hundreds of non-programmers are dictating your schedule, not quality of the code or whether it is completed to your satisfaction.

There is no one to clean up Microsoft's mess but themselves. Probably the best solution would be for the company to split up. The people who make the Xbox are probably weighed down by the rest of the company's ineptitude. I'd like to see those guys go their own way.

Earth

Mapping a Monster Volcano 105

Posted by timothy
from the shhh-it's-sleeping dept.
bmahersciwriter (2955569) writes In one of the biggest-ever seismology deployments at an active volcano, researchers are peppering Mount St Helens in Washington state with equipment to study the intricate system of chambers and pipes that fed the most devastating eruption in U.S. history. This month, they plan to set off 24 explosions — each equivalent to a magnitude-2 earthquake — around around the slumbering beast in an effort to map the its interior with unprecedented depth and clarity.

Comment: My advice (Score 1) 143

by jgotts (#47103075) Attached to: Become a Linux Kernel Hacker and Write Your Own Module

This item hit reddit earlier, so I'll repeat my advice.

It might be easier to begin with a kernel module that is useful to you, and either work with the developer or find a module where the developer has lost interest instead.

I worked on two kernel modules, one called oplbeep and the other was totem. Both very simple things that required porting when interfaces changed. Today I work on the vmware modules which are always requiring tweaking (at least unless you upgrade to the latest version of VMWare more regularly) but I do that just to get my work done.

Put not your trust in money, but put your money in trust.

Working...