But I might have missed some. There is not much difference between "return 0;" and "ret=0; goto exit_function;". Both are unconditional jumps there is no rational reason why one should be "considered harmful" and the other not.
True: You don't have to search for label. But how about the other way around: You are at the end of a loop or function - how do you know that there is or is not a break or return somewhere above?
An uncoditinal jump consists of two parts - source and destination and only goto will clearly mark both of them. At least you know there is something to search for which is a lot better then not knowing that you should be searching.
An unconditional jump consists of of two parts: the source and the destination of the jump. With goto both parts are maked inside the - with the other three only one half - the source - is visible in the code.
Imgagine:
procedure Some_Function
is
-- 200 lines of code. <<Exit_Function>>
end Some_Function:
You see the label and you know - there must be a goto somewhere - let's have a look for it.
Have you ever wrote a function / procedure with more then one return statement? Or used break or continue in a loop? Then you can use goto as well. From a structure point of view goto, break, continue and return are all unconditional jumps. They are one of a kind. And looking back in retrospect: Since goto need to be paired with a label it's the least evil of the group.
Note that Pascal the archetype of structured programming had goto but it did not have break, continue or return.
The $29.95 version won't work for Tiger users. It's right there on the pre-order page. A slap in the face for all Tiger users why though they can save a buck by skipping Leopard and go staid Snow Leopard
And personally I think they deserve it. I have a little OpenSource Java app and grieve the Tiger users have given me. They save a buck on upgrade cost and then flood me with support requests. Tightwads wasting my quality time.
We are not Symbian haters - we hate that Nokia (and Sony Ericsson) do not fully use Symbians potential. Like S60 the Userinterface on top of Symbian. Yuck. But that will - hopefully - be replaced by Qt soon.
Analogy of the day: If someone hates Gtk that does not imply he / she hates Linux as well.
Just to set things right: Sony had an eBook reader and an eBook shop before Amazon. And Sony is selling world wide - something that Amazon did no manage yet. So Sony is changing there already existing eBook reader and an eBook shop to be more attractive to customers world wide.
While Amazon only has the tiny advantage of being most successful in the US.
Quite interesting how ever pro Amazon argument I find here on/. does not scale up world wide. News-break: Humans living outside the US can read as well. And even worse: we also got money as well to buy eReaders. I know you view of the world has just scattered but there it is.
And speaking of B&N: Fictionwise which is owned by B&N and sells work wide also offers ePUB. In fact B&N themselves plans to move to ePUB as well.
As a German living in Switzerland I find postings like your rather amusing. I know that/. is US centric but that should not stop you from thinking more globally.
Yes Amazon dominates the US eBook market - but that is only 5% of human population. Amazon's T-Online and Vodafone deals when sour - so a world wide release for Kindle is further that ever.
More and more eBook shop go DRM free and DRM free ePUB can be read fine on your beloved iPhone.
As it is Sony dominates the market outside the US and Amazon inside and all bets are still open.
...is Amazon selling tons of devices. In fact they sell almost zero. I would think that world wide Sony is selling more the Amazon. Of course we don't know that as no one is releasing sales figures.
If anybody need to retreat and regroup it's Amazon after there European T-Online and Vodafone deals went sour.
I know that/. is US-centric - but the eBook market isn't and only 5% of the word population lives in the States.
From the Handango website:: Androidâ, BlackBerry®, Palm®, Windows Mobileâ, Symbian OSâ - I don't see Windows CE in the list. In fact: theses are all the smart phone operating systems which are currently available (Apart from iPhone OS X that is).
I agree with you that future is bleak for Symbian. But still:
None of which are older then 6 month. The reason that I think Symbian is on a demise is not that there are no new devices - it is that the available new devices are missing the "wow - cool" factor.
And last not least: How do you define SmartPhone OS so that the N97 is not included? My definitions is Keyboard and/or Touchscreen and native user installable applications. The N97 qualifies for all three points.
... but they don't - they charge industry average. Apple does enough questionable things there is no need to invent potential bad stuff they could also do. Also read my posting on My-Symbian on the merits of apples shop monopoly:
And Handango also sells Symbian and Symbian is not yet a fringe platform. It will be soon of course.
As for you other argument. If a publisher also becomes a distributor then he also has the cost of distribution. Web-Shops are not free - but more importantly marketing - making sure that you get the top spot on Google does not come for free either.
And practical example: I also sell directly from my webside. and it's the lowest price available (and Handango, having the shitiest conditions being highest price.).
You think I sell more for the lower price? Not alt all! I sell about 10 times at Handango, and about 10 times on Mobile2day. Yes that's approx. 19 of 20 sales via distributors. The point is marketing. Everybody (as in potential customers) knows about Handango, most about Mobile2Day - who knows about my website?
If it was not a hobby project, if I had to pay employees to keep the website and send the download links I would turn the website into an information only buy at our distributors only site. It is not worth it.
And for eBooks it must be the same. For example Randolph Lalonde a an independent SciFy author has webside, blog, Paypal account and still sells using distributors only. The Paypal is for donations only.
But eBooks need distribution as well only it is called a Web-Shop. No one runs one of those for free. Apple, Handango, etc. pp. they all take a 30% or more cut + credit card fees that is. I know, I sell mobile phone applications.
While I agree that they should be cheaper 20% of paperback price is not realistic.
And one more thing: True eBooks can't be resold - however I buy DRM free if at all possible (my apps are DRM free as well) - and those can be copied as often as one likes and without loss of quality.
"For larger print runs, the cost of printing a book comes to just 10% of a bookâ(TM)s price. So the perception that ebooks should be a lot cheaper than physical books because thereâ(TM)s no printing or binding is inaccurate."
Well I live in Germany and here Italian expatriates make the ice cream - and they use milk and cream instead of water - and still the cost of the materials is tiny compared to all over price.
And this is what I wanted to transport to OP: That paper and ink might not the largest cost in the producing a book.
Buy ePUB without DRM then. Or even ePUB with DRM as ADE has been hacked. Don't mix device and shop - unlike Amazon's Kindle they are different things - there are dozens of shops where you can buy books for the Sony.
And: the protected format is LRX - LRF is the DRM free version;-) .
But I might have missed some. There is not much difference between "return 0;" and "ret=0; goto exit_function;". Both are unconditional jumps there is no rational reason why one should be "considered harmful" and the other not.
True: You don't have to search for label. But how about the other way around: You are at the end of a loop or function - how do you know that there is or is not a break or return somewhere above?
An uncoditinal jump consists of two parts - source and destination and only goto will clearly mark both of them. At least you know there is something to search for which is a lot better then not knowing that you should be searching.
An unconditional jump consists of of two parts: the source and the destination of the jump. With goto both parts are maked inside the - with the other three only one half - the source - is visible in the code.
Imgagine:
procedure Some_Function
is
-- 200 lines of code.
<<Exit_Function>>
end Some_Function:
You see the label and you know - there must be a goto somewhere - let's have a look for it.
Have you ever wrote a function / procedure with more then one return statement? Or used break or continue in a loop? Then you can use goto as well. From a structure point of view goto, break, continue and return are all unconditional jumps. They are one of a kind. And looking back in retrospect: Since goto need to be paired with a label it's the least evil of the group.
Note that Pascal the archetype of structured programming had goto but it did not have break, continue or return.
The $29.95 version won't work for Tiger users. It's right there on the pre-order page. A slap in the face for all Tiger users why though they can save a buck by skipping Leopard and go staid Snow Leopard
And personally I think they deserve it. I have a little OpenSource Java app and grieve the Tiger users have given me. They save a buck on upgrade cost and then flood me with support requests. Tightwads wasting my quality time.
Martin
We are not Symbian haters - we hate that Nokia (and Sony Ericsson) do not fully use Symbians potential. Like S60 the Userinterface on top of Symbian. Yuck. But that will - hopefully - be replaced by Qt soon.
Analogy of the day: If someone hates Gtk that does not imply he / she hates Linux as well.
They where offline for about 2 hours.
Either that or I have a very shitty connection right now. Anybody to confirm?
Even if not modified they still have to offer the source.
Just to set things right: Sony had an eBook reader and an eBook shop before Amazon. And Sony is selling world wide - something that Amazon did no manage yet. So Sony is changing there already existing eBook reader and an eBook shop to be more attractive to customers world wide.
While Amazon only has the tiny advantage of being most successful in the US.
Quite interesting how ever pro Amazon argument I find here on /. does not scale up world wide. News-break: Humans living outside the US can read as well. And even worse: we also got money as well to buy eReaders. I know you view of the world has just scattered but there it is.
And speaking of B&N: Fictionwise which is owned by B&N and sells work wide also offers ePUB. In fact B&N themselves plans to move to ePUB as well.
The DRM layer is optional - there are quite a few customer friendly eBook shops who sell without DRM.
There are enough of them
http://wiki.mobileread.com/wiki/E-book_Reader_Matrix
As a German living in Switzerland I find postings like your rather amusing. I know that /. is US centric but that should not stop you from thinking more globally.
Yes Amazon dominates the US eBook market - but that is only 5% of human population. Amazon's T-Online and Vodafone deals when sour - so a world wide release for Kindle is further that ever.
More and more eBook shop go DRM free and DRM free ePUB can be read fine on your beloved iPhone.
As it is Sony dominates the market outside the US and Amazon inside and all bets are still open.
Martin
...is Amazon selling tons of devices. In fact they sell almost zero. I would think that world wide Sony is selling more the Amazon. Of course we don't know that as no one is releasing sales figures.
If anybody need to retreat and regroup it's Amazon after there European T-Online and Vodafone deals went sour.
I know that /. is US-centric - but the eBook market isn't and only 5% of the word population lives in the States.
Martin
And to answer your question:
http://www.beam-ebooks.de/lesesoftware/
http://www.libri.de/shop/action/maga...ub_format.html
http://www.bol.de/shop/neuheiten-epubs/show/
https://www.smashwords.com/books/view/3249
http://www.fictionwise.com/help/eBook-formats-FAQ.htm
http://www.waterstones.com/waterston...e.do?ctx=10030
http://ebooks.whsmith.co.uk/
And fill it with not to offensive pornography. Of course in Britain that would be rather dull stuff.
For deniability you have to present something highly embracing but not illegal as well.
Martin
From the Handango website:: Androidâ, BlackBerry®, Palm®, Windows Mobileâ, Symbian OSâ - I don't see Windows CE in the list. In fact: theses are all the smart phone operating systems which are currently available (Apart from iPhone OS X that is).
I agree with you that future is bleak for Symbian. But still:
http://europe.nokia.com/find-products/devices/nokia-n97
http://www.sonyericsson.com/cws/products/mobilephones/overview/satio
http://omniahd.samsungmobile.com/
None of which are older then 6 month. The reason that I think Symbian is on a demise is not that there are no new devices - it is that the available new devices are missing the "wow - cool" factor.
And last not least: How do you define SmartPhone OS so that the N97 is not included? My definitions is Keyboard and/or Touchscreen and native user installable applications. The N97 qualifies for all three points.
Martin
... but they don't - they charge industry average. Apple does enough questionable things there is no need to invent potential bad stuff they could also do. Also read my posting on My-Symbian on the merits of apples shop monopoly:
http://my-symbian.com/forum/viewtopic.php?t=40017&postdays=0&postorder=asc&start=105
And Handango also sells Symbian and Symbian is not yet a fringe platform. It will be soon of course.
As for you other argument. If a publisher also becomes a distributor then he also has the cost of distribution. Web-Shops are not free - but more importantly marketing - making sure that you get the top spot on Google does not come for free either.
And practical example: I also sell directly from my webside. and it's the lowest price available (and Handango, having the shitiest conditions being highest price.).
You think I sell more for the lower price? Not alt all! I sell about 10 times at Handango, and about 10 times on Mobile2day. Yes that's approx. 19 of 20 sales via distributors. The point is marketing. Everybody (as in potential customers) knows about Handango, most about Mobile2Day - who knows about my website?
If it was not a hobby project, if I had to pay employees to keep the website and send the download links I would turn the website into an information only buy at our distributors only site. It is not worth it.
And for eBooks it must be the same. For example Randolph Lalonde a an independent SciFy author has webside, blog, Paypal account and still sells using distributors only. The Paypal is for donations only.
Martin
But eBooks need distribution as well only it is called a Web-Shop. No one runs one of those for free. Apple, Handango, etc. pp. they all take a 30% or more cut + credit card fees that is. I know, I sell mobile phone applications.
While I agree that they should be cheaper 20% of paperback price is not realistic.
And one more thing: True eBooks can't be resold - however I buy DRM free if at all possible (my apps are DRM free as well) - and those can be copied as often as one likes and without loss of quality.
Yes I can:
http://ireaderreview.com/2009/05/03/book-cost-analysis-cost-of-physical-book-publishing
May I quote for you:
"For larger print runs, the cost of printing a book comes to just 10% of a bookâ(TM)s price. So the perception that ebooks should be a lot cheaper than physical books because thereâ(TM)s no printing or binding is inaccurate."
Martin
Well I live in Germany and here Italian expatriates make the ice cream - and they use milk and cream instead of water - and still the cost of the materials is tiny compared to all over price.
And this is what I wanted to transport to OP: That paper and ink might not the largest cost in the producing a book.
So you want the Author, the Lector, the Layouter, the Publisher, the Web-Designer, the Server Operator, etc pp to start begging on the street corner?
There was once a report on the production cost of ice cream for a café. The material (milk, fuit, cream) was the smallest part - something around 10% or so and profit the 2nd smallest. Then came the the rent for the outlet and the largest part where staff salaries.
nothing wrong in buying $300 worth of eBooks - just make sure they come without DRM. Or at least with a DRM which has been cracked.
Buy ePUB without DRM then. Or even ePUB with DRM as ADE has been hacked. Don't mix device and shop - unlike Amazon's Kindle they are different things - there are dozens of shops where you can buy books for the Sony.
And: the protected format is LRX - LRF is the DRM free version ;-) .