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

 



Forgot your password?
typodupeerror
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 internet speed test! ×

Comment Re:All too true (Score 1) 255

Inefficiencies are a sign of incorrect modelling.
Inefficiencies are a sign of slack coding standards.
Inefficiencies are a sign of not knowing exactly what the code is actually doing.

Ultimately, these all lead to errors, and when compounded across multiple running programs, will have effects that are neither predicted nor likely to be desirable.

Your model is good:

Is it slowing down the users?
Are we getting hammered by the electricity bill?
Is the machine getting tired?

However, it lets dirty code slide into use as long as you can say, "It is slowing down the users, but they will never notice and besides, our electricity bill is not rising too much."

Like the real Donald (Knuth) said: "premature optimization is the root of all evil (or at least most of it) in programming".

The keyword here being "premature". Do not take it to mean optimization should never be done or even that optimization is unimportant. It is merely stating that getting optimization done before you have everything fully modeled out is a waste of time (for various reasons).

Comment Re:All too true (Score 2) 255

Who really cares if I can get a loop to run in 800ns instead of 1500ns, when the real bottleneck is a complex SQL query 11 lines up that joins 11 tables together and takes 3 full seconds to run?

To misquote a not-quite-famous Congress critter: A nanosecond here, a nanosecond there, eventually we are talking about real time (minutes).

You do not exist in a vacuum. You think your application is the only one but I have hundreds of "applications", written by people just like you, who thought that the real bottleneck is elsewhere so why worry about this particular bottleneck?

This attitude is why I can notice the delay in a particular window opening up or why I see "hiccups" in the smoothness of my screensaver.

I am sure that numerous studies were performed to say that the user will never notice and that these "minor" delays do not affect anything... but these studies are wrong. I notice.

(Granted, you seem to be addressing a server application where the application truly is the only application that matters, but my point about unnecessary wasting of CPU cycles still stands. Should you go to the extremes that ancient assembly language hackers used to go through to make something not possible into possible? No. Each programmer should be trying to be as efficient with CPU time as possible.)

Comment Re:never understood removing features (Score 1) 253

All you are arguing for is that the default view be simple. None of what you are saying necessarily implies that functionality be removed, despite you wording it that way.

The proper way to handle this situation is to make the default view simple so your dumb parents (your description, not mine) can use the "application" but make sure the functionality that intelligent people need is still accessible, possibly through an "Advanced View" button.

Are you saying your parents would be forced to click on an "Advanced View" button and use that as the default? Are you saying that the possibility that they might accidentally click on "Advanced View" and never click the "Basic View" button is so high that functionality MUST be removed from everyone?

Hm. Removing functionality is almost always a bad thing and the excuses you are giving are pathetic at best.

Comment Re:I use them quite a lot (Score 1) 253

The story says the engineers found it was used rarely, citing that as the reason for removal.

This bothers me. Is Chrome sending "telemetry"? I do not recall agreeing to send telemetry to Google.

What about Chromium? Who would Chromium be sending the data to? If it is sending data by default, why?

Comment Re:We're not doomed [Re:We're Doomed.] (Score 1) 356

The science is pretty solid: the average temperature of the world is getting warmer, we know what it causing it, and there will be effects, some of which will be negative.

Meh. Blowing away mod points for this but statements like this is what keeps keeps the deniers in business.

No. We do NOT know what is causing it. If we did, we could model it accurately.

What we do know for certain is that CO2 keeps heat trapped in the atmosphere. We are adding LOTS of CO2 to the atmosphere. The atmosphere is part of a chaotic and finely balanced system. CO2 is adding heat to that system (so we do actually know some of what is causing the heating).

In summary: We know that we are altering a system and by how much. We are unsure of other factors, some are even still unknown (how does the ocean absorb heat, distribute it, and eventually release it). Regardless of the unknowns, the facts that we do know indicate that our current practices are affecting the heat status of the planet.

Is heating of the planet a problem? That is not for Science to say. Science deals with facts and theory, not judgements. My personal opinion in all of this is that we need to be concerned about our "waste" products to ensure that the planet (the only place we can currently live) remains a livable location.

Comment Re:FAKE NEWS! (Score 1) 523

That makes the e-mail poison fruit. The fact that they we taken by a foreign power makes the whole event into a attack on our country. You are apologizing for the FSB attacking our core mission as a country for your own simplistic tribalism. That makes you a domestic enemy of the constitution.

Interesting way of spinning things.

The emails were not "taken by a foreign power", they were given away by insiders. The fact that a foreign power attempted to use them to their advantage is... well, let's just say that it is unsurprising.

I am unsure what you are going on about as far as "core mission" goes; however, your accusation of tribalism and then accusing the OP of being a domestic enemy... it is just an amazing example of hypocrisy.

Long story short, I have mod points and wanted to mod you down (something I rarely do) but figured offering you a reflection would be more valuable.

Comment Re:I've noticed that, but something else interesti (Score 1) 156

If I listen to the computer, I can't remember shit. If a passenger looks at the map and does essentially the same function, I can remember everything fine and well.

You implicitly trust the computer. When a human tells you, your brain does not blindly trust and tries to figure out if what the person is saying is true.

Computers never lie... unless programmed to do so.

Comment Re:Culture War Rages [Re:Something stinks] (Score 1) 379

Progressives want bigger gov't-backed safety nets and education opportunities, and conservatives believe that the private sector will make everyone's boat float higher if the gov't gets out of the way such that they don't need a safety net.

(Not directed at you personally)

Just give me my fucking money. I get it, you are the big bad brigands who took over civilization and will take your share before anyone else gets their share; however, if you do not leave anyone else a share, they will kill you.

Social safety nets and such are utter bullshit. You take my resources (as is proper, you are the brigand after all), and then, instead of giving any of it back, you promise that you will hold on to it for me just in case I have any troubles. Fuck you. You have never helped me. You never will. Give me my fucking money.

Comment Re:So what? (Score 1) 331

Water is only an infinite resource if you also assume energy (to decontaminate and desalinate) is also an infinite resource (it isn't).

Hm. The sun evaporates the water, thus removing the impurities. The evaporated water then condenses and falls back down to the Earth.

You are correct that the sun is not infinite, but in relation to humans and their timescales, it is effectively infinite.

Comment Re:questionable study (Score 1) 374

This is going to sound misogynist but it is merely a statement of fact: I have personally never met a female who was even passingly competent at Security.

I have been in this industry for roughly 20 years. I have seen lots of females in and around this industry. I have met a few females who were excellent sysadmins. I have never seen a female who was even mediocre in Security, much less competent or skilled.

I am unsure why this is. I am certain I will get skewered for even guessing... and guessing is silly anyways. Your move, women. Explain to everyone why this is.

Comment Re:Nice (Score 1) 102

Simple math problem for you: if a company has $10 B in earnings, how much is a CEO worth if he improves that by 1%?

Not answering your question here but posing another question for you: How much is a CEO worth if the rest of the corporation does not earn the $10 B for that CEO to "improve" upon?

Another way of doing this: How much is your brain worth if it improves the ability to find food by 1%?

Should we give all non-life-sustaining energy to the brain? Does muscle mass mean nothing? Does exercise for the heart mean nothing? Only the brain has meaning?

(I put "improve" in quotes because some of the things that CEOs do to increase that 1% harm the company in the long term.)

Comment Re:You need to get a clue. (Score 1) 87

I agree with your point. Here is where we diverge:

'These scams are extensive, they all target Windows users, Making the home use of Windows illegal is the only way to get Microsoft to sit the fuck up and listen and do something about it'

You used that as an example of a bad idea, but I kind of like it. ;)

Comment Re:As intended (Score 1) 102

OR it could just be that that's been a steady stream of propaganda from a certain political party and Corporate America for 100 years. A Big Lie repeated over and over again until it "becomes" the unassailable Truth.

I am sure Jimmy Hoffa is on board with your assertions. You should ask him. Let us know what he says...

Comment Re:I don't care (Score 2) 193

Today, as an average, children are healthier, more likely to have food they need, will be exposed to less crime, have more protections, they're living in an age of more social acceptance, less likely to die in combat (sure, there are always wars, but this is an era of relative peace- over the last several decades globally wars are declining).

That is great. Wonderful even; however, kids today have no path to making a living for themselves.

In the past, I would teach my son how to hunt and gather food. Today, all I can do is send him off to school and hope that he will find a job afterwards. The thinking is, "Nobody owes you a job", which is ultimately true, but then you straitjacketed my son and do not allow him to hunt and gather. How then is he supposed eat?

No. The ENTIRE reason modern society is such a terrible place to bring children into is because all of the resources are owned. Naturally, owned by someone else. The only way for my son to live is to either accept that his life depends on the whims of someone who owns the resources (slavery with or without chains) or take those resources from the putative owners. The entire situation is a LOT more complex than this simplistic narrative but then we get into "regulations and corruption" when trying to take those resources legally.

So yeah, you are 100% correct that many of the less important, but still extremely important, things are MUCH better nowadays. What you are missing is that the single most important thing, the ability to survive on their own, has been taken.

Tell me again how it is a good idea to bring children into this world.

Comment Re:What happens to notifications? (Score 3, Insightful) 154

Does this mean I will no longer get noticed when someone messages me?

If the notifications take more than 1% of a modern processor, then yes, you will not receive timely notifications. It should be noted at this time that fully memory-protected, graphical interface, mostly modernish operating systems used to run with less CPU than even .1% of a modern CPU (Amiga, m68k). I would commit suicide in despair if a notification takes more CPU power than a full operating system. (Why yes, I am preparing the nitrogen bag and morphine now.)

Slashdot Top Deals

Marvelous! The super-user's going to boot me! What a finely tuned response to the situation!

Working...