Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Close, but no Cigar... (Score 1) 317

I'll continue this because powershell cmdlets have a general standard.

The whole verb-objectype syntax is pretty cool...but not really needed in the linux community, but what is cool is that they all behave the same way.

Every linux command works a little differently. Wouldn't it be nice if ever command had a --getCMDLineOptionsJSON that returned JSON that bash could use to auto complete...powershell's "tab" will autocomplete --arguments.... At the very least it would nice if they all implemented --version

It wouldn't be hard to port either. We could have objls which would be "object" ls. I've always considered the human readable -> binary -> human readable ->binary of Unix to be old school. The computer should be able to pipe information around in a binary format versus a giant chunk of ascii\unicode.

Kudos for MS for doing something cool....but of course then they went and screwed it up. The security around powershell is very very stupid. Issuing powershell commands remotely is equally stupid. Powershell over SSH...come on MS...get SSH standard for christ sake.

Comment corporate not consumer (Score 2) 436

Air and Flex are really where these are useful. Certainly video sites, but most will just have native apps...so yes for the average consumer flash isn't much a bonus over native apps that will of course perform better.

Remote desktop sharing may or may not use native apps, but there could be some usefulness for some of the "share my desktop" sites out there.

Gaming has some bonus. Most of the facebook games are Flash based. So all those Facebook games that this guy probably doesn't play will work....many of them of course will port to natives...I guess it just gives Android a bigger app number.

Comment transparency vs censorship (Score 1) 338

Some would say they are the same thing, but I think that is a bit of stretch. We all say crap about our families behind their backs, that isn't censorship.

China is blocking the names of the kids that died in the earthquake and then jailing those who put them out. That is a huge difference then not releasing private conversations concerning foreign relations.

Comment Why do we have to bring up IE9 (Score 1) 435

Why does this have to be some us versus them again.

How many people upgraded to Chrome 10?...who cares because the version don't really mean as much.

Firefox probably popped up and said 4 is available and people clicked okay.

IE won't do that for various reasons. Most windows client admins want this behavior because they want to control the rollout. That is part of the diversity...in some sense IE is a better option in large corporate environments and a worse one for individuals at home...aside from the standards stuff...from the purse install\app standpoint. If you don't work as a client admin for a firm of 10,000+ you might not get this and even if you do you won't want to admit it :).

Most admins just don't want to support the browsers. And all browsers when installed on 10,000s of machine whether they be Linux or Windows will sub-come to some sort of issue..broken profile blah blah.

As a web developer and a web surfer Firefox gives me nothing new. Chrome's built in developer tools are as good and in some cases better than Firebug. My extension survive between major versions. Chrome is so much faster it is sort of silly. Now IE 9 doesn't give me anything either except for some older sites working...but we are trying our best to get away from it...although I don't have some religious type of idealogy against...most people forget just how bad Navigator 4 was...and lets face it IE 4 thru 6 was IE 4. IE 7 and 8 was a patch. IE 9 at least is the first major re-write and they are taking standards seriously. Get on the W3C mailing lists...a lot of the froms are @microsoft.com asking thoughtful questions moving the standards forward. Like it or not MS has funded these standards.

I wonder if Firefox put Chrome and IE links on their home page. And said hey download these others and compare you'll come back. I wonder how many people would stay with Firefox? I suppose it will live on with the open source crowd who want no corporate sponsorship behind the browser and that is fine and dandy with me...but now that Android 3 is going to have native Chrome and Chrome netbooks come out I don't see a path were Firefox usage goes up....but it doesn't have to die and it doesn't have to be the IE killer.

Comment you have a choice (Score 3, Insightful) 917

Write the app for android and distribute it via your site. I'm guessing this wouldn't get removed from marketplace.

Apple has the right to remove anything. If you don't like it don't support them by buying their products, otherwise deal with it. The app store is like a cable channel. If comedy central doesn't want to run your ad no matter how you pay them they don't have to.

Keep writing letters saying you want to be able to install your own apps via websites, but other than that Apple can do what they want. I just buy Android even if it isn't quite as nice, because lets be honest...of the 100,000s of app only about 1,000 are worth anything. ie. like my banks native app...and although I had to wait 6 months I got it on the Android. Angry brids has been on the android for a long time now...what are these magical apps that you can't get on Android or at least some kind of a clone.

Comment FPGA (Score 1) 143

It seems like we already have this in FPGAs. We don't really have good clusters of them though..at least that I know.

I'm a software developer that has dabbed in VHDL and created some basic programs that got ran directly on a chip.

It was a major pain as someone just trying to write something. A higher level language designed for parallel computation on a large FPGA array might be more in line with what he wants...without trying to design hardware specifically to the problem. Although maybe after a while common patterns would arise.

Comment Indexes (Score 3, Informative) 235

Cassandra like many of the "no sql" type databases doesn't have classic indexes.

So instead of having an index you typically have a separate table that acts as the index.

Image you have a users table. One of the field is country. Now you want to know all the users for a particular country.

In standard RDMS type systems you just scan each row or have a index that has done that "ahead of time" or as rows are inserted.

In Cassandra the rows of users are distributed possibly among 100s of servers. So scanning for all users that have a particular country would require scanning all rows which could a long time.

Unlike RDMS like system rows don't have a 2d structure and don't have real limitation on the number of columns they can have. And columns can essentially be arrays\rows of objects.

So as you design/bang out your application you typically realize you need to know "users by country" for some stupid report. So you create a new table to hold these values. This has one row per country. As users are entered you append to this row. This essentially creates an array like structure. You then lookup the row for a particular country and you now know all the users for that particular country.

Sounds like Cassandra is getting rid of a limitation that could have caused very large index to require multiple rows.

Comment Re:My Apple Macbook experience... (Score 1) 485

This post is late so it won't float.

Did you try to plugin this printer into Windows? My guess is that old of a printer in a modern version of Windows (7 or Vista) would find it just the same.

I thought Microsoft got sued for bundling to much software? Was iPhoto just installed? I might need to call the DOJ.

I don't hate Apple or anything, but I don't see how this comment has anything to do with Apple's market capitalization? Sounds like some sort of Steve Balmer ad for Apple. Why is it "insightful".

Comment Get it out of the users table (Score 1) 154

This was likely someone doing a classic "select*fromusers" query. Hopefully this doesn't trip the sql injection filters :)

If the hash had been in another table and that table had very restrictive permissions on it then this probably could have been avoided.

The same problem is likely going to occur with databases that are being hit by Ajax calls or through some kind of proxy. If you don't want a column to make it's way out put it in a seperate table/db and restrict everyone but the key DBAs and web servers from it.

Comment How bout both? (Score 1) 570

Why does this become some conservative v liberal thing. Us v them.

For short trips I don't see why I can't leverage the natural gas, nuclear, coal, wind, solar, geothermal, hydroelectric grid that we have.

For long trips I can use gas(natural or synthetic), natural gas, hydrogen, or whatever makes sense for my region.

I think the battery is largely for energy recapture (braking,idling,etc) and for a quick charge.

As for gas as a fuel source it seems silly to me to keep going to exotic places(mile under water, middle of the wilderness) to get it when we could be placing that human capital into more sustainable fuels\power sources made in our back yard. Decentralized sources also seem more scalable as population and energy consumption increase.

Also, engines are incredibly complicated analog things. We have gotten very good at their manufacture, but batteries can be turned out a much higher rate. Each engines block is usually crafted with robots, but it can takes hours if not days to assemble a fully functional engine. An electric motor is far simpler, easier to replace\upgrade, and ultimately less prone to failure. Think of all the parts it takes to make a simple 4 stroke engine let alone when you start putting turbos and other things to increase their efficiency. Our mechanics are going to need Doctorates.

Submission + - Is blocking ads piracy? 2

Twillerror writes: As a web developer I'm a little put off by the success of browser plugins like AdBlock that modify the content of pages and remove ads. I like site like Slashdot and I'm perfectly fine looking at an ad or two since the content is free. I think I learned of a few products as well. One rationalization is to remove flash ads that slow your computer, but if the site is free the appropriate option in my opinion is to not visit the offending site.If the site is funded via ads by removing them you might as well be stealing it. What does Slashdot think?

Comment Auto run is not everything (Score 1) 190

Certainly auto run is an issue here, but the bigger issue that typically these drives may have installation files and write access.

Unlike program files or the various write protected folders on Linux these guys will be wide open.

If I've already gotten malware on your box and I see a nice little fully writeable USB key or external drive I'm going to look for an .exe or other executable to infect. Hell maybe even write a .JPEG, .PDF, .SWF, or any other non exe that could have an attack depending on what box it gets plugged into and loaded up.

If I find it I can just write into her like back in the day. Unlike floppies there isn't some kind of boot sector generally.

Floppies where about either getting your snippet of code into a .exe or onto the boot sector. Then praying the user left the disk in ( or forcing a restart while it was still in ). If you got into an .exe hoping the user gave it to a friend who used it.

Also, are these worms? Sounds more like your traditional STD type virus versus air born.

So even with Macs you could write out an HTML file with a known attack for Safari and see if they give it to a friend. Ultimately OSs need some sort of virus software to at least detect weird behavior like this.

Comment Re:Shit. (Score 2, Interesting) 324

I'm not sure about Norton, but Symantec AV has gone beyond simple virus stuff for a while now.

Using Symantec we didn't block USB entirely, but it is possible. It did block the standard USB type attacks though. When USB drives where plugged in the system logged all activity including files and sent them up to the central server.

Better than a drawer would have been a nice server rack...of course physical security is important. Someone could steal the drive and modify it and then put it back in. But I would think if the machine auto locked and users didn't have root/administrator access it would harder for these types of attacks.

Also, if your USB cable is coming out the back couldn't someone hijack that?

The new firewalls block incoming worms versus just blocking ips and ports like a traditional firewall.

But at the end of the day most of these attacks happen because of lack of a firewall and not patching the machines. For devices like the article it should be tested regularly, monitored, and even rebuilt from time to time for good measure...lifes are at stake.

I wish MS's firewall would be smart enough to block all traffic unless from servers. Does Joe and Janes machines at work really ever need to talk to one another. In fact I'd block traffic from the same subnet most of the time in a business setting.

Slashdot Top Deals

Anything free is worth what you pay for it.

Working...