Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Editable scientific data? (Score 1) 61

Versioning only ensures that anyone who subsequently performs the calculations will reach the same result - it does not verify the data is complete or correct.

Nothing much ensures that the data is complete or correct now either, other than peer review over a long period of time by people who are wholly unconnected with the original work (and its funding). In fact, in some sciences you're not going to get complete data in a public venue anyway (some sciences work with data that in raw form can identify individual people; think medical research). Correctness is hard to evaluate; what does it even mean for raw data in the first place?

But keeping versioned data does help with some types of analysis, such as working out whether a scientist's hypothesis was reasonable based on what data was available at the time, and whether that hypothesis still holds water or when it ceased to be good. It also makes it much easier to detect fraud, and you can use all the sorts of concepts developed for distributed source code management to make it all more comprehensible.

Don't think "wikipedia for scientific data", think "github for scientific data". That's a much better model.

Comment Re:IDEs with a concept of 'projects'. (Score 1) 421

if they save it to a file

As opposed to what? Saving state by tattooing it on a hairy fairy's derriere? If you're saving state, so that you can shut down an IDE and start it up again in the sam place, it's going to be saved to disk somewhere, and the chance that it's going to be in a file when its going to disk is enormously high. (Technically you could also store it in a DB that is written to a raw partition, but I'm not aware of anyone mad enough to use a full installation of Oracle on dedicated storage devices just to save the state of their IDE...)

Comment Re:Missing the point (Score 1) 303

In other words message passing works completely dynamic and is resolved by the runtime system while method calls are resolved statically by the compiler.

Am I right in saying that the marks of a message passing solution are that it can handle "calls" of arbitrary methods and that the class/object itself can control what happens in that case?

Comment Re:Encapsulation (Score 1) 303

No they are not procedural, if at all they are like C++ and are called multi paradigm.

That's largely a crock of shit and C++ programmers are just kidding themselves. The only two paradigms that C++ really implements are OO (for structural organisation) and imperative (for operation description). It's not functional in any meaningful way (it's possible to pretend, but it feels very strange if you do) and declarative programming is rather different. The only declarative language that most programmers normally encounter is SQL.

My point was that there's no real reason why OO can't be used with functional programming, or declarative programming. It just tends to be paired up with imperative programming for historical reasons.

You are mixing up 'imperative' languages (that is actually what the parent meant) with 'declarative' languages.

I forgot the term. Oh well.

Comment Re:Encapsulation (Score 1) 303

Most OO language really fall under that category, too.

That's because most OO languages are also procedural programming languages (for historical reasons). OO is principally about how to organise data and the operations on it, which is orthogonal to whether the operations are sequences of commands or composite functions to be applied.

Submission + - 17x17x17 Rubik Cube Solved In 7.5 Hours (i-programmer.info) 1

mikejuk writes: The 3x3x3 cube is boring, even though there are still competitions to see how fast it can be solved. There are also competitions to see how fast 4x4 and 5x5 cubes can be solved, but 17x17x17!? There are more than 66 followed by 1053 zeros different possible positions in a 17x17x17 puzzle, so finding any state that you might consider ordered is a problem in a huge search space.
But first you have the problem of building a 17x17x17 cube — not a mechanically easy challenge in itself. You can buy such a cube from Oskar van Deventer at Oskar Puzzles. His "Over The Top" is also the holder of the Guinness record for the largest physical Rubik's cube.
So given a 17x17x17 puzzle what do you do?
Solve it of course.
This is what Kenneth Brandon, aka RedKB, did and he made a video of the entire seven and a half hours it took to solve. Fortunately he also made a timelapse version of the video so you can watch it in just over six minutes
At the end of the day, doesn't it leave you feeling glad that computers were invented to solve this sort of problem?

Comment Re:But *are* there enough eyes? (Score 1) 255

the problem is 'security' software is never as secure as promised

And the problem with OpenSSL is that they start out from the position "this is complicated" and then go straight to "so Joe Working Programmer should deal with all the complexity themselves" without properly spelling this out in very clear letters in a large font. That's abysmally awful. It leaves people exposed to trouble without them realising that this so.

Comment Re:Make that THREE other things (Score 1) 255

That's a double edge sword as shown by the clusterfuck that is OpenSSL. When you start supporting many architectures then the strange hacks you need to do to make things work can be the ones that introduce the security risk.

If you're introducing strange hacks, it's probably a sign that the design of some of the rest of the code (being charitable here!) is wrong in the first place. Writing the code to be more portable, to use fewer quirks (ideally none), that's the way to go. Yes, it can make things long-winded, but it's worth it.

Comment Re:not just many eyes (Score 1) 255

"Don't roll your own security" is advice aimed at people who don't know about security. Some of us have to implement and 'roll' the specs. The world looks different when your reputation is tied to your stuff not get broken before senility sets in. You can do it right, but you need all the elements in place including a well thought out spec.

A good start is to have some sort of test suite. When implementing a spec, TDD is very much the way to go. You should also try to make sure you've got tests for all the failure modes that you expect (including all the ones in the spec). Yes, that can be devilishly hard. Do it anyway.

Comment Re:C versus Assembly Language (Score 1) 226

when you've measured and proven the compiler is generating sub optimal code

That's the important part. Don't start mucking around with low-level assembly for things until you've proven that you've got a problem and that the fix you're proposing to work on is worthwhile. (Where a library gets very widely distributed, such as a basic math library, it may well become worthwhile very quickly. Most code doesn't get anything like that level of distribution.)

Comment Re:Hilarious, but sad (Score 1) 441

Of-course I am against slavery and initiation of force by anybody, however it is the government initiation of force that is the most immoral of all, since it is the 'law of the land', so to speak, so you can be born into a system that prearranged your slavery within it.

So, in effect you're denying that there is such a thing as society, as comprised of the bulk wishes and desires of the country that you live in, and consequently the use of taxation as a redistributative economic measure? That's a morally/politically consistent position, even though I thoroughly disagree with it.

Submission + - Mechanical Insects Evolve The Ability To Fly Though A Window (i-programmer.info)

mikejuk writes: You might think that the world has enough insects without creating robots in the same style. In this case, however, the real interest is in the way the ability to fly though a window can evolve without anyone really trying.
This particular robot, DelFly — see http://hardware.slashdot.org/s..., is a miracle of miniaturisation. It weighs just 20 grams including a 1-gram autopilot and 4 grams devoted to a stereo vision system. It was designed at the Delft University of Technology in the Netherlands. The idea was to try to evolve behaviour that would get the autonomous system to fly though a window all on its own. This involves finding the window and working out a flight configuration that gets DelFly though the window.
DelFly learned using the genetic algorithm, An initial population was created at random and then tested in simulated environment. Each individual was rated on their success and a fitness value computed. The best individuals are used to create a new generation by crossover and mutation. After 150 or more generations the behaviour tree proved about 88% successful which should be compared to an 82% success rate for a hand-crafted tree.
So put simply the DelFly evolved to fly though the window — just like the real thing.

Comment Re:What took them so long? (Score 1) 212

The first step in security is to assume that your office network is the same as "the Internet": you don't know what's on there, it is full of malware and hackers, and they are actively out to try and get you.

Unfortunately, the office network is also definitely full of managers, and prizing a bit more convenience at the cost of "a little" more risk is a classic thing that managers order. They are also usually able to find people who will carry out the orders.

Comment Re:BS (Score 1) 343

just wanted to comment on this one:

..In particular the Executive that had the entires companies Salary in an XLS document on their hard-drive should be fired immediately..

I have worked at a pretty senior level in a very large and global Software company. Here's roughly how the process of deciding salaries happens.

  1. We make a list of our reportees on a spreadsheet (and an upline manager can have over 300 reportees), add in various parameters and rank them.
    Once we've ranked and sync'd up with our managers AND with our peers, the data is uploaded into the salary tool. This is an online tool.
    However, we can (and do) download csv files from the tool - including past and proposed salaries since it is so much easier to juggle data in Excel.

    The reason I describe this process is - if my (or any of the other managers') machines are hacked while we are making the salary decisions, the hackers will surely get the salary data. The download is necessary since the Salary tool is not as flexible as looking at data in an xls. This is especially true when one is looking at the salary of a very large number of people. This, to my knowledge, is true for most large Organizations and based on your point, most senior managers of the organization hacked would get fired.

Submission + - Pi In Space! (i-programmer.info)

mikejuk writes: Raspberry Pi that is.
When British astronaut Tim Peake heads off to the International Space Station in November 2015 he will be accompanied on his 6 month mission by two augmented Rapsberry Pis, aka Astro Pis. The Astro Pi board is a Raspberry Pi HAT and provides — gyroscope, accelerometer and magnetometer and sensors for temperature, barometric pressure and humidity. It also has a real time clock, LED display and some push buttons — it sounds like the sort of addon that we could do with down here on earth as well! It will also be equipped with both camera module and an infra-red camera.
UK school pupils are being challenged to write Rapberry Pi apps or experiments to run in space. During his mission Tim Peake will deploy the Astro Pis, upload the winning code whilst in orbit, set them running, collect the data generated and then download it to be distributed to the winning teams.
If this doesn't get kids turned on to computing and science nothing will.

Slashdot Top Deals

What the gods would destroy they first submit to an IEEE standards committee.

Working...