Better HN
topnewbestaskshowjobs
Log inSign up

amardeep

1,084 karma · joined Nov 18, 2008 (18y ago) · 155 submissions

Submissions

1.

I improved 15 LLMs at coding in one afternoon. Only the harness changed(twitter.com ↗)

1 points · by amardeep · 9mo ago · 1 comment

comment 2y ago · link · parent

For people who have used both vega and Apache echarts, how do they compare?

3.

Devenv 1.0: Rewrite in Rust(devenv.sh ↗)

18 points · by amardeep · 2y ago · 2 comments

comment 2y ago · link · parent

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...

5.

Introduction to Immutable Linux Systems(dataswamp.org ↗)

3 points · by amardeep · 3y ago · discuss

6.

Genai – Bringing ChatGPT to Interactive Python(noteable.io ↗)

1 points · by amardeep · 3y ago · discuss

7.

Matthew Croughan – What Nix Can Do – SCaLE20x (video)(youtube.com ↗)

2 points · by amardeep · 3y ago · discuss

comment 3y ago · link · parent

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...

comment 3y ago · link · parent

Thanks Domen,

devenv.sh is quite nice, and have already started using it.

comment 3y ago · link · parent

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.

11.

Repeat yourself, do more than one thing (2018)(programmingisterrible.com ↗)

3 points · by amardeep · 3y ago · discuss

12.

How Python virtual environments work(snarky.ca ↗)

332 points · by amardeep · 3y ago · 283 comments

comment 3y ago · link · parent

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

comment 3y ago · link · parent

https://thewire.in/history/macaulays-speech-never-delivered

comment 3y ago · link · parent

> 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.

16.

Effective, fast, and unrecoverable: Wiper malware is popping up everywhere(arstechnica.com ↗)

1 points · by amardeep · 3y ago · discuss

17.

Nbdev+Quarto: A new secret weapon for productivity(fast.ai ↗)

4 points · by amardeep · 4y ago · discuss

comment 4y ago · link · parent

I haven't used it yet but https://github.com/nadirizr/dazel might help. It runs bazel inside a docker container via a seamless proxy.

comment 4y ago · link · parent

I also think it is partly as the tooling is not there yet - especially in the typical case when a project depends on lots of external dependencies.

I am looking forward to new set of bazel rules being worked on for eg. https://github.com/aspect-build/rules_js and https://github.com/jvolkman/rules_pycross which will makes it more idiomatic to work with existing language ecosystems.

20.

On writing clean Jupyter notebooks(ploomber.io ↗)

3 points · by amardeep · 4y ago · discuss

comment 4y ago · link · parent

It reminds me of inkjet printers and the issue with ink cartridges. Free market doesn't always result in an equilibrium which is not consumer hostile.

comment 4y ago · link · parent

Hi Addy,

It is sad to see that more often than not, the top comments on any article are overly negative or even vitriolic and any interesting discussion languishes deeper in the article.

I read your draft, and it is full of excellent advice. Some of it being which I also find very important, some which gives me food for thought and some which I am happy to be reminded of again. I look forward to your finished post.

comment 4y ago · link · parent

Isn't it really common though for people to advertise in related posts. For eg. I see one another self-promotion in this post too. I am just curious what makes this different.

I don't have a music background and so can't tell anything about ngrid.io, but usually people promoting related products (either self promotion or not) has been very helpful in the past.

24.

Why India isn’t denouncing Russia’s Ukraine war(vox.com ↗)

15 points · by amardeep · 4y ago · 8 comments

comment 4y ago · link · parent

Reading top comments might make someone feel that this article is not worth reading, but I encourage people to actually read it. Personally I find it really interesting.

For eg. reading about prebound methods here: https://python-patterns.guide/python/prebound-methods/. Seasoned python programmers probably wouldn't find anything interesting there, but for me, it was quite useful including instances of where it is being done in python standard library and discussion around when and when shouldn't it be used.

26.

Rebundling the Data Platform – Dagster Blog(dagster.io ↗)

4 points · by amardeep · 4y ago · discuss

27.

Intel 12thGen Core I9-12900K Review: Hybrid Performance Brings Hybrid Complexity(anandtech.com ↗)

29 points · by amardeep · 5y ago · 18 comments

comment 5y ago · link · parent

Angular has been working really well for us except for large build times. Glad that this release improves upon it.

29.

Dave yarwood · Why I'm rewriting Alda in Go and Kotlin(blog.djy.io ↗)

3 points · by amardeep · 5y ago · discuss

123456