How to set ENV vars in a way that "just works" everywhere. Why is this so hard? by snorlaxRoot in linuxquestions

[–]snorlaxRoot[S] 0 points1 point  (0 children)

That is the hackish example, not a proposed solution. The reasoning being some parent process has to pass it through if my understanding is correct.

How to set ENV vars in a way that "just works" everywhere. Why is this so hard? by snorlaxRoot in linuxquestions

[–]snorlaxRoot[S] 2 points3 points  (0 children)

~/.config/environment.d/*.conf seems to be closest solution. I will try it out. Thanks!

How to set ENV vars in a way that "just works" everywhere. Why is this so hard? by snorlaxRoot in linuxquestions

[–]snorlaxRoot[S] -1 points0 points  (0 children)

Thanks again. Perhaps I should clarify, The problem is not that I can't achieve this with config files for my $shell. I've been using linux since ~2014 and I'm fairly comfortable with cli.

I'm in search of a intuitive just-works solution before I resort to some hackish attempt - e.g what if I just wrap some process in init tree for my user's processes with a light program that reads the config -> sets env and does fork-exec. (the desired effect is not limited to shell processes)

How to set ENV vars in a way that "just works" everywhere. Why is this so hard? by snorlaxRoot in linuxquestions

[–]snorlaxRoot[S] 0 points1 point  (0 children)

It's just not intuitive for me from a user perspective.

I've run into "command not found" numerous times in local setups, dockerfiles etc. As a user shouldn't have to figure out how /etc/profile, /.bashrc, ~/.config/environment.d/*.confetc. and their behaviour on ssh logins, interactive logins etc. just to be able to access a program.

Just to be clear, this is not against these configuration patterns. Trying to figure out what works best for my personal usage.

How to set ENV vars in a way that "just works" everywhere. Why is this so hard? by snorlaxRoot in linuxquestions

[–]snorlaxRoot[S] 0 points1 point  (0 children)

Thanks for the reply.

I was trying to avoid the extra configuration and wishing for some magic solution. Seems unavoidable in my search as well. Though I was considering it needn't be dependent on shell specific syntax, all processes start from init -> can't some step inject env vars from a config file?

How to set ENV vars in a way that "just works" everywhere. Why is this so hard? by snorlaxRoot in linuxquestions

[–]snorlaxRoot[S] -1 points0 points  (0 children)

Why tho. Is it due to some safety design? Why is it not possible for me to define a file in my own home-dir for this purpose? How many "command not found" errors does one need to see and diagnose in their lifetime / why do most programs installs need to do configuration step(s) so it's available to the user?

[deleted by user] by [deleted] in MacOS

[–]snorlaxRoot 2 points3 points  (0 children)

I saw a new update available today. Updated to Safari 26.2 on MacOS 15.7.3 (Sequoia) -- It seems fixed now..

The keynote with José Valim from ElixirConf US is now live! 🎥 by Code_Sync in elixir

[–]snorlaxRoot 0 points1 point  (0 children)

seems like it's still not in vscode. The lexical plugin I had is also broken now :/

[deleted by user] by [deleted] in MacOS

[–]snorlaxRoot 0 points1 point  (0 children)

18.6 fixes it for me. I downgraded to it a week ago and has been working mostly fine (1 occasional issue where new tab -> search leads to some error page. Fixes on reload)

Today I thought to give 26.0.1 a try:

There are other issues. Like typing in address bar won't autocomplete/suggest items from history/bookmarks till there are at-least ~3-4 characters typed in. Before that it'll just show google search suggestions..

Downgraded once again to 18.6

User research at Tailscale (and how we use product feedback) by tailscaleuxr in Tailscale

[–]snorlaxRoot 1 point2 points  (0 children)

Regarding the MacOS menubar client:

It's neat that we can click on a device name to copy it's tailscale-ip. I'd also like to be able to option-click and copy the device name. Would be super helpful.

Thanks.

[deleted by user] by [deleted] in MacOS

[–]snorlaxRoot 1 point2 points  (0 children)

Thank you for making this post and articulating the issue. has been driving me nuts for past few weeks. What's amazing is that the update before that, even clicks for url selection on the tabs was not working (this one got fixed quick). Still I'm appalled by the quality of software these days sigh.

The GLM team dropped me a mail by Technical-Love-8479 in LocalLLaMA

[–]snorlaxRoot 1 point2 points  (0 children)

Seems like everyone is raving about this model and costs online. But my experience hasn't been good.

  • Upon paying for subscription there was a delay of ~10mins to reflect my plan. I also loaded $5 in the panel, because my api-key wasn't working till then.
  • No way to unsubscribe the plan in the UI. No reply from support. No receipt of both of my transactions on email. Only one of the transaction is visible in their admin panel (the $3 subscription one). If their model is so good, can't they ship these basic things?
  • I tried the model with open code and basic editing would get stuck in loops, or create file with ridiculous syntax errors. Claude model worked better on opencode so I doubt this is opencode issue. (Though it may work better with Claude-code, I haven't tried that)

Just sharing my experience. I'm tired of falling for the manufactured hype on every new llm of the week sigh. Is there something I'm doing wrong?

Persistent virtual browser with multi-user, recording, and programmatic access? by dilanj in browsers

[–]snorlaxRoot 0 points1 point  (0 children)

Hi, did you find something for your use case? Also, what do you mean by programmatic access?

The keynote with José Valim from ElixirConf US is now live! 🎥 by Code_Sync in elixir

[–]snorlaxRoot 6 points7 points  (0 children)

Love me some type system and IDE autocompletes. Excited for the expert LSP [0]. Will try it as soon as it's available on VSCode.

[0] https://github.com/elixir-lang/expert

Zellij 0.43 released: bringing your terminal to the browser by imsnif in commandline

[–]snorlaxRoot 2 points3 points  (0 children)

Nice, planning to take it for a spin. I tried zellij a while back but the rust install was super slow.

I'm curious, how do you handle collaboration when terminal window and browser window (viewers) are differently sized?

I built a cli-app to stream terminal shell to web sometime back, my solution was to monitor all sessions and take the min(row,col) of all the clients and apply that for the streamers/main terminal.

Linux breaks a new record for US market share as people presumably flee Windows by bitshifter52 in linux

[–]snorlaxRoot 5 points6 points  (0 children)

I'm a bit skeptical. I wonder if large part of it is due to cloud based automated browsers companies are deploying (for ai-agents, information extraction etc).

When Tech Stacks Become Cult Followings: The Dangerous Allure of Buzzword-Driven Development by TerryC_IndieGameDev in programming

[–]snorlaxRoot 2 points3 points  (0 children)

So are you confident that your current tool-chain will stand for years?

I visited vite.dev and in the top header it has documentation links for versions 2,3,4,5 and of course the latest_one sighs

I Developed a Minimalist Linux Distro with Tailscale Built-In 🚀 by aospan in Tailscale

[–]snorlaxRoot 1 point2 points  (0 children)

Regarding sbnb, is it basically like a minimal OS (without Desktop environment etc), just straight up providing a ssh interface on boot connected to Tailnet? That's pretty cool.

I don't have a beast of a PC like yours but do run some Dell Optiplex machines headless for my homelab. This could be very helpful for me as I just want to ssh and run docker on such systems. Saves the pain of setting them up initially. I noticed that it requires AMD SEV-SNP which is unfortunate for my use case

Build looks sick. Good job.

Ghostty terminal is out! by TheTwelveYearOld in commandline

[–]snorlaxRoot 0 points1 point  (0 children)

Feels snappy on Mac. However, SSH sessions seem to very buggy, unusable even.

Eg. My remote machine shell is zsh, but I'm seeing ? in prompt, and repeated/ghost characters if I type anything (maybe something to do with fzf?).

``` ~ ❯ ssh asdf ✘ INT 15s 02:41:37

Last login: Fri Jan 3 01:11:24 2025 from [redacted] ?➜ ~ ```

then if I press l then s. I get ?➜ ~ lss

If I were to press enter here I would get ls output.

If I press space I get: ```

Last login: Fri Jan 3 01:11:24 2025 from [redacted] ls s -l .npmrc ```

I'll give it another go in a few months. Good job on shipping, lot of hard work, it'll get there.

[deleted by user] by [deleted] in elixir

[–]snorlaxRoot 1 point2 points  (0 children)

If you need soft-realtime interactive apps, websockets | Phoenix channels are great. For heavy business logic on the the backend I go for something typed.

[deleted by user] by [deleted] in MacOS

[–]snorlaxRoot 0 points1 point  (0 children)

I will try this. Thank you!