Hacker Newsnew | past | comments | ask | show | jobs | submit | faustlast's commentslogin

I'm I the only one who gets headaches after some time with light mode?

Edit: I underwent LASIK eye surgery, and I don't recall experiencing headaches beforehand. Or maybe, just getting old?


I’ve always been quite sensitive to bright screens and get headaches from eye strain too. Dark mode has made a huge difference to me.

I’m just happy that the mode switch is well supported across OSes and browsers nowadays, though it does add some complexity to theming web apps.


Staring at a bright light makes floaters visible, so dark is a must for me. Plus, code should never be dark-on-light, that's disgusting.

Astigmatism can cause eye strain headaches. I don't know if LASIK corrects that or not, or if you have it, but getting glasses with cylindrical correction helped reduce some of my headaches. Apparently most people don't see a big starburst around lights at night, or have a faint/fuzzy halo around text at any distance.


Have you tried a tiling window manager? All I want is an empty black screen and an app launcher.

I admit I'm intrigued by the idea. Do you have any recommendations?

The main tiling window manager using Wayland is Sway, although personally I like the simplicity of DWM. You can easily edit the configuration and compile it yourself.

One of the things I love about XFCE is its modularity. It's literally just a collection of programs that work independently, so while I use DWM, if I need a panel, I just type "panel" into dmenu, and XFCE panel runs right on top of it with no problems, aligning perfectly over the DWM top bar.

If you want to try a more complete DE, I'd recommend COSMIC. It's fresh and fast and very customizable.


> Defending Matlab code in 2025 is like defending Emacs

I feel attacked.


LOL. My friend, I sympathize deeply, and this was not the intention.


In theory, it is nice; however, valuing assets is not easy, especially for the whole population. This arbitrariness clashes with the principle of equal rights in most constitutions. On the other hand, taxing income is very easy since the number has a precise origin.


I’ve been a long-time user of (h)ledger. I use a custom script to generate a cost basis when computing capital gains for selling transactions. Are there any recent updates or tools that improve cost-basis tracking or capital gains handling in hledger?


When I had this need I put together https://src.d10.dev/lotter. It takes as input ledger-cli entries and puts out entries with lot info added, which you can then run through `ledger`. You can quickly scan its output and see if what it does makes sense to you.

The repo hasn't seen activity for a while, but AFAIK it still works. I just haven't needed it myself recently.


https://plaintextaccounting.org/Investing-and-trading summarises the current options, and https://joyful.com/hledger+lot+tracking has design notes, some of them recent.


I suspect you can do this with custom currencies and subaccounts


Besides being a markup for structured text with special syntax for links/tables/math, here are my highlights that I use:

1. Code blocks that can be executed have their result captured

2. Links to everything

3. Drawing vector images (SVG) with a tablet

4. Perform calculations on tabular data (like a simple Excel sheet)

5. Agenda (connected to Google Calendar)

6. Spaced repetition system for language learning

7. LaTeX export for reports/presentations with citations

Expanding:

1.1. Execute code on different remote machines

1.2. Work with sessions and execute code asynchronously

1.3. Use noweb syntax for reusing code blocks

1.4. Tangle ("export") source blocks to files (locally or in a remote machine!)

1.5. Use a source block to generate a graph/plot and view the figure in the same place

1.6. Use narrow functionalities to automate script executions (example: execute all blocks in this section).

2.1. Links to PDF pages, commits/pr`s/branches, email, other files` particular lines, remote files, web pages, etc.

7.1. Very easy to select which sections I want to export or not

7.2. Include hand-drawn SVG graphics in the PDF output

7.3. Generate Beamer presentations


This is the way for developing in a remote computer. Alternatively one could start an emacs as daemon on remote and use regular ssh.

For quick file transfer/check, it is faster with Tramp.


have you tried aider? Using it with magit to see the changes is a good workflow. the aider integrations to emacs are also worth it, you can easily add/remove files and send highlighted parts of your buffer.


Not yet, but I'm intrigued! Good to know there's good Emacs integration.


Do you use aidermacs or something else?


Traveling to big cities certainly loses its appeal after a while. Nowadays, I tend to prefer little adventures involving nature/sport.


I also use ledger/hledger to process a decade of finances. I reconcile once a year when doing taxes. I have multiple python scripts orchestrated with org-mode to generate reports/plots. I run them in separate processes since they are independent, which makes it fast enough (seconds).

What is Shake?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: