< 112016-10-12⋎13 >

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
00:14kadaan@mstenta: Added a PR for log - github.com/mstenta/log/pull/1
00:14farmBOTkadaan: 11 hours 49 min ago <mstenta> tell kadaan PS: Would you like to add your farm to the list of "Farms using farmOS" on farmos.org/community/farms/ ? I'm eager to see that list grow! :-)
00:26*kadaan is now known as kadaan
00:27*kadaan_ has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
00:30*M-DzzzzzzR has quit (Ping timeout: 241 seconds)
00:36*M-DzzzzzzR has joined
01:34*JustTB1 has joined
01:35*JustTB has quit (Ping timeout: 250 seconds)
02:03*JustTB1 has quit (Quit: Leaving.)
04:07*Kadaan has joined
04:07*M-DzzzzzzR has quit (Ping timeout: 240 seconds)
04:08*M-DzzzzzzR has joined
04:12*M-DzzzzzzR has quit (Read error: Connection reset by peer)
04:13*M-DzzzzzzR has joined
04:46mstentaKadaan: hi!
04:46mstentaKadaan: i'm on "watch the sleeping baby duty" - so i'm awake and replying to emails/issue queues :-)
04:47mstentai'm going to try to do some work on the docker stuff
04:47mstentait shouldn't take much... i had already gotten it all working in the upstream drupal docker repo
04:47mstentaso it will just be a matter of copying/modifying
04:48*M-DzzzzzzR has quit (Ping timeout: 240 seconds)
04:48mstentajust need a small stretch of focus time (which is almost non-existent with the baby)
04:48*M-DzzzzzzR has joined
04:49mstentaKadaan: regarding the CSV export issue - i'm on the fence - i like the idea of keeping things simple in 7.x-1.x, but it does mean waiting a little while for 8.x-2.x
04:50mstentaif you want to play around with it for your own uses, i'd recommend trying out the Views Data Export module
04:51mstentait may make sense to just leave it out of farmOS core for the time being though... to keep things simple
04:58KadaanHey. Late there...
04:58mstentayep - bout 1am
04:58KadaanI did a little work with docker-sync to see if it will help with the owed issues that were reported
04:59KadaanI'm on the fence about whether it helped
04:59KadaanMy farmOS docker install is slow as dirt!
04:59mstentahmm
04:59mstenta:-(
05:00KadaanIt is running two nodes, 1 mariadb (was MySQL, but upgraded to see if it help) and 1 drupal.
05:01KadaanBased on the docker compose script in the farmOS docker issue.
05:01KadaanThere are numerous reported issues regarding OS X and docker for mac volume performance.
05:01KadaanAnyway...
05:02mstentai wonder if running it in a VM works better?
05:02mstentaobviously that's pretty redundant though :-/
05:02KadaanDo you have bad perf in docker
05:02mstentacurious if that resolves the issue on mac
05:02mstentaso far not too bad
05:02KadaanFor me bad perf is 2+ sec page loads.
05:03mstentait is slower than vm though, yes
05:03KadaanI turned on Devel to see what is going on and none of the sql calls were long polls. Though drupal makes a ton of calls, so it could be that if they are in serial.
05:04mstentayea, drupal is heavy
05:04mstentalots of joins
05:04KadaanInteresting, farmier is much quicker
05:05mstentayea, i've got farmier running on SSD drives
05:05mstentaso the database read/writes are much faster
05:06*kadaan_ has joined
05:06kadaan_Is it on AWS?
05:06mstentanope - Linode
05:06mstentabut i've been thinking about moving to AWS
05:06mstentai use Amazon's email relay service already for transactional email
05:07kadaan_Hadn't heard of Linode
05:07mstentaever use AWS?
05:07kadaan_All the time at work
05:07mstentado you like it?
05:07kadaan_Yeah. It is really nice.
05:08mstentai will probably move there eventually
05:08mstentait seems to be the industry standard now
05:09mstentai wonder if they have a fix in the works for the docker slowness issue on mac
05:09mstentai wonder what it is
05:09kadaan_Seems like Linode is much cheaper.
05:10kadaan_For instance the min server on Linode is 2GB, 1 CPU, 24GB SSD @ .015 cents/hr
05:11mstentayea that's one of the things Linode really has going for it
05:12mstentai've been really happy with them
05:12mstentaall SSD too - so very fast
05:12kadaan_You could "maybe" get away with a t2.small which is 2GB, 1 CPU (but it assumes 20% usage and banks for bursts above aws.amazon.com/ec2/instance-types/#burst), with the capability to add EBS @ .026 cents/hr.
05:13mstentawhat's EBS?
05:13mstentai've also heard good things about Digital Ocean
05:15kadaan_Elastic Block Storage == could volume
05:15kadaan_cloud volume
05:16kadaan_It is like network attached storage, but from the machine's perspective it is just another disk.
05:16kadaan_And it can be pretty darn fast.
05:16kadaan_I haven't used digital ocean.
05:16mstentaah ok - does an EC2 instance not have any disk to start?
05:16kadaan_It was on my list to checkout.
05:17kadaan_EC2 instances come in a ton of "flavors" with all different specs and price points
05:17kadaan_www.ec2instances.info
05:18kadaan_From T2.nano with .5GB ram to x1.32xlarge with 1.9TB ram
05:18mstentathat's a nice comparison site
05:18mstentaphew! that's a lotta ram!
05:18kadaan_All for the low low sum or $13.338/hour
05:18mstentahaha
05:19kadaan_BTW, I started adding CSV in and it works fine.
05:19mstentacool
05:19mstentayea the views_data_export module is pretty easy to use
05:19kadaan_Just kinda sucks that the views need to be fully defined in the modules which depend on logs.
05:19mstentahm?
05:20kadaan_At least that is how the page views are defined right now as well.
05:20mstentaoh you mean as opposed to them being dynamically generated?
05:20kadaan_Yeah
05:20mstentayea, i've considered that...
05:21mstentait's a tradeoff
05:21kadaan_It would be nice if logs, as the common component, would allow "subclasses" to tell it the fields it needs so that all the views, edit pages, etc. are taken care of.
05:21mstentaright now everything is just exported via features
05:21mstentaand there are benefits to that
05:21mstentabut it is more restrictive, and there is code duplication that way
05:21kadaan_What do you refer to by "everything"
05:21mstentaalmost everything
05:21mstentaall the views
05:22mstentathe log types
05:22mstentathe asset types
05:22mstentaall fields
05:22mstentaopenlayers config (maps, layers, components, controls, interactions, etc)
05:22mstentabasically anything that is a ctools exportable
05:22mstentaie: anything that features can export, we are using features to manage
05:23kadaan_Like farm_log_activity.features.field_instance.inc
05:23mstentayea that's the field instances used on the activity log type
05:23mstentafeatures automatically generates all that code
05:24mstentaso the tradeoff is: with features, all the code is automatically generated - but it means there's a good amount of code duplication there as well
05:24kadaan_Right...
05:24mstentaie: another approach would be to write custom code that generates the same Views config, but does so specifically for farmOS Views
05:25kadaan_I guess I don't end up using the UIs to generate stuff too much.
05:25kadaan_I did when I first started added time_spent.
05:25mstentayou really should, for consistency
05:25kadaan_I modified one submodule of farm_log.
05:25kadaan_And then I duplicated that code across all of the modules.
05:26mstentait offloads all of the decision making about code formatting to features
05:26kadaan_It ended up being ~5 modules
05:26mstentaah yea - i saw some of those - awesome!
05:26kadaan_Then I figured out I should have made that change in logs
05:26mstentai need to look closer
05:26kadaan_And I sent out a PR for that.
05:26mstentabut i'm going to try to wrap up this docker thing first so i can start using that for local dev
05:26kadaan_No problem.
05:26mstentayea thanks!
05:27mstentavery cool!
05:27mstentai might come back with some feedback after reviewing it
05:27kadaan_So is there anything that I can do to help migrate to 8.x?
05:27mstentabut i like the ideas in general - so we'll hone in on the right approaches
05:27mstentamaybe...
05:28mstentathe first steps are sort of involved... making the entity types (log and farm_asset)
05:28mstentai already have a start on the log module for 8.x
05:28mstentafarm_asset will probably just be a clone of that, with some minor differences
05:29mstentabut once those are done we can start replicating all the asset and log types and all their fields in the UI
05:29mstentaand then export those to code
05:29mstentaDrupal 8 has a completely new config management system
05:30mstentawhereas in D7, all of these capabilities we are leveraging with the Features module to export config to code... all of that is done by contrib modules (Ctools, Features, etc)
05:30mstentain D8, exportable config is baked into core
05:30mstentait exports to YAML files instead of big PHP arrays too
05:31kadaan_Ohhhh. That is better
05:31kadaan_BTW I just closed all the time_spent PRs except the one on log
05:31mstentaand the D8 Features module already works to do the same stuff... but a lot more things are exportable (because basically everything has become a config entity in core itself - rather than sort of being hacked together by contrib modules)
05:31kadaan_Nice
05:31mstentaD8 is a HUGE step forward in terms of organization
05:32mstentaand it was basically a complete rewrite in OO PHP
05:32kadaan_So what is remaining on log 8.x?
05:32mstentai forget... i have a list but i'm not sure if i published it
05:32kadaan_I don't see it in github.
05:33mstentathe log module is only in drupal.org/project/log
05:33mstentai may have a github mirror in mstenta, but it's not used as a canonical repo
05:33kadaan_I see a bunch here: www.drupal.org/project/issues/log?catego
05:33kadaan_Well crap.
05:33mstentathat's an important thing to understand... the Log module is NOT farmOS-specific
05:33kadaan_I submitted my PR to github :)
05:34mstentaso it needs to remain somewhat general for other Drupal projects to use it
05:34mstentai plan to use it in Ledger for D8
05:34mstentaoh that's ok, i'll still use Github for PRs
05:34mstentabut bear with me... i'm a bit disorganized lately... the months leading up to the baby have been crazy
05:35mstentaa lot of plates were left spinning that i need to revisit
05:35kadaan_I'm not worries. Just want to help if I can. Seeing as we are trying to start a farm as well, I would love to have this ready when we are in full swing next year!
05:36mstentafarmier and farmOS (and log and ledger) are still all side projects - i also work as a Drupal dev, so that takes up a good bit of my time normally
05:36mstentayea it's great to have the help!
05:36kadaan_Ha! I figured you must as you seem to have a lot of knowledge about this.
05:36mstentai will try to get everything as organized as i can to make it easier
05:37kadaan_And you farm?
05:37mstentayes - but we just recently moved to the place we are cultivating currently - so it is still in the process of building up
05:38mstentai hope to start selling at market next year
05:38kadaan_That is our plan too. Our property is pretty small though.
05:38mstentathe place was very overgrown, so this year was mostly prep, soil tests, clearing, etc etc
05:38mstentacool
05:38kadaan_2.6 acres, but ~1 is completely cleared
05:38mstentaand you have goats?
05:39kadaan_Two kinder does.
05:39mstentanice :-)
05:39kadaan_And 4 chickens.
05:39mstentacool
05:39kadaan_They will eventually move back into the tree cover.
05:39mstentai've got 10 chickens - and bees - and mushrooms - and lots of veggies
05:39kadaan_Nice!
05:39mstentaall just building up from scratch
05:39mstentaand maple too
05:40kadaan_We just started two mushroom logs. Got two more to prep.
05:40kadaan_Maple would be awesome!
05:40mstenta(hence the farm_crop, farm_animal, farm_mushroom, farm_bee, and farm_maple modules)
05:40kadaan_I'd love to move back to the northeast in the mid-term.
05:40mstentaand of course farm_equipment
05:40mstentaoh yea - i've been meaning to ask... so you're on the west coast? olympia?
05:40kadaan_Olympia WA
05:41mstentaoh are you from the northeast?
05:41kadaan_I'm from all over.
05:41kadaan_I was in NY from 2-6th grade.
05:41mstentathat's awesome - i actually got my start on the olympic penninsula!
05:41kadaan_Really? Where at?
05:41mstentaDharma Ridge Farm
05:41mstentathey used to be in Chimacum WA, just south of Port Townsend
05:41mstentarecently moved to Quilcene
05:42kadaan_Cool! I was up that way a couple months ago.
05:42mstentabut i'm from the northeast, born and raised
05:42kadaan_And went back ASAP
05:42mstentai love it out there
05:42mstentai can't wait to take the wife and kid out someday
05:42mstentashe's never been to the west coast
05:42kadaan_But the fall colors where you are must be awesome!!!
05:43mstentayea they are
05:43mstentapast two years have been a bit mellow though... very dry spells
05:43kadaan_Really. I guess that would impact the display.
05:43mstentaaw, i miss the dry cool summer days on the oly pen
05:44mstentait gets HUMID here in CT
05:44kadaan_Nowhere near as humid as where you are!
05:44kadaan_NY too
05:44kadaan_Maine as well.
05:44mstentayea
05:44kadaan_Which is where I would really like to go.
05:44mstentayea I worked on a farm up in Maine too - in Pittsfield
05:44kadaan_Maine or upstate New York.
05:44mstentaMaine is great
05:44mstentamy dad had a piece of land up there for a bunch of years
05:45kadaan_Like a vacation cabin?
05:45mstentasort of - he spent a long while building a homestead up there
05:46mstentagrowing vegetables, built a greenhouse and a workshop
05:46kadaan_Sounds fun. Esp. to visit as a kid. Making forks, playing in the woods, etc.
05:46kadaan_That should have said: "Making forts..."
05:46mstentawhen did you settle down in WA?
05:47svennwa= ?
05:47mstentawashington
05:47kadaan_We've been here for about 10 years.
05:47mstentacool
05:47mstentaknow a guy names Sky by any chance?
05:47mstentanamed*
05:48mstentafriend of a friend - i think he lives in Olympia
05:48kadaan_Nope. :(
05:48kadaan_We just moved from Seattle to Oly this summer.
05:48mstentacool
05:48kadaan_Trying to escape the craziness that Seattle has become.
05:49mstentai was just out in Seattle in 2012... maybe 2013? i forget
05:49mstentaman years...
05:49mstentaflying by
05:49kadaan_Yeah. Getting old...
05:49mstentayup :-)
05:49kadaan_Gotta get this farm going before I have to use a walker...
05:49mstentahaha
05:49mstentayea same
05:50mstentagotta get this new kid of mine working so he can help out!
05:50mstenta;-)
05:50kadaan_Did you work on any small, intensive farms!
05:50svennwhat is the size of wa farms?
05:50kadaan_It totally depend.
05:50mstentahi svenn
05:50svennhi
05:50farmBOThello
05:50kadaan_There are huge 100+ acre organic CSA farms.
05:51kadaan_And tiny (like ours will be) farms: <2 acres
05:51svennI thought us farms were in the 10000 acres size
05:51mstentathe farm I worked on in WA was about 5 acres when i was there -but they've been steadily growing - they are over 30 acres of mixed vegetables now
05:51kadaan_Those are commercial commodity crop farms.
05:52kadaan_Growing mainly soybeans, corn, and beets.
05:52mstentayea, most of my experience is with "small" organic vegetable farms
05:52kadaan_With the bulk being soybeans and corn.
05:52mstentabut my goal with farmOS is to keep it general and flexible enough to work on any scale
05:52svennso you divide into commercial and organic, too?
05:52mstentasort of...
05:53mstentathere are huge organic farms too
05:53kadaan_@mstenta: That is a huge undertaking to move the farm from one location to another. Can't imagine the work...
05:53mstentahow is it in norway?
05:53svennwe have "conventional" and "organic"
05:54mstentaok yea - that's what we have
05:54svennconventional being not organic but also not industrial
05:54mstentaoh ok
05:54mstentaand what is industrial?
05:54kadaan_We have conventional and organic.
05:54svennthe ones which make you sick when looking at how they work
05:54mstentaah ok
05:55mstentai guess here industrial and conventional are sort of lumped together
05:55mstentabasically just used to describe "non-organic"
05:55kadaan_But I would think that there is also a distinction between commodity crop farms and "sustainable" farms.
05:55svennindeed
05:55mstentayea
05:56mstentasustainable does not necessarily == organic
05:56svennwe struggle as our farming culture is being rationalized by customer demands for cheaper food
05:56kadaan_The thing is most commodity crop farms here are "conventional", and rely on huge machines.
05:56mstentayea
05:56kadaan_@svenn: Sounds like you are getting the place we already are...
05:57svennwe have been fighting the us-way for years
05:57svennbut solidarity among farmers break on the first greedy drop-out
05:57svennthen it is "Texas"
05:57kadaan_Don't worry, not all of us in the US think that way.
05:58mstentabrb need to check the baby feeding log - wife is sleeping - i'm becoming nocturnal to make sure she can get the rest she needs, but make sure the baby still eats :-)
05:58mstentai should make a farm_baby module ;-)
05:58kadaan_Thank goodness I head that NPR story on "Texas" so I have at least a little clue what you mean.
05:58kadaan_Totally!!!
05:58svenncool
05:59kadaan_So what size is a small family farm in Norway?
05:59svenna small one is 6 ha
06:00svenna medium one is about 25 ha
06:00svenna large one is above 50 ha
06:00kadaan_I guess we would be tiny!
06:01kadaan_Do most grow a diversified crop selection, or are they focusing on 2-5 premium products?
06:01svenndue to climate, barley is the thing here in the middle of Norway
06:02svennfurther south, they have wheat
06:02kadaan_Barley is a commodity crop there, right?
06:02svennyeah
06:02svennused for cattlefeed
06:02svennwe have to import a lot of wheat
06:02kadaan_That is what we are trying to figure out now. Given our space constraints, do we go wide, or focus. If we focus, how will that impact our rotation plan, pest load, etc.
06:03svennI don't have cattle (almost nobody has anymore) so I can't rotate as much as I want
06:03kadaan_Do you farm as well?
06:04svennYeah, I do farming in my spare time
06:04svennIt is by the IRS classified as a 25% man-year work
06:05kadaan_Hehehe. Pretty sure I meet that already...
06:05kadaan_Here you have to sell enough to be classified as a farmer.
06:06svennsame here
06:06svennbut that limit is fairly low
06:07kadaan_Yeah. Here I think it is 1000. But I have to double check.
06:07svennit is not possible to live off of the limit. It is just to separate hobby from business
06:07svennoh, our limit would be something like 10000usd
06:08svennit all has to do with VAT and accounting
06:09svennWell, my daytime paywork calls. I do FPGA programming to finance my farming
06:09kadaan_Hehehe. I bunch of coders here, dreaming of farming...
06:09svennsee you around. I am on 24/7 through screen and irssi
06:10kadaan_See ya!
07:08*Kadaan has quit (Quit: Connection closed for inactivity)
07:33*kadaan_ has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:12*JustTB has joined
09:58*M-DzzzzzzR has quit (Ping timeout: 240 seconds)
10:05*M-DzzzzzzR has joined
10:25*JustTB has quit (Quit: Leaving.)
11:37*JustTB has joined
14:07*M-DzzzzzzR has quit (Ping timeout: 240 seconds)
14:13*M-DzzzzzzR has joined
14:14*Kadaan has joined
14:19*JustTB has quit (Quit: Leaving.)
14:22*M-DzzzzzzR has quit (Ping timeout: 240 seconds)
14:29*M-DzzzzzzR has joined
14:29*JustTB has joined
15:23*kadaan_ has joined
15:26*M-DzzzzzzR has quit (Write error: Connection reset by peer)
15:37*M-DzzzzzzR has joined
16:28*Kadaan has quit (Quit: Connection closed for inactivity)
16:34*JustTB has quit (Quit: Leaving.)
16:40*JustTB has joined
17:08JustTBmstenta: is there a hangout today? i thought maybe the baby occupies you
17:08JustTB:)
17:10JustTBah saw it in farmos.org/community/monthly-call/
17:10JustTBalright
17:51*JustTB has quit (Quit: Leaving.)
18:43*JustTB has joined
18:56kadaan_There is a IRC chat at 1pm
18:57kadaan_I guess that is probably 1pm EST.
18:57kadaan_At least I thought there was.
18:59kadaan_From my end, the big thing I would like to talk about is the 8.x migration.
19:00kadaan_I'm itching to work on farmOS and want to start knocking down some features, but feel like it is a bit of a waste given the migration. I would hate to spend effort on a feature only to have to redo it for the 8.x migration.
19:00kadaan_As we talked about last night @mstenta, it would be awesome if there was a concrete list of 8.x migration tasks that we could start picking off.
19:01kadaan_I tried putting the log component in 8.x last night and it seems to load fine.
19:13*L1l has quit (Ping timeout: 260 seconds)
19:19*Lil has joined
19:24*Lil has quit (Ping timeout: 265 seconds)
19:27*Lil has joined
19:28kadaan_farm_fields was not so good. Removed date and farm_asset
19:29kadaan_Ran drupalmoduleupgrader and was able to load the module.
19:29kadaan_But can't find it anywhere in the UI
20:36*kadaan has joined
20:37*kadaan_ has quit (Read error: Connection reset by peer)
21:07*Lil has quit (Ping timeout: 260 seconds)
21:19*M-DzzzzzzR has quit (*.net *.split)
21:19*M-DzzzzzzR has joined
21:20*JustTB has quit (Ping timeout: 265 seconds)
21:20*JustTB1 has joined
21:55*kadaan is now known as kadaan
21:55*kadaan_ has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
22:15*kadaan has joined
22:59*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)

< 112016-10-12⋏13 >