Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
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:Don't worry about it (Score 1) 140

Basically, it's a fallacy of software level encryption. Even if a message is encrypted, you can still see where it's going and where it came from. If you hack into one of the two computers, you can read the message same as the user can. It's the same issue with encrypted drives: if you break into the computer while the person is using it, the encryption isn't in effect. If it was, the user couldn't access their own computer.

Comment Re:R is great for quick data calculations (Score 1) 144

It would be, if you were just looking to join all the text files. However, let's be honest: most people looking to get into programming would vacantly stare at you, with that glazed over look... you know the one... if you asked them to pull up a terminal. Then comes the show of hands for who, in the class, knows how to use linux. For added entertainment, one could ask one of the students to explain linux. (Yes, I know that that's an evil trick question, only ask it if you can keep a straight face ;)

Comment Know Your Objective (Score 2) 144

The problem in our Chris-Bosh-codes-so-should-you society is that people learn to code without first asking "for what purpose do you want to use code?" What in your day-to-day work could you actually automate using code?

That right there summarizes the main issue. In my experience, far too many approach programming with the I'm going to learn programming mentality. This is fundamentally flawed, since there is more computer science than one can possibly hope to learn in a life time. It very much all comes down to having the fundamentals (an online course in any language will work for this) and then settling down to working towards an objective. Your objective doesn't need to be anything grand: you are far better off starting small. Little scripts to make your life easier: at home, and in the office.

Once you have an objective in mind, your best friend is the help function for your chosen language. Programming isn't about having everything memorized, it's about effective research applied to solving a problem. One need only work out a decent research methodology once, whereas one can work out infinite ways to solve a given problem programmatically. Writing code with decent headers in your functions lets you call up help, even on your own code. In short, you end up making your own help, based solely on your own programming style. This helps for specific functions, but when you get stuck, unsure of what you need to do: google. Chances are there exists a stackeoverflow post that will steer you in the right direction, if it doesn't outright show you what you need. Once you get an idea, you can also refine your search, often pulling up examples.

The main thing to keep in mind is that you will always be learning. There is always a better way to achieve the same objective, however achieving the objective is what matters. Don't get caught up trying to repeatedly make the code better: instead, push on to completing the first version first. This is a trap that consumes a lot of people just starting off. You'll never finish, if you keep on restarting, and what really matters is that the code works properly.

PS: I did not mention testing, since everyone has their own way of including such. Starting off, debugging will be enough to wrap your head around. Just keep in mind that at some point you will need to work testing into your workflow. Automatic testing makes it easy to write better versions of your code, since you'd be able to see if your tweaking broke anything.

Comment Re:Yay Canada! (Score 1) 231

As a canadian living in an isolated city, let me say this: the police are more likely to join in on the harassment than to stop it... if they even show up in the first place. Law enforcement seems to exist for free timmies (a coffee chain where you can't go more than 5 blocks before the next one), parking tickets, and for consuming drugs/drug money they 'confiscate'. It's hard to get police out for serious crimes, even if you have the entire affair recorded on video.

Because of this, what rights people are actually accorded depends directly on their community. A 'we're in this together' type mentality. If you have problems, you get your friends together and go deal with it. Sadly, in more recent years, actual investigative work has become the domain of the mafia in the area (sadly that's still a thing). In a world where you call your weed dealer when you're robbed, instead of the police, do you really think Canadian civil rights count for anything? When the only source of justice comes from the criminal community, civilization has already fallen: all that remains in the illusion held within people's minds.

Submission + - Dark matter found in Milky Way's core (

sciencehabit writes: A team of researchers that the measured speeds and calculated speeds of stars near the center of our galaxy don't agree. This suggests that there is dark matter in the Milky Way's core that is affecting the motion of these suns. The researchers hope their studies will help narrow down searches for the nature of dark matter as well as aid the understanding of galaxy formation.

, demonstrating that dark matter does indeed play a role in the inner galaxy. The researchers hope their studies will help narrow down searches for the nature of dark matter as well as aid the understanding of galaxy formation.

Submission + - Hidden Apollo 11 artefacts found in Neil Armstrong's closet after over 40 years (

hypnosec writes: Over 40 years after Neil Armstrong’s Apollo 11 space travel, a hidden bag full of artefacts has been discovered by his widow Carol Armstrong. Carol found the bag after Neil’s death in 2012 shortly after he underwent a heart surgery. The bag contains a total of 20 items including the priceless 16mm movie camera that recorded Apollo 11’s descent to the surface of the moon, optical alignment sight used by crew for docking manoeuvres, and Waist tether among other things. The purse and the contents are now on loan at the National Air and Space Museum for preservation, research and eventual public display.

Comment And then the grant ran out... (Score 2) 61

The main problem with scientific data is retention. Often the results are kept, but the data that led to the results is long lost. Even 5 years later, it's hard to find the data. There is a reason for this: there's a lot! Regardless of what their database size, most particle physics experiments can fill it in less than a day. It's not technologically feasible to gather the information into one system, at our current level of technology.

While wikipedia has editing and flame wars problems, this project would end with similar problems surrounding deletion. What do you keep? How do you know where the break throughs will be made: the ones that make revisiting old experiments and data necessary? One cannot predict the path inspiration will take. Who decides what gets deleted: an editor, an admin, by public vote? This is what will cause the project to fail out of the starting gate. In the event they do succeed, what happens when their funding runs out? We've already established that the main problem is from too much data for practical backup... that only leaves the inevitable fall into oblivion.

In closing, I do offer a ray of hope: the time is fast approaching when we will reach the prerequisite technological level. Take a look at the work HP is currently doing: This technology, at the optimal level, (I crunched some numbers, and it definitely would not be the case with the first iteration) can store all the world's data, and then some, on a device the size of a garbage can. At that point deletion, and all the problems outlined above, become nullified. Until we reach that level, this is a pipe dream, doomed to fail in a quagmire of politics.

Comment Re:So much envy from America (Score 1) 109

Just a FYI:

The first mars rover that crashed as an international undertaking. In fact, that's one of the reasons it went wrong: us Canadians were responsible for the final calculations. We assumed, Americans being Americans, that the measurements given were in feet. (Yes, our stereotype has Americans pegged as being so backwards that the entire nation doesn't know System International, or are too prideful to use the standardized system.) However, the Americans had been kind and already converted to meters. Needless to say, that rover crashed hard.

The incident is still repeated at my university, to this day, when collaboration with American physicists is suggested.

Comment Re:Wait, what? (Score 1) 191

Like the Person of Interest fictional organization Vigilance? Domestic Privacy Terrorists using computer skills (on the organization level) and varied member skill sets (on the operational level) to insert themselves temporarily into high ranking corporate, and governmental, positions to: gather information, expose ongoing criminal activities, and to 'deal out justice'

hmm... slashdot...

hmm... computer skill and varied skill sets...

It's sad that there a need, and that the people needed to found such an organization can be recruited here. Next thing you know, there will be American Revolution book ciphered /. posts detailing operations to take back our freedom. Only for the subsequent discovery that we were in fact being manipulated by a government intelligence agency, seeing as they have much more experience in hidden espionage/financial manipulation/assassination operations along these lines.

Comment Re:Deja vu (Score 1) 311

Considering the panels are capable of melting snow... this could very well mean that they would not have to deal with snowplows or sand. That would be interesting to see, and is easy enough to test using a parking lot. Imagine a Walmart parking lot that always has the snow cleared. If successful, the next benchmark would be monitoring the physical condition of the panels, over a few years, for durability.

Slashdot Top Deals

Your code should be more efficient!