Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment Re:Anything for work (Score 1) 186

I'll add extra intermediate variables, break up lines to make them as short as possible, and use extra verbose variable names along with explanatory comments of the logic of each object/function.

All great practice. These days I make sure I put enough doxygen style comments in the headers so that others (and myself in a few years time) can just browse through the doxygen generated documentation and be able to understand the purpose and function of the code.
For very maths oriented functions (say calculating the minimum time needed to decelerate something within velocity and acceleration limits) I might also include a few lines of comments that show the derivation of the formulas from the more commonly seen physics equations.

For something that is doing a lot of geometric manipulations using a lot of linear algebra operations, likewise there's usually a line or two of comments saying what it's trying to achieve - it gives me or others a chance to later look at what the code is supposed to be doing and evaluate if there's a better way to achieve the same goal.

Correct comments are just as important as code - and frankly, I type pretty fast so they really take next to no time to put in. I never did understand the obsession some people have in trying to cram as much logic into as few statements as possible - makes for less code to type, but the time it takes to type it is not the main reason programs take time to develop and debug.

Comment Re: What I want to know is (Score 1) 29

I still use LinkedIn in - but probably like every other product Microsoft has bought, it's going to either become more annoying or less functional.
I used to use hotmail - then Microsoft bought it. I ended up migrating to yahoo.
I have use skype on Linux for many years, but the product took a turn for the worse after Microsoft bought it - very very infrequent updates (for Linux) and now instead of being able to receive PDF's directly, I am being forced to go to the online version to download and view them.
I hope they don't screw linked in up too - makes me wonder about its viability as a professional networking tool.
I particularly feel sorry for any Microsoft employees that use it - now their employer will know every detail about if they are looking at other companies, recruiting agents, etc - even if they are only using it from home on their own computers.

Comment Re: Free movement of labor for other jobs... (Score 1) 226

On the contrary.

If you properly impose a tariff, which includes yearly limits on quotas of imported goods, you put the imported good artificially at the same or very similar market price as the locally produced product.

EG, in your example of 4$ per pound cotton textiles, the government artificially raises the price of that import via the tariff, making it say-- 19$ per pound once it gets to the market.

People don't stop wearing clothes just because the price goes up. Instead, they start looking more strongly at quality. They don't have the disposable income (everything costs more) to waste on crap clothing that they have to replace every year. Instead, they see the value in purchasing the clothing made with the higher production quality that lasts longer, This increases the demand for the higher quality product, and with increased demand, go increased opportunities for investment--- aka, JOBS.

Comment Re:It's obvious it won't accelerate offshoring (Score 1) 226

When you demand impossible education requirements for basic employment, you impose a significant cost on your potential applicants.

Specifically, the cost of the education level you are demanding. It can easily enter triple digits, and take a third or more of a worker's lifetime to pay off, and is non-dischargeable.

That cost is real. It does not go away when you hire H1B laborers. The local economy is still saddled with the debt created by this wasted educational burden. (Wasted, because you never had any intention of hiring those applicants anyway.)

When you put a want ad out in the local job market, then purposefully ignore all applications that are local, so that you can hire a cheaper H1B, you are saddling the local economy with the difference in the cost of education, since the people that you caused to be trained by putting out your fake demand, now are unemployable, AND IN DEBT.

Comment Re:Free movement of labor for other jobs... (Score 1) 226

So, let me get this straight AC--

A country that imports more than it exports is "Great!" in your estimation, and pointing out that the actual quote from ricardo concerning his theory is as follows, with a little added emphasis of my own:

"If a foreign country can supply us with a commodity cheaper than we ourselves can make it, better buy it of them [b]with some part of the produce of our own industry employed in a way in which we have some advantage.[/b] The general industry of the country, being always in proportion to the capital which employs it, will not thereby be diminished ... but only left to find out the way in which it can be employed with the greatest advantage."

Note, his thesis does not work at all when the bolded part is not met.

While the US does have the second largest export market, A significant proportion of the US's labor force is not tied to manufacturing or exports, most of it is service industry. Further, the manufacturing capacity of the US is currently struggling.

Reuters attributes the low manufacturing performance to a high valued dollar, and low oil costs (globally)-- resulting in labor for manufacturing being too expensive in the USA-- THE EXACT THING WE HAVE BEEN TALKING ABOUT, and that tariffs are intended to help avert.

Their opinion is not alone-- The economic policy institute has a rather lengthly report about it.

To which they credit " nearly two decades of policy failures that have damaged its international competitiveness" as the primary causal factor behind the massive reduction in US manufacturing. What policy decisions have been enacted in the past 20 years? Various free trade agreements that removed trade tariffs.

It further states that manufacturing accounts for only 8.8% of the US's labor force. Meaning that most americans are not employed doing manufacturing, but in some other industry.

Yet somehow, despite the massively disproportionate segment of the US labor force that is allocated to service providing, industries seeking service workers (No, software is NOT a manufacturing job. it is a service job.) "Simply cannot find qualified applicants!" Perhaps we aren't training enough people to meet those needs? No-- the NYT seems to feel otherwise.

The costs of attaining a college degree are spiraling out of control, while the benefits of getting one diminish, due to labor force saturation. This is because there is out of control demand for college education, coupled with lackluster pay once it is attained. Basically, the service industry in the US does not want to pay for the education requirements it is demanding, and is leaving hopeful applicants holding the bag.

Instead, the service industry leadership wants only the cream of the crop, so to speak, of the potential applicant pool. It demands only the very finest caviar, and wants to pay cheesewiz prices. (Why not, it can get caviar for the price of cheezewiz elsewhere!)

This comparative difference in labor rates is ALSO controlled innately by tariffs, and prevents this kind of labor shopping-- at least as far as outsourced labor is concerned.

Now that I have buried you under a pretty substantively sized wall of text with some citations and opinion pieces by bonafide economists, perhaps you can be a little more forthcoming in how my interpretation of your rhetorical question is so clearly "Wrong", yes?

Comment TSA should be replaced by inspectors (Score 1) 85

The TSA should be replaced with a much much smaller group of enforcement inspectors and all they do is set security guidelines and test airport security. The actual security staff should be hired by the airports themselves, and all TSA does is test that they are meeting standards. (the standards that TSA themselves fail 95% of the time).

Comment Communism (Score 1) 250

100 million dead can't be wrong

Let's try it again! The world has 7 billion people to and we can spare another 100 million, right? Surely all the decades of forced ideology by dozens of countries just weren't done the /right/ way. With the patented new and improved right way we can do it right this time. This time we'll do it with 1/3rd fewer dead people!!! /zombie apocalypse //one guaranteed way to make communism work

Comment Re:Oh boy (Score 1) 316

Trump is an incompetent, pompous ass and a political newcomer, hated by both Democrats and Republicans. He is lucky if Congress doesn't cut the White House kitchen budget just out of spite. What Trump wants is pretty much irrelevant since he isn't going to get it.

And yet Trump won the primary and got the Republican nomination. When the Rancor goes down, maybe it's time to stop underestimating the weird kid with a lightsaber?

Slashdot Top Deals

A committee is a group that keeps the minutes and loses hours. -- Milton Berle