News for hackers. Stuff that matters.

amardeep

For people who have used both vega and Apache echarts, how do they compare?
Re:My MacBook Setup (the 2024 version) on Saturday February 17, 2024 @10:14AM (#39410154)
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...

Re:20 Years of Nix on Saturday March 18, 2023 @11:33AM (#35209902)
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...
Re:20 Years of Nix on Saturday March 18, 2023 @09:17AM (#35208865)
Thanks Domen,

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

Re:20 Years of Nix on Saturday March 18, 2023 @09:05AM (#35208773)
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.

Re:React is a fractal of bad design on Wednesday March 08, 2023 @04:02AM (#35066820)
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

Re:Nix-Powered Development with OCaml on Monday March 06, 2023 @10:34AM (#35042227)
> 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.

Re:Rust is actually portable on Thursday July 28, 2022 @05:08AM (#32261990)
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.
Re:An ex-Googler's guide to dev tools (2020) on Monday July 18, 2022 @01:52AM (#32135141)
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.

Re:BMW introduces new heated seat subscription in UK on Thursday July 14, 2022 @04:18AM (#32093414)
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.
Re:Software Engineering Insights from 10 Years at Google on Thursday May 19, 2022 @04:01AM (#31431949)
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.

Re:Abletone Learning Synth on Saturday May 07, 2022 @08:35AM (#31294016)
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.

Re:Python Design Patterns (2018) on Monday March 14, 2022 @12:55AM (#30668648)
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.

Re:Angular 13 on Thursday November 04, 2021 @05:01AM (#29104821)
Angular has been working really well for us except for large build times. Glad that this release improves upon it.
Re:From Vim to Emacs in fourteen days (2015) on Thursday March 11, 2021 @09:33PM (#26431642)
I have been using emacs like forever. Finally decided to learn vim 4 years back, as had to use Intellij Idea, and the default keybindings are crap for editing. Now, I use Doom Emacs with evil keybindings.

I am glad I took time to learn vim. The editing concepts around motion keys, text blocks etc. are just so much more powerful than emacs way.

I recommend all emacs users to learn vim atleast give evil mode a try.

Older »