Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Let's talk about this on a case-by-case basis. That's how I view questions/answers, regardless of who's asking/answering.

The question http://stackoverflow.com/q/30277244/1079354https://stackoverflow.com/q/30277244/1079354 asks a very broad question in and of itself (How do I recover deleted data?). The reason that this is broad is easy enough to enumerate:

  • how the data was destroyed
  • if the data was encrypted
  • if there is the possibility of any fragmentation of data
  • If there is the possibility of data corruption (very possible)

Doesn't matter what language you do it in, that's a very broad statement. There's no one definitive, absolute or authoritative approach to data recovery in any language or any platform, and various data recovery experts have varying results depending on the integrity of the file system.

Think "too many unknowns".

Next, the question http://stackoverflow.com/questions/30177896/how-to-encrypt-outputstream-and-decrypt-inputstreamhttps://stackoverflow.com/questions/30177896/how-to-encrypt-outputstream-and-decrypt-inputstream asks a straightforward enough question (in the title); you want to encrypt output and decrypt input.

That's not such a bad thing. But, what is it missing?

  • How the data is actually encrypted
  • What approach/steps/code you've taken
  • The explanation is muddled at best; it's unclear how you're deploying OutputStream and InputStream in this context to achieve your goal
  • The request is effectively, "Could someone explain encryption to me?" This is a very broad request; few of us have the volunteer time or inclination to explain something as complex and multifarious as encryption.

Think "conceptually large".

Your final question - Unable to serialize a HashMapUnable to serialize a HashMap acts a reasonable enough question. This seems like something that one would encounter, but it's missing information. Read the comments there and add clarification as best as you can.

For that one, I personally would not downvote, but it would need to have some more context (how you're actually performing the serialization in your application with just enough code to replicate the scenario) before I would consider upvoting it.

Let's talk about this on a case-by-case basis. That's how I view questions/answers, regardless of who's asking/answering.

The question http://stackoverflow.com/q/30277244/1079354 asks a very broad question in and of itself (How do I recover deleted data?). The reason that this is broad is easy enough to enumerate:

  • how the data was destroyed
  • if the data was encrypted
  • if there is the possibility of any fragmentation of data
  • If there is the possibility of data corruption (very possible)

Doesn't matter what language you do it in, that's a very broad statement. There's no one definitive, absolute or authoritative approach to data recovery in any language or any platform, and various data recovery experts have varying results depending on the integrity of the file system.

Think "too many unknowns".

Next, the question http://stackoverflow.com/questions/30177896/how-to-encrypt-outputstream-and-decrypt-inputstream asks a straightforward enough question (in the title); you want to encrypt output and decrypt input.

That's not such a bad thing. But, what is it missing?

  • How the data is actually encrypted
  • What approach/steps/code you've taken
  • The explanation is muddled at best; it's unclear how you're deploying OutputStream and InputStream in this context to achieve your goal
  • The request is effectively, "Could someone explain encryption to me?" This is a very broad request; few of us have the volunteer time or inclination to explain something as complex and multifarious as encryption.

Think "conceptually large".

Your final question - Unable to serialize a HashMap acts a reasonable enough question. This seems like something that one would encounter, but it's missing information. Read the comments there and add clarification as best as you can.

For that one, I personally would not downvote, but it would need to have some more context (how you're actually performing the serialization in your application with just enough code to replicate the scenario) before I would consider upvoting it.

Let's talk about this on a case-by-case basis. That's how I view questions/answers, regardless of who's asking/answering.

The question https://stackoverflow.com/q/30277244/1079354 asks a very broad question in and of itself (How do I recover deleted data?). The reason that this is broad is easy enough to enumerate:

  • how the data was destroyed
  • if the data was encrypted
  • if there is the possibility of any fragmentation of data
  • If there is the possibility of data corruption (very possible)

Doesn't matter what language you do it in, that's a very broad statement. There's no one definitive, absolute or authoritative approach to data recovery in any language or any platform, and various data recovery experts have varying results depending on the integrity of the file system.

Think "too many unknowns".

Next, the question https://stackoverflow.com/questions/30177896/how-to-encrypt-outputstream-and-decrypt-inputstream asks a straightforward enough question (in the title); you want to encrypt output and decrypt input.

That's not such a bad thing. But, what is it missing?

  • How the data is actually encrypted
  • What approach/steps/code you've taken
  • The explanation is muddled at best; it's unclear how you're deploying OutputStream and InputStream in this context to achieve your goal
  • The request is effectively, "Could someone explain encryption to me?" This is a very broad request; few of us have the volunteer time or inclination to explain something as complex and multifarious as encryption.

Think "conceptually large".

Your final question - Unable to serialize a HashMap acts a reasonable enough question. This seems like something that one would encounter, but it's missing information. Read the comments there and add clarification as best as you can.

For that one, I personally would not downvote, but it would need to have some more context (how you're actually performing the serialization in your application with just enough code to replicate the scenario) before I would consider upvoting it.

Source Link
Makoto
  • 106.2k
  • 120
  • 864
  • 1.3k

Let's talk about this on a case-by-case basis. That's how I view questions/answers, regardless of who's asking/answering.

The question http://stackoverflow.com/q/30277244/1079354 asks a very broad question in and of itself (How do I recover deleted data?). The reason that this is broad is easy enough to enumerate:

  • how the data was destroyed
  • if the data was encrypted
  • if there is the possibility of any fragmentation of data
  • If there is the possibility of data corruption (very possible)

Doesn't matter what language you do it in, that's a very broad statement. There's no one definitive, absolute or authoritative approach to data recovery in any language or any platform, and various data recovery experts have varying results depending on the integrity of the file system.

Think "too many unknowns".

Next, the question http://stackoverflow.com/questions/30177896/how-to-encrypt-outputstream-and-decrypt-inputstream asks a straightforward enough question (in the title); you want to encrypt output and decrypt input.

That's not such a bad thing. But, what is it missing?

  • How the data is actually encrypted
  • What approach/steps/code you've taken
  • The explanation is muddled at best; it's unclear how you're deploying OutputStream and InputStream in this context to achieve your goal
  • The request is effectively, "Could someone explain encryption to me?" This is a very broad request; few of us have the volunteer time or inclination to explain something as complex and multifarious as encryption.

Think "conceptually large".

Your final question - Unable to serialize a HashMap acts a reasonable enough question. This seems like something that one would encounter, but it's missing information. Read the comments there and add clarification as best as you can.

For that one, I personally would not downvote, but it would need to have some more context (how you're actually performing the serialization in your application with just enough code to replicate the scenario) before I would consider upvoting it.