comp.lang.ada
 help / color / mirror / Atom feed
* ? Are there LDPC error code lib in Ada ? thanks.
@ 2019-02-22 20:35 Daniel Norte Moraes
  2019-02-22 21:45 ` Dmitry A. Kazakov
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Norte Moraes @ 2019-02-22 20:35 UTC (permalink / raw)


  Hi!

  Are there LDPC error code lib in Ada ?

  Any bind or raw Ada ?

  My main uses are for: 
    1)files and chunks inside files,
    2) in memory streams code e decoder
    3) network

  p.s.: LDPC => Low-Density Parity-Check.

  Very Very Very Thanks in Advance! :-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-02-22 20:35 ? Are there LDPC error code lib in Ada ? thanks Daniel Norte Moraes
@ 2019-02-22 21:45 ` Dmitry A. Kazakov
  2019-02-22 22:22   ` Daniel Norte Moraes
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry A. Kazakov @ 2019-02-22 21:45 UTC (permalink / raw)


On 2019-02-22 21:35, Daniel Norte Moraes wrote:

>    Are there LDPC error code lib in Ada ?

Isn't it more a hardware thing?

>    Any bind or raw Ada ?

Not that I know. It could be implemented of course, e.g. using a simple 
look-up table, but the purpose is not clear.

>    My main uses are for:
>      1)files and chunks inside files,
>      2) in memory streams code e decoder
>      3) network

These do not fall into the category of "noisy transmission channel". 
Files, memory, network transports have integrated error correction 
already. On top of these you would use none or something rather simple, 
e.g. a checksum xor or Fletcher.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-02-22 21:45 ` Dmitry A. Kazakov
@ 2019-02-22 22:22   ` Daniel Norte Moraes
  2019-02-23  7:49     ` Dmitry A. Kazakov
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Norte Moraes @ 2019-02-22 22:22 UTC (permalink / raw)


Em sexta-feira, 22 de fevereiro de 2019 18:45:49 UTC-3, Dmitry A. Kazakov  escreveu:
> On 2019-02-22 21:35, Daniel Norte Moraes wrote:
> 
> >    Are there LDPC error code lib in Ada ?
> 
> Isn't it more a hardware thing?
> 
> >    Any bind or raw Ada ?
> 
> Not that I know. It could be implemented of course, e.g. using a simple 
> look-up table, but the purpose is not clear.

 via software. from personal computer passing by powefull servers to
mobily.

> 
> >    My main uses are for:
> >      1)files and chunks inside files,
> >      2) in memory streams code e decoder
> >      3) network
> 
> These do not fall into the category of "noisy transmission channel". 

   You are Correct. :-)

> Files, memory, network transports have integrated error correction 
> already. On top of these you would use none or something rather simple, 
> e.g. a checksum xor or Fletcher.

  Main objective is "forward error recover" e.g:
  1) try automatic recover data in engine of distributed database before
need to ask for retransmission data from nodes
  2) and auto-recover for data received.

  Fletcher ? :-)

> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

Really Thanks! :-)

[]'s Dani.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-02-22 22:22   ` Daniel Norte Moraes
@ 2019-02-23  7:49     ` Dmitry A. Kazakov
  2019-02-28 20:18       ` Daniel Norte Moraes
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry A. Kazakov @ 2019-02-23  7:49 UTC (permalink / raw)


On 2019-02-22 23:22, Daniel Norte Moraes wrote:

>    Main objective is "forward error recover" e.g:
>    1) try automatic recover data in engine of distributed database before
> need to ask for retransmission data from nodes

If transmission errors occur they do not manifest themselves as 
corrupted data, because the transports already correct these. They do as 
undelivered data, dropped connections, missed deadlines, lost integrity etc.

>    2) and auto-recover for data received.

There is no recovery from non-delivery. You can improve situation using 
redundant nodes and some sort of consensus in the scenario when some 
nodes might go offline. Error correcting codes is no help at this level 
of abstraction (application's OSI).

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-02-23  7:49     ` Dmitry A. Kazakov
@ 2019-02-28 20:18       ` Daniel Norte Moraes
  2019-03-01  8:39         ` Dmitry A. Kazakov
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Norte Moraes @ 2019-02-28 20:18 UTC (permalink / raw)


Em sábado, 23 de fevereiro de 2019 04:49:41 UTC-3, Dmitry A. Kazakov  escreveu:
> On 2019-02-22 23:22, Daniel Norte Moraes wrote:
> 
> >    Main objective is "forward error recover" e.g:
> >    1) try automatic recover data in engine of distributed database before
> > need to ask for retransmission data from nodes
> 
> If transmission errors occur they do not manifest themselves as 
> corrupted data, because the transports already correct these. They do as 
> undelivered data, dropped connections, missed deadlines, lost integrity etc.
> 
> >    2) and auto-recover for data received.
> 
> There is no recovery from non-delivery. You can improve situation using 
> redundant nodes and some sort of consensus in the scenario when some 
> nodes might go offline. Error correcting codes is no help at this level 
> of abstraction (application's OSI).
> 
> -- 
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de

  Hi! :-)

  Just to heal my doubt:  
  Is Better double the data and verify crc and if one is corrupted (and the other is ok) substitute the corrupted with the good one ?
  It is ok for me, too. I remmenber CouchDb use this aproach. this will simplifly my code, too. :-)

 []'s Grateful, Dani. :-) 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-02-28 20:18       ` Daniel Norte Moraes
@ 2019-03-01  8:39         ` Dmitry A. Kazakov
  2019-03-01 17:55           ` Daniel Norte Moraes
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry A. Kazakov @ 2019-03-01  8:39 UTC (permalink / raw)


On 2019-02-28 21:18, Daniel Norte Moraes wrote:

>    Is Better double the data and verify crc and if one is corrupted (and the other is ok) substitute the corrupted with the good one ?

No. It would be useful only if errors had stochastic nature. That is 
simply not the case when you are using transports like sockets. You 
cannot have corruption of this sort, I leave aside intentional data 
mangling.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-03-01  8:39         ` Dmitry A. Kazakov
@ 2019-03-01 17:55           ` Daniel Norte Moraes
  2019-03-02 21:57             ` darkestkhan
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel Norte Moraes @ 2019-03-01 17:55 UTC (permalink / raw)


Hi!

Really Thanks for the hints. :-) 

Another question: someone had a Ada
Fletcher and can shared with me? 

()'s Gratefully, Dani.:-) 


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-03-01 17:55           ` Daniel Norte Moraes
@ 2019-03-02 21:57             ` darkestkhan
  2019-03-03  1:42               ` Daniel Norte Moraes
  0 siblings, 1 reply; 9+ messages in thread
From: darkestkhan @ 2019-03-02 21:57 UTC (permalink / raw)


On Friday, March 1, 2019 at 5:55:31 PM UTC, Daniel Norte Moraes wrote:
> Hi!
> 
> Really Thanks for the hints. :-) 
> 
> Another question: someone had a Ada
> Fletcher and can shared with me? 
> 
> ()'s Gratefully, Dani.:-)

16 bit fletcher. Only sum computation.

https://github.com/darkestkhan/fletcher


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: ? Are there LDPC error code lib in Ada ? thanks.
  2019-03-02 21:57             ` darkestkhan
@ 2019-03-03  1:42               ` Daniel Norte Moraes
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel Norte Moraes @ 2019-03-03  1:42 UTC (permalink / raw)


Em sábado, 2 de março de 2019 18:57:10 UTC-3, darkestkhan  escreveu:
> On Friday, March 1, 2019 at 5:55:31 PM UTC, Daniel Norte Moraes wrote:
> > Hi!
> > 
> > Really Thanks for the hints. :-) 
> > 
> > Another question: someone had a Ada
> > Fletcher and can shared with me? 
> > 
> > ()'s Gratefully, Dani.:-)
> 
> 16 bit fletcher. Only sum computation.
> 
> https://github.com/darkestkhan/fletcher

Yahoo!!! :-)

Very Very Very Thanks! :-)

[]'s Gretefull, Dani. :-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-03-03  1:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22 20:35 ? Are there LDPC error code lib in Ada ? thanks Daniel Norte Moraes
2019-02-22 21:45 ` Dmitry A. Kazakov
2019-02-22 22:22   ` Daniel Norte Moraes
2019-02-23  7:49     ` Dmitry A. Kazakov
2019-02-28 20:18       ` Daniel Norte Moraes
2019-03-01  8:39         ` Dmitry A. Kazakov
2019-03-01 17:55           ` Daniel Norte Moraes
2019-03-02 21:57             ` darkestkhan
2019-03-03  1:42               ` Daniel Norte Moraes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox