IRC logs for #farmOS, 2023-03-25 (GMT)

2023-03-24
2023-03-26
TimeNickMessage
[01:01:10]* jlapping[m] has joined #farmos
[01:01:28]* jlapping[m] is now known as JasonJoe[m]
[01:04:30]<JasonJoe[m]>Hi there... I am a small scale farmer in Australia running between 50 and 100 head of cattle. I have been exploring various options to bring my farm records into the 21st century.
[01:10:25]<JasonJoe[m]>I have been testing a tool offered by a livestock scale maker Agrieid (their software is called Livestockpro) but not that keen on their pricing model which is going to cost me $20 / month for some basic animal paddock tracking so thought I would give FarmOS a go
[01:14:58]<JasonJoe[m]>I manage a couple basic websites with a business web hosting provider so was going to see if I can install and host a version of farmos on the same web servers.
[02:37:17]<FarmerEd[m]>I'm using farmOS self hosted for a small cattle farm also. You can't beat the price anyway.
[02:38:11]<FarmerEd[m]>Or the flexibility, especially if you are somewhat inclined to thinker with some code.
[12:00:04]* OctavioMartnDuar has quit (Quit: You have been kicked for being idle)
[12:02:20]<mstenta[m]>Any math wizards know how to figure out the precision of a terminating fraction? :-)
[12:02:39]<mstenta[m]>eg: given 1/8, which converts to a decimal of 0.125, how do we figure out that the precision is 3 in code?
[12:02:57]<mstenta[m]>(using math, not string parsing)
[12:03:05]<mstenta[m]>is it possible?
[12:03:07]<mstenta[m]>context: https://www.drupal.org/project/fraction/issues/3350383
[12:05:16]<mstenta[m]>I feel like this is either something obvious and my brain isn't fully awake yet... or it's one of those impossible mathematical conjectures that's never been solved 😆
[12:06:02]<mstenta[m]>(or there's a clever well known solution that I would love to learn!)
[15:08:45]<mstenta[m]>🏆️ credit to jgaehring for this solution (given the denominator of a terminating fraction, no numerator necessary):... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/f015029caf...)
[15:08:59]<mstenta[m]>calcDecimalPlaces(8) returns 3
[15:14:18]<mstenta[m]>I also had a friend ask ChatGPT... and the response was very thorough and... wrong. 😂
[15:14:43]<mstenta[m]>jgaehring: 1
[15:14:43]<mstenta[m]>ChatGPT: 0
[15:32:53]<FarmerEd[m]>Yea...I asked ChatGPT some Drupal questions and got very detailed and convincing solutions which turned out to be totally off the mark.
[15:39:33]<jgaehring[m]>> <@mstenta:matrix.org> jgaehring: 1
[15:39:34]<jgaehring[m]>> ChatGPT: 0
[15:39:34]<jgaehring[m]>https://media.tenor.com/ZgRarb9uQi0AAAAd/bugs-bunny-strong.gif
[19:29:09]<JasonJoe[m]>I am playing around using the 30 day free hosted trial offered by Farmier but ideally would like to host it myself. A little bit of knowledge is a dangerous thing... and finding the installation instructions on the website is just a little beyond my basic server install knowledge which is a little rusty... is there a step by step guide for dummies (like) me ? Once I have worked out how to get it installed I will do a video for the
[19:29:09]<JasonJoe[m]>novices like me and possibly how I get it all setup as think it will help others.