Wikipedia:Reference desk/Archives/Computing/2023 March 14

Computing desk
< March 13 << Feb | March | Apr >> Current desk >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


March 14

edit

Are cracovians still in use?

edit

There is a question at Talk:Cracovian#optimization, asked in 2008 and still not answered:

Article seems to dismiss Cracovian as a relic, but isn't this method still used in programming if speed and data cache misses are an issue?

The anonymous user made just two edits from that IP address and is probably not active on Wikipedia anymore, but the question remains: are cracovians still in use? --CiaPan (talk) 08:24, 14 March 2023 (UTC)[reply]

Well, since it seems to be implemented in R (programming language) according to the Cracovian article, maybe that talk page might be a more fruitful place to ask. MinorProphet (talk) 16:40, 14 March 2023 (UTC)[reply]
Cracovian matrix multiplication method is not implemented in R. The article states that there is a function in R that will give you the same result, but it uses a far more optimized method. Cracovian is a "by hand" method. It is not supposed to be implemented on a computer. 12.116.29.106 (talk) 17:51, 14 March 2023 (UTC)[reply]

salt crontab

edit

When I edit my crontab file, there is a note that it is created by salt and I shouldn't edit it. I edit it anyway and a few days later, my edits are gone and it has the warning again that it is created by salt. How do I add a cron job so that salt won't delete it? 12.116.29.106 (talk) 18:50, 14 March 2023 (UTC)[reply]

According to Chapter 24 of the Redhat Training Manual that we have in our collection, salt is used to manage tasks across multiple servers and cron is used to automate tasks. In automation, it states that there should be /etc/cron.hourly, /etc/cron.daily, and more directories for cron. In each directory, there are text files which are scripts that are run by cron. Instead of editing crontab, add a script to the appropriate directory and it will be run by cron, avoiding interference by salt. This is, of course, RedHat based. Your system may be different. We have a few Ununtu books, but they don't mention salt in the table of contents or index. 97.82.165.112 (talk) 13:39, 15 March 2023 (UTC)[reply]
Thank you. I've been using the cron.daily and cron.weekly directories and it appears to be working well. 12.116.29.106 (talk) 11:19, 21 March 2023 (UTC)[reply]
Maybe you just need to use Salt (software) itself to add a new task...? --CiaPan (talk) 03:08, 16 March 2023 (UTC)[reply]