sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
cedric has quit [Ping timeout: 246 seconds]
cedric has joined #m-labs
cedric has quit [Changing host]
cedric has joined #m-labs
sb0 has joined #m-labs
proteusguy has quit [Ping timeout: 258 seconds]
proteusguy has joined #m-labs
rohitksingh_work has joined #m-labs
jevinskie has joined #m-labs
proteusguy has quit [Ping timeout: 276 seconds]
m4ssi has joined #m-labs
jevinskie has quit [Ping timeout: 276 seconds]
<mtrbot-ml> [mattermost] <pkulik> @sb10q hey, did you do stub port for metlino?
mauz555 has joined #m-labs
cedric has quit [Ping timeout: 245 seconds]
cedric has joined #m-labs
cedric has quit [Changing host]
cedric has joined #m-labs
<mtrbot-ml> [mattermost] <sb10q> @astro I would rename mattermost-github-integration/pkg.nix to mattermost-github-integration/default.nix
<mtrbot-ml> [mattermost] <sb10q> @pkulik not yet
<mtrbot-ml> [mattermost] <astro> @sb10q note that that is not the top-level file of the subdir but is only imported by uwsgi-config.nix
<mtrbot-ml> [mattermost] <astro> hence renaming to default.nix may no be too logical :)
<lkcl> whitequark: ping, i'm going to ask someone on my team to raise this as a bugreport, just wanted to give you a heads-up: use of type() instead of isinstance is extremely bad practice
<lkcl> not many people are aware, type() has 3 arguments and is actually a dynamic meta-class-constructor function.
<lkcl> the first argument is the "usual" one, the second argument is a list of multiple-inheritance base classes, and the third argument is a list of methods and properties.
<lkcl> it creates a *huge* processing overhead, *dynamically* constructing a class each time just for the purposes of calling hash() on the result
<lkcl> and it prevents and prohibits derivatives from being used in any place where it's called.
<lkcl> one of the places was detected last week (type(x) == Record replaced with isinstance(x, Record)
<sb0> whitequark: do you have an ecp5 versa board?
<lkcl> whitequark: "the key thing to retain about ABCs .... s that they make isinstance (and issubclass) much more attractive ... make checking type an even worse practice than it already used to be"
<lkcl> that's not to say that there aren't good reasons for using it (the need to match *only* one class rather than its inherited subclasses)
<lkcl> however the way to do that is either "duck typing" (a string/enum in the constructor, assigned to a known-variable), or, i've simply used "x.__class__.__name__ == 'foo'" in the past, or, better (apparently), ABCs.
mauz555 has quit []
cr1901_modern has quit [Ping timeout: 250 seconds]
<mtrbot-ml> [mattermost] <sb10q> ping from m-labs/artiq
<mtrbot-ml> [mattermost] <github> github joined the team.
<mtrbot-ml> [mattermost] <github> ping from m-labs/artiq
<mtrbot-ml> [mattermost] <github> ![](https://avatars2.githubusercontent.com/u/720864?v=4&s=18) [sbourdeauducq](https://github.com/sbourdeauducq) closed issue [#1277 Can't extend EnvExperiment](https://github.com/m-labs/artiq/issues/1277) in [m-labs/artiq](https://github.com/m-labs/artiq).
cedric has quit [Ping timeout: 250 seconds]
cedric has joined #m-labs
cedric has joined #m-labs
cedric has quit [Changing host]
cr1901_modern has joined #m-labs
<mtrbot-ml> [mattermost] <github> ping from m-labs/nmigen
<mtrbot-ml> [mattermost] <github> ![](https://avatars2.githubusercontent.com/u/720864?v=4&s=18) [sbourdeauducq](https://github.com/sbourdeauducq) closed issue [#1277 Can't extend EnvExperiment](https://github.com/m-labs/artiq/issues/1277) in [m-labs/artiq](https://github.com/m-labs/artiq).
sb0 has quit [Quit: Leaving]
<whitequark> sb0: yes i have a versa
<whitequark> sb0: can you get github to not spam through the mattermost bridge? it can't do notices and fills the screen with unreadable garbage.
rohitksingh_work has quit [Read error: Connection reset by peer]
<mtrbot-ml> [mattermost] <sb10q> whitequark: then how do I get notifications into irc? and why are notices so much better?
<whitequark> mtrbot-ml: the notifications as they are on irc are completely unreadable and consist mostly of visual notice. they are not useful.
<whitequark> ugh
<whitequark> honestly this entire bridge is more of annoyance, but notifications through it are especially bad
<whitequark> and just use notifico.
<mtrbot-ml> [mattermost] <sb10q> whitequark: then the notifico notices don't go through the bridge
<mtrbot-ml> [mattermost] <sb10q> why is the bridge an annoyance? so far your only serious critique of it is it breaks nickname completion.
<attie> can you change the format of the notices to not use markup?
<mtrbot-ml> [mattermost] <sb10q> then they won't look nice in mattermost. maybe the solution is to filter the markup in the bridge?
<attie> if you can
<attie> this is what they look like in irc FYI:
<attie> [sbourdeauducq](https://github.com/sbourdeauducq) closed issue [#1277 Can't extend
<attie> [m-labs/artiq](https://github.com/m-labs/artiq).
<mtrbot-ml> [mattermost] <nakengelhardt> ok that didn’t work since mattermost tried to interpret it
<mtrbot-ml> [mattermost] <sb10q> ok i see
<mtrbot-ml> [mattermost] <sb10q> whitequark: does filtering the markup in the bridge sound like an acceptable compromise?
<attie> oh interesting the photo didn't get through the bridge
<whitequark> sb: does that mean the notifications will not have clickable links?
<whitequark> that makes the noficiations almost entirely useless functionally
<whitequark> since i'd have to go through the web interface to do anything
<attie> I still don't see what's wrong with not showing the user icon in the notice frankly, why is it so essential?
<attie> if you remove the other two links and leave just the link to the actual issue, it should look ok on both sides I think
<mtrbot-ml> [mattermost] <sb10q> the other option is to run notifico and mattermost-github-integration at the same time, and disable bridging for those bots
<whitequark> I'd say that would be much preferable
<mtrbot-ml> [mattermost] <sb10q> does notifico work well with uwsgi?
<mtrbot-ml> [mattermost] <github> [tballance](https://github.com/tballance) opened new issue [#1310 Missing TTLOut output events](https://github.com/m-labs/artiq/issues/1310) in [m-labs/artiq](https://github.com/m-labs/artiq):
<mtrbot-ml> [mattermost] <github> > <!-- Above are non-Markdown tags for Github auto-prompting issue type. Template based on pylint: https://raw.githubusercontent.com/PyCQA/pylint/master/.github/ISSUE_TEMPLATE/ --> [...]
<whitequark> sb: i have no idea, i've never touched uwsgi
<whitequark> btw you need to use https://github.com/whitequark/notifico to actually get notices
<whitequark> it's a 1-line patch so might be just applied in nix
<travis-ci> m-labs/smoltcp#1249 (auto - 3173b2f : Andreas Molzer): The build was fixed.
proteusguy has joined #m-labs
<mtrbot-ml> [mattermost] <sb10q> hmm the bridge is pretty limited in features... i'll have to hack-patch it
zng has quit [Ping timeout: 252 seconds]
<travis-ci> m-labs/smoltcp#1250 (master - 3173b2f : Andreas Molzer): The build passed.
rohitksingh_work has joined #m-labs
<travis-ci> m-labs/smoltcp#1251 (auto - 3fec675 : Andreas Molzer): The build passed.
<whitequark> and we should switch smoltcp to notifico, too
<mtrbot-ml> [mattermost] <github> ![](https://avatars0.githubusercontent.com/u/5796363?v=4&s=18) [jfng](https://github.com/jfng) opened new pull request [#64 build: add ConstraintManager.](https://github.com/m-labs/nmigen/pull/64) in [m-labs/nmigen](https://github.com/m-labs/nmigen):
<mtrbot-ml> [mattermost] <github> >
<_whitenotifier-9> [nmigen] jfng opened pull request #64: build: add ConstraintManager. - https://git.io/fjsDr
<mtrbot-ml> [mattermost] <github> ![](https://avatars0.githubusercontent.com/u/5796363?v=4&s=18) [jfng](https://github.com/jfng) closed pull request [#63 build: add GenericPlatform.](https://github.com/m-labs/nmigen/pull/63).
<_whitenotifier-9> [nmigen] jfng closed pull request #63: build: add GenericPlatform. - https://git.io/fjsOt
<travis-ci> m-labs/smoltcp#1252 (auto - acbe139 : Andreas Molzer): The build passed.
mtrbot-ml has quit [Remote host closed the connection]
mtrbot-ml has joined #m-labs
sb0 has joined #m-labs
<mtrbot-ml> [mattermost] <sb10q> ok it should filter now
<whitequark> thanks
<travis-ci> m-labs/smoltcp#1253 (master - 3fec675 : Andreas Molzer): The build passed.
<_whitenotifier-9> [nmigen] Success. The Travis CI build passed - https://travis-ci.org/m-labs/nmigen/builds/524926938?utm_source=github_status&utm_medium=notification
<_whitenotifier-9> [nmigen] codecov[bot] commented on pull request #64: build: add ConstraintManager. - https://git.io/fjsD7
<travis-ci> m-labs/smoltcp#1254 (master - acbe139 : Andreas Molzer): The build passed.
zng has joined #m-labs
mauz555 has joined #m-labs
rohitksingh_work has quit [Read error: Connection reset by peer]
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
rohitksingh has joined #m-labs
mauz555 has quit []
sb0 has quit [Quit: Leaving]
jevinskie has joined #m-labs
jevinskie has quit [Ping timeout: 250 seconds]
zng has quit [Ping timeout: 250 seconds]
zng has joined #m-labs
m4ssi has quit [Remote host closed the connection]
cedric has quit [Ping timeout: 250 seconds]
bluebugs has joined #m-labs
bluebugs has quit [Changing host]
bluebugs has joined #m-labs
X-Scale has quit [Ping timeout: 245 seconds]
X-Scale has joined #m-labs
proteusguy has quit [Ping timeout: 250 seconds]
bluebugs is now known as cedric
proteusguy has joined #m-labs
cr1901_modern1 has joined #m-labs
cr1901_modern has quit [Ping timeout: 245 seconds]
<_whitenotifier-9> [nmigen] programmerjake opened issue #65: use isinstance rather than comparing types by identity - https://git.io/fjs7B
<_whitenotifier-9> [nmigen] whitequark commented on issue #65: use isinstance rather than comparing types by identity - https://git.io/fjs70
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
rohitksingh has quit [Ping timeout: 258 seconds]
<_whitenotifier-9> [nmigen] whitequark commented on issue #65: use isinstance rather than comparing types by identity - https://git.io/fjs7r
<mithro> whitequark: Is or1k support in upstream clang?
<whitequark> no
cedric has quit [Ping timeout: 250 seconds]
cedric has joined #m-labs
cedric has quit [Changing host]
cedric has joined #m-labs
cr1901_modern1 has joined #m-labs
cr1901_modern has quit [Ping timeout: 246 seconds]
awygle has quit [Quit: No Ping reply in 180 seconds.]
awygle has joined #m-labs
kmehall has quit [Quit: No Ping reply in 180 seconds.]
kmehall has joined #m-labs
cedric has quit [Ping timeout: 246 seconds]
cedric has joined #m-labs
cedric has joined #m-labs
cedric has quit [Changing host]
_whitenotifier-9 has quit [Ping timeout: 268 seconds]
futarisIRCcloud has joined #m-labs
cr1901_modern1 has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs