< 042016-11-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
07:36*kadaan has joined
09:00*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:07*JustTB has joined
12:15*JustTB has quit (Quit: Leaving.)
14:59*Kadaan has joined
15:14Kadaan@mstenta. I was looking into the map layer issue, but I noticed some weird behavior. After a fresh install, the map worked fine. Then after getting the latest of openlayers (git init, git remote add ..., git checkout 7.x-3.x, etc.) the map stopped working due to a missing API key. I followed the instructions about setting up the API key and that error went
15:14Kadaanaway. Now I get an error from google about the version of the API that openlayers is hitting is retired. I tried switching to the latest version of the openlayers API from CDN, but that didn't help. Any ideas?
15:29mstentaKadaan: hi
15:30mstentai see that warning about the api version too with Openlayers 7.x-3.1 (the version included with farmOS) - but the map still works
15:30mstentais your map not working at all?
15:32KadaanI can get a tan bases layer
15:32KadaanI'll be home in a few minutes I can try again
15:32mstentaOh actually - I also see the NoApiKeys warning...
15:33mstenta(on my local testing site I don't have API keys included)
15:33mstentaI wonder if Google's API can tell whether or not it's a public site
15:33mstentaKadaan: one thing to note - the 7.x-3.x branch of the Openlayers module made major changes to the way that the Google Maps layers work
15:34KadaanSo, I added a key in the openlayers UI
15:34KadaanActually, I'm on the branch that is green in drupal
15:34mstentawhat version of Openlayers are you using?
15:34mstentais it the stock one that came with farmOS?
15:35mstentathe version that is packaged with farmOS is actually 7.x-3.1 (the current recommended release) plus a few patches that I added to fix some things
15:36mstenta(it's worth warning you ahead of time: the Openlayers and mapping stuff in farmOS is THE MOST COMPLICATED PART of the whole system - and i've had to fix many OL bugs in the process of making it work)
15:36mstentaso you're jumping into the deep end here, FYI... ;-)
15:38mstentaKadaan: as an aside... i started working on the CSV export stuff last night! i decided that i would really like to have at least a basic CSV export of lists in the 1.0 release - it's one of the most commonly requested features
15:39KadaanGreat. I have started some work on that too. I had added the CSV export into all the lists and it seemed to work just fine. I just wasn't really happy with how much duplicated work I had to do
15:40KadaanI'm willing to skip the map stuff then. Any suggestion on what to look at next
15:40mstentaoh cool i didn't know you started it
15:40mstentaremind me: what were you going to look at with the map stuff?
15:40KadaanI wanted to check if multiple base layers works now
15:40mstentaooh ok
15:41KadaanIs based on the conversation we had earlier and IRC. You said it might work now because they've made a ton of changes
15:41KadaanI see that the bug is still open on open layers
15:41KadaanAlong with the fullscreen bug
15:41mstentayea i remember now
15:42KadaanSo maybe it isn't fixed
15:42mstentai've been procrastinating on testing that new stuff out
15:42mstentai've had a few long OL debugging sessions
15:42mstentaat times in the past when things were updated
15:42mstentaso i'm expecting that again
15:43mstentayou can leave that stuff to me if you want - i've managed to get a pretty good understanding of that module... for better or worse
15:43mstentai'm not going to be online much today... some errands to do - and i'm hoping to get garlic in the ground
15:44mstentado you want to work on the time tracking module?
15:44mstentamaybe we could discuss that a bit - how to get it started at least
15:47*kadaan_ has joined
15:47kadaan_Regarding openlayers, I'm on 7.x-3.x
15:51mstentai'm going to start a quick log_timesheet module
15:51kadaan_Nice
15:52mstentajust a skeleton to start with
15:52kadaan_That would be great
15:52kadaan_Here is what I started on for CSV export: github.com/kadaan/farm_log/tree/CsvExpor
15:53mstentacool thanks!
15:53mstentakadaan_: github.com/mstenta/log_timesheet
15:54mstentajust an initial commit - but that right there is the BARE MINIMUM for a Drupal module
15:54mstenta*.module and *.info file
15:54kadaan_It isn't really complete, but I was able to get a CSV export from that.
15:54mstentait doesn't do anything, but you could install it
15:54kadaan_Is it published to drupal, or should I just git clone?
15:54mstentathe next thing we'll want to do is add a *.install file, which has a hook_schema() function to define the new database table that we want to add
15:54mstentait's not on drupal.org yet, no - just github
15:55mstentaso yea - git clone for now
15:55kadaan_Should it be in .data/www/profiles/farm/modules/dev?
15:55mstentaand/or fork in github
15:55mstentai have mind in .data/www/sites/all/modules/git
15:55mstentabut ultimately it will go in .data/www/profiles/farm/modules/contrib
15:55mstentabecause it will be a module on drupal.org (aka a contrib module)
15:56mstentait doesn't really matter where you put it now
15:56mstentajust know that sometimes moving modules can cause issues in the future...
15:56mstentabut they are always solveable
15:59mstentathe reason i put it in sites/all/modules is because the Docker entrypoint script is set up to preserve the sites folder if the codebase gets rebuilt
16:00mstentaso if you were to manually trigger a rebuild of the farmOS codebase, any custom stuff in profiles/... would be lost
16:00kadaan_I'm gonna setup from scratch real quick.
16:01mstentaok
16:02mstentai'm sketching up a quick schema hook to create a database table
16:02mstentashould be self-explanatory once you see it...
16:02mstentacan we brainstorm what that schema should look like real quick?
16:03mstentait will be a new database table called log_timesheet - that is associated with logs
16:03mstentaso it will have an "id" column that corresponds to the primary id key in the "log" database table
16:03mstentawe'll also want a "uid" to reference the user that is punching in/out, right?
16:04mstentaand a start and stop time
16:04mstentacan you think of anything else? maybe that's it?
16:05kadaan_That seems good.
16:05mstentaok
16:05mstentaso wait until i get this done before you install the module
16:05kadaan_Are we going to show a list of punch ins and outs?
16:05mstentabecause database tables are only installed when a module is installed the first time
16:05mstentaso if you install before that, you'll have to uninstall and reinstall to get the schema
16:06mstentayea i think that would be cool to have a list of clocked times for each log
16:06mstentawith the user who did them
16:06mstentathen from there we could also build other things... like a page that lists all the work times of a particular user, across all logs
16:07kadaan_If so, then are we going to "calculate" the duration in the view?
16:07mstentahmm good question
16:07kadaan_using something like: www.drupal.org/project/computed_field
16:07kadaan_And what about csv export? Will computed duration work with that?
16:08kadaan_Quick change of subject. What do you use to get persistent IRC?
16:08mstentapersistent irc?
16:09mstentahmm - let's give the calculated duration stuff some more thought... i'll think through the options... there are a bunch of other things that can be done in the meantime
16:09mstentalike setting up the punch in/punch out UI
16:09mstentai don't think we'll need computed field
16:10mstentawe can provide our own Views Field Handler that can do the calculation - if that ends up being the best option
16:10mstenta(keeping dependencies minimal)
16:10kadaan_persistent irc: when you are away from your computer, still getting the full irc history.
16:10kadaan_Okay
16:11mstentaoh hmm... well - i generally just leave my IRC client open, and have it set up to log
16:11mstentabut also farmBOT maintains a log
16:11mstentafarmBOT: log pointer?
16:11farmBOTfarmier.com/bot/log/farmOS/2016-11-05#T1
16:11kadaan_Oh. Cool!
16:11mstentayea! :-) helps to look back on
16:11mstentai think i showed you this already, but you can also tell farmBOT to save messages for people
16:12mstentafarmBOT: tell kadaan_ what's up!
16:12farmBOTmstenta: I'll pass that on when kadaan_ is around.
16:12kadaan_I wasnt sure what you wrote to get it to work.
16:12farmBOTkadaan_: 15 sec ago <mstenta> tell kadaan_ what's up!
16:12mstentafarmBOT: help
16:12farmBOTDetailed information is available with "BOTNAME: help <feature>" where <feature> is one of: Botagotchi, Factoids, Karma, Logging, Reminders, Seen, Tell, Timezones.
16:12kadaan_help
16:12kadaan_farmBOT: help
16:12farmBOTDetailed information is available with "BOTNAME: help <feature>" where <feature> is one of: Botagotchi, Factoids, Karma, Logging, Reminders, Seen, Tell, Timezones.
16:12kadaan_farmBOT: help tell
16:12farmBOTQueue messages with "BOTNAME: tell Morbus that his bot_module help messages are awesome." Queued messages will be delivered publicly when the recipient sends a message to the channel.
16:13kadaan_farmBOT: tell mstenta Hi
16:13farmBOTkadaan_: I'll pass that on when mstenta is around.
16:13kadaan_Cool
16:13mstentathe tricky part with that is that if a user's name changes (ie: Kadaan vs kadaan_) they might not get the message ... at least i assume that's the caase
16:13farmBOTmstenta: 23 sec ago <kadaan_> tell mstenta Hi
16:14mstentafarmBOT: tell Kadaan test test test?
16:14farmBOTmstenta: I'll pass that on when Kadaan is around.
16:14kadaan_Yeah. That happens due to me being logged in via phone and computer.
16:14mstentayea that didn't work
16:14kadaan_:(
16:14mstentaok that's what i figured
16:14mstentado you have a preferred one that i should leave messages on? i think i've always just done "kadaan"
16:15kadaan_That is fine.
16:15kadaan_I get it all on my phone.
16:15kadaan_Though I don't pay for IRC clout.
16:15kadaan_I'll probably be setting up znc on my windows home server so that I don't have to worry about this anymore.
16:16kadaan_Is there any way to have the database install screen pre-populated?
16:16kadaan_Not really a big issue.
16:17mstentahmm not sure
16:17mstentahere i added a database table: github.com/mstenta/log_timesheet/commit/
16:17mstentaoops forgot the docblock... one sec
16:18kadaan_Cool. Installing and let me pull it.
16:18mstentaok - i force pushed
16:18mstentaso make sure you get the right commit
16:18kadaan_On a dev note, I have to run `sudo chmod -R g=u .data` before I can work on the modules in .data
16:18mstentasorry - i try not to force push but since we're just starting this repo i did
16:19mstentaah ok yea... i think i did something similar
16:19mstentai made a github issue to document it: github.com/farmOS/farmOS/issues/21
16:19mstentai did
16:19mstentasudo chown -R ${USER} .data/www
16:20mstentanot sure what makes the most sense... i figure we'll see as we god
16:20mstentago*
16:21mstentai think the .data/www/sites/default folder needs to at least have a group of www-data
16:21mstentai THINK
16:21mstentaso that Drupal can write to sites/default/files during normal use... and sites/default/settings.php during install
16:21mstentai left .data/db alone because that doesn't need to be edited manually at all
16:22mstentatake a look at that log_timesheet_schema() function in the log_timesheet.install file i just added... it's a good first example of how Drupal's hook system works
16:23mstentaare you familiar with the hook system already?
16:24mstentaDrupal 7 and less uses hooks for most things that modules need to provide/alter... Drupal 8 moves a lot more towards object oriented architecture, and plugins, but there are still a lot of hooks
16:24mstentahooks work basically through naming convention
16:24mstentaso there are various places in Drupal code that say "hey all you modules! do any of you have a function named [modulename]_[hookname]?" and then it runs them
16:25kadaan_sudo chmod -R g=u .data just copies the user permissions to the group
16:25kadaan_and on my machine, OS X, the user=root and group=staff.
16:25mstentaoh ok
16:25kadaan_My user is in staff
16:25mstentathat makes sense
16:25mstentayea... so we'll probably want to document what works best one each OS
16:26kadaan_So maybe sudo chmod -R g=u .data/www
16:26mstentayea cuz you don't need to edit the database files
16:26mstentaoh one thing though...
16:26kadaan_I'm not familiar with the hook system.
16:26mstentathose permission changes might show up as modifications in Git
16:27kadaan_Annoying...
16:27mstentamm
16:27mstentayea so i think you would be better off just changing the user
16:27mstentasorry... i mean the owner
16:27mstentabut leave the group alone
16:27kadaan_Yeah. That seems good.
16:28kadaan_Let me kill and try again :)
16:28mstentaokedoke
16:28mstentaoh! wait!
16:28mstentado you want to see how to trigger a rebuild?
16:28mstentawithout losing db or sites folder
16:28kadaan_Just destroyed it.
16:29mstentaah ok :-)
16:29mstentafor future reference...
16:29mstentayou can trigger the farmOS codebase to be rebuilt when the container is started, simply by deleting profiles/farm/farm.info
16:29mstentabut it will NOT touch the sites/... folder
16:29mstentaso your database can remain, and your settings.php and files can remain
16:30mstentaalthough i guess in this case since you recursively changes all the perms, it might make sense to start fresh anyway
16:31kadaan_What about profiles?
16:31kadaan_Does that get blown away?
16:32kadaan_If so, then if I have say farm_log in profiles/farm/modules/farm, can I override it by installing it to sites/all/modules.
16:32kadaan_That way it would survive a rebuilt?
16:33kadaan_If that is the case I wonder if it would be better to recommend that all dev happen in sites/all/modules
16:34mstentayes profiles gets blown away
16:34mstentayes - anything in sites/all will override stuff in profiles
16:34kadaan_So maybe I should:
16:34mstentayes probably makes sense to recommend that
16:34kadaan_1. git clone github.com/kadaan/farmOS.git
16:34kadaan_2. cd farmOS
16:34kadaan_3. docker-compose up
16:35kadaan_4. When done, clone any modules to work on in .data/www/sites/all/modules
16:35mstentayea that would work
16:35kadaan_In which case, do I really need to chown anything other than .data/www/sites
16:35mstentano not really
16:36kadaan_Then maybe that is the best.
16:36mstentait might come in handy if you're doing DEEP debugging... but not most of the time
16:36mstentayea agreed
16:36kadaan_Done
16:36mstentamaybe the docker entrypoint script should just clone all the repos into sites/all in the first place
16:37mstentafor now, at the very least, you can just copy the folder from profiles/farm/modules to sites/all/modules - and then work with it
16:37mstentamaybe that's better practice
16:37mstentagotta tend to the baby... back in a few!
16:37kadaan_Cool.
16:37kadaan_That sounds good.
16:37kadaan_I'll have to head out in a few and shovel gravel.
16:37kadaan_Tonight maybe I will work on voting api.
16:37kadaan_Anything I should know about.
16:43kadaan_It seems like it would be pretty simple to just add them via the drupal UI, configure them, and then "export" them.
16:48mstentayea! i think that's all it would take
16:48mstentathat sounds great!
16:48mstentai update the time tracking issue with some notes and ideas
16:48mstentai'll*
17:49*Kadaan has quit (Quit: Connection closed for inactivity)
17:54svennmstenta: I am trying to communicate with farmBOT through private messages (/msg) but it doesn't seem to react to that
17:57svennwere out on a SAR mission today. Neighbour was missing since tuesday. Left home with a rifle and left a letter at a cabin in the mountains.
17:57svennwe were screening the mountainside as he called his cousin (on my search group) on the mobile.
17:58svennHE WAS ALIVE
17:59mstentasvenn: WOW!
17:59mstentathat's crazy!
17:59svennIt is.
17:59mstentahe's ok?
17:59svennHe is unhurt
17:59mstentathat's good
18:00svennbut he had a crisis
18:00mstentahad he gotten lost?
18:00svennno
18:00svennhe knew every second where he was
18:00mstentaoh
18:00svennhe played cat and mouse with the SAR team
18:00mstentaoh no
18:00mstentaso it was on purpose
18:00svennwe don't know yet.
18:01mstentaok
18:01mstentawow
18:01svennthis is the largest SAR operation in this area ever.
18:01mstentawow
18:02mstentacrazy!
18:02svennAnd we are just so happy that we got him back home
18:02mstentayea!
18:02mstentado they think it is a mental health problem?
18:02svennI learned a lot about need for proper gps and maps
18:02mstentai bet!
18:02svennno, he has had mental health like an ox
18:03svennthis is a mountainman stubborn as hell
18:03mstentaok hmm
18:03mstentawhat did the letter say that he left behind?
18:03svennthat has been kept secret so far
18:04svennneed to keep the high hopes up
18:04mstentawow yea
18:04mstentawell good job finding him!
18:05mstentai hope it all works out for the better in the end
18:05svennhe will have to face the community at some point.
18:05svennI think I will hug him, if a mountainman allows any man hugging him.
18:06svenn:)
18:06mstentahaha
18:07mstentasvenn: you mentioned that farmBOT wasn't working?
18:07svennI tried to communicate with him on a private thread with /msg
18:07mstentai just tried private messaging him... it looks like you still need to say "farmBOT: " ahead of the message
18:07svennok
18:08svennI didn't do that
18:08mstentabut it also looks like it doesn't work for certain things... like "log pointer?" doesn't work... probably because that is related to what room you are in
18:08mstentaand /msg is outside of any room i think
18:08svennthink so too.
18:09svennand then he will maybe sit and watch the private window?
18:09mstentano i don't think so, because i need to configure which rooms are logged
18:10mstentaright now it is just #farmOS and #drupal-ledger
18:10svennok
18:11mstentaoh cool you can set reminders!
18:11mstentai didn't even know that
18:11svennbasically don't need him as I use irssi and screen on a hosted linux so I am on 24/7
18:11mstentafarmBOT: remind farmBOT in 1 minute that farmOS is awesome
18:11farmBOTmstenta: I'll remind farmBOT about that on Sat, 05 Nov 2016 14:12:45 -0400.
18:11svenntraffic on farmos is little, so I have most in the scroll window
18:12mstentasvenn: yea i just keep my irc client open most of the time too
18:12mstentathe log on farmier.com is helpful to glance at if i'm away from my computer
18:12mstentai don't have IRC on my phone yet
18:12farmBOTfarmBOT: mstenta asked me to remind you that farmOS is awesome
18:13mstentahaha
18:13svennfarmBOT: thank you
18:13farmBOTde rien
18:13mstentanice! did you add that? :-)
18:13svennfarmBOT: what?
18:13svennI said thankk you to farmBOT
18:13mstentafarmBOT: thank you
18:13farmBOTno worries
18:14mstentaoh cool - it must already have those responses programmed to
18:14mstentai'm learning new things about farmBOT all the time! haha
18:14svennfarmBOT: what is the time?
18:14svennfarmBOT: date?
18:14svennThat is the kind of stuff I want a private window for :)
18:14mstentafarmBOT: remind hello everyone in 10 seconds that this is a test
18:14mstentahmm that didn't work
18:15mstentai'm trying to see how i can set up a reminder for the monthly call that will go out to everyone
18:15mstentai guess just telling farmBOT to remind itself is the best way
18:17mstentafarmBOT: remind farmBOT on Wed, 9 Nov 2016 12:30 -0400 that the farmOS monthly call begins at 1pm EST - farmOS.org/community/monthly-call
18:17farmBOTmstenta: I'll remind farmBOT about that on Wed, 09 Nov 2016 11:30:00 -0500.
18:17mstentaoops... it did some timezone adjustment there...
18:18mstentai'm confused...
18:18mstentait probably doesn't help that daylight savings time ends tomorrow! ugh
18:18mstentaoh well... good enough i suppose
18:18svenndaylight was last week here in europe
18:18mstentaoh really
18:18mstentathat's even more confusing!!!
18:19mstentaso wait... what countries in europe observe DST?
18:19mstentai didn't even know europe observed DST at all
18:19mstentaare my times wrong on the monthly-call page? farmOS.org/community/monthly-call
18:21svennOh, you have used UTC. that can be interresting.
18:21mstentafarmBOT: remind farmBOT on Wed, 14 Dec 2016 12:30 that the farmOS monthly call begins at 1pm EST - farmOS.org/community/monthly-call
18:21farmBOTmstenta: I'll remind farmBOT about that on Wed, 14 Dec 2016 12:30:00 -0500.
18:22mstentauh oh... i thought that would make things more clear... was i wrong?
18:22svennno, but the users need to find their current UTC
18:22svenncurrent time compared to UTC
18:22mstentahmm
18:22mstentaok, so maybe it's ok
18:23svennas for international team it is excellent
18:23mstentaok
18:23mstentai tried to keep it so that it is always 1pm EST (my zone)
18:23mstentabut that means that it changes relative to UTC and DST
18:23svennproblem is each individual need to know difference between local time and UTC
18:23mstentayea
18:23mstentamaybe i could include a link that helps to calculate
18:24svennwould be good
18:24svennI have calculated tides for sailing, and all data there is related to UTC
18:25svennso I know the issue
18:25svennOn the tests we always had to plan trips on the dates where DST hits
18:26svennin areas where you get stuck on ground if you don't get the math correctly
18:28mstentai'll be back in a bit... need to get some lime - hoping to do my fall garden prep tomorrow... taking soil tests, adding lime, planting garlic and winter rye
18:29mstentatalk to you later!
19:19*Kadaan has joined
19:26KadaanHave you thought about integration with QuickBooks?
19:26farmBOTKadaan: 3 hours 12 min ago <mstenta> tell Kadaan test test test?
20:28mstentaKadaan: yes i've thought a lot about bookkeeping in general, and a bit about QB specifically...
20:28mstentaalso funny you should ask because right now i'm working on a client project to connect an Ubercart system to QB
20:29mstentabut with regard to farmOS - i plan to incorporate the Drupal Ledger module into it right from the start in Drupal 8
20:29mstentaLedger is another module that I started a while back that is found double-entry bookkeeping - a GnuCash clone sort of
20:30svennoh, farm accounting in farmos?
20:30mstentawhich is essentially does the same thing as Quickbooks
20:30mstentabut probably not everything that QB does, so there is also the possibility of making a Ledger-to-QB integration
20:30mstentasvenn: yes, in farmOS 2.x
20:31mstentai'm planning on integrating Ledger directly into the concept of assets and logs right from the start
20:31mstentaso that costs, sales, etc are accounted for more natively
20:31svennwill you support account plans?
20:31mstentawhat do you mean by account plans?
20:32svennlike all stuff related to tractor maintenance is 6240
20:32svennand stuff related to building maintenance is 6250
20:32mstentaoh i see... like categorizing of costs
20:32svennsomething like that
20:33svennkeeping deprecations and such
20:33mstentayes, so the way Ledger works is you have a hierarchy of accounts, and debits/credits to them
20:33svennI have to look into ledger
20:33mstentai'm still figuring out how that will connect to farmOS assets/logs... but assets will probably be associated with specific accounts...
20:33svennI need something online which me and my wife can share
20:34mstentaLedger for Drupal 7 never had an official release, but it does provide some basic capabilities
20:34mstentait is far from a complete system though
20:34svennand I guess it is a sh*load of work to customize it to national regulations
20:35mstentai got swept up with farmOS development, and haven't done much with Ledger in a while... but I see the ultimate future of farmOS+Ledger reviving it
20:35mstentayes absolutely - but that is where modular design will help
20:35mstentaLedger just focuses on the basics: accounts, debits/credits, sets of books, balancing accounts, etc
20:35mstentabut more specific features can be added on via other modules
20:37svennI see
20:38mstentathere are already a few others who have gotten involved with Ledger development too
20:38mstentaso we can start to build two separate but complimentary communities around them
20:42mstentathe tricky part is trying to find time to work on the 8.x-2.x branch of farmOS, but also work on new features in 7.x-1.x at the same time
20:42mstentai'm pushing to get an official 1.0 release together on the 7.x-1.x branch
20:43mstentaafter which i will feel more comfortable redirecting some attention to 8.x-2.x
20:43mstentabut there is so much i want to do... always :-)
21:25kadaan_One worry I have is that if we try to have farmOS do too much natively it could be hard to ever be good at it all or get it complete.
21:26kadaan_There is so much involved in accounting for a business and the needed reports that it really is a whole other beast.
21:31*kadaan_ has quit (Read error: Connection reset by peer)
21:31*kadaan_ has joined
21:40mstentaagreed - so we shouldn't try to do everything
21:40mstentabut there is definite need to track costs associated with activities and assets
21:40mstentaso if we can get that, plus some good export capabilities - then folks can import that data to their tool of choice
21:41mstentathe same goes for mapping and working with geodata
21:41mstentathere are other more powerful, focused tools out there already - no need for us to cover them
21:41mstentathe main goal of farmOS should be to provide a starting place for ongoing data entry
21:41mstentato make record easier, and at the tip of your fingers
21:41mstentarecord keeping*
21:42mstentaand to help associating the many disparate elements of a farm together in one place
21:43mstentathat said, as time goes on some of the more obvious and easy features can continue to grow within farmOS and Ledger itself... making it easier to do more without requiring other programs... to a point, anyway
21:43mstentawe'll find a good balance :-)
21:43kadaan_That seems reasonable.
21:45kadaan_One other thing to think about is that even for people who start to use farmOS today, by the time Ledger is ready, they will have an established process around accounting. So being able to accommodate that could be useful.
21:46mstentamm yea
21:46kadaan_Also, it really comes back to how you can use the data that has been collected in farmOS. At the moment, there really isn't a great way to create reports that would let you extract insights.
21:46mstentaso do you mean being able to import financial data into farmOS and associate it with logs and assets? or vice versa?
21:46kadaan_farmOS -> QB is the most obvious.
21:47mstentayea agreed
21:47kadaan_QB -> farmOS is only useful if farmOS brings something more to the table.
21:47mstentaso farmOS would still serve as the initial point of entry for some of that data
21:47mstentaright
21:47kadaan_As it stands, I think one way to do farmOS -> QB would be with farmOS acting as a facade
21:48kadaan_Mainly for the data collection side.
21:48mstentaagreed about the reports - that's i think where things like the timesheet module, and Ledger integration will really shine
21:48mstentayea i agree... for data collection, and organization of things in the context of the farm
21:48mstentaie: QB doesn't care if you have cows or where you moved them or why
21:48kadaan_But also for client list, tracking profit back to crop, bed, foot, etc.
21:48mstentayes exactly
21:49kadaan_True.
21:49kadaan_Really we need ad-hoc reports.
21:49mstentaby associating cost with each log, you can then calculate costs based on assets associated with them, and get an idea of how much an asset actually cost you
21:49mstentaas well as how much money it has made you
21:50kadaan_Because when you think of the question, how did moving my cows this year impact profit vs last year
21:50mstentaof course, it means you need to be good about entering those numbers
21:50mstentayes exactly... that's why defining reports ahead of time is risky... we don't know what questions people need to ask
21:50mstentanor should we try
21:50mstentaso building Views that can be filtered in different ways i think is most useful
21:51kadaan_you need to be able to associate cost to time, select all your time spent moving the cow, group by year, aggregate, and ...
21:51mstentayup
21:51kadaan_I keep thinking I will have to fall back to writing sql.
21:51mstentanah, it's possible with Views
21:51mstentafor most things anyway
21:52mstentaif you have a View of all logs, with timesheet info, and calculated cost based on time, and direct log costs, and ability to filter by timestamp (aka year range) and specific assets, or groups of assets
21:53mstentayou can see a full list of all activities with those assets, and their costs, and calculate the total cost
21:53mstentathen run the same filtered report on another year or another set of assets
21:54mstentabut writing SQL at first can be a good way to sketch things up sometimes
21:54mstentaViews (the Views module, I mean) is essentially just an SQL query builder UI
21:55mstentaso pretty much anything that can be done in SQL can be done in Views
21:55mstentain some cases a custom handler (php class for a certain field, filter, sort, etc) needs to be written - but that's not too difficult
21:56mstentaa good example is the "Location" column in farmOS asset lists
21:56mstentathat is joining in the most recent movement log in order to get the area that the asset last moved to
21:56kadaan_What about something like: github.com/handsontable/handsontable
21:57kadaan_I feel like the best of both worlds would be farmOS style guided data entry, validation, taxonomy, relations, etc.
21:58kadaan_And being able to reason about you data within an "excel" sheet.
21:58mstentayea that makes sense to me
21:58kadaan_But, maybe views is powerful enough.
21:58kadaan_I really haven't tried to push it yet.
21:59mstentawell, it really comes down to what exactly you want to do in each instance
21:59mstentafarmOS data is not really stored in a simple row-by-row format like spreadsheets are
21:59mstentait is lots of tables all linked together
21:59mstentaso what columns and rows you need really depends on what you want to do with them
22:00mstentaand i haven't made any of those decisions in it yet, other than basic lists... so that's all still open ended
22:00mstentai definitely agree we should provide nice ways to slice and dice the data
22:00mstentathat's the logical next step
22:05kadaan_Is there a demo farm data generator that would help devs have data to work with?
22:05kadaan_Or do you just use your data.
22:05mstentano - that would be helpful
22:07mstentai'm off for the evening - dinner with Megan's parents tonight
22:07mstentait's been great talking through this stuff! looking forward to more!
22:10kadaan_Later
22:10kadaan_Have a great night
22:11kadaan_For a late night browse, check out dc-js.github.io/dc.js/
22:12kadaan_Also: jsreport.net/blog/jsreport-10-is-here
22:20kadaan_farmBOT: tell mstenta Interesting, I tried what we talked about and after installing farmOS, moved profiles/farm/modules/farm to sites/all/modules/farm and then ran chown -R USERNAME sites/all/modules. Everything works until I try to install a new module. Then I get: "File Transfer failed, reason: Cannot create directory /var/www/html/sites/all/modules/votingapi"
22:20farmBOTkadaan_: I'll pass that on when mstenta is around.
22:22kadaan_farmBOT: tell mstenta I had to chown them back to 33 for the module install to work.
22:22farmBOTkadaan_: I'll pass that on when mstenta is around.
22:24mstentaok - so that's probably because you're downloading the modules directly via Drupal?
22:24farmBOTmstenta: 3 min 44 sec ago <kadaan_> tell mstenta Interesting, I tried what we talked about and after installing farmOS, moved profiles/farm/modules/farm to sites/all/modules/farm and then ran chown -R USERNAME sites/all/modules. Everything works until I try to install a new module. Then I get: "File Transfer failed, reason: Cannot create directory /var/www/html/sites/all/modules/votingapi"
22:24farmBOTmstenta: 1 min 38 sec ago <kadaan_> tell mstenta I had to chown them back to 33 for the module install to work.
22:24mstentai usually just download the tar.gz and unpack it myself
22:24kadaan_Ahhh. I put in the URL
22:24kadaan_Too bad.
22:25mstentagood to know that the chown breaks that though... maybe we can find a better way
22:25mstentacool js graphing libraries! i'll take a closer look later!
22:25mstentagoodnight!
22:25kadaan_Hopefully. Ideally we want it to act like a regular install so that devs can just work on it through the UI if possible.
22:25kadaan_Night!
23:10kadaan_farmBOT: tell mstenta Should we add ratings as a core log feature. I can see it both ways.
23:10farmBOTkadaan_: I'll pass that on when mstenta is around.
23:15*kadaan_ has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:17*kadaan_ has joined
23:18*kadaan_ has quit (Client Quit)
23:49*Kadaan has quit (Quit: Connection closed for inactivity)

< 042016-11-05⋏06 >