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


Forgot your password?

Comment: Re:They're assholes. (Score 3, Insightful) 328

by gbjbaanb (#48675287) Attached to: Why Lizard Squad Took Down PSN and Xbox Live On Christmas Day

Ok, so there are many aspects to this - big corporation, single points of failure, 'improve security', steal credit cards/passwords, offline play, etc but there's one that stands out for me:

DDoS. Its trivially easy to send massive amounts of data at something and we have pitiful ways of mitigating it - in fact there is nothing you can do to mitigate it except buy more pipe than the attacker can fill. This is pants and isn't something the attacked companies can do anything about (except buy more pipe - which is ok if you're the size of Microsoft)

We need to start putting egress filtering in place to prevent these easy attacks, if the networks dropped all packets that didn't have a correct source IP, most DDoS would disappear as an attack (sure you'd still be able to gather lots of people/hacked machines together to instigate a DDoS but the attacker would be able to tell who they were and possibly get them fixed/cleaned for future).

The definition of a correct source IP - its an IP address the ISP owns. Its too easy to just create packets that have a random source IP or the IP of the target. We should be fixing this aspect of the internet years ago.

Comment: Re:Blah (Score 1) 348

by gbjbaanb (#48666655) Attached to: Ars: Final Hobbit Movie Is 'Soulless End' To 'Flawed' Trilogy

He did it in LotR too - the Ents for example, decide (eventually) to fight out of responsibility. But in the film, they instantly change their mind in a simple, emotionally-crippled act of revenge.

Its like PJ doesn't understand complex emotions at all. He could have had the Ents gathered around slowly making their minds up like the UN deciding whether to intervene in the latest atrocity, but no - it had to be a very simplistic and obvious excuse for another CGI battle.

I'm only surprised he didn't have Wormtongue going "look into my eyes, you are feeling sleepy" at the start of any discussion with Theoden.

Comment: Re:*sips pabst* (Score 2) 348

by gbjbaanb (#48666607) Attached to: Ars: Final Hobbit Movie Is 'Soulless End' To 'Flawed' Trilogy

I don;t think he meant "scrap copyright" but more keep it to the original terms of protecting the original author, not his great-great-great-grandkids.

FYI if the original terms of copyright that were in force when Tolkein was alive, the copyright to the books would have lapsed in 2011. Surely that's long enough for the author to make money on his work?

Comment: Re:could still use improvement (Score 0) 250

by gbjbaanb (#48649365) Attached to: The Magic of Pallets

A "collapsible shipping container like palette" would be harder to load and unload than a palette.

not really - a pallet with sides is still a pallet. Only now its easier to put stuff in that won't fall off the edge. You only need to put bars at the corners with thin material stretched between them. The only issue is cost, pallets are simple and cheap.
TBH a pallet with sides is no different to a pallet with a box of stuff stuck on top of it, so I don't really see the need, but I understand where they're coming from.

And how do you accommodate over-high items? Or stuff that is over-wide?

charge extra for custom handling. Isn't that what the shipping industry would love :-)

Comment: Re:Like many inventions ... (Score 4, Insightful) 250

by gbjbaanb (#48649345) Attached to: The Magic of Pallets

but isn't the pallet a standardised container - albeit without walls and a top?

Its standard width, and length means it fits into standardised holes in warehouses and can be moved with standardised vehicles. The shipping container is no different except it has walls to keep stuff together.

the point I take is that its the standardisation that matters. True in so many areas.

Comment: Re:I'm Using C++ (Score 1) 421

by gbjbaanb (#48646821) Attached to: Ask Slashdot: Is an Open Source<nobr> <wbr></nobr>.NET Up To the Job?

I'll tell you one more ting to look at in C/C++ : web development.

I had to replace a PHP webserver that did a small bit of functionality recently, and we had a C++ service that did all the heavy lifting anyway, so I added a webserver lib to it (civitweb, a fork of mongoose) and found to my surprise that it was trivially easy. sure I had to write out my own headers but that requires all of 3 lines of cut and paste code, the rest - pure ease.

All the bloated web frameworks I'd used previously are gone now, for all their advanced functionality, I find they just get in the way. I might still use them for big systems that have a lot of pre-built functionality, but if you want web serving that provides most of the functionality in client-side javascript anyway, I'd be doing it in C from now on!

Comment: Re:Why bother? (Score 1) 421

by gbjbaanb (#48646755) Attached to: Ask Slashdot: Is an Open Source<nobr> <wbr></nobr>.NET Up To the Job?

Of late, .NET Native is an interesting piece of tech that precompiles .NET apps using VC++ compiler backend. So you get all optimizations in your .NET code that C++ normally gets.

this is why I prefer C++ - my time is worth a lot less than the time all my users spend using my programs, so although my boss complains about my productivity, he does that when I'm writing .NET code anyway :-)

Comment: Re:Why bother? (Score 0) 421

by gbjbaanb (#48646707) Attached to: Ask Slashdot: Is an Open Source<nobr> <wbr></nobr>.NET Up To the Job?

I would pick PHP over .NET everytime... and I'm not a PHP dev!

the main reason is the bloat in .NET - its good at many things, but web serving is always been a "look at the cool kids and try to replicate what they do". So you either have to support IIS-based webservers which I have always found rather clunky (and if you ever go back to one that was written a while ago, getting it working again is always been trouble).

For webservices, I found that WCF is crud. Its nice to code up a webservice that doesn't require IIS, and it all seems nice. But then I saw how PHP could do a web service in 6 lines of code compared to the 6 files of code WCF required I knew I was using the wrong tool for the job (especially when you factor in WCF's dreadful performance).

The last aspect is security - having worked in very high secure systems, one additional thing you can do to help add a layer of security is not to use a monoculture - so a web server written in PHP that talks to a Windows server running .NET is more secure than both running the same OS (ie a zero-day exploit will be used on both servers, but if one is Linux and the other Windows one server is going to be immune).

I'm all for .NET, its a good tool and I use it daily. But experience has taught me to advocate the right tool, regardless of what it is. I hate and loath the "it is Microsoft therefore we use it" attitude as I've seen so many useless systems written with the wrong, but Microsoft, tool. (I guess the same applies to Oracle, IBM and every other vendor or language - the same hate goes for "100% pure java" that was just a way of saying "only buy my shit")

PS. Apache has supported threads since 2.0 came out, it only spawns processes where some 'cgi-style' processor requires them. Also, on Unixy systems spawning processes is as cheap as spawning threads on Windows.(if you want a truly lightweight thread on Windows, google for Windows Fibres to see what I mean). But again, my point is - you don't know enough about what you're criticising and so are making poor choices based on hype and bullshit.

Comment: Re:Old (Score 0) 623

by gbjbaanb (#48642217) Attached to: What Happens To Society When Robots Replace Workers?

there's always new jobs.. even if its working in "customer support" or marketing.

There's a reason the West has migrated jobs from manufacturing to the service sector, the manufacturing is done in China or similar, leaving western workers to either design, advertise or sell the products to each other.

Its pretty old news, what happens depends on the area automated - when Gutenberg created the press, the old clerks stopped copying by hand and started becoming more like authors (similar to have the newspapers have been replaced by bloggers and opinion), though when the Spinning Jenny was introduced there was a lot of public disturbance, but in the end it worked out.

It's hard to think of you as the end result of millions of years of evolution.