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

 



Forgot your password?
typodupeerror
×

Comment Re:Wow (Score 1) 164

the problem though is that they will never be able to test it on more platforms than those that have native pdf rendering.

Wrong. The test suite compares the canvas rendering against reference images (potentially generated on a different device).

Comment Patent Quine (Score 1) 187

Ok so I got bored and wrote a quine patent application. Almost as painful as COBOL. Havent tested it by running it through the lawyers.

METHOD FOR RECREATING THIS PATENT APPLICATION

CLAIMS

1. A method for constructing a textual representation of this patent
application, by executing the method described in its claims; the
method comprising:
(i) emitting the text result of applying a decoding procedure to a
data string S, followed the content of S, followed by a period
character ('.').

2. The method according to Claim 1, wherein the decoding procedure
comprises:
(i) splitting the data string S into pairs of characters H;
(ii) converting the pair of characters H into a number N via a primary
decimalization procedure;
(iii) Returning the result of replacing each number N by the by the
corresponding ASCII character.

3. The method according to claim 2, wherein the primary decimalization
procedure for a character pair H comprises:
(i) Splitting the character pair H into two characters, the first H1
and the second H2;
(ii) Converting the first character H1 into a number N1 via a
secondary decimalization procedure;
(ii) Converting the first character H1 into a number N2 via a
secondary decimalization procedure;
(iv) Returning the result of adding 16 times N1 to N2.

4. The method according to claim 3, wherein the secondary
decimalization procedure for a character C comprises:

(i) if the character C is a digit from 0 to 9, then the result is the
value of that digit;
(ii) otherwise, the result is 55 subtracted from
the ASCII value of the character C.
(iii) Return the result.

5. The method according to claim 4, wherein the data string S
comprises:
4D4554484F4420464F52205245...(and I had to remove the rest of
the hex-encoded version of the text above because the slashdot
lameness filter objected. Quite reasonably, I think)...
65696E20746865206461746120737472696E6720530D0A
636F6D7072697365733A0D0A.

Comment Obfuscated C (Score 1) 187

The code in the patent application has been translated into legalese, wonder if that's done by machine? If so, it would produce predictable patterns and be compilable back into C.

My next entry for the Obfuscated C contest will be*:

A method or apparatus for compiling a patent into a C program that, when executed, outputs its patent.

Inventors: Bazzargh, W.V.V. Quine

*) of course I can't be arsed actually writing this

Comment Re:Download Link (Score 4, Informative) 366

That's not the link to released betas. This is:

http://www.mozilla.com/en-US/firefox/all-beta.html

You'll notice FF4 isn't there. That's because the article has jumped the gun and is pointing you at a nightly instead, almost certainly not what you want.

As the weekly status meeting minutes say, the beta is coming soon and what is there right now is the nightly, for developers.

Comment Re:Same conclusion I reached... (Score 1) 240

That's exactly the same horribleness that made me drop it. However you can actually get that feature to work: once the menu appears, lift your finger, NOW tap the menu. Of course if you move your finger AT ALL the menu is gone and you are left dragging over a bookmark you didn't want to open (it won't ever reappear again)

Its also inexplicably worse than having these bookmarks as icons on your phone. At least there you can drag them to reorder them - in opera mini, you have to re-bookmark something to have it appear somewhere else (or maybe there's a trick to this one too)

Comment Re:Where's the meat? (Score 2, Informative) 252

What purpose does it serve to skip version numbers, except for some political or media-relations reason?

Work was going on simultaneously on 3.7 and 4.0 branches of the code. There is an overhead in doing that, eg builds of both could be failing, who's looking into that, etc. Not least of your problems is getting developers who're working on shiny-new-stuff (4.0) to care about incremental-updates (3.7)

Version numbers are just marketing. The linux numbering system changed not that long ago, and every so often there is a bunfight over it (there was talk of making releases last year version 9.x, matching the year); and the discussions are always about how this would be perceived, since what matters to developers is just the git hash anyway.

Comment did the submitter RTFA? (Score 2) 689

advocated in a recent paper the 'cognitive infiltration' of groups that advocate 'conspiracy theories'[first link]... Sunstein has also recently advocated banning websites which post 'right-wing rumors' and bringing back the Fairness Doctrine.[second link]

What's interesting about these two bits of the summary is that both are based on the same article by Sunstein, summarized differently by different wingnut websites. I have to conclude that the submitter didn't read the article. At all. Hey, I can quote out of context as well as the next guy:

government may do best to ignore conspiracy theories and theorists even if it justifiably fears that they will have
harmful effects, because government action may make things worse.

Does that quote misrepresent the article? Yes, it does. But actually, less than the summary does, since Sunstein actually advocates 'ignore' in some circumstances. However - bans? If you read the article you'd see that banning is an option he explicitly rejects!! (clue: its option 1 of 5, where only 3, 4, 5 make the cut; its the only time the word 'ban' appears in the paper...). There might be something interesting to say about this article. But the stuff you've linked to in the summary, and the summary itself? That's just so far off target, its not even a decent starting point for a conversation.

Can we get back to the news for nerds, where someone claims Knuth advocates using O(n^2) algorithms, just because he mentions them (rolls eyes)

Comment Interpol agents?? What Interpol agents?? (Score 5, Insightful) 450

There's no such thing as an interpol agent. They delegate to national agencies (ie the DoJ) who do /not/ get immunity. What they do have is a bunch of committees and advisors, and a (shared) database of people 'of interest'.

Somebody's been watching the man from UNCLE a few too many times

Comment Re:Actual Link to the zip (Score 2, Funny) 605

Ok how about... a uuencoded[1], corrupt[2], powerpoint attachment inside an email that got pasted (as the raw text of an email) into a word doc, reformatted, and then mailed to me (as a base64'd attachment).

Got sent that ~12 years ago by a PHB who wanted help getting the powerpoint out of his mail. It wasn't that hard - I wrote a little uudecoder in perl that started dumping when it saw the magic bytes for OLE...that format has a LUT for 512-byte blocks of the doc at the start, if you have trailing junk its just ignored. I mailed this back to him, and hey presto, it worked. He then asked me how I did it. I wasnt about to explain this to someone who can't use the 'forward' button in their mailer so I just stripped the comments and spaces out of the perl and sent that back.

-Baz

[1] the microsoft flavour. this was back in the day when there were multiple uuencode alphabets.
[2] extra bytes at start and end.

Comment a modest proposal (Score 2, Funny) 169

Since the publishers are so keen on getting 8/10 reviews, lets replace the stars with a scoring system that just gives them more of what they want.

A good game gets one (8/10).

A mediocre game gets 3: (8/10)(8/10)(8/10)

And a terrible game gets a whopping 10: (8/10)(8/10)(8/10)(8/10)(8/10)(8/10)(8/10)(8/10)(8/10)(8/10) ... the publishers get what they want, and anyone with a calculator to hand knows what we really mean

Comment Really not paying attention to his readers (Score 4, Informative) 643

Greenbaum is the social media editor at the newspaper. A while back he posted the results of a survey which showed that:
61% of his readers did not want the editors deciding what comments were offensive

Given his response to the comments on the article, I don't think he's any closer to understanding what he was told the first time.

Comment Re:Massive headline FAIL (Score 2, Interesting) 216

The Guardian then leaked it to the international press and prominent bloggers -- such as Guido Fawkes. Sure people reported it on Twitter too, especially Stephen Fry who is a sock puppet for the Guardian and the left wing, but it wasn't the tweets that changed anything, it was the International press and the reaction in Parliament.

How's your tin foil hat looking? There was absolutely no need for them to leak anything. The list of questions was already published, the Guardian just asked Carter-Ruck if they could report that and of course C-R said no (since it was covered by the previous injunction). The Guardian reported this on their website (and I'd agree with you here that their intent was to cause outrage); from there it was trivial to figure out what the question was.

Also: international press? If the international press made any difference, then the original injunction would have been entirely withdrawn instead of being adjusted, since the Minton report is available outside the UK. Anyway - be specific. What organs of the press actually reported this before C-R withdrew? And parliament wasn't even sitting until mid-morning. The blaze of publicity had by that point made the restriction moot, it was hardly surprising that C-R caved before it reached m'lud.

Comment Re:One down, an unknown number to go. (Score 4, Informative) 216

The PQ about Trafigura everyone was twittering was Q61, Q62 was in fact the one mentioned in that Private Eye editorial:
Q62: Paul Farrelly (Newcastle-under-Lyme): To ask the Secretary of State for Justice, if he will (a) collect and (b) publish statistics on the number of non-reportable injunctions issued by the High Court in each of the last five years.

With a bit of luck tomorrow we will hear how many of these things have been issued (or at least, get told when we will be told)

Slashdot Top Deals

"God is a comedian playing to an audience too afraid to laugh." - Voltaire

Working...