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

As a rule of thumb I always make paths absolute when handling files in scripts. But then sometimes I need to copy a directory tree relative to $CWD somewhere else, so I convert them back to relative

Fish, being a great shell, provides this via `path` command[0]

[0]: https://fishshell.com/docs/current/cmds/path.html


Fennel is indeed nice and I rewrote my config in it too, but looked back ~2 years later and rewrote it again in Lua. I think Fennel for configuration is not justified and just adds complexity. Also the tools are not there: two existing language servers[1][2] can't compete with Sumneko's Lua language server[3] and they are fennel-exclusive and clueless about Lua code. I still like Fennel for writing more complicated code (my plugins: [4][5]) because of neat features like pattern matching and structural decomposition, both are surprisingly robust.

[1]: https://git.sr.ht/~xerool/fennel-ls/

[2]: https://github.com/rydesun/fennel-language-server

[3]: https://github.com/LuaLS/lua-language-server

[4]: https://gitlab.com/repetitivesin/16cm.nvim/-/tree/main

[5]: https://gitlab.com/repetitivesin/madol.nvim


I find most niche / less popular languages lack the developer tools ecosystem in ways that simply hinders adoption by more devs.

A good and comprehensive LSP for example. It really needs to be on par with other languages to increase adoption


> I find most niche / less popular languages lack the developer tools ecosystem in ways that simply hinders adoption by more devs.

Niche languages often serve specific purposes that don't require broad tooling. They also sometimes can leverage tooling from more popular languages. Less popular doesn't necessarily mean less capable - some niche languages have excellent tooling in their domain. Not to mention that not all developers need the same type of tooling or prioritize certain set of tools equally, like for example, for me personally - homoiconicity and REPL-connectivity in a language are far more important than LSP or some other things.


I’ve been dipping my toe in Lua and found some ways to achieve pattern matching of sorts and there’s a package called Tamale too but I’m not sure if that is used much.


I looked at the VerbalExpressionJS[1] example and it looks like combining parsers to me. If you need to make regex more verbose, better use parser combinator library when available. RegEx benefits compared to parser combinators other than compactness aren't obvious to me.

[1]: <https://github.com/VerbalExpressions/JSVerbalExpressions/tre...>


Is it? I use Android without Google account (with services though). No app forces account on me, there's always option to sign in through other platform or directly via email.


> No app forces account on me

What apps? You can't use Google Play to download apps without an account.


No google acct here, I use fdroid and the Aurora store. I have no doubt though that google is working on killing the Aurora store.

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


Do banking apps work normally if downloaded from the aurora store? I'd very much like to fully degoogle my next phone when I get to replacing it, and it's the last stumbling stone


I believe there are reasons this isn't a solution for everybody, but I just use the mobile website. Works for me, and probably a lot of people. I'd rather not have the app on my phone anyway.


I'm the same. If my bank ever requires me to install an app, I'll change banks.


Absolutely. You should check out the list [1] to see what banking apps are verified working with GrapheneOS. It's worth noting if your banking app isn't on this list it does not mean it will not work.

[1]: https://privsec.dev/posts/android/banking-applications-compa...


I checked a couple of reports relevant to me[1][2], and both explicitly mentions Play was installed and links to the Play store for the app.

Can one still assume one can install and operate those apps without Google Play?

[1]: https://github.com/PrivSec-dev/banking-apps-compat-report/is...

[2]: https://github.com/PrivSec-dev/banking-apps-compat-report/is...


Genuine question: do you consider Hacker News news? Because I believe answer is yes (judging by the name). Maybe it would be good idea to once a week open some site that aggregates top HN posts of the week and treat it like weekly newsletter

I guess every blog infrequently emitting posts can count as weekly news too, you don't even need to aggregate anything. RSS definitely helps to keep everything in one place though


I consider it a news aggregator. And with very insightful comments.

I'll open up HN on my phone when I'm waiting around - to see what people are talking about. Since I can't click on the referenced articles (I white-list URLs on my iPhone), I only read the comments and not the referenced article. But even on my desktop where I don't white-list, I rarely open the referenced article. I can get a tl;dr from reading comments even if there wasn't an explicit tl;dr comment.

HN has an awesome and open API so that certainly would be possible to create a weekly summary. And if it existed, I certainly would use it.


I don't completely understand what is meant by "zooming", but kitty[^1] does that: you open ssh connection with `kitten ssh user@host` and pressing <C-Enter> will open another ssh pane in the same tab, you can than IIRC <C-F> to "zoom" and make tab take full window

[1]: <https://sw.kovidgoyal.net/kitty/>


not the same zooming. imagine a text mode ZUI -- https://en.wikipedia.org/wiki/Zooming_user_interface


It really is tragedy that there aren't more ZUIs in the wild. I'd love a compositor (X11 or Wayland; it's probably not just a wm) that made all windows arbitrarily zoomable, but I lack the skill to make it myself.


Zooming all windows at once exists as a Gnome shell extension.

https://extensions.gnome.org/extension/7263/better-desktop-z...

Probably it would be possible to zoom one window at once as a shell extension.


I would argue it doesn't matter which map app you use if you have google services installed or if you are iPhone user


Can confirm for LDAC too


Which distribution?


I use snippets almost exclusively in markdown/latex, where typing math is at least twice as fast with snippets.

When doing some quick experiment in C/C++, scaffolding `int main ...` and classes is nice too.

In nicer languages I use snippets only if I forget syntax, than snippet serve as a quick reminder(e.g. for loop in lua)


I feel much more time and effort was put into arranging words(2290 words per `wc -w`) than collecting data or asking actual addicted users

Also I don't agree with people being more tolerant towards individuals who ditched social media. In my social circle, you either can't convince people not to use facebook to send you messages or convincing them will be short-lived. You will look weird and closer people(i.e. friends) will directly ask what's wrong with you


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

Search: