< 162016-10-17⋎18 >

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:16*JustTB has joined
01:28*JustTB1 has joined
01:30*JustTB has quit (Ping timeout: 256 seconds)
03:11*JustTB1 has quit (Quit: Leaving.)
04:41*kadaan has joined
05:44*kadaan has quit (Ping timeout: 250 seconds)
10:45*JustTB has joined
12:35*JustTB has quit (Quit: Leaving.)
12:42*JustTB has joined
13:16*kadaan has joined
13:27*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:04*kadaan has joined
14:11kadaan@mstenta Your initial contribution info looks good. Would like to put together a recommendation of tooling for contributors so that we all know how to setup the environment, start the app, debug, etc. PHPStorm seems great, but unfortunately it is a paid-for product.
14:11farmBOTkadaan: 1 day 53 min ago <mstenta> tell kadaan I started an issue in Github to organize thoughts around the "farmOS Contributing Guidelines" github.com/farmOS/farmOS.org/issues/15
16:24mstentakadaan: yea i think that's a great idea
16:24mstentare: tooling
16:24mstentaand yea phpstorm can be a suggestion, but certainly isn't required
16:24mstentaany text editor will work for php dev
16:24mstentathere may be other IDEs that can be suggested too
16:24mstentaie: Komodo which is open source
16:25mstentaone thing i need to figure out is how to organize the farmOS.org pages... right now there's a Development main menu section, and a Community main menu section
16:25mstentathe "Contributing" page is currently in "Community"
16:25mstentabut it might make sense to move it to "Development"
16:27mstenta(side note, a frustrating thing about hosting on Github is that you can't add 301 redirects on the server level... so i've hacked together a simple JavaScript to handle client-level redirects when paths change in the documentation - that doesn't help as far as Google/SEO because it still has a 404 code before the JS kicks in, but at least the visitor themselves won't see a 404)
16:28mstentaso yea - if you have any thoughts on menu structure, i'm all ears! my sleep-deprived brain is having trouble with even simple decisions right now :-)
16:28mstentabrb - bringing the baby outside for some sun and fresh air... unseasonably beautiful out today on the east coast!
17:42*M-DzzzzzzR has quit (Ping timeout: 251 seconds)
17:56*M-DzzzzzzR has joined
18:00*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:03*kadaan has joined
20:07kadaanSorry. Super busy prepping for a work meeting tomorrow.
20:10mstentaHi kadaan - no worries
20:13mstentakadaan: FYI I'm making really good strides on the Docker stuff
20:13mstentaas my time allows
20:14mstentait's been a nice little project to work on in between baby tasks
20:14kadaanNice! Can't wait for docker to work.
20:14mstentaand i feel like it's a really good one for the community right now too - high impact for not a lot of work
20:14mstentai figured out why the theme wasn't working
20:14kadaanI'm trying to figure out what to use for dev.
20:14kadaanWhy was that?
20:15mstentaturns out the new version of drush couldn't determine that it was a theme - so it was ending up in the profiles/farm/modules folder instead
20:15mstentai just had to add a line to the make file: github.com/farmOS/farmOS/commit/4ddbab0d
20:15kadaanThat makes sense. That's why all it took w as copying it to the right place
20:15mstentayea exactly
20:15kadaanEasy change.
20:16mstentayea, i pushed that up to the 7.x-1.x branch, so it's already in the main line
20:16mstentaalso updated contrib modules: github.com/farmOS/farmOS/commit/d831fef9
20:16kadaanGreat
20:16kadaanI was trying to look into sqlite, which for dev purposes would be nicer than mysql.
20:16kadaanLost internet.
20:17kadaanSo I might try to look at it again tonight.
20:18mstentacool!
20:18mstentaso i would probably start looking at the database schema definition in the farm_asset module
20:19mstentait would be in the function: farm_asset_schema()
20:19mstentathe only reason i would start there is that is the database table that was mentioned in the error
20:19mstentait seems that it wasn't created properly in the sqlite database
20:19mstentaso it MAY be that something in that schema definition is not compatible with sqlite...
20:20mstentai'm not really sure - i don't really know what Drupal 7's sqlite support is
20:20mstentaDrupal's database layer is supposed to abstract all that for you, so that the same schema definitions work in mysql, postgresql, sqlite, etc... but maybe i did something wrong in those definitions
20:20kadaank
20:22mstentai am setting up the docker-compose.yml to automatically set up a mysql container... so for local dev that will all work smoothly too, FYI
20:22mstenta(it's already working - i tested it)
20:22kadaanCool. That was working for me as well.
20:22kadaanHow is your Drupal performance with docker?
20:23kadaanMine was really slow.
20:23mstentaAND i'm adding some nifty code to the docker entrypoint script that allows you to specify whether or not you want to set up a development environment or not
20:23mstentayea, mine has been slow too... :-/
20:23mstentai'm wondering if it might be PHP and MySQL tuning issue
20:23mstentafor example, PHP's opcache is not enabled i noticed
20:23mstentai have some followup things i want to look into once i get a base docker setup working
20:24mstentaincluding the performance issues
20:24mstentai'm hoping that we can resolve them
20:24mstentaif not... well... i hope we can
20:24mstentait would suck if that ends up being an ongoing issue though :-/
20:24kadaanFrom what I was reading it there is a big slowdown on osx with volume mapping.
20:24mstentayea... the osx issue seems to be there no matter what
20:24mstentabut i'm not on osx, and it's still kinda slow
20:25kadaanWhat are you on?
20:25mstentamaybe not AS slow... but definitely not as fast as it should be
20:25mstentaUbuntu
20:25kadaanAhhhh.
20:25kadaanMine is ~2s per page load.
20:25mstentahmm
20:25kadaanWith no data in the db.
20:25mstentai mean... to be honest that's not THAT far off, considering that there is no tuning at all
20:26mstentaDrupal is pretty heavy - especially for authenticated users...
20:26mstentawith anonymous (not logged in) users, you can put Varnish in front, and use page caching, which makes it VERY fast
20:26mstentabut farmOS is ALL logged in
20:26kadaanOh. Okay. If that is what you are seeing, I won't worry too much. I just read about a module in 8 that should help that. Big Pipe.
20:26mstentamm yea, i think we will see some improvement in 8 right out of the box
20:27mstentaBig Pipe might help yea
20:27mstentaBig Pipe essentially gives you better "perceived" performance
20:28mstentait renders the page template, and then dynamically inserts each component as it finishes loading... as opposed to waiting until everything loads and then dumping it to the client all at once
20:28kadaanYeah. But that is better than nothing.
20:28mstentaso it takes the same overall amount of time, but feels faster
20:28mstentayea definitely
20:28mstentai'm excited to try it out!
20:28mstentaalso... i have a really exciting plan for the whole map system in farmOS 8.x-2.x
20:28mstentabasically, "one map to rule them all"
20:29mstentait will be a slide-out panel that is available on every page, with some context-aware dynamic functionality
20:29mstentaand when it is collapsed, it won't be loaded, which will speed up page loads
20:29mstentaso really you'll just be loading text most of the time
20:30mstentaand then you can open the map only when you need to
20:30kadaanThat's cool. Does the map impact the log pages right now?
20:30mstentai figure there will be a persistent variable or cookie to remember whether or not you left it open/closed - so that's what it will do each page load
20:30mstentano actually - it doesn't affect the log pages right now
20:31mstentaa map is shown in the dashboard, the areas page, and each of the assets pages
20:31mstenta(asset listing pages, i mean... not the individual asset pages)
20:31mstentaer wait... actually yea it is in the individual asset pages too
20:31mstentato show you where the asset is
20:32mstentaso yea, giving users the option of collapsing the map when they aren't using it should speed things up significantly
20:32kadaanTotally.
20:32mstentaon the topic of maps... that is actually the single biggest hurdle for the Drupal 8 branch... the Openlayers module needs to be upgraded
20:33mstentaon the bright side - the current maintainer (Pol) made me a co-maintainer of it
20:33mstentaso i can probably get that started too
20:33mstentabrb
20:34kadaanI saw that.
20:34kadaannp
20:34kadaanI'm working on my demo.
21:04*kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
21:07*kadaan has joined
21:26kadaanComputer crashed...

< 162016-10-17⋏18 >