Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

Make dsl is terrible, it's the yaml of build systems.

If you are a python dev, give doit a try.


Interesting that everyone who recommends an alternative to Make picks... something different. I doubt there will be two people recommending the same thing in the whole discussion.


Indeed, which supports the idea that make is so popular because it was first, and is still installed by default on most unixes.

Like JS is so popular because it's the main language on the web clients, and by default on most of them.

Also, because doit assumes you have a python project, and make is language agnostic, the latter will have a broader potential user base.

However, doit is not that far from make in the sense it doesn't assume each language workflow. It just gives you a declarative syntax to setup tasks and optionally your dag of dependencies and targets: you then do whatever you want with it. This gives it simplicity and flexibility and power, which are similar qualities that I think make nails.

I do think it would gain from being a stand alone executable so at least you were not expected to have python installed on your machine to run it.


What is so "terrible" about it? I think the rule syntax is as simple as it gets.


Required tabs, lines are each their own "script" instead of blocks (allowing variables), not allowing other executors (i.e. python, TCL, etc would be better than sh).


Actually you can tell GNU Make not to create a new shell for every command using .ONESHELL[0] and you can also select a different shell executable to run said commands[1]

[0]: https://www.gnu.org/software/make/manual/html_node/One-Shell...

[1]: https://www.gnu.org/software/make/manual/html_node/Choosing-...


Tclmake, a partial Make clone in pure Tcl:

https://github.com/TclLab/tclmake


Check (GNU Make) .RECIPEPREFIX, (GNU Make) .ONESHELL, (POSIX Make) SHELL=


Just got out of a python training session with one of my student running w11. Can confirm. So many problems.

Seems like one version out of 2 of windows being trouble stills stand.


Everytime I read those kind of news from the UK, I think about the "finger" from V.

It seems we are more and more urging to build the society half of the books we read told us to avoid at all cost.


Apparently PRISM has not been a wake up call.

What do people need ? Apple coming and killing their cat ?


Even knowingly using child labor wasn't enough [0] - or people just don' know about it, so spread the word please. This is how Apple actually care about children unlike what their PR says [1].

[0] https://news.ycombinator.com/item?id=25607386

[1] https://news.ycombinator.com/item?id=28309202


> Apple is using device serial numbers for anti-spam, supported by a fully-authenticated hardware and software stack that does not allow user modificatio

Ah, perfect tracking. Let's add that to Pluton list of promises.


It's more than that. First, they will put Alexa on it, so you have it everywhere in your home.

Then, they will fill it with as many sensors as they can do give you extra information. It will protect your home against burglars, survey your kids, prevent your cat to scratch the sofa, etc.

And with the camera, microphone, lidar and so on, people will happily let the little bugger record their entire life.

This will create the most reliable database about consumers including their money, interests, brand loyalty, level of education, people they meet, life rhythm, etc. This alone will make a lot of money.

Eventually, it will play contextual ads, in your home.

And of course, each one is an entry point for the Amazon domotic ecosystem, giving even more of your life to Amazon.


> money, interests, brand loyalty, level of education, people they meet, life rhythm, etc

All of this is widely available from your browsing history and social media. And every marketing database on earth already has your income level.


This comment is a plug.

I've tried many alternative to make over the years, and eventually, doit (pydoit.org/) was the one I sticked with.

It's declarative yet dynamic, it's simple yet powerful, you get to use shell command or a custom function, and it deals with all the things you need like deps and targets, creating a dag, caching, etc.

It's the sweat spot for me.


Everybody that sold nix to me said the goal was to replace the complicated side effect mess that is our current stack with something simple and pure.

As with FP, eventually, practicality beats purity I guess.


> As with FP, eventually, practicality beats purity I guess.

Until you can take enough advantage of purity that it's practicality is higher.


Probably not worth it. Not trying to be dismissive but genuinely, it's fine to have side effects and if it saves 1000 hrs of engineering over the life cycle of a project I'd wager it's completely worth it.


The keypoint here is that nix requires a larger up front investment. But once done it will save you 1000 hrs of engineering in the long run. It's absolutely faster to start a project without nix and just start coding. But once you have many deps, multiple developers, ci, multiple environments nix becomes a no brainer.


But the big problem in the end will likely be that you have no idea how reproduce the setup from scratch again


When Bell Labs was doing cool stuff, few people knew about them.

It's only retrospectively that they are famous, because we have all those historical tech figures that went there and got blown away. Then this bubble expended, and year later, it became public, common knowledge.

It may happen the same way for the places you are talking about.


Disabling notification is like zero inbox now, it takes discipline. I'm glad I started early because if I had to do so from scratch now, it would be terrible.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: