| 00:14 | * | JustTB has quit (Quit: Leaving.) |
| 00:23 | * | kadaan is now known as kadaan |
| 02:03 | * | kadaan_ is now known as kadaan_ |
| 02:50 | * | kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 06:37 | * | kadaan has joined |
| 08:10 | * | JustTB has joined |
| 08:29 | * | mstenta has quit (Ping timeout: 250 seconds) |
| 09:04 | kadaan | @mstenta Another one to consider a comparison against is: farmbrite.com |
| 09:07 | JustTB | btw. I would like to help, but at the moment I'm pretty full with the project here .. hopefully the next two weeks are more free. |
| 09:08 | JustTB | we still have farmos in mind ... and want to try that here .. |
| 09:09 | JustTB | to many people are coming and going at the moment |
| 09:10 | svenn | anything .com is freaking me out. |
| 09:10 | svenn | anything not self-hostable is freaking me out |
| 09:24 | * | kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 13:38 | * | Kadaan has joined |
| 15:48 | * | Kadaan has quit (Quit: Connection closed for inactivity) |
| 16:04 | * | kadaan has joined |
| 16:09 | kadaan | @svenn: No worries here about that. Just as long as I can get my data in and out in a generic way. |
| 16:11 | kadaan | @JustTB: If your Drupal experience is better than mine, you might be more help in the short term. I've been able to make a number of changes for the 7.x version, but the 8.x version is just not quite there enough for me to help. Maybe when @mstenta gets more time we can really get the move the 8.x focussed. |
| 16:13 | * | kadaan has quit (Quit: Textual IRC Client: www.textualapp.com) |
| 17:23 | * | mstenta has joined |
| 19:55 | * | kadaan has joined |
| 20:38 | mstenta | kadaan: hi! |
| 20:38 | kadaan | Hey |
| 20:38 | farmBOT | hello |
| 20:38 | kadaan | How's the farm hand doing? |
| 20:39 | mstenta | he's doing well! :-) |
| 20:39 | mstenta | eating now |
| 20:39 | mstenta | regarding COG Pro - I can't really speak to it - I haven't used that |
| 20:39 | mstenta | i've heard it tho - and FarmBrite |
| 20:40 | kadaan | They all look like drupal apps now... |
| 20:40 | mstenta | i guess the obvious difference is that farmOS is open source, you can host locally, and modify it yourself |
| 20:40 | kadaan | Can't tell for sure. |
| 20:40 | mstenta | hmm could be |
| 20:40 | kadaan | I really like that. As it means there is no data lock in. |
| 20:41 | mstenta | i remember looking at one that was using the same theme (Bootstrap) |
| 20:41 | mstenta | so it looked a lot like farmOS :-) |
| 20:41 | kadaan | COG Pro is in a lot of the farm magazines. |
| 20:41 | mstenta | re: farmOS 7.x-1.x vs 8.x-2.x - yea i understand that it's a tough time, especially since you're jumping in with a lot of interest in helping out |
| 20:41 | kadaan | For instance: Growing for Market. |
| 20:42 | mstenta | the way i see it - we should continue developing 7.x-1.x as long as we need to |
| 20:42 | mstenta | so i would love to keep you involved in those efforts if you're interested |
| 20:42 | mstenta | sure we'll need to redo for 8.x-2.x, but that's the same for everything |
| 20:43 | mstenta | and i would like to have some time for 8.x-2.x - i don't want to rush it |
| 20:43 | kadaan | Sure. I'd love to. Just want to be sure that we don't unnecessarily delay 8.x. |
| 20:43 | mstenta | because it is also an opportunity to rethink some things |
| 20:43 | kadaan | Make sense. |
| 20:43 | mstenta | yea definitely - it won't delay 8.x |
| 20:43 | kadaan | You should peak at COG Pro as it slates itself as tracking the info needed for Organic Certification. |
| 20:44 | mstenta | it would be great to talk through some of my ideas for 8.x with you also |
| 20:44 | mstenta | WHILE we continue working on 7.x |
| 20:44 | mstenta | to help validate some of the things i've been thinking |
| 20:44 | kadaan | That would be fine. |
| 20:44 | kadaan | I'm available most evenings or mornings. |
| 20:44 | mstenta | yea, do you have an account on COG? love to hear your thoughts |
| 20:44 | kadaan | They have a "free" trial account. |
| 20:44 | mstenta | cool - we should find a good pattern and keep the balls rolling |
| 20:45 | mstenta | one thing i've been thinking about... |
| 20:45 | kadaan | I don't really like the way COG Pro is styled like a notebook. |
| 20:45 | kadaan | cog-pro.com |
| 20:45 | kadaan | You can just login with the guest account that is pre-populated. |
| 20:46 | mstenta | oh yea - i remember looking at this a while back |
| 20:46 | mstenta | for what it's worth, my friend Dorn is using farmOS for his organic certification records in New Hampshire |
| 20:46 | mstenta | for veggies anyway |
| 20:47 | mstenta | i spent some time a while back pouring over the organic cert recordkeeping example forms that ATTRA provides |
| 20:47 | kadaan | How is he getting the data back out for the reports? |
| 20:47 | kadaan | Cool. From what I could tell most of the stuff needed is there. |
| 20:47 | kadaan | Just not the exports or reports. |
| 20:48 | mstenta | his certifying agent just wants PDFs, so he was able to "Print" the pages to PDF that they wanted |
| 20:48 | mstenta | along with some screenshots i think |
| 20:48 | kadaan | That is nice. |
| 20:48 | mstenta | the thing is... every certifying agency wants different things |
| 20:49 | mstenta | but if we can hit most of the common requirements, i think we'll be in good shape |
| 20:49 | mstenta | and over time, hopefully certifying agencies will start to recognize the farmOS formats, and allow them for recordkeeping more easily |
| 20:49 | mstenta | are you certified? |
| 20:50 | mstenta | one thing we should definitely talk about... |
| 20:50 | mstenta | is process |
| 20:51 | kadaan | Nope... |
| 20:51 | kadaan | We are just setting up our farm |
| 20:51 | mstenta | i was thinking about it in the car the other day... i think i'm going to write up a "farmOS Coding Standards" document that outlines generally HOW i go about developing, committing, etc - so that everyone can be on the same page and work similarly |
| 20:52 | mstenta | that will make it a lot easier for me to review and commit changes from others - if we're all following the same patterns |
| 20:52 | kadaan | That would be great. |
| 20:52 | mstenta | for example, as a first step farmOS follows all the same coding standards as drupal |
| 20:52 | mstenta | www.drupal.org/docs/develop/standards |
| 20:52 | mstenta | so we could also document some standard practices on top of that |
| 20:52 | kadaan | I'd rather not spin my wheels by having to keep changing the PRs to meet requirements I don't know about. |
| 20:52 | mstenta | it's all about project management :-) |
| 20:53 | mstenta | yea definitely - i wouldn't want that either |
| 20:53 | mstenta | oh - so i made some good progress on the docker thing the other night... at like 3am :-) |
| 20:53 | mstenta | once i get that finished, i'm going to get your changes pulled in to review them |
| 20:53 | mstenta | sorry it's been taking a while |
| 20:53 | mstenta | you jumped into this at a VERY busy time in my life haha :-) |
| 20:53 | kadaan | You are totally going to get it done because your kid won't let you sleep. |
| 20:54 | mstenta | haha |
| 20:54 | mstenta | yea i might work on it a bit now before dinner - he's asleep |
| 20:54 | kadaan | No problem. I looked at farmOS a while ago, but we weren't close to having our property then. |
| 20:54 | mstenta | i also have a Farmier user who wants to import their local SQL database into Farmier, though, so I gotta get that done too |
| 20:55 | mstenta | i'm just doing a manual SQL import for that one |
| 20:55 | mstenta | one-time thing to help them get up and running in Farmier |
| 20:55 | kadaan | Nice. Is there any easy way to import the SQL, or will you do it manually. |
| 20:55 | kadaan | :) |
| 20:55 | mstenta | i'll do this one manually |
| 20:55 | kadaan | I assume they were hosting locally. |
| 20:55 | mstenta | yup |
| 20:55 | mstenta | i definitely want to make an easy way to move from a local install to Farmier |
| 20:55 | kadaan | That's nice. The upsell. |
| 20:56 | mstenta | but - a straight SQL import isn't really feasible, because there are security implications to that |
| 20:56 | kadaan | In my world, I would export all as avro |
| 20:56 | mstenta | avro? |
| 20:56 | kadaan | It is a rich, schematized data format, like thrift, protocol buffers, etc. |
| 20:57 | kadaan | json compatible. |
| 20:57 | mstenta | huh never heard of it |
| 20:57 | kadaan | avro.apache.org/docs/current/ |
| 20:57 | kadaan | Pretty common in big data. |
| 20:58 | kadaan | But I could imagine just exporting a ZIP with all the tables in it. |
| 20:58 | kadaan | And allowing the ZIP to be imported into Farmier. |
| 21:00 | mstenta | oh cool - under that Apache umbrella? |
| 21:00 | kadaan | Yup |
| 21:00 | mstenta | how do you export from SQL to avro? |
| 21:01 | mstenta | there are some other difficulties with importing SQL directly into farmier... |
| 21:01 | kadaan | I don't know if ther are PHP bindings though. |
| 21:01 | mstenta | if any customizations were made locally, they might not match up with the "stock" farmOS that Farmier hosts |
| 21:01 | kadaan | True. |
| 21:02 | mstenta | so i think the easiest option is to just build the proper import/export features in farmOS itself |
| 21:02 | kadaan | I don't know of a built-in way to export avro from sql. |
| 21:02 | kadaan | But json wold be fine. |
| 21:02 | mstenta | theoretically, we only really need a JSON importer... because you can already get JSON of all your farm entities via the restws module |
| 21:02 | kadaan | And the export could capture the relationshitpty easilty that way. |
| 21:03 | kadaan | In 8.x there is the json importer, right? |
| 21:05 | mstenta | yea exactly |
| 21:05 | mstenta | there might be |
| 21:05 | mstenta | so generally, in Drupal 7, Features is the best importer option |
| 21:05 | mstenta | sorry... not Features |
| 21:05 | mstenta | Feeds |
| 21:05 | mstenta | (tired) :-) |
| 21:06 | mstenta | it might be better for our purposes to just write a custom importer though |
| 21:06 | mstenta | specific to farmOS entity types |
| 21:06 | kadaan | Yeah. I had looked at feeds. |
| 21:07 | kadaan | I was hoping to get CSV export and import. |
| 21:07 | kadaan | JSON would be really good too. |
| 21:08 | kadaan | It would be really nice if there was some way that modules would end up getting this stuff for "free". |
| 21:08 | mstenta | hmm so you should be able to just do: [fqdn]/farm_asset.json |
| 21:08 | mstenta | and /log.json |
| 21:08 | mstenta | to get json of all entities |
| 21:08 | mstenta | but it seems that isn't working... i'm getting an access denied |
| 21:08 | mstenta | hmm i'll need to debug that |
| 21:08 | mstenta | brb |
| 21:08 | kadaan | k |
| 21:09 | kadaan | That would be another really useful piece of info. |
| 21:09 | kadaan | What dev tools do you use, how are you debugging, etc. |
| 21:27 | mstenta | yea definitely |
| 21:27 | mstenta | i use PHPStorm |
| 21:27 | mstenta | and XDebug |
| 21:27 | mstenta | and the Devel module |
| 21:32 | kadaan | I'll try the eap for phpstorm. |
| 21:33 | kadaan | Is XDebug something I have to install on the server? |
| 21:33 | kadaan | Guess I can figure it out here: www.jetbrains.com/help/phpstorm/2016.2/c |
| 21:34 | kadaan | My teen daughter's homecoming dance has been changed to tomorrow at 3pm - 6pm... Lame... |
| 21:34 | mstenta | yea xdebug goes on the server |
| 21:35 | mstenta | wow - teenagers |
| 21:35 | mstenta | i've got that to look forward to |
| 21:35 | kadaan | Yup |
| 21:35 | kadaan | We have horrible weather right now. |
| 21:36 | kadaan | And so they rescheduled from tomorrow night to tomorrow afternoon. |
| 21:36 | kadaan | Kinda lame for a dance. |
| 21:36 | kadaan | I'll read this too if it is applicable: confluence.jetbrains.com/display/PhpStor |
| 21:37 | mstenta | yea that is lame |
| 21:37 | mstenta | yea probably helpful |
| 21:37 | mstenta | there are some Drupal plugins for PHPStorm, but i've actually never used them |
| 21:37 | mstenta | when i started Drupal dev, I was just using a text editor |
| 21:37 | mstenta | so i got used to it there |
| 21:37 | mstenta | and then started using PHPStorm |
| 21:40 | mstenta | theres a really nifty thing called Coder drupal.org/project/coder |
| 21:41 | mstenta | it used to be a module, but now it is a php codesniffer plugin |
| 21:41 | mstenta | it basically scans through the PHP code and identifies places where coding standards need to be fixed |
| 21:42 | mstenta | that should go in the doc we make too |
| 21:42 | mstenta | so if you're interested, a really easy way to start making some contributions is in the documentation |
| 21:42 | mstenta | farmOS.org is all created using a thing called Mkdocs |
| 21:42 | mstenta | it essentially transforms Markdown files into a static site |
| 21:43 | mstenta | and it's hosted on github pages |
| 21:43 | mstenta | so all you do is run "mkdocs gh-deploy" and it automatically compiles them into HTML and CSS, and pushed them to a "gh-pages" branch in the repo, which Github Pages uses to serve the site from |
| 21:44 | mstenta | maybe i'll start a quick coding standards doc, and you can add to it as we figure out things that should be in there |
| 21:54 | * | kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 22:51 | * | Kadaan has joined |
| 23:04 | * | kadaan_ has joined |
| 23:22 | kadaan_ | I've used Mkdocs before |
| 23:22 | kadaan_ | That sounds good. |
| 23:22 | kadaan_ | We could setup code sniffer in phpstorm too: www.jetbrains.com/help/phpstorm/2016.2/u |
| 23:24 | mstenta | kadaan_: yea exactly! you can use it directly in phpstorm! |
| 23:24 | mstenta | and it will point out each line that you need to review |
| 23:24 | mstenta | double click and it brings you to it |
| 23:24 | mstenta | so convenient |
| 23:25 | kadaan_ | Nice. If we get the right rules in there, that will really help. |
| 23:25 | mstenta | well yea... with drupal.org/project/coder, all the Drupal coding standards are there |
| 23:25 | mstenta | and that's all we really need |
| 23:25 | mstenta | outside of that, i think the only stuff we should define are process oriented |
| 23:26 | mstenta | for example: the other day i said that i always defer to Features to write code for me whenever possible |
| 23:26 | mstenta | and avoid making manual changes to that Features-exported code unless absolutely necessary |
| 23:26 | mstenta | that ensures a level of standardization |
| 23:26 | mstenta | that's one example |
| 23:27 | mstenta | in general i try to write as little code as possible |
| 23:27 | mstenta | the less custom stuff we have, the less we have to maintain |
| 23:27 | mstenta | stick with the best practices as much as possible, so that everything is easier to read, as long as you are coming at it from the standard practices |
| 23:28 | mstenta | and comment everything! every line of custom code! |
| 23:28 | mstenta | even if it's "obvious" what it does... i want to know WHY in a lot of cases |
| 23:28 | mstenta | the intention is a lot more important than the outcome |
| 23:28 | mstenta | maybe a lot of this is obvious, and the way you work, so pardon if it's redundant stuff |
| 23:29 | mstenta | i think it will be important to summarize a lot of these as official rules for farmOS contributions |
| 23:29 | mstenta | so that everyone has a place to start, and we have something to point to |
| 23:31 | kadaan_ | Those seem like really good guidelines. |
| 23:32 | kadaan_ | That said, I would love to figure out how to bake features into the core of farmOS, so that module developers don't have to produce a ton of code to get exports, imports, time tracking, etc. |
| 23:33 | kadaan_ | If we were in 8.x, allowing module developers to configure their modules with yml and allow the specification of a lot of this would be really powerful. |
| 23:41 | mstenta | yea, Drupal 8 will be a whole new way of doing a lot of things |
| 23:41 | mstenta | that's also why i'd like to make sure we don't rush into it TOO quickly |
| 23:41 | mstenta | although I do want to get there asap |
| 23:41 | mstenta | haha |
| 23:41 | mstenta | but i need to learn some things myself too |
| 23:41 | mstenta | i've only just started playing around with it |
| 23:42 | mstenta | and yea - i sort of see farmOS as a very thin connective tissue holding a bunch of other non-farmOS pieces together |
| 23:42 | mstenta | the thinner the layer that is farmOS, the better... |
| 23:42 | mstenta | in other words, use existing contrib modules wherever possible |
| 23:43 | mstenta | the less we are maintaining ourselves, the better |
| 23:43 | mstenta | this is how the Drupal ecosystem works for the most part |
| 23:43 | mstenta | lots of generalized modules that serve as building blocks |
| 23:43 | mstenta | and farmOS is just a specific stacking of those blocks |
| 23:43 | mstenta | plus a FEW custom blocks here and there... but that's what we should try to minimize |
| 23:44 | mstenta | easier said than done, of course, but i think it's a good rule of thumb |
| 23:45 | mstenta | so remind me... did you say you do web development as your main job? aside from farming? |
| 23:45 | mstenta | what languages/ecosystems do you normally work in? you said you're new to php, right? (or am i mixing up conversations with someone else? sorry if so...) |