Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment we can do better, but are doing worse (Score 2) 189

We have solutions to reduce this sort of problem (at least once you get past the learning curve), but the top programming languages tend to implement very few of them. Reasoning about state is difficult, particularly when that state can be altered in unexpected ways. It is difficult to be confident that your code does what you think it does when you don't have a computer-checked method of specifying your intentions separate from what your code does.

There are no magic solutions here, at the least you will end up needing to spend more time writing in a specification language and that requires learning how it works. I would say that a gentle introduction to something like this is Elm which has an aim of stripping down typed functional programming into something that doesn't really need a C.S. degree. Here is a video which helps to explain what a better type system can do for your code. If you want to see something a bit more mind-bending check out Idris which has a much more powerful specification language which can prevent things like off-by-one errors or unbounded recursion in many cases. Moving off the scale of usability a bit, there is ATS which is a difficult language, but its specification language is able to make pointer arithmetic safe and doesn't bind you to immutable data structures. Hell, even Rust is full of good ideas that help to avoid these issues. And if fault-tolerant distributed systems are your thing, you need to check out Erlang (or its sibling Elixir) as there are so many great ideas that have been around for decades yet don't get nearly enough exposure.

This doesn't prevent us all from occasionally falling into this trap, but the themes of the languages listed is to find ways to encourage (or force) you to get the little things right the first time with computer-verified specification and to isolate the search space where problems are likely to occur.

Comment Dietary Science is a Backwater (Score 1) 590

This is a population-level study which pits total consumption in a group against various risks of death. As far as I can tell it is unable to say anything about the clinical effect on an individual. It also claims 'causality' based on purely qualitative judgments. All this seems to actually say is that there is good reason to believe that the harm caused by alcohol to populations is positively correlated with the amount of alcohol consumed and that it seems unlikely that any protective effects are strong enough across these populations to offset the harms. What it doesn't seem to say is how these harms and possible benefits are distributed within a population except for the demographic information they used to define subpopulations.

I'm not an expert in the methods used here, so I might be missing something, but my reading says that the entire framing of the conclusions of this paper are weasely and designed as academic and media click-bait. That a prestigious journal would publish a paper written to misinform like this shows that claims that the media is misinterpreting the science to create interest is only part of the story. Dietary Science is one of the most difficult areas to work in and an area that the media is most likely to sensationalize, but it doesn't help when you let your own publish articles which serve the sensationalism on a platter.

Comment Crap Survey (Score 0) 219

With a sample size of ~700 for each of six regions, the data collected is pretty much useless. Can anybody even find a methodology document?

Even if you want to accept the data, the narrative which emerges is not that older workers are more successful at using new technology, but that they are accustomed to using a bunch of old technology. In the break-down of device use, the following items are the ones which shift the number of devices used toward older workers: "Printer", "Scanner, "Fax Machine", "Landline Phone", "Mobile Phone (not a smart phone)". Younger people use "Smartphones" and "Projectors" more than the older cohorts ("Augmented Reality" is too small to count). Older workers are also decidedly less "excited about new technology products" than younger workers.

Comment Re:Negotiating (Score 1) 455

The biggest factor in the general economy seems to be work flexibility requirements. For reasons I won't go into here, women tend to demand a greater amount of flexibility from employers regarding things like working hours, travel, and the duration and intensity of high-demand projects. The ability and willingness to prioritize company demands over personal demands tends to pay a premium in the marketplace and is often reflected in who applies for and gets chosen for different positions. In the general marketplace, this means there is a population of people who take lower wages in exchange for flexibility either lower wages in the same field or different positions which pay less.

If we apply a similar pattern to programming jobs, we can explain quite a bit. It seems plausible that programming positions tend to have high demands in this area, selecting out a great many people from even participating. There would be a diversity, however, of positions, with some companies offering this flexibility, but with a larger applicant pool, these employers could pay less money. If women are disproportionately represented in the high-flexibility market, they would find themselves fighting for fewer positions at lower wages compared to low-flexibility workers.

Comment Re:Phrasing (Score 1) 585

I am not finding their question sheet after two minutes of scanning, but the pictures offer what seems to be a slightly abbreviated version.

"In response to court order tied to ongoing FBI investigation of San Bernadino attacks, Apple..."

  • "Should not unlock iPhone."
  • "Should unlock iPhone."
  • "DK"

This question is entirely biased toward the FBI's position and should have been rejected by whomever was managing the survey.

Comment Blades Aren't the Problem (Score 2) 190

I'm no opponent to wind power, but the blades aren't really the stumbling block with making wind turbines larger and better. We want to build our wind turbines larger as they will rotate slower and capture more energy. The problem is transferring that energy through the hub of the turbine. More energy and slower revolution means huge torque which has to be sped up to generate electricity. Wind turbine gear boxes are still the constraining factor for improvements. Do we have any idea how these designs plan on handling this problem?

If anybody wants to read about an actual attempt to address this, here is a thesis on a system which uses wind turbines to run gravitational pistons to directly generate compressed air.

Comment Re:He's Not Qualified (Score 1) 235

Aren't we all qualified to see where this is going?

In the same sense that we are all qualified to have opinions about the 2007-9 financial crisis or we were all qualified to have opinions about how to respond to the recent ebola outbreak. It's not that he shouldn't have opinions on the subject, it is that he is not worthy of special attention for these opinions.

Comment Re:TL;DR (Score 2) 189

The Soviets were never in the 'race to the moon'. The Apollo program had many goals:

  1. Catch up to the Soviet rocket program.
  2. Prepare for the possibility of wars and espionage in space.
  3. Improve domestic opinion regarding the balance of power in the cold war.
  4. Scientific discovery.

By the time the USA was finally putting people on the moon, their rocket program was highly competitive, the military/espionage value of humans in space was seen to be low, domestic opinion of the program was mixed (although people did see the achievement as a sign of the superiority of the USA over the Soviets), and the low-hanging scientific discoveries were completed in the first two landings. The Apollo program had achieved most of its goals and remaining goals were of dramatically decreasing value while the cost of the program remained extremely high. Humanity stopped putting people on the moon because governments couldn't justify the cost of continuing doing so.

The USA has no reason to go to the moon just because China wants to go. China has reason to go because they want to develop their rocket program in order to compete should they need more autonomy for a variety of reasons. They also need to show their domestic population that the Chinese government and people are a world power which can do crazy, inspiring things. The USA gains very little from getting into this game. Where the USA might have an interest is in something like asteroid mining, but the pressing concerns there are surveying and orbital capture of desired objects, which won't likely involve manned space flight.

Comment Re:Bullshit (Score 5, Insightful) 385

So far, medical science has done essentially nothing whatsoever to stop ageing from killing us. Instead, current medicine stops us dying prematurely of other causes.

This is in no small part due to a moving of the goal-posts. Medicine has done quite a bit to address many problems with aging. People are able to live much longer lives despite the aging of the cardio-vascular system. As medicine has improved in these areas, the bits that they are good at have their own names and are removed from the 'aging' bucket. Now, with those items removed, 'aging' is only left with things that medicine hasn't yet figured out.

I see no reason at all to think we're just going 'solve' ageing overnight, as the professor seems to think.

Admittedly, the claim being made here is rather optimistic, but it isn't entirely without merit. There is an open question about how difficult the aging problem really is. Aging *could* be surprisingly simple, with just a few genes needing to be tweaked to stop chemical timers that kill cells and inhibit healing. We have many examples of creatures which effectively don't age or even reverse aging during certain events, so we may just need to find analogues in humans, turn them on, and bam, we stop aging. It could be that the only reason we haven't done this previously is we didn't have the right tools for analyzing and altering genes until the last decade or so.

Of course, we probably don't have enough information to know how difficult a problem aging is going to be. Even if this claim is accurate, it is likely that anything it creates will just uncover new problems which will, in turn, need addressing. On the other hand, we thought that gastric ulcers were a hard problem and when a researcher suggested that treatment for most could be as simple as taking a course of antibiotics, he was laughed out of the room.

Comment Re:The odds are very low... (Score 2) 182

People are notoriously bad at rationally assessing risk and this is a clear example of one common pattern. People are much more worried about uncommon, but catastrophic risks than they are about common, moderately costly risks. This is exacerbated by risks which reinforce an existing world-view.

It should then come as no surprise that people who believe we should be investing more in space technologies would have a distorted view of the risk posed by asteroid impacts.

Comment Thanks, Obama? (Score 4, Insightful) 411

Saying "The Obama Administration [sic]" makes it sound like some sort of political meddling was behind this action. While the EPA is part of the executive bureaucracy, this does not stink of Obama political officials pushing an agenda, but just normal regulatory oversight and it therefore should be attributed to the agency.

Comment Re:Wait a minute... (Score 2) 324

Secure protects against a whole class of man-in-the-middle attacks which allow third parties to inject malicious code into non-sensitive communications.

More importantly, however, requiring security of everyone makes secure sites more secure. The big problem is that security notifications for users don't work. It is simply too difficult and error-prone to notify users of important security problems while also ignoring unimportant ones. False negatives put users at risk and false positives train users to ignore warnings. This problem would largely disappear if security were the overwhelming expectation and the folks who can address this are the people running the servers.

Comment What are your definitions? (Score 1, Insightful) 700

I have many problems with the Scientologists and how they have conducted themselves, but there are many religious organizations from the Catholic church to televangalists to numerous unaffiliated organizations which have done horrible things to their communities and congregations at various times. Scientologists aren't even the only ones who have or currently put a price tag on better spiritual outcomes (e.g. tithing).

Scientology's religious status should not be in question. Just because it is new and it is based on a set of beliefs which you think are goofy doesn't make their spiritual or philisophical claims any less legally legitimate.

If the leadership of Scientology are involved in things which we generally find morally reprehensible we should certainly question why this state of affairs has been allowed to continue and seek reforms to address it. If they are in violation of our definitions of being a religious non-profit organization, that should also be pursued. To simply ask that an unpopular religious movement be stripped of legal recognition due to the misconduct of some of its leadership, however, is a political discrimination which we should be wary of. Americans' right to organize based on their shared belief regardless of what other people think of that belief is a protection we have traditionally valued and to erode it by selectively favouring some beliefs over others without clear, fair reasons is a dangerous precedent to adopt.

Slashdot Top Deals

"The medium is the massage." -- Crazy Nigel

Working...