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

The problem with make, is that it's yet another DSL to learn.

Every single tool in your toolbox could introduce a new one, and it leads to fatigue.

Task runner? New DSL (make)

Test runner? New DSL (robot)

Deployement? New DSL (Ansible)

Batch spawning? New DSL (tox)

Etc

Of course, dev in half of those DSL is a total pain, because, like with most DSL, the tooling sucks: terrible completion, linting, debugging or composing experience.

So people write/leverage tools they can use with their favorite language. And why not? You have to install it anyway (make isn't default on windows, it's not even installed on vanilla Ubuntu!).

When I need a make-like tool, I use doit (https://pydoit.org/).

Why?

It's in Python, the language of my projects. So I can use the same tooling, the same libs, the same install and testing procedures. And so can people contributing: no need to train them. Most devs don't know how to use make (most of them are on Windows after all).

Using make adds zero benefit for me: doit just does what make does (ok, that sentence is hard to parse :)). But make adds an extra step of asking to install it while I can just slip doit among my other python project dependancies. I have to google the syntax. I can't use tab to complete names, of right click to get documentation. And if (actually when) I need to debug my make file, God have mercy.

It's not against make. It just doesn't provide enough value to justify the cost of it.


> You have to install it anyway (make isn't default on windows, it's not even installed on vanilla Ubuntu!).

What are the odds that you're compiling software on Ubuntu and haven't installed base-devel? I mean, it could happen, but it feels contrived.


You assume make is only for compiling, but it's not.

It's just a task runner.


Make is an extremely simple syntax for declaring file dependencies and then shell agnostic for all of the build rule scripting.

If you want to use python, put this in your makefile:

  SHELL=python
  .ONESHELL:


I've never seen a simple make file that was not a toy exemple.

Besides, the opposite is preferable: define the running conditions in $FAMILIAR_LANGUAGE, but then run system shell commands.


I agree with this, personally I use gradle with kotlin script which is just the normal programming language but behaving as a REPL


Except if cloudflare is part of a PRISM like program, associated with a gag order. In which case they have pwn half the planet security.


Are you aware "PRISM-like programs" apply to every single US based webserving entity? Why are you calling Cloudflare out when there's thousands of companies who are subject to the very same risk? Is it possible that PRISM programs bear no relevance at all to this conversation?


Even if you hate the mainstream media, they are at least a good source to tell you:

- what the big players want you to care about

- what the people care, or will be made to care about

- what are the current economical and moral powers fighting to influence us


If you work a lot on yourself, you always end up learning things you can't explain to others.

When you approach life intellectually, because it has been your best weapon until now, you tend to think that if you understand something clearly, then you can express it as clearly.

But just like it's impossible to explain blue to a blind man, it's impossible to explain realizations about what happens inside yourself, to people outside. Or maybe you'll find a way (E.G: frequency for colors), but it will have no impact on the other party because the experience it what matters.

It's weird, but there are actually a lot that happens to us that we have no vocabulary for. Or no language tools, or even shared concepts, for. It's very frustrating, espacially if you are particularly good at putting things in words.

I like step by step explanations to get a grap on things. It infuriated me when I had to learn practices that weren't taught that way. It felt such BS. But I now know that it's not. It's just our way of communicating is limited, like everything in the human condition. And the more you practice, the more you see things you didn't notice before in yourself. It's no surprise we got no word for something we seldom pay attention to.

Knowing that now, I understand why so many self-help practices seems so full of shenanigans: testimonies look irrational, full of terrible analogies and symbolism, or flat "duh, bro".

Plus, people create complicated believe systems around their experience and mix up everything. We are so desperate for the extraordinary that we will make it up at any occasion. E.G: meditation is a very mondain activity, but the term is loaded with a lot of stereotypes, expectations and mythology.

It's confusing, and doesn't scream credibility.

Also, we reuse the same labels for totally different things. I've seen hundred of people taking about psychedelics or meditating, and they do it in vastly different ways.

If you take LSD at a party, it's not the same than in a guided ceremony. If you medidate 10 minutes singing a mantra, it's not the same than a 10 days silent retreat, etc.

Then, add variety in people, the fact experience can't be measured, that there is no way to be objective about it, the placebo effect, history, culture, politics, moral, religion, other believes, etc.

And you got yourself a puddle of mud.

But it's worth exploring, I swear.


I am one of the complainers about the bad ddg localized results, espacially for french ones.

But one day, I experienced what it was to use Google without ublock origin, by mistake. It was a horrible mess.

Then it hit me: the main benefit of DDG is that it's clean, even if you don't know anything about ad blockers.


Funnily enough, the clean thing is what really kick-started google (at least for the group of people I know). Going from the unholy mess of links on Yahoo! to google with their single search box and a couple of links was a giant step forward.


Even more funny they had a decade of my searches and online activity before I started adblocking and supposedly some of the sharpest minds of our time employeed to make me click on ads and I can't recall buying a single thing from a Google ad, mostly because the ads where ridiculously misplaced.

Facebook on the other hand, a company where I only have a minimal profile since I utterly distrust them[0] manages to serve me not only less annoying but sometimes actual useful ads (as: I've bought things from Instagram or Facebook ads that have saved me money and improved my quality of life).

[0]: Google I just dislike and treat with caution. They seem competent with data security and obsessed with protecting all their juicy data even if - at least to me - they seem so utterly incompetent at uskng it to match ads to profiles that I have suggested it might be some sort of scam against ad buyers ;-)


Fantastic write up.

I regularly use the Python port of the original chardet (https://pypi.org/project/chardet/). In fact, most python devs do since it comes with requests.

This post is full of gems. E.G: I learned that it's important for your meta charset to be in the first 1024 bytes of your HTML :)


FWIW Firefox issues a warning if it finds your charset declaration late, outside the 1024. Long copyright or license headers can cause this problem, annoyingly.


- you may not have the budget for that (small company, student, open source project, side project...)

- you may not be able to find the talent where you are (good designers are not uniformly distributed, and remote may not be possible for you. Source: lived in Africa)

- you may want/need to know the basics to evaluate the work of a designer, hire one or just communicate efficiently with one

- you may just be curious, and want to learn that for you. Or transition to be, you know, a designer :)


Love the concept but the lag seems terrible. This is what kills any stylus for me. I'm so used to the instantaneity of paper than the smallest ms of delay between action and effect makes my brain hates the whole process.

As a Linux user, the iPad pro writting feedback is probably the only thing I envy from Apple's users. What they did is black magic.


I think it depends on the stylus and the software. This drove me batty for a long time. I now have a cheap Aliexpress drawing tablet (no display), Digimend, and MyPaint under Ubuntu.

It does as well as pencil and paper.

It's not as good as a fancy pen and nice paper, mind you, but it's good enough.

My major problem is straight lines. I haven't got that down yet (albeit with just a few hours practice). But writing has no lag, and comes out fine.


Applications are for the end user. The end user don't need the source code, don't want to compile anything, don't want to bother about installing Python or even knowing it's written in Python, wants it work with his system of choice (app store, package manager, simple exe...), wants OS integration (entry in menus, icons, etc.) and want it fast.

Libs are for the dev: you want the source code, you want to manage versions, you want it to integrate with your dev env, you want a well delimited scope, a way to install it using your usual setup (pip/poetry/etc) and to isolate it from project to project.


As a "dev" who develops mostly for other "devs" this distinction is not so clear to me.


Do you provide your lib as a dmg for mac users or through the windows app store ? Do you provide a entry in the start menu for it ? An icon on the desktop ?


Lol no I just send them an email with the url of a private git repo containing my code/experiments, and let them sort it out XD The pleasures of academia.


There are trade off to anything.

E.G:

- shiv leave files hanging around, but you can address those files directly. With PyOxidize, you will need to use https://pyoxidizer.readthedocs.io/en/stable/config_api.html#... a way to read a non Python files. Because most projects don't know this and just use open(), they won't work out of the box and you may need to monkey patch open().

- pyoxidizer requires a compiler, which is easy on linux, but a higher requirement on windows. Compared to shiv, which is just a pip install away.

There is no perfect solution yet, because you have really often many things to balance: bringing in the python vm or not, allow compiled extensions or not, provide support for open() or not, etc.


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

Search: