HNHacker News
TopNewBestAskShowJobs

TeddyDD

288 karma · joined September 1, 2016

artist / programmer software developer
submissionscomments
TeddyDD··on V Language Review
Oh please, V is a meme or marketing scam not a competitor to any other PL. I'm glad someone calls V's unfounded claims from time to time so maybe less people will waste time and money on V.
TeddyDD··on Please don't unofficially ship Bottles in distribution repositories
Instead of asking distros to drop your package, just state that the only supported channel of distribution is flatpak. Mercilessly close any issue opened by a user of an unofficial package. Simple as that.
TeddyDD··on How I learned to stop worrying and love the YAML
Author's examples of „good” use of YAML still would be more readable as Lua[1] or JS code. Return one table/object and call two functions instead of clunky YAML stuff like Fn::Invoke.

[1]: http://ix.io/3XTk

TeddyDD··on Ask HN: Does anyone else think this 2FA everywhere is getting out of hand?
No until hardware tokens are so expansive. They need to be dirt cheap.
TeddyDD··on Twitter makes it harder to choose the old reverse-chronological feed
This. I'm still on Twitter for lol content, but I can dump it at any moment. Mastodon is great.
TeddyDD··on Win32 is the stable Linux userland ABI (and the consequences)
Counterpoint: https://www.reddit.com/r/gamedev/comments/qeqn3b/despite_hav...

> all distros and versions, each of which needs a different binary

You only need to support Steam runtime.

TeddyDD··on Kakoune Code Editor
80 Better 18 Same 35 Worse

Golfing is not the best representation of day to day text editing, but I must say that optimal Kakoune solutions are usually pretty close to normal workflow.

TeddyDD··on Kakoune Code Editor
> That is, its default operating mode is to leave multiple cursors all over the buffer when you’re trying to jump around your file.

That's not true, motion commands don't create new selections. Search will create a new selection only if you explicitly ask for that by pressing shift N.

TeddyDD··on Kakoune Code Editor
I've been using it as daily driver for 3+ years. I switched from Spacemacs. Focus on selections, visual feedback and simple integration with other Unix tools are main differentiating features in comparison to vi family of editors.
TeddyDD··on The Future of Snapcraft
I don't get it. What's the point of using Snaps on server when it's simpler to just run containers?
TeddyDD··on The Future of Snapcraft
My experience with the snaps was so horrible that I avoid Ubuntu and other distros that install snapd by default. Thankfully, Linux Mint 20 disables support for Snaps entirely. There is a short list of things I dislike about snaps:

- very slow startup time - forced auto updates (that tend to break things) - Snap store is proprietary, centralized and entirely controlled by Canonical - pollute home with ~/snap directory (not even hidden) - badly integrated with the system (GTK themes...) - creating snaps was easy only on paper - hard dependency on systemd

Therefore, I sincerely hope Snapcraft has no future and the community will converge on a single "universal" packaging format. I don't really care if that's Appimages, Faltpaks or something else.

TeddyDD··on Asahi Linux for M1 Macs Progress October-November 2021
Same here. Might be good travel laptop with Linux on board.
TeddyDD··on Tabby – A Terminal for the Modern Age
Not on xorg :(
TeddyDD··on “Open source” is broken
If everyone paid 15$ (+-Netflix sub price in my country) to single favorite FOSS project they use, we'd be in a much better place. In case of libraries/frameworks - they should be founded by companies.
TeddyDD··on Gitly: A light and fast GitHub/GitLab alternative written in V lang (pre-alpha)
Medvednikov seems to be good at marketing ¯\_(ツ)_/¯

Given the over-prommise-under-deliver launch of V, it boggles my mind that it gained so much traction on GH.

TeddyDD··on M4 as a templating language (2020)
For simple templating I use my own version[1] of pp[2] preprocessor. The idea behind it is ridiculously simple: everything between ^#!$ markers is shell script. Output of the script is pasted verbatim in the document.

[1]: https://github.com/TeddyDD/pp.awk [2]: https://www.mkws.sh/pp.html

TeddyDD··on Helix: a post-modern modal text editor
How keyboard macro can possibly replace an editor that operates on text objects?

Let's say you have 'foo bar' string, and you want to change quotes to "

In Kakoune this operation could look like this:

    <a-a>'    # select string including quotes
    <a-S>     # select first and last character of previous selection
    r"        # replace selections with "
Trivial, 5 keystrokes and it works for any type of quotes (I can do for example <a-a>`). Notice that "replace quotes around the string" is not built-in operation in Kakoune.

Now how would you achieve that in non-modal editor that also doesn't have this operation built-in?

TeddyDD··on Frum – Fast and modern Ruby version manager written in Rust
Take a look at this issue: https://github.com/asdf-vm/asdf/issues/290
TeddyDD··on Frum – Fast and modern Ruby version manager written in Rust
asdf is nice except is uses shims. They are pretty slow. If you offten run script as part of your prompt for example, it gets noticable pretty quickly.
TeddyDD··on Nintendo Announces Game Builder Garage, a Quirky Programming Game for Switch
I just want Pico8 on Switch
TeddyDD··on Ask HN: What diagrams do you use in software development?
Sometimes I use DRAKON. It's useful for untangling complex algorithms.

[1]: https://drakonhub.com/en/drakon

TeddyDD··on Ask HN: Show me the sexy, sexy home page of your favorite free CLI project
http://cht.sh/

This is the pinnacle of design.

TeddyDD··on PSPad: A freeware programmer's editor for Windows
My editor supports LSP, takes 400 ms to load and uses less than 1mb of memory (300mb+ when LSP is active) ¯\_(ツ)_/¯
TeddyDD··on Pass: The standard Unix password manager
I use passphrase2pgp[1] so I can recreate my GPG key anywhere. I need to remember three pieces of information:

- passphrase (long sentence, but it's easy to remember) - uid (Name <email> - easy) - timestamp (10 digits - kinda hard to memorize but you can have it noted is plain text since it's not sensitive information)

[1]: https://github.com/skeeto/passphrase2pgp

TeddyDD··on Pass: The standard Unix password manager
> It’s secure, because it’s a short bash script

There is also POSIX sh implementation available that is even shorter: https://github.com/dylanaraps/pash

TeddyDD··on LineageOS 18.1
Fortunately my bank app & Revolut works on my Lineage OS phone. Google Pay won't work tho. I use Lineage for MicroG, so I can even install apps from Play store. I wouldn't be able to use LOS without it.
TeddyDD··on Godot maintainer removes controversial satirical piece from documentation
True reason why it had to be removed

https://twitter.com/KyleTheCoder/status/1367262726926585866

Gods, I hate nowadays internet.

TeddyDD··on Fibery – Yet Another Collaboration Tool
I love the anxiety version, it's hilarious. Kinda like Phabricator website

- https://www.phacility.com/phabricator/

TeddyDD··on Show HN: Redbean – Single-file distributable web server
No, I have the same issue on Linux Mint 20.1
TeddyDD··on The Return of the 90s Web
Hugo is great. It's feature packed static website generator. There is plenty of templates you can use and modify.

https://gohugo.io/

← PreviousPage 3 of 5Next →