fastexcel
Kaitai Struct
Our great sponsors
fastexcel | Kaitai Struct | |
---|---|---|
5 | 44 | |
603 | 3,830 | |
2.8% | 1.6% | |
8.8 | 7.5 | |
about 22 hours ago | 11 days ago | |
Java | Shell | |
Apache 2.0 | GPL-3.0-or-later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastexcel
-
FileOutputStream v. ByteArrayOutputStream: is there a noticeable difference in memory usage?
I'm using fastexcel to create the excel file, and I'm flushing it to the OutputStream after every row is written. Right now, I am using a FileOutputStream to write to disk. When the excel file is done being generated, I read it back in using InputStreamResource and stream the response. My thought process is that a ByteArrayOutputStream keeps everything in memory even if I'm flushing the excel file after every row, so I used the FileOutputStream. Does my logic track here? Or am I unnecessarily slowing things down with expensive filesystem IO?
-
Favorite hidden gem library?
fastexcel the fastest xlsx generation library
-
how to create an excel file from a form in an android app
I would use some library like for example this one. So you collect all the data you want to store in a list or map, and iterate over it, then add them to the excel like shown in the documentation of the library (should always be the same way more or less for any library)
-
Any good alternatives to Apache POI for creating Excel spreadsheets?
I've only had memory problems with apache poi. I only use https://github.com/dhatim/fastexcel now
Kaitai Struct
- Reverse-engineering an encrypted IoT protocol
-
Parsing an Undocumented File Format
- ImHex [2], which has a pattern language [3] which allows parsing, and it seems more powerful than what Kaitai offers. I stumbled upon some limitations with it but it was still useful.
[1]: https://kaitai.io/
- Kaitai Struct – a declarative language used to describe binary data structures
-
HTTPie Desktop: cross-platform API testing client for humans
Beautiful. Didn't know something like this exists. Reminds me of Katai[0]
[0]. https://kaitai.io/
-
Hacking the LG Monitor's EDID
An EDID override like this would be helpful for macOS as well, where the monitors swapping around after standby is a real annoyance [0] [1]
EDID rewrites are 99% of the time blocked by the monitor firmware: https://notes.alinpanaitiu.com/Decoding-monitor-EDID-on-macO...
By the way, one helpful tool that helped me navigate the EDID dump was Kaitai Struct [2]. It shows a side by side view with the hex view and the EDID structure, and it highlights the hex values in real time as you navigate the structure. Unfortunately [3] it doesn't support the extension blocks that the author needs.
[0] https://notes.alinpanaitiu.com/Weird-monitor-bugs
[1] https://forums.macrumors.com/threads/external-displays-swapp...
[2] https://kaitai.io/
[3] https://github.com/kaitai-io/edid.ksy
- Kaitai Struct: new way to develop parsers for binary structures
-
Fq: Jq for Binary Formats
Kaitai Struct might be a good choice for that: https://kaitai.io/
-
Ingesting, parsing and making sense of device log data
For binary log format, there's the excellent Kaitai Struct frameworks, that make it very easy to generate parsers from a declarative schema
-
What is this tool? More info in comments
kaitai
-
Visual Programming with Elixir: Learning to Write Binary Parsers (2019)
https://kaitai.io/
Worth a look if you are writing binary parsers.
What are some alternatives?
Apache POI - Mirror of Apache POI
Protobuf - Protocol Buffers - Google's data interchange format
easyexcel - 快速、简洁、解决大文件内存溢出的java处理Excel工具
csvkit - A suite of utilities for converting to and working with CSV, the king of tabular file formats.
Aspose.Cells-for-Java - Aspose.Cells for Java examples, plugins and showcases
Camelot - A Python library to extract tabular data from PDFs
spreadsheet - Spreadsheet Builder
tablib - Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &c.
zerocell - Simple, efficient Excel to POJO library for Java
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
docx4j - JAXB-based Java library for Word docx, Powerpoint pptx, and Excel xlsx files
rizin - UNIX-like reverse engineering framework and command-line toolset.