| [21:16:48] | * JustTB has joined #farmos |
| [21:28:36] | * JustTB1 has joined #farmos |
| [21:30:14] | * JustTB has quit (Ping timeout: 256 seconds) |
| [23:11:30] | * JustTB1 has quit (Quit: Leaving.) |
| [00:41:43] | * kadaan has joined #farmos |
| [01:44:26] | * kadaan has quit (Ping timeout: 250 seconds) |
| [06:45:30] | * JustTB has joined #farmos |
| [08:35:41] | * JustTB has quit (Quit: Leaving.) |
| [08:42:31] | * JustTB has joined #farmos |
| [09:16:18] | * kadaan has joined #farmos |
| [09:27:33] | * kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| [10:04:10] | * kadaan has joined #farmos |
| [10:11:05] | <kadaan> | @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. |
| [10:11:05] | <farmBOT> | kadaan: 1 day 53 min ago <mstenta> tell kadaan I started an issue in Github to organize thoughts around the "farmOS Contributing Guidelines" https://github.com/farmOS/farmOS.org/issues/15 |
| [12:24:01] | <mstenta> | kadaan: yea i think that's a great idea |
| [12:24:06] | <mstenta> | re: tooling |
| [12:24:17] | <mstenta> | and yea phpstorm can be a suggestion, but certainly isn't required |
| [12:24:24] | <mstenta> | any text editor will work for php dev |
| [12:24:41] | <mstenta> | there may be other IDEs that can be suggested too |
| [12:24:47] | <mstenta> | ie: Komodo which is open source |
| [12:25:19] | <mstenta> | one 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 |
| [12:25:26] | <mstenta> | the "Contributing" page is currently in "Community" |
| [12:25:34] | <mstenta> | but it might make sense to move it to "Development" |
| [12:27:02] | <mstenta> | (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) |
| [12:28:10] | <mstenta> | so 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 :-) |
| [12:28:33] | <mstenta> | brb - bringing the baby outside for some sun and fresh air... unseasonably beautiful out today on the east coast! |
| [13:42:45] | * M-DzzzzzzR has quit (Ping timeout: 251 seconds) |
| [13:56:23] | * M-DzzzzzzR has joined #farmos |
| [14:00:39] | * kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| [15:03:05] | * kadaan has joined #farmos |
| [16:07:20] | <kadaan> | Sorry. Super busy prepping for a work meeting tomorrow. |
| [16:10:07] | <mstenta> | Hi kadaan - no worries |
| [16:13:45] | <mstenta> | kadaan: FYI I'm making really good strides on the Docker stuff |
| [16:13:51] | <mstenta> | as my time allows |
| [16:14:00] | <mstenta> | it's been a nice little project to work on in between baby tasks |
| [16:14:26] | <kadaan> | Nice! Can't wait for docker to work. |
| [16:14:31] | <mstenta> | and i feel like it's a really good one for the community right now too - high impact for not a lot of work |
| [16:14:37] | <mstenta> | i figured out why the theme wasn't working |
| [16:14:39] | <kadaan> | I'm trying to figure out what to use for dev. |
| [16:14:49] | <kadaan> | Why was that? |
| [16:15:05] | <mstenta> | turns 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 |
| [16:15:36] | <mstenta> | i just had to add a line to the make file: https://github.com/farmOS/farmOS/commit/4ddbab0d470ae06364d11b9394874052... |
| [16:15:45] | <kadaan> | That makes sense. That's why all it took w as copying it to the right place |
| [16:15:52] | <mstenta> | yea exactly |
| [16:15:58] | <kadaan> | Easy change. |
| [16:16:12] | <mstenta> | yea, i pushed that up to the 7.x-1.x branch, so it's already in the main line |
| [16:16:28] | <mstenta> | also updated contrib modules: https://github.com/farmOS/farmOS/commit/d831fef9900a75050a4b18e1c8ed9599... |
| [16:16:36] | <kadaan> | Great |
| [16:16:45] | <kadaan> | I was trying to look into sqlite, which for dev purposes would be nicer than mysql. |
| [16:16:50] | <kadaan> | Lost internet. |
| [16:17:10] | <kadaan> | So I might try to look at it again tonight. |
| [16:18:24] | <mstenta> | cool! |
| [16:18:52] | <mstenta> | so i would probably start looking at the database schema definition in the farm_asset module |
| [16:19:02] | <mstenta> | it would be in the function: farm_asset_schema() |
| [16:19:22] | <mstenta> | the only reason i would start there is that is the database table that was mentioned in the error |
| [16:19:33] | <mstenta> | it seems that it wasn't created properly in the sqlite database |
| [16:19:47] | <mstenta> | so it MAY be that something in that schema definition is not compatible with sqlite... |
| [16:20:02] | <mstenta> | i'm not really sure - i don't really know what Drupal 7's sqlite support is |
| [16:20:43] | <mstenta> | Drupal'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 |
| [16:20:51] | <kadaan> | k |
| [16:22:00] | <mstenta> | i 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 |
| [16:22:14] | <mstenta> | (it's already working - i tested it) |
| [16:22:43] | <kadaan> | Cool. That was working for me as well. |
| [16:22:54] | <kadaan> | How is your Drupal performance with docker? |
| [16:23:00] | <kadaan> | Mine was really slow. |
| [16:23:01] | <mstenta> | AND 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 |
| [16:23:08] | <mstenta> | yea, mine has been slow too... :-/ |
| [16:23:18] | <mstenta> | i'm wondering if it might be PHP and MySQL tuning issue |
| [16:23:29] | <mstenta> | for example, PHP's opcache is not enabled i noticed |
| [16:23:53] | <mstenta> | i have some followup things i want to look into once i get a base docker setup working |
| [16:24:00] | <mstenta> | including the performance issues |
| [16:24:05] | <mstenta> | i'm hoping that we can resolve them |
| [16:24:14] | <mstenta> | if not... well... i hope we can |
| [16:24:31] | <mstenta> | it would suck if that ends up being an ongoing issue though :-/ |
| [16:24:33] | <kadaan> | From what I was reading it there is a big slowdown on osx with volume mapping. |
| [16:24:51] | <mstenta> | yea... the osx issue seems to be there no matter what |
| [16:24:57] | <mstenta> | but i'm not on osx, and it's still kinda slow |
| [16:25:03] | <kadaan> | What are you on? |
| [16:25:05] | <mstenta> | maybe not AS slow... but definitely not as fast as it should be |
| [16:25:06] | <mstenta> | Ubuntu |
| [16:25:10] | <kadaan> | Ahhhh. |
| [16:25:19] | <kadaan> | Mine is ~2s per page load. |
| [16:25:24] | <mstenta> | hmm |
| [16:25:26] | <kadaan> | With no data in the db. |
| [16:25:42] | <mstenta> | i mean... to be honest that's not THAT far off, considering that there is no tuning at all |
| [16:26:07] | <mstenta> | Drupal is pretty heavy - especially for authenticated users... |
| [16:26:25] | <mstenta> | with anonymous (not logged in) users, you can put Varnish in front, and use page caching, which makes it VERY fast |
| [16:26:31] | <mstenta> | but farmOS is ALL logged in |
| [16:26:35] | <kadaan> | Oh. 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. |
| [16:26:50] | <mstenta> | mm yea, i think we will see some improvement in 8 right out of the box |
| [16:27:01] | <mstenta> | Big Pipe might help yea |
| [16:27:33] | <mstenta> | Big Pipe essentially gives you better "perceived" performance |
| [16:28:12] | <mstenta> | it 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 |
| [16:28:15] | <kadaan> | Yeah. But that is better than nothing. |
| [16:28:25] | <mstenta> | so it takes the same overall amount of time, but feels faster |
| [16:28:27] | <mstenta> | yea definitely |
| [16:28:31] | <mstenta> | i'm excited to try it out! |
| [16:28:52] | <mstenta> | also... i have a really exciting plan for the whole map system in farmOS 8.x-2.x |
| [16:28:59] | <mstenta> | basically, "one map to rule them all" |
| [16:29:33] | <mstenta> | it will be a slide-out panel that is available on every page, with some context-aware dynamic functionality |
| [16:29:46] | <mstenta> | and when it is collapsed, it won't be loaded, which will speed up page loads |
| [16:29:58] | <mstenta> | so really you'll just be loading text most of the time |
| [16:30:04] | <mstenta> | and then you can open the map only when you need to |
| [16:30:19] | <kadaan> | That's cool. Does the map impact the log pages right now? |
| [16:30:28] | <mstenta> | i 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 |
| [16:30:39] | <mstenta> | no actually - it doesn't affect the log pages right now |
| [16:31:00] | <mstenta> | a map is shown in the dashboard, the areas page, and each of the assets pages |
| [16:31:12] | <mstenta> | (asset listing pages, i mean... not the individual asset pages) |
| [16:31:22] | <mstenta> | er wait... actually yea it is in the individual asset pages too |
| [16:31:26] | <mstenta> | to show you where the asset is |
| [16:32:03] | <mstenta> | so yea, giving users the option of collapsing the map when they aren't using it should speed things up significantly |
| [16:32:21] | <kadaan> | Totally. |
| [16:32:41] | <mstenta> | on the topic of maps... that is actually the single biggest hurdle for the Drupal 8 branch... the Openlayers module needs to be upgraded |
| [16:33:04] | <mstenta> | on the bright side - the current maintainer (Pol) made me a co-maintainer of it |
| [16:33:19] | <mstenta> | so i can probably get that started too |
| [16:33:20] | <mstenta> | brb |
| [16:34:04] | <kadaan> | I saw that. |
| [16:34:05] | <kadaan> | np |
| [16:34:12] | <kadaan> | I'm working on my demo. |
| [17:04:30] | * kadaan has quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| [17:07:28] | * kadaan has joined #farmos |
| [17:26:08] | <kadaan> | Computer crashed... |