Skip to content

Instantly share code, notes, and snippets.

View brylie's full-sized avatar
💚
🌳 🌲

Brylie Christopher Oxley brylie

💚
🌳 🌲
View GitHub Profile
(...) Hello and welcome to this open source live code hangout. Today we're going to continue a draft pull request to reduce the amount of search page usage.(...) Trying to basically optimize the app and our search page is one of the least performant pages. We don't have a lot of control over that it's just a complicated query that needs to span multiple tables.(...) So rather than try to optimize it which I don't know where to begin I would just rather we not use it for certain things.(...) Part of this issue is that we're getting hit by a lot of crawlers and bots and I don't know what the purpose of them is. Some of them are from Microsoft and Google I think. They're really causing an excessive amount of traffic on our site and queries against the database as well as expenses for example our analytics. We have this open source private(...) preserving analytics service but we're paying for their commercial hosting and we've exceeded our yearly budget of 600,000 hits in less than a month basically or maybe abo
@brylie
brylie / gist:9f1838939c56d7cd622bb9344080dc0e
Last active January 13, 2024 19:46
Code with Brylie - e47
(...) Hello and welcome to an open source live code hangout.
(...)
We'll be working on the Western Friend website today.
(...)
I've got an issue here.
@brylie
brylie / gist:59350edafa3957886967ff8dad4e7ba3
Created January 13, 2024 14:56
Code with Brylie - e46
(...) [MUSIC] Hello and welcome to an open source live code hangouts.
(...)
Today, we're going to try something a little bit different. We're putting the Jerry Life project on hold while we have internal discussions.
(...)
And I thought since it's a Friday, I'll just do something more recreational, sort of fun and exploratory.
@brylie
brylie / gist:c77f144f6b97c6b63658888ff2998b59
Created January 11, 2024 08:05
Code with Brylie - e45
(...) Hello and welcome to an open source live code hangout. We'll be working on the Jerry Life Caregiving Project today.(...) The code is available on github.com slash Jerry Life.(...) You can see the link below the video here.(...) Let's see if I can move that. I'll turn the link a little bit right here.
(...)
I'll look if there's an issue available.(...) It's kind of a low-hanging fruit.(...) Looks like we've got a duplicate field on the add work form. I can take a look at this
(...)
and as a follow-up issue we might want to at some point at least create a data fake data generator for the work reports.(...) That way our demo project can really show the full potential of the project.(...) So let's take a look.(...) I haven't worked on the work portion of the app for a while.(...) So we might have a little bit of different conventions here.(...) But it looks like we just have a model and a model form.(...) And we're just creating all the fields showing all the fields for the work model. So that means we'
@brylie
brylie / gist:94c55d3d034916b34025e321a4bcd5ac
Created January 6, 2024 11:34
Code with Brylie - e44
(...) Hello and welcome to another Python, our open source live code hangout.(...) I'm working on some changes to the community stream here.
(...)
All right,(...) let's see, it should show up below the stream chat. So we're gonna continue working on the pull request in progress.
(...)
Where we are adding user assignments to homes.
@brylie
brylie / gist:94691b8cb15cd931b4accc3282cd6252
Created January 5, 2024 23:27
Code with Brylie - e43
(...) Hello and welcome to an open source live code hangout. Today we'll be working on the Jerry Life project.
(...)
I've got a task here.
(...)
We're going to add a modal dialog that will let us add activities to a home.
@brylie
brylie / gist:44a50ad32d588d40219c021199457110
Created January 2, 2024 18:54
Code with Brylie - e42
(...) Hello and welcome to an open source live code hangout. Today we're going to work on the Jerry Life project.
(...)
And I'm going to try to see if I can fix a strange bug I found yesterday.
(...)
It's a floating point rounding bug.
@brylie
brylie / gist:ac6d0bae6b058addea1e12a18cdcddd2
Created December 28, 2023 07:32
Code with Brylie - e41
(...) Hello and welcome to an open source live code hangouts. I don't know what episode this is but we're gonna work on a task today. I should probably just drop the episode thing but I was having such bandwidth problems last time that the episode got broken up into like five or six parts. We are gonna work on making fake data.(...) I think we're like episode 42.(...) I've got my ectoplasm.(...) Basically I need to have some data in this project so that we can develop new features and show how the project works without manually creating a bunch of demo data.(...) So I'm gonna create a single command that sort of builds out a small system with homes, residents, and some activities just to get the feel for it. Try to do that within one hour. Then I'll build on that learning in a subsequent task probably for more elaborate dummy data.(...) So you can see our source code is on github.com slash Jerry life slash caregiving and I'm working on following issue I just realized.(...) There you go. I had turned off the s
@brylie
brylie / gist:6482cd98144d203adda1c291758b992f
Created December 23, 2023 21:58
Open Source with Brylie - e40
(...) Hello and welcome to another open source live code hangout.(...) Today we're working on the Western Friend website.(...) If you'd like to check out our source code you can stop by github.com slash Western Friend and the repository is westernfriend.org
(...)
It's the source code for the westernfriend.org website.(...) Today's task I'm going to work on an optimization.(...) A few weeks back we noticed we were getting a lot of 404s on the new site and it was because I basically neglected to migrate
(...)
some redirects or to create some redirects during the migration but also I think because we're getting a lot of bot activities that are just scanning our site and what's happening if I search for if I go to a non-existent page some page that doesn't exist our site redirects to our search page and takes the URL splits it and puts it as the search phrase.(...) We did this for a convenience to help users discover the pages they may have been looking for but what I'm realizing is it's mostly bots that are
@brylie
brylie / gist:b48777e1ad13cd47343170e9fa111dba
Created November 28, 2023 17:47
Code With Brylie - e38
Hello and welcome to an open source live code hangout where today we will be working on the Western Friend website.
I'm going to look in our issue queue for some kind of top priorities. There was one I think relating to pagination which somehow didn't get displayed on our project. So I assign myself to this and it's a bug. It's either not working or hasn't been implemented. I think it might have been an oversight but I don't know yet. I think the original plan perhaps was to display all the items and then add pagination post launch. I don't know. I don't know. That wouldn't really make sense because the search page could display a lot of results. It makes me curious how many other issues do we have in our backlog that aren't assigned to a project. Let's see if there's a way I can negate filters.
Feature request. This has been archived. No project.