34 posts • joined 28 Oct 2010
The problem isn't C
It's the spec. At this point we have a binary blob of known length B. The spec says the blob has a header byte, a two-byte payload length P, and some unspecified data which must be echoed. The intent is that the transfer mechanism can add padding so that B >= P+2+1 but there's nothing in the wire protocol to ensure this. The fault is not checking that P is appropriate to B and could occur in any language; other languages with bounds checking have been suggested in other threads but you still need a constructor - if the implementer uses "byte data[P]" rather than "byte data[B-2-1]" you have the same bug. Further, with hindsight you should use [min(P, B-2-1)] but would you think of that first?
don't forget Amazon
I locate the two small springy things: on my phones and tablet, they are inserted upwards, on the Kindles the other way.
I'll stick with Sudoku on my phone.
Leia and Luke are siblings...
offspring of original stars Han Solo AND Princess Leia, OR Luke Skywalker.
Re: Things change: Ireland
I played Dromoland Castle golf course some years ago (you may remember it for the Pro/Celebrity TV programme over Christmas/New Year - which is why I wanted to play it). The original 9 holes were built in the days of yards, the second 9 in metres; the distance markers were accordingly in a mixture of metres (new holes) and yards (old). Problem: the tees and greens have since been moved and 1. not all the markers have been updated and 2. some of the 'old' markers are now on 'new' holes and vice versa; you really must use your eyes or be 30 yards wrong into the green!
Re: Cable/Fixed line telcos are all trying it on
Nationalise all telcos? Look up Britain's General Post Office/Post Office Telecommunications/British Telecom for an example. When I was at uni in the early '80s, we weren't allowed to run a network link between two adjacent buildings: it had to be run to a junction box half a mile away and then back again, by BT engineers, and took months. Good of the nation?
On the other hand, I moved off 3 because of its 3G: my phone insisted on trying to keep a 3G connection, just in case I wanted to switch to video, and voice calls were often dropping out during the conversation. This is Cambridge, the supposed heart of "Silicon Fen".
Personal anecdote of no evidential worth
I have just been away for two weeks with my phone (HTC1X), my tablet (Nexus7) and my Kindle. My problem wasn't chargers, but wall sockets! I survived by plugging in my laptop (Lenovo 3000 N100: old but v.good screen), then using three USB-to-mUSB cables at once, remembering to insert into the Kindle other-way-up.
It's in a vacuum, weightless, and it sublimes quickly.
I had hoped that EBITDA had been exposed by the last dotcom crash as a useless method of valuing a company!
Re: No MMS?
I rarely use MMS ... because of the cost! I've had phones with O2, 3 and Vodafone and they all charge approx US$1 per photo. Better to wait for a WiFi signal and email.
Last time I flew from Goa I forgot to switch my phone off, and arrived at Heathrow to a text saying "Welcome to Vodafone Turkey"!
Re: Research is needed
I prefer Antigua. The wind can be cold on Jamaica's north shore...
Re: Price Fixing?
"chosen by Amazon to gain the most money for Amazon whilst crushing publishers and authors"
No: Amazon are prepared to take a small slice, wishing the pie to grow. Apple wanted a large slice for its iBooks so the publishers had to sell to Apple at a higher price than to Amazon, just to maintain their income. The MFN clause meant that the publishers would automatically stop selling cheaper books to Amazon => the pie doesn't grow &/or the customer loses.
Declaration of interest: I do have a Kindle but buy many of my books as EPUBs (not from Amazon) so I can emend the worst typos and then convert to MOBI.
Re: AC @ 12:49 - Google vs Microsoft
The key was that IBM published the technical specifications of the IBM PC, just as they did for their larger, more expensive, products. That openness allowed other companies to supply add-in boards and peripherals that IBM did not supply, and when the BIOS was cloned, complete compatible systems could be produced.
As a *nix-based Brit, I do not know the exact details of MS's behaviour from personal experience, but the gist seemed to be 1. they promised system producers to undercut the prices of their OS competiors and 2. they would supply MSDOS even cheaper, if the manufacturers didn't offer a competing OS at all. This uncompetitive behaviour was eventually stopped, but too late for the competition.
Re: Build it and they will come
Upvoted: I was the same ... I started with Altavista (work related), moved to Yahoo! as its UK index was better for my searches (holiday related), and then Google appeared, better all round. As to its use of my data to produce targeted ads, it's not very good at it! Big Brother: asleep on the job.
Re: Dont dis Round the Twist
Hands off PrisonerCBH!
(I also Have fond memories of Skippy the Bush Kangaroo.)
RE: UN Security Council
I vote for that: the French wouldn't!
10 years ago I used mainly Sun and HP machines under CDE. When I had to install software on Apple Mac or MS Windows machines, they were so clumsy by comparison.
Paris, 'cos she's an icon.
You get what you pay for, and you DO pay!
A minute with my phone's calculator shows that a DRAM array of the same size as the disks costs over $110 million, almost exactly thirty two times as much.
I use Unix for work, Linux for pleasure, but I can usually help people when they want advice on their MS or Apple machines, even though that may be my first exposure for weeks. If a knowledgeable user can't find something, he's probably not going to roll out an office-full.
Re: I have a bad feeling about this.
Google have had my number for three years (in case I need a password reset or similar) and they have never spammed me.
Would this be the BG who want me to buy a new boiler, thereby saving at least £100 pa on gas, but then they would charge me £135 for its annual service?
Huevas Ranchero: fond memories
Some 20 years ago, I was sent to California to debug someone else's code for a Data General machine (Eclipse IIRC - different numbers for byte or word addressing was the problem). I used to have Huevos Ranchero at my hotel for breakfast, but it also came with chilli beef and refried beans! It set me up for the day of fighting this stuff which was lucky to run on any machine...
Re: Horror of horrors
I not only agree so that I upvoted your comment, I compliment you on the correct use of apostrophes!
Re: How much greasing was required here.
It's locked in that the MOBI files you buy from Amazon are locked, but there's millions of free ones out there, and Calibre will convert EPUBs as required. The battery life is the killer: upwards of a week for me and I read a lot! Tablets can't touch that.
I enjoyed the chivalry-and-swords one so much that I bought the DVD.
Beer because it's a sunny Sunday afternoon ... guess where I'm going next!
Re: Backward step
The point of hydrocarbon fuel is its energy density: more per tankful. It is easily synthesised from water and atmospheric carbon dioxide - plants do it all the time.
Beer ... because it contains a hydrocarbon!
If I recall correctly, the nub of the MSDOS v DRDOS case was that MS i. promised to undercut whatever DRDOS quoted and ii. would charge even less if the OEM didn't offer DRDOS at all. Unsurprising that Digital Research lost and that prices then rose.
As ebooks go, Apple can still compete if Amazon price aggressively; what they cannot do is cream their normal 30% off the top.
It's Apple being fined there ... charging extra for legally mandated stiff, IIRC.
Or do people do peas?
I was working with VMs on IBM kit 30 years ago. Any patents they have must be of fine details, easily worked round, or fail because of prior art. Though Texas courts seem lenient with patent holders...
Paris? Just because I can!
About nine times??? Shirley not!
I have a 4GB stick (TDK) to backup my photos etc which cost less than $100, bought in Cambridge, England.
MKS vs. CGS
An important difference between MKS and CGS is the unit of work. To raise perhaps 80kg by 1 metre in a 1g (10 m/s2) gravity field uses 800 Joules; in CGS, that is 80 million ergs, and that's only enough for me to get out of bed in the morning!
- Updated Zucker punched: Google gobbles Facebook-wooed Titan Aerospace
- Elon Musk's LEAKY THRUSTER gas stalls Space Station supply run
- Windows 8.1, which you probably haven't upgraded to yet, ALREADY OBSOLETE
- Mounties always get their man: Heartbleed 'hacker', 19, CUFFED
- Android engineer: We DIDN'T copy Apple OR follow Samsung's orders