HNHacker News
TopNewBestAskShowJobs

mathfailure

313 karma · joined April 27, 2019

submissionscomments
mathfailure··on Stirling PDF: Self-hosted, web-based PDF manipulation tool
I once used it on a pdf file with a scanned text form trying to make it more contrast, as the scan was hardly seen. What I needed was basically just making dark stuff darker (up to the point of making it black) and maybe a bit thicker to make it more visible.

The tool failed to help me with such a seemingly menial task, the improvement was very small. I even tried to repeat the step multiple times, but after like 2nd use there were no visual differences anymore (but the file's size kept actually changing).

mathfailure··on Stirling PDF: Self-hosted, web-based PDF manipulation tool
TinyWall for Windows.
mathfailure··on Practical Vim command workflow (2023)
> Don’t use arrow keys and mouse

No.

mathfailure··on Stop Doing Cloud
That's just raging idiocy, not a worthy article.
mathfailure··on Redis re-implemented with SQLite
And which is not in-memory at all.
mathfailure··on Debian on xz-utils: revert to version that does not contain changes by bad actor
I as well think your comment adds nothing to the conversation.

Neither this one, nor the previous one.

mathfailure··on The Best* Python Cheat Sheet
This cheat sheet is of quite poor quality: the very second thing it tries to explain is decorator:

A decorator is a callable that manipulates and returns a function.

  # wraps decorator copies metadata of decorated function (func) to wrapped function (out)
  from functools import wraps
  
  def show_call(func):
      """
      Print function name and arguments each time it is called.
      """

      @wraps(func)
      def out(*args, **kwds):
          print(func.__name__, args, kwds)
          return func(*args, **kwds)
      return out

  @show_call
  def add(x, y):
      return x + y

This example uses a decorator function show_call() when calling function add(), but that decorator function itself is not a simple function, but some weirdo that actually defines another function out() with *args and **kwargs THAT IS ALSO ALREADY DECORATED (with function wraps())!

I couldn't have thought of a worse example for a cheat sheet.

A cheat sheet is supposed to give short simple explanations/demonstrations.

That example shouldn't have a nested function, it should demonstrate just 1 decorator function and 1 decorated function and none of these functions should be nested and they also shouldn't use arguments with asterisks (if possible).

Feedback from someone still failing to understand what decorator is, especially after reading the cheat sheet.

mathfailure··on Debian on xz-utils: revert to version that does not contain changes by bad actor
What about water for ZND or CBSOM?
mathfailure··on Podman 5.0 has been released
It will never be production ready outside their IBM OS, as they don't even support LTS Debian.
mathfailure··on TextSnatcher: Copy text from images, for the Linux Desktop
No AppImage, no .deb, not even brew.
mathfailure··on Keycloak SSO with Docker Compose and Nginx
For your information, FYI=For your information
mathfailure··on Tell HN: GitHub is blocking search unless you are logged in
And it's not blocking search just for non-logged users, but also for users whose accounts got 'flagged'.

My account got flagged.

mathfailure··on Zed, a collaborative code editor, is now open source
What do investors get out of that deal? Positive karma?
mathfailure··on Live proxy and VPN detection
This makes me sad :(
mathfailure··on Show HN: Heynote – A dedicated scratchpad for developers
I don't like software that connects to internet for no good reason.

I don't want your app to check for updates, I'll decide if and when I'd like to update it.

It also sucks that you haven't provided an option to disable update checks.

Since I am on linux and your app is distributed as an .AppImage - the binary gets random name on each run, so I can't set a permanent network rule to forbid it connecting to the internet - instead I get prompted every time.

Also, although blocks feature is nice - I still would like to be able to use tabs as well.

Also, I'd like to know where that info is getting stored on FileSystem: it is nice that the app saves it on the go, but I still would like to be able to work with the files directly.

mathfailure··on USB Boot of Multiple ISO Files by GRUB2 Boot Loader
grub2-filemanager was discontinued.
mathfailure··on JC converts the output of popular command-line tools to JSON
You mean YAML?
mathfailure··on Show HN: Beeper Mini – iMessage client for Android
Miranda-NG.
mathfailure··on Show HN: Beeper Mini – iMessage client for Android
Wanted to try it, but for some reason it requires a google account. I don't have one.
mathfailure··on Scrcpy 2.2 adds Android camera mirroring
Which camera app will that use? Can I make it use Vector Camera[1] instead of built-in? So that the picture would be modified by the app, rather than go 'raw' from the camera?

1 - https://f-droid.org/en/packages/com.dozingcatsoftware.vector...

mathfailure··on Android 14 adds support for using your smartphone as a webcam
But this doesn't let you use your phone's camera as a webcam on MacOS.
mathfailure··on Android 14 adds support for using your smartphone as a webcam
Unfortunately, I've become a MacOS (ARM) user recently and start to notice such small misfortunes here and there like your solution being not applicable to MacOS.
mathfailure··on Valve is a wonderful upstream contributor to Linux and the open-source community
Jesus Christ what a difference between Michael Larabel's old and new photo. So he's not Dorian Gray after all!
mathfailure··on System Initiative has open sourced its collab DevOps tool
The interface looks sexy. The binding to paid services instead of binding to APIs of open source systems makes me just sigh and go on with my life without System Initiative.
mathfailure··on JMAP – a modern email open standard
> The protocol is stateless

> Clients can efficiently fetch updates from their current state a-la QRESYNC. This can be implemented effectively using the MODSEQ data already in modern IMAP servers, or by using a transaction log data structure. The server can always indicate to the client if it cannot calculate updates from a particular client state (for example, because it is too old).

Does not compute.

mathfailure··on ReactOS – A free Windows-compatible Operating System
They stopped releasing, I think the project dies.
mathfailure··on Atuin replaces your existing shell history with a SQLite database
> Oh, we don't actually delete anything - just deduplicate for search.

Good to hear, but the point stands: so you deduplicate only for the view, not in the source, and thus the source remains contaminated with duplicates (at very least they cost some disk space and increase seek time).

As for the view: so, since you deduplicate the commands - you can't lookup the context (commands executed before & after)! Because each time the now deduplicated command was executed in the past - it had its own context!

mathfailure··on Atuin replaces your existing shell history with a SQLite database
> A typical command I run is never going to be something I look up again, so I would prefer to optimize for writing instead of reading. Dumping every command to a file adds no friction to my regular work

Then why write history at all? Just discard it.

mathfailure··on Atuin replaces your existing shell history with a SQLite database
1. I don't always know beforehand if the command I am about to execute is garbage I'd like not to save.

2. I just don't want to be conscious about that every time I write a command. I'd rather edit history after I've finished some work. But that's just too tedious to do manually, I'd like to have some pre-configured heuristics applied automatically, like "never save cd/ls to history", but provide a way to overrule that rule in rare situations.

3. Absolute/partial/symlinked paths - are another separate problem :'(

mathfailure··on Atuin replaces your existing shell history with a SQLite database
This is also sub-optimal, as it causes another problem: some of the commands are part of a bigger sequence (the most import property here is that items inside sequences are ordered, the order of commands matters!), so by blindly deleting duplicates - you break sequences.

In SQL there are sessions and transactions. In shell history - we don't have such entities and this sucks. One could configure their bash/zsh to save history into separate files, but you can't teach them later to source them properly (retaining session awareness).

← PreviousPage 7 of 10Next →