If it really is that easy then style challenged devs could use such a script before submitting code for the kernel. (I would go with indent rather than bash.)
2646 posts • joined 19 Oct 2007
I have been wondering if the entire reason for the threat of Leadsom as PM was to make May look good by comparison. There is some danger that May's handlers can steer her into legalising the stasi state. Leadsom comes across as so bat-shit crazy that she would never support legislation that could actually get through the commons let alone the lords.
Practice Positive Thinking!
Plenty of devices have web cams these days. Just snap a photo every time someone clicks on a link. A quick £200M government IT project later and we can convert photographs to ages! Solved! I am sure the budget would only get to £4.5B, and if we scrap it when it is only a decade overdue nearly half of that money will be saved!
I was a bit disappointed last election because there was no Monster Raving Loony candidate in my constituency. Now I feel confident that the next PM will be a real monster raving loony.
If the BBFC needs a few million people to review British web pages then that is an instant end to unemployment! So what if we need to print £50M per day to pay for it and the exchange rate plummets to zero. Everyone will just have to stop going abroad and Buy British. As for foreign websites, just cut the cables. We are leaving the EU. We might as well leave the rest of the planet at the same time.
As far as accidents go, you get to try this at home for fun. Just paste everything from '#!' to 'done' into a text file called random_virus_machine, make it executable (chmod 755 random_virus_machine), and run it (./random_virus_machine).
while true; do
dd if=/dev/urandom of=/tmp/virus bs=1024 count=4 2>/dev/null
chmod 755 /tmp/virus
/tmp/virus 2>/dev/null && exit 0
I expected the chances of success to be small. Although it possible to squash a binary executable into 45 bytes the chances of those bytes being a valid ELF file are tiny. It is also possible to create a valid executable by starting with '#!' followed by the full path of an interpreter, followed by code valid for that interpreter. There are a few interpreters in /bin, so the required prefix of '#!/bin/' reduces your chances to 1 in 7x10¹⁶. It turns out if the file does not match any other pattern, the Linux kernel gives the file to one of the shells to chew on.
Shells have an insane default feature. If a line of shell script is complete gibberish the interpreter outputs "syntax error near unexpected token '%c'" and try to interpret the next line. There is a real chance that random_virus_machine will actually do something (probably harmless, but don't blame me for rm -r ~).
The DNA decoding machinery inside cells have similar default features. IIRC, they chug along until they find a start code, then take three base pairs (6 bits) at a time as an opcode. 21 of the 64 possible opcodes have a useful meaning. (I think the other 43 are 'unexpected symbol error, look for the next start sequence'). Microsoft's error correction code could easily insert invalid opcodes at regular intervals to prevent the creation of anything dangerous. If you fool the software into thinking that your raw file has already been through the error correction filter, then you can have the file->DNA machine create the DNA sequence for a virus (the small ones are only a few K). Normally viral DNA needs to be packed into a phage to be infectious (there are exceptions, ask a biologist). The chances of random data happening to be a valid sequence for an infectious virus are tiny. random_virus_machine is just as likely to output the code for ninvaders.
Using the MPAA figures was a poor choice because it was distraction from my point. Piracy does cost the film/music industry money, but the amount it costs is widely contested. Try before you buy recovers some of the losses, and generates sales that would otherwise never have happened.
The porn industry had to find a balance between making the free stuff interesting enough to generate a sale, but tame enough that potential customers were not prematurely satisfied. Judging by the ease with which Prenda picked up customers (before becoming content producers themselves), try before you buy was not a profitable business model for pornographers. These days, it looks like profiting from porn requires ripping off other people's content to keep the costs down and using advertising or malware for the revenue stream. We already have laws to keep advertising revenue away from child pornography.
I am not convinced availability would create demand. Conversion therapy has proved ineffective, and I have yet to hear about a single IWF employee becoming a paedo. I believe Clockwork Orange style enforced viewing of hard core child pornography would mostly cause selective amnesia - subjects would have difficulty remembering arguments against the death penalty. There is evidence that internet porn reduces rape.
Cancelling copyright for hard core child porn would not have an obvious effect on the worst pervs in it for the act itself and exchanging videos on the dark net. Tracing bitcoin transactions wont effect that either.
We currently have draconian laws criminalising teens for sexting each other. People can get into trouble because they cannot prevent receiving an unsolicited picture by email.
I would like all the alternatives considered, their pros and cons discussed, and _where_practical_, tested and revised to prevent abuse before becoming law. Simple bans have often proved ineffective.
Today, I can write to my MEP and say 'Someone on the internet made some wild accusations, and I believed them with any supporting evidence. Please vote against it.' The reply would be some vague denials and any further letter will be referred to the 'fob off the clueless twit' secretary.
I have found writing to my MEP about specific draft directives has been effective. So come on credulous brexiter, give us something specific to write to our MEPs about.
Article 50 causes two treaty negotiations: one for how we exit and another for what happens afterwards. The UK remains a full member of the EU until we abandon leaving the EU, abandon the negotiation after two years or reach an agreement approved by the European Parliament (and any member states that get special treatment).
Take care about asking the US for help: they might send us Donald Trump.
The Brexiters I have spoken with face to face (not a statistically significant sample) had their own reasons for voting leave (unrelated to leaving or remaining in the EU). Although I believe most of them are capable of reading I am not convinced any of them made the effort to read the Brexit flavoured leaflet. I literally had to show them a picture of the Boris bus before they would believe extra money was promised for the NHS.
Agreeing a proposed exit deal with the EU, publishing it, giving the people of the UK time to understand it and then having a leave/remain referendum sounds really sensible. The difficult bit will be getting people to read the document and start thinking.
Years ago there was a travesty generator posting as amanfrommars here. amanfromMars 1 is sufficiently more coherent that I have wondered if this is a human deliberately trying to fail a Turing test. My bet is that amanfromMars 1 is a bot, possibly with a human picking the best of three travesties generated from text created by us commentards.
If I am right, who are you really downvoting?
The UK parliament had the authority to argue with each other about a Brexit plan before the referendum. Lets pretend the Brexits immediately settle all their differences, come up with a plan and present it to the EU. The EU will dump it straight in the recycling because we haven't started article 50. So we pull the trigger and send another copy. The EU tell us what they think of this plan and the Brexits have to reach a consensus again.
There are three ways this can end. 1: The exit agreement is the one written by the EU in which the UK does as it is told without having any say about anything. 2: Two years pass, no proposal for extension gets a unanimous vote so we are stuck with the WTO agreement (tolerable for goods, poor for services). 3: Before the two years are up, the UK cancels the article 50 negotiations and remains a full member of the EU.
Regrettably us commentards have to translate journalist into science. 'Dog particle' -> 'Higgs boson', and 'remnants of a black hole' -> 'remnants of a star most of which collapsed into a black hole'.
Water at the bottom of a waterfall is hotter than at the top because the water collected energy as it fell. Likewise when the core of a star collapses it gets hotter and the heat causes the outer layers to expand. When the core collapses all the way to a black hole it blasts most of the outer layers away. Some outer layers stay in orbit around the black hole, and more matter gets pulled back forming an accretion disk.
An accretion disk is like the rings of Saturn, where the inner rings go round the planet faster than the outer rings. Accretion disks are much denser and friction between matter in adjacent orbits creates enough heat to glow X-ray coloured. When two black holes are close together each can have a small accretion disk where the gravity from one hole is far bigger than the other. The pair of holes have a large accretion disk that starts at a radius that is large compared to the distance between the two holes. Closer in, matter is in a chaotic orbit that switches between going around either black hole or going around the pair.
Two black holes spinning around each other have several solar masses more energy than the same to merged together. All that energy is converted into gravitational waves in a few seconds. The waves are so big we can just about detect them thousands of light years away. A thousand kilometres away from a merge, the waves are insanely powerful and do interesting things to accretion disks.
Philae's 32W solar panels could have been replaced with about 12kg of RTG. Stripping of the solar panels and replacing them with radiation shields the same mass changes nothing. Dumping the primary and rechargeable batteries saves (at a wild guess) 1.5kg and 1kg. Philae's mass is 21kg. Using an RTG would have cost several scientific instruments.
In hindsight, an RTG version of Philae would have been an interesting choice (fewer instruments require less power, so the RTG would not have been a whole 12kg). It looks like launch costs will fall quickly enough to allow launching multiple designs before politics can cope with nuclear power.
For orbit, you want gravity (GM/r² if we pretend the comet is round) equal to centripetal acceleration (v²/r if we pretend the orbit is circular). G=6.67x10⁻¹¹, M=1x10¹³kg, and r=2500m (probably above the surface most of the time) gives a velocity of about 0.5m/s (granny swims faster).
Rosetta's mass is 1230kg (small car), but its weight would be 0.13N (same as the weight of a £2 coin on Earth). Rosetta will bounce and slide until it finds some terrain that acts like a trap.
Do not laugh too much. If Theresa "Human Rights Act needs to go" May is the next PM, then she will have to find a new home secretary. We could be landed with Priti "bring back the death sentence" Patil who believes that the accused should not be allowed to talk with the media.
Plus-speedwise rectify your post or see you in joycamp.
Every hour they argue among themselves is worth 8 patents not granted. I cannot imagine the UK patent office doing something so constructive. The UK patent office is responsible for the policy of granting software patents as long as 'software' is spelled 'computer implemented invention'.
There was some rubbish in the Brexit propaganda about foreign EU judges making rulings that applied to UK companies. The bit they forgot to mention was that UK judges made rulings that applied to the whole of Europe. Once an EU court is selected for a patent dispute, that court's decision applies to the whole of Europe so companies do not have to face nuisance litigation in every state. Before Brexit, a UK company could get their case heard in the UK.
Leaving the EU will not make the European patent office go away. UK trolls will still have to file there to sue EU companies. EU trolls will still sue UK companies, but post Brexit the hearing will be outside the UK.
Years ago, like thousands of other programmers I wrote to my MEP and asked him to vote against legalising software patents. The European parliament listened, so people with time and money to burn stand a good chance of getting a computer implemented invention patent invalidated because software is mathematics which is not patentable. I have also written to UK MPs and got replies like 'I do not care about that, I just want to send money to Africa', 'programmers do not understand the benefits of the patent system so I am going to spend millions on an advertising campaign to educate them' and 'programmers do not understand patents'.
For some reason articles boasting huge Itanium sales do not plaster the internet, but the odd figure can be dug up here and there. Itanium servers do not sell in anything like the quantities of X86_64, but the do sell for vast prices. The figures I found show HP's total Itanium server revenue was well over $3B. Their average profit margin is quite low, but servers were one of their high margin products. If we assume Itanium servers had a similar high margin, then about $3B profit is quite possible.
The damages depend on what extra profit HP would have made if Oracle had met their contractual obligations. If Oracle had maintained a carefully pessimised version of their database for Itanium, and licensed it at triple the cost of builds for other architectures they could have done almost the same amount of damage with much less risk of paying out for breach of contract.
He talked about how he spoke passionately for having the referendum, MPs being held accountable for their actions and that he would deliver on campaign promises.
For me, the immediate result of the referendum was a hefty kick in the pension fund. I am so glad that he and the other Brexit MPs are going to personally reimburse me. My mum works for the NHS. A week has passed and she has yet to see evidence of the promised £350M extra funding.
From certificate of ownership of a woman to a promise to protect children. What one group calls sacred another might call strange, silly or frightening. Marriage has been beautiful for some and a joke to others for decades if not centuries. Thanks to the internet, both points of view are now brought straight to you laptop with pictures.
Today a computer cannot give consent and it cannot care whether it is treated with love or torture. One day it might be possible to replace a brain cell with a circuit that performs identically. Next imagine repeating that procedure billions of times. Is the result an electronic human with rights or a machine with none? I hope the law will be able to make a sensible distinction in time, or Elon will return to Earth to find humans became slaves to robo-butlers after they understood Planet of the Apes.
I have no problem with this guy buying a marriage to his non-sentient computer, or another marrying a tea pot. I have no problem with half the internet laughing at him. Some people will feel threatened by such marriages, just like some people feel threatened by CIA mind control rays broadcast from satellites. Half the internet laughs at them already. (In the UK we laugh silently for fear of being arrested.)
Impressive concentration! If I tried to read about the upswing in porn searches for a whole week I would start to see things like: "Google's Madrid offices are its latest to be raided in the search for giant faeces..."
Regrettably, the article is not about Google secretly transporting mammoths across the EU.
Plan Brexit: Promise £50M/day for the NHS then change their minds because that would require cancelling all EU funded projects in the UK.
Plan Orlowski: Reduce taxes by £50M/day because all the money that came back from the EU was wasted by a bunch of MEPs.
Plan year ending 2016-04: Average revenue £1866M/day.
A few cancelled UK IT projects: Centralise NHS records £11400M. 9 Fire control centres instead of 46: £469M. ID Cards £257M. E-Borders: £118M.
Clearly British MPs are at least as good at throwing UK tax payers' money down the toilet as MEPs. Although I would like the idea of plan O, I am sure the new tax reduction IT system will cost at least £50M/day to scrap.
Read the article.
That was my first thought when I read the title, but facial recognition software is not used for this form of authentication. The photo is sent to the victim's phone, and whoever has access to the phone decides if the log in is to proceed.
If you do not want to remove the tape covering your camera, just pick a random picture off the internet. If the same one arrives on your phone then you can log in while inserting garbage into the facial recognition database LogMeOnce is quietly constructing. I get the impression their computer is going to think that all techies look like Paris Hilton.
"Brexit could also be opportunity for tech suppliers as vendors look to push more business via third party suppliers to lower their own fixed costs."
Let's pretend sacking your direct sales team and outsourcing to some third parties is a good idea for some unspecified reason. Why was it impossible pre-brexit?
The first step in changing that would be to invoke article 50 of the Lisbon treaty. I have yet to see legal evidence on what causes that. The PM says so? A vote in the house of commons? What ever it is, getting it to happen this year would be difficult. After that comes negotiation with the EU. While that is going on, the UK is still a full member of the EU. The negotiations could end in an agreement at any time - if all the EU states agree, the EU parliament votes yes, and if any part of the agreement is different for a particular member, the agreement is not complete until that member's parliament votes yes. If the negotiations continue for two years, they can be extended indefinitely and repeated by unanimous vote.
The fast exits for negotiation are cave in on everything so the EU agrees before we change our minds, or irritate everyone for two years so we are kicked out without any agreement. Four years of negotiations are likely, and vaguely comparable agreements have dragged on for nine years.
The house of lords got legal advice on the EU exit procedure, and published it here. It is not that big or complicated, and I hope fellow commentards will mercilessly down vote anyone who clearly neglected to RTFM.
I can just imagine the new UK form:
Are you now, or have you every been a citizen of an EU country?
Are you now or have you ever been a doctor, dentist, nurse or any other profession that is in short supply in the UK?
Are you now or have you ever been a waiter, cleaner, fruit picker or any taken any other job that UK citizens are too stuck up to do?
Biting the hand that feeds IT © 1998–2019