Click here to Skip to main content
15,898,924 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Data Compression Pin
Dave Kreskowiak13-Jan-21 16:20
mveDave Kreskowiak13-Jan-21 16:20 
GeneralRe: Data Compression Pin
harold aptroot13-Jan-21 16:50
harold aptroot13-Jan-21 16:50 
GeneralRe: Data Compression Pin
OriginalGriff13-Jan-21 19:51
mveOriginalGriff13-Jan-21 19:51 
GeneralRe: Data Compression Pin
Jon McKee13-Jan-21 20:09
professionalJon McKee13-Jan-21 20:09 
GeneralRe: Data Compression Pin
OriginalGriff13-Jan-21 20:57
mveOriginalGriff13-Jan-21 20:57 
GeneralRe: Data Compression Pin
Mike Hankey13-Jan-21 23:10
mveMike Hankey13-Jan-21 23:10 
GeneralRe: Data Compression Pin
OriginalGriff13-Jan-21 23:17
mveOriginalGriff13-Jan-21 23:17 
GeneralRe: Data Compression Pin
jsc4214-Jan-21 1:00
professionaljsc4214-Jan-21 1:00 
albert_redditt wrote:
If i divide by 10 or 16 would it reveal v2??

No, you'd have to find the modulus of 10 or 16 to get v2. But you have no way of knowing which one to use (except for a few values listed below).
e.g. if you have asc(outs) = 31,
using mod 10: v2 = 31 mod 10 = 1, v1 = 31 / 10 = 3; so original bits = 00110001 = 49
using mod 16: v2 = 31 mod 16 = 15, v1 = 31 / 16 = 1; so original bits = 00011111 = 33

Decoding numbers 0 to 9 can only have v2 <= 9
Decoding numbers 10 to 159 are ambiguous (as demonstrated for 31, above)
Decoding numbers 170 to 175, 186 to 191, 202 to 207, 218 to 223, 234 to 239, 250 to 255 can only have v2 >= 10
Decoding numbers 160 to 169, 176 to 185, 192 to 201, 208 to 217, 224 to 233, 240 to 249 is an error as they cannot occur with the algorithm
GeneralRe: Data Compression Pin
W Balboos, GHB14-Jan-21 6:02
W Balboos, GHB14-Jan-21 6:02 
GeneralSucess Pin
michaelbarb13-Jan-21 10:17
michaelbarb13-Jan-21 10:17 
PraiseRe: Sucess Pin
Slacker00713-Jan-21 10:35
professionalSlacker00713-Jan-21 10:35 
GeneralRe: Sucess Pin
Rick York13-Jan-21 11:10
mveRick York13-Jan-21 11:10 
GeneralRe: Sucess Pin
Slacker00713-Jan-21 13:40
professionalSlacker00713-Jan-21 13:40 
GeneralRe: Sucess Pin
Rick York13-Jan-21 18:40
mveRick York13-Jan-21 18:40 
GeneralRe: Sucess Pin
Mike Hankey13-Jan-21 11:26
mveMike Hankey13-Jan-21 11:26 
GeneralRe: Sucess Pin
dandy7213-Jan-21 12:14
dandy7213-Jan-21 12:14 
GeneralRe: Sucess Pin
Nelek13-Jan-21 20:22
protectorNelek13-Jan-21 20:22 
GeneralRe: Sucess Pin
Chris Maunder13-Jan-21 14:03
cofounderChris Maunder13-Jan-21 14:03 
GeneralRe: Sucess Pin
Cp-Coder13-Jan-21 14:45
Cp-Coder13-Jan-21 14:45 
GeneralRe: Sucess Pin
michaelbarb13-Jan-21 15:04
michaelbarb13-Jan-21 15:04 
GeneralRe: Sucess Pin
michaelbarb13-Jan-21 15:14
michaelbarb13-Jan-21 15:14 
GeneralRe: Sucess Pin
obermd14-Jan-21 4:22
obermd14-Jan-21 4:22 
GeneralI just got beaten up by a 5 ft 100 lb girl Pin
Cp-Coder13-Jan-21 8:09
Cp-Coder13-Jan-21 8:09 
GeneralRe: I just got beaten up by a 5 ft 100 lb girl Pin
RickZeeland13-Jan-21 9:29
mveRickZeeland13-Jan-21 9:29 
GeneralRe: I just got beaten up by a 5 ft 100 lb girl Pin
Daniel Pfeffer13-Jan-21 9:34
professionalDaniel Pfeffer13-Jan-21 9:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   440 votes