Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Knowing when not to (Score 1) 345

What separates C++ beginners from those with 'intermediate' skills, or even masters?

Knowing when not to use templates, virtualization, [insert favorite c++ function here], etc.

Basically knowing enough about programming and problem solving with a particular language to tell a need from a want. Needing to use some language feature vs wanting to use some language feature. And being mature enough to stick to needs rather than indulge wants.

Or to state things differently ... all the features have a time and place, and its probably not all the time and in every place.

Think as a C programmer, (the kiss principal) and recast your solution into C++. Its not hard to convert structure manipulation into manipulation of an object. In effect, think simple, think about the next programmer who will be pulling his hair out trying to understand what the templates, castings, and obtuse code is doing.

Comment Re:Sounds like reasonable changes to me (Score 1) 116

I could be missing something, but frankly everything I read in the summery seems like reasonable changes to me.

Someone who actually is known to have purchased the item, yea, their review should be worth more than random Internet person #4827341

A review from last month is probably worth more than one from two years ago. The product may have changed.

Well, hopefully Amazon is not doing what TigerDirect was and may still be doing, re-editing or "correcting" customer reviews, particularly negative ones.

Comment Re: Why does the world need to be so complex (Score 1) 233

There is nothing that an anonymous person can say about someone that I will take seriously without evidence. So, if an anonymous person says that candidate X is a pedophile, but offers no evidence, I will take it as the ranting of a liar, and candidate X has not been harmed in any way, beyond registering as a person who has angered some random anonymous coward. On the other hand, if candidate X takes it upon himself to waste the court's time with crap which endangers the anonymity of legitimately fearful critics of policy everywhere, I suddenly believe candidate X is an ass, unelectable, and possibly even a pedophile.

That's you, but thats not the majority, and I bet most mothers would believe the posting, even if it was retracted. The harm has been done.

Comment Re:What are... (Score 1) 273

Units are complicated and many people overstate the benefits of having uniform worldwide units. If I'm choosing a unit for how I sell my goods, what's more important, that the person down the street is familiar with the unit, or somebody from Ghana will be familiar if he travels to my store.

In industry, whatever tool or system you're dealing with, you're going to either use something that is either imported or exported or has to be compatible with something that is imported or exported. Thus you are guaranteed that there will be SI units somewhere in your process and it is usually just easier to go with it for the whole process, as is done in the military, NASA, and most US engineering firms. In addition to being internationally compatible, it is also a damn lot easier to use. Sure, if you use no unit but feet, pounds and seconds in your calculation there is no unit conversion that needs to be done, but as soon as you go into the range where you might think in miles or ounces, it becomes fairly difficult to reconcile intuition with units unless you do some fiddly calculations. Whereas a native SI user knows intuitively how long a Km and mm is in the same way an American might recon a mile or an inch.

So you may say: "why don't I buy a 2 pounds of apples, then walk a mile to work where I use SI to design parts and trajectories and what not?" Problem is, if you're thinking in non SI, then non SI units tend to sneak into where they don't belong. The Mars Climate Orbiter for example fell out of the sky because Lockheed used pound-seconds instead of newton-seconds in a calculation.

Considering how much success other countries have had switching, I'm always surprised at America's feeble efforts to do so. I think it is just something to do with Americans natural paranoia about as you say a "New World Order" or whatever else that prevents it.

I think the legislators are all dumb, and think that the population is as dumb as they themselves are. Start with temperature. For 2 years mention both Celcius and Faharenheit, and after 2 years (or even 3) drop Faharenheit. Thats what Canada did. We transitioned to metric long ago, and thats helped Honda, Toyota and non-American car manufacturers to get a foothold in Canada and elsewhere. We have tools designed for metric measurements, not tools designed to American standards.
We do keep certain traditional sizes, such as a 4'x8' panels, and 2x4 inch lumber. But the houses are constructed with Metric measure. And new construction is done with prefabricated panels, measured and machined using metric measure, and with the panels fitting together precisely.

Comment Re:Depends on your perspective and tastes (Score 1) 410

don't forget CCTV. mustn't forget the omnipresent CCTV (roads, streets and buildings). also, you aren't allowed to withhold your passwords from police, there's even less police/secret services transparency than in the US of A; your kids will probably be taken away if you discipline them in public or if you go to a doctor with any kind of genital problem (UK children are not allowed to have genital problems).

oh and the sweaty armpits on tube (mmmm yummy), yobs who'll knife you if you complain about their loud music at night (wo'd ya say to mee?) and among the highest rent and property prices in the world. however, it's a good place to live if you're a member of any oppressed minority (race, sexuality, religion) as with so many minorities present nobody gives a shit about that anymore.

and if you happen to speak the most common language of london - polish, your life will be much cheaper (plumbers, carpenters, builders, car servicing, etc). the first thing you should do when you move to london is get a polish friend. i kid you not, they're 100x more useful than your local "citizen's advice bureau".

Your humor is very sarcastic. Sadly for the USA, almost any place is better than Silicon Valley. Why even Fairbanks Alaska or the Florida keys would be better. Most other US states, Europe, Canada, Latin America, India, Malaysia, and everywhere else have the talented engineers and imaginative people who can do better or equal.

Comment Re:Yes (Score 1) 1067

Yes

about 50 years ago I worked with APL, It treated the following n/n = 1 for any perfectly eqal numbers (float, integer, bit, double...)

If n,m were approaching zero, as even 0.000000009/0.000000009 it was still considered as 1.000000000 (or 1)
So, whats the big deal?

Of course, for n not equal to m and m, extremely close to zero, a zero divide error could be raised.
APL had a variable called []CT (quad-ct ) representing global comparison tolerance. It affected divide by zero.

QuadCT allowed comparisons of two floats to be considered equal if their difference was less than QuadCT. That decision affected n/m for floats.
if abs(m - n) QuadCT then m =n and therefore n/m in this case was equal to 1.

Just loved that decision in the language.

Comment Re:So is there a form for the ISP (Score 1) 99

"Assume you have more demand for bandwidth than you have bandwidth."

Translation; Company horribly oversold the bandwidth and is too cheap to buy a bigger pipe.

Its not a question of cheapness, or under capacity. If the peak occurs for 5 minutes in the day, and then there is only 40% utilisation of the network, do you add 50% capacity for the 5 minutes per day. Consider the slowdown during the 5 minutes as being a factor of 5 or 10 versus normal non peak response times.

I think that the dowloading of an iso file should be throttled. Perhaps in place of x bits per second download, it is x/2 per second. or perhaps the wget, curl, or other download fire transfer system should be self throttling. You are sharing a resource. An ISO download at supper time is an abuse.
 

Comment Re:$68 Billion for high speed trains (Score 1) 599

Instead of spending $68 Billion on a single high speed rail line between 2 cities that are already linked by several adequate transportation options, maybe we should use a fraction of that money for water projects? Moving water to where people live is a simple engineering problem. Why not solve it instead of being a victim of the weather?

Your suggestion is a good long term solution. Will that solution bring down the cost of food? Israel has a worse solution, and wastes far far less water. They bring water to individual plants via piping and drip irrigation.

Comment Re:The solution seems so simple (Score 1) 110

The stores which own the legislatures of both Illinois and Texas should simply order them to change the laws.

You can buy all of the government some of the time, and some of the government all of the time, but . . .
it takes a lot of money to buy all of the government, all of the time. So that option is only available to very large companies.

A European manufacturer of ATM machines is using facial recognition to go along with the debit/credit cards presented on his ATMs. A stranger can't draw out money, even he presents a correct pin.

Comment Re:Black nail polish? (Score 1) 126

Not necessarily. Any child who has a parent who would immediately think 'is that a logarithmic spiral' rather than 'how in the hell am I going to clean this mess up and how much is it going to cost me' is pretty much assured to wind up really fucked up.

Are you in another world.
What a wonderful father. The damage was done, and the broken bottle was accidental. What a way to soothe a child's worries and to, at the same time, inject some tender loving care.

His wife must be very happy to have such a partner.

Comment Re:Why bother with installed capacity? (Score 1) 259

The point is that a 100MW nuclear power station is a perfectly good substitute for a 100MW coal power station. When it's mid-winter and the big game is on, and everybody is running heaters, lights and TVs and goodness knows what else, either of those plants will put out 100MW unless it's shut for maintenance. Not a problem.

But a 100MW solar station is useless as a replacement, it will produce only a fraction of the power, because "100MW" is peak, not mean or median output and the solar station produces its peak output for a few hours here and there, not regularly and certainly not on demand.

A 500MW solar station is a replacement, so long as it's coupled to a 100MW medium term energy store, just as pumped storage. But the headline power of that plant is five times as much.

So when "solar surpasses coal" that doesn't mean what it appears to, for example if you had 100 years of building the same capacity of solar as coal, you might think half the power generated would be solar, right? No. More like 10% would be solar. Only when there's 10 times as much solar as coal are you actually producing more power with solar than coal.

Not because solar is "bad", it's just _different_ and that matters.

If my costs for hydro based electricity is $0. 077/kwh cents 7.7/kwh, should I even consider transferring some of the conventional load away with solar? I have a 4 bedroom home. Winter daylight is 7:30 to 16:14 hrs, Summer daylight 4:15am to 21:30pm

Comment Re:Of course, it's likely copyrighted. (Score 1) 134

You can't just go posting other's source code on the web without permission. There are other, better ways to deal with this asshattery.

When they embed it in your blog ... fuck 'em.

They modified his blog with code, which means it's now his code.

Or are we pretending that when corporations do shit like this it's OK?

I read this as "assholes embed code in pages, and then whine when that code gets made public to point out that it's happening".

No sympathy. Not even a little.

I suppose that the only thing the code owner can do is add an appendix that does a realtime crc or md5sum check of the code that is his. If the code is corrupted, the service can take action as appropriate.

Comment Re:Meanwhile, Firefox 38.0.5 included even more bl (Score 1) 91

The recent release of firefox 38.0.5 on june 2 has been below the radar of many news sites, including Slashdot, because it was only a "patch" release.

However, 38.0.5 included real feature changes, meaning the inclusion of a proprietary web service. I not just hate that firefox added a proprietary web service prominently to its browser, also they smuggled this in in a patch release, avoiding press attention.

Firefox isn't a randy bitch dog that every dog inside the SV startup neighbourhood springs on, its a major web browser which respects its users. At least it was until 38.0.5.

I accepted that they added the social API, I understood their EME changes, I've thought firefox hello was a good addition. But for 38.0.5 pocket integration, I'm heavily disappointed by mozilla.

I tried hard to switch to Googles Chrome and Chromium (Linux), but every page presented by the latter were loaded with trackers. What I learned with using Privacy Badger from the EFF, was a good justification to return to FF. So, it takes a fraction of a second or two to render a page. Can I take the time that I would save using Google's product and extend by life by the few hundred milliseconds per day of time-savings?

Slashdot Top Deals

What is research but a blind date with knowledge? -- Will Harvey

Working...