Add Rainfall Radar data

I've looked into it here for SatFlow: https://github.com/openclimatefix/satflow/issues/7 it seems we can read in the Nimrod files from the Met Office using iris
Its at a 1km for the UK, and 5km resolution for Europe, so not sure if we would want to resample it to the same resolution, or keep them at their native resolution and resample at a later step?

Sounds good to me!
Some more notes about precipitation data here: https://github.com/openclimatefix/nowcasting_dataset/issues/9

not sure if we would want to resample it to the same resolution, or keep them at their native resolution and resample at a later step

Hmm, good question!
When using models like Perceiver IO, I'm curious to try giving the model the raw (un-resampled) data because the model doesn't care about data being on a neat grid (and because resampling always introduces artefacts.  So using the 'pure' data might improve performance.  For some more discussion, see https://github.com/openclimatefix/predict_pv_yield/issues/64)   But, then, we wouldn't be able to use the same dataset for models which do need data to be on neat grids (or for Perceiver with a CNN front-end).  We could optionally re-sample on-the-fly during training, if it's not too expensive?
(in general, maybe we need a thin "data loading" wrapper which can optionally do some data transformation on-the-fly.  Although that feels a little messier than doing 100% of the data processing ahead-of-time).

Yeah, I think a thin data loading wrapper would be useful. Even for when I preprocess the data to train on and save to disk, being able to change exactly how many past steps/future steps to include is useful, for example. So, for example, saving to disk the last hour of processed timesteps and being allowed to change that to only the last half hour, etc. is nice to be able to see the effect of extra timesteps without needing to save one copy of the dataset for the previous hour, and another for the last half hour, etc. I did a little bit of that with https://github.com/openclimatefix/satflow/blob/2be1708bb37916d23ffcf18dd1a1cfd6a709acf5/satflow/data/datasets.py#L649 in a bit of a hacky way by manually putting in the slices, but its still fairly simple and was quite quick.  Resampling seems to be somewhat compute intensive? At least for satellite imagery, but maybe its a bit easier for radar?

Discussion of "thin data-loading layer" here: #97


Read csv records with different delimeter

fixes #229

Looks good but needs a rebase to deal with the merge conflict.

I rebased and merged manually. thanks @alisha17


Usage example is actually wrong

I tested the Usage example with

sample_text = 'Sample text! <!DOCTYPE>'

The 'NWords' is actually = 3, counting '!' as a word.
￼

I've made a fork and pull request to fix this and will put it up for review unless something goes wrong.


[upload] Amazon S3 to automatically apply bucket security best practices for all new buckets

We are reaching out to inform you that starting in April 2023 Amazon S3 will change the default security configuration for all new S3 buckets. For new buckets created after this date, S3 Block Public Access will be enabled, and S3 access control lists (ACLs) will be disabled.
The majority of S3 use cases do not need public access or ACLs. For most customers, no action is required. If you have use cases for public bucket access or the use of ACLs, you can disable Block Public Access or enable ACLs after you create an S3 bucket. In these cases, you may need to update automation scripts, CloudFormation templates, or other infrastructure configuration tools to configure these settings. To learn more, read the AWS News blog [1] and What's New announcement [2] on this change or visit our user guide for S3 Block Public Access [3] and S3 Object Ownership to disable ACLs [4]. Also, see our user guide for AWS CloudFormation on these settings [5][6].
If you have any questions or concerns, please reach out to AWS Support [7].
[1] https://aws.amazon.com/blogs/aws/heads-up-amazon-s3-security-changes-are-coming-in-april-of-2023/
[2] https://aws.amazon.com/about-aws/whats-new/2022/12/amazon-s3-automatically-enable-block-public-access-disable-access-control-lists-buckets-april-2023/
[3] https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
[4] https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html
[5] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-publicaccessblockconfiguration.html
[6] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-ownershipcontrols.html
[7] https://aws.amazon.com/support

Up to now JReleaser expects buckets and objects to be publicly accessible, adding bucket & object ACLs to make this happen. I wonder if that behavior should become optional as there may be users who would like to keep buckets/objects private while exposing them in some other way.
Given this reasoning a new set of properties would have to be added to enable this conditional.
Do you have experience with the AWS Java SDK to find out how to make these changes? I must confess I'm just getting started 😅


stdin | restic ... init crash

$ restic version
restic 0.9.4 compiled with go1.10.4 on linux/amd64

$ echo 123 | restic -r ./test123 init
read password from stdin
read password from stdin
EOF
ReadFull
main.readPassword
	github.com/restic/restic/cmd/restic/global.go:281
...

$ echo -n 123 | restic -r ./test123 init
read password from stdin
read password from stdin
EOF
ReadFull
main.readPassword
	github.com/restic/restic/cmd/restic/global.go:281
main.ReadPassword
	github.com/restic/restic/cmd/restic/global.go:317
main.ReadPasswordTwice
	github.com/restic/restic/cmd/restic/global.go:339
main.runInit
	github.com/restic/restic/cmd/restic/cmd_init.go:36
main.glob..func11
	github.com/restic/restic/cmd/restic/cmd_init.go:18
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra/command.go:800
main.main
	github.com/restic/restic/cmd/restic/main.go:86
runtime.main
	/usr/lib/go-1.10/src/runtime/proc.go:198
runtime.goexit
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361
unable to read password
main.ReadPassword
	github.com/restic/restic/cmd/restic/global.go:322
main.ReadPasswordTwice
	github.com/restic/restic/cmd/restic/global.go:339
main.runInit
	github.com/restic/restic/cmd/restic/cmd_init.go:36
main.glob..func11
	github.com/restic/restic/cmd/restic/cmd_init.go:18
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra/command.go:762
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra/command.go:800
main.main
	github.com/restic/restic/cmd/restic/main.go:86
runtime.main
	/usr/lib/go-1.10/src/runtime/proc.go:198
runtime.goexit
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361

Thanks for the report, it is a duplicate of #2203, so please subscribe over there. Thanks!


Context lost when using regl.texture() inside a uniform with regl.frame()

I tried to experiment with the regl.texture() api (following the texture example) and made a Codepen demo with a deformed placekitten image for this week's Codepen Error 500 challenge:
https://codepen.io/terabaud/pen/NLyLLG
At some point, it crashes with the error message context lost. For a quicker crash, use a bigger kitten, like kitty.src = 'https://placekitten.com/1000/1000'
I guess there is some cleanup code missing at some point, like a texture.destroy()? Can you provide an example of the correct usage of regl.texture() here?

Fixed the demo by moving the regl.texture() call out of the uniforms definition. The crash happens when you define the texture uniform like this:
texture: ctx => regl.texture(kitty),

@terabaud I think it was perhaps crashing because the above code allocates a new texture on every frame. Consider the difference between this:
regl({
  ...
  uniforms: {
    texture: regl.texture(kitty)
  }
})

which only allocates a texture by calling regl.texture once when the command is defined, and this:
regl({
  ...
  uniforms: {
    texture: ctx => regl.texture(kitty)
  }
})

which runs the regl.texture code every time the command is invoked. This section in the docs has a bit more information about static vs. dynamic properties.
Glad it worked out, but please don't hesitate to follow up with any other questions you might run into!


Error Message When Upgrading to HomeKit Bridge 0.20.0

I am getting the following error message indicating that a camera server error has occurred when upgrading to HomeKit Bridge 0.20.0:
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Security Cameras Bridge'.
I am not sure of the significance of this message because the server does start OK and the cameras are displayed properly in the Home App.
The complete log follows:
Stopping plugin HomeKit Bridge (pid 56329)
HomeKit Bridge Warning
#####################################################################
HOMEKIT BRIDGE RUNNING SERVER SHUTDOWN
#####################################################################
Now blind stopping all running servers, due to Indigo timeout
limits the plugin cannot wait for them to stop but will instead
shut them down blindly and let them refresh when the plugin
restarts
#####################################################################
HomeKit Bridge                  Blind stopping 'Environmental Bridge'
HomeKit Bridge                  Blind stopping 'HomeKit Bridge'
HomeKit Bridge                  Blind stopping 'Motion Sensor Bridge'
HomeKit Bridge                  Blind stopping 'Security Cameras Bridge'
Stopped plugin HomeKit Bridge
Upgrading plugin HomeKit Bridge to newer version 0.20.0 (previous version moved to trash)
Loading plugin "HomeKit Bridge 0.20.0"
Starting plugin "HomeKit Bridge 0.20.0" (pid 96061)
Started plugin "HomeKit Bridge 0.20.0"
HomeKit Bridge                  Upgrading plugin from 0.19.9 to 0.20.0
HomeKit Bridge                  Upgrading Environmental Bridge for changes in this plugin release
HomeKit Bridge                  Upgrading HomeKit Bridge for changes in this plugin release
HomeKit Bridge                  Upgrading Motion Sensor Bridge for changes in this plugin release
HomeKit Bridge                  Upgrading Security Cameras Bridge for changes in this plugin release
HomeKit Bridge                  Upgrade success
HomeKit Bridge                  Attempting to start 'Environmental Bridge'
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge                  Attempting to start 'HomeKit Bridge'
HomeKit Bridge                  Attempting to start 'Motion Sensor Bridge'
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge                  Attempting to start 'Security Cameras Bridge'
HomeKit Bridge                  HomeKit Bridge is loaded and ready to use
HomeKit Bridge                  Server 'Security Cameras Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge                  Server 'Motion Sensor Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge                  Server 'Environmental Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge                  Server 'HomeKit Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory

That reads like the SecuritySpy server was unreachable and that caused the server device to not populate fields.  My SS plugin goes offline often.  I would have to trap that part of the code.  Nothing changed in that code block between updates so it’s not new code causing the issue.

I believe this error message has appeared in several previous upgrades as well, but I did not capture it. It may well be an erroneous error message because everything appears to work correctly after the upgrade. The correct username and password must be passed correctly from SecuritySpy to HomeKit Bridge or I assume the cameras would not be refreshed properly in the Home App. The only devices I have in my Security Cameras Bridge Server are my two SecuritySpy cameras. All of my numerous other devices are in my three other servers which all restarted correctly without any error messages.

The reason it works is because when it hits that error it stops trying to write the config.json, so it’s likely that you are running off your original.  Is it possible you have a 2nd SS server in Indigo?

I do have two SecuritySpy devices (cameras) in Indigo, but as far as I know there is only one SecuritySpy server. It would not be the first time that multiple processes showed up on my Mac, but I do not see anything in the Activity Monitor that shows two SS servers running. I do recall that when I first set up the HomeKit Bridge server for my cameras I encountered some problems. So I deleted the camera server and set up a new one with no problem. Could it be that there are some remnants of this earlier one still around that is causing the error? In any event this is a very minor anomaly since it only occurs when restarting the server and does not affect the use of your wonderful plugin.

You were right that the config.json file for the camera server was not updated yesterday, whereas the other 3 were. Here is the last update from the config.json file:
"HomeKit configuration generated by HomeKit Bridge on 2018-03-18 00:41:28.336000 for device Security Cameras Bridge"

Are all of your cameras on the 'Motion Sensor Bridge' server?  Try adding them to another server, just to see what happens.  You can still leave them where they are but add duplicates on a new device and see if that also errors out.
The flow of this SecuritySpy integration is this:

You select a SS camera
The plugin reads the SS camera to determine the Indigo SS server device
The plugin reads the SS server device on Indigo to derive the IP address
We query the SS server directly from the IP address to get the additional parameters we need

You are breaking at step 3 so that indicates that either the server device that your SS camera is referring to is no longer there or if it's there it doesn't have an IP address in its states.  That's pretty much the only way you could get the message you got.

If you cannot find the missing piece then run the following code in an action group script using the Indigo ID for the SS server and then again for one of the SS cameras that aren't working with the plugin so I can see if states are missing.
server = indigo.devices[SS_SERVER_ID]
camera = indigo.devices[SS_CAMERA_ID]

indigo.server.log (u"Server Device ID {}".format(server.id))
indigo.server.log(unicode(server.states))
indigo.server.log (u"Camera Device ID {}".format(camera.id))
indigo.server.log(unicode(camera.states))

Be sure to edit the output to take out any usernames and passwords that are in there, but just replace them with "***" or something to let me know they actually HAD them.

I notice that my Motion Sensor Bridge also has in its Persist Preferences folder two accessories for the two cameras that are not being used. My Camera Bridge also has in its Persist Preferences folder the two accessories for the two cameras that are currently being used. Perhaps this is causing the problem since the Motion Sensor Bridge does not have any camera information in its config.json file.

All of my cameras are now in the Security Cameras Bridge Server and not in the Motion Sensors Bridge Server. I believe I originally had the cameras on my Motion Sensors Bridge Server, but deleted them because I wanted a separate server just for the cameras. I deleted the cameras in the Configuration Settings of the server. This may have left behind the extra files I noted previously in the server preferences.
This is the result of running the action group script (I added both cameras to the script):
Script                          Server Device ID<PHONE_NUMBER>
Script                          States : (dict)
state : ready (string)
state.preparing : false (bool)
state.ready : true (bool)
state.unavailable : false (bool)
version : 4.2.3 (string)
Script                          Camera Device ID<PHONE_NUMBER>
Script                          States : (dict)
actions : on (on/off bool)
motion : on (on/off bool)
recording : on (on/off bool)
sensitivity : 50 (integer)
state : active (string)
state.active : true (bool)
state.disconnected : false (bool)
state.passive : false (bool)
state.preparing : false (bool)
state.unavailable : false (bool)
type : Network Axis (older MPEG-4 cameras) (string)
Script                          Camera Device ID 270173689
Script                          States : (dict)
actions : on (on/off bool)
motion : on (on/off bool)
recording : on (on/off bool)
sensitivity : 50 (integer)
state : active (string)
state.active : true (bool)
state.disconnected : false (bool)
state.passive : false (bool)
state.preparing : false (bool)
state.unavailable : false (bool)
type : Network Amcrest (string)

I set up a new Test Server and added only the two SecuritySpy Cameras - but got the same error:
Mar 22, 2018 at 7:24:49 PM
HomeKit Bridge Error            Exception in homekit.getStashRecordForObject line 884: ('key includedDevices not found in dict', u'Server Id:<PHONE_NUMBER>', u'Server data: com.eps.indigoplugin.homekit-bridge : (dict)')
CODE: includedDevices = json.loads(serverProps["includedDevices"])
HomeKit Bridge Error            Exception in homekit.getStashRecordForObject line 884: ('key includedDevices not found in dict', u'Server Id:<PHONE_NUMBER>', u'Server data: com.eps.indigoplugin.homekit-bridge : (dict)')
CODE: includedDevices = json.loads(serverProps["includedDevices"])
  HomeKit Bridge Error            Exception in homekit.getStashRecordForObject line 884: ('key includedDevices not found in dict', u'Server Id:<PHONE_NUMBER>', u'Server data: com.eps.indigoplugin.homekit-bridge : (dict)')
						 CODE: includedDevices = json.loads(serverProps["includedDevices"])

HomeKit Bridge Error            Exception in homekit.getStashRecordForObject line 884: ('key includedDevices not found in dict', u'Server Id:<PHONE_NUMBER>', u'Server data: com.eps.indigoplugin.homekit-bridge : (dict)')
CODE: includedDevices = json.loads(serverProps["includedDevices"])
HomeKit Bridge                  Server 'Test Server' has changed ports or users, validating config
HomeKit Bridge                  NEW DEVICE
SQL Logger                      adding column "onoffstate_ui" to table device_history_1890280422 ("Test Server")
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Test Server'.
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Test Server'.
HomeKit Bridge                  Attempting to start 'Test Server'
HomeKit Bridge Error            HomeKit server 'Test Server' could not be started, please check the service logs for more information,
now issuing a forced shutdown of the service to be safe.
If you continue to have problems starting this server use the Advanced Plugin Actions menu option to rebuild the Homebridge folder.
Instructions at https://github.com/Colorado4Wheeler/HomeKit-Bridge/wiki/Plugin-Menu-Utilities#rebuild-homebridge-folder

I don't know, you suddenly and without explanation are having one problem after another and I really am having trouble keeping up with it or coming up with ideas for why that may be happening.
I cannot even being to diagnose why you are getting the includedDevice message, particularly if you added two security cameras, because the data for those security cameras is stored IN includedDevices, if that wasn't present you wouldn't even see them on the list.  Not to mention the fact that there must be at least 5 safeguards to ensure includedDevices is in the props even if you don't have any devices.
I would say if you get that message then run the following script so I can see how it's even possible that you don't have that field.  Also let me know precisely when that message occurs, is it while you are in the UI or after?  When you try to start the server or when you save the config?
indigo.server.log(unicode(indigo.devices[SERVER_ID]))

As for the SecuritySpy issue, that output didn't have an IP address so try using this script instead:
server = indigo.devices[SS_SERVER_ID]
camera = indigo.devices[SS_CAMERA_ID]

indigo.server.log (u"Server Device ID {}".format(server.id))
indigo.server.log(unicode(server))
indigo.server.log (u"Camera Device ID {}".format(camera.id))
indigo.server.log(unicode(camera.states))

Here are the results of the SecuritySpy script (actual usernames and passwords deleted):
Action Group                    SecuritySpy Camera Test
Script                          Server Device ID<PHONE_NUMBER>
Script                          address : localhost:8002
batteryLevel : None
buttonGroupCount : 0
configured : True
description : SecuritySpy
deviceTypeId : server
displayStateId : state
displayStateImageSel : None
displayStateValRaw : ready
displayStateValUi : ready
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId :<PHONE_NUMBER>
globalProps : MetaProps : (dict)
org.cynic.indigo.securityspy : (dict)
address : localhost:8002 (string)
errors : false (bool)
password : "" (string)
port : 8002 (string)
username : "" (string)
xaddress :  (string)
id :<PHONE_NUMBER>
lastChanged : 2018-03-22 02:24:24
lastSuccessfulComm : 2018-03-22 02:24:24
model : Server
name : SecuritySpy Web Server
ownerProps : org.cynic.indigo.securityspy : (dict)
address : localhost:8002 (string)
errors : false (bool)
password : "" (string)
port : 8002 (string)
username : "" (string)
xaddress :  (string)
pluginId : org.cynic.indigo.securityspy
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
state : ready (string)
state.preparing : false (bool)
state.ready : true (bool)
state.unavailable : false (bool)
version : 4.2.3 (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None
Script                          Camera Device ID<PHONE_NUMBER>
Script                          States : (dict)
actions : on (on/off bool)
motion : on (on/off bool)
recording : on (on/off bool)
sensitivity : 50 (integer)
state : active (string)
state.active : true (bool)
state.disconnected : false (bool)
state.passive : false (bool)
state.preparing : false (bool)
state.unavailable : false (bool)
type : Network Axis (older MPEG-4 cameras) (string)
Script                          Camera Device ID 270173689
Script                          States : (dict)
actions : on (on/off bool)
motion : on (on/off bool)
recording : on (on/off bool)
sensitivity : 50 (integer)
state : active (string)
state.active : true (bool)
state.disconnected : false (bool)
state.passive : false (bool)
state.preparing : false (bool)
state.unavailable : false (bool)
type : Network Amcrest (string)

I set up a new  camera server. It initially had only a default lamp module because I did not add any devices. When saved it showed no errors and the server started OK. I then went back and added a single camera to the server device and deleted the default lamp module. When I saved this device from the dialog I got the following error:
Mar 23, 2018 at 12:58:04 PM
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'New Camera Server'.
HomeKit Bridge                  Attempting to stop 'New Camera Server'
HomeKit Bridge                  HomeKit server 'New Camera Server' has been stopped
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4616: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'New Camera Server'.
HomeKit Bridge                  Attempting to start 'New Camera Server'
HomeKit Bridge                  Server 'New Camera Server' has successfully started, you can use your HomeKit apps or Siri for this accessory
The server did start even with these errors and is running. The following is the script you asked me to run:
Action Group                    HomeKit Bridge Test
Script                          address : 031-45-154 | 51830
batteryLevel : None
buttonGroupCount : 0
configured : True
description :
deviceTypeId : Server
displayStateId : onOffState
displayStateImageSel : SensorOn
displayStateValRaw : True
displayStateValUi : Running
enabled : True
energyAccumBaseTime : None
energyAccumTimeDelta : None
energyAccumTotal : None
energyCurLevel : None
errorState :
folderId : 0
globalProps : MetaProps : (dict)
com.eps.indigoplugin.homekit-bridge : (dict)
SupportsStatusRequest : false (bool)
accessoryNamePrefix :  (string)
action :  (string)
address : 031-45-154 | 51830 (string)
alias :  (string)
autoStartStop : true (bool)
bitrate : 300 (string)
camHeight : 720 (string)
camWidth : 1280 (string)
configOption : include (string)
device :  (string)
deviceLimitReached : false (bool)
deviceList : (list)
Item : 270173689 (string)
deviceOrActionSelected : false (bool)
editActive : false (bool)
enableOnOffInvert : false (bool)
excludedActions : [] (string)
excludedDevices : [] (string)
firmwareValue : indigoVersion (string)
fps : 30 (string)
hkType : service_CameraRTPStreamManagement (string)
homeKitTypeEnabled : true (bool)
includedActions : [] (string)
includedDevices : [{"jkey": "ffe093c3d73823b875e2aa9efd3ef249baa6c1373b56499ebcc116e19298bb27", "name": "Driveway Camera", "url": "", "invert": false, "object": "Device", "complex": false, "id": 270173689, "char": [], "alias": "Driveway Camera", "api": false, "link": [], "action": [], "apilock": false, "tempIsF": false, "type": "", "hktype": "service_CameraRTPStreamManagement"}] (string)
invertOnOff : false (bool)
isAPIDevice : false (bool)
isFahrenheit : false (bool)
isFahrenheitEnabled : false (bool)
listSort : sortbyname (string)
listenPort : 8449 (string)
maxStreams : 2 (string)
modelValue : indigoModelSubmodel (string)
objectAction : add (string)
objectType : device (string)
packet : 1316 (string)
pin : 031-45-154 (string)
port : 51830 (string)
serverOverride : false (bool)
showEditArea : true (bool)
stillURL : -i http:// (string)
tempunits : f (string)
username : CC:22:3D:E3:CE:14 (string)
videoURL : -re -i http:// (string)
id : 141276609
lastChanged : 2018-03-23 12:58:54
lastSuccessfulComm : 2018-03-23 12:58:54
ledStates : []
model : HomeKit Accessory Server
name : New Camera Server
onState : True
ownerProps : com.eps.indigoplugin.homekit-bridge : (dict)
SupportsStatusRequest : false (bool)
accessoryNamePrefix :  (string)
action :  (string)
address : 031-45-154 | 51830 (string)
alias :  (string)
autoStartStop : true (bool)
bitrate : 300 (string)
camHeight : 720 (string)
camWidth : 1280 (string)
configOption : include (string)
device :  (string)
deviceLimitReached : false (bool)
deviceList : (list)
Item : 270173689 (string)
deviceOrActionSelected : false (bool)
editActive : false (bool)
enableOnOffInvert : false (bool)
excludedActions : [] (string)
excludedDevices : [] (string)
firmwareValue : indigoVersion (string)
fps : 30 (string)
hkType : service_CameraRTPStreamManagement (string)
homeKitTypeEnabled : true (bool)
includedActions : [] (string)
includedDevices : [{"jkey": "ffe093c3d73823b875e2aa9efd3ef249baa6c1373b56499ebcc116e19298bb27", "name": "Driveway Camera", "url": "", "invert": false, "object": "Device", "complex": false, "id": 270173689, "char": [], "alias": "Driveway Camera", "api": false, "link": [], "action": [], "apilock": false, "tempIsF": false, "type": "", "hktype": "service_CameraRTPStreamManagement"}] (string)
invertOnOff : false (bool)
isAPIDevice : false (bool)
isFahrenheit : false (bool)
isFahrenheitEnabled : false (bool)
listSort : sortbyname (string)
listenPort : 8449 (string)
maxStreams : 2 (string)
modelValue : indigoModelSubmodel (string)
objectAction : add (string)
objectType : device (string)
packet : 1316 (string)
pin : 031-45-154 (string)
port : 51830 (string)
serverOverride : false (bool)
showEditArea : true (bool)
stillURL : -i http:// (string)
tempunits : f (string)
username : CC:22:3D:E3:CE:14 (string)
videoURL : -re -i http:// (string)
pluginId : com.eps.indigoplugin.homekit-bridge
pluginProps : emptyDict : (dict)
protocol : Plugin
remoteDisplay : True
states : States : (dict)
onOffState : on (on/off bool)
onOffState.ui : Running (string)
subModel :
supportsAllLightsOnOff : False
supportsAllOff : False
supportsStatusRequest : False
version : None

The new camera server does not show the camera in the Home App - only the new Bridge. The config.json file also does not have the camera - only the bridge.  So even though the server is running there is no camera.

I honestly wouldn’t expect it to show in the config.json if you are getting errors during the configuration creation process.

My Indigo forum ID is GRWilde

What version of SS are you running?

I see the problem clearly, I'm just wondering why it's not populated as mine is.  You say that everything worked before and wrote the cameras and then suddenly stopped.  The one thing that changed between it working and not was me getting the extra characteristics from the SS server and I see very clearly now that the field on your config is empty, if it wasn't you most certainly would not be getting errors.

I mean to ask what version of SS and of the SS plugin - I wonder if that's the difference between yours and mine.  I can fix it in code now that I see the problem but want to know why it's like that in the first place.

I'm still interested in the version info but I've added some extra code to work around this issue in the next release.  That release MAY be today if I can put the current development tasks in complications in a state that won't break the plugin since it's only 1/2 implemented right now.  If not then hopefully by the end of the weekend.

My version of SecuritySpy is 4.2.3 and my version of the plugin is 2.3.0
My previously set up cameras still work in the Home App (just not those in the new server) and the old camera server still has an old config.json file dated March 18th.

Yea, it’s because the ‘xaddress’ is empty in your SS config.  I’ll see if that’s a difference between versions - although you’re the only one reporting it so I suspect that it may be you are on a slightly different version than the rest of us are, but regardless it’s already patched for the next release.

Try the latest release, that should resolve your issue.  Please let me know if it does not.

Still getting an error:
Stopping plugin HomeKit Bridge (pid 1598)
HomeKit Bridge Warning
#####################################################################
HOMEKIT BRIDGE RUNNING SERVER SHUTDOWN
#####################################################################
Now blind stopping all running servers, due to Indigo timeout
limits the plugin cannot wait for them to stop but will instead
shut them down blindly and let them refresh when the plugin
restarts
#####################################################################
HomeKit Bridge                  Blind stopping 'Environmental Bridge'
HomeKit Bridge                  Blind stopping 'HomeKit Bridge'
HomeKit Bridge                  Blind stopping 'Motion Sensor Bridge'
HomeKit Bridge                  Blind stopping 'Security Cameras Bridge'
Stopped plugin HomeKit Bridge
Upgrading plugin HomeKit Bridge to newer version 0.20.1 (previous version moved to trash)
Loading plugin "HomeKit Bridge 0.20.1"
Starting plugin "HomeKit Bridge 0.20.1" (pid 44141)
Started plugin "HomeKit Bridge 0.20.1"
HomeKit Bridge                  Upgrading plugin from 0.20.0 to 0.20.1
HomeKit Bridge                  Upgrading Environmental Bridge for changes in this plugin release
HomeKit Bridge                  Upgrading HomeKit Bridge for changes in this plugin release
HomeKit Bridge                  Upgrading Motion Sensor Bridge for changes in this plugin release
HomeKit Bridge                  Upgrading Security Cameras Bridge for changes in this plugin release
HomeKit Bridge                  Upgrade success
HomeKit Bridge                  Attempting to start 'Environmental Bridge'
HomeKit Bridge                  Attempting to start 'HomeKit Bridge'
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4607: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge                  Attempting to start 'Motion Sensor Bridge'
HomeKit Bridge Error            Exception in plugin.buildServerConfigurationDict line 4607: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error            Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge                  Attempting to start 'Security Cameras Bridge'
HomeKit Bridge Warning          Unable to set the value of ContactSensorState on Bay Alarm Event to false because that attribute requires int and it was given unicode
HomeKit Bridge                  HomeKit Bridge is loaded and ready to use
HomeKit Bridge                  Server 'Security Cameras Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge Warning          Unable to set the value of ContactSensorState on Garage Door Status to false because that attribute requires int and it was given unicode
HomeKit Bridge                  Server 'Motion Sensor Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge                  Server 'Environmental Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge                  Server 'HomeKit Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory

On Mar 28, 2018, at 2:17 PM, Colorado Four Wheeler<EMAIL_ADDRESS>wrote:
Try the latest release, that should resolve your issue. Please let me know if it does not.

Ok, I know what I missed.  I’ll have another update tomorrow.

On Mar 28, 2018, at 6:31 PM, grwilde<EMAIL_ADDRESS>wrote:
Still getting an error:
Stopping plugin HomeKit Bridge (pid 1598)
HomeKit Bridge Warning
#####################################################################
HOMEKIT BRIDGE RUNNING SERVER SHUTDOWN
#####################################################################
Now blind stopping all running servers, due to Indigo timeout
limits the plugin cannot wait for them to stop but will instead
shut them down blindly and let them refresh when the plugin
restarts
#####################################################################
HomeKit Bridge Blind stopping 'Environmental Bridge'
HomeKit Bridge Blind stopping 'HomeKit Bridge'
HomeKit Bridge Blind stopping 'Motion Sensor Bridge'
HomeKit Bridge Blind stopping 'Security Cameras Bridge'
Stopped plugin HomeKit Bridge
Upgrading plugin HomeKit Bridge to newer version 0.20.1 (previous version moved to trash)
Loading plugin "HomeKit Bridge 0.20.1"
Starting plugin "HomeKit Bridge 0.20.1" (pid 44141)
Started plugin "HomeKit Bridge 0.20.1"
HomeKit Bridge Upgrading plugin from 0.20.0 to 0.20.1
HomeKit Bridge Upgrading Environmental Bridge for changes in this plugin release
HomeKit Bridge Upgrading HomeKit Bridge for changes in this plugin release
HomeKit Bridge Upgrading Motion Sensor Bridge for changes in this plugin release
HomeKit Bridge Upgrading Security Cameras Bridge for changes in this plugin release
HomeKit Bridge Upgrade success
HomeKit Bridge Attempting to start 'Environmental Bridge'
HomeKit Bridge Attempting to start 'HomeKit Bridge'
HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4607: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge Attempting to start 'Motion Sensor Bridge'
HomeKit Bridge Error Exception in plugin.buildServerConfigurationDict line 4607: Invalid URL u'http://:8002/++systemInfo': No host supplied
CODE: data = requests.get(ssSystem, auth=(ssServer.ownerProps["username"], ssServer.ownerProps["password"])).content
HomeKit Bridge Error Unable to build server configuration for 'Security Cameras Bridge'.
HomeKit Bridge Attempting to start 'Security Cameras Bridge'
HomeKit Bridge Warning Unable to set the value of ContactSensorState on Bay Alarm Event to false because that attribute requires int and it was given unicode
HomeKit Bridge HomeKit Bridge is loaded and ready to use
HomeKit Bridge Server 'Security Cameras Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge Warning Unable to set the value of ContactSensorState on Garage Door Status to false because that attribute requires int and it was given unicode
HomeKit Bridge Server 'Motion Sensor Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge Server 'Environmental Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory
HomeKit Bridge Server 'HomeKit Bridge' has successfully started, you can use your HomeKit apps or Siri for this accessory

On Mar 28, 2018, at 2:17 PM, Colorado Four Wheeler<EMAIL_ADDRESS>wrote:
Try the latest release, that should resolve your issue. Please let me know if it does not.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok, I rewrote the entire authentication for SecuritySpy, let's see if this works.  I'm doing this blindly because I don't have this issue on my end so hopefully this is the one that does the trick.


doc Optimize query rewerite by materialzied view doc

Proposed changes
Optimize query rewerite by materialzied view doc
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Create exercise stages

Is your feature request related to a problem? Please describe.
As an admin I need to be able to move candidates through the stages of an exercise.
Describe the solution you'd like
For this I need the following stages to be created:

Review
Shortlisted
Selected
Recommended
Handover

Additional context

This is done.

Just need to include the numbers.

what numbers?


DNS Policy Not Enforcing

When i use "--dns direct"  in  MacOS，the DNS IP is still be Modified.
In my scenario, I only need to route traffic through the tun, not perform DNS resolution，i just want to use my internal DNS server.

Emm, --dns direct means your DNS packages will passed to the SOCKS5 server as normal UDP packages.
Maybe we have to reconsider the DNS logic? @blechschmidt

Yes, sometimes it's only necessary to route the resolved traffic through a tun interface,it might be helpful to add an option that uses the system's default DNS @ssrlive

Emm, --dns direct means your DNS packages will traffic to the SOCKS5 server as normal UDP packages. Maybe we have to reconsider the DNS logic? @blechschmidt

To be honest, my understanding was that the desired behavior of --dns direct would be to not modify /etc/resolv.conf. At least that was what the behavior was when it was still called none in contrast to virtual. I would suggest the following behavior:

If --dns direct is specified without --dns-addr, we do not modify /etc/resolv.conf.
If --dns direct is specified with --dns-addr, we modify /etc/resolv.conf to contain these addresses. If they are not covered by a more specific route, they will use the proxy through UDP.

In the future we could also add an option called --dns bypass which parses /etc/resolv.conf and explicitly sets up the DNS server addresses like bypass IPs.


Bug: Severity..ordinal() returns the wrong ordinal. And Severity.isLessSevereThan() does not work correctly.

I'm writing tests in AEM CM that imports this library. The test code verifies that a CheckReport contains certain severity levels. Because of failing tests, I found out that when I call Severity.MINOR.ordinal(), it returns 0 instead of the expected 2, because that call to ordinal returns the ordinal that java assigns to it internally. To me, this has the unnecessary side-effect that it's quite confusing - why have we defined them this way? Especially because there is a private field in Severity whose name is also ordinal. So if as a client you call Severity.MINOR.ordinal() it returns the ordinal assigned by Java itself (which is 0 since it's defined first) instead of the one assigned during construction, 2. Particularly because as a client, I will call Severity.isLessThanSevere() and can see that it uses this ordinal field.
Besides, I think the semantics around Severity.isLessSevereThan(Severity other) is wrong. Assume that we call
boolean foo = Severity.SEVERE.isLessSevereThan(Severity.SEVERE);
// foo == false

which is incorrect. Because inside CheckReport we have:
default Collection<Violation> getViolations(Severity atLeastAsSevere) {
        if (atLeastAsSevere == null) {
            return getViolations();
        }
        return getViolations().stream().filter(v -> v != null
                && !v.getSeverity().isLessSevereThan(atLeastAsSevere))
                .collect(Collectors.toList());
    }

So let's assume that we have a CheckReport report with 2 Severity.SEVERE violations. Then we have:
CheckReport report = getReport(...);
report.getViolations(Severity.SEVERE).size() == 2;
report.getViolations(Severity.MAJOR).size() == 2;
report.getViolations(Severity.MINOR).size() == 2;

which I don't think is intended.

@steffenvan Thank you for the report. I didn't notice the lexical clash with the Enum.ordinal() method until you mentioned it. It was never my intention to expose the numeric value for the Severity type, and because I haven't exposed it yet, it could be renamed to avoid confusion when reading the source code without requiring a increase to the exported api package version. However, because this value is not exposed as part of the API, I recommend that you avoid writing tests that depend on this private value. A Severity enum value should be serialized using the name(), not the ordinal().
The behavior of the CheckReport.getViolations() method is working as intended. The severity parameter is intended to be used in order to "ignore violations that do not meet this minimum level of severity". A report with two SEVERE violations has no violations worthy of being ignored, because there is no level of Severity that is more severe than SEVERE. If the CheckReport had two MAJOR violations, those would be ignored if you passed SEVERE as the method parameter.


View size is not compatible with input tensor's size

When I ran the train script, I got this error.
File "/opt/voxceleb_trainer-master/utils.py", line 18, in accuracy
correct_k = correct[:k].view(-1).contiguous().float().sum(0, keepdim=True)
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
How to use reshape() to fix this problem?

Can you share your Python and Pytorch versions, and the training arguments?

I used Python 3.6.9 and  print(torch.version) >>> 1.7.0
The training command was

python3 ./trainSpeakerNet.py --model ResNetSE34L --log_input True --encoder_type SAP --trainfunc angleproto --save_path exps/exp2 --nPerSpeaker 2 --batch_size 200

Some outputs were
Embedding size is 512, encoder SAP.
Initialised AngleProto
Initialised Adam optimizer
Initialised step LR scheduler
config None
max_frames 200
eval_frames 300
batch_size 200
max_seg_per_spk 100
nDataLoaderThread 5
augment False
test_interval 10
max_epoch 500
trainfunc angleproto
optimizer adam
scheduler steplr
lr 0.001
lr_decay 0.95
weight_decay 0
hard_prob 0.5
hard_rank 10
margin 1
scale 15
nPerSpeaker 2
nClasses 4391
initial_model
save_path exps/exp2
train_list train_list_4391.txt
test_list veri_test.txt
train_path ../data/voxceleb2
test_path ../data/voxceleb1
musan_path ../data/musan_split
rir_path ../data/RIRS_NOISES/simulated_rirs
n_mels 40
log_input True
model ResNetSE34L
encoder_type SAP
nOut 512
eval False

I fixed the problem by adding .contiguous() in utils.py
...
correct = pred.eq(target.view(1, -1).expand_as(pred)).contiguous()
...

I cannot reproduce the error, even without the suggested changes. My torch version is 1.7.0.


[3.50] Feature suggestions about new Mesh game object

Would you like to add an example about orthographic projection Mesh game object?
mesh.hideCCW = false;
mesh.setOrtho();

seems not enough. The image size is not correct.

Would you like to add some new methods of Face? To

Rotate(rotateZ) vertices of this face
Move vertices of this face. (Face.translate dose not apply changing to vertex.vx, vertex.vy, therefore the render result dose not change)

It's important to give the correct aspect ratio for the orthographic projection. So for a 800 x 600 renderer, you'd do setOrth(800 / 600, 1). I've now made this the default actually.
There is the RotateFace function already, but it doesn't offer z rotation.
Translating a Face will work, but you have to get the Mesh to update all of its cached values to see the changes. You can use this property for it:
        /**
         * By default, the Mesh will check to see if its model or view transform has
         * changed each frame and only recalculate the vertex positions if they have.
         *
         * This avoids lots of additional math in the `preUpdate` step when not required.
         *
         * However, if you are performing per-Face or per-Vertex manipulation on this Mesh,
         * such as tweening a Face, or moving it without moving the rest of the Mesh,
         * then you may need to disable the dirty cache in order for the Mesh to re-render
         * correctly. You can toggle this property to do that. Please note that leaving
         * this set to `true` will cause the Mesh to recalculate the position of every single
         * vertex in it, every single frame. So only really do this if you know you
         * need it.
         *
         * @name Phaser.GameObjects.Mesh#ignoreDirtyCache
         * @type {boolean}
         * @since 3.50.0
         */
        this.ignoreDirtyCache = false;

Then you could call Mesh.preUpdate() directly and turn the property false again.

I totally miss that RotateFace method. Thank you!


0.6.0 Fails to Create Accessories

Latest version 0.6.0 fails to create the thermostat accessory; sends homebridge instance into loop.
Here are the logs.
Creating` new thermostat in zone: Zone 1 ZONE 1 Thermostat

/usr/local/lib/node_modules/homebridge-infinitude-v2/src/InfinitudeInstance.js:80
    this.configureThermostat(zoneAccessory);
         ^
TypeError: this.configureThermostat is not a function
    at InfinitudeInstance.createZoneThermostat (/usr/local/lib/node_modules/homebridge-infinitude-v2/src/InfinitudeInstance.js:80:10)
    at InfinitudeInstance.<anonymous> (/usr/local/lib/node_modules/homebridge-infinitude-v2/src/InfinitudeInstance.js:57:47)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

For this, I think InfinitudeInstance.js line 80 should read this.configureZoneThermostat.
Once you address that though there is another problem though.
[25/08/2022, 20:57:19] AssertionError [ERR_ASSERTION]: Accessories must be created with a valid UUID.
    at new Accessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:422:11)
    at new PlatformAccessory (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:70:9)
    at InfinitudeInstance.createTemperatureSensor (/usr/local/lib/node_modules/homebridge-infinitude-v2/src/InfinitudeInstance.js:85:29)
    at InfinitudeInstance.<anonymous> (/usr/local/lib/node_modules/homebridge-infinitude-v2/src/InfinitudeInstance.js:63:55)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

@dotfortun3-code making sure you saw this. I can't get the current version of the plugin to work at all and rolled back. I was working on a PR, but each item I've addressed uncovers something new. I think the way the 0.6.0 is generating IDs is broken, but I haven't found the culprit yet.

Just saw this. I will take a look and make the changes. Not sure what happened.

Should be fixed in v0.6.1.


Use a mockable authenticator instead of service swapping

Swapping services is really not fun with the Symfony container. With this PR, I tried to get around swapping services for authentication. WDYT?
Related to #618.

I really like this

:heart: :heart_eyes: :heart:


Failed to import module from component node_modules

macOS El Capitan
angular-cli: 1.0.0-beta.24
node: 6.9.1
os: darwin x64
@angular/common: 2.4.2
@angular/compiler: 2.4.2
@angular/core: 2.4.2
@angular/forms: 2.4.2
@angular/http: 2.4.2
@angular/platform-browser: 2.4.2
@angular/platform-browser-dynamic: 2.4.2
@angular/router: 3.4.2
@angular/compiler-cli: 2.4.1
Repro steps.
Create a component, add a package.json to the component, and install a dependency.
ng generate component my-component
cd src/app/my-component
echo {} > package.json
npm install --save lodash.chunk

Then require the dependency:
// my-component.component.ts

let chunk = require('lodash.chunk');

The log given by the failure.

ERROR in ./src/app/my-component/my-component.component.ts
Module not found: Error: Can't resolve 'lodash.chunk' in '/Users/myuser/Documents/my-project/src/app/my-component'

Mention any other details that might be useful.
I can fix the module resolve in the webpack config, by changing line 39 of webpack-build-common.ts to just use node_modules and let it resolve:
// const nodeModules = path.resolve(projectRoot, 'node_modules');
const nodeModules = 'node_modules'; // this works

The reason I need nested node_modules is because we are developing components in a single repo, but we want to separate them out in our deployment build so each component can have its own dependencies.
Is there something I'm missing to make this work out of the box?

@elclanrs
There is a simpler way, that works.
Follow these steps:

ng generate component my-component
stay in the root folder and run npm install --save lodash.chunk
edit src/app/my-component/my-component.component.ts to be:

import { Component } from '@angular/core';
import { chunk } from 'lodash.chunk';

@Component({
  selector: 'app-my-component',
  templateUrl: './my-component.component.html',
  styleUrls: ['./my-component.component.css']
})
export class MyComponentComponent {
};

This is not an issue, it can be closed.

@catull, but this is adding the dependency at the app level. I want the component to have its own package.json and dependencies. Like I said, in the build process I need to separate each component into a module that has its own dependencies so we can publish it independently to own private npm repository.

We don't really support multiple projects/apps at the moment.
I understand that your usecase could be fixed by adding a local set of node_modules, but that would also remove the fix for npm linked node modules (https://github.com/angular/angular-cli/pull/2291).
If there's a way to have both working, let me know.

@filipesilva, linked packages seem to work fine. Just did the following to reproduce:
Using<EMAIL_ADDRESS>create new app, a component, and install sub-dependency:
cd $HOME
ng new my-app
cd my-app
ng generate component my-component
cd src/app/my-component
npm init
npm install --save lodash.chunk

Create test package and link it to app:
cd $HOME
mkdir test-package
cd test-package
echo 'module.exports = "test-package";' > index.js
npm init
npm link
cd $HOME/my-app
npm link test-package

Require both packages in my-component:
// src/app/my-component/my-component.component.ts
import { Component, OnInit } from '@angular/core';

+ let test = require('test-package');
+ let chunk = require('lodash.chunk');

+ console.log(test);
+ console.log(chunk);

Edit webpack's config:
// node_modules/angular-cli/models/webpack-build-common.js @ 27

// var nodeModules = path.resolve(projectRoot, 'node_modules');
var nodeModules = 'node_modules'; // this works

Now both ng serve and ng build work fine, no errors, and I can see both logs in the console during dev, and in the build. Without the fix above it fails.
Am I missing something or do linked packages work just fine without #2291? Maybe webpack fixed it since September?


Feature/distribution

Description
Removed isDistributed call and replaced this with the distribution method sum
Issue(s) addressed
ioda-old issue 478
Dependencies

waiting on JCSDA/ioda/pull/#3

@hkershaw-brown Please re-open this PR in JCSDA-internal. Unfortunately, GitHub does not permit a private fork of a public repository, and making JCSDA public has broken the link with JCSDA-internal/ufo.


Add GRPC integration

Since WireMock now supports HTTP 2, it should be possible now.

Hi, are there any plans for introducing GRPC support in the Spring Cloud Contract?
Thanks!


When editing LB service , UI does not complain when target port is not specified for services.

Build from master:
Edit an existing LB service.
Add a new target without specifying target port and save.
UI does not complain when target port is not specified for services. But the new target does not get saved since target port is a required parameter.
Expected Behavior:
UI should warn users when user tried to save when target port is not specified .

We're back to allowing rules with no target port specified now, it will use the Default Target Port on the Listener or the Source Port of the request if that is also not set.

with server version - V0.29.0-rc1 , we have the "sourceport" and "defaultTargetPort" in "Listening Ports" section which should be used as default target port.
Closing this issue.


Get feedback about prioritization from the VRS channel about the problem context that was collected.

Discuss if an individual problem is a good problem for the VRS to solve.

Decision and recommendations are captured in meeting notes 10.15.2020

https://github.com/open-voice-network/docs/blob/master/components/voice_registry_system_meeting_notes.md

NEXT STEP
Bring back to Tech Committee

This is done.
The meeting with Tech Committee happened last 11.20.
We didn't get a clear yes or no answer and I will bring this up to @jcstine .


refactor: Changed versioning mechanism to have separate storage & software version

once you define a single type representing the contract version then each contract would have only one constant of that type ... and there would be a macro just for determining the storage component

I feel like there is a misunderstanding here. I specifically added this macro, not just for fun, but because otherwise the env!("CARGO_PGK_VERSION") will be resolved within the versioning crate. I can of course always just move out the env! macro call into each crate which then would imply we have the same constant which, mind you, can't substitute because the macro expects a literal. Doing that is way more error-prone than a 1:1 macro that has close to little impact on our code.
I can always extract the function from it, if that's the problem, but the macro, in my opinion, has to stay.


should check robots.txt to allow instances to opt out

i don't want this software to be able to get posts from my instance. there should be an option to allow an instance to opt out.

This software is not getting posts from your instance. This software pushes an activitypub message to the server that added it as a relay.
FakeRelay never pulls the data from your site, it's the instance is the one who fetches the data from your site. If you want to avoid the instance from getting your content, you should block that as anyone wanting to index this on their server could do a search of that url and that will get your toot indexed.
robots.txt tells crawlers and bots what to visit (and what not to visit). Since FakeRelay isn't visiting anything, I don't think it makes sense to do a request to each of these sites every time it's about to forward a url.

@g3rv4 is correct, the issue is not FakeRelay, it's the turotials that were released around it, providing code to scrape posts from an instance without asking and feed them into another instance.


track b2c discount enquiries automatically

we currently have a spreadsheet that is haphazard - a quick look through email enquiries shows they aren't all tracked properly
suggest we automatically insert into the spreadsheet from the form so we don't lose any data here

All forms are tracked through HubSpot automatically - are we missing ones from here?

Maybe easier to view it in HubSpot as a list — can do that here.


Reload master data after config pending event

Codecov Report
Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (c3177c9) 90.29% compared to head (8ec114e) 90.28%.
Report is 1 commits behind head on devel.

Files
Patch %
Lines

hahomematic/platforms/generic/entity.py
66.66%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #1381      +/-   ##
==========================================
- Coverage   90.29%   90.28%   -0.02%
==========================================
  Files          49       49
  Lines        5988     5992       +4
==========================================
+ Hits         5407     5410       +3
- Misses        581      582       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


v0.11.2

[x] Router reload bug fixes
[x] Add snapshots to version control
[x] Refactor ./app/main.development.js
[x] Migrate all state tests to snapshot tests

Estimated release date: May 1

@anthonyraymond Would be awesome if you could review the router changes just in case there was a mistake when I merged. Thanks!

@slapbox Would appreciate it if you could test it as well 😄

Sorry for the delay. The router part looks ok to me.


⚠ ClamAV has degraded performance

In 81b60ec, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 61 ms

Resolved: ClamAV performance has improved in 10f8464.


Prediction files

Hi authors,
I want to run mmdetection to do some fusion work, but I met some errors that were reported in a past Issue and have not got resolved. I actually only need the prediction files (.json file). Could you send the files to me that have predictions on Nuscenes-mini or Nuscenes-full if that is possible?
Thank you so much for your help!

Problems should be fixed in #1234

Close due to inactivity.