Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Re:You could speed up your current solution (Score 1) 190

Write something that uses a regular expression library (RE2 would be ideal, if your expressions are actually regular), and keeps the compiled patterns resident. Most of your time is likely spent parsing the patterns.

I'm probably going to get shat on by kids who don't know any better, but....

Use Perl. If a complex set of regular expressions is taking 15 seconds per email, then there's clearly something wrong with the implementation. I suspect you're doing too much backtracking. I've been guilty of the same in the past. In one case, simply anchoring my regular expressions to the start and end of the string reduced running time literally by two orders of magnitude. Just glom the whole message into a string and go nuts.

And before someone makes a 'write-only' joke about Perl regular expressions, I'd suggest you take a look at Perl 6 regex grammars, which provide you with the ability to lay out complex rulesets with ease - and makes them vastly easier to read.

As with any programming issue, it's horses for courses, and when it comes to parsing text with regular expressions, Perl is still at the head of its class.

Comment Re:Speed, yes. Latency... NO. (Score 1) 108

The latency will be absolute shit. Useless for most bandwidth-intensive internet applications. Imagine trying to play a game with twice the lag of a dialup modem. Not only that, but one cloud in the sky and it's game over, man.

Not reliable at all.

Besides, they haven't even begun development on space sharks, and without space sharks, what good is a frickin' space laser?

Comment Re:Yes, and? (Score 1) 237

But why set up your shop in an unstable country lime Egypt, when following your own map shows that the bulk of those cables continue on to Palermo and then Gibraltar, then to the rest of Europe.

Because they want to get the stuff that's bound for your Good Friend [sic] France, and because they're not 'setting up shop', they've been there since the early 19th Century. This is just a continuation of their strategic look-in on the canal and the global traffic that passes through it. Oh, and Gibraltar's not in the Middle East. :-)

... But none of this is to say they don't have similar facilities in Gibraltar.

Comment Re:"...not disclosing....where the base is located (Score 1) 237

So, it's in Israel.

No, it's Egypt.

They're not spying on the Middle East; they're spying in the Middle East... on all the data traffic running through the Suez canal. And that's basically everything between Asia and Europe.

Britain have had a watch on all traffic going through the canal pretty much from day one of its existence. And they've probably had communications taps in since the very first telegraph cables were installed.

Comment Re:Yes, and? (Score 4, Insightful) 237

Why ?

Does the UK need to spy on the middle east ?

The British Empire of the past is OVER. The UK is just a formerly great power which is sinking into oblivion by its own greed, incompetence, arrogance, sense of entitlement, and stupidity.

Er, the UK is home to one of the most important financial centres on the planet. It's got a huge (commercial and strategic) incentive to know what other countries are doing. And it's not just spying on the Middle East - it's spying in the Middle East on all the Europe-Asia traffic that passes through the Suez Canal. Which is pretty much all of the Europe-Asia traffic there is (Russia excepted).

And you can rest assured that at least some of the US$100 million that the NSA gives GCHQ is being used to maintain these facilities. Draw what conclusions you like.

Comment Re:Yes, and? (Score 2) 237

Yeah, and it wouldn't bee too hard to figure out where this secret location is either. You could just pick likely places from here: http://www.telegeography.com/telecom-resources/submarine-cable-landing-directory/ Gibraltar would be a good guess.

For the more visually inclined, a graphical map.

And based on that, I'll give dollars to doughnuts that it's Egypt. Virtually all traffic between Europe and Asia transits through the Suez canal.

Comment Re:"Expert" ? (Score 1) 187

As we speak, you need to transit via Greenland by plane to reach the far north, and you cen expect delays if there is a storm on the way.

Uh, no. We have domestic service. You can get charters to pretty much anywhere in the eastern Arctic from Iqaluit as well.

Some military flights to CFB Alert do pass through Greenland, but aside from that....

Comment Re:Cross Country Skiing (Score 3, Interesting) 187

has been used for arctic warfare for hundreds of years as a cheap, effective way of stealthily moving a snowy environment. Hopefully the stealth sled won't ruin those capabilities.

Not always useful in the Canadian Arctic. Pack ice sometimes extends for miles out to sea. It's a maze of 3-10 metre ridges that are an absolute bitch to navigate. Trying to pull ammo and supplies through on skis would be absolute torture. Hell, just crossing on a snowmobile through the pack ice on each side of the bay in Cape Dorset (maybe a kilometre and a half) left me sweating like a horse in -25 degree weather.

There's not a lot of pack ice on the old Finnish/Soviet border....

Comment Re:Ah, the circle of technology (Score 1) 180

It's amazing what comes back as "new developments"

What are you talking about? This is the absolute bleedingest razor edge of science! Science, I say!

First, you'd need some kind of sonic waveform manipulation device, capable of turning mere electronic impulses into sound. Think of the ramifications of this! It's literally earth-shattering!

And then, you'd have to had a device that responds to auditory stimuli, transmuting sensory inputs into purest energy and then making sense of the electron stream! I need more exclamations points for this! Here!! Take these!!!

And finally, before we decide just how many Nobels we want to award (I know, I know: all of them), they would have to create some means, not only of MOdulating the signal, but DEModulating it as well. What brave new world is this, to have such inventors in it!!

As the great Thomas Huxley said, on reading Darwin's Origin of Species, 'How very stupid of me not to have thought of this before.'

Comment Re:Information shouldn't be free (Score 1) 140

Free information is the death of all culture.

That's an interesting way to put it, but there's some truth in the statement. Essentially, many struggles we're involved in right now, from ISOC v ITU to Manning/Snowden v Secrecy, from Apple v Samsung to SOPA/PIPA v The World... all of these derive from the impact of sharing, a thing that many aspects of our respective cultures protect us against. The mere presence of the internet implies that, by giving them away, we do in fact lose our differences. And that is the very essence of subversion.

Comment Re:wget (Score 5, Insightful) 169

In the Manning case, the prosecution used Manning's use of a standard, more than 15-year-old Unix program called Wget to collect information, as if it were a dark and nefarious technique.

Maybe it's not quite that, but if it's used to download information that shouldn't be collected by an individual, it certainly bears watching.

Dude, what the fuck?

wget is a web client - you know, like the one you're using to read this comment. It bears watching just like any other web client bears watching.

Now, one could argue it might profit them more to pay attention to what data they make available to web clients.... But that would be all... I dunno, sensible.

Slashdot Top Deals

"We don't care. We don't have to. We're the Phone Company."

Working...