Skip to content

Commit

Permalink
add screenshots by fixing filepath reolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Roberts authored and Lucas Roberts committed Oct 21, 2024
1 parent 6275fef commit e14176c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
13 changes: 13 additions & 0 deletions _posts/2024-10-14-blog-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,3 +196,16 @@ schedule the computation for the individual cells of the matrices. There isn't
a better way to do this that I'm aware of and still be exact.

For the approximate branch-the default-the code is using the [Lambert W function](https://en.wikipedia.org/wiki/Lambert_W_function) and uses the second order approximation from [Temme](https://ir.cwi.nl/pub/5461) see section 4 of the linked paper for details.

### Cite this post

```
@misc{LucasRoberts2024subsetsandordering,
author = {Lucas Roberts},
title = {On subsets and ordering},
year = 2024,
howpublished = {\url{https://rlucas7.github.io/posts/2024/10/blog-post-1/}},
note = {Accessed: 2024-10-15}
}
```

8 changes: 4 additions & 4 deletions _posts/2024-10-21-gcloud-python-package-registry-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ packaging process to pick up the distributed files.
When you change the directory structure in the package this also requires a couple changes to the
test directory imports, e.g. [here](https://github.com/rlucas7/python-starter/commit/5a68112d22b10bc1fa26201e3205978e3fe026c3).

![](images/package-name-diff.png?raw=true)
![image]({{site.baseurl}}/assets/img/package-name-diff.png)

Forgetting to change the unit test import statements will result in failing tests on the remote.
If not the name of the package in the package config or the directory structure won't match what is in the git repo.
Expand Down Expand Up @@ -222,7 +222,7 @@ collections2 2024-10-18T18:04:23 2024-10-18T18:04:23
python-starter 2024-10-18T18:04:23 2024-10-18T18:04:24
```

![](images/packages-and-naming.png?raw=true)
<img src="{{site.baseurl}}/assets/img/packages-and-naming.png"/>

Note: For python packages that have more than python code then you can get into
issues around building from various operating systems (windows, mac, linux, etc) as well
Expand All @@ -246,7 +246,7 @@ python3.11 -m setuptools_scm

Note that google will accept a non-release version of the package.

![](images/non-release-version-gcloud-artifact-reg.png?raw=true)
![image]({{site.baseurl}}/assets/img/non-release-version-gcloud-artifact-reg.png)

We'll see how to update this now. It's fairly simple and described in the readme for the
template, using git tags you change these to `0.1` say and then make a commit.
Expand Down Expand Up @@ -309,7 +309,7 @@ into the github repo and have them be used effectively.

First create the google auth credentials, creata a service role and then generate the credential file in the google cloud console.

![](images/create-credentials.png?raw=true)
<img src='{{site.baseurl}}/images/create-credentials.png'/>

Github supports this via a secrets setup which you can safely
use in your github action and the value should not be leaked into public view in
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/package-name-diff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/packages-and-naming.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e14176c

Please sign in to comment.