Programming

DirigibleProtein , in Easy Application Deployments with Linux

If anything goes wrong with the deploy script, such as failing tests, no harm will be done because the script exits upon the first error encountered.

How do you clean up? Once the deploy script is fixed, how do you know what’s been done and what needs redoing?

Have you considered ansible/puppet/chef/salt — environments dedicated to deployment and cleanup, with idempotency to allow for fixing and repeating the deployment, across multiple operating systems and versions?

Aijan OP ,

Cleanup can be as simple as deleting the latest deployment directory, if the script gets that far. The article is about using built-in Linux tools for 'easy' application deployments. One can also use dedicated tools, as you suggested, to further automate the deployment process.

nick , in What search engine do you use?

Kagi

kaputter_Aimbot , in What search engine do you use?

MetaGer is a metasearch engine focused on protecting users’ privacy. Based in Germany, and hosted as a cooperation between the German NGO ‘SUMA-EV - Association for Free Access to Knowledge’ and the University of Hannover, the system is built on 24 small-scale web crawlers under MetaGer’s own control. In September 2013, MetaGer launched MetaGer.net, an English-language version of their search engine.

Source: https://en.m.wikipedia.org/wiki/MetaGer


It currently supports the following languages/regions:

Dansk (Danmark)

Deutsch (Österreich/Schweiz/Deutschland)

English (Great Britain/Ireland/Malaysia/USA)

Español (España/México)

Suomalainen (Suomi)

Français (Canada/France)

Italiano (Italia)

Nederlands (Nederland)

Polski (Polska)

Svenska (Sverige)

Source: https://metager.org/lang


There is a TOR-hidden service too:

https://metager.org/tor


It is open source:

https://gitlab.metager.de/open-source/MetaGer


And has other useful features, for example:

That you can hide yourself behind our proxyserver just by opening the result anonymously? Use “OPEN ANONYMOUSLY”; this also affects the following links.

Source: https://metager.org/tips


Alternatively I use some SearxNG-instances, preferably hosted in the EU:

https://searx.space

atzanteol , in [History] An editor letter by Edsger Dijkstra, titled: "go to statements considered harmful" (march 1968).

Java does not support goto.

lysdexic , in Easy Application Deployments with Linux

I feel this sort of endeavour is just a poorly researches attempt at reinventing the wheel. Packaging formats such as Debian's .DEB format consist basically of the directory tree structure to be deployed archived with Zip along with a couple of metadata files. It's not rocket science. In contrast, these tricks sound like overcomplicated hacks.

Aijan OP ,

Author here. In case it’s not clear, this article isn't about installing Linux packages; it's about deploying multiple versions of software to development and production environments.

photonic_sorcerer , in What search engine do you use?
@photonic_sorcerer@lemmy.dbzer0.com avatar

Anyone have any experience with Swisscows?

Asudox , in What search engine do you use?
@Asudox@lemmy.world avatar

I use my own self hosted SearXNG.

0x0 ,

Why the -ng-?

Asudox ,
@Asudox@lemmy.world avatar

It's a better fork of SearX

anzo ,

Same, it's super simple with Docker and you don't even need to fiddle with ports or anything. I should probably try running it at my work PC now that I think of it.. Anyway, duckduckgo has been good to me for all these years.

0x0 , in [History] An editor letter by Edsger Dijkstra, titled: "go to statements considered harmful" (march 1968).

goto does have some uses, such as single exit point, but should be used sparingly.

mryessir , in What search engine do you use?

Yesterdsy I stumbled over this: www.mojeek.com
Apparently has its own index.

Kissaki , in How to conduct a software audit?

Ironic that you don't share the pointers on what's expected to be checked with us.

Kissaki , in Public personal dev accounts: opinions?

An employer is unlikely to waste time on deep candidate analysis. If they see you as a public code contributor, it's an upside in activity, experience, and conversation starter, and discussion points for any interviews. If they look at your code, it won't be deep. I doubt they would go through the effort of correlating from a public coder profile (e.g. on GitHub) to a Lemmy profile and then look at their posts.

Once they're at the point where that would be a reasonable investment, they already know you personally and don't care about online content anymore.

Maybe some big companies use online analysis tools though.

Anyway, I know what I'm worth as a developer/an employed. I don't think I post that kind of divisive or sensitive stuff that does or possibly should be related to my employment and work. If they see it as such, then I'm fine with it not being a match.

I actually think the public nature could and should be upsides. Related to work or not.

Kissaki , in What search engine do you use?

DuckDuckGo

kakes ,

I used to have to put !g (redirect to Google) on like half my searches to get the results I wanted. These days, I actually generally prefer DDG's results over Google's.

Kissaki , in [History] An editor letter by Edsger Dijkstra, titled: "go to statements considered harmful" (march 1968).

TL;DR:

You know the state and progress of a program from the line you are on. A goto breaks that.

You can index the progress of a program through static line indexes and a dynamic loop index and function call stack. A goto breaks that. Including a "statements/lines since beginning of execution" is infeasible for understanding.

Star , in What search engine do you use?

I use Ecosia, it plants trees with the profits from its ad revenue! Results are sourced from Bing and Google.

Scary_le_Poo , in What search engine do you use?
@Scary_le_Poo@beehaw.org avatar

I run my own searxng instance. It's amazing.

I also spun up my own yacy instance. It was pretty terrible. It could be good, but you would need a pretty beefy machine with a lot of storage and a lot of time for it to index for it to be anything approaching good.

Miaou ,

Somehow I've never heard of searxng before. Would you say it's better than DDG? Are the memory requirements not too high?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming@programming.dev
  • random
  • All magazines