News for hackers. Stuff that matters.

taffit

Re:But yak shaving is fun on Thursday June 18, 2026 @07:45AM (#48583923)
This is exactly yak shaving as well.

The Urban Dictionary [1] defines it as: "Any seemingly pointless activity which is actually necessary to solve a problem which solves a problem which, several levels of recursion later, solves the real problem you're working on."

So it is a perfect fit for what you described.

[1] https://www.urbandictionary.com/define.php?term=yak+shaving

Re:Show HN: Rill – Composable concurrency toolkit for Go on Tuesday November 26, 2024 @09:47AM (#42246229)
This also came to my mind when I heard `rill`, coming from https://www.rilldata.com/ .
I'm loving it! So simple, yet exactly the thing needed to share a secret quickly in a secure manner over a non-secure channel, e. g. email. Still a fresh idea I've never seen elsewhere. Congrats and thank you for providing this!
Re:The cult of the Obsidian note-taking app on Monday October 16, 2023 @10:21AM (#37900239)

  - [QOwnNotes](https://www.qownnotes.org/)
Biggest issues for me: Subscription based payments and (biggest issue) missing option to adjust the keyboard shortuts. So I have to adjust my workflow and muscle memory to the tool instead of the other way around. For the rest it is a very nice looking client with a good amount of features (for my use case) and hats off to the developers.
Re: on Thursday September 28, 2023 @06:45AM (#37687745)
Also `yazi` https://github.com/sxyazi/yazi , which is the closest nnn-replacement on Windows up until now.
Re:I chose the ThinkPad Z13 Gen1 as my Linux laptop on Thursday August 31, 2023 @03:56AM (#37333862)
Not on every Thinkpad. On a T14s the FN and Ctrl keys have different sizes.
Reading the headline, I initially thought that Microsoft bought the company behind XLWings [1], which also enables you to use Excel directly within Excel, even locally. Not affiliated in any kind to that company, just used it in the past.

[1] https://www.xlwings.org/

Re:NixOS and My Descent into Insanity on Tuesday July 11, 2023 @09:52AM (#36680984)
I completely agree. I'm also trying to wrap my head around Nix on a non-NixOS system. My requirements are to just manage my dotfiles (successful with home-manager) and configuring my system/installing certain packages, so everyone on the host can e. g. start a docker container with Docker installed by Nix. Ideally all with flakes.

I suppose, I can't have the second part without NixOS, though ...

Oh gosh, better not focusing on SpaceX and Tesla. He would destroy these two companies as well. As read somewhere (here at HN?), both have departments to distract Musk once he visits them, so he doesn't create much harm. Musk is not the genius some people think he is. The companies have good engineers, that's it.
Re:Python GUIs on Thursday June 15, 2023 @08:31AM (#36339529)
Anyone has some experience with Kivy [1]? It seems that it checks off some of my requirements, like cross-platform, supporting touch interfaces, ease of development, allows complex/fancy UIs as well, etc.

[1] https://kivy.org/

Re:Morning exposure to deep red light improves declining eyesight on Wednesday February 01, 2023 @11:24AM (#34612807)
Sorry, but this is just not true. Meat was only a small part of the eating of our ancestors, as it still is for most tribal people. They hadn't an AK to shot at animals. So they spent more days without meat, depending on their luck at hunting.
I would also recommend "Automate the Boring Stuff with Python" [1], as you are learning hands on with some practical stuff: from generating Excel-files to PDFs, from sending e-mails to work with files and folders. At the end you will have some tools to automate some of your daily tasks for real. Oh, and it's free to read as well.

[1] https://automatetheboringstuff.com/

Re:Offline Internet Archive on Monday January 09, 2023 @08:30AM (#34310068)
SingleFile [0] and SingleFileZ [1] are my tools of choice for archiving pages. Often using an adjusted version of the aardvark-bookmarklet for cutting out unwanted parts.

[0] https://chrome.google.com/webstore/detail/singlefile/mpiodij...

[1] https://chrome.google.com/webstore/detail/singlefilez/offkdf...

Url for Textadept: https://orbitalquark.github.io/textadept/

It's a cross-platform, open source editor written and configurable in Lua.

Thank you for dockerizing it! Helpful to get it to run on modern hardware.
Re:Ask HN: How to make a native GUI with a modern language? on Wednesday August 10, 2022 @08:56AM (#32411123)
Another unusual alternative could be the V-language [1], depending on if you consider this a "sane language" ;-). Not having used it myself and obviously you have to consider other arguments as well (community, developers, development activity, documentation etc.), but I was caught on all the features it promises, e. g. a "Native cross-platform GUI library": "V has a ui module that uses native GUI toolkits: WinAPI/GDI+ on Windows, Cocoa on macOS. On Linux custom drawing is used."

[1] https://vlang.io/

Re:Docusaurus 2.0 on Tuesday August 02, 2022 @07:56AM (#32317488)
Well, I don't see the offensive part here. As you say it yourself: "It might be overkill for many simple use-cases." Period. No need to jump into every thread where a user says that it is just too much for her use case, and you asking for links to compare the output (as you did with me as well?). Just be happy with what you created and the showcases prove the demand for it. So?
Re:Docusaurus 2.0 on Monday August 01, 2022 @09:34AM (#32305725)
Well, there's a tool for every task and yours in this case might be too overblown for the simple task that the user is trying to solve. No need to compare it to the use at bigger companies and organizations. No need to either get arrogant or stroppy. Just because a user doesn't use your tool, she is not a hater, neither. Sound a bit like "But mine is better/bigger/shinier than yours!" to me. Keep cool.
Sorry, but no: Calling the advance to Kyiv (fascist Russia clearly wanted to take the capital by storm), the slaughtering and war crimes in the suburbs and the hasty retreat with thousands of fallen Russian orcs a "feint" is Russian propaganda and way beyond reality. You can deny reality, still it happens. Reality doesn't care about fascist (paid?) propaganda. Back to the story: Many of the things that the former ambassador mentions are also confirmed by many of the non-Kreml-paid media. Interesting article, thank you!
Re:Ask HN: What’s the best non-vim vim mode editor? on Friday April 08, 2022 @10:38AM (#30957397)
Neovim [1].

Emacs with evil-mode work pretty well (IMO the best "vi-emulation" within other editors; the vi-plugin in JetBrains-IDEs works also quite well, though), however I learned painfully that you need to know two languages in order to configure it to your needs: Emacs lisp as well as well as vimscript for your vim-configuration. And that is just too heavy for me, so I'm back to Neovim.

There was the very promising OniVim 2 [2], which is very fast and powerful. However fundings were not enough, so the work on it came to a hold.

And then there exists a handful of other modal editors with vim-like modes. Kakoune [3] comes to my mind here, which may be currently the most vim-like non-vim editor actively developed (IMO).

[1] https://neovim.io/

[2] https://v2.onivim.io/

[3] http://kakoune.org/

Edit: typos.

Re:Folding bicycle small enough to fit in hand luggage on Thursday March 24, 2022 @10:55AM (#30790756)
I own a Tern Verge myself. Got already > 1'200 km tracked, although not using it that often. Beside some ... issues (a pedal broke, the brakes need some adjustments from time to time and one tire (that I changed myself, I have to add) loses some air over time) I really love it. Especially being able to push it and not having to carry it when it is folded is a big plus for me.
Brave woman. No doubt.
Re:So, Beijing Has a Nuclear Pact with Ukraine on Tuesday March 15, 2022 @06:11AM (#30683524)
So once again a Kreml-driven propaganda mission.
Re:Barrier: Share mouse and keyboard between computers on Friday March 11, 2022 @11:12AM (#30641662)
Some more modern monitors can also be switched by software. I personally use a laptop with an external monitor that is also connected to my desktop. Whenever I need to switch from laptop to desktop (using Barrier or Mouse without Borders on Windows) I then invoke the magic of ControlMyMonitor by the wonderful NirSoft [1] using an Autohotkey-shortcut. This way I can share my monitor with the desktop and laptop. Sharing the keyboard and mouse works with Barrier. I provided some short instructions in an SO-answer [2].

[1] https://www.nirsoft.net/utils/control_my_monitor.html [2] https://superuser.com/a/1556618/299215

I cancelled my account today.
Re:Patreon locks up $250k in donations for Ukrainian veterans on Friday February 25, 2022 @12:18PM (#30469583)
Cancelled my account as well.
Re:Generate static sites from Markdown files with Caddy (2018) on Wednesday February 02, 2022 @09:07AM (#30177680)
Not a webserver, but maybe if the Nikola-SSG [0] is automated with some folder-watching-tool to re-generate the files? Or writing your own Caddy-module that does exactly that?

[0] https://getnikola.com

I absolutely agree with you. Thank you for letting me know, that I'm not alone!

I'm coming from a backend-environment and had to learn how to do frontend as well. While JavaScript as a language can be handled (it has its quirks, as all the other languages out there, still quite logic IMO), the tooling around creating an application is totally a mess. A packager and babel and module handler and use express and build with vite oh and version ES6 or better ES20 or back to ES5 and serve the static content with sirv and ts.config and ... On the backend side I was used to just install my packages and be able to start coding. Not on the frontend side.

I have to admit that I find it to be a more complex environment, as you need to support different browsers, you have a client and server part, you need to handle session/state data and so forth. Beside that you need to take into account security, performance on client/server, network communication, local storage, and the list goes on. There are also hundreds of ways to do a single thing. In the end what helped me was to stick to a single framework and follow its way from start to end.

Also the advent of frameworks like Svelte/SvelteKit helped a lot as they reduce the tooling to a bare minimum, keeping single components maintainable with mostly pure JavaScript.

Tl;dr: You are not alone :-).

Re:Understand and Reduce Your Technical Debt on Thursday August 19, 2021 @08:30AM (#28232964)
Wow, pure advertisement for a commercial book.

Older »