HNHacker News
TopNewBestAskShowJobs

ayushnix

499 karma · joined April 15, 2021

https://ayushnix.com
submissionscomments
ayushnix··on FreeBSD has serious problems with focus, longevity and lifecycle (2012)
> >>Would you call OrbisOS, used by PS4, a distribution of FreeBSD?

> you where wrong an now you try too put your half-knowledge into other mouths.

> You can stop now.

Nice job being condescending and rude.

ayushnix··on FreeBSD has serious problems with focus, longevity and lifecycle (2012)
> Alpine is not Gnu/Linux too, but BusyBox/musl/Linux, maybe it makes others sad that you don't know the difference.

I'm more concerned with the practical significance of calling Android or ChromeOS a Linux distribution than being pedantic for the history books.

Sure, Alpine doesn't use the usual userland you'll find on most Linux distributions but it isn't an alien experience and you can use it mostly like any other Linux distribution out there. You'll still find a POSIX shell and a package manager to install packages. There's Xorg or Wayland for the GUI and you'll find familiar desktop environments and window managers.

Unlike Android, you won't find absence of root access on Alpine. There's no restriction on placement of data on directories like /usr and /var. You won't find dozens of UIDs for different processes running at the same time on a single user system. You can't just slap Android on any hardware x86_64 hardware you want and expect it to work fine. Hell, you can't even do that on ARM devices if you're not using out-of-tree patches and firmware blobs. The bluetooth and audio stack on Android is completely different than what you'll use on any Linux distribution.

So yeah, if we're being pedantic, sure, Android is a Linux distribution because it uses the Linux kernel. Good luck using it like a typical Linux distribution though.

> For years exactly that was written on Apples own macOSX page, but you know it better right?

What I wrote above. Sure, pages written decades ago indicate that the Apple used FreeBSD as its base for its kernel but I doubt their kernel is anything close to upstream FreeBSD at this point. The same goes for their userland and graphics stack. Would you call OrbisOS, used by PS4, a distribution of FreeBSD? Can you do anything meaningful with it like you can with FreeBSD?

ayushnix··on FreeBSD has serious problems with focus, longevity and lifecycle (2012)
> Plus how long did MacOS diverge from FreeBSD? 20+ years ago? Does it even resemble current FreeBSD enough that this observation makes sense, except from a software history perspective?

You'll always find people who'll say that Android and ChromeOS are Linux distributions and MacOS is based on FreeBSD. I guess it makes them feel good.

ayushnix··on Poll HN: What operating system do you primarily develop on?
> I used to develop on Linux, but eventually wanted something that "just works" so I switched back to Windows. Much less time spent tinkering and more time spent getting things done

I started recommending WSL on Windows to a few friends who wanted to get a taste of how Linux works after hearing praises about it although I've never actually used it myself. I recently realized that systemd doesn't work on WSL (without ugly hacks) and /mnt also mounts Windows disks.

I have stopped recommending WSL since then. Although I don't recommend anyone to use Linux either.

ayushnix··on Charm – Tools to make the command line glamorous
Sure, that's okay, it helps build TUIs rather than CLIs. I'll gladly take TUIs over their GUI counterparts in most cases except where it isn't practical such as image editing.

A good example is the lf file manager.

https://github.com/gokcehan/lf

I was using ranger before this but yeah, I have no reason to use GUI file managers anymore.

ayushnix··on Charm – Tools to make the command line glamorous
> There's a big difference... a terminal application takes over your terminal

What do you mean "takes over"? You can always open another tab inside your terminal. You can use tmux to open multiple panes inside the same tab.

> and doesn't have all the usual advantages of command-line applications used from the shell, like history and easy scripting.

That may be true but at least TUI apps can be truly platform and DE independent, unlike GUI apps coming out from GTK4 where every non-trivial GTK4 app in existence is a libadwaita app. Qt apps are buggy on Wayland right now. In such a scenario, anything that runs on a terminal is a welcome addition for me. I'm done with GUI apps, except my web browser.

ayushnix··on Open-Sourcing our Firmware
> On Linux, Wayland supports separate monitors natively with different scalings?

It does, but you will experience higher input latency than you would if you do not scale your display or use integer scaling. Some GUI apps might also misbehave when scaled fractionally.

I'm not sure if the higher input latency will be noticeable to someone using pretty animations in GNOME/KDE but it is pretty jarring when you mostly work on a terminal.

There's also a subtle loss of quality of text and images when using fractional scaling.

ayushnix··on Open-Sourcing our Firmware
> You're describing the Thinkpad T14S.

It doesn't seem to have a proper 14 inch HiDPI display. 1080p on 14 inches usually needs anywhere from 1.2x to 1.4x scaling and 4K would need around 2.5x scaling.

ayushnix··on Open-Sourcing our Firmware
> - Proper 14" HiDPI screen

I can't stress this enough. The display on the Framework can't do integer scaling and so almost everyone who intends to use an external monitor with the Framework can't do that on Linux without extremely annoying issues such as significantly higher input latency, GUI apps behaving abnormally, and not being able to use an external monitor and the laptop screen simultaneously. I don't care if they release Coreboot for the Framework, it's useless with its screen.

ayushnix··on The Boring YouTube
> I think all the channels you named were popular enough before the clickbait become nearly mandatory.

If that's the case, their viewership and growth right now would either be stagnant or on a steady decline. Is that the case? I doubt it.

ayushnix··on The Boring YouTube
> Like, if you’re proud of your work and want it to get seen at all, this is what you have to do.

Assuming what you're saying is true, I wonder why channels like Rare Earth, Kraig Adams, Super Eyepatch Wolf, and 3Blue1Brown have their videos seen at all then.

ayushnix··on DuckDuckGo's daily search queries surpassed 100M, a 47% increase
I switched to HTML DDG for a week and the search results are worse than the normal version. I had to switch back after a week even though I was really enjoying the lightweight experience.
ayushnix··on The state of external retina displays
> Why is <220 ppi a dealbreaker? 27 inch 4k displays seem fine to me for retina and they are quite abundant.

I regret buying a 27 inch 4K monitor each and every day.

Sure, the PPI is much better than my 24 inch 1200p Dell Ultrasharp but a 27 inch 4K needs wither fractional scaling, which is a mess, or scaling fonts, which makes UI elements look weird.

24 inch 4K and 27 inch 5K should be a standard but all monitor OEMs are interested in making shitty gaming monitors.

ayushnix··on Overview of alternative open source front-ends for popular internet platforms
> Maybe someday Firefox mobile will allow add-ons again :(

Huh? Firefox on Android does support addons. There's only a small subset of them available by default but you can enable support for all addons as well although you'll have to use Fennec or Mull from FDroid for that.

Go to the "About Fennec" menu and tap the logo several times to enable the hidden "Custom Add-on collection" menu. Create an account on Mozilla Add-ons website and add all the addons you like. Use the profile ID to add the collection in the hidden menu you unlocked.

Yeah, I know, using addons shouldn't be so convoluted.

ayushnix··on Passage: A fork of password-store that uses age instead of GnuPG
Can you point me to a specific example?
ayushnix··on Passage: A fork of password-store that uses age instead of GnuPG
It would be better if the age specific code could be included upstream. This should, however, serve as a good point of reference.
ayushnix··on India defuses its population bomb: fertility falls to two children per woman
> So, in short, we should reduce the demand of unnecessary products(like cars).

Yeah, good luck with that.

I live in city in India with relatively less population density than most metropolitan cities and my colleagues want to buy cars because "it'll be easier to drive".

The city of Bangalore is notorious for its insanely bad traffic and yet I've heard people living still wanting to purchase cars. The reason is that "it's better to be inside a car in traffic than outside".

If nothing else, people fall back to "what if there's a medical emergency?"

It feels like there's no escaping cars.

ayushnix··on Clever uses of pass, the Unix password manager
Besides pass-tomb, there's also pass-coffin which doesn't need to rely on a 3k+ line ZSH script. I'll add support for using age and signify in pass-coffin soon.

https://github.com/ayushnix/pass-coffin

ayushnix··on Clever uses of pass, the Unix password manager
FWIW, adding support for age in pass is listed as one of the goals of age. I'm considering sending an upstream patch in pass to support age and signify as well.
ayushnix··on PSA: uBlock/AdBlocks on Chrome to lose function thanks to Manifestv3
> I wonder if your issue had been resolved?

Maybe. However, I have no reason to switch to the Multi Account Containers addon now considering the Containerise addon works well.

ayushnix··on PSA: uBlock/AdBlocks on Chrome to lose function thanks to Manifestv3
The last time I tried the Multi Account Containers add-on, it randomly wiped my list of websites after browser restarts and upgrades and there was no way to export the list of websites I had containerized. IIRC, there still isn't a way to do it unless I use Firefox Sync, which I don't.

The addon was also basically abandoned for quite some time with lots of bugs all over the place and was revived only recently. It was an extremely painful experience, to say the least.

I still use the Containerise addon instead because of that unpleasant experience.

ayushnix··on Chrome users beware: Manifest v3 is deceitful and threatening
> Further, the DNS sink will hide elements - everywhere ADs are placed I see simple whitespace.

I find those leftover empty spaces extremely annoying. Imagine being interrupted by a big portion of nothing in the middle of an article. uBO hides those empty spaces as well.

And no, I don't use or like Reader Mode. It's yet another click I need to do to just read an article.

> Finally, scripts are blocked from even getting loaded - e.g. stats for the top scripts blocked today (2 hours in) for me:

That doesn't look like individual script blocking to me, you're just blocking domains. If the script you want to block is part of the first party domain itself, you can't just block it using a DNS sinkhole.

At this point, I'd go as far as to say that a web browser which doesn't support the complete capabilities of uBO, considering things like CNAME tracking exist, is a user hostile web browser. This includes all Chromium based browsers.

https://blog.apnic.net/2020/08/04/characterizing-cname-cloak...

ayushnix··on Chrome users beware: Manifest v3 is deceitful and threatening
No DNS based solution comes anywhere close to what uBO offers. You can hide elements you don't like. You can block individual scripts or resources in a web page, even if they are first party resources. No DNS sink solution can do that.

Browsing the internet would be an extremely bad experience for me if I just relied on a DNS sink.

ayushnix··on Leaving MySQL
Unfortunately, the ecosystem of a tool matters more than the tool itself. One could come up with a technically superior alternative to an existing tool (gpg vs age and signify) but unless they have a widely recognised ecosystem, they tend to remain relatively niche products.

For example, Git can sign commits using gpg and x509 and now in version 2.34, OpenSSH keys. Although OpenSSH can be used to sign data, signify is a much better tool for this task.

ayushnix··on The fish shell is amazing
Python venv works fine with fish shell for me. But yeah, this is something that'll always be an issue with fish simply because bash is more widely used.

Unlike what some people may think, it's not just about the tool itself but its ecosystem as well.

ayushnix··on Google Chromium, sans integration with Google
Gave up on it after it stopped downloading extensions from both the official Microsoft store and the OpenVSX store due to the CORS issue. The fragility of the OpenVSX store was in highlight when their maintainers couldn't make it compatible with the CORS requirement of VSCode for several months. I'm not sure if it's fixed now or if they're still using a workaround.
ayushnix··on Ask HN: Did you find something to use your Raspberry Pi 400 for?
I bought an RPi 4 with the goal of streaming my Android screen using scrcpy but that turned out to be horrible. If I'm not mistaken, the RPi 400 has the same hardware specs as an RPi 4 (minus the keyboard) so your experience would mostly be the same on both.

After a while, I realized that an RPi 4 is a terrible device if you intend to use it as a desktop. Either hardware acceleration won't work and even if it does, YouTube will lag like hell on 1080p. Forget YouTube, even stock XFCE with hardware acceleration is not as responsive as it would be on a meager Celeron/Pentium potato. The cost might justify using RPi 4 as a desktop for some people but if you're not restricted by cost, don't buy an RPi 4 to use it as a desktop.

RPi 4 can be a great choice for a headless server though. I use it to run AdGuard Home to block ads on all of my devices. I'm also considering buying another RPi 4 to use it as a router and another for using a e-Ink screen to show time.

ayushnix··on The fish shell is amazing
Umm, you don't need to define your PATH variable in `config.fish`, not unless you make it your default login and user shell.

You should keep using bash as your default login and user shell, define your environment variables, like PATH, in your `.bashrc`/`.bash_profile` but use fish as the default shell of your terminal emulator. In that case, fish should pick up the PATH from bash.

ayushnix··on The fish shell is amazing
> ... a lot of tools rely on updating bashrc as part of installation and some of them don't have an equivalent `config.fish`

such as?

ayushnix··on The fish shell is amazing
Right, as I said, writing multiple lines of commands on a shell doesn't really make sense because it's not interactive usage, it's scripting. And scripting should be done using an editor, which is what you're doing by using nvim to write the command.
← PreviousPage 4 of 7Next →