I create a file splitter/joiner

tanahgu

Arch-Supremacy Member
Joined
Jul 2, 2012
Messages
17,656
Reaction score
3,461
can write something to add a few zeros to my dbs account?
kam sia
 

davidktw

Arch-Supremacy Member
Joined
Apr 15, 2010
Messages
13,497
Reaction score
1,255
Written a file splitter in C# by size/count and able to join it back, for easier transport
you mean these?
https://en.m.wikipedia.org/wiki/Split_(Unix)https://en.wikipedia.org/wiki/Cat_(Unix)
That is why I always recommend developers to know the unix world well. It is a heaven of tools that you may very well spend your lifetime just slowly getting know them that has been hiding all the time in your distro’s default repository and never been discovered by you.

But if it is about learning how things work that you about reinventing them, why not. Feel free to do so.

:)
 
Last edited:

nubitol

High Supremacy Member
Joined
Jun 28, 2015
Messages
27,488
Reaction score
632
you mean these?
https://en.m.wikipedia.org/wiki/Split_(Unix)https://en.wikipedia.org/wiki/Cat_(Unix)
That is why I always recommend developers to know the unix world well. It is a heaven of tools that you may very well spend your lifetime just slowly getting know them that has been hiding all the time in your distro’s default repository and never been discovered by you.

But if it is about learning how things work that you about reinventing them, why not. Feel free to do so.

:)
during creation of this tool i learn and realise many things

file operation can't rely on method that read all the bytes, it maybe workable for file with known small size, but for program like this, it needs to write more codes to read it chunk/chunk and reused the memory because the file may be GB in size, loading everything to memory may cause exception or program not working in low end machine

also reading must use big enough buffer for optimized program speed and yet small enough to not causing memory exception

i am aware that there are many such tools even in Windows, but learning to write one makes me gain experience on something that seemingly easy but actually has many considerations to think of
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Community Guidelines and Standards, Terms of Service and Member T&Cs for more information.
Top