< 042016-10-05⋎06 >

farmOS (farmos.org) is a free open source, web-based farm management system, built on Drupal.Set by mstenta on 2016-07-29 at 15:37
01:37*tonym has joined
04:06*tonym has quit (Quit: Going offline, see ya! (www.adiirc.com))
04:35*kadaan has joined
04:35*kadaan is now known as kadaan
04:39*Kadaan_ has joined
04:40Kadaan_Does farmOS have any support for forward looking crop planning, or do you still end up doing that in Excel?
04:46*Guest35244 has quit (Ping timeout: 240 seconds)
06:41*kadaan has joined
06:43kadaan@mstenta: Is there documentation anywhere to aid a Drupal newb in setting up a local instance of farmOS so that they can easily contribute bug fixes?
06:43kadaanOr a vagrantfile?
06:44kadaanAnd some instructions on which project to git clone, what the directory structure needs to be, etc.
06:48*Kadaan_ has quit (Quit: Connection closed for inactivity)
06:57*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:47mstentafarmBOT: tell kadaan Hi! I wasn't around when you asked your question earlier. Send me a message via farmier.com/contact and we can find a time to meet up in IRC. Or feel free to post specific questions/issues to Github/drupal.org
11:47farmBOTmstenta: I'll pass that on when kadaan is around.
11:56mstentafarmBOT: tell kadaan We are currently working on setting up a Docker image that can be used for local development purposes. Here is the Github issue if you want to follow along: github.com/farmOS/farmOS/issues/15
11:56farmBOTmstenta: I'll pass that on when kadaan is around.
13:06*tonym_ has joined
13:18mstentaHi tonym_
13:18mstentaI left you a message via farmBOT
13:41svennmstenta: what kind of script is farmbot? looks cool.
14:14mstentasvenn: drupal.org/project/bot
14:15mstentasvenn: it's the same bot that is used in the official drupal IRC channels (ie: #drupal)
14:39*JustTB has joined
14:45*mstenta has quit (Quit: Leaving)
15:30*tonym_ has quit (Quit: Going offline, see ya! (www.adiirc.com))
18:14*kadaan has joined
18:55*kadaan is now known as kadaan
18:55*kadaan_ is now known as kadaan_
19:06*tonym_ has joined
19:07*tonym_ is now known as tonym_
19:13*tonym has quit (Ping timeout: 265 seconds)
19:34*mstenta has joined
19:34mstentafarmBOT: log pointer?
19:34farmBOTfarmier.com/bot/log/farmOS/2016-10-05#T1
19:56kadaanMight have missed a response, but...
19:56farmBOTkadaan: 8 hours 8 min ago <mstenta> tell kadaan Hi! I wasn't around when you asked your question earlier. Send me a message via farmier.com/contact and we can find a time to meet up in IRC. Or feel free to post specific questions/issues to Github/drupal.org
19:56farmBOTkadaan: 7 hours 59 min ago <mstenta> tell kadaan We are currently working on setting up a Docker image that can be used for local development purposes. Here is the Github issue if you want to follow along: github.com/farmOS/farmOS/issues/15
19:56kadaanmstenta: Is there documentation anywhere to aid a Drupal newb in setting up a local instance of farmOS so that they can easily contribute bug fixes?
19:56mstentaHi kadaan :-)
19:56kadaanThanks!
19:56mstentaThere isn't any documentation specifically for setting up a local development environment yet, but there is some general documentation about installation on farmos.org
19:57mstentafarmos.org/hosting/installing/
19:57mstentaIt does assume some knowledge of Drupal, though.
19:57mstentaBut there are links to general Drupal documentation as well.
19:58mstentaPretty soon we should have a docker image available for local testing purposes, which will make it a bit easier to get up and running quickly.
19:58kadaanI think that is my main stumbling block.
19:58kadaanThe drupal knowledge.
19:58mstentakadaan: that's ok - even if you don't help with development, you can always help with bug reports and testing
19:59kadaanI'd like to help with dev, if possible.
19:59kadaanGiven that it is my line of work :)
19:59mstentakadaan: great! it's definitely going to require learning some Drupal
19:59kadaanAnd we are just starting farm planning.
19:59mstentaawesome
20:00kadaanThe main issue is it really isn't clear how to setup a local environment that I can "hack" around the module on to start addressing issues.
20:00mstentakadaan: are you familiar with setting up a website on apache?
20:01kadaanYeah.
20:03kadaanAnyway, I can spend a bit more time on trying to get Drupal running locally, installing the modules, and running farmOS.
20:03kadaanOn a different note, have you thought or planned for a crop planning module?
20:04kadaanAnd have you looked at handling profit management with a variant of www.veggiecompass.com in farmOS?
20:05mstentakadaan: cool - so a bit of an overview...
20:05mstentafarmOS is a "distribution" of drupal
20:05mstentakind of like a linux distro
20:05kadaanBased on drupal core 7.x, right
20:05mstentait is drupal core packaged with a set of pre-configured modules
20:05mstentayup
20:05kadaan:)
20:06mstentaso you can just download the whole distro from drupal.org/project/farm
20:06kadaanThen core modules, thrid party modules, and farmos modules.
20:06mstentaand that comes with drupal core and all the farmOS modules
20:06mstentayup, you go it :-)
20:06mstentahave you ever worked with Docker before?
20:07mstentaif so, we actually do have a Docker image available already: hub.docker.com/r/farmos/farmos/
20:07mstentait actually works to get a farmOS running locally... the only thing it doesn't have yet is persistence
20:07kadaanI have some. Didn't know that the docker image was published.
20:07mstentaso if you destroy the docker container, you lose all the stuff
20:07kadaanThat is fine for hacking.
20:08mstentawe're working on it in this issue: github.com/farmOS/farmOS/issues/15
20:08kadaanAre you doing PR the github way or the convoluted drupal way with git patches?
20:08mstentai have a pretty clear plan for it... just need to do it :-)
20:08mstentapull requests are absolutely welcome!
20:08mstentai do all the project management in drupal.org, because the issue queue is better suited
20:09mstentabut the Github mirrors are great for pull requests
20:09mstentaso whatever you prefer
20:09mstentare: crop planning... yes! that's a big feature i'm eager to work on
20:09mstentafarmOS can already keep track of plantings and their associated activities
20:10mstentabut the "crop planning" piece will add a "wizard"-like layer on top of that to make it easier to generate future plans
20:10kadaanHave you read: www.growingformarket.com/store/products/
20:10mstentaand to visualize it
20:10kadaanI'm liking the "work back" approach to determining a crop plan.
20:11mstentakadaan: no i haven't but that's been recommended to me by a few people! :-)
20:11kadaanIt is really good.
20:11mstentai'll order it now...
20:11kadaanThe basics are...
20:15kadaan1. Decide a financial target
20:15kadaan2. Break that out across your season, determining how much of you need to sell each week, market, etc.
20:15kadaan3. Allocate specific crops to meet sales targets
20:15kadaan4. Determine harvest schedule for having product to sell
20:15kadaan5. Figure out planting schedule
20:15kadaan6. Produce seed order
20:16kadaanObviously, there is a lot of iteration based on the crop rotation plan, space constraints, etc.
20:16kadaanAnd there is "padding" built in to account for loss.
20:16mstentayea that's great
20:16kadaanGenerally padding in both harvest and seed order.
20:17kadaanHave you played around with the GPLv2 CropPlanning app on Github?
20:17mstentain developing farmOS, we will probably end up taking a "work back" plan on that "work back" plan :-)
20:17mstentaie: we will need to make the features in sort of the opposite order of the plan
20:18mstentaright now we have the basic foundations for making a planting schedule, but it needs to be easier to use
20:19mstentai think the "work back" strategy is a good way to approach crop planning
20:21kadaanThings that would help fill the gaps would be the ability to "import" a planting schedule.
20:21kadaanThat way you could do the "planning" outside farmOS and then import the plan.
20:22mstentayea agreed
20:22kadaanCan you include a "seeding schedule", "harvest schedule", and "transplanting schedule" in farmOS?
20:22mstentayes - there are log types for all three of those
20:22kadaanGreat!
20:22kadaanSo it we could "import" all of those...
20:23kadaanI did see an issue for import.
20:23kadaanI think "
20:23kadaanI think "export" would be really useful too. That way I could pull data into Excel and pivot insights.
20:24mstentayea, both import and export of entities is on the list
20:24kadaanAs one of the other things that feels "missing" is the ability to "extract" insights from all of the stored data.
20:24mstentaneither are particularly hard to implement...
20:25mstentathe only thing that has been stopping me from adding them is the fact that i am looking toward upgrading to Drupal 8 asap
20:25mstentaand it may be different modules in D8 than D7 for importing/exporting ...
20:25kadaanThat seems like it would be nice, but from what I saw on your page you are potentially blocked by other modules.
20:25kadaanRight?
20:25mstentai may still decide to implement it in D7 anyways...
20:26mstentayes, but not too bad... i've kept farmOS relatively simple in terms of it's dependencies
20:26mstentathe biggest hurdle is the Openlayers module
20:26mstentaI was recently made a co-maintainer of that module - so I may be the one responsible for porting it to D8
20:26mstentait's a big module too...
20:27mstentabut I can also get a lot of the other farmOS stuff working in D8 before that
20:28mstentayou should join the farmOS monthly call sometime!
20:28mstentaalways good discussions :-)
20:29mstentafarmos.org/community/monthly-call/
20:29mstentaalthough... it may end up getting postponed/canceled this month... my wife is due to have a baby ANY DAY now... :-)
20:30kadaanNice!!! Congrats!
20:31*kadaan is now known as kadaan
20:31*kadaan_ is now known as kadaan_
20:32mstentathanks! :-)
20:32mstentait does mean that farmOS development will probably slow down for a bit as I adjust to fatherhood :-)
20:32kadaanI'll try to come to that call
20:32mstentaall the more reason to get more people involved ;-)
20:33kadaanI like that young age. Mine are teens now.
20:33mstentaoh cool
20:33mstentaany advice?
20:33mstentathis will be my first
20:33kadaanHehehe
20:33kadaanRemain calm.
20:33kadaanBe patient.
20:34kadaanAnd the best I heard recently from a person at school is to "be present".
20:34kadaanNot just physically, but mentaly.
20:34kadaanThe beginning will be great. Less sleep, but not that big of a deal.
20:34mstentammm good advice
20:35kadaanThe next hurdle is when they start walking and getting into everything.
20:35mstentahaha
20:35kadaanHave you seen VeggieCompass?
20:36mstentano i haven't seen that one
20:36kadaanIt is a beefy excel spreadsheel from University of Wisconson.
20:37kadaanThat is all about profit tracking.
20:37kadaanWith the goal of being able to determine which products, markets, etc. are the most profitable.
20:38mstentaawesome
20:38mstentaso yea - i'm aiming to get to a similar place eventually with farmOS
20:38mstentabut i'm taking a bit of a different approach as a starting point
20:38mstentait is all based around assets and events
20:39mstentaessentially creating a model of the farm within the database
20:39mstentathe initial goal is to make it easy to record everything that happens, and refer back to it later
20:39mstentabut on the same token, you can create events in the future... thus "planning"
20:40mstentaand on top of that we will build tools to make the planning process easier
20:40kadaanNice
20:41kadaanSeems like you already cover "Step 1" from VeggieCompass: Expense Input, right?
20:41mstentathere is an "input" log type, for recording inputs to assets
20:41kadaanIT is basically just a tracking of expenses.
20:42kadaanLike "spent 500 on tractor maintenance"
20:42mstentafarmOS does not track costs or purchases yet
20:42kadaanAhhhh
20:42mstentabut I am also working on another set of bookkeeping modules for drupal, which will eventually be included in farmOS: drupal.org/project/ledger
20:42mstentaso it's all part of the master plan ;-)
20:42kadaanI saw that :)
20:42kadaanWhat about Sales?
20:42mstentabut it is one step at a time
20:42kadaanIs there a way to input that right now?
20:42mstentathat would be covered in Ledger as well
20:43kadaank
20:43mstentano, not right now
20:43mstentathe primary use for farmOS right now is "record keeping"... but not "book keeping" yet
20:43mstentathat's what i've been calling it anyway
20:43kadaanOnce those two are in place most all of the data that needs to be there for profit management will be available.
20:44kadaanI wonder: if farmOS is not considered the "source of truth" for financial info, will it simplify the problem?
20:45mstentayea exactly
20:45mstentaand then we can start connecting all the dots
20:45mstentahmm, not sure what you mean...
20:47kadaanIf farmOS is the "source of truth" much attention needs to be paid to ensuring that the data is very granular, 100% accurate, etc.
20:47kadaanWhereas, if it is not, then high level information might accomplish 80% of the goals.
20:48mstentakadaan: gotcha... well i am trying to ensure that everything CAN be very granular
20:48kadaanFor instance, the "sales" info that is record in VeggieCompass is: Crop,Unit Type,Price,Venue,Quantity. Where Venue is: CSA, Market, Wholesale, Stand.
20:49kadaanThat data isn't too granular, and doesn't require double entry bookkeeping to be immediately useful.
20:49mstentagotcha
20:50mstentayea my thought is that the double-entry aspect of Ledger will be sort of "hidden" in farmOS
20:50kadaanWhen more granular data is available and double entry bookkeeping is in place, then accuracy can be "ensured" and flexibility increased.
20:50mstentaie: there will be some logic to fill in the other side of the transaction automatically
20:50kadaanRight.
20:51kadaanAny idea how big a "big" mysql database is for farmOS?
20:52kadaanTime tracking is on your list as well, right?
20:53mstentayup, time tracking and task assignment (so you can assign tasks to different people, and have different todo lists for each)
20:54mstentado you mean database file size?
20:54kadaanYup
20:54kadaanI would love to be able to just pop into the webapp on my phone and enter the amount of time I spent moving the goats.
20:55kadaanSeems like that one shouldn't be too hard to implement.
20:55mstentayea definitely
20:55mstentait would essentially just be a new field on log entities
20:55mstentafor storing time spent
20:55mstentaand maybe also a nice "punch in/out" button via javascript on top of that
20:56kadaanWhat are your thoughts on "reporting"
20:57kadaanEspecially around being able to extract insight from all the collected data.
20:57mstentai see "reporting" as essentially summaries of logs for different purposes
20:57mstentaso my assumption is that various reports will start to take shape as necessary
20:57mstentausing the data stored in the logs
20:57kadaanFor example, I imagine if all this data was in Elasticsearch, I could use Kibana to slice and dice the events to get aggregates.
21:00mstentabrb
21:00kadaannp
21:03mstentakadaan: yea absolutely... especially more of the structured data
21:04mstentaie timeseries data collected by the farm_sensor module
21:05kadaanYup.
21:05kadaanBut even time tracking data would be good.
21:06kadaanFor bigger farms, being able to easily create a chart with time spent grouped by task and worker.
21:06mstentayea definitely
21:07kadaanIs there anything in Drupal-land which is a good fit for this? Building a super flexible reporting UI can be difficuly.
21:07mstentai think reports will probably be very case-by-case dependent
21:08mstentabut there are some useful building blocks like Views
21:08mstentaand Panels
21:08mstentathose aren't for reporting specifically
21:09kadaanJust saw EasyChart.
21:09kadaanWhat about that?
21:10mstentayea potentially
21:10mstentai've been exploring graphing libraries for inclusion
21:11mstentait would be good to find one that can be used for everything in farmOS
21:11mstentaD3.js is one i'm considerring
21:11mstentathere is also this module: drupal.org/project/visualization
21:11kadaand3 is super powerful
21:12mstentawhich is sort of a generalized visualization module that you can use to connect other graphing libraries into Drupal
21:12kadaanThat looks pretty nice
21:13mstentai think it has a Drupal 8 version available too
21:13mstentaultimately, i think the decision will largely be based on maintainability into the future
21:14mstentaso modules/libraries that have a good active community are probably our best bet
21:14kadaanThat seems to be the hard part about drupal.
21:14kadaanSo many modules.
21:14kadaanNot all maintained.
21:15mstentayea, there are certainly some dead ones
21:15mstentabut the good ones are the ones that last :-)
21:15mstentadefinitely requires some judgement to decide though
21:16mstentawe would just want to try to avoid the potential headache of having to change to a different library in the future if we find that the one we are using doesn't meet our needs
21:16mstentaalthough the same could be said about most of programming :-)
21:18kadaanToo true.
21:19kadaanI gotta get back to work. I'll look at getting farmOS running in docker and play around with an issue or two.
21:19kadaanI think I might try to tackle the one about changing the autocomplete entry fields to drop downs.
21:20kadaanIs that still desired?
21:20mstentaAwesome! it was great chatting!
21:21mstentaoh yea! definitely!
21:21kadaanWhat about backwards compatiblity when making that change?
21:21mstentado you have the link to that issue handy? looking...
21:22mstentaif i remember correctly, the idea was to make them use the Entity Reference View Widget instead of the autocomplete...
21:22mstentasimilar to the way the asset reference fields work
21:22mstentabackwards compatability won't be an issue for it, because it's just a change to the field widget that is used
21:23mstentathe field itself (and therefore the data that it stores) will stay the same
21:23kadaanJust saw that one.
21:23mstenta(that's one of the nice things about the Drupal Field API module - you can swap out the "widget" used for fields without touching the underlying data)
21:23kadaanI thought I saw one last night that was a request to make the fields all dropdown
21:24kadaanAnd you (I thought) had commented that it would probably be better to enforce creation before selection.
21:24mstentaoh maybe i'm thinking of something different...
21:25mstentanot sure that one rings a bell...
21:25kadaanMaybe it was a dream...
21:26mstentahaha no i believe you... just can't think off the top of my head which one it is :-)
21:26mstentaif you find the link again feel free to ping me on here
21:27mstentai'm curious now
21:27kadaanIt was in this one: www.drupal.org/node/2755237
21:27kadaanOr, maybe not.
21:27kadaanGrrr
21:28mstentathis is the one i was thinking of: www.drupal.org/node/2758907
21:29mstentaoh this one! www.drupal.org/node/2784901
21:29mstentaright ?
21:30mstentaoriginally posted in github: github.com/farmOS/farm_area/issues/2
21:32kadaanYes! Nice find!!!
21:32mstentacool
21:33kadaanSo does it conflict with www.drupal.org/node/2758907
21:33mstentayea so actually, those two issues (www.drupal.org/node/2784901 and www.drupal.org/node/2758907) are essentially the same... we should mark one as duplicate of the other
21:33mstentai guess i forgot about the first one when i made the second
21:33kadaanAnd which is the correct way to solve?
21:33kadaanEntity Reference View Wdget?
21:34mstentagood question :-)
21:34mstentathe easier one is the dropdown
21:34mstentaand maybe we should just do that as a first step...
21:35*kadaan is now known as kadaan
21:35mstentaultimately, there are some big changes that might happen with Areas in the future - at which point we will need to re-asses
21:35mstentathey will probably become a type of asset
21:35mstentai'll comment on those issues with these thoughts
21:35mstentaif you want to try your hand at the dropdown one, that would be great!
21:36mstentait will definitely get your feet wet with drupal... :-)
21:36mstentaand i'd be happy to talk you through some of it in IRC if you want
21:40*kadaan_ has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:07*kadaan has joined
22:07kadaanThat would be great
22:07kadaanI'll take that one on
22:08*kadaan is now known as kadaan
22:08*kadaan_ is now known as kadaan_
22:09kadaanWhat times are good for you for IRC? I'm on the west coast.
22:13mstentakadaan: i'm on the east coast
22:13mstentakadaan: i'm generally on during the day
22:13mstentamore of a morning person than a night person
22:14mstentabut also... if you don't see me for a while i might be holding a baby
22:14kadaantell mstenta Well, I'm up by 6am, so most days I could do something early.
22:14kadaanGah. My IRC skills are weak
22:15kadaanThen I'll hit you up for a IRC walkthru sooner than later.
22:15mstentakadaan: ok sounds good!
22:16mstentakadaan: well it was great chatting! i'm gonna sign off for today
22:16mstentahave a nice evening!
22:16kadaanLater
22:18*kadaan is now known as kadaan
22:19*kadaan_ is now known as kadaan_
22:30*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:31*kadaan has joined
22:31*kadaan is now known as kadaan
22:31*kadaan_ is now known as kadaan_
22:38mstentakadaan: FYI i updated those two issues... made this one the canonical: www.drupal.org/node/2784901
22:40kadaanThanks!
22:58*mstenta has quit (Remote host closed the connection)
23:29*kadaan is now known as kadaan
23:30*kadaan_ has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)

< 042016-10-05⋏06 >