profile
viewpoint
Martin Tournoij arp242 @zgoat Kerobokan, Indonesia https://www.arp242.net Previously Carpetsmoker. Programmer of stuff; mostly using Go these days. From Netherlands originally.

arp242/gopher.vim 92

A Vim plugin for the Go programming language

arp242/find-cursor 63

Highlight the cursor position in X11

arp242/dotfiles 30

My configuration files

arp242/arp242.net 24

This is my site. There are many like it, but this one is mine.

arp242/gogo-release 20

Build cross-platform binaries for Go

arp242/download-npo 16

Download episodes from the Dutch npostart.nl − Download afleveringen van npostart.nl

arp242/bestasciitable 15

The best™ ASCII table

arp242/goimport 6

Add, remove, or replace imports in Go files

arp242/battray 4

Display tray icon with battery status; can also run scripts when the status changes

arp242/colorcount 4

Display the colours used in a PNG image

push eventarp242/arp242.net

Martin Tournoij

commit sha 370ae2a12c83e07b52ce34fa7f041df39e4f30f5

Fix

view details

push time in an hour

push eventarp242/arp242.net

Martin Tournoij

commit sha b11599451f12a5d87bbdfae06929fc811384a338

Update a bit

view details

push time in an hour

push eventarp242/imgzoom

Martin Tournoij

commit sha 2a83a7adeada0859015e32f24a907a36ba696904

Mention npm in README

view details

push time in 3 hours

push eventarp242/imgzoom

Martin Tournoij

commit sha b8c74e1bd67b8aeb8326498259c7d8770ae4a28d

Okay, seems to work, so publish v1.1.0

view details

push time in 4 hours

push eventarp242/imgzoom

Martin Tournoij

commit sha f464028f2d00facd9997a90cae16ab217e6a23d8

Be compatible with WebPack et al ... maybe ... hopefully...

view details

push time in 4 hours

push eventzgoat/goatcounter

Martin Tournoij

commit sha afa0e9be47df6833aac68dc427e38faa32f552ea

See pages in top referrers This feature got lost when I moved it from a horizontal chart at the botton.

view details

push time in 5 hours

push eventarp242/globedit.vim

Martin Tournoij

commit sha 5ee840c2eb54fbdf6238afda6a22a4f543920710

Make ":Tabedit file-that-doesnt-exist" work better Long-standing issue that it would error out on this. Finally got annoyed enough by it to fix it: it will only error if there are globbing characters; otherwise it will just behave as :tabe

view details

push time in 6 hours

push eventarp242/switchy.vim

Martin Tournoij

commit sha ade18749774da2d88886828585c162371103add3

Add C

view details

push time in 6 hours

issue commentarp242/uni

Test failures

I pushed the v1.1.1 tag

DamienRobert

comment created time in 6 hours

created tagarp242/uni

tagv1.1.1

Query the Unicode database from the commandline, with good support for emojis

created time in 7 hours

push eventarp242/uni

Martin Tournoij

commit sha eda80c371c1744f6146311f76bdc45f7d4677d6c

Mention Arch and Void package

view details

push time in 7 hours

issue commentarp242/uni

Test failures

Oh, right; I didn't realize this was blocking anything 😅 Would have done it sooner otherwise!

DamienRobert

comment created time in 7 hours

delete branch arp242/star-history

delete branch : built

delete time in 17 hours

push eventzgoat/goatcounter

Martin Tournoij

commit sha 46d1029885689602c5035abab20148ed088c9b43

Remove the email auth

view details

Martin Tournoij

commit sha f68f95db887309ffacf4629bca5393bdefe3fe23

Merge pull request #263 from zgoat/rm-email-auth Remove the email auth

view details

push time in 2 days

delete branch zgoat/goatcounter

delete branch : rm-email-auth

delete time in 2 days

PR merged zgoat/goatcounter

Remove the email auth wip

Merge in 2 weeks.

+27 -188

0 comment

7 changed files

arp242

pr closed time in 2 days

PR opened timqian/star-history

Fix very minor spelling issue (build → built)

Fixed a very minor spelling issue I happened to notice. "Build" is used for the present tense ("I will build this"), and "built" is for the past tense ("I built this").

It's one of those confusing language things 😅 The same applies to some other verbs ending with a "d" by the way (send probably being the most common).

+2 -2

0 comment

1 changed file

pr created time in 2 days

create barncharp242/star-history

branch : built

created branch time in 2 days

fork arp242/star-history

The missing star history graph of github repos

https://star-history.t9t.io

fork in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha c1ef643ba75d895802eef62676926a8d13b5d8de

Call updateSystemStats() in cron Do'h

view details

Martin Tournoij

commit sha 931dc766c377119bf3608986331f7dfe3bb6b0ff

Fix test

view details

Martin Tournoij

commit sha 37f91f010ae8fb9fcadbf8f32c5f4ea604647ec0

Update blacklist.go, geoDB

view details

Martin Tournoij

commit sha 46d1029885689602c5035abab20148ed088c9b43

Remove the email auth

view details

push time in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 37f91f010ae8fb9fcadbf8f32c5f4ea604647ec0

Update blacklist.go, geoDB

view details

push time in 2 days

push eventWhoIsSethDaniel/gopher.vim

Martin Tournoij

commit sha 8059fb149df9765398dde56015623ce333a754ba

That's actually not needed

view details

push time in 2 days

pull request commentarp242/gopher.vim

Changes to auto-download of tools

Okay, I added a new commit with documentation on the new behaviour (but didn't really implement anything yet); I think this would work for you?

This also includes a basic prototype fix for the filereadable()/exepath() thing mention in the other thread.

I'll look some more at the entire thing next week or so.

Setting the filetype is actually what I am doing now in my automation scripts. It's one of those things that can be done, but, perhaps, should not need to be done.

That's fair enough, but on the other hand, making :GoSetup available everywhere means you'll have a "useless" command when editing non-Go files which I also don't really like. As far as I know, there is no real downside to setting the filetype so that seems like the better option since it's much rarer to have to do that than it is to edit non-Go files.

Aside: the API is quite stable (and documented) and should be guaranteed to be stable once 1.0 is released so gopher#system#setup() should be safe. I've just been working towards the 1.0 release very slowly as I want it to be slightly perfect 😅

WhoIsSethDaniel

comment created time in 2 days

push eventWhoIsSethDaniel/gopher.vim

Martin Tournoij

commit sha 8eea2dca82622aedd8f5f633e5bffb99c23d715a

Add documentation on new behaviour (not implemented yet)

view details

push time in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha c1ef643ba75d895802eef62676926a8d13b5d8de

Call updateSystemStats() in cron Do'h

view details

Martin Tournoij

commit sha 931dc766c377119bf3608986331f7dfe3bb6b0ff

Fix test

view details

push time in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha b6ed38178f1a633af336b836c83247b4121a33f2

Don't infinitely loop when trying to display sites before the site creation The startdate is capped to the site's creation date, and the loop would start with a date after the end date, so this condition: if dayFmt == endFmt { was never true. I forgot why I didn't use time.After() in the first place; it may be due to TZ offset issues 🤔 Need to check later, but that would be a (potentially) less severe bug than this. Also set the Deadline() lower; it was only 10 seconds temporarily while I was fixing some performance issues for very large sites (which is now done). Can probably be a bit lower still, but need to check.

view details

Martin Tournoij

commit sha 1169c862f10cafc30b9eb88892fd8bc5d02ee6f1

Don't allow going in the past or future with forward/back buttons Fixes #281 Also fixes bb6ed38a bit better.

view details

Martin Tournoij

commit sha f5143ab31a8a3aafdda1138cbccb0bd629125473

Fix reset scale button

view details

Martin Tournoij

commit sha 3626e0c73780470f78fa4f66c30cb17b1c01b8da

Allow purging by title as well I've got a whole bunch of 404s I'd like to remove, but I can identify them only by the title "404".

view details

Martin Tournoij

commit sha 05b296b19271906fdc72e381f6d7726e70150b6b

Fix test

view details

Martin Tournoij

commit sha c47bde96ad1de204fbcf573e5ca3a507330c4279

DB migration rollup

view details

Martin Tournoij

commit sha fdc5b02b64129d22fea8f9b6a18fd6f688553f45

Add bgrun to wait for some minor background goroutines to finish e.g. sending emails, running purge, etc.

view details

Martin Tournoij

commit sha bd2eba54f37a9c2daa3f810410fed5651cc98e07

Add help entry on "(no data)"

view details

Martin Tournoij

commit sha 76c2fe750a2675d652fd957058f796fdd9859f4d

Update botlog on conflict instead of erroring out

view details

Martin Tournoij

commit sha bc48d48458c6c25bd6c4853cc6d030d232fc7f93

Fix lint error

view details

Martin Tournoij

commit sha 94aa265bd77a506a10b8db6dcf2091dd9458ec0a

Don't show the autogenerated code for serve Looks ugly; the only reason there's a value there in the first place is because of the SQL constraint on the column.

view details

Martin Tournoij

commit sha cf7103f4a98af30383b3909b95394e8303312e6a

Some improvements to the PostgreSQL stat admin

view details

Martin Tournoij

commit sha f41f05691c7c86dfa40e9d03da308869e35b9de9

Fix df stats

view details

Martin Tournoij

commit sha 1a4693357c885af85b889eb57aa286f70402b287

Link the configured site in the public view's header

view details

Martin Tournoij

commit sha bc017466fe287b4e4a06f2405f80d31cc8665187

Few small fixes for mobile; add "copy" button to code examples

view details

Adriaan Knapen

commit sha c300383536291383108de917a50ea33562e4472f

fix(settings): add closing tag in the custom domain field description

view details

Martin Tournoij

commit sha 3fe80b7856639a38179b0ababd2a97c1f6193924

zgo.at/utils → zgo.at/zstd

view details

Martin Tournoij

commit sha 3560206b1ccf5a46ffbf37c777502b862f107375

Merge pull request #287 from Addono/patch-1 fix(settings): add closing tag in the custom domain field description

view details

Martin Tournoij

commit sha 0d0da4800a2c85eeb1765c72eb6ca43e3cb7613e

Merge branch 'master' of github.com:zgoat/goatcounter

view details

Martin Tournoij

commit sha 6ccadae1d873f1ef8d147045a478f12e9ac45107

Remove the email auth

view details

push time in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 0d0da4800a2c85eeb1765c72eb6ca43e3cb7613e

Merge branch 'master' of github.com:zgoat/goatcounter

view details

push time in 2 days

Pull request review commentarp242/gopher.vim

Changes to auto-download of tools

 let s:gotools = s:root . '/tools'         " Our Go tools. let s:gobin   = s:gotools . '/bin' let s:jobs    = []                        " List of running jobs. +" Use either the '<plugin>/tools' directory to install things or use +" $GOBIN. The default is to place things in <plugin>/tools.+let s:use_gotools = !get(g:, 'gopher_local_install', 0)++" By default autodownload of tools happens. However, if+" we want a 'local' install we can no longer have +" autodownload.+let s:tool_autodownload = s:use_gotools is 1 ? 1 : 0

Did you run in to a problem with the autodownload and the default GOBIN, or is it just something you'd prefer not to happen?

I think this could perhaps be two different settings: "use default GOBIN" and "don't download tools automatically"?

WhoIsSethDaniel

comment created time in 2 days

pull request commentarp242/gopher.vim

Changes to auto-download of tools

Right, so it's just a personal preference. That's fair enough, and don't mind supporting that. Just wondered if there's a problem you ran in to.


As for the setup, I think you should already be able to set up the environment with:

$ vim +'setf go' +GoSetup +q

The trick is to make sure the filetype is set to go, or alternatively you can also call the function directly:

$ vim +'call gopher#system#setup()' +q

I'm not sure if there are any differences in the :GoForceSetup logic vs. the regular one? I compared the new function to the existing code, and I think it does the same, but maybe I'm missing something; I wrote all of this 2 years ago and haven't looked much at this part since 😅

WhoIsSethDaniel

comment created time in 2 days

pull request commentzgoat/goatcounter

fix(settings): add closing tag in the custom domain field description

Oeps! Dank u :-)

Addono

comment created time in 2 days

push eventzgoat/goatcounter

Adriaan Knapen

commit sha c300383536291383108de917a50ea33562e4472f

fix(settings): add closing tag in the custom domain field description

view details

Martin Tournoij

commit sha 3560206b1ccf5a46ffbf37c777502b862f107375

Merge pull request #287 from Addono/patch-1 fix(settings): add closing tag in the custom domain field description

view details

push time in 2 days

PR merged zgoat/goatcounter

fix(settings): add closing tag in the custom domain field description

Here there's a closing tag missing after "billing": image

+1 -1

0 comment

1 changed file

Addono

pr closed time in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 3fe80b7856639a38179b0ababd2a97c1f6193924

zgo.at/utils → zgo.at/zstd

view details

push time in 2 days

push eventzgoat/zdb

Martin Tournoij

commit sha 932215d95f5b878f353cc4251177e0b324c32d00

zgo.at/utils → zgo.at/zstd

view details

push time in 2 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha bc017466fe287b4e4a06f2405f80d31cc8665187

Few small fixes for mobile; add "copy" button to code examples

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 1a4693357c885af85b889eb57aa286f70402b287

Link the configured site in the public view's header

view details

push time in 3 days

pull request commentarp242/gopher.vim

Changes to auto-download of tools

Hey, thanks for your PR :-)

What is the use case for using a different $GOBIN? The intention behind using a our own $GOBIN is that I know which versions of which tools work, and that I want those exact versions to prevent upstream updates from breaking stuff, similar to e.g. the vendor directory in Go.

This happened several times when I maintained vim-go, and then we had to scramble to fix stuff, which wasn't great.

Just want to understand the problem so we can add the best fix :-)


As a general comment, I tried to prevent having a sprawl of different :Go* commands; pressing :Go<Tab> gives a huge list in vim-go, many of them unused by most users.

So I'd prefer something like :GoSetup force or :GoSetup! over a new :GoSetupForcecommand. The same applies to settings, e.g. a list of flags or dict ing:gopher_setup` would be preferred, unless we're sure there will never be any more options, e.g.:

let g:gopher_setup = ['local-install', 'no-download']

I wouldn't change this just yet, btw, since we may decide solving your problem in a different way and I'd hate for you to waste your time.

WhoIsSethDaniel

comment created time in 3 days

push eventarp242/uni

Martin Tournoij

commit sha 55eeb8553a6774b3b5120a3804df1661b034db39

Fix tests Fixes #14

view details

push time in 3 days

issue closedarp242/uni

Test failures

With the new release (or current master), I get the following tests failures:

--- FAIL: TestPrint (0.11s)
    --- FAIL: TestPrint/[-q_p_OtherPunctuation] (0.00s)
        uni_test.go:144: wrong # of lines
            out:  593
            want: 588
    --- FAIL: TestPrint/[-q_p_Po] (0.00s)
        uni_test.go:144: wrong # of lines
            out:  593
            want: 588
    --- FAIL: TestPrint/[-q_p_all] (0.11s)
        uni_test.go:144: wrong # of lines
            out:  33797
            want: 32841
--- FAIL: TestEmoji (0.01s)
    --- FAIL: TestEmoji/[e_-tone_mediumlight_bride] (0.00s)
        uni_test.go:217: wrong output
            out:  []string{""}
            want: []string{"👰🏼"}
--- FAIL: TestAllEmoji (0.01s)
    uni_test.go:248: different length: want 3078, got 3195
    uni_test.go:252: 
FAIL
FAIL	arp242.net/uni	0.160s
ok  	arp242.net/uni/isatty	0.004s
?   	arp242.net/uni/terminal	[no test files]
?   	arp242.net/uni/unidata	[no test files]
FAIL

closed time in 3 days

DamienRobert

create barncharp242/lazy.vim

branch : master

created branch time in 3 days

created repositoryarp242/lazy.vim

The really simple snippet manager

created time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha f41f05691c7c86dfa40e9d03da308869e35b9de9

Fix df stats

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha cf7103f4a98af30383b3909b95394e8303312e6a

Some improvements to the PostgreSQL stat admin

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 94aa265bd77a506a10b8db6dcf2091dd9458ec0a

Don't show the autogenerated code for serve Looks ugly; the only reason there's a value there in the first place is because of the SQL constraint on the column.

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha bc48d48458c6c25bd6c4853cc6d030d232fc7f93

Fix lint error

view details

push time in 3 days

issue closedzgoat/goatcounter

QUESTION: Clarification on "visits" counter subset when looking at all data

example1

example2

As I've started self-hosting GoatCounter, I've come across the above quite frequently when selecting a range that shows all of my data.

I'm unsure how to interpret the visits: how can I be looking at 19 or 20 visits out of only 9 or 10 respectively? While at first glance this appears to be a bug, since it seems odd that GoatCounter would be telling me that I'm looking at more data than what's available, but what's also odd about it is that the total number of visits seems to be accurate, so if I'm looking at everything shouldn't I see a 20/20 or 19/19?

closed time in 3 days

noelforte

issue commentzgoat/goatcounter

QUESTION: Clarification on "visits" counter subset when looking at all data

Coolio, I'll mark this as solved then

noelforte

comment created time in 3 days

issue openedzgoat/goatcounter

Add visitor counter

Party like it's 1999 and add to show how many visitors your site has. e.g.:

/counter/my/path.png            The classic PNG image
/counter/my/path.html           iframe or loading via AJAX
/counter/my/path.json           Some basic JSON data

Hardly a critical feature, but I think it might be fun :-) Might do this when I'm bored with SQL queries or whatnot 😅

created time in 3 days

issue openedzgoat/goatcounter

Improve port binding/acme UX

In spite of claims that Let's Encrypt is "easy" and that "anyone can use HTTPS now" it actually has some rather specific requirements and is somewhat hard to get running well unless you kind-of know how it works.

We bind to port 80 on goatcounter serve as ACME needs that for the http-01 verification, but this is rather confusing since 1) the user may not have permission to do so, 2) they may want to run it on port 8080 or whatnot, and 3) they may be running behind a proxy or whatnot which doesn't (yet) forward to goatcounter.

We need to print clearer info on all of this, and maybe also add a check to see if the installation is reachable on port 80 before trying to issue ACME certificates 🤔

created time in 3 days

issue openedzgoat/goatcounter

Document how to use with navigator.sendBeacon and window.onerror

We can use navigator.sendBeacon now – document how. Perhaps even integrate in GoatCounter?

I also had the idea that you can use GoatCounter as rudimentary error reporting with window.onerror. You won't get the full stack or whatnot, but you can send it the error message, which is somewhat useful for simple sites (I now load 60K of Sentry JS on my site... Mostly actually to monitor if the count.js script isn't erroring out)

created time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 76c2fe750a2675d652fd957058f796fdd9859f4d

Update botlog on conflict instead of erroring out

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha bd2eba54f37a9c2daa3f810410fed5651cc98e07

Add help entry on "(no data)"

view details

push time in 3 days

issue openedzgoat/goatcounter

"Additional sites" should work for "goatcounter serve" too

Right now the "Additional sites" tab only works for "goatcounter saas"; just needs some small modifications to enter the domain rather than code.

created time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha fdc5b02b64129d22fea8f9b6a18fd6f688553f45

Add bgrun to wait for some minor background goroutines to finish e.g. sending emails, running purge, etc.

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 05b296b19271906fdc72e381f6d7726e70150b6b

Fix test

view details

Martin Tournoij

commit sha c47bde96ad1de204fbcf573e5ca3a507330c4279

DB migration rollup

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 3626e0c73780470f78fa4f66c30cb17b1c01b8da

Allow purging by title as well I've got a whole bunch of 404s I'd like to remove, but I can identify them only by the title "404".

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha f5143ab31a8a3aafdda1138cbccb0bd629125473

Fix reset scale button

view details

push time in 3 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 1169c862f10cafc30b9eb88892fd8bc5d02ee6f1

Don't allow going in the past or future with forward/back buttons Fixes #281 Also fixes bb6ed38a bit better.

view details

push time in 3 days

issue closedzgoat/goatcounter

Navigating to a date prior to first data received point breaks date range selector

GoatCounter version: 1.2.0

Steps to reproduce:

  1. Create a new GoatCounter instance (I'm self-hosting for the purposes of this ticket) or log into an existing one
  2. Use the back buttons to page back either a week or a month, it doesn't matter which, to a date prior to when GoatCounter was initialized.

Expected Behavior: The "start of range" and "end of range" fields should decrement by the indicated amount, either one week or one month, so that they are still the same duration apart from each other. The fields should not be allowed to invert, that is, the "end of range" should not be allowed to come before the "start of range"

Actual Behavior: GoatCounter "resets" the "start of range" field so that it cannot be decremented prior to the initialization date. Meanwhile, the "end of range" date will continue to decrement on subsequent button presses, leading to a state depicted below.

Screen Shot 2020-05-28 at 1 11 38 AM

Here, the "end of range" comes before the "start of range", which returns no data. Furthermore, incrementing the view by week or month keeps the range in this state, meaning the only way to reset it is by either entering dates manually, or selecting the current week, month, day, etc.

closed time in 3 days

noelforte

push eventarp242/arp242.net

Martin Tournoij

commit sha aafcbf5e0dbd47e5727f895f4b1c7182eb2feedc

Few minor typos etc.

view details

push time in 3 days

issue commentarp242/find-cursor

option to close find-cursor?

Cheers, I added it to the README.

dianat100

comment created time in 3 days

push eventarp242/find-cursor

Martin Tournoij

commit sha 9ed9ec581ca152d33cbb85b0929ef879e690568b

Mention how to toggle it on/off when repeating forever Fixes #20

view details

push time in 3 days

issue closedarp242/find-cursor

option to close find-cursor?

Hello, I have created a launcher to launch the cursor whenever I want others to see my cursor on Skype. However, I don't see an easy way to close it once I am finished "pointing". I know I can kill it in the terminal, but each time I launch it, it is assigned a different ID number. How can I close the application with one click or universal command?

closed time in 3 days

dianat100

issue commentarp242/jumpy.vim

IMHO: remapping } and { by default goes a bit to far

I changed the defaults to g[ and g] now. g] is already a mapping, but seems pretty rarely used so probably a reasonably safe default.

arecarn

comment created time in 3 days

push eventarp242/jumpy.vim

Martin Tournoij

commit sha 2a54dfccf0901ea3b8356279e755a6d0bf7fd8f7

Fix tests

view details

Martin Tournoij

commit sha b3b1b9f3946e6c943a4a5ca706c52d5d2d3b0664

Fix for ft=sh: there can be a whitespace between "fun" and "()"

view details

Martin Tournoij

commit sha c2fcca1c27dbdee6140aeb219c332554e7470370

Change default mappings from { } to g[ g] Fixes #9

view details

push time in 3 days

issue closedarp242/jumpy.vim

IMHO: remapping } and { by default goes a bit to far

Just a data point for you to consider. I use the built in behavior { and } quite a lot as movements, so remapping it by default is surprising, leaving it up to the user to configure { and } themselves is fine though.

Also consider the built in matchit plugin (see :h matchit) that remaps % to achieve similar results as { and }.

closed time in 3 days

arecarn

push eventzgoat/zgo.at

Martin Tournoij

commit sha 189d83282b456e6fb545a43f218de2b8e9206d91

Add a real website

view details

push time in 4 days

push eventzgoat/zgo.at

Martin Tournoij

commit sha 7c6515f377fb00c67fe48352f4ea905701711df9

Add zstd

view details

push time in 4 days

push eventzgoat/zstd

Martin Tournoij

commit sha 83897c2259b4c9c8085eae5c24502c316b192733

Rename to zstd

view details

push time in 4 days

issue commentzgoat/goatcounter

Navigating to a date prior to first data received point breaks date range selector

So the infinite loop thing is only an issue with master, and introduced a few hours ago with the "add totals" branch; it's not in 1.2.

As for the actually reported issue: those buttons should just be disabled if there's nothing to display. I'll take a look later.

noelforte

comment created time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha b6ed38178f1a633af336b836c83247b4121a33f2

Don't infinitely loop when trying to display sites before the site creation The startdate is capped to the site's creation date, and the loop would start with a date after the end date, so this condition: if dayFmt == endFmt { was never true. I forgot why I didn't use time.After() in the first place; it may be due to TZ offset issues 🤔 Need to check later, but that would be a (potentially) less severe bug than this. Also set the Deadline() lower; it was only 10 seconds temporarily while I was fixing some performance issues for very large sites (which is now done). Can probably be a bit lower still, but need to check.

view details

push time in 4 days

issue commentzgoat/goatcounter

Navigating to a date prior to first data received point breaks date range selector

Pressing "back week" on a new site with just one pageview actually spins goatcounter in to some sort of infinite loop (RES keeps growing, anyway). Yikes!

noelforte

comment created time in 4 days

issue commentzgoat/goatcounter

QUESTION: Clarification on "visits" counter subset when looking at all data

Yeah, that number isn't correct; not entire sure why though 🤔

I made quite a few changes to how those numbers are generated; mostly for performance reasons, but it's also a lot simpler/easier to understand now. I'm planning to release 1.3 in its current state (+ a few small changes/bugfixes that might crop up) in a few days, so I'm not sure if it's worth revisiting this in 1.2. Would you mind trying the latest master and see if things are fixed with that?

If you want to keep the existing database you'll have to run the migrations goatcounter serve -automigrate and do a reindex goatcounter reindex)

noelforte

comment created time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha e5a1baae8b76a95f805753dc95cd22058b2a44e7

Add total overview Fixes #260

view details

Martin Tournoij

commit sha 6dcce0d77f260ba79307b6bd65d76873664eb7fe

Show top referrals in totals, rather than a new chart

view details

Martin Tournoij

commit sha 0efa0cdb54d7b17f303a90edcb0ecc21a024958b

Re-arrange the header layout to duplicate less info and be more concise

view details

Martin Tournoij

commit sha 596817dbe6a8e9974456d0071528c8e98afc307b

Merge pull request #271 from zgoat/add-totals Add total overview

view details

Martin Tournoij

commit sha de1bc3880cdfca3bb31736c8d2a49a97ef585205

Remove the email auth

view details

push time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha e5a1baae8b76a95f805753dc95cd22058b2a44e7

Add total overview Fixes #260

view details

Martin Tournoij

commit sha 6dcce0d77f260ba79307b6bd65d76873664eb7fe

Show top referrals in totals, rather than a new chart

view details

Martin Tournoij

commit sha 0efa0cdb54d7b17f303a90edcb0ecc21a024958b

Re-arrange the header layout to duplicate less info and be more concise

view details

Martin Tournoij

commit sha 596817dbe6a8e9974456d0071528c8e98afc307b

Merge pull request #271 from zgoat/add-totals Add total overview

view details

Martin Tournoij

commit sha 975c45368b99488e6696717628cc655c8bb28865

Add option to send email reports Various bits and pieces; very much WIP.

view details

push time in 4 days

delete branch zgoat/goatcounter

delete branch : add-totals

delete time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha e5a1baae8b76a95f805753dc95cd22058b2a44e7

Add total overview Fixes #260

view details

Martin Tournoij

commit sha 6dcce0d77f260ba79307b6bd65d76873664eb7fe

Show top referrals in totals, rather than a new chart

view details

Martin Tournoij

commit sha 0efa0cdb54d7b17f303a90edcb0ecc21a024958b

Re-arrange the header layout to duplicate less info and be more concise

view details

Martin Tournoij

commit sha 596817dbe6a8e9974456d0071528c8e98afc307b

Merge pull request #271 from zgoat/add-totals Add total overview

view details

push time in 4 days

PR merged zgoat/goatcounter

Add total overview wip

Fixes #260

+512 -388

0 comment

17 changed files

arp242

pr closed time in 4 days

issue closedzgoat/goatcounter

Add total site traffic graph

Hi, thanks for making something simple and easy to use :)

One thing I really miss from fathom that I was using before is a graph that shows the total traffic across all the pages for whatever time period you have selected.

Thanks!

closed time in 4 days

dshook

push eventzgoat/goatcounter

Martin Tournoij

commit sha 6dcce0d77f260ba79307b6bd65d76873664eb7fe

Show top referrals in totals, rather than a new chart

view details

Martin Tournoij

commit sha 0efa0cdb54d7b17f303a90edcb0ecc21a024958b

Re-arrange the header layout to duplicate less info and be more concise

view details

push time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha e52a38190c3f5dadeb52877016bfb9dbc9b9de42

Show top referrals in totals, rather than a new chart

view details

push time in 4 days

issue commentarp242/jumpy.vim

IMHO: remapping } and { by default goes a bit to far

Yeah, I agree. I found the different semantics of } in Go files vs. other files to be confusing as well. I just haven't thought of a better default mapping for it yet 😅

Also consider the built in matchit plugin (see :h matchit) that remaps % to achieve similar results as { and }.

It's not quite the same, and I've found configuring matchit to be rather byzantine. I just looked at it, and can't really figure out how to make it jump to the next/previous if in Go files. I also tried it in a C file (since b:match_words is set by default) and can't get it to work there either 🤔

arecarn

comment created time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 043a47424c535e0780233303fac1346c74eaabf1

Show top referrals in totals, rather than a new chart

view details

push time in 4 days

push eventzgoat/zdb

Martin Tournoij

commit sha cb59ca25832f873b7ac2222f62ded2deea741839

Better de-indentation in ApplyPlaceholders

view details

push time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha e5a1baae8b76a95f805753dc95cd22058b2a44e7

Add total overview Fixes #260

view details

push time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha ad92873694b2bbbd836c9bfd77e3cb7f748a24e4

Add total overview Fixes #260

view details

push time in 4 days

push eventzgoat/zdb

Martin Tournoij

commit sha 117485d9e261601a82c1c7701884b735e7ad03ab

Format Dump() a bit bette in some cases

view details

push time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha a2ed60dd761d359adfaa87d48a0daa2a7bdd694d

Add total overview Fixes #260

view details

push time in 4 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 0914407ffe1a984e044d19cd6d8640fc128646c7

Add botlog (#277) Did with some CLI tools before, easier to block crap in isbot. The theory here is that networks using bots we can detect are also using bots we can't detect, and adding these IPs to isbot will also make non-JS filtering more reliable. This only works on PostgreSQL/saas mode.

view details

Martin Tournoij

commit sha 29eca926658c0bab3f8d855dcac787e17a82aa24

Tweak changelog

view details

Martin Tournoij

commit sha 5ec066d18319b29c189a7ffb8c7cc5ab619f3c5a

Actually expose goatcounter.filter()

view details

Owen Shen

commit sha eb82dde2efe02f6f74b997ed71764333061420e4

Update sessions.markdown (#280) fixed typo

view details

Martin Tournoij

commit sha 8cf53fddc4ac7a7f48e2b58089fbdcc9aced0468

Don't test go master It's not really needed, and really slows down builds as it has to fetch latest Go master and isn't very cacheable.

view details

Martin Tournoij

commit sha f9abf0b5a886fceb9c6e4b5698cfd174b4f5a90d

Use new zgo.at/blackmail library (#279) Finally got around to finishing this.

view details

Martin Tournoij

commit sha 8270a8cca4bd86ed64026331d09d6b6cfd393b44

Remove the email auth

view details

push time in 5 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 0914407ffe1a984e044d19cd6d8640fc128646c7

Add botlog (#277) Did with some CLI tools before, easier to block crap in isbot. The theory here is that networks using bots we can detect are also using bots we can't detect, and adding these IPs to isbot will also make non-JS filtering more reliable. This only works on PostgreSQL/saas mode.

view details

Martin Tournoij

commit sha 29eca926658c0bab3f8d855dcac787e17a82aa24

Tweak changelog

view details

Martin Tournoij

commit sha 5ec066d18319b29c189a7ffb8c7cc5ab619f3c5a

Actually expose goatcounter.filter()

view details

Owen Shen

commit sha eb82dde2efe02f6f74b997ed71764333061420e4

Update sessions.markdown (#280) fixed typo

view details

Martin Tournoij

commit sha 8cf53fddc4ac7a7f48e2b58089fbdcc9aced0468

Don't test go master It's not really needed, and really slows down builds as it has to fetch latest Go master and isn't very cacheable.

view details

Martin Tournoij

commit sha f9abf0b5a886fceb9c6e4b5698cfd174b4f5a90d

Use new zgo.at/blackmail library (#279) Finally got around to finishing this.

view details

Martin Tournoij

commit sha 1aa4a50118fe34cf085cb2bf44d713ff8efd9366

Add total overview Fixes #260

view details

Martin Tournoij

commit sha 6238cbeeda5e3c39c21c42ca4c003a96288abba8

Work on it more Should probbaly take filter in to account, as well?

view details

Martin Tournoij

commit sha 51adf3125a6ee544a7001da155ba55bf144edd5f

wip

view details

Martin Tournoij

commit sha 6efe7729d96d4696d6558414b505993ce08dadd0

wip

view details

Martin Tournoij

commit sha 3db36dc86c007f11f7daf154f2c163b293c50856

Some finishing-ish touches Still a few minor issues left

view details

push time in 5 days

push eventzgoat/goatcounter

Owen Shen

commit sha eb82dde2efe02f6f74b997ed71764333061420e4

Update sessions.markdown (#280) fixed typo

view details

Martin Tournoij

commit sha 8cf53fddc4ac7a7f48e2b58089fbdcc9aced0468

Don't test go master It's not really needed, and really slows down builds as it has to fetch latest Go master and isn't very cacheable.

view details

Martin Tournoij

commit sha f9abf0b5a886fceb9c6e4b5698cfd174b4f5a90d

Use new zgo.at/blackmail library (#279) Finally got around to finishing this.

view details

Martin Tournoij

commit sha 1b08fcd13c1aacfb5a3e8d5185bc0c5008922971

Add option to send email reports Various bits and pieces; very much WIP.

view details

push time in 5 days

delete branch zgoat/goatcounter

delete branch : blackmail

delete time in 5 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha f9abf0b5a886fceb9c6e4b5698cfd174b4f5a90d

Use new zgo.at/blackmail library (#279) Finally got around to finishing this.

view details

push time in 5 days

PR merged zgoat/goatcounter

Use new zgo.at/blackmail library

Finally got around to finishing this.

+88 -75

0 comment

16 changed files

arp242

pr closed time in 5 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 8cf53fddc4ac7a7f48e2b58089fbdcc9aced0468

Don't test go master It's not really needed, and really slows down builds as it has to fetch latest Go master and isn't very cacheable.

view details

push time in 5 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 9f0dd1eea8a477fad137160a53a7accb9ce83dfc

Use new zgo.at/blackmail library Finally got around to finishing this.

view details

push time in 5 days

push eventzgoat/goatcounter

Martin Tournoij

commit sha 013ed7e270e774832974f63d3a5fa1dcedd660b6

Use new zgo.at/blackmail library Finally got around to finishing this.

view details

push time in 5 days

push eventzgoat/blackmail

Martin Tournoij

commit sha ce30fa1f0a22cae15b1f28dd42ce30bfd9808dfc

Add BodyMust(), propagate errors from parts

view details

push time in 5 days

pull request commentzgoat/goatcounter

Update sessions.markdown to fix simple typo

Cheers, thanks!

owenshen24

comment created time in 5 days

push eventzgoat/goatcounter

Owen Shen

commit sha eb82dde2efe02f6f74b997ed71764333061420e4

Update sessions.markdown (#280) fixed typo

view details

push time in 5 days

more