Follow Slashdot stories on Twitter


Forgot your password?

Comment: Install an ad blocker (Score 4, Insightful) 467

by complete loony (#48889749) Attached to: Ask Slashdot: Best Anti-Virus Software In 2015? Free Or Paid?
These days the most effective measure you can take is to install an ad blocker. That will prevent the vast majority of drive by installs. Second, I'd say you need to be very sceptical of freeware software installers. Using a service like Chocolatey to find and install popular utilities will help here. Third, I'd recommend installing Process Explorer as a replacement for the windows Task Manager. Get a feel for what programs are running in the background, and investigate anything you don't yet recognise particularly after installing something new.

Comment: Rust in an interesting language (Score 5, Interesting) 161

by complete loony (#48786039) Attached to: Rust Programming Language Reaches 1.0 Alpha

I'm not completely sold on the syntax, but I find the design and runtime interesting. I'd like to find an excuse to build something with it, to see if it can live up to its potential.

I started thinking about how I would design a language recently, then I came across rust, and I saw quite a lot of the same conclusions I came to myself. Abstract classes, multiple inheritance, Interfaces with versioning, combining 3rd party libraries... With rust, you define the layout of memory without inheritance, and the implementation of interfaces for types without defining the layout of memory. Neatly side-stepping some of the issues faced by other languages.

All resources and object lifetimes are managed, avoiding .NET's IDisposable. You can combine structures together, which can exist exclusively on the stack, avoiding the "everything is an object on the heap" problem that Java seems to fall into.

Since there's no NULL, there's no NullPointerException. There's no unchecked exceptions, or any exceptions at all for that matter. Though, I might prefer to have them. Sure, there's the try! macro. But that's just syntactic sugar for checking the return code of every function.

Comment: Re:Better way? (Score 1) 289

by complete loony (#48750743) Attached to: Extra Leap Second To Be Added To Clocks On June 30

If your machine is not connected to an atomic clock, your measurement in UTC is likely to be slightly off anyway. So tweaking the rate of time passing so that every day has the same number of seconds is a reasonable compromise. I remember hearing that google do this in their data centres.

If you do have a local atomic clock, record timestamps against TAI and convert to UTC. But even there you have to deal with clock drift, though the error bar should be much smaller.

Comment: Re:Win/Lose (Score 2) 463

by complete loony (#48734583) Attached to: Writer: How My Mom Got Hacked
How long will it take before that virus scanner has cost the company 36 hours of lost productivity? Sometimes the cure can be worse than the disease. You'd be better off make sure everyone is saving files to a network drive with automatic hourly snapshots. Eg connecting via samba to a linux box running btrfs, or freebsd running zfs.

"If you want to eat hippopatomus, you've got to pay the freight." -- attributed to an IBM guy, about why IBM software uses so much memory