modules: go.mod has non-....v1 module path error when using gopkg.in on Go 1.13

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

$ go version
go version go1.13 linux/amd64

Does this issue reproduce with the latest release?
Yes, 1.13 is latest release
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/maciej/.cache/go-build"
GOENV="/home/maciej/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY="github.com/snip,bitbucket.org/snip"
GONOSUMDB="github.com/snip,bitbucket.org/snip"
GOOS="linux"
GOPATH="/home/maciej/work"
GOPRIVATE="github.com/snip,bitbucket.org/snip"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/tmp/gobug/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build079448718=/tmp/go-build -gno-record-gcc-switches"
GOROOT/bin/go version: go version go1.13 linux/amd64
GOROOT/bin/go tool compile -V: compile version go1.13
uname -sr: Linux 4.15.0-62-generic
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.2 LTS
Release:	18.04
Codename:	bionic
gdb --version: GNU gdb (Ubuntu 8.1-0ubuntu3) <IP_ADDRESS>80409-git

What did you do?
$ cat example.go example_test.go go.mod
package example

func Foo(x int) bool {
        return x == 42
}
package example_test

import (
        "testing"
        "gopkg.in/stretchr/testify.v1/assert"
)

func TestFoo(t *testing.T) {
        assert.Equal(t, Foo(42), true, "42 should be true")
}
module example.com

go 1.12

/tmp/gobug ⌚ 11:23:54
$ go version
go version go1.12.3 linux/amd64

/tmp/gobug ⌚ 11:23:56
$ go mod tidy
go: downloading gopkg.in/stretchr/testify.v1 v1.4.0

/tmp/gobug ⌚ 11:24:00
$ go version
go version go1.13 linux/amd64

/tmp/gobug ⌚ 11:24:15
$ go mod tidy
go: downloading gopkg.in/stretchr/testify.v1 v1.4.0
example.com tested by
        example.com.test imports
        gopkg.in/stretchr/testify.v1/assert: go.mod has non-....v1 module path "github.com/stretchr/testify" at revision v1.4.0

What did you expect to see?
I expect to see successfull build. There are no changes related to this in Go 1.13 changelog.
What did you see instead?
Build is failing on 1.13, it's working on 1.12.x.

Switching from
"gopkg.in/stretchr/testify.v1/assert"
to
"github.com/stretchr/testify/assert"
will fix this issue.
This is the correct module path as defined here
https://github.com/stretchr/testify/blob/master/go.mod#L1

@psampaz I'm aware of that. I wonder why it stopped working.There are no mentions around this topic in changelog

There are no mentions around this topic in changelog

There is an entire section on it. See https://golang.org/doc/go1.13#version-validation.


Trim whitespace on higher resolutions

💥 Proposal
(First of all, I'm not designer, so please take my opinions for what they are - the opinions of a single consumer)
When looking at documentation, there is a large swath of extraneous whitespace between the left hand ToC and the content which is not present on the right hand side.

This is the margin added the the container.

Notice how it almost hugs the ToC on the right hand side.
Reducing the size of the window makes the left hand side also hug, which IMO looks better

That also more closely resembles Docusarus v1, FWIW

This looks extra weird when the entries in the ToC break due to not enough room when there's a bunch of (IMO) wasted space on the left

(example from https://jestjs.netlify.app/docs/api)

My suggestion is to cut most of the margin on the left side of the container. Short and sweet! 😀
(while I'm at it - any particular reason why left side ToC is flush on the left, but right hand ToC is flush to the content? Looks unbalanced IMO)
Have you read the Contributing Guidelines on issues?
Yup!

Yeah, I can see the tension here - that TOC throws off the centering for the main content. For large screens adding an offset for that extra whitespace would probably ease some of the 'this doesn't feel centered'.
Personally, I'm a fan of "if they want to make it obscenely wife, then let them" - which is why the TypeScript website is remains aligned and grows to whatever ridiculous widths you want to read it at. I get that there's generally an optimal reading length but for long chunks of text I prefer to let folks make their own calls

Actually, we already increased the container size for large screen. However, we haven't applied this changes yet, but it should get better after that, see https://github.com/facebookincubator/infima/pull/62 for mode details.

Before
After

That's way better 👍 But there's still extra space on the left - any particular reason for that?

I can’t tell the exact reason because I didn't choose this layout, but I would assume that taking the container to full width will make the text harder to read (as mention above). A lot of docs sites limit the container width, so similar was done in Docusaurus as well.

Is there currently any way to customize the width of the main content by a user?

A lot of docs sites limit the container width, so similar was done in Docusaurus as well

Makes sense, but it looks sorta unbalanced when the left side ToC goes to the far left regardless of container width

As an additional data point, this is not an issue on blog posts as the ToC hugs the content

All this is quite opiniated, but remember that in any case you can add custom mediaqueries or customize the existing widths by overriding css variables.
Ideally I'd like to see if Facebook could provide us a design review or something because I'm not good enough in design to know what's best for Docusaurus 😅

I agree it is an opinionated topic, but I believe the consensus is that the recommended width for a block fo text is somewhere between 600 and 800px wide. I agree that it would be awesome to have a design review by someone that is an expert on the topic.
In the meantime, I did exactly what you suggested - overrode the CSS variables to limit the width and centre the content.
I also had to centre the doc pages without a navbar, as since alpha71 they were left-aligned (not sure whether this was done on purpose).

You could also take inspiration from TailwindCSS (and their Typography plugin) for how to format text nicely.
TailwindCSS v2 has a max-w-prose property that formats text nicely:

Class
Properties

max-w-prose
max-width: 65ch

https://tailwindcss.com/docs/max-width#prose
https://github.com/tailwindlabs/tailwindcss-typography

IMO
There is a readability benefit in having the the content front and center with all sidebar away from the content at the edge of the screen.
However, for a docs site, there is a usability benefit in having the sidebar next to the content area.
When a user is reading a docs site, reading multiple pages is a primary use-case for most. When having the sidebar next to the content, on a large screen, users won't have to move their eyes as much to discover topics, or move their cursor as much to use the navigation.
Visually having the content in prime focus, looks better. But when the actual use of a docs site is considered, it's beneficial to have navigation easily accessible.
For focused reading, sidebars can be collapsed, or a browser's reader view can be used.

However, for a docs site, there is a usability benefit in having the sidebar next to the content area.

It's possible to achieve that with swizzling and CSS, as demonstrated on the React-Native website:

https://github.com/facebook/react-native-website
https://reactnative.dev

I do agree that we should do something on our site regarding this.
Particularly, for very large width gamer screens, which are more common these days, Docusaurus can look quite weird by default:

Found this issue while looking for something similar. I'm looking to use Docusarus with CodeHike and build a similar layout to  Stripe's Quickstart Guide (which, I think is the ULTIMATE developer documentation layout) and am looking for ways to either remove whitespace on the right of the table of contents or remove them completely (conditionally, on certain pages).
I totally agree that Docusaurus has the readability at heart with the current theme, but it would be nice to have additional information on how to adjust the theme with some common examples to help teach users how to Swizzle and adjust the layout.


Issue201 durack1 portrait plot template tweaks

Issue25 add custom metrics
should be cleaned up now.
portrait_2obs need cleaning up, we should proably wait before approving this one.

@durack1 2obs does not seem to be gfdl related. Where should we move it to?

@doutriaux1 did you want this merged now? Or did you want to keep working on tweaking 2obs?

@doutriaux1 sorry, yeah that was meant to be rewritten and provided as the second test case - so we give them two examples..

@doutriaux1 did you also want to commit the *.png result - it would be nice to include this so there is something to compare against and validate they're reproducing the same results..

ok so you want to add GFDL results to the 2obs and provide this as an example to them correct?
IF so I will tweak it and add the 2 pngs before we approve this merge ok?

@doutriaux1 - yep (provide it to them).. And add example *.pngs

@gleckler - take a peek and make sure these are what you want!!??


Styling change of disabled nav buttons

Make disabled buttons visible, but change style to signal that they are
disabled. Original discussion:
https://m.collaborne.com/#stream/06b033a7-94e9-4502-82f6-ffc5df3c3489 .

Can you please rebase to master and update this PR? The build issue should be fixed now.

Merged, and released in version 1.1.0, as this is a change breaking the existing API/behavior.


Python+asyncio+autobahn websockets: CancelledError not bubbling up in the stack?

Hey,
I have an asyncio-based websocket client implemented, with an onClose method:
    async def onClose(self, wasClean, code, reason):
        self.app.root.server_info.text = _(
            'Disconnected, reconnecting in 2 seconds')
        Logger.info(f'ServerTalker: Disconnected: {reason}')
        # Tasks in Tasks.all_tasks() are weakref's so this will get
        # garbage collected
        # self.factory.server_talker.transport = None
        try:
            await aiosleep(delay=5)
        except CancelledError:
            print('||| onClose CANCELLED')
            raise
        await self.factory.server_talker.create_server_connection()

Whenever I cancel the aiosleep from outside (aiosleep is just asyncio.sleep), it seems that the CancelledError raised at that point will get swallowed by some other part of the websocket client I don't have control over.
I get the debug from my print, but when I await the cancelled task to have it properly exited, the await takes forever, as if the CancelledError have been suppressed somewhere in the underlying code (not by me).
Could you please look into this?

Alright, I might be wrong here. The asyncio documentation is not well documented on how to deal with cancelled tasks.
After some googling, I found a locked issue comment that is talking about the exact same issue. That is:

If you cancel a task, and don't catch the CancelledError, it SHOULD NOT be awaited
If you cancel a task, but catch the CancelledError, it SHOULD be awaited otherwise one can get errors at shutdown (python exiting).


DOCS-4364 [AOP-2139] Adding info, reorganizing links for install workflow

All tests passed now. Thanks!
These changes look good to me 👍


improve desktop module and shell

update version 0.0.5 adds support for a file explorer when right clicking on a widget that has a / at the end of it and is marked green


[BUG, NEED VERIFICATION] $worker->getWorker()->error((string)$e); cause a force kill and lost error msg

When I created my own worker process and use the code example for the push error to the rr server for workers
    } catch (\Throwable $e) {
        $worker->getWorker()->error((string)$e);
    }

I don't see my original error only the next errors:
2021-05-26T16:35:46.711+0300    DEBUG   server          server/plugin.go:225    worker destructed       {"pid": 24906}
2021-05-26T16:35:46.725+0300    ERROR   server          server/plugin.go:238    worker_watcher_wait: signal: killed; process_wait: signal: killed
github.com/spiral/roadrunner/v2/plugins/server.(*Plugin).collectEvents
        github.com/spiral/roadrunner/v2@v2.2.1/plugins/server/plugin.go:238
github.com/spiral/roadrunner/v2/pkg/events.(*HandlerImpl).Push
        github.com/spiral/roadrunner/v2@v2.2.1/pkg/events/general.go:37
github.com/spiral/roadrunner/v2/pkg/worker_watcher.(*workerWatcher).wait
        github.com/spiral/roadrunner/v2@v2.2.1/pkg/worker_watcher/worker_watcher.go:235
github.com/spiral/roadrunner/v2/pkg/worker_watcher.(*workerWatcher).addToWatch.func1
        github.com/spiral/roadrunner/v2@v2.2.1/pkg/worker_watcher/worker_watcher.go:260
2021-05-26T16:35:47.278+0300    DEBUG   server          server/plugin.go:223    worker constructed      {"pid": 24965}

I expected to see my (string)$e in the rr logs
Instead, i see that worker process was force killed
I create a simple fix for my issue: #690

Hey @drefixs. Thanks for the report. Could you please send the whole .rr.yaml you used and the PHP (your) worker sample to reproduce your problem?

Hi @48d90782 thanks for the quick responce:

server:
   command: "php bin/console baldinof:roadrunner:worker"

http:
  address: <IP_ADDRESS>:80
  middleware: [ "static", "gzip" ]
  pool:
    num_workers: 4
  uploads:
    forbid: [ ".php", ".exe", ".bat" ]
  static:
    dir: "web"
    forbid: [ ".php", ".htaccess" ]

logs:
  mode: production
  encoding: console
  channels:
    http:
      mode: production
      level: debug
      encoding: console
      output: stdout
      err_output: stderr

rpc:
  listen: tcp://<IP_ADDRESS>:6001

Also I noticed that if you change http.pool.debug=true it starts to work normally without force killing the process with log

OSX(Darwin)(x86) and Docker Alpine linux (x86) on server

May be i found the reason
https://github.com/spiral/roadrunner/blob/master/pkg/pool/static_pool.go#L267
this part of the code first in the else condition try to do sp.ww.Push(w) for the process that send frame ERROR
after that it try again to do graceful termination with w.Stop()

First of all, please, provide a worker you used and full steps on how to reproduce this issue. I'll definitely take into account your investigation, thanks 👍🏻

@drefixs Am I right, that you are expecting to see smt like this in the logs output?:

Or, I guess, that would be better to see smt like this (without RR specific error wrapping):

Fixed, will be as on the second screenshot.


HDDS-2628. Make AuditMessage parameters strongly typed

What changes were proposed in this pull request?

Improve type safety in AuditMessage$Builder for methods forOperation and withResult by using existing interface AuditAction and enum AuditEventStatus respectively instead of Strings.
Use existing Server.getRemoteAddress() instead of Server.getRemoteIp().getHostAddress() with null check
Define and use getRemoteUserName() along the same lines

https://issues.apache.org/jira/browse/HDDS-2628
How was this patch tested?
Created keys using Freon, verified audit log entries.
2019-11-27 20:48:16,206 | INFO  | SCMAudit | user=hadoop | ip=<IP_ADDRESS> | op=ALLOCATE_BLOCK {owner=88982149-2c09-4cd7-8e38-fba8f23cff5e, size=268435456, type=RATIS, factor=ONE} | ret=SUCCESS |
2019-11-27 20:48:45,879 | INFO  | SCMAudit | user=hadoop | ip=<IP_ADDRESS> | op=SEND_HEARTBEAT {datanodeUUID=4e2ee488-6dc6-45f8-9f02-02f1a5cff554, command=[]} | ret=SUCCESS |

2019-11-27 20:48:16,208 | INFO  | OMAudit | user=hadoop | ip=<IP_ADDRESS> | op=ALLOCATE_KEY {volume=vol1, bucket=bucket1, key=OkoBsDwxuj/9, dataSize=10240, replicationType=RATIS, replicationFactor=ONE, keyLocationInfo=[blockID {
  containerBlockID {
    containerID: 1
    localID:<PHONE_NUMBER>58556425
    ...

https://github.com/adoroszlai/hadoop-ozone/runs/323724573

Thanks @dineshchitlangia for reviewing and merging it.


Project file missing FSharp.Core reference

This causes trouble for intellisense in Monodevelop and all editors depending on FSharp.AutoComplete.

Thanks, I wasn't aware of the issue in Monodevelop.
You can always add it manually but then you're stick to a specific F# version.
Do you have any suggestion about how to fix it without targeting a specific version?

You can include a reference to just FSharp.Core, but if you don't use CopyLocal then I don't know what the difference would be? It will just be chosen non-deterministically when you build instead.

Thanks, can you try it?
I don't have Monodevelop, but if you try it and it works send me a pull request and I will accept it.

It does work, but which version of FSharp.Core do you really want to require? If you look at this page it explains some things about how to handle FSharp.Core: https://fsharp.github.io/2015/04/18/fsharp-core-notes.html
I suggest targeting 4.3 (F# 3.0), which places minimal requirements on consumers of your library.

I agree, 4.3 should be the minimal. Thanks for the link.


HttpContext Request Body Stream Is Being Disposed Of

Version
4.2.0
Describe the bug
I'm getting an exception when trying to access the body stream of the current request.
The exception states that the object has been disposed already.
It looks like its coming from here:
https://github.com/Microsoft/botbuilder-dotnet/blob/master/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/BotMessageHandler.cs#L20-L23

The PR for this is waiting for @drub0y to chime in. I'm not sure what (if any) implications this has on the broader processing pipeline.
My belief is that with the MVC Controllers we're going to be promoting in the near term, this would be simpler.

Please read my notes in the review of your PR. This is just standard ASP.NET Core request body streaming and buffering (or lack there of). Therefore I do not believe anything needs to be changed in the integration layer itself.
If you wouldn't mind, let's centralize any back and forth discussion in the PR and we'll ultimately circle back to close out this issue one way or another based on what we come up with there. Thanks! 😊


How can i add my localization?

How can i add my localization at the project?

1. Go to the directory:
TGCameraViewController / Resources / TGCameraViewController.bundle

2. Create a new folder:
it-IT.lproj (or fr.lproj, es.lproj, etc.)

3. Create a file within the lproj folder with the following name:
Localizable.strings

4. Add the following parameter values:
/* Take photos */
"TGCameraViewController-Title" = "";

/* Allow access to your camera to start taking pictures with app */
"TGCameraViewController-Subtitle" = "";

/* 1. Open the Settings of your device */
"TGCameraViewController-Step1" = "1. ";

/* 2. Go to Privacy */
"TGCameraViewController-Step2" = "2. ";

/* 3. Go the Camera */
"TGCameraViewController-Step3" = "3. ";

/* 4. Activate */
"TGCameraViewController-Step4" = "4. ";

5. Send a pull request for us


Struggling to get this to work.

Hey,
Thanks for taking the time to build this, it's exactly what I need.
izak-mbp:client izakfilmalter$ yarn figmagic
yarn run v1.6.0
(node:13892) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ yarn figmagic:clean && yarn run figmagic:saveFromApi && yarn figmagic:build && yarn figmagic:getImages && yarn figmagic:downloadImages
(node:13894) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ rm -rf specs/ && rm -rf tokens/ && rm -rf figma
(node:13899) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ mkdir -p figma && wget 'https://api.figma.com/v1/files/{removed}' --header='X-Figma-Token: {removed}' -O figma/figma.json
--2018-04-26 10:21:44--  https://api.figma.com/v1/files/{removed}
Resolving api.figma.com (api.figma.com)... <IP_ADDRESS>
Connecting to api.figma.com (api.figma.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/json]
Saving to: ‘figma/figma.json’

figma/figma.json                           [  <=>                                                                     ] 270.86K  1.15MB/s    in 0.2s

2018-04-26 10:21:45 (1.15 MB/s) - ‘figma/figma.json’ saved [277358]

(node:13903) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ node $npm_package_config_figmagicPath/bin/index.js
/Users/izakfilmalter/Projects/Simspace/portal/client/node_modules/figmagic/bin/index.js:28
	const designTokens = designtokensPage.children;
	                                      ^

TypeError: Cannot read property 'children' of undefined
    at createTokens (/Users/izakfilmalter/Projects/Simspace/portal/client/node_modules/figmagic/bin/index.js:28:40)
    at Object.<anonymous> (/Users/izakfilmalter/Projects/Simspace/portal/client/node_modules/figmagic/bin/index.js:19:1)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)
    at startup (internal/bootstrap/node.js:228:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:575:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I tried this with both node v8.11.1 and v10.0.0. Am I missing something?

Hi Izak, happy to hear this is something you want to use!
I've done some preliminary looking into this. First and foremost it seems as if the Figma page which should be called "Design Tokens" is either missing or has no frames inside of it. I tried to replicate this error in a few ways but didn't get exactly the one you have.
Could you please begin by making sure that your document follows the format as in the image below? Project at https://www.figma.com/file/KLLDK9CBSg7eAayiTY3kVqC8/Figmagic-Design-System-Example.

There is currently very little error-handling or fail-safing if the document structure is "incorrect", but it's certainly something I am going to put some more time into. That, and perhaps updating the readme with more explicit instructions as I get more input into what works or not.

Closing this for inactivity and changes in the code since this surfaced.


Adding device integrations

This issue is for discussion of efforts to add more device integrations to pyControl4/Home Assistant.

@Xorso I am currently working on an integration for alarm_control_panel and binary_sensor (for alarm system zones like doors, windows, motion).
Please let me know what Control4 devices you have and are willing to work on.

Another idea I had was to use the electrical power-related extra device attributes to create power consumption sensors in Home Assistant, so that we can use the new energy dashboard to track home lighting power usage.
This would, however, create a lot of sensor entities, especially for users with a lot of lights. Perhaps the sensor entities would have to be disabled by default.

I also have an alarm system with some door and window sensors and a motion sensor (if you want any help testing or otherwise). Oh, and a door lock.
Additionally I have some thermostats (Sensibo ones that have a direct HA integration but also some zigbee/control4 line voltage ones that control some small baseboard heaters).

While I'm not a coder, I have a Control4 system that I can help with testing on. The main feature I'm looking for is the relays built into the EA3 that are used to switch garage doors, or sense reed switch states, etc.

Hi everyone!
The HACS integration https://github.com/lawtancool/hass-control4 has just been updated with alarm_control_panel and binary_sensor support. Please update and let me know how it goes.

My alarm system showed up but I can’t seem to control it at all and it doesn’t seem to detect the armed state properly (stays disarmed even when I tried arming it from control4).
I don’t see any of the door/window reed switch sensors or the motion sensor at all.
Let me know if there is anything in particular that would be helpful. I probably won’t have time to dig into myself until at least the weekend.

Are the binary sensors the relays in the EA? As far as I can tell nothing has changed after the update for me.

@mellis Please try updating to HACS integration 1.1.1, then follow the new instructions in the README: https://github.com/lawtancool/hass-control4#additional-configuration-required-for-alarm-control-panel
I'm not sure what's going on with the binary sensors on your system - was there anything in the logs? If not, I'll make an update so that the logs print out some useful info for debugging this.
@Xesyliad The binary sensors are for contact/motion sensors from an alarm system. Relays aren't supported yet.

@lawtancool so I attempted to configure it but it doesn’t seem to be detecting the state properly still and can’t seem to arm it. I’m guessing I used the wrong state names, do you know how I can get the correct ones? This information isn’t available through the C4 API?
I can disarm the system now though which is progress :).
I can probably fine some time to dig into it myself as well in the next few days I think.

Hmm okay, I tried updating the different state names again. I wasn't sure which to use for the last one, I also tried leaving it blank.

After I did this I can "Arm Night" from the HA dashboard and it does correctly change the alarm systems state, however that isn't reflected in HA. Similarly if I change the state from Control4 it also doesn't see the state change.
I did try reloading the integration and it then changed to an "unknown" armed state. I was then able to disarm it from HA, which did work but again the armed/disarmed state in HA did not update. I didn't notice anything in the log from the C4 integration.

@mellis Can you send a screenshot of Home Assistant -> Developer Tools -> States so I can see the extra state attributes of your alarm control panel?

@lawtancool here's what it looks like both disarmed and in night mode.

@mellis Thanks for the screenshots! Please update to HACS integration version 1.1.4, which should solve those issues.
Also, I noticed that your system has code_required_to_arm: false. Does your system actually arm without a code when you do it through the Control4 app? If so, I'll add some handling for that in Home Assistant. (Right now, its hardcoded to require code to arm in HA)

@lawtancool Yeah, my system can be armed without the code.

Seeing some errors in the log now from the integration after updating.
Source: custom_components/control4/alarm_control_panel.py:351
Integration: Alarm control panel (documentation, issues)
First occurred: 4:53:22 PM (2 occurrences)
Last logged: 4:53:22 PM

Error adding entities for domain alarm_control_panel with platform control4
Error while setting up control4 platform for alarm_control_panel
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 523, in _async_add_entity
    supported_features=entity.supported_features,
  File "/config/custom_components/control4/alarm_control_panel.py", line 351, in supported_features
    if self.entry_data[CONF_ALARM_VACATION_MODE] is not None:
KeyError: 'alarm_vacation_mode'

One about a binary sensor too.

Logger: homeassistant.components.binary_sensor
Source: custom_components/control4/__init__.py:137
Integration: Binary sensor (documentation, issues)
First occurred: 4:53:21 PM (1 occurrences)
Last logged: 4:53:21 PM

Error while setting up control4 platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
    await asyncio.shield(task)
  File "/config/custom_components/control4/binary_sensor.py", line 106, in async_setup_entry
    items_of_category = await get_items_of_category(hass, entry, CONTROL4_CATEGORY)
  File "/config/custom_components/control4/__init__.py", line 137, in get_items_of_category
    return_list = await director.getAllItemsByCategory(category)
  File "/usr/local/lib/python3.9/site-packages/pyControl4/director.py", line 112, in getAllItemsByCategory
    return_list = await self.sendGetRequest(
  File "/usr/local/lib/python3.9/site-packages/pyControl4/director.py", line 63, in sendGetRequest
    await checkResponseForError(await resp.text())
  File "/usr/local/lib/python3.9/site-packages/pyControl4/error_handling.py", line 112, in checkResponseForError
    if dictionary["details"] in DIRECTOR_ERROR_DETAILS:
KeyError: 'details'

@mellis I made a small mistake, please update to version 1.1.6

@mellis Please update to version 1.1.7.
I've improved the alarm config flow to use dropdowns to set the alarm state names. These state names are pulled from the Control4 API, so it should help make it easier to set up.

@lawtancool updated, this seems better. I have noticed it still shows the stated as "unknown" (but armed) when I switch it to the night mode. I haven't tested any of the other modes yet.

@mellis You might need to delete the Control4 config entry and set it up again - all the updates might have messed up the configuration data.
I'm not sure what you mean by "unknown" (but armed)?

@lawtancool I tried deleting it and re-adding but it doesn't seem to have helped. Here's what I mean by armed but having a state "unknown"

@mellis The integration detects the arm state by comparing the ARMED_TYPE string to the strings stored in the config flow. It looks like your Control4 system is reporting different names for the ARMED_TYPEs than the names that appear in the Control4 app.
Can you send a screenshot of the drop down options you see in the config flow dialog? It would also be nice to know what the value of ARMED_TYPE becomes when you use each arming mode. (ex. "Instant Stay" = "Night" ARMED_TYPE)

@mellis The integration detects the arm state by comparing the ARMED_TYPE string to the strings stored in the config flow. It looks like your Control4 system is reporting different names for the ARMED_TYPEs than the names that appear in the Control4 app.

Yeah, that was what I thought after peaking around the code a bit.

Can you send a screenshot of the drop down options you see in the config flow dialog? It would also be nice to know what the value of ARMED_TYPE becomes when you use each arming mode. (ex. "Instant Stay" = "Night" ARMED_TYPE)

I dropped one earlier in this comment.
I'll try and record the state of the entity for each arming type in control4 when I get a chance. Will have to be when no one else is home for some of them so I don't accidentally trigger it 😅.

Also, are you able to arm the alarm from Home Assistant, or are you making the state changes through the Control4 app?

Yup, after I set the config files I was able to arm the system from home assistant. It does display the away state correctly as well I happened to notice, so that one likely aligns with the menu option. I think it's mostly the night/stay modes that are different but I'll go through them all to check.
I wonder if this is something specific to my setup or if this is something that is controllable with the dealer software 🤔.

@lawtancool Okay I got a chance to try every alarm state. I captured the alarm panels state from the developer section of HA in each state as well as the exit delay states. I was asked for the code before entering some of the states (I noted which).
Beginning in the "Disarmed" state
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:31 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: DISARMED_READY
DELAY_TIME_TOTAL: 30
DELAY_TIME_REMAINING: 30
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: ''
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: false
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: ''
friendly_name: Partition 1
supported_features: 7

Began "Stay with no entry delay" (asked for code). Began exit delay of 120s
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:31 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: EXIT_DELAY
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 120
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: ''
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: false
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

After exit delay countdown, Control4 state read "Armed Night".
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:35 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: ARMED
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 10
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: Night
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: true
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

Instant Stay
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:35 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: ARMED
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 10
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: Night
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: true
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

No entry delay (asked for code before arming). Began 120s countdown.
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:35 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: EXIT_DELAY
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 120
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: ''
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: false
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

After exit delay countdown, Control4 state read "Armed Night"
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:39 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: ARMED
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 10
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: Night
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: true
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

Away. Began 60s countdown.
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:39 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: EXIT_DELAY
DELAY_TIME_TOTAL: 60
DELAY_TIME_REMAINING: 60
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: ''
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: false
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

After 60s countdown, Control4 state read "Armed Away"
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:39 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: ARMED
DELAY_TIME_TOTAL: 60
DELAY_TIME_REMAINING: 10
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: Away
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: false
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

Stay, began 120s countdown
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:39 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: EXIT_DELAY
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 120
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: ''
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: false
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

After 120s countdown, Control4 state read "Armed Night"
code_format: number
changed_by: null
code_arm_required: true
HOME_STATE: 0
AWAY_STATE: 0
DISARMED_STATE: 1
ALARM_STATE: 0
DISPLAY_TEXT: Jan 23, 2022  10:43 AM
TROUBLE_TEXT: ''
IS_ACTIVE: 1
PARTITION_STATE: ARMED
DELAY_TIME_TOTAL: 120
DELAY_TIME_REMAINING: 10
OPEN_ZONE_COUNT: 0
ALARM_TYPE: ''
ARMED_TYPE: Night
LAST_EMERGENCY: ''
LAST_ARM_FAILED: NA
item id: 65
parent item id: 63
zone_state:
  '1':
    id: 1
    is_open: false
    is_bypassed: true
  '2':
    id: 2
    is_open: false
    is_bypassed: false
  '3':
    id: 3
    is_open: false
    is_bypassed: false
ENABLED: true
CODE_REQUIRED_TO_CLEAR: true
CODE_REQUIRED_TO_ARM: false
SILENT: false
interface_id: c4-9AC1C0B1-BD84-4645-B5E8-8FC94209294B
action: KEYPAD
friendly_name: Partition 1
supported_features: 7

Hi, will there be any ongoing feature development on pyControl4 at all? There hasn't been any activity for quite a while.

Hi, just to add another vote for extra C4 functionality.  The light power usage data (whilst extensive) would be great for me.  I have around 50 lighting circuits!  Some of my lighting circuits are used to turn other devices on/off using a C4 non dimming lighting module as these can run devices up to 16A per pair of outputs.  As such, I have 2 external garden heaters and a pool pump setup on these outputs.  In C4 they have been configured to something other than a light so that they appear as a heater icon and pump icon, but they are in effect exactly the same as the lighting circuits in the same module.
Im using the official C4 integration currently and these "other" switched devices are not shown, but all the lights from the same modules are.  Is there a way that they can still be imported?
Lastly, being able to trigger the relays for things like gates / garage doors would be a real bonus too.


Update an account in the service

As a [customer]
I need [a service to update my account]
So that [i can change details in my account]
Details and Assumptions
* [rest api service that will update an account detail or details]

Acceptance Criteria
gherkin
Given [i need to update something on my account]
When [i change something in my account]
Then [my account will update and display changes in read]


How is the result on SWE-bench obtained?

Is it SWE-bench or SWE-bench lite?
What's the agent frontend producing the results?

SWE-bench lite and CodeACT agent v1.3. We have updated the paper on GitHub and described the agent framework used.


circle CI: switch to Fedora 31

sigh, I don't know why it was shown was 'all tests passed' but diff is missing and the CI fails right now. See #844 for the fix


QUIC Stateless retry token support

QUIC Stateless retry token support

This is one of #2417

Yes it is!


Latest update 1.4.5 crashes on windows

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10
Hyper.app version: 1.4.5
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/Dutchy-/89aca6c0aec9a410992479e407bdac93
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere): N/A
The issue is reproducible in vanilla Hyper.app:  Yes

Issue

Latest update 1.4.5 crashes on windows:

Everything was working fine, I clicked restart when the update prompted and now it crashes.

Ok so while i was typing this, somebody else already posted it. Duplicate of #2218 .


Update PowerDNS Plugin to support multiple tokens per domain

If a certificate contains both a wildcard and naked domain (*.example.com and example.com), PowerDNS plugin would only allow one token to be saved, blocking issuance.  With this update, PowerDNS properly handles this now and allows for multiple tokens per domain.

Coverage decreased (-0.09%) to 58.75% when pulling 0e314d00281fbdcd31769cda2335d27df22d0d0b on powerdnsplugin_02 into 001ad3b8d915b16a27bc4b637d816e4c0f46aa55 on master.


bug: [ionic4+vue] toastController not accessible from an external javascript file

Bug Report
Ionic version:

"@ionic/core": "4.3.1",
"@ionic/vue": "^0.0.4",
Current behavior:

toastController can call with this.$ionic.toastController but cannot access from external javascript.
Expected behavior:

in an external javascript, like my javascript file test.js, there's no way to access the toastController object.
Steps to reproduce:

Call the below toastController code from external javascript code, will throws  exceptions:
import {Controllers} from '@ionic/vue'
Controllers.toastController.create({
    message: message,
    position: 'center'
  }).then(t => t.present())

Related code:

No

Other information:

Ionic info:

no

any update for this issue team
I know we can use the mixin to invoke this, but we need to add the mixin everytime in the vue component.
How we can export the toastController to a common javascript function instead. thanks .

You should be able to access the $ionic object via the global Vue instance Vue.$ionic this is handy in situations when this is not available.

thanks @michaeltintiuc , I forgot that we can use the Vue instance instead here ,currently i use the mixin to put ionic common function in a file .  thanks again.


chore(launch): save config files to _wandb_configs/ instead of configs/

Description

Fixes WB-NNNNN
Fixes #NNNN

What does the PR do? Include a concise description of the PR contents.

[ ] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

#7638  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bcsherma and the rest of your teammates on  Graphite


The SelfX.lnk file is "malicious"

I'm sure you don't mean for the file to be flagged, but Defender and multiple other anti-virus programs are quarantining your SelfX.lnk as a virus.
What's in the lnk file? What's it referencing? (I'm guessing it's important to the whole implementation of this tool, so it may be necessary)

I will check that.
For now i didn't have this kind of feedback.
How did you install it ? Manually or with Intune ?

Would it be possible to confirm that it's working now ?
Then i will close the issue

Sorry about the delay. Works great now. Thank you!

No worries and thanks for your good feedback about the issue.


Await site configuration

Motivation
I wish I could return an asynchronous configuration, in my case users is a list I get from the internet so I need to use async functions.
Have you read the Contributing Guidelines on pull requests?
Yes

My configuration file (siteConfig.js) is in my project, but inside it I make asynchronous calls, but return a Promise with module.exports doesn't work.
So the await met my need perfectly.

Would using await cause any unintended consequences for sites that don't require async?

Makes sense! We'll think about this a while more first 😄
One concern is that officially, Docusaurus supports Node 6+ but async is only fully supported in Node 8+

Would using await cause any unintended consequences for sites that don't require async?

It doesn't change anything, you can try with the code below
async function context (config) {
  console.log(await config)
}

context(new Promise((resolve, reject) => resolve('A')))
context('B')

One concern is that officially, Docusaurus supports Node 6+ but async is only fully supported in Node 8+

Damn, I didn't think of that ^^
I saw you were using an async below and I didn't think about it.

I saw you were using an async below and I didn't think about it.

I think I forgot about Node compatibility when I wrote that 😓
Maybe we can increase official support to Node 8? Node 8 is backward compatible with Node 6 I think. @JoelMarcey

@yangshun and I discussed this internally and let's do it. We will have to probably call this a breaking change insofar as people using CI may have their node version coded to 6 or 7, but that should probably be ok. We can bump up the version of Docusaurus to 1.1 as a result.

@LightDiscord How is your siteConfig like during development? Since you only changed the require in server/generate.js but not in server/server.js I wonder how your set up behaves/works during development.
Ideally if we were to move the require in generate, we would want to move everywhere to async. Unfortunately the current code is not quite ready to support that :/

@LightDiscord I don't think we will get to this anytime soon as it requires far too much effort to refactor so I'm closing this first. As a workaround, you could:

Add a generate command that fetches the data and runs just before the build step.
Dynamically fetch the contents upon page load.

This way, requiring siteConfig does not have to be async. Let me know if that doesn't work and we can think of alternatives.


Error while generating with latest version

When I try to generate film grain for a video .ivf file encoded using SvtAv1EncApp and ffmpeg, I get the following error:
[libdav1d @ 0x5598f5d69280] libdav1d ed63a74
[libdav1d @ 0x5598f5dd3600] libdav1d ed63a74
[av1_metadata @ 0x5598f5dbd1c0] zero_bit out of range: 1, but must be in [0,0].
[av1_metadata @ 0x5598f5dbd1c0] Failed to read unit 0 (type 6).
[av1_metadata @ 0x5598f5dbd1c0] Failed to read temporal unit from packet.
[ivf @ 0x5598f5dbbfc0] Error applying bitstream filters to an output packet for stream #0: Invalid data found when processing input
Error: Invalid data found when processing input

What am I doing wrong here? Here's the command used:
grav1synth generate S01E04-video.av1.ivf -o S01E04-video.gen.ivf --iso 2000 --chroma

ivf file seems buggy, use mkv


Provide fields for integration of content from document(s).

[ ] Type Sources - structured list of sources of the used information.
[ ] Type Details - for information possibly displayed in the game, when a user requests it.
[ ] Type Internals - for internal information never to display to the user.
[ ] Exend Law by sources, details, and internals.
[ ] Extend Event by sources, details, and internals.
[ ] New type / class for the fields of BaseParams to with type, unit (replaces unit in PeekOptions), writable, sources, details, and internals.
This will possibly tie together the 3 places, where the definition of BaseParams currently happens.

@jschirrmacher What do you think?

Sounds great!
I imagine that Sources might be a simple list of URLs, while Details and Internals might be simple string arrays.

I also often forget to adapt PeekOptions when I add new BaseParams. Would be helpful if types and values would be converge at a single location.


missing_formula: pillow lives in homebrew/science

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

Homebrew/python is gone so this text should be updated.

Thanks again @jonchang!


Implement a constructor that allows initialization of the object with the assertion expressions defined in the struct

For expresiveness and consistency, it would be nice to use the binarylang's data structure definitions, to define outgoing only data in a network protocol, that does not need to be parsed in any way, just serialized. We can do this, but the object variable still has to be initialized with the values we want, and thus the assertion expressions are just comsetic in this example. I'd like  to be able to do something like

let myData = DataObject.initAssertions()

  struct(udpTrackerPing, endian = b):
    64: connection_id = 0x41727101980
    32: action = 0
    32: transaction_id = rand(int32)
  let ping = UdpTrackerPing(connection_id: 0x41727101980, action: 0, transaction_id: rand(int32))

On second thought, there are cases where one might want to initialize the object with different default values than the ones used for assertions. I believe there should be some special syntax to allow defining default values. Nim also recently got support merged for default value in objects: https://github.com/nim-lang/Nim/pull/20480

Sounds like a useful feature. My only concern is that, this essentially it requires extra codegen - some kind of initializer proc. I don't want to bloat codegen with something like this, because most people will probably not need it, but binarylang will still generate it for every single parser definition.
The next big planned change for binarylang is to split codegen into loosely-coupled components, and allow the used to configure which components to use. Once this component-based system is implemented, this feature can be a separate component.

Update: Binarylang now supports plugins as a parser option, so this feature can be implemented as such.


fapinstructor.com

I believe this domain is an Adult(-related) domain
Domains
Only add the needed one See also #12
fapinstructor.com
www.fapinstructor.com

Content sources
(Please see #35)
Content comes mostly form reddit and also other image hosts that are used on reddit.
api.fapinstructor.com

External sources (reference)

Screenshots
Screenshot required

Logger output
External Info

It takes NSFW media from reddit and puts it into a slideshow

All Submissions:

[x] Have you checked to ensure there aren't other open Merge Requests (MR) or Issues for the same update/change?
[x] Added a Screenshot for prove of Adult contents

Todo

[x] Added to Source file?
[x] Added to the RPZ zone adult.mypdns.cloud (@spirillen)

Will be added to the lists in the https://github.com/Clefspeare13/pornhosts/tree/master/download_here when I hopefully gets my internet connection next week :pray: :crossed_fingers:


axios Potential security vulnerability found in the axios dependency

hello guys ,
please upgrade axios to 0.19 for security vulnerabilities ,
with regards ,

it's upgrade to most recent 👍


chore(*): replace erw with rw where possible

Go through Mathlib and replace erw calls where rw would also succeed.
This PR is split off from #17638, containing all the changes that the linter suggested.

bors r+