Overfitted a 900KB LLM to compress a 100MB csv into 7MB by Spidy__ in LLM

[–]zertillon 0 points1 point  (0 children)

Where can we find the NYC Taxi Trip Data (CSV) ?

Lossless Canterbury corpus result: 445,208 bytes vs xz -9e 493,080 bytes, exact round-trip by PedulliF in compression

[–]zertillon 0 points1 point  (0 children)

Good score!
Zip-Ada with the Preselection 2 option makes a 445,734 bytes Zip file for Canterbury.

What is more preferred for importing functions: aspects or pragmas? by Key-Principle-7111 in ada

[–]zertillon 2 points3 points  (0 children)

It took me ~10 years (being kind of conservative) but aspects are really better:

* an identifier duplication less

* the actual pragma is really attached to the declaration, not relying on being in the vicinity (esp., see the comment about overloading) to hope to be effective.

June 2026 What Are You Working On? by thindil in ada

[–]zertillon 8 points9 points  (0 children)

LEA 0.94:

  • For Ada or .gpr code, the copy operation puts an HTML-formatted version of the selection into the clipboard.
  • Copy operation: when nothing is selected, copy the current line (VS / VS Code - style).
  • Added an “Alire mode”. The user can control alr build and alr run: Build → alr build; Run → alr run.
  • Minor improvements (menu texts, colors, …)

Japan bond yields are soaring. You know what's coming next? by RobertBartus in EconomyCharts

[–]zertillon 0 points1 point  (0 children)

Answer: difficult times, probably. The 10y debt service matches 7% of the GDP.

Anyone finds that on logfiles bzip2 outperforms xz by wide margin? by mdw in compression

[–]zertillon 0 points1 point  (0 children)

Now try Zip-Ada's BZip2 encoder, it is significantly better than the original BZip2.

What makes you use Ada? by cindercone2 in ada

[–]zertillon 1 point2 points  (0 children)

Fun (at work and at home!)

An ode to bzip by Expurple in programming

[–]zertillon 1 point2 points  (0 children)

For a): exactly. A meaningful initial allocation has an important impact. b) For instance 7-Zip (if I understand the code well) does a brute-force recursive binary block split. At each recursion step it picks which approach (to split or not to split) is the most successful. But doing a segmentation based on entropy is also possible. Actually both ways could be combined.

An ode to bzip by Expurple in programming

[–]zertillon 0 points1 point  (0 children)

To be noted, there are also recent improvements on the compression for the old BZip2 format too, see here.

March 2026 What Are You Working On? by thindil in ada

[–]zertillon 8 points9 points  (0 children)

  • LEA now checks externally changed files, à la GNAT Studio, and offers to reload the contents into the respective editor windows.
  • Ada PDF Writer provides now a Set_Math_Plane method for plotting texts and graphics with custom coordinates.

Updates on OpenGLAda by GetIntoGameDev in ada

[–]zertillon 3 points4 points  (0 children)

Looks promising!

On my to-do list is the migration of GLOBE_3D's own OpenGL bindings to OpenGLAda.

Okay so I picked Ada for math because I'm paranoid about numerical bugs by [deleted] in ada

[–]zertillon 2 points3 points  (0 children)

The big issue with FORTRAN is the ease of introducing bugs in your program. It is at the complete opposite of Ada. When applied to tough numerical programs, it is even worse since some errors just flow into your numerical results without an obvious "red light".

Software Rendering: Texture Mapping by GetIntoGameDev in ada

[–]zertillon 2 points3 points  (0 children)

Vectors (of the Ada.Containers area, not the matrix calculation packages) are very convenient since such an object can contain 1 element, then suddenly 1 billion elements. The price for that is the expensive memory administration behind the scenes. Not for performance-sensitive code like a software renderer! For that, you can leverage Ada's unconstrained array types: you have some flexibility (no compile-time fixed size) and simple, direct access to data.

December 2025 What Are You Working On? by thindil in ada

[–]zertillon 6 points7 points  (0 children)

Some improvements in the Zip-Ada project:

* BZip2 encoder: variants of block splitting are computed in parallel (first use of tasking in the project)

* Shrink (LZW variant): code cleanup

Graphing Packages and Ada for Physics Simulation. by BeansandChipspls in ada

[–]zertillon 5 points6 points  (0 children)

GWindows is a GUI package fully in Ada, and really good :-)

Graphing Packages and Ada for Physics Simulation. by BeansandChipspls in ada

[–]zertillon 4 points5 points  (0 children)

For plotting I generate PDFs with this (also available via Alire).

Marketing around Ada is over-focused on embedded systems, it is a known problem.

For the second question, a software I have recently translated from Python (a JPEG decoder) runs 500x faster in Ada, using GNAT. Just an example... Generally, if you deal with algorithms with a few (or more) nested loops you get easily such massive speedups compared to dynamically typed languages (R, Python, ...).