Skip to content

Commit b7816df

Browse files
committed
go mod updates, all sims now embedded directly using element handlers instead of yaegi. faster it seems.
1 parent aab69d2 commit b7816df

17 files changed

+155
-401
lines changed

.github/workflows/core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install Go
3838
uses: actions/setup-go@v5
3939
with:
40-
go-version: '1.25.1'
40+
go-version: '1.25.6'
4141

4242
- name: Install Core
4343
run: go install cogentcore.org/core@main

content/bg-dorsal-simulation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ Categories = ["Rubicon", "Simulations"]
44
bibfile = "ccnlab.json"
55
+++
66

7-
{id="sim_bg" collapsed="true"}
8-
```Goal
9-
// see https://github.com/emer/axon/tree/main/sims/bgdorsal for source code
10-
bgdorsal.Embed(b)
11-
```
7+
<sim-bgdorsal>
128

139
<div>
1410

content/bg-ventral-simulation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ Categories = ["Rubicon", "Simulations"]
44
bibfile = "ccnlab.json"
55
+++
66

7-
{id="sim_vmbg" collapsed="true"}
8-
```Goal
9-
// see https://github.com/emer/axon/tree/main/sims/bgventral for source code
10-
bgventral.Embed(b)
11-
```
7+
<sim-bgventral>
128

139
<div>
1410

content/fsa-simulation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ Name = "FSA simulation"
44
bibfile = "ccnlab.json"
55
+++
66

7-
{id="sim_fsa" collapsed="true"}
8-
```Goal
9-
// see https://github.com/emer/axon/tree/main/sims/deepfsa for source code
10-
deepfsa.Embed(b)
11-
```
7+
<sim-deepfsa>
128

139
<div>
1410

content/inhibition-simulation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ Categories = ["Activation", "Simulations"]
33
bibfile = "ccnlab.json"
44
+++
55

6-
{id="sim_inhib" collapsed="true"}
7-
```Goal
8-
// see https://github.com/emer/axon/tree/main/sims/inhib for source code
9-
inhib.Embed(b)
10-
```
6+
<sim-inhib>
117

128
<div>
139

content/neuron-simulation.md

Lines changed: 17 additions & 21 deletions
Large diffs are not rendered by default.

content/stable-activation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ Categories = ["Activation", "Simulations"]
33
bibfile = "ccnlab.json"
44
+++
55

6-
{id="sim_stability" collapsed="true"}
7-
```Goal
8-
// see https://github.com/compcogneuro/web/sims/stability for source code
9-
stability.Embed(b)
10-
```
6+
<sim-stability>
117

128
<div>
139

content/urakubo08-simulation.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ Categories = ["Activation", "Simulations", "Neuroscience"]
33
bibfile = "ccnlab.json"
44
+++
55

6-
{id="sim_neuron" collapsed="true"}
7-
```Goal
8-
// see https://github.com/compcogneuro/web/sims/urakubo for source code
9-
urakubo.Embed(b)
10-
```
6+
<sim-urakubo>
117

128
<div>
139

go.mod

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,40 @@
11
module github.com/compcogneuro/web
22

3-
go 1.23.4
3+
go 1.25.6
44

55
require (
6-
cogentcore.org/core v0.3.13
7-
cogentcore.org/lab v0.1.3-0.20260114211409-7a11751d0716
8-
github.com/cogentcore/yaegi v0.0.0-20250622201820-b7838bdd95eb
9-
github.com/emer/axon/v2 v2.0.0-dev0.2.87
10-
github.com/emer/emergent/v2 v2.0.0-dev0.1.7.0.20260112164245-4090cb871bf0
6+
cogentcore.org/core v0.3.14-0.20260117204258-0df48929cf7e
7+
cogentcore.org/lab v0.1.3-0.20260118025330-40dd4638d88a
8+
github.com/cogentcore/yaegi v0.0.0-20260116172027-700fbf8949f3
9+
github.com/emer/axon/v2 v2.0.0-dev0.2.88
10+
github.com/emer/emergent/v2 v2.0.0-dev0.1.7.0.20260118035849-68022169e155
1111
)
1212

1313
require (
14+
codeberg.org/go-pdf/fpdf v0.11.0 // indirect
1415
github.com/Bios-Marcel/wastebasket/v2 v2.0.3 // indirect
1516
github.com/Masterminds/vcs v1.13.3 // indirect
1617
github.com/adrg/strutil v0.3.1 // indirect
17-
github.com/alecthomas/chroma/v2 v2.13.0 // indirect
18-
github.com/anthonynsimon/bild v0.13.0 // indirect
18+
github.com/alecthomas/chroma/v2 v2.23.0 // indirect
19+
github.com/anthonynsimon/bild v0.14.0 // indirect
1920
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
2021
github.com/aymerick/douceur v0.2.0 // indirect
21-
github.com/bramvdbogaerde/go-scp v1.4.0 // indirect
22-
github.com/chewxy/math32 v1.10.1 // indirect
22+
github.com/bramvdbogaerde/go-scp v1.6.0 // indirect
23+
github.com/chewxy/math32 v1.11.1 // indirect
2324
github.com/cogentcore/readline v0.1.3 // indirect
2425
github.com/cogentcore/webgpu v0.23.0 // indirect
25-
github.com/dlclark/regexp2 v1.11.0 // indirect
26-
github.com/ericchiang/css v1.3.0 // indirect
27-
github.com/fsnotify/fsnotify v1.8.0 // indirect
26+
github.com/dlclark/regexp2 v1.11.5 // indirect
27+
github.com/ericchiang/css v1.4.0 // indirect
28+
github.com/fsnotify/fsnotify v1.9.0 // indirect
2829
github.com/go-fonts/latin-modern v0.3.3 // indirect
29-
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20240506104042-037f3cc74f2a // indirect
30-
github.com/go-text/typesetting v0.3.1-0.20250402122313-7a0f05577ff5 // indirect
30+
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20250301202403-da16c1255728 // indirect
31+
github.com/go-text/typesetting v0.3.1-0.20250707124828-58cd3ef91251 // indirect
3132
github.com/gobwas/glob v0.2.3 // indirect
32-
github.com/gomarkdown/markdown v0.0.0-20250311123330-531bef5e742b // indirect
33+
github.com/gomarkdown/markdown v0.0.0-20250810172220-2e2c11897d1a // indirect
3334
github.com/gorilla/css v1.0.1 // indirect
3435
github.com/h2non/filetype v1.1.3 // indirect
3536
github.com/hack-pad/go-indexeddb v0.3.2 // indirect
36-
github.com/hack-pad/hackpadfs v0.2.1 // indirect
37+
github.com/hack-pad/hackpadfs v0.2.4 // indirect
3738
github.com/hack-pad/safejs v0.1.1 // indirect
3839
github.com/jeandeaual/go-locale v0.0.0-20250612000132-0ef82f21eade // indirect
3940
github.com/jinzhu/copier v0.4.0 // indirect
@@ -42,20 +43,20 @@ require (
4243
github.com/mattn/go-shellwords v1.0.12 // indirect
4344
github.com/mitchellh/go-homedir v1.1.0 // indirect
4445
github.com/muesli/termenv v0.16.0 // indirect
45-
github.com/pelletier/go-toml/v2 v2.1.2-0.20240227203013-2b69615b5d55 // indirect
46+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
4647
github.com/rivo/uniseg v0.4.7 // indirect
47-
github.com/tdewolff/parse/v2 v2.7.19 // indirect
48-
golang.org/x/crypto v0.40.0 // indirect
49-
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948 // indirect
50-
golang.org/x/image v0.25.0 // indirect
51-
golang.org/x/mod v0.25.0 // indirect
52-
golang.org/x/net v0.42.0 // indirect
53-
golang.org/x/sync v0.16.0 // indirect
54-
golang.org/x/sys v0.34.0 // indirect
55-
golang.org/x/text v0.27.0 // indirect
56-
golang.org/x/tools v0.34.0 // indirect
57-
gonum.org/v1/gonum v0.15.0 // indirect
48+
github.com/tdewolff/parse/v2 v2.8.5 // indirect
49+
golang.org/x/crypto v0.47.0 // indirect
50+
golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect
51+
golang.org/x/image v0.35.0 // indirect
52+
golang.org/x/mod v0.32.0 // indirect
53+
golang.org/x/net v0.49.0 // indirect
54+
golang.org/x/sync v0.19.0 // indirect
55+
golang.org/x/sys v0.40.0 // indirect
56+
golang.org/x/text v0.33.0 // indirect
57+
golang.org/x/tools v0.41.0 // indirect
58+
gonum.org/v1/gonum v0.17.0 // indirect
5859
modernc.org/knuth v0.5.4 // indirect
5960
modernc.org/token v1.1.0 // indirect
60-
star-tex.org/x/tex v0.6.0 // indirect
61+
star-tex.org/x/tex v0.7.1 // indirect
6162
)

0 commit comments

Comments
 (0)