HackerTrans
TopNewTrendsCommentsPastAskShowJobs

amardeep

no profile record

Submissions

I improved 15 LLMs at coding in one afternoon. Only the harness changed

twitter.com
1 points·by amardeep·5 bulan yang lalu·1 comments

Devenv 1.0: Rewrite in Rust

devenv.sh
18 points·by amardeep·2 tahun yang lalu·2 comments

Introduction to Immutable Linux Systems

dataswamp.org
3 points·by amardeep·3 tahun yang lalu·0 comments

Genai – Bringing ChatGPT to Interactive Python

noteable.io
1 points·by amardeep·3 tahun yang lalu·0 comments

Matthew Croughan – What Nix Can Do – SCaLE20x (video)

youtube.com
2 points·by amardeep·3 tahun yang lalu·0 comments

Repeat yourself, do more than one thing (2018)

programmingisterrible.com
3 points·by amardeep·3 tahun yang lalu·0 comments

How Python virtual environments work

snarky.ca
332 points·by amardeep·3 tahun yang lalu·283 comments

comments

amardeep
·2 tahun yang lalu·discuss
For people who have used both vega and Apache echarts, how do they compare?
amardeep
·2 tahun yang lalu·discuss
Just a shout out to nix-darwin[1]. It is nix, so initial setup is a bit involved. But then it truly makes it easy to configure everything in one place including mac defaults, homebrew apps declaratively and mas apps etc.

There is a sample config in nix-darwin repo[2].

[1] https://github.com/LnL7/nix-darwin

[2] https://github.com/LnL7/nix-darwin/blob/master/modules/examp...
amardeep
·3 tahun yang lalu·discuss
For python, you could just install bare python with venv and/or poetry and manage your dev python dependencies outside nix. For eg. if you were using devenv.sh, there is an example here: https://github.com/cachix/devenv/tree/main/examples/python-p...
amardeep
·3 tahun yang lalu·discuss
Thanks Domen,

devenv.sh is quite nice, and have already started using it.
amardeep
·3 tahun yang lalu·discuss
I have been exploring nix for the past few months and my experience with nix has been both exhilarating and frustrating, simultaneously. On one hand, I find it hard to imagine not using nix now, but on the other hand, I hesitate to recommend it to other colleagues due to its steep learning curve, ux issues and potential for footguns.

I sincerely hope that nix community improves the UX to make it more accessible to new users. Though for those willing to invest time in learning it, nix is extremely useful and highly recommended.
amardeep
·3 tahun yang lalu·discuss
Standard ones I would like to try are Solid/Svelte/Vue

- Lit if I wanted to share components with other teams

- Marko if the site had lots of static content

- Qwik if speed was paramount

- Fresh too looks interesting
amardeep
·3 tahun yang lalu·discuss
https://thewire.in/history/macaulays-speech-never-delivered
amardeep
·3 tahun yang lalu·discuss
> tomberek

1. Two independent use cases.

a) First was a personal use to carry my dotfiles/home config everywhere (office mac, home mac, virtual machines). Ended up configuring a flakes based home-manager setup.

b) Second is trying to get good devshell experience for the whole team. Especially in a monorepo setting with multiple languages and tools. Right now there is tons of setup required including installing right versions of java, python, nodejs, lots of instructions to get right python version, poetry install, setup aliases etc.

2. No, it is not. It didn't take much of research to conclude flakes are the way to go. Honestly, I am confused by so many responses about confusion between flakes and non-flakes as I don't think it take much effort to realize flakes are the way to go even if it is experimental.

Though, to be fair, it does hurt that two of the recommended resources - nix.dev and nix pills - do not cover flakes.