Better HN
topnewbestaskshowjobs
Log inSign up

luzifer42

16 karma · joined Aug 4, 2022 (4y ago) · 15 submissions

Submissions

comment 6mo ago · link · parent

I made once a maven plugin which reprocesses jar files. It allows to remove extra content such as comments and directories. In addition, it handles nested zip files to increase their compress-ability. And all the features can be toggled individually.

https://luccappellaro.github.io/2015/03/01/ZopfliMaven.html

comment 12mo ago · link · parent

There is a maintained fork of this called jd-gui-duo which includes more features and more decompilers (JADX, Vineflower, Fernflower, CFR, Procyon, ...)

https://github.com/nbauma109/jd-gui-duo

comment 1y ago · link · parent

I created once a maven plugin to recompress Java artefacts with zopfli. I rewrote it in Java and runs entirely in the JVM. This means, the speed is worse and may contain bugs:

https://luccappellaro.github.io/2015/03/01/ZopfliMaven.html

comment 3y ago · link · parent

DragonflyBSD is one of the few BSD distributions which support device-mapper. https://man.dragonflybsd.org/?command=dm_target_crypt&sectio...

Quite useful to mount PS3 disks, to recover old savegames ;) https://www.psdevwiki.com/ps3/Mounting_HDD_on_PC

comment 3y ago · link · parent

Why reinvent the wheel? https://github.com/async-profiler/async-profiler#flame-graph...

Ok, Windows is not supported. But IntelliJ made a fork which works on Windows. https://packages.jetbrains.team/maven/p/ij/intellij-dependen...

comment 3y ago · link · parent

One big issue is that if a YAML file gets truncated for some reason, parsers generally don't complain.

comment 4y ago · link · parent

The large binary size argument is a bit old.

It seems possible to reduce it below 50MB.

https://github.com/ClickHouse/ClickHouse/issues/29378

comment 4y ago · link · parent

clickhouse-local is a powerful alternative.

https://clickhouse.com/docs/en/operations/utilities/clickhou...

https://news.ycombinator.com/item?id=31561780

comment 4y ago · link · parent

AWS also likes to play this game: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIR... : " MessageBody: ... Maximum length of 1024."

I have implemented some fixed error pages for my company including its logo in svg below 1KiB.

comment 4y ago · link · parent

DupeGuru is an interesting tool to find duplicates.

It's fast and flexible.

It can even search for similar files (binary, music and pictures).

https://github.com/arsenetar/dupeguru

comment 4y ago · link · parent

You really need a good reason to choose a non native language (e.g. not JavaScript for the Browser). One reason might be that you target other platforms too (cross-platform). In that case, you are outside of the browser anyway and you need to come up with solutions to these problems. Implementing those in a consistent way across all platforms for your product is not generally a bad idea. The alternative is an inconsistent but native UX for each platform.

comment 4y ago · link · parent

The canvas is a powerful tool, especially if you do a lot of graphical work. Rendering the entire UI yourself, gives you complete freedom of layout management. Plus, you avoid any DOM manipulation, directly or through a myriad of JavaScript frameworks. Remember: there is no silver bullet. Example: https://www.isochart.com

comment 4y ago · link · parent

Hello, I've made a charting tool for time-series.

I was frustrated with existing charting tools for many reasons:

  - Too complex to setup
  - Too complex to use
  - Too expensive
  - Too slow
  - Not interactive
  - Not flexible/programmable enough
  - Difficult to integrate with other datasources/tools
  - Inconsistent time-axis labels
  - Looks like Omega SuperCharts from the 90s
But the most annoying for me:

  - Limited Zoom. What can you conclude without the full picture or the details?
  - And irregular time axis. I don't know if this is normal in the excel/finance world, but drawing straight lines on charts with irregular x-axis makes no sense to me.
That's why I build my own tool. Currently, my main use case is to analyze financial data and the data which influences it.

On the technology-side I've made some bold decisions:

  - Cross-platform, web-first.
  - WebGL 2.0: stable/boring.
  - Java: stable/boring. Integrate easily financial calculation libraries.
  - libGDX: stable/boring. More than just a game framework.
  - No fancy JavaScript framework needed: Look at the DOM, there's just a canvas. Frameworkless.
  - Backend: This PWA runs offline in your browser. Serverless for real.
N.B.: Browsers have limited network access due to CORS. (access-control-allow-origin, https://developer.mozilla.org/docs/Web/HTTP/CORS) E.g. Yahoo does not allow direct reuse of their API, so you cannot open it as URL. However, you can try to open it as file, as your OS might download it to a temporary file and hand it over to the browser. (e.g. https://query1.finance.yahoo.com/v7/finance/download/BAC?per... )

P.S.: Chrome-based browsers are probably faster than Firefox, because Firefox still has some WebGL performance issues.

14.

Show HN: IsoChart – Interactive charts for your time-series(isochart.com ↗)

2 points · by luzifer42 · 4y ago · 1 comment