profile
viewpoint

fsufitch/git-gud 786

Ever had someone tell you to "get good"? Now you can!

fsufitch/dailyprogrammer 5

My solutions for problems pasted in /r/dailyprogrammer

fsufitch/evediscordkm 2

Take two at a script to mirror a filtered zKillboard stream to Discord

fsufitch/electron-click-counter 1

Simple click counter app in Electron, using Angular 2 for UI

fsufitch/amazon-kinesis-agent 0

Continuously monitors a set of log files and sends new data to the Amazon Kinesis Stream and Amazon Kinesis Firehose in near-real-time.

issue closedbwmarrin/discordgo

Add clarifying docs for using an OAuth2 token

While the existing docs for the New(...) function say that the token is used "blindly", and specify that a Bot prefix is necessary for bot tokens, they are not clear that if a single string argument is passed in, it gets passed through to the HTTP Authorization header untouched. They also do not mention the knock-on effect of that, which is that an OAuth2 access token must be prefixed with Bearer when passed into New(...) in order to work.

closed time in 18 days

fsufitch

issue commentbwmarrin/discordgo

Add clarifying docs for using an OAuth2 token

Closing since PR was merged.

fsufitch

comment created time in 18 days

push eventfsufitch/tagioalisi-web

Filip Sufitchi

commit sha 4f450570bc8cc4e745540a546c096ec9e0ef1ca4

Remove debug counter

view details

push time in 25 days

delete branch fsufitch/tagioalisi-bot

delete branch : auth

delete time in 25 days

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha b65fcc5ae10e4600a8780350af54f34aee392a6d

Add oauth flow

view details

Filip Sufitchi

commit sha 33dd33008ced45d6071b126614892accbc725afe

Add logout

view details

Filip Sufitchi

commit sha 3fa86f0b032291b07a908bc009f1598c18b750b4

Move auth within purview of web; add whoami

view details

Filip Sufitchi

commit sha c0cbd5a5583d8f8b0b460af908a0593d596d3f80

Make whoami actually work

view details

Filip Sufitchi

commit sha 370c9b7d233f1945f6fcc487faa6a8c385cf3344

Change auth to use bearer/url session tokens to avoid cross-origin cookies

view details

Filip Sufitchi

commit sha 46a8b3c29b08774a8da4bd8bafd1975f3ed5c290

Switch sockpuppet to new auth system

view details

Filip Sufitchi

commit sha 3b1fa6a35473fa371e3ba83120f6342c6e72f0cf

Merge pull request #4 from fsufitch/auth New auth flow with Discord Oauth2

view details

push time in 25 days

delete branch fsufitch/tagioalisi-web

delete branch : auth

delete time in 25 days

push eventfsufitch/tagioalisi-web

Filip Sufitchi

commit sha 49229d185423bfdf696a0ccb7357d8edb80106bc

Add new auth mechanism

view details

Filip Sufitchi

commit sha df0bf993eab8cd0f175c356ecb4ed9d29fb1c227

Update sockpuppet doc text

view details

Filip Sufitchi

commit sha 8fc525f2615a084660ab69a6c7daea6000049885

Merge pull request #1 from fsufitch/auth New auth flow with Discord Oauth2

view details

push time in 25 days

PR opened fsufitch/tagioalisi-bot

New auth flow with Discord Oauth2
+468 -22

0 comment

19 changed files

pr created time in 25 days

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha 33dd33008ced45d6071b126614892accbc725afe

Add logout

view details

Filip Sufitchi

commit sha 3fa86f0b032291b07a908bc009f1598c18b750b4

Move auth within purview of web; add whoami

view details

Filip Sufitchi

commit sha c0cbd5a5583d8f8b0b460af908a0593d596d3f80

Make whoami actually work

view details

Filip Sufitchi

commit sha 370c9b7d233f1945f6fcc487faa6a8c385cf3344

Change auth to use bearer/url session tokens to avoid cross-origin cookies

view details

Filip Sufitchi

commit sha 46a8b3c29b08774a8da4bd8bafd1975f3ed5c290

Switch sockpuppet to new auth system

view details

push time in 25 days

PR opened fsufitch/tagioalisi-web

New auth flow with Discord Oauth2
+318 -12

0 comment

13 changed files

pr created time in 25 days

create barnchfsufitch/tagioalisi-web

branch : auth

created branch time in 25 days

issue commentbwmarrin/discordgo

Add clarifying docs for using an OAuth2 token

PR: https://github.com/bwmarrin/discordgo/pull/748

fsufitch

comment created time in 25 days

issue openedbwmarrin/discordgo

Add clarifying docs for using an OAuth2 token

While the existing docs for the New(...) function say that the token is used "blindly", and specify that a Bot prefix is necessary for bot tokens, they are not clear that if a single string argument is passed in, it gets passed through to the HTTP Authorization header untouched. They also do not mention the knock-on effect of that, which is that an OAuth2 access token must be prefixed with Bearer when passed into New(...) in order to work.

created time in 25 days

PR opened bwmarrin/discordgo

Add clarifying docs for using an OAuth2 token

While the existing docs for the New(...) function say that the token is used "blindly", and specify that a Bot prefix is necessary for bot tokens, they are not clear that if a single string argument is passed in, it gets passed through to the HTTP Authorization header untouched. They also do not mention the knock-on effect of that, which is that an OAuth2 access token must be prefixed with Bearer when passed into New(...) in order to work.

This PR alters the docs to address this issue.

+4 -1

0 comment

1 changed file

pr created time in 25 days

push eventfsufitch/discordgo

Filip Sufitchi

commit sha edf402529a14307ccb56412bb9eee724c2a0b416

Add clarifying docs for using an OAuth2 token

view details

push time in 25 days

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha b65fcc5ae10e4600a8780350af54f34aee392a6d

Add oauth flow

view details

push time in a month

create barnchfsufitch/tagioalisi-bot

branch : auth

created branch time in a month

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha 0afd6be20c08f1823d6ac4b045f564124de75e99

Move generator scripts into their own folders to stop IDE complaining

view details

push time in a month

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha 78c8fc7b4df07e26b48fd4d6caac2347d5297b3f

Add meme DB seeding

view details

push time in a month

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha b8578c110b6e04d55080675eab5d80083be2231d

Change module name to tagi-bot

view details

push time in a month

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha 76af44978fdc276ba241b22e13a75fd4843611f2

go mod tidy

view details

Filip Sufitchi

commit sha b4306214c6e19a32afb0d7f6e2924091d34bb807

Add default row IDs for acl tables

view details

Filip Sufitchi

commit sha abd9f1794b9d4f7c91d61a50fec87727c559d811

Update to go 1.14

view details

Filip Sufitchi

commit sha e56f1a85beab50b59e8ea7e93339275d4e1d957a

Merge branch 'master' of github.com:fsufitch/tagioalisi-bot

view details

push time in a month

push eventfsufitch/tagioalisi-bot

Filip Sufitchi

commit sha 5217701545bac5ea7623a6368aafd5b85ebf7ee3

Remove migration block of README (migration complete)

view details

push time in a month

startedkyleconroy/sqlc

started time in a month

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha b0f7bb60c600989b1c2ae89cb3a549b7d8d32c00

Sequester old code

view details

Filip Sufitchi

commit sha 563d4eae2c5ee7b84b9233e2eea2207540bff377

Basic CLI process setup, dependency injection, logging

view details

Filip Sufitchi

commit sha a67cd2a7353a59f69acc5efe77f3ab3659398b0c

Remove old code

view details

Filip Sufitchi

commit sha 545cf4867c27f3ed92a5a1abb5d9fdc1998ba1be

Ping pong

view details

Filip Sufitchi

commit sha 67ec8ef5fe3979d6d06e89d1b322c72b58ea3c9d

Modularized bot and web, plus sockpuppetry

view details

Filip Sufitchi

commit sha 7cac924032190592cb2cdf870e59d89dafa5e951

Heroku support

view details

Filip Sufitchi

commit sha 011321deaf757bbe84c512279b541c01d5e3e095

Specific go version in Heroku

view details

Filip Sufitchi

commit sha 7b1d0aea227f065cf0db0c50972606dff1d1ceaf

Empty commit to unconfuse Heroku

view details

Filip Sufitchi

commit sha 74afee4d71b8b331ca3f98b9ed18a55f345d88d2

Revert "Specific go version in Heroku" This reverts commit 011321deaf757bbe84c512279b541c01d5e3e095.

view details

Filip Sufitchi

commit sha 5fa5ca4097fa6b7c5263a279812625040ecd1178

Clean up naming

view details

Filip Sufitchi

commit sha 1eb1c2291c874c861444ff26164831ee2fa14567

Add the beginnings of the DB

view details

Filip Sufitchi

commit sha f0641108be01e215e5da4612e9bb269b83a43c5a

DB migration setup

view details

Filip Sufitchi

commit sha b9b64a0ae4433d0324ef709f426241cacaea9632

Better built initial migration script

view details

Filip Sufitchi

commit sha 1820a125e41ae3e426e064d034768a1bb4a36d01

Complete meme dao

view details

Filip Sufitchi

commit sha 84fb7737116011d546c360c97e411e5feb09ecfc

Add basic meme adding/querying functionality

view details

Filip Sufitchi

commit sha baa5423d9844262667f87368a4db2d252ec44d37

Working memes feature

view details

Filip Sufitchi

commit sha 9b8f3d55d88823b0c39872b7d3dfe46ae5d994cb

log to discord channel, ready for deployment

view details

Filip Sufitchi

commit sha eb0a59f7350dc695ae9e9c69093535dd36e8fa0a

Properly deduplicate names and urls

view details

Filip Sufitchi

commit sha 1b773418050fb567d51fa113abcc67c89f37cc28

Refactor for better project structure

view details

Filip Sufitchi

commit sha 9daec5b20068d76eabdcd437f25d4904eaec3322

add docker-compose nonsense

view details

push time in a month

PR merged fsufitch/discord-boar-bot

Go rewrite
+3929 -2766

0 comment

120 changed files

fsufitch

pr closed time in a month

PR opened fsufitch/discord-boar-bot

Go rewrite
+3929 -2766

0 comment

120 changed files

pr created time in a month

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha a275f858092f031e5ceeee939495ca794a9af99f

Add rewrite FYI

view details

Filip Sufitchi

commit sha 93a9264db469fdaf67b471a3552a4e4870d20094

Merge branch 'master' of github.com:fsufitch/discord-boar-bot into go-rewrite

view details

Filip Sufitchi

commit sha 8f9b580aed3c8838ab43cc91ff3e2a40e26cbcc4

Merge branch 'go-rewrite' of github.com:fsufitch/discord-boar-bot into go-rewrite

view details

push time in a month

fork fsufitch/amazon-kinesis-agent

Continuously monitors a set of log files and sends new data to the Amazon Kinesis Stream and Amazon Kinesis Firehose in near-real-time.

fork in a month

push eventfsufitch/seedless-rand

Filip Sufitchi

commit sha 0bb5063608b0c7d9e30d70044fe85ba362ea23f5

Update README for accuracy

view details

push time in a month

push eventfsufitch/seedless-rand

Filip Sufitchi

commit sha ecb4017f6164ca4663a5c458627f584b1cd1a971

More efficient rand function

view details

push time in a month

release fsufitch/seedless-rand

v1.2

released time in a month

created tagfsufitch/seedless-rand

tagv1.2

A way to seed Go's math/rand in the Go sandbox

created time in a month

release fsufitch/seedless-rand

1.1

released time in a month

created tagfsufitch/seedless-rand

tagv1.1

A way to seed Go's math/rand in the Go sandbox

created time in a month

created tagfsufitch/seedless-rand

tag1.1

A way to seed Go's math/rand in the Go sandbox

created time in a month

push eventfsufitch/seedless-rand

Filip Sufitchi

commit sha e31c60356651907d2b73d4ec33d70334cc3ed7cf

Switch to select-based seed generation

view details

Filip Sufitchi

commit sha 9a37734c8195b37b399aa6fb3e8b91b16ecea977

Merge branch 'master' of github.com:fsufitch/seedless-rand

view details

push time in a month

created tagfsufitch/seedless-rand

tagv1.0

A way to seed Go's math/rand in the Go sandbox

created time in a month

release fsufitch/seedless-rand

v1.0

released time in a month

push eventfsufitch/seedless-rand

Filip Sufitchi

commit sha 12f1a34aa2094f16382e744483f9ba2840434805

Add playground link for live test

view details

push time in a month

push eventfsufitch/seedless-rand

Filip Sufitchi

commit sha 91462e49e4585d003221df841c5afdccaf7d77e3

Actually use a seeded generator when in the sandbox

view details

push time in a month

push eventfsufitch/seedless-rand

Filip Sufitchi

commit sha be055681ddfed8ff889b56e934f7c90b3afcecaf

More permissive sandbox detection through timestamp

view details

push time in a month

push eventfsufitch/sandbox-rand

Filip Sufitchi

commit sha f0c57e84f43e1b4dd1e65d953443c2843a4a3ab1

First commit, hopefully last

view details

push time in a month

created repositoryfsufitch/sandbox-rand

A way to use Go's math/rand in the Go sandbox

created time in a month

create barnchfsufitch/sandbox-rand

branch : master

created branch time in a month

issue commentgolang/go

Unreachable "break" in switch statement causes erroneous compiler static analysis

$ go build
./test.go:17:1: missing return at end of function

$ go vet
vet: ./test.go:17:1: missing return

Vet has the same confusion about the missing return that build does.

fsufitch

comment created time in 2 months

issue commentgolang/go

Unreachable "break" in switch statement causes erroneous compiler static analysis

This may be a philosophical argument about what constitutes a "terminating statement" in the context of switch. The language spec says a terminating statement is:

A "switch" statement in which:

  • there are no "break" statements referring to the "switch" statement,
  • there is a default case, and
  • the statement lists in each case, including the default, end in a terminating statement, or a possibly labeled "fallthrough" statement.

(https://golang.org/ref/spec#Terminating_statements)

In the code examples above, the switch statement was not a terminating statement because it had a break statement in it referring to it. However, that break statement is itself unreachable, so the switch is unaffected by it, and is functionally a terminating statement (even if it does not fit the spec's strict definition).

In other words, the strict wording of the spec does not support the behavior in this issue being a "bug" per se.

fsufitch

comment created time in 2 months

issue openedgolang/go

Unreachable "break" in switch statement causes erroneous compiler static analysis

<!-- Please answer these questions before submitting your issue. Thanks! For questions please use one of our forums: https://github.com/golang/go/wiki/Questions -->

What version of Go are you using (go version)?

<pre> $ go version 1.13.7 </pre> (from the Playground)

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

The Go playground at https://play.golang.org

What did you do?

https://play.golang.org/p/K_qpq7GmBhF

The break after a return in a switch/case causes the compiler to think that the wrapping function is missing a return, when in fact it is impossible for the function to break out of the switch.

What did you expect to see?

1

(or 2 or 3 depending on the variable)

What did you see instead?

./prog.go:17:1: missing return at end of function

created time in 2 months

push eventfsufitch/sample-go-app-v2

Filip Sufitchi

commit sha 71f4a43adba6c1959e306f4f710550d5c06a3a1e

Migrate to go modules

view details

push time in 2 months

create barnchfsufitch/sample-go-app-v2

branch : master

created branch time in 2 months

created repositoryfsufitch/sample-go-app-v2

https://medium.com/p/3ed980bc287e

created time in 2 months

create barnchfsufitch/sample-go-app-v2

branch : master

created branch time in 2 months

created repositoryfsufitch/sample-go-app-v2

https://medium.com/p/3ed980bc287e

created time in 2 months

create barnchfsufitch/sample-go-app

branch : modules

created branch time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 92a100aefd06c77f5b1df34a013eb12ff9c9ff63

Web UI complete

view details

push time in 2 months

push eventfsufitch/tagioalisi-web

Filip Sufitchi

commit sha c14d05b1ded7a22099151c34bd54d1dcc059918a

Sockpuppet interaction

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 3dec84c2060f0cec15bfda134d26552769bcd5d4

Properly support web interactions, after much trouble

view details

push time in 2 months

push eventfsufitch/tagioalisi-web

Filip Sufitchi

commit sha cd6dc6fc1f5833f72580ee4dab6cfb7bc2dc3219

Tweaks for deploying to Heroku

view details

push time in 2 months

push eventfsufitch/tagioalisi-web

Filip Sufitchi

commit sha 9b62e6df731f3672c95001e654008a89a5d24a87

First commit for bot UI

view details

Filip Sufitchi

commit sha 218e129aa2ed2c9ee0b97ce7a2357e0d716df8d7

don't use canonical host setting

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 30677428db539616abe9568fbdf73858578b8e70

Tweak API to better support the web UI

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 2584dcbb8adc44843a172e20f5b00208221d104c

Add CORS header to let the UI hit the API

view details

push time in 2 months

push eventfsufitch/tagioalisi-web

Filip Sufitchi

commit sha 5731ffa491c3de679a35d3a29f3a8a17db109822

Hello world react

view details

push time in 2 months

create barnchfsufitch/tagioalisi-web

branch : master

created branch time in 2 months

created repositoryfsufitch/tagioalisi-web

Web UI for the Tagioalisi Bot

created time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 9ce255c61702c1df4f2c5d3cbe03565fd9467105

rebranding to Tagioalisi

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 57302310e8026cdabb5aa1681ef6ae52fde3416b

remove welcome module from requirements for rewrite

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha b1e0e955f77dfff43aadb2583532aafa3f8b888a

improve logging overall with more verbosity and discipline

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 28391ef963817d85dd1a634f475f1e0cd2daf7f4

Fix group leaving message

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 9e1f80ab85cc32ef571c0d817b3ce18a0d4a74d9

update readme to address the fact that groups works now

view details

push time in 2 months

delete branch fsufitch/discord-boar-bot

delete branch : go-groups

delete time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 4e37d4fd0ae6f73cd98392dbc53e2cf300ca6237

add groups feature set

view details

Filip Sufitchi

commit sha 5b64a643a3840c5af016895e447372beea818e01

Merge pull request #2 from fsufitch/go-groups add groups feature set

view details

push time in 2 months

PR opened fsufitch/discord-boar-bot

add groups feature set
+432 -4

0 comment

14 changed files

pr created time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 4e37d4fd0ae6f73cd98392dbc53e2cf300ca6237

add groups feature set

view details

push time in 2 months

create barnchfsufitch/discord-boar-bot

branch : go-groups

created branch time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 91bcfca8ebc66220bc514375354b9a063d890bff

Proper check marks for module work

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 82a5bfb47f167a6d4974cad3d4ac139a7e096997

Update README to be accurate for the Go rewrite

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha c28c8714b7f8c7ab93bc208505a3ec4e670f3890

add acl to memes

view details

push time in 2 months

push eventfsufitch/discord-boar-bot

Filip Sufitchi

commit sha 1b773418050fb567d51fa113abcc67c89f37cc28

Refactor for better project structure

view details

Filip Sufitchi

commit sha 9daec5b20068d76eabdcd437f25d4904eaec3322

add docker-compose nonsense

view details

Filip Sufitchi

commit sha 01bcdd799e2d0f0022c8bbb305c478b793f5089b

finalize docker-compose nonsense

view details

push time in 2 months

push eventfsufitch/wire-web-demo

fsufitchi@gmail.com

commit sha 415d6762961984433401643c6df24cc035c01e09

Add docker compose

view details

push time in 2 months

push eventfsufitch/underflow

Filip Sufitchi

commit sha ecb79066d8be9267bf650e1c6d63b7be3bf66a12

WIP set up basic master/minion with health check from master to minions

view details

push time in 2 months

push eventfsufitch/underflow

Filip Sufitchi

commit sha ca2980500704030104749e98beda36c626d0cf98

Move stuff out of common dir, don't need that right now

view details

push time in 2 months

push eventfsufitch/underflow

Filip Sufitchi

commit sha 5415012dedf31e5f4233dab76c61fd27086fa786

Add parser tests

view details

push time in 2 months

push eventfsufitch/underflow

Filip Sufitchi

commit sha 25be7b24e96c500979ea099754af4cf8c1f34ad3

package setup, schema object

view details

Filip Sufitchi

commit sha 2e3ffbcb1c15bee2f5f8cc67a8b7560189c4c193

implement schema parser

view details

Filip Sufitchi

commit sha 6b03f087a8180271fceb617706de8900a874f654

add service definitions and grpc deps

view details

push time in 2 months

create barnchfsufitch/underflow

branch : master

created branch time in 2 months

created repositoryfsufitch/underflow

Experimental distributed web framework

created time in 2 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 22e106f27ad2bbaba232194a44bed1697a308928

Add link back to blog article in README

view details

push time in 2 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 4b3c51d628f90ba753557a73d766e3c4380311d4

Add the "bad" example of code

view details

push time in 3 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 155366d9dde54be2623f428fc88239baf51e9669

add MIT license

view details

push time in 3 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 6da07f5196e039d0c85c70d7cb63ee6472fdc4d0

update readme

view details

push time in 3 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 40f3b393d66957dfeed7166ea5382c06a22d081f

add web handler unit testing

view details

push time in 3 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 21df629c1266b2635c4f93ed695ad5129bf2f595

add database unit tests

view details

push time in 3 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 8e1249cbb8d16bc00f6f575e80711d37ba142edc

add app unit tests

view details

Filip Sufitchi

commit sha a8d808a77243355733b8e52aabb6d5afcfb7bfa7

add config test

view details

push time in 3 months

push eventfsufitch/wire-web-demo

Filip Sufitchi

commit sha 6499a8a0e024e9c7138de2f5a8291381dbcb244d

add smart multi-destination logging

view details

push time in 3 months

create barnchfsufitch/wire-web-demo

branch : master

created branch time in 3 months

created repositoryfsufitch/wire-web-demo

created time in 3 months

push eventfsufitch/personal-landing-page

Filip Sufitchi

commit sha 946d80d0180bbaa92f1d26a3a7bf6693d2c3ef81

Scroll to top on navigating to pages

view details

push time in 3 months

push eventfsufitch/personal-landing-page

Filip Sufitchi

commit sha 9b1385f693470b8c3749e39f07cd651b85fd4f58

Add missing header tag

view details

push time in 3 months

more