Hear me out: A scripting language that compiles to bash or sh (any suggestions?)
yogsototh @ yogsototh @programming.dev 帖子 2评论 79加入于 2 yr. ago
I use emacs org-mode and I export to markdown. If I must start from markdown, I use panda to generate an org-mode from it, and export it back once I'm done.
I don't see how this could be positive for any Software developer in the long run. I totally see how this could be positive for CEO/CTO, Project Managers, in the long run, and I see a few short term advantages for Software developers.
Let's be clear, I saw that coming since Microsoft bought Github, and I am scared by the direction this is taking. The end goal is to move more and more control and power to non-software people about Software development.
By forcing every developer to not use their own tools this will have a lot of advantage for CEO/CTOs but this is terrible for software developers:
- telemetry: they will try to find a formula to assess who are the best performer in a team. And as with SEO, any formula could be gamed, the best at this game, will not be the best software developers, but the one that will learn how to cheat.
- global team tooling enforcement: vim vs emacs etc... ? Forget about it, the only way to work on a project will be via this unique allowed editor.
- assets protection: impossible to download the code on your local computer to use external tools on it. The only way to have analysis tools will be via these "allowed" analysis tools. This will make code analysis and experimentation a lot more difficult.
- Locked by promoting vendor-specific applications. As you will focus to make your code/app/product work only for Google Cloud for example, you will naturally use Google-Cloud-only features that will make your code difficult (or impossible) to move to another Cloud provider, or god-forbid, host your product on a non-cloud or private made cloud.
And I can think of other possible drawbacks but my comment is already long enough.
- Real programmers code in C!
- NO! Real programmers code in Fortran77!
- NO! Real programmers code in ASM!
- NO! Real programmers code in binary!
- NO! Real programmers build their own hardware!
- NO! Real programmer code using bacteria DNA!
Ideally you should use the help from the OS. For example if you target Apple they provide this keychain API made for that.
But looking I found this apparently portable lib https://github.com/hrantzsch/keychain
Windows and Linux do not appear to provide as much security as macOS but this lib appear to do its best.
I don’t see how this could be prevented.
There are already many "small web" movements. With different proposals. Like gemini, sub-set of currently supported web standards (typically no-js, no-css, no POST, etc…)
But the monetized web is doomed to reach a point were it will be controlled in such a way that you will not be able to block ads, not be able to hide your pseudonymous identity.
I remember reading an article many years ago about the cat and mouse game between ads publishers and ad-blockers. The conclusion were that in the end, ads blocker will lose the final war. And with these kind of system we are closer and closer to reach it.
I think we need to collectively find a way to have sub-nets. For example declare that our website conform to certain sub-net properties.
- no-ads
- privacy (no cookie/no js/no user-agent header/no canvas, no css)
- etc…
The small webs are different for everyone. It would be very nice if we could put an HTML header that would list which small webs pattern this page is compatible with. And have a browser that would adapt to your preferences and also a way to filter your small-web preferences in search engine.
The closest to this we have today is probably gemini. But this a very small but friendly web. I am sure we could find other solutions to create an alternative "respecting his users" web.
As you only mention git and not any git hosting. I would say you could easily use git hooks. Fir you and probably ask everyone in your team to install the same git hooks to have a chance to review changes before they are commited.
For my team there is an init-git-repo.sh shell script in our repository. When you execute it, it will install all the git-hooks fir your local repository.
You can use them to add checks during commit, merge, etc…
Edit: I read a bit too fast. As you are using bitbucket there id probably the equivalent of github’s CODEOWNER file as already proposed in another comment.
“Do the right thing” in corporate speak generally means to obey some business conduct to prevent any risk for the company to be sued. Mainly, take care of interest conflicts. Do not personally contribute to hide such issue and there should even be an internal team taking care that if you tell the truth your managers could not retaliate.
Mainly, "Do the right thing" is about protecting Google. Not "Do the right thing for the world and strive for progress".
Google stopped to try to create progress. Instead they just need innovation. This is what they are after. Innovation, not progress anymore.
I am self-hosting forgejo. This is a gitea fork that focus on provide a federated github if you want.
It works flawlessly with minimal amount of resources.
nix does not need nixOS to run but is a complex package manager. At least for me, it doesn't seem more complex than docker ecosystem.
I personally use nix to take care of downloading compatible dependencies in isolation for me. And the rest of the code is really, just basic script shell or Makefile too.
I also could add a fancy mergeShells function I have written in nix to support a docker-compose-like composition of nix-shell files.
But you could go a very long way with nix before you even want to do something like this.
I use a similar approach, but I went further by creating a system that compose like docker-compose would. The trick was to write my own nix function mergeShells.
https://her.esy.fun/posts/0024-replace-docker-compose-with-nix-shell/index.html
For now, I am pretty happy with it. Also, I put the init script inside nix-shell and not in external files and use exit signal to cleanup the state.
This was a very great article to read whose title does not make justice to the content.
I think I kind of dislike the generalization on generation. To me recently there are simply a lot more people that see programming as a job and not as much as a passion.
I learnt programming as a scientific activity and not as a productive one. So this was driven by creativity. And many in my promotion shared these values. But even in my time, many were just interested in the job. And of course, these people were not as effective. They were mediocre in comparison to people programming in their free time.
And yes, there is probably a lot more people like this today, in particular in younger generation. But there are still a lot of people programming for fun in their free time in the latest generation. This is just, they are now hidden by the majority of more “normal” people. Because let’s face it. Attitude of people programming during the week-end for super long hours while still programming for work during the week is not sane and abnormal.
Edit: a big missing part is that passionate dev are not necessarily what company prefer. Because yes, they can do incredible work. But quite often I see company prefer to have few of them and a bunch of more mediocre but reliable developers.
“The congress” is coming closer.
https://www.themoviedb.org/movie/152795-the-congress
I understand why some people might not like this movie. But I think about it a few times a week. And one major part of the scenario is about a famous actor giving her digital copy to a studio and the unforeseen consequences.
I agree. In my experience certifications had a strong correlation with weak candidates.
And I also agree there could be some exceptions.
But there are many EEE attempts by big players.
Microsoft Exchange is not entirely compatible with normal protocols in subtle ways to provide outlook-only features which makes it very difficult for me to use my preferred email client for my work emails. So I am naturally forced to use outllook while I hate it.
Gmail can easily mark any small and private email domain as spam making. And in fact there are many stories like these, where people stopped self hosting their email server to use a bigger player (and often pay for it) so their emails are seen. If gmail was smaller, they wouldn’t have so much power as forcing most people to not host email.
So the conclusion for me is not corporate vs free/FOSS. But more about preventing having too much power in a single instance which is why it is important not to let threads federate and take >90% of the content, participants, etc…
The Office (both US and UK versions) will be very entertaining and feel positive
As a lead I could stop coding. But I choose to keep time to code every week. I believe this is very important to keep in touch with the reality my reports are facing.
So this is possible to still code but this is not natural. Sometimes I simply cannot have the time to touch any code for a few weeks if I do not take care about it.
I use this nice trick to use Clojure has a bash script. This auto-download clojure so this id quite portable and reproductible.
https://gist.github.com/ericnormand/6bb4562c4bc578ef223182e3bb1e72c5?permalink_comment_id=4547071#gistcomment-4547071
Previously I also used Haskell’s turtle lib that could run with a portable shebang and it could even be compiled later if you need more speed.