A Photography forum. PhotoBanter.com

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PhotoBanter.com forum » Digital Photography » Digital Photography
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Resurrecting a jpeg?



 
 
Thread Tools Display Modes
  #131  
Old December 1st 19, 09:07 PM posted to alt.computer.workshop,rec.photo.digital
Commander Kinsey
external usenet poster
 
Posts: 548
Default Resurrecting a jpeg?

On Sun, 01 Dec 2019 20:21:49 -0000, Alan Browne wrote:

On 2019-12-01 13:49, Commander Kinsey wrote:
On Sun, 01 Dec 2019 18:43:31 -0000, Alan Browne
wrote:

On 2019-11-30 17:05, Commander Kinsey wrote:
On Sat, 30 Nov 2019 20:22:56 -0000, Alan Browne
wrote:

On 2019-11-30 14:39, Commander Kinsey wrote:
On Sat, 30 Nov 2019 19:16:02 -0000, Alan Browne
wrote:

On 2019-11-30 13:59, Commander Kinsey wrote:
On Sat, 30 Nov 2019 15:21:47 -0000, Alan Browne
wrote:

Not sure. Since one can interrupt a DL it would be a pity to
dispose of
part of a given chunk that's already been captured. "Pieces" (chunks)
are commonly 256KB (but don't have to be - not sure if that's an
upper
limit to the size). And as you know some peers don't have very fast
upload speeds (or are choking it).

I would think it doesn't happen often enough to bother with the extra
overheads, which would slow down everyone's transfers anyway. Far
easier to keep track of 200 pieces than a possible 30000.

A pointer per chunk to be saved. So if you have a 1000 chunk torrent,
then you have a 4 KB sidecar file to save. Nothing in today's terms.
Then when you restart the transfer you need to tell the peers about
what
each chunk's pointer is at. Nothing much to that. Indeed the overhead
for validating each chunk (hashes) is far more than that. (To be
clear,
I'm not suggesting it is so - but it could be implemented that way).

I thought chunks were so small it wasn't worth bothering with that. You
normally get the whole chunk in seconds, even on a slow connection,
which would just get less chunks simultaneously.

The default (or common) chunk size is 256 kB which is not small. For
someone with a decent connection (mine eg: 130 Mb/s) it's a mere 16 ms
(if the peer is giving or taking at that speed - not often) but for
someone in a poorly served area and/or connected to a bunch of poorly
served (or serving) peers, it is significant. Thus adding a pointer
request would be worth it for both parties when one or the other is slow.


In 1995, when I first joined the internet, I had a 33.3kbps modem. Even
back then, that chunk would only take 1 minute. Nobody is on anything
like that slow a speed now, so yes, those chunks are VERY small.

When I bother to look I sometimes see some peers giving out, eg, 5 kB/s
- or worse. So that 256 kB chunk would take a full minute.


A minute is a very small amount of time. If for some reason you are
stopped from downloading in the middle of it, you will waste on average
30 seconds of downloading if the chunk is discarded. No big deal.


OTOH, it take a few ms to relay the pointer and many seconds are saved.
If there were 20 incomplete chunks then it really begins to add up.


It depends on how often this happens. I'm sure most torrenters are like me, they'll run the software for hours, or until the torrent is done. Not many chunks are half completed.

(Notation notes: I use the ad hoc convention B for byte and b for bit
And we should write pieces, not chunks, or the pedants about will take
umbrage).


What is a chunk then?

I would use the word pieces when something has fallen apart.


In "torrent speak" a "piece" is what you and I have been heretofore
referring to as a chunk. I take a piece to also be a subassembly or part.


I've always heard "chunk":

https://forum.utorrent.com/topic/184...ize-for-films/
"What's your Best Chunk Size for Films?"

https://www.techjunkie.com/how-to-ma...wnload-faster/
"When a new peer joins the system and is looking for a file, the torrenting software breaks the file into many tiny chunks. The software then looks for peers that have already obtained the chunks that the new peer still needs"

https://electronicspost.com/how-bittorrent-works/
"Peers in a torrent download equal-size chunks of the file from one another, with a typical chunk size of 256 Kbytes."

Mind you when I worked in a kilt factory they called things pieces -
sections of material in the warehouse later to be made into clothing.
And no I had nothing to do with making the kilts, I was the IT support.

  #132  
Old December 1st 19, 09:22 PM posted to alt.computer.workshop,rec.photo.digital
Alan Browne[_2_]
external usenet poster
 
Posts: 696
Default Resurrecting a jpeg?

On 2019-12-01 16:07, Commander Kinsey wrote:
On Sun, 01 Dec 2019 20:21:49 -0000, Alan Browne


(Notation notes: I use the ad hoc convention B for byte and b for bit
And we should write pieces, not chunks, or the pedants about will take
umbrage).

What is a chunk then?

I would use the word pieces when something has fallen apart.


In "torrent speak" a "piece" is what you and I have been heretofore
referring to as a chunk.* I take a piece to also be a subassembly or
part.


I've always heard "chunk"


Decoded sample from a torrent file:

{
'announce': 'http://bttracker.debian.org:6969/announce',
'info':
{
'name': 'debian-503-amd64-CD-1.iso',
'piece length': 262144,
'length': 678301696,
'pieces': binary SHA1 hashes
}
}

Raw torrent (this is somewhat 'inside' a different torrent file).

by13:uTorrent/187013:creation
datei1511171856e8:encoding5:UTF-84:infod6:lengthi7860501651e4:name15:ethos-1.2.7.iso12iece
lengthi2097152e6ieces74980:



--
"Even with the brain dead, the pig's heart keeps on beating...
sort of like ... pick a Kardashian."
-Anthony Bourdain, Parts Unknown
  #133  
Old December 1st 19, 09:32 PM posted to alt.computer.workshop,rec.photo.digital
Bill W
external usenet poster
 
Posts: 1,692
Default Resurrecting a jpeg?

On Sun, 1 Dec 2019 15:32:21 -0500, Alan Browne
wrote:

On 2019-11-30 19:50, Bill W wrote:

A header is text, right? Have you ever edited text before? What
special software did you use?


The first header in a JPG is definitely not text alone and begins with 5
non-printable chars. Often an "Exif" field then starts but it too can
contain a lot of non-printable chars. Editing such with a text editor
would be challenging at best and not supported in many cases.


I have no doubt that you're correct. My reply to Kinsey was intended
only as a sarcastic reply to a troll.
  #134  
Old December 1st 19, 09:35 PM posted to alt.computer.workshop,rec.photo.digital
Commander Kinsey
external usenet poster
 
Posts: 548
Default Resurrecting a jpeg?

On Sun, 01 Dec 2019 21:22:25 -0000, Alan Browne wrote:

On 2019-12-01 16:07, Commander Kinsey wrote:
On Sun, 01 Dec 2019 20:21:49 -0000, Alan Browne


(Notation notes: I use the ad hoc convention B for byte and b for bit
And we should write pieces, not chunks, or the pedants about will take
umbrage).

What is a chunk then?

I would use the word pieces when something has fallen apart.

In "torrent speak" a "piece" is what you and I have been heretofore
referring to as a chunk. I take a piece to also be a subassembly or
part.


I've always heard "chunk"


Decoded sample from a torrent file:

{
'announce': 'http://bttracker.debian.org:6969/announce',
'info':
{
'name': 'debian-503-amd64-CD-1.iso',
'piece length': 262144,
'length': 678301696,
'pieces': binary SHA1 hashes
}
}

Raw torrent (this is somewhat 'inside' a different torrent file).

by13:uTorrent/187013:creation
datei1511171856e8:encoding5:UTF-84:infod6:lengthi7860501651e4:name15:ethos-1.2.7.iso12iece
lengthi2097152e6ieces74980:


It's just a word. Bonnet, hood. Arse, ass. Fanny, buttocks.
  #135  
Old December 1st 19, 10:04 PM posted to alt.computer.workshop,rec.photo.digital
Shadow
external usenet poster
 
Posts: 179
Default A public apology (was - Resurrecting a jpeg?)

On Sun, 01 Dec 2019 18:36:13 -0000, "Commander Kinsey"
wrote:

On Sun, 01 Dec 2019 18:00:35 -0000, Char Jackson wrote:

On Sun, 1 Dec 2019 17:50:48 +0000, David wrote:

On 30/11/2019 22:07, Commander Kinsey wrote:
On Sat, 30 Nov 2019 20:21:49 -0000, David wrote:

OK - you win! :-)

*IF* you bought a CD, though, the artist WOULD get a proportion of what
you paid for it.

So you've never even copied cassettes or CDs around friends locally? Or
copied off a radio? Everyone did that. Torrents are just that worldwide.

If "everyone did that" then I accept that I must have done too.


You've said many times that you're in favor of punishment for bad behavior,
so how about you stand up straight, chest out, chin down, and take some
punishment. I think you should report yourself, just as you claim to have
done to others.


What is the punishment for a naughty navy boy? Does it involve bare buttocks?


That would be a reward.
Punishment? Maybe not being allowed to *LIE* for a day.
[]'s
--
Don't be evil - Google 2004
We have a new policy - Google 2012
  #136  
Old December 1st 19, 10:10 PM posted to alt.computer.workshop,rec.photo.digital
Shadow
external usenet poster
 
Posts: 179
Default [OT]A public apology (was - Resurrecting a jpeg?)

On Sun, 01 Dec 2019 18:37:27 -0000, "Commander Kinsey"
wrote:

Er....why are you apologizing for such a tiny error? That would be like me apologizing for missing out a comma.


Because it wasn't an apology, it was a *LIE*. He's scared
someone might bring it up next time he files a DMCA takedown request.
Seems "Mrs B", whoever she is, uses a program that strips ALL
ads from the downloads.

OT up. Originally posted to a non-music group.

If you know BD, ignore the sig:

---------------
BD: I want people to "get to know me better. I have nothing to
hide".
I'm always here to help, this page was put up at BD's request,
rather, he said "Do it *NOW*!":

http://tekrider.net/pages/david-brooks-stalker.php

63 confirmed #FAKE_NYMS, most used in cybercrimes!
Google "David Brooks Devon"
[]'s
--
Don't be evil - Google 2004
We have a new policy - Google 2012
  #137  
Old December 1st 19, 10:22 PM posted to alt.computer.workshop,rec.photo.digital
Commander Kinsey
external usenet poster
 
Posts: 548
Default [OT]A public apology (was - Resurrecting a jpeg?)

On Sun, 01 Dec 2019 22:10:08 -0000, Shadow wrote:

On Sun, 01 Dec 2019 18:37:27 -0000, "Commander Kinsey"
wrote:

Er....why are you apologizing for such a tiny error? That would be like me apologizing for missing out a comma.


Because it wasn't an apology, it was a *LIE*. He's scared
someone might bring it up next time he files a DMCA takedown request.
Seems "Mrs B", whoever she is, uses a program that strips ALL
ads from the downloads.


When did it become illegal to remove adverts? Since the invention of the VCR, people have fastforwarded ads. Even before then, you'd leave them room and go to the toilet, make a cup of coffee, or put it on mute. **** the advertisers.

OT up.


Er what?

Originally posted to a non-music group.

  #138  
Old December 1st 19, 11:10 PM posted to alt.computer.workshop,rec.photo.digital
David[_22_]
external usenet poster
 
Posts: 72
Default A public apology (was - Resurrecting a jpeg?)

On 01/12/2019 18:37, Commander Kinsey wrote:
On Sun, 01 Dec 2019 17:50:48 -0000, David wrote:

On 30/11/2019 22:07, Commander Kinsey wrote:
On Sat, 30 Nov 2019 20:21:49 -0000, David wrote:


OK - you win! :-)

*IF* you bought a CD, though, the artist WOULD get a proportion of what
you paid for it.

So you've never even copied cassettes or CDs around friends locally?* Or
copied off a radio?* Everyone did that.* Torrents are just that
worldwide.


If "everyone did that" then I accept that I must have done too.


Presumably you know enough about the English language to realise that I
meant "pretty much everyone".* So if you didn't, you are very odd.


Odd I am, that's for sure! :-)

IIRC, I used to tape music played on Radio Luxembourg
https://en.wikipedia.org/wiki/Radio_Luxembourg

That was in the days of Horace Bachelor!
https://www.youtube.com/watch?v=ydQ8I-qLH4o

AND that was way before you were born! AND before 'Cassette Tapes' had
even been invented! ;-)

I had a second-hand reel-to-reel tape recorder and I modified my radio
to feed a signal directly into the recorder without using a microphone.
Was that illegal? It was for personal use only! ;-)

I can't recall the last time I paid for any music. It seems to be
everywhere nowadays - Spotify is magic; I don't mind the ads!

How the **** can you stand ads?* I remove them from everywhere
possible.* And any website that prohibits me using an ad-blocker does
not
get my custom.

I must confess - I don't actually listen to much music nowadays. Mrs B.
has somehow downloaded a selection of tracks from Spotify and put into
different folders depending on type of music - and NONE of the ads are
present!

Perhaps she used a highly illegal ad remover?* Depriving the artist of
ad revenue!!* I do that on Youtube, not sure if I'm fiddling Youtube or
the guy who uploaded the video.


I've now had a chance to liaise with my other half. It appears that I
completely misunderstood the situation.

There are, indeed, different folders containing batches of music tracks
which Mrs B. has preprepared for her personal enjoyment. Although I have
never noticed same, it transpires that there *ARE* adverts which play
from time to time - but they are not transmitted between each and every
track. Mrs B. says maybe three instances every half an hour or so.

So, my apology for misleading the folk who read these groups. I am
sorry. It was unintentional.

Yours sincerely,

David B.


Er....why are you apologizing for such a tiny error?* That would be like
me apologizing for missing out a comma.


Maybe you will understand if you read the answers he-

Message-ID: s.com

http://al.howardknight.net/?ID=157524089900

Maybe you'd like to respond - expressing YOUR views?

  #139  
Old December 1st 19, 11:39 PM posted to alt.computer.workshop,rec.photo.digital
David[_22_]
external usenet poster
 
Posts: 72
Default Resurrecting a jpeg?

On 01/12/2019 18:41, Commander Kinsey wrote:
On Sun, 01 Dec 2019 07:42:41 -0000, David wrote:

On 30/11/2019 23:12, Commander Kinsey wrote:
On Sat, 30 Nov 2019 22:48:03 -0000, David wrote:

On 30/11/2019 22:21, Commander Kinsey wrote:
On Sat, 30 Nov 2019 20:15:22 -0000, David
wrote:

On 30/11/2019 19:36, Commander Kinsey wrote:
On Sat, 30 Nov 2019 19:06:11 -0000, David
wrote:

On 30/11/2019 18:32, Commander Kinsey wrote:
On Sat, 30 Nov 2019 02:09:57 -0000, Shadow wrote:

On Fri, 29 Nov 2019 20:14:15 +0000, David
wrote:

On 29/11/2019 20:04, Mike Easter wrote:
Commander Kinsey wrote:
Why on earth do I have to have the first part?Â* Think back to
modem
days, viewing a large image in a web browser, it would
display it
bit
by bit as it downloaded.Â* Surely if you only have the second
half,
you'd just get the top bit of the image missing?Â* Ok, so you
don't
have the header to tell it what width to use, but surely the
user
could input that data, or adjust until it looked right?

The big problem is the result of the compression algo.Â* You
don't
really
have 'part of the picture'.Â* You have a bunch of bits that
resulted
from
the compression of part of the picture.Â* jpeg/s can be
compressed
various ways.

Could YOU extract a picture from a Torrent, Mike?

Â*Â*Â* Torrents don't contain pictures, dumbass.

You can't be that ignorant.Â* A torrent can be of any type of file
you
like.Â* You can download an ISO image, a bunch of exe files, a
load of
mp3s, or a set of photographs.

Yes - he *IS* ignorant!

Â*Â*Â* It's like asking "can you extract a picture from the glass
I'm
holding?"

No it isn't.Â* Glasses usually only contain liquids, although it
would be
possible to pour sand into one, or to roll up a printed photo and
insert
it into the glass.

Why I bought an Apple iPad -
https://www.youtube.com/watch?v=6a8Eimr-fm0

Do they actually have a real use?Â* As far as I can see they're just
the
same as any other tablet, but at twice the price, with a ****
battery.

The video should have convinced you! ;-)

That could be done with any tablet.Â* Nothing special about an Apple
device, it's the trickery of the magician that counts.

I thought it a very clever advert - and a very clever magician!

I've NEVER seen a 'pad' as good as my iPad Pro - the big one! ;-)

There is nothing else to match it - that's in MY opinion.

That's like saying a Ford is better than a Vauxhall.Â* They're all the
same, except price.Â* And in Apple's case, incompatibility.


You might THINK that, but you are wrong!

Go and visit your Stormfront shop and spend half an hour playing on an
iPad Pro ....... and on an iMac too! They simply exude quality - far
more like a Rolls Royce or a Bentley!


They're shiny.Â* Form over function.Â* I'll take the function thanks.Â* At
a lower price.Â* How much is a new iphone?


You've not done as I suggested have you? Had you done so you could have
checked the iPhone prices whilst in store. Did you note that Stormfront
give a THREE YEAR guarantee on all Apple products?
  #140  
Old December 1st 19, 11:42 PM posted to alt.computer.workshop,rec.photo.digital
Commander Kinsey
external usenet poster
 
Posts: 548
Default A public apology (was - Resurrecting a jpeg?)

On Sun, 01 Dec 2019 23:10:12 -0000, David wrote:

On 01/12/2019 18:37, Commander Kinsey wrote:
On Sun, 01 Dec 2019 17:50:48 -0000, David wrote:

On 30/11/2019 22:07, Commander Kinsey wrote:
On Sat, 30 Nov 2019 20:21:49 -0000, David wrote:

OK - you win! :-)

*IF* you bought a CD, though, the artist WOULD get a proportion of what
you paid for it.

So you've never even copied cassettes or CDs around friends locally? Or
copied off a radio? Everyone did that. Torrents are just that
worldwide.

If "everyone did that" then I accept that I must have done too.


Presumably you know enough about the English language to realise that I
meant "pretty much everyone". So if you didn't, you are very odd.


Odd I am, that's for sure! :-)

IIRC, I used to tape music played on Radio Luxembourg
https://en.wikipedia.org/wiki/Radio_Luxembourg

That was in the days of Horace Bachelor!
https://www.youtube.com/watch?v=ydQ8I-qLH4o

AND that was way before you were born! AND before 'Cassette Tapes' had
even been invented! ;-)

I had a second-hand reel-to-reel tape recorder and I modified my radio
to feed a signal directly into the recorder without using a microphone.
Was that illegal? It was for personal use only! ;-)


The same goes for almost everyone using piratebay....

You didn't pay for your music! Hypocrite!

I can't recall the last time I paid for any music. It seems to be
everywhere nowadays - Spotify is magic; I don't mind the ads!

How the **** can you stand ads? I remove them from everywhere
possible. And any website that prohibits me using an ad-blocker does
not
get my custom.

I must confess - I don't actually listen to much music nowadays. Mrs B.
has somehow downloaded a selection of tracks from Spotify and put into
different folders depending on type of music - and NONE of the ads are
present!

Perhaps she used a highly illegal ad remover? Depriving the artist of
ad revenue!! I do that on Youtube, not sure if I'm fiddling Youtube or
the guy who uploaded the video.

I've now had a chance to liaise with my other half. It appears that I
completely misunderstood the situation.

There are, indeed, different folders containing batches of music tracks
which Mrs B. has preprepared for her personal enjoyment. Although I have
never noticed same, it transpires that there *ARE* adverts which play
from time to time - but they are not transmitted between each and every
track. Mrs B. says maybe three instances every half an hour or so.

So, my apology for misleading the folk who read these groups. I am
sorry. It was unintentional.

Yours sincerely,

David B.


Er....why are you apologizing for such a tiny error? That would be like
me apologizing for missing out a comma.


Maybe you will understand if you read the answers he-

Message-ID: s.com

http://al.howardknight.net/?ID=157524089900

Maybe you'd like to respond - expressing YOUR views?


I agree that there should be a statute of limitations. Although the UK doesn't seem to have that.

But it's ****ing ridiculous that he wasn't done for it at the time.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JPEG 9 new lossless JPEG standard Alfred Molon[_4_] Digital Photography 26 February 13th 13 12:45 PM
jpeg and jpeg 2000 Conrad Digital Photography 71 February 3rd 07 11:04 PM
Better JPEG program - minimized JPEG degredation Paul D. Sullivan Digital Photography 14 January 30th 07 07:34 PM
RAW vs. jpeg Conrad Digital Photography 9 September 30th 06 02:01 PM
Nikon D70 RAW converted to JPEG - jpeg file size 3MB ? 5 MB? Amit Digital Photography 1 March 16th 06 06:50 PM


All times are GMT +1. The time now is 03:01 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PhotoBanter.com.
The comments are property of their posters.