Flashing the name of the website brand as Tech Talks X IntelligenZ

Flashing Name for Branding
Website Name: Tech Talks X IntelligenZ
The name should appear prominently across the website, with the X in between Tech Talks and IntelligenZ.

@Sanskriti1102  Is it possible to have it in nav bar and display it throughout??

@Abheeshta-P yaa but wherever there is only "IntelligenZ", i want to  change to  "Tech Talks X IntelligenZ"

@Abheeshta-P yaa but wherever there is only "IntelligenZ", i want to change to "Tech Talks X IntelligenZ"

can u assign this to me it would be great working with this @Sanskriti1102

@Sanskriti1102  Throughout the website right?? I would like to work on this could you assign this to me??

@Abheeshta-P assigned

@Sanskriti1102 Throughout the website right?? I would like to work on this could you assign this to me??

yes

looking for some web related projects to work on i love to work on this issue under gssoc 24 extnd. can you assign that to me ?


Add hound service

Hound is a pretty cool code search tool :)
I use it with the following config to automatically index all my local checkouts:
let
  findGitRecursive = root: let
    files = builtins.readDir root;
    dirs = lib.filterAttrs (k: v: v == "directory") files;
    repoSet = lib.mapAttrs (k: v: builtins.pathExists (root + "/${k}/.git")) dirs;
    repos = builtins.map (v: builtins.toString (root + "/${v}")) (lib.attrNames (lib.filterAttrs (k: v: v) repoSet));
    notRepos = lib.attrNames (lib.filterAttrs (k: v: !v) repoSet);
    nestedRepos = builtins.foldl' (a: v: a ++ findGitRecursive (root + "/${v}")) [] notRepos;
  in repos ++ nestedRepos;

in {

  services.hound = {
    enable = true;
    repos = let
      repos = findGitRecursive /home/adisbladis/sauce;
    in lib.listToAttrs (builtins.map (v: {
      name = builtins.baseNameOf v;
      value = { url = "file://" + v; };
    }) repos);
  };

}

Thanks for the contribution! Looks like an interesting tool!
I've added some comments. Also please change the commit message to hound: add module to match the contribution guidelines.

@rycee Thanks for your feedback. I believe everything should be addressed now.

Thanks! Rebased to master in a9ecef1fa938db8c6c3d2ed705646927e3db55b9.


[WATCH/FULL]** Sophie Rain Viral Video Original Video Link Sophie Rain Viral Video On Social Media X

23 seconds ago
L𝚎aked Video Sophie Rain Spiderman Original Video Viral Video L𝚎aked on X Twitter Telegram
Sophie Rain Spiderman Original Video video took the internet by storm and amazed viewers on various social media platforms. Sophie Rain Spiderman, a young and talented digital creator, recently became famous thanks to this interesting video.
"Sophie Rain's Spiderman Video is Taking Over the Internet!"
L𝚎aked Video Sophie Rain Spiderman Original Video Viral Video L𝚎aked on X Twitter
Sophie Rain Spiderman Original Video video oficial twitter
L𝚎aked Video Sophie Rain Spiderman Original Video Viral Video L𝚎aked on X Twitter
.
.
.
.
..
.
..
20 seconds ago
L𝚎aked Video Sophie Rain Spiderman Original Video Viral Video L𝚎aked on X Twitter Telegram
Sophie Rain Spiderman Original Video video took the internet by storm and amazed viewers on various social media platforms. Sophie Rain Spiderman, a young and talented digital creator, recently became famous thanks to this interesting video.
"Sophie Rain's Spiderman Video is Taking Over the Internet!"


URL query compatibility with react-router routes and location

I've been using asp prerendering for an application that uses the query string to for fetching data that I want rendered on the server. I noticed while following the react example that the query string was being encoded incorrectly but only on the server side when the location is created in createServerRenderer and then passed into react router.
I traced it to react-router and creatememoryhistory expecting the query field on the location object to be a key value pair object and not a string like it is in the createserverrenderer params. Since you are using url.parse and there is an option to pass true for it be an object, can this be exposed as a parameter somewhere? Using this allows me to use the query on the server and client. I'm not sure of the implications of switching this to true and then submitting a PR.

Also wanted to mention that when using createserverrenderer with react-router the string encoding of the querystring caused the issue inside of creatememoryhistory when it called the defaultStringifyQuery method of useQueries which calls query-string.stringify which is the method that expects the query object.
Hope this all makes sense haha

Thanks for the suggestion! I've updated aspnet-prerendering to version 2.0.3, which does parse the querystring in the way you've requested. This should make the server-side and client-side routing behaviours consistent.


Updated rules

I've updated the rules. I've tried running phpunit locally and it seems okay. cc @nyanlynnhtut

:+1:


Variable names conflict with reserved words

These variable names conflict with reserved words and the rest of the code just wasn't being used.

/approve

/test eks-anywhere-e2e-presubmit

/test eks-anywhere-e2e-presubmit

/test eks-anywhere-presubmit


It is better to use the repository field in Cargo.toml

To allow Crates.io , lib.rs and the Rust Digger to link to it. See the manifest for the explanation.

#122


bump 2 3 10

Update dependency cognite-sdk to v7
Bump version to 2.3.9

@dmivankov bumping version here as well needed AFAIK [cognite/transformations_cli/init.py]

@dmivankov guess SequenceRows is deprecated on v7 instead using SequenceRowsDestination is recommended.

Confused why this didn't show up earlier :thinking: but will try to fixup

Ok, my bad, accidentally picked up sdk v7 along, removing now

Hmm more errors :)
Not sure about this one
Credentials for test-cli-transform-oidc write failed to validate: DataModelsAcl got an unknown scope: UnknownScope(name='dataModelScope', data={'external_ids': ['test-space']}), expected an instance of one of: [DataModelsAcl.Scope.All, DataModelsAcl.Scope.SpaceID]. Example usage: DataModelsAcl(actions=[DataModelsAcl.Action.Read], scope=DataModelsAcl.Scope.All())

Does it help to do pre-commit before push ? `mypy.....................................................................Failed

hook id: mypy
exit code: 1

cognite/transformations_cli/commands/deploy/transformations_api.py:101: error: Name "SequenceRows" is not defined
tests/test_deploy.py:415: error: Name "SequenceRows" is not defined
Found 2 errors in 2 files (checked 31 source files)
flake8...................................................................Failed

hook id: flake8
exit code: 1

cognite/transformations_cli/commands/deploy/transformations_api.py:14:1: F401 'cognite.client.data_classes.transformations.common.SequenceRowsDestination' imported but unused
cognite/transformations_cli/commands/deploy/transformations_api.py:101:16: F821 undefined name 'SequenceRows'
tests/test_deploy.py:15:1: F401 'cognite.client.data_classes.transformations.common.SequenceRowsDestination' imported but unused
tests/test_deploy.py:415:36: F821 undefined name 'SequenceRows'
version-match-check......................................................Passed`

Yep, that's something from v7 sdk. I accidentally added v7 bump into this PR, but now staying on v6 and checks pass

Looks like all checks are passing, @mr-celo Do you have time to review? Thanks


Deploy / Test AIMS plugin for DAAS upgrade of QGIS (2.18)

@splanzer to oversee plugin release and testing for DASS QGIS upgrade with the support of the Addressing Team

What needs to be done?
A new release of the AIMS QGIS Plugn must be made avialble to the conducting testing agaisnt QGIS 2.18 that is about to be deployed in DAAS (as per issues (171)[https://github.com/linz/LI-tasks/issues/171])
As well as testing this will involve some development.
Some back ground
The addressing team requested 12+ months ago that the parcels are label.
Done

[ ]

[ ]- [ ]

[ ] Test Plugin in QGIS 2.18

thanks, @jason-bedford. I will send the latest test plan to @SPlanzer and @dwsilk so they can look over it for you.

AIMS stood up on LI-Server ready for testing.
Note (To myself and reviewers): This has been stood up via the app_view-plugin_labelling branch of AIMS-deployment and is awaiting a PR review #57
This update to the AIMS-Deployment sees a view added to the BDE schema to support table labeling.

@jason-bedford I will review the test plan this morning.
In the mean time, instructions on connecting to the test instance of the plugin and upgrading to the Release Candidate version of the AIMS plugin follow. I would be happy if you would like to grab me when you perform these steps initially and I can go through them with you to ensure it is painless as possible and add any extra detail not in here.
A note about environments
The primary objective of this is to sign off on the functioning of the AIMS plugin against QGIS2.18 operating in Daas AND sign off on new functionality (List above and I will ensure it is listed in the test plan)
However, Right now you can not connect from DaaS straight to the LINZ-Experimental server, our test environment. You must be using an internet connection outside of LINZs corporate network. I will however be opening a ticket with datacom this morning to resolve this so that QGIS plugins can be connect to the LINZ-Experimental server in the DaaS environment for testing (managed via linz/ds-dev-team/issues/74).
In the mean time you can test the plugin against QGIS 2.18.x in your desktop environment to sign off on the plugins new functionality and the proper functioning against the QGIS2.18 api.
Using the MS Windows OS it is possible to install parallel instances of QGIS. This is handy for the below managing of different plugin versions as you can test against a QGIS instance (mostly) independent of you prod environment.
THOUGH, do be careful as the QGIS plugins can be installed to several places including you common users directory where multiple versions of QGIS could access its plugins from. If this is the case when switch back from your testing work to BAU you will need to downgrade the plugin. Lets try avoid this...
Upgrade the AIMS QGIS Plugin version
The plugin is available via the dev plugin server (I can email you the url). The plugins on this servers can be added by adding the plugin servers details to the QGIS plugin settings.  The AIMS plugin can then be installed/upgraded as usual in the QGIS plugin manager. (if you have not done this before I can support this). From memory by default this will see you writing to the common user directory.
So, It is probably best you download the plugin from the github release (https://github.com/linz/QGIS-AIMS-Plugin/releases/tag/v1.1.0) and place this in the QGIS instance plugin dir (TODO // not currently on window - will confirm and update path here. You will need to update the config file using this method via this documentation
Connecting the plugin to the test environment
(Apologies) You must use PUTTY to forward the LINZ-experimental servers ports, allowing you to interact with the test environment. the details how to do this can be found here. Again let me know if you want help configuring this.
Before testing against this environment let me know and I can confirm it is up and suitable for conducting testing against.

Sent test plan to @SPlanzer and @dwsilk for review.

I have added test 18, 19 as related to the new release that enables parcel labeling
for tests such as "During update, Level Value can not be deleted when Level Type exists " (~197) that have a result such as "Change appears on Review queue. Warning: Level Value has not been supplied" should these all have a corresponding test that upon fixing the issues the warning has been removed.
"Group review queue" also needs more detail. This will need to involve getting the groups of different nature (parcel, meshblock, road and locality updates) on the queue. In the past this test suite has been employed. We will need instructions for this. Alternatively the test data restored to the LI-Server could have these examples dumped for the restore and ready to go for the tester.
I also note "Group review queue" has no reference to editing individual items in the group. Its been a while, is this possible?
Please also see the release notes. This outlines the changes to the plugin this have specific tests that will need to be performed in this round of testing to ensure the release meets expectations

This is blocked by linz/ds-dev-team/issues/147 - Currently when installing a Plugin into QGIS (official version as part of DaaS), when logging out and starting the next DaaS session the plugin must be re-installed and configured.
I have however started initial testing with the new AIMS release and QGIS 2.18 as installed in DaaS. Initial results are not good. When loading the plugin and panning / rendering AIMS features QGIS crashes. This is not however the case with QGIS installed (hacked - copying entire QGIS dir from another machine to personal DaaS dir) in DaaS outside an app silo (So far all initial test has in the same version of QGIS installed in this manner). - More details to come in issue


We can not remove image of self in staff page

Describe the bug
When we are try to remove self image on staff page remove button not working
Expected behavior
Remove button should remove image
Screenshots

https://www.berrycast.com/conversations/4e03c611-df38-5a2c-80e4-1adb61d8e638


cutegram cannot find Qt plugin "xcb"

Issue description
Cutegram dumps this to console and bails out:
 ~ $ cutegram
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Reinstalling the application may fix this problem.
Aborted (core dumped)

Steps to reproduce
~ $ nix-env -iA nixos.cutegram
~ $ cutegram

Technical details

system: "x86_64-linux"
host os: Linux 4.14.35, NixOS, 18.03.132083.06c576b0525 (Impala)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.0
channels(root): "nixos-18.03.132083.06c576b0525"
channels(kisik21): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Duplicate of https://github.com/NixOS/nixpkgs/search?q=qt+aborted&type=Issues

This one is a recent one explaining a solution.

This is still somehow a problem, even though it's supposed to be fixed. It fails for me on unstable.


Microsoft.Network/publicIPAddresses

Describe the noise
Resource type (i.e. Microsoft.Storage/storageAccounts)
Microsoft.Network/publicIPAddresses
apiVersion (i.e. 2019-04-01)
2020-04-01
Client (PowerShell, Azure CLI, or API)
PowerShell
Relevant ARM Template code (we only need the resource object for the above resourceType and apiVersion, but if it's easier you can include the entire template
Expected response (i.e. "I expected no noise since the template has not been modified since the resources were deployed)
No change. Read only property natGateway should not change as association happens on Nat Gateway resource so this property is only read only.
Current (noisy) response (either include a screenshot of the what-if output, or copy/paste the text)
  ~ Microsoft.Network/publicIPAddresses/pubip0004 [2020-04-01]
    - properties.natGateway:

        id: "/subscriptions/<subscriptionId>/resourceGroups/test-vnet-rg-1/providers/Microsoft.Network/natGateways/natgw00002"

Additional context
Add any other context about the problem here.

[w24].

This fix should be deployed. Let us know if you continue to see noise.


JDG-2386 Verify getBulk methods in the Infinispan server

https://issues.redhat.com/browse/JDG-2386

Was needed to create a new maven profile to set an older version of hotrod client
All other related tests was excluded from the compilation to avoid some errors
Used reflection into the test to get "getBulk" method, it was needed to avoid IDE compilation error
The test is run on a different category (Compatibility)
Currently this test can only run using ServerRunMode.FORKED, EMBEDDED or CONTAINER are using some new methods from infinispan-commons which I will not have using older versions, that's why Forked mode was used in this scenario

Let's not test getBulk. It has been deprecated since forever

Closing as we don't want to test this functionality.


Take in consideration changes of the snag.yml file

If there is changes in the snag file, snag will re-build with the old commands/options. We need to ensure if this file is changed we reload the commands to run and the options passed in.

Closing this since I'm not maintaining this anymore


Schedule of planned bulb/light measurements

This is an information just to not duplicate measurement, when it will be not necessary.
@bramstroker @wormiedk @smonesi @CM000n @OzGav @franzbischoff and all future contributors:
Please add information about your measurements in preparation.
Here is my plan:

Signify LCT001 E27 (RGB+TW 1st gen)
as soon as possible (I borrowed from a friend) - waiting for @wormiedk reply (I will be ready to start measuring HS mode 26 or 27 august 2021)

Ikea LED1836G9 (tradfri E27 dimmable last gen)
september 2021

Ikea LED1624G9 "TRADFRI bulb E27 CWS opal 600lm" (RGB+TW 1st gen)
september 2021

Signify light strip set (I don't know model now)
when I can borrow it

Ikea E14 RGBW (I don't know model now)
when I can borrow it

Jiawem/Feibit "FB56-ZCW08KU1.1"
only in situation, when all family leaves home for a long time (maybe Christmas/New Year 2022?)

Ikea LED1923R5 "TRADFRI bulb GU10 CWS 345lm" (RGB+TW last gen)
as soon as possible (this is GU10 made of glass and I broke the glass…) edit: temporary ABANDONED due too many zero readings, and this bulb qualify to be in electro-waste bin (just broken glass, not a problem with bulb quality, but it is really dark - only 345lm). It depends on script possibilities to measure group of bulbs (as Shelly isn't capable to measure power <0.5W), when it will be ready I can buy more of them - just for measure - Ikea allows return of tested stuff (with or without small fee)
https://www.ikea.com/gb/en/customer-service/returns-claims/return-policy/
(of course I can't returm broken bulb, so be careful :D)

Currently, so it doesn't bother anyone at home, I'm doing color temperature and HS measurements for our LST001 Signify Lightstrip during our vacation.
However, I will not be able to do a PR on this until we are back on September 12.
Other than that, I don't currently have any other bulbs to contribute to. Unless I find something in the closet somewhere ;-)

I have a Yeelight wifi bulb to do later this week.

I am currently measuring LCT001 but it takes for ever to do hs measurements and the script often stops after the bridge "burps". I then restart at the current bri level but as you can see sometimes it fails quite late in the bri. It seems more robust if I disable the hue integration in home assistant but then a lot of my automations break down... I already removed the bulb from my room group to avoid motions sensors and buttons tampering with the measurement :)
Changing light to:  {'bri': 51, 'hue': 26001, 'sat': 171}
Traceback (most recent call last):
  File "measure.py", line 230, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "measure.py", line 89, in main
    await light.set_state(**variation)
  File "/home/media/homeassistant-powercalc/utils/measure/measure/lib/python3.8/site-packages/aiohue/lights.py", line 153, in set_state
    await self._request("put", "lights/{}/state".format(self.id), json=data)
  File "/home/media/homeassistant-powercalc/utils/measure/measure/lib/python3.8/site-packages/aiohue/bridge.py", line 117, in request
    res.raise_for_status()
  File "/home/media/homeassistant-powercalc/utils/measure/measure/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 503, message='Service Temporarily Unavailable', url=URL('https://<IP_ADDRESS>/api/UpdJmBRVFlPo0uo3aem4-XhU25VyhIH5Q7ek8oIj/lights/2/state')

I have already measured LTW012 but am having trouble getting powercalc to accept my .gz file any specifics on how to prepare the .gz file?
Other than that I would like to measure LST002 (light strip 2nd gen) however last I tried it showed 0w for all measurements.
I am hoping the Home Assistant based script will be more robust with regards to api calls.

Currently, so it doesn't bother anyone at home, I'm doing color temperature and HS measurements for our LST001 Signify Lightstrip during our vacation.
However, I will not be able to do a PR on this until we are back on September 12.
Other than that, I don't currently have any other bulbs to contribute to. Unless I find something in the closet somewhere ;-)

Nice! Is the LST001 strip original length or extended / cut?

I am currently measuring LCT001 but it takes for ever to do hs measurements and the script often stops after the bridge "burps". I then restart at the current bri level but as you can see sometimes it fails quite late in the bri. It seems more robust if I disable the hue integration in home assistant but then a lot of my automations break down... I already removed the bulb from my room group to avoid motions sensors and buttons tampering with the measurement :)
Changing light to:  {'bri': 51, 'hue': 26001, 'sat': 171}
Traceback (most recent call last):
  File "measure.py", line 230, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "measure.py", line 89, in main
    await light.set_state(**variation)
  File "/home/media/homeassistant-powercalc/utils/measure/measure/lib/python3.8/site-packages/aiohue/lights.py", line 153, in set_state
    await self._request("put", "lights/{}/state".format(self.id), json=data)
  File "/home/media/homeassistant-powercalc/utils/measure/measure/lib/python3.8/site-packages/aiohue/bridge.py", line 117, in request
    res.raise_for_status()
  File "/home/media/homeassistant-powercalc/utils/measure/measure/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 1000, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 503, message='Service Temporarily Unavailable', url=URL('https://<IP_ADDRESS>/api/UpdJmBRVFlPo0uo3aem4-XhU25VyhIH5Q7ek8oIj/lights/2/state')

I have already measured LTW012 but am having trouble getting powercalc to accept my .gz file any specifics on how to prepare the .gz file?
Other than that I would like to measure LST002 (light strip 2nd gen) however last I tried it showed 0w for all measurements.
I am hoping the Home Assistant based script will be more robust with regards to api calls.
I have access to:

LWA001 (white)
LLC006 (living colors)
LWG004 (gu10 spots)
LTW010 (white and colour temp)

It will be a good idea to disable the particular bulb in home assistant to make sure it is not changed by home assistant during measuring.
There is also a constant START_BRIGHTNESS in the measure script which allows you to start at another brightness. Let's assume the script crashes on halfway brightness 61. Then rename your CSV file to 0-61.csv. And resume measuring at 61. Later stitch these files together (make sure to remove the 61 values from 0-61.csv, so you don't have duplicates).
I don't think the HA will be more robust, because it is using the exact same library to communicate with the Hue bridge as my script does (aiohue).

Thanks for the tip on disabling in home assistant. My issue might actually be with the "adaptive lighting" component. I will check and report back. Any tips on how to go from finished csv files (hs and ct) to a finished model?

Thanks for the tip on disabling in home assistant. My issue might actually be with the "adaptive lighting" component. I will check and report back. Any tips on how to go from finished csv files (hs and ct) to a finished model?

It's just gzip. In macosx or linux (which I am using) you can just do gzip hs.csv.
In windows you can use for example 7-zip, or search for other utils.

@wormiedk
If you are unable to measure LCT001 I will prepare this file, HS mode really lasts "forever" :D
It is much easier to measure borrowed bulb than ours, so my situation is better.
@bramstroker

Other than that I would like to measure LST002 (light strip 2nd gen) however last I tried it showed 0w for all measurements.

I have this problem also; in my case Shelly is the culprit - it takes measurements only if power draw is greater than some value (about 0.5W so it is reason for many similiar problems found by other contributors).
As of today I can see only one solution - measuring group of bulbs to have multiplicated power value (ant then will be possible to measure such small power draw by smartplugs), so it will complicate measurements a lot (and will be possible only if script could control groups of bulbs/devices like drivers).
I'm measuring LED1923R5 now, and so far I have only zero readings (low brightness so far) but I will not stop this measurement, as it can show minimal power draw, which Shelly could measure.
As next step I will try to use tp-link HS110 (in hope it can have different measuring system - as I know it was designed different, than most popular smart-plugs, but of course like others it is not intended to measure such small values, so it can have identical problem, I just do not know chipset used as measuring system and there are small chances that it is different).

Currently, so it doesn't bother anyone at home, I'm doing color temperature and HS measurements for our LST001 Signify Lightstrip during our vacation.
However, I will not be able to do a PR on this until we are back on September 12.
Other than that, I don't currently have any other bulbs to contribute to. Unless I find something in the closet somewhere ;-)

Nice! Is the LST001 strip original length or extended / cut?

It will be for the original strip with extensions detached.

original strip with extensions detached.
So it is possible you will get problem with lower limit of measurement of smart-plug, as I mentioned above.

original strip with extensions detached.

So it is possible you will get problem with lower limit of measurement of smart-plug, as I mentioned above.

I'll see when I get back from vacation. Before that I'm not interested at all ;-) However, I do not use a Shelly, but a socket with integrated current meter from AVM

Currently, so it doesn't bother anyone at home, I'm doing color temperature and HS measurements for our LST001 Signify Lightstrip during our vacation.
However, I will not be able to do a PR on this until we are back on September 12.
Other than that, I don't currently have any other bulbs to contribute to. Unless I find something in the closet somewhere ;-)

Nice! Is the LST001 strip original length or extended / cut?

It will be for the original strip with extensions detached.

I think the orignal 2m length as base is best way to go.

Here are the files for colortemp for the LTW012
LTW012.zip
It seems as if a lot of changes only result in small changes in wattage so maybe we could get along with fewer points?

Regarding LCT001 for i am at bri 91 at the moment but progress i quite slow

Here are the files for colortemp for the LTW012
LTW012.zip
It seems as if a lot of changes only result in small changes in wattage so maybe we could get along with fewer points?

Regarding LCT001 for i am at bri 91 at the moment but progress i quite slow

Hi @wormiedk thanks. File looks good. Can you make a Pull Request for this? Than you will also be marked as contributor for this repository, and it will cost me less time.
Maybe we could have a little less measure points, but the whole point of the LUT files is to be as accurate as possible. It's only a one time process, so if it takes 1 or 4 hours it won't be a big issue.

@wormiedk btw how did you create this cool graph?

@marithpl I you need polish discussion, you are welcome:
https://forum.arturhome.pl/t/powercalc-wirtualne-sensory-poboru-mocy-i-zuzytej-energii-hacs/2880

@wormiedk Did you already managed to create a pull request for LTW012? Let me know if you need any help.
Btw I will also soon have access to LWG004, so I could also measure those.
Would also be nice if you can add lights you are going to do to https://github.com/bramstroker/homeassistant-powercalc/discussions/categories/planned-measurements, so we have a single overview. @CM000n @OzGav would also be nice if you can add to planned measurements section.

We should definitely add a separate documentation to explain more about the measuring method to help beginners.

Hi, this is a great idea, I'd love to help but struggling to work out how. Before I get too excited and dig into this, is this limited currently to using a Hue hub? I run my zigbee network through deconz, have an old hue hub somewhere but ideally wouldn't want to have to go through a repairing exercise to switch bulbs between hubs.
Top marks for a clever integration - really do love this

Thanks @woodmj74
I just started today with a complete rewrite of the measure tooling.
In the new version you will be able to choose between different light controllers (which responsibility is to change the light settings) and between different power meters.
Light controllers:

Hue (this one calls hue bridge directly)
Hass (uses the HA api, which you can use to control your lights with deconz stick)

Power meters:

Shelly (uses shelly API directly)
Kasa
Tuya
Tasmota
Hass (uses the HA api, allowing you to use any power meter which is available in HA)

However I just started working on this, and quite busy coming two weeks so I don't know when it will be available.
If you can't wait you can have a look at the script in #110 which will use the HA api for light controlling and power measuring.

@bramstroker thanks! I'll await your rewrite and in the meantime do an audit of my bulbs. Thanks again for a great thing!

run my zigbee network through deconz, have an old hue hub somewhere but ideally wouldn't want to have to go through a repairing exercise to switch bulbs between hubs.

IMHO Re-pairing is less annoying than situation with measurement broken by automation or just by some HA user.
It is easier for me to measure borrowed bulbs/lamps than my  own hardware (as it is not connected with anything in my system).
@bramstroker "Request light models" cattegory is just asking for trouble, it is like "let's get on (we) and do (you)",maybe I'm wrong but IMHO this can lead to unnecessary demands.
And we need one cattegory more - as bin for finished models.

Closing this issue. There is a section planned measurements in discussion. Also other discussions regarding measurements can be done in the "discussions" section.


How to Properly Utilize handledrag(on:from:to)?

I just started working with KeyboardKit, and I'm really liking it so far! I would like to use handledrag(on:from:to) to recognize vertical swipes from the bottom half of the keyboard to output autocorrections/predictions. If a user swipes up from the bottom center, the keyboard would output the autocorrect/suggestion present in the center of the suggestion bar. If they swipe up from the bottom right, the suggestion on the right of the suggestion bar would be output. I've attached screenshots illustrating this.
I've theorized that I can accomplish my goal by using the handledrag(on:from:to) function, but I'm not sure how to implement it. I have a few questions:

Would I place override func handledrag(on:from:to) in the action handler?
Where is the action handler in the KeyboardPro Demo?
Can I use CGRect instead of CGPoint to make it easier to denote the gesture areas?
Are there functions that I can call to output specific autocorrect/predictions/suggestions (i.e. left, center, or right options of
the suggestion bar)?

I've included those screenshots below. The green horizontal rectangle represents the gesture start area and the red, blue, and yellow represent the columns corresponding with their respective suggestions:

Hi @Manteam111
This is currently not possible, since gestures are applied to each key, not the entire keyboard.
I want to replace the per-key gesture engine with a keyboard-wide one, but that's a massive undertaking and will not be done anytime soon.

Thank you so much for your help!


Portfolio All the Assets!

Let's say I want to create DAO that:

Keeps a balanced cryptocurrency portfolio.
Keeps track of its valuation wrt to a benchmark (e.g. USD and US inflation).
Pays dividends (e.g. exchanges part of the portfolio into ETH and transfers that a predefined set of accounts).

How much of the infrastructure for that already exists in an automated form?
How much could be built and automated?
How much can't be automated?

I can think of several use cases for this tool.

Cornucopia is a possible good name for this concept.
Benefits (whatever is written below about donation also has a corresponding effect in strict investment):

Creates a compounding force for optimization.
Decouples the donation in two parts: giving and receiving. Particularly if it has a delay (e.g. a period before the first dividends are paid). People can donate infrequently but get a constant stream of warm fuzzies as they get monthly/yearly receipts of their impact.
It allows people to coordinate through money. If the contributors are public it can help to build social status.
For a specific donation scenario, around 913 people die from hunger every day. This gives us around 333 thousand people in need of food per year. By rough rice contract prices we can buy around 150kg of rice for $42 today. 150kg of rice is roughly equivalent to 1,500kcal per day for a year, so 200kg would cost $56. Assuming the portfolio can average 3% above inflation per year, every $1,867 in the fund would be enough to feed one person forever from the dividends, $622 million is enough to end death by hunger.

Legend says the solution is Aragon with Open Enterprise template. GitHub repo.

Incidentally:

The Best Asset Distribution for Cryptocurrency Rebalancing.
Balancer is a protocol for programmable liquidity.
Show HN: Eiten – open-source tool for portfolio optimization.

This is pretty much what I had in mind with [[universal basic income]] + [[dao]].
I'm unsure if [[dao]] is needed, though. Perhaps [[agora]] is enough, with fund administration being community-driven and fully transparent (in an open ledger).

It's time for a people-powered, decentralised global  #basicincome. Join the world's biggest basic income experiment, built on #blockchain.

-- @gooddollarorg

Here's how flatcoins are the ultimate unlock. An asset that could maintain price flatness across a basket of goods would make the cryptoeconomy independent of all legacy states.

-- Balaji Srinivasan

There are many methods to pool forecasts. The most commonly used is the arithmetic mean of probabilities. However, there are empirical and theoretical reasons to prefer the geometric mean of the odds instead. This is particularly important when some of the predictions have extreme values. Therefore, I recommend defaulting to the geometric mean of odds to aggregate probabilities.

When pooling forecasts, use the geometric mean of odds


How to room the generated pdf file?

Even I put the cursor in the pdf file, the cmd + or cmd - will only affect the original tex file.

Do you want to zoom into the pdf?

@r-stein yes, zoom the pdf file.

This is a feature of your pdf viewer, you should focus the viewer first and then it depends. For Skim see Skim Help. For the atom integrated viewer the named keybindings should work, but you need to focus the tab.

@r-stein Thanks, it works. I should focus on the tab firstly, focus on the file but not the tab does not work.


Highlighted text doesn't remain highlighted.

I'm having a hard time highlighting text and having it remain highlighted. Highlighting text is useful for copy and pasting items that were previously used as we continue along with the assignment. I've attached a screen recording of what it looks like when I do highlight a text!
https://user-images.githubusercontent.com/32662508/194676505-74986849-8700-4744-8342-cbc551ad3f0f.mov

You are the best for including this screen recording! I think there are two things going on here:

You shouldn't need to copy anything from the console. Let's move that discussion to https://github.com/satsie/trybitcoin/pull/4
Nevertheless, it is a crappy user experience that you can't highlight text, and limits future design decisions.

Because of # 1 I don't consider this high priority, but it is definitely still a bug. Thank you for raising this issue!


Cannot set autoDelay

Hey, trying to use robot-js in an Electron app with Angular. I've linked the service below and the problem is that i can't seem to set the autoDelay. Everything else works, i can use this.keyboard().click() without problem but i can't seem to set autoDelay, i've tried with everything i can think of now, examples below.
https://github.com/viktorgullmark/exile-party/blob/features/robot-js/ExilePartyClient/src/app/shared/providers/robot.service.ts
 const range = this.electronService.robot.Range(5, 10);
this.keyboard().autoDelay.min = 10;
 this.keyboard().autoDelay.max = 30;
this.keyboard().autoDelay = range;

Hey there, it looks like you're instantiating the keyboard class each time. Try the following:
let keyboard = robot.Keyboard();
keyboard.autoDelay.min = 10;
keyboard.autoDelay.max = 30;
keyboard.click (...);

Hey, thanks for the response.  Thanks!


Deprecate the old menu component

Following https://github.com/callemall/material-ui/pull/2307
I think that we should

remove the usage of the old menu from the documentation and from our component.
add a deprecation warning

:+1: :+1:


Missing assemblies when building the solution

I get a few build errors with this message: "The reference assemblies for .NETCore,Version=v5.0 were not found." I'm sure it's just a simple installation I need to do but I'm not sure exactly what to download here.
The message also refers to "framework" but .Net Core is nothing to do with .Net Framework so this is adding to my confusion.

Also when I search specifically for this error nothing comes up, like it's just very rare. I have VS 2022 Enterprise.
Thanks.

To me it sounds like you have to download the .NET 5.0 SDK. But having the .NET 7.0 SDK installed should also work. To me it sounds like a Visual Studio installation issue but definitely not an issue with this library.


[Layers] Update DepthwiseConv2D(filterShape:...) bias initialization

Issue: DepthwiseConv2D(filterShape:strides:padding:activation:filterInitializer:...)
produces a shape mismatch error in the conv-bias sum of callAsFunction() when initialized under a
filterShape with channel-multiplier greater than 1.
More specifically, this is caused by initializing the bias vector with dimension equal to said channel-multiplier.
Fix :This PR adds the proper bias vector initialization by computing the dimensionality as:
bias vector dimension = output channel count = (input channel count * channel multiplier)

Thanks for the patch. Could you please add a test?


onSwipeLeft & Right rely on absolute not relate

Hi ,
Thanks for sharing for this project. I'm currently playing on this  module but faced some issue.
On the gesture onSwipeLeft and onSwipeRight, it seems are based on onTouchStart and get the abs position at the time.
So, sometime if I swipe right and back a bit, the gesture-calculation still count this backward as 'right'. It's a bit confuse usage if I try to rolling some images or videos.
I make a small test, if you are interested, please take a look of below website. It is just a small playground. You can try to scroll the blue bar in the middle and play/re-play the images.
http://www.dayeasier.com:8063/#/
I'm thinking to reset abs position while onHold event, on each short onHold timing will call init function to reset abs position.
But, I'm don't really know how achieve this idea on current project. Any suggestion to solve this issue ?
Thanks in advance for any your kindness respond !

@Damaotimlin thank you for you opinion.
I will try to take a loot at this issue as soon as possible.


Add DelayedCheckTest TCK

Signed-off-by: xstefank<EMAIL_ADDRESS>This TCK tests validates that if health check creation (here Readiness check) takes some time, the requests that are received before the health check instance is created report the right answer -- essentially meaning that all health checks must be invoked when request comes.

@Emily-Jiang is this what you've proposed during the meeting?


[IOS] The caller of UIApplication.openURL(_:) needs to migrate to the non-deprecated UIApplication.open

BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(:) needs to migrate to the non-deprecated UIApplication.open(:options:completionHandler:). Force returning false (NO).

https://github.com/JetBrains/compose-multiplatform-core/pull/1595


Cannot use gitpkg packages in snack

Summary

package.json (9:5)
Invalid dependency 'react-native-gifted-chat' (version 'https://github.com/myckhel/react-native-gifted-chat.git#react-native-gifted-chat-v0.16.7-gitpkg' is not a valid semver)
Retry

What platform(s) does this occur on?
Android, iOS, Web
SDK Version
41
Reproducible demo or steps to reproduce from a blank project
Add:
"react-native-gifted-chat": "https://github.com/myckhel/react-native-gifted-chat.git#react-native-gifted-chat-v0.16.7-gitpkg",
to package.json

Same problem here! is not possible??


python "import tensorfow" fail after source build

TF 0.7 built from source on Ubuntu 15.10, PIP package built and installed.  python import fails.
Python 2.7.10 (default, Oct 14 2015, 16:09:02)
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 23, in <module>
    from tensorflow.python import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 35, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 22, in <module>
    serialized_pb=_b('\n,tensorflow/core/framework/tensor_shape.proto\x12\ntensorflow\"z\n\x10TensorShapeProto\x12-\n\x03\x64im\x18\x02 \x03(\x0b\x32 .tensorflow.TensorShapeProto.Dim\x12\x14\n\x0cunknown_rank\x18\x03 \x01(\x08\x1a!\n\x03\x44im\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\tB/\n\x18org.tensorflow.frameworkB\x11TensorShapeProtosP\x01\x62\x06proto3')
TypeError: __init__() got an unexpected keyword argument 'syntax'

The root of this is a protobuf library version mismatch, you appear to be using an older version that 3.0. There's more information, and some possible solutions, in #11.

Try updating to 0.7.1 (cleanly -- uninstall tensorflow, probably even protobuf, and then reinstall 0.7.1).  Let us know if you still have problems.

Well - unfortunately that didn't work.  Steps taken:
Uninstall tensorflow
uinstall protobuf
rm local repository
git clone
bazel build (with CROSSTOOL cxx flag change)
bazel build pip
pip install
keith@NL015:~$ python
Python 2.7.10 (default, Oct 14 2015, 16:09:02)
[GCC 5.2.1 20151010] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 23, in <module>
    from tensorflow.python import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 35, in <module>
    from tensorflow.core.framework.graph_pb2 import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/graph_pb2.py", line 16, in <module>
    from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/attr_value_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/tensor_pb2.py", line 16, in <module>
    from tensorflow.core.framework import tensor_shape_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__shape__pb2
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/core/framework/tensor_shape_pb2.py", line 22, in <module>
    serialized_pb=_b('\n,tensorflow/core/framework/tensor_shape.proto\x12\ntensorflow\"z\n\x10TensorShapeProto\x12-\n\x03\x64im\x18\x02 \x03(\x0b\x32 .tensorflow.TensorShapeProto.Dim\x12\x14\n\x0cunknown_rank\x18\x03 \x01(\x08\x1a!\n\x03\x44im\x12\x0c\n\x04size\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\tB/\n\x18org.tensorflow.frameworkB\x11TensorShapeProtosP\x01\x62\x06proto3')
TypeError: __init__() got an unexpected keyword argument 'syntax'
>>>


Desktop notification setting not persistent

Reopening the app resets the desktop notifications setting to off

Known issue. Seems to be an issue with the Messenger.com code.

Help wanted.

Why is the notifications state retained sometimes and not always or never?
How do we make the state (Preferences > "Turn {on,off} desktop notifications") persistent? LocalStorage is enabled and messenger.com is using it (investigate via dev console.)
How do we reliably enable desktop notifications on first launch, given we resolve state persistence issues?

Pointers:

The directory js-env-research contains a list of JS files downloaded and "un-minified" from messenger.com — these might have changed since they were downloaded.
In the aforementioned dir, beautify.sh is a script that uses uglifyjs (npm install -g uglifyjs) to pretty-print all .js files in that directory.
Grep on desktopNotifsEnabled to get started


Error while parsing time in TextRequest function

Hi,
I've found an error while testing a small Recast/Go program with the new API version:
		response, err := recastClient.TextRequest("this is a test", nil)
		if err != nil {
			fmt.Println("TextRequest error: %s", err)
		}

And I received this error:
TextRequest error: parsing time ""2016-10-06T18:16:59.769174"" as ""2006-01-02T15:04:05Z07:00"": cannot parse """ as "Z07:00"}

The problem seems to appear while decoding the json response:
file: client.go
function: TextRequest
line: 111
instruction: err = json.NewDecoder(bytes.NewBuffer(body)).Decode(&r)
I've printed the body and the response seems to be ok:
body= {"results":{"uuid":"41647acc-b460-42c9-b914-c65d3e2b3c3d","source":"test2","intents":[{"slug":"eat","confidence":0.24},{"slug":"greetings","confidence":0.24},{"slug":"news","confidence":0.24},{"slug":"weather","confidence":0.24}],"act":"assert","type":"enty:currency","sentiment":"negative","entities":{},"language":"en","version":"2.0.0","timestamp":"2016-10-06T18:16:59.769174","status":200},"message":"Requests rendered with success"}

I've created a test to reproduce this error on GoPlayground :
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"time"
)

type Response struct {
	Timestamp time.Time `json:"timestamp"`
}

func main() {

	body := `{"timestamp":"2016-10-06T18:16:59.769174","status":200}`
	var r Response

	err := json.NewDecoder(bytes.NewBufferString(body)).Decode(&r)
	if err != nil {
		fmt.Println("err=", err)
	}
}

Hope this help.
Sébastien.

Hi Sebastien,
Thank you for this issue, we recently changed the format of the timestamp we return fom the API, and it appears that golang's json decoding doesn't handle this format (ISO 8601). I'll fix it as as soon as possible.
François

@SebastienBoisard
Hi  Sebastien I've got some news. It appears that the problem wasn't in the sdk itself but in the way we format the dates at Recast.AI. We are currently working on it. Thank you again for the feedback!

Great! :smile:


review/deploy naming standard changes in PR 113

using branch fmichaelobrien-pr-113 to review
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/pull/113
fmichaelobrien-macbookpro:pbmm-on-gcp-onboarding fmichaelobrien$ git fetch git@github.com:wrnu/pbmm-on-gcp-onboarding fix-naming-standard-module
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 15 (delta 0), reused 8 (delta 0), pack-reused 0
Unpacking objects: 100% (15/15), 3.72 KiB | 181.00 KiB/s, done.
From github.com:wrnu/pbmm-on-gcp-onboarding
 * branch            fix-naming-standard-module -> FETCH_HEAD

 On branch fmichaelobrien-pr-113
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    modules/naming-standard/configs/resource_naming_patterns.yaml
	modified:   modules/naming-standard/configs/storage/stg.tpl
	modified:   modules/naming-standard/configs/vpc/route.tpl
	modified:   modules/naming-standard/modules/common/gc_prefix/locals.tf
	modified:   modules/naming-standard/modules/common/name_generator/locals.tf
	deleted:    modules/naming-standard/modules/common/name_generator/main.tf

https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/commits/fmichaelobrien-pr-113
clone in shell
root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding$ git status
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding$ git checkout fmichaelobrien-pr-113
Branch 'fmichaelobrien-pr-113' set up to track remote branch 'fmichaelobrien-pr-113' from 'origin'.
Switched to a new branch 'fmichaelobrien-pr-113'
root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding$ cat modules/naming-standard/configs/storage/stg.tpl
${gc_governance_prefix}${user_defined_string}

create landing-zone folder
create landing-zone-stg-cndev project
org:<PHONE_NUMBER>31
folder:<PHONE_NUMBER>25
project: landing-zone-stg-cndev

root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding$ gcloud config set project landing-zone-stg-cndev
Updated property [core/project].
root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding (landing-zone-stg-cndev)$

2 billing accounts - derived the first OK as it was the one associated with the project
root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding (landing-zone-stg-cndev)$ gcloud alpha billing projects describe landing-zone-stg-cndev '--format=value(billingAccountName)'

root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding (landing-zone-stg-cndev)$ ./writeids.sh -c fill -f<PHONE_NUMBER>25
Derived organization_id:<PHONE_NUMBER>31
Derived billing_id: 011691-49FFF5-903E43
replacing IDs: billing: 011691-49FFF5-903E43 organization:<PHONE_NUMBER>31 folder:<PHONE_NUMBER>25 from placeholders
environments/bootstrap/bootstrap.auto.tfvars pass - fill:true
environments/bootstrap/organization-config.auto.tfvars pass - fill:true
environments/common/common.auto.tfvars pass - fill:true
environments/nonprod/nonp-network.auto.tfvars pass - fill:true
environments/common/perimeter-network.auto.tfvars pass - fill:true
environments/prod/prod-network.auto.tfvars pass - fill:true

root_@cloudshell:~/cloudshell_open/pbmm-on-gcp-onboarding (landing-zone-stg-cndev)$ git status
On branch fmichaelobrien-pr-113
Your branch is up to date with 'origin/fmichaelobrien-pr-113'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   environments/bootstrap/bootstrap.auto.tfvars
        modified:   environments/bootstrap/organization-config.auto.tfvars
        modified:   environments/common/common.auto.tfvars
        modified:   environments/common/perimeter-network.auto.tfvars
        modified:   environments/nonprod/nonp-network.auto.tfvars
        modified:   environments/prod/prod-network.auto.tfvars

manual mods
bootstrap.auto.tfvars

bootstrap = {
  userDefinedString           = "cndev" # REQUIRED EDIT Appended to project name/id ##needs to be lower case and min. 3 charaters
  additionalUserDefinedString = "sbx"
    terraformDeploymentAccount  = "terraform0627" # REQUIRED EDIT Name of a service account to be created (alphanumeric before the at sign) used to deploy the terraform code
  bootstrapEmail              =<EMAIL_ADDRESS># REQUIRED EDIT In the form of<EMAIL_ADDRESS>  region                      = "northamerica-northeast1" # REQUIRED EDIT Region name. northamerica-northeast1
  cloud_source_repo_name      = "cndevlzd" # REQUIRED EDIT CSR used as a mirror for code
        name = "cndevlzcom" # REQUIRED EDIT Must be globally unique, lower case letters and numbers only
    nonprod = {
      name = "cndevlznpd" # REQUIRED EDIT Must be globally unique, lower case letters and numbers only
    prod = {
      name = "cndevlzprd" # REQUIRED EDIT Must be globally unique, lower case letters and numbers only

organization-config.auto.tfvars
organization_config = {
  default_region  = "northamerica-northeast1" # REQUIRED EDIT Cloudbuild Region
  department_code = "Cn" # REQUIRED EDIT Two Characters. Capitol and then lowercase
  owner           = "cnd" # REQUIRED EDIT Used in naming standard
contacts = {
<EMAIL_ADDRESS>= ["ALL"] # REQUIRED EDIT Essential Contacts for notifications. Must be in the form EMAIL -> [NOTIFICATION_TYPES]

access_context_manager = { # REQUIRED OBJECT. VPC Service Controls object.
  user_defined_string = "cnacm" # Optional EDIT.
audit = {                                  # REQUIRED OBJECT. Must include an audit object.

  additional_user_defined_string = "cnd"
        bucket_name          = "auditcn"                     # REQUIRED EDIT. Must be globally unique, used for the audit bucket
      sink_name            = "cndcomsink1"                     # REQUIRED EDIT. Must be unique across organization
      bucket_viewer        =<EMAIL_ADDRESS># REQUIRED EDIT.
guardrails = {
  user_defined_string = "guardrails04" # Optional EDIT. Must be unique. Defines the guardrails project form department_codeEnvironmente-owner-user_defined_string

perimeter-network.auto.tfvars
      network_name                           = "cnhaper" # REQUIRED EDIT - example: depthaper
      network_name                           = "cnmgmtper" # REQUIRED EDIT - example: deptmgmtper

 nonp-network.auto.tfvars
nonprod_host_net = {
  user_defined_string            = "cndev" # REQUIRED EDIT Used to create project name - must be globally unique in aggregate
  additional_user_defined_string = "np" # check total 61 char limit with this addition

Test changes later for additional services on nonprod
check prod also
 #services                       = ["logging.googleapis.com" , "dns.googleapis.com"]
  services                       = [
                                    "logging.googleapis.com",
                                    "dns.googleapis.com",
                                    "cloudbuild.googleapis.com",
                                    "dataflow.googleapis.com",
                                    "cloudfunctions.googleapis.com",
                                    "compute.googleapis.com",
                                    "pubsub.googleapis.com",
                                    "bigquery.googleapis.com",
                                    "servicenetworking.googleapis.com",
                                    "networkmanagement.googleapis.com",
                                    "sqladmin.googleapis.com"
                                    ]

merged
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/pull/113


Drift in the yaw angles for both EKF and UKF. Is it normal?

@pronenewbits I noticed a significant drift in the yaw angles. For a time window of 5 minutes, it drifted from 10 degrees to 35 degrees. Is it normal or I am doing some mistake. I calibrated the magnetometer by forming 8 maneuvers. Please help.

Can you describe how you calibrated gyroscope and accelerometer?

How did you let this package work? my mpu9250 can not work

How did you let this package work? my mpu9250 can not work
Good afternoon @maemoKKK
Were you able to figure out the code or maybe you found another solution for creating AHRS using a Kalman filter?
https://github.com/pronenewbits/Arduino_AHRS_System/issues/4#issuecomment-1816185889


He is a good developer, I hope work with him.  Thanks. Devstar

He is a good developer, I hope work with him.
Thanks. Devstar

asdfasdf

Thanks.


node does not run from built in terminal

VSCode Version: 1.4.0
OS Version: windows 10 1607

Steps to Reproduce:
Node works:

Open VS Code by double clicking on its icon.
Open terminal (ctrl-`).
Write node -v in terminal.
Everything works fine

Node does not work:

Open VS Code by right-clickin on a Folder and Opan in VSCode
Open terminal (ctrl-`).
Write node -v in terminal.
Node will not work.

What does it say when node doesn't work? If it says it can't find node then can you check your echo %PATH% to make sure it's on the path?

Node is in the path. If I open a command line and wrrite node -v, I get the
proper response. Furthermore, if I open VSCode normally just by duble
clicking on its icon and opening a terminal inside VSCode the node -v
command works.
However is I open VSCode by right clicking on a folder and telling it to
open in VSCODE, the terminal inside VSCode does not see node.

Please tell me the exact message, "node will not work" and "vscode does not see node" is very ambiguous.


Missing information on text orientation (hOCR property textangle) with LSTM

Tesseract 4 generates the required property textangle with the old OCR engine, not when using LSTM. See https://github.com/tmbdev/hocr-tools/issues/148 for examples and more details.

The property should be written here.

Hi,
I am using Tesseract version 4.1.0,
I got confidence score for each character by using HOCR
but it's accuracy is low, so I want know

How the HOCR algorithm works and how it will calculate the confidence scores for each character
Can I changing any thing to improve the HOCR performance

@bertsky, the information is missing in the ALTO XML (which has a ROTATION tag) as well.

Interesting. This should already write the orientation angle (i.e. multiple of 90°) on current master. And it uses PageIterator.Orientation(), which is not related to (legacy) OSD, but the normal page segmentation included in PSM_AUTO, PSM_AUTO_OSD, PSM_AUTO_ONLY and PSM_SPARSE_TEXT_OSD. So it should work with any LSTM model loaded. I wonder why this issue even exists. (Have not tried it myself yet.)
But then, why does the code only use orientation value, but not add the skew angle?
@stweil Sure I'll do the same thing in #2815 as well.

This should already write the orientation angle (i.e. multiple of 90°) on current master.

Indeed, it is fixed in 4.1.1 and master which write the textangle tag, so I close this issue.


Embedded document index with partialFilterExpression is wrong

Bug Report

Q
A

BC Break
no

Version
2.1.2

Summary
Embedded documents when creating indexes receive them with wrong partialFilterExpression, as if they were not embedded.
Current behavior
For a document class:
/**
 * @ODM\EmbeddedDocument(indexes={
 *      @ODM\Index(
 *          background=true,
 *          name="statistic_aggregate_transaction_state_idx",
 *          keys={
 *              "last_changed"="asc",
 *              "transaction_state"="asc",
 *          },
 *          partialFilterExpression={
 *              "transaction_state"=StatisticAggregateState::TRANSACTION_STATE_CHANGESET_NEW,
 *          },
 *      ),
 * })
 */
class StatisticAggregateState
{
    private const TRANSACTION_STATE_CHANGESET_APPLIED = 'applied';
    public const TRANSACTION_STATE_CHANGESET_NEW = 'new';
    ...
}

...creates an index with following specification:
db.collection.createIndex(
    {
        "statistic_aggregate_states.transaction_state": 1,
        "statistic_aggregate_states.last_changed": 1
    },
    {
        name: "statistic_aggregate_states_statistic_aggregate_transaction_state_idx",
        background: true,
        partialFilterExpression: {
            transaction_state: "new"
        }
    }
)

Expected behavior
Created index should actually be:
db.collection.createIndex(
    {
        "statistic_aggregate_states.transaction_state": 1,
        "statistic_aggregate_states.last_changed": 1
    },
    {
        name: "statistic_aggregate_states_statistic_aggregate_transaction_state_idx",
        background: true,
        partialFilterExpression: {
            "statistic_aggregate_states.transaction_state": "new"
        }
    }
)

Given partial indexes were introduced in 1.1 (#1303) this needs to be fixed in 1.3.x branch and then merged up. Gonna schedule it so the report won't fall through the cracks


Fails to install dataclasses dependancy when working with python 3.6 and Ubuntu 18

Working on testing integrating podsearch with one of my projects - works fine on windows but on linux I get a ModuleNotFoundError when importing it.
File "/home/jwlodek/ProgrammingWorkspace/demo/venv/lib/python3.6/site-packages/demo/search.py", line 1, in <module>
    import podsearch
  File "/home/jwlodek/ProgrammingWorkspace/demo/venv/lib/python3.6/site-packages/podsearch/__init__.py", line 2, in <module>
    from podsearch.searcher import search  # noqa
  File "/home/jwlodek/ProgrammingWorkspace/demo/venv/lib/python3.6/site-packages/podsearch/searcher.py", line 3, in <module>
    from dataclasses import dataclass
ModuleNotFoundError: No module named 'dataclasses'

Installing the dataclasses package with pip fixes the problem:
(venv) jwlodek@hp-ws1:~/ProgrammingWorkspace/demo$ pip install dataclasses
Collecting dataclasses
  Downloading https://files.pythonhosted.org/packages/fe/ca/75fac5856ab5cfa51bbbcefa250182e50441074fdc3f803f6e76451fab43/dataclasses-0.8-py3-none-any.whl
Installing collected packages: dataclasses
Successfully installed dataclasses-0.8

This package requires Python 3.7+

Yes, I noticed that after the fact - pip was pulling I guess the last supported version which was v0.1.3

Unfortunately, even 0.1.x versions won't work on python 3.6. The package uses dataclasses, which are 3.7+ only.


feature/v021/DEV-314-System-Info-API

@thedigitaldesign Here is your build error
3:07:55 PM: Type error: Cannot find module '../../machine/models/Machine'.  TS2307
3:07:55 PM:     2 | import { storiesOf } from '@storybook/react'
3:07:55 PM:     3 | import { MachineSummaryView } from './MachineSummaryView'
3:07:55 PM:   > 4 | import { Machine } from '../../machine/models/Machine'
3:07:55 PM:       |                         ^
3:07:55 PM:     5 | import { StartButton } from './StartButton'
3:07:55 PM:     6 | import { action } from '@storybook/addon-actions'
3:07:55 PM:     7 | import { CompatibilityCheckPage } from './CompatibilityCheckPage'
3:07:55 PM: error Command failed with exit code 1.


Update Conversant header bid pattern

Update with Conversant's new endpoint

@pycnvr
did you want to keep the old domain around for a bit or has it been updated for awhile already?

It's been a while, but let me add it back just in case.

@mkendall07 Both patterns are added.  Thanks.


implement datediff macro

There is a sqlite__datediff_broken macro that needs to be  fixed, more fully implemented, renamed, and tested.

I have added PR here to address this for now.


TechNet Forum Language Support [ Azerbaijani ]

Is your feature request related to a problem? Please describe.
It is really hard to a country experts whom using Microsoft products and they cannot have support in their own language, also have forum to discussions in TechNet.
Describe the solution you'd like
Having a separate forum like other countries forum would be geart for Azerbaijani language speaking Microsoft products fans. I'm MCT Regional Lead for Azerbaijan and I can feel It that It is hard to lost in other forums and finally not to find answer to whom cannot speak or write in english language.

@saldana Can you please take a look at this issue?

@h-sadeghpour we thank you for your feedback. I agree with you that not having a forum in a language makes difficult for people to ask and follow questions in English. We do not have any immediate plans to open a forum for Azerbaijani at this moment. We are adding this to our backlog to consider it for the future. Thank you!


Add colors to compute_at edges and thread/block indices.

Minor enhancement to show colors on compute_at edges, because multiple edges sometimes are difficult to distinguish.
Also use blue fonts for thread/block indices in IterVar boxes.
Test.

@Hzfengsy, I made two simple changes to TEDD.  Would you please review it?

Thanks @Hzfengsy @yongfeng-nv !


2/15/2021 Publish

Docs Build status updates of commit 78d1c6e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

docs-conceptual/azureadps-2.0/install-adv2.md
:white_check_mark:Succeeded
View (azureadps-2.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


salt/jinja2 Error with when installing in addon mode in SIFT

Hi,
I'm trying to install remnux in addon mode alongside SIFT on Ubuntu 20.04.
When running 'sudo remnux install --mode=addon' I get the following error:

The contents of /var/cache/remnux/cli/v2022.16.1/saltstack.log are:

I see other issues relating to jinja2 that were apparently fixed/closed but this is happening for me with the latest version of remnux-cli (1.3.4)

I saw in another thread that using v3.0.3 of jinja worked for someone else so I downgraded jinja2 (pip install -Iv jinja2==3.0.3) but that didn't make a difference and I got the same error when running the remnux install

Hi @DanFelton , did you use sudo for the pip install command? If not, give that a try.

Ok, I am not fully sure what's going on with pip, but trying to do pip install -lv jinja2==3.0.3 didn't work. Then I did pip uninstall Jinja2, which didn't fully uninstall it, but seem to have downgraded Jinja2 to v3.0.3 (according to the output of sudo pip list).
I tried doing a fresh pip install for Jinja 3.0.3 and that seems to have worked. I'm not very knowledgeable with pip and I'm still not 100% sure why it said I had 3.0.3 installed after uninstalling 3.1.1


编译时错误（compile-time error）1

18:09:04: 正在执行 'runClient'…

> Configure project :
MixinGradle is skipping eclipse integration, extension not found
Java: <IP_ADDRESS> JVM: <IP_ADDRESS>+1-LTS(Microsoft) Arch: amd64
WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task
WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here.  Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula.

> Task :downloadMcpConfig
> Task :extractSrg UP-TO-DATE
> Task :createMcpToSrg UP-TO-DATE

> Task :compileJava
注: SpongePowered MIXIN Annotation Processor Version=0.8.5 (MixinGradle Version=0.7)
注: Supported obfuscation types: ObfuscationServiceMCP supports [notch] ObfuscationServiceFG3 supports [searge]
注: Loading searge mappings from E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\createMcpToSrg\output.tsrg
E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\src\main\java\net\ltxprogrammer\changed\mixin\compatibility\CarryOn\PickupHandlerMixin.java:16: 错误: Unable to locate obfuscation mapping for @Inject target canPlayerPickUpEntity
    @Inject(method = "canPlayerPickUpEntity", at = @At("HEAD"), cancellable = true)
    ^
注: Writing refmap to E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing refmap to E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing searge composite mappings to E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-mappings.tsrg
注: Writing refmap to E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing refmap to E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-refmap.json
注: Writing searge composite mappings to E:\我妈电脑 - cecnull1的东西（共享文件夹）\通用\项目\1\Changed-Minecraft-Mod\build\tmp\compileJava\compileJava-mappings.tsrg
1 个错误

> Task :compileJava FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings
4 actionable tasks: 2 executed, 2 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 6s
18:09:11: 执行完成 'runClient'。

没有加rafmap=flase

没有加rafmap=flase

在哪里加？


Can't install Linux version...

error: failed to select a version for env_logger.
... required by package icy_view_gui v0.2.2 (/home/shurato/Downloads/icy_tools-IcyTerm0.7.5/crates/icy_view_gui)
... which satisfies path dependency icy_view_gui of package icy_draw v0.3.0 (/home/shurato/Downloads/icy_tools-IcyTerm0.7.5/crates/icy_draw)
versions that meet the requirements ^0.11.1 are: 0.11.3, 0.11.2, 0.11.1
the package icy_view_gui depends on env_logger, with features: anstream but env_logger does not have these features.
It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
failed to select a version for env_logger which could resolve this conflict
after "sudo crate run --bin icy_term"
I thought I had all of the dependencies installed.  I'm more of a Windows user, but I thought I'd see if I could replicate the dogworld ][ bug on my system in Linux.

I've just updated the .deb files - can you try if these work ?
Not sure about the env_logger issue - I've changed the version number should now more gentle between the 0.11.x versions. But they did use the same. I'll look at the windows version - I'm just busy with icy_board atm.

works for me on windows as well :/ - I hate if that happens. And nothing in the log files?
I assumed that there may be a stream in block mode that may lock  but that can only happen in one protocol - and not all :/.

I'm still getting an error that the package can't find the env_logger version.  Using debian 12.

From: Mike Krüger @.>
Sent: Sunday, April 28, 2024 8:42 AM
To: mkrueger/icy_tools @.>
Cc: martykazmaier @.>; Author @.>
Subject: Re: [mkrueger/icy_tools] Can't install Linux version... (Issue #4)
grafik.png (view on web)https://github.com/mkrueger/icy_tools/assets/341098/1fd8b6c3-8fb6-4ae7-8643-8792ad640a58
works for me on windows as well :/ - I hate if that happens. And nothing in the log files?
I assumed that there may be a stream in block mode that may lock but that can only happen in one protocol - and not all :/.
—
Reply to this email directly, view it on GitHubhttps://github.com/mkrueger/icy_tools/issues/4#issuecomment-2081508146, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A4JLVXRDZPNP6DKITF6FSTLY7UDELAVCNFSM6AAAAABG4ZMCAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGUYDQMJUGY.
You are receiving this because you authored the thread.Message ID: @.***>


Output shows raw ANSI sequences on Windows < 10

We now rely on the support for ANSI output sequences on Windows, which was only added in Windows 10. We should use Windows's native console output API instead.

Since Windows 7 is deprecated now I guess this isn't needed anymore ?

I noticed you documented in commit cd1576a63 that only Windows 10 is officially supported. Does that mean this issue should be closed? Or, if not, changed from a bug to an enhancement as something we don't expect to work but would like to work if the cost of doing so was reasonable?

Yes this issue can be closed now. Yay \o/


Use user specified IP address list rather than resolving from subdomains

If you want the same feature, please react with 👍
Please don't comment "I want this too.." or "Me too..."

Is your feature request related to a problem? Please describe.
A feature that would allow users to brute-force VHosts on a list of IP addresses
Describe the solution you'd like
The program should take input with a flag --no-ip-resolve.
It should directly start brute-forcing them rather than resolving them.

A flag --skip-resolve was added in PR https://github.com/shriyanss/vhost-master/pull/14
Feature will be released in v0.0.4


Adjacent links problem

:wave: Carry over from derdennis/sort-markdown-footnotes/issues/1
I see the issue raised by @it-is-wednesday as a valid concern and worth addressing.

... noticed a probably unwanted behavior given the following situation:
lalala [^fn1][^fn2]
Caused by the following regex:
sort-markdown-footnotes/sort_footnotes
Line 21 in 5fd9838
link = re.compile(r'[^(?<=\n)](\[\^fn([\d]+)\])')
Seems like the engine refuses to accept [^fn2] as ([^fn([\d]+)]) because [^fn1] was already captured, so its last character can't be reused in the next expression?
That could lead to data loss, as these links' labels will be ignored and erased from the file.
Anyway, I guess there can be a couple of solutions:

Warn users about this particular situation
Before the actual sorting happens, find and fix this situation by adding spaces between the links (my favorite solution 😉)
Pull out some flashy regex-fu and change the above expression to somehow take into account these situation

I saw this and have some code in progress for the second alternative (add spaces before footnote sorting).
The solution will utilize an ArgParse boolean to determine whether or not to perform the pre-sorting work. :sunglasses:

resolved by #10


Find and add some useful workflows to the pipeline

There are for sure some useful GH-actions workflows out there, which we could add to our pipeline (besides deploying the website).
Some things that come to my mind would be:

spelling/grammar checking
markdown validation/linter (sonar? codeql? codefactor? ...)
markdown formatting (spotless? ...)
(if possibly, some sort of code checking on snippets)
maybe more?

Added a linter. Unfortunately, it doesnt have a super nice UI. But it works.

Added a language checker based on LanguageTool

ill see if i can find more useful stuff

These workflows, TBH, have been more of a PITA than anything else. I disabled the markdown lint one since there are way too many things to fix + autoformatting breaks footnotes. Will revisit if it starts to matter more or I start making a ton of meaningful mistakes


Convert to PDK and Puppet 7

This collection of commits does convert the module to Puppet 7 and PDK compatibility. It satisfies puppet-lint and robucops.
I would like to get this PR reviewed and merged before continueing to work on the module and unit tests.

Thanks for your review, I guess now this PR is complete :)

BTW. Would it make more sense to add the "current" default to say Ubuntu.yaml in Hiera and then in cases where it is something different it would be added to a Ubuntu-14.04 YAML file? This would make the module automatically support new releases (unless they're different)?
Or do you think it is better to be explicit?
So in the case of Ubuntu it would be:
Ubuntu.yaml
postfix::main_daemon_directory: '/usr/lib/postfix/sbin'

Ubuntu-14.04.yaml
 postfix::main_daemon_directory: '/usr/lib/postfix'

That's a good question, I am not sure myself what I would prefer. I like to be explicit because it eleminates guessworking. On the other side it brings the 'cost' of adding support for new versions later on.
In the SSH module (v4 branch) I have created explicit configuration files for each OS family and variation. I have to confess that I like it a lot. All settings for an specific OS are collected in hiera files :)
But please let us continue that question outside of this PR that is dedicated to migrate to Puppet 7. I would like to create new PRs for refactoring the unit tests to start using rspec-puppet-facts and anothers for refactoring details like the above.

Sure. Let's get this merged!


Compilation Error

libtorch was downloaded from https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-1.11.0%2Bcpu.zip
When compiling the package, the following errors and many other similar ones are reported.
  cargo:warning=libtch/torch_api_generated.cpp.h:8528:29: error: 'mkldnn_convolution_backward_weights' is not a member of 'torch'

cargo:warning=libtch/torch_api_generated.cpp.h:11222:111: error: too many arguments to function 'at::Tensor& at::softplus_backward_out(at::Tensor&, const at::Tensor&, const at::Tensor&, const c10::Scalar&, const c10::Scalar&)'

Cargo.toml
[package]
name = "sim"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ndarray = "0.15"
#tch="0.6.1"
tch = {git = "https://github.com/LaurentMazare/tch-rs"}

As mentioned in the readme, this crate is only compatible with pytorch 1.10.0. Support for the newly released 1.11.0 is ongoing and should be around in the next few days.

The latest version of this crate (0.7.0) should work with pytorch 1.11.0. Closing this issue for now, feel free to re-open if you still run into issues.


fix: TopologySpreadConstraints cause the leaf pod pending

What type of PR is this?

/kind bug
What does this PR do?

TopologySpreadConstraints cause the leaf pod pending
Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

Work with RocketMQ Operator

/approve
/lgtm


No such file found when trying to run eval()

I'm trying to evaluate the output of train.py created by my agent. The --log-dir flag I sent in the original command was "house-price-testing-v1-gpt4" which I assume should match the "--log-folder" flag.
I'm actually not sure what to expect from the eval command presented in the README. I assume that a score (% accuracy?) will be found in a results.json file (which will be in my root directory?).
But before I can even get a results.json file produced, I'm running into this error with the eval command. I was wondering if you'd be able to help provide more information about what to expect from the eval.py script and how to address this error?

One workaround was 1) changing the code for this because it seemed like the absolute path pointed to MLAgentBench//env_log/../log, but the root directory should be  instead of MLAgentBench and 2) copying and pasting main_log into the root  directory as "log" -- I don't see a log file being generated and therefore it's throwing an error, I only have a main_log file generated. I don't think this is the best workaround, so would be interested in hearing thoughts on what might be happening and if there's a better fix.

The question of where is 'answer.csv' still persists though and prevents an actual evaluation.

I've made a workaround to get eval() working.
It seems like the code was expected answer.csv to be either in the root directory (which doesn't make sense because it's never copied there), or it could be reasonable to think that it'll be under the step folder. However, answer.csv from my testing is downloaded into /scripts folder instead of /env folder so it'll never be copied into the workspace and the steps.
My current workaround was to add an argument into the get_score() function for the answer file path pointing to f"MLAgentBench/benchmarks/{benchmark_folder_name}/scripts/answer.csv", but curious if this is an expected issue or if I'm missing something.

One workaround was 1) changing the code for this because it seemed like the absolute path pointed to MLAgentBench//env_log/../log, but the root directory should be instead of MLAgentBench and 2) copying and pasting main_log into the root directory as "log" -- I don't see a log file being generated and therefore it's throwing an error, I only have a main_log file generated. I don't think this is the best workaround, so would be interested in hearing thoughts on what might be happening and if there's a better fix.

The question of where is 'answer.csv' still persists though and prevents an actual evaluation.

We generate the MLAgentBench//env_log/../log file to catch all the output of the script as shown here: https://github.com/snap-stanford/MLAgentBench/blob/main/multi_run_experiment.sh#L44

I've made a workaround to get eval() working.
It seems like the code was expecting answer.csv to be either in the root directory (which doesn't make sense because it's never copied there), or it could be reasonable to think that it'll be under the step folder. However, answer.csv from my testing is downloaded into /scripts folder instead of /env folder so it'll never be copied into the workspace and the steps.
My current workaround was to add an argument into the get_score() function for the answer file path pointing to f"MLAgentBench/benchmarks/{benchmark_folder_name}/scripts/answer.csv", but curious if this is an expected issue or if I'm missing something.

Our script expects answer.csv to be generated in the same folder as eval.py and is supposed to work out of the box.  Will check on this in my end.

This could be a Docker problem, but it seems unlikely. When I go to the eval.py for benchmarks/house-price/scripts, the "os.path.abspath("answer.csv")" prints to be MLAgentBench/answer.csv. This doesn't exist, and I assume the expected filepath was really benchmarks/house-price/scripts/answer.csv.
Maybe Docker sets the os.path to start from MLAgentBench, but I'm still not sure how the line "test_data = pd.read_csv("answer.csv")" in eval.py could possibly know the right path ("benchmarks/house-price/scripts/answer.csv") unless the user called the eval function from benchmarks/houes-price/scripts in command line.

Yeah I think we were calling it directly from command. Could you push your workaround? Thanks!


exportToJson not working (iOS)

Describe the bug
I'm trying to use the exportToJson function in "full" in a database with 60+ tables. When i call the function, the library starts exporting only to return this error:
Error: exportToJson: Error get tables 'Full' failed : Error value is not (string, nsnull,int64,double
This happens ONLY on iOS, the project compiles as is for Android works just fine.
To Reproduce
Steps to reproduce the behavior:

Fill a Database with data.
Call the exportToJson native functions with the args: exportToJson("full",false)

Expected behavior
Return the exported JSON
Screenshots

Desktop (please complete the following information):

OS: macOS Sonoma 14.2.1 | Mac Mini M2 16gb ram
Browser Safari

Smartphone (please complete the following information):

Device: iPhone Xr
OS: iOS 17.2.1

Additional context
Capacitor Sqlite on Ionic/React

@VesperiniL can yo give exactely the way you create the connection to the database and then open it and then the call to the exportToJson command

I'm having the same issue with a new project.
I've identified a possible reason related to the definition of my table properties.
If I define a property of type NUMBER, then the export fail

@miguelchico can you provide a small repro app showing the issue. As i do not have any news on my request to @VesperiniL i cannot solve an issue if i can"t reproduce it. Thanks in advance

hi @jepiqueau, I'm sorry but I can't provide a repo. The way to reproduce it is easy.
I just followed https://jepiqueau.github.io/2023/08/26/Ionic7Angular-SQLite-CRUD-App.html and included a column of type number in the table creation.
After that, trying to export the error will appear

@miguelchico  i cannot reproduce i give the list of modifications so you can follow-up and see what are the differences with your code. i took the Part1 ionic7-angular-sqlite-app and did the following

modify the user.upgrade.statement.ts to include like you suggest a column of type NUMBER

export class UserUpgradeStatements {
  userUpgrades = [
      {
      toVersion: 1,
      statements: [
          `CREATE TABLE IF NOT EXISTS users(
          id INTEGER PRIMARY KEY AUTOINCREMENT,
          name TEXT NOT NULL,
          age NUMBER,
          active INTEGER DEFAULT 1
          );`
      ]
      },
      /* add new statements below for next database version when required*/
      /*
      {
      toVersion: 2,
      statements: [
          `ALTER TABLE users ADD COLUMN email TEXT;`,
      ]
      },
      */
  ]
}

Modify the storage.service.ts to add a exportDBUser method

import { SQLiteDBConnection } from '@capacitor-community/sqlite';
import { Injectable} from '@angular/core';
import { SQLiteService } from './sqlite.service';
import { DbnameVersionService } from './dbname-version.service';
import { UserUpgradeStatements } from '../upgrades/user.upgrade.statements';
import { User } from '../models/user';
import { BehaviorSubject, Observable } from 'rxjs';

@Injectable()
export class StorageService {
  public userList: BehaviorSubject<User[]> =
                              new BehaviorSubject<User[]>([]);
  public databaseName: string = "";
  private uUpdStmts: UserUpgradeStatements = new UserUpgradeStatements();
  private versionUpgrades;
  private loadToVersion;
  private db!: SQLiteDBConnection;
  private isUserReady: BehaviorSubject<boolean> = new BehaviorSubject(false);

  constructor(private sqliteService: SQLiteService,
              private dbVerService: DbnameVersionService) {
      this.versionUpgrades = this.uUpdStmts.userUpgrades;
      this.loadToVersion = this.versionUpgrades[this.versionUpgrades.length-1].toVersion;
  }
  async initializeDatabase(dbName: string) {
      this.databaseName = dbName;
      // create upgrade statements
      await this.sqliteService
      .addUpgradeStatement({  database: this.databaseName,
                              upgrade: this.versionUpgrades});
      // create and/or open the database
      this.db = await this.sqliteService.openDatabase(
                                          this.databaseName,
                                          false,
                                          'no-encryption',
                                          this.loadToVersion,
                                          false
      );
      this.dbVerService.set(this.databaseName,this.loadToVersion);

      await this.getUsers();
  }
  // Current database state
  userState() {
      return this.isUserReady.asObservable();
  }
  fetchUsers(): Observable<User[]> {
      return this.userList.asObservable();
  }

  async loadUsers() {
      const users: User[]= (await this.db.query('SELECT * FROM users;')).values as User[];
      this.userList.next(users);
  }
  // CRUD Operations
  async getUsers() {
      await this.loadUsers();
      this.isUserReady.next(true);
  }
  async addUser(name: string) {
      const sql = `INSERT INTO users (name) VALUES (?);`;
      await this.db.run(sql,[name]);
      await this.getUsers();
  }

  async updateUserById(id: string, active: number) {
      const sql = `UPDATE users SET active=${active} WHERE id=${id}`;
      await this.db.run(sql);
      await this.getUsers();
  }
  async deleteUserById(id: string) {
      const sql = `DELETE FROM users WHERE id=${id}`;
      await this.db.run(sql);
      await this.getUsers();
  }
  async exportUserDB(): Promise<any> {
    this.userList.subscribe(users => {
      console.log('User List:', users);
    });
    if (this.sqliteService.platform === "web") {
      this.sqliteService.saveToStore(this.databaseName);
    }
    const jsonExport =  await this.db.exportToJson('full');
    console.log(`jsonExport: ${JSON.stringify(jsonExport)}`);
    return jsonExport;
  }
}

Modify the home.page.ts and  add a handleOnClick() method

import { Component } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { UsersComponent } from '../components/users/users.component';
import { StorageService } from '../services/storage.service';
import { SQLiteService } from '../services/sqlite.service';

@Component({
 selector: 'app-home',
 templateUrl: 'home.page.html',
 styleUrls: ['home.page.scss'],
 standalone: true,
 imports: [IonicModule, UsersComponent ],
})
export class HomePage {
 constructor(private sqliteService: SQLiteService,
             private storage: StorageService) {}

 async handleOnClick () {
   const jsonUserDB = await this.storage.exportUserDB();
   console.log(`Users export: ${JSON.stringify(jsonUserDB)}`);
 }
}

Modify the home.page.html  to add a button in the header to export the database

<ion-header [translucent]="true">
  <ion-toolbar>
    <ion-buttons slot="end" >
      <ion-button (click)="handleOnClick()">
        <ion-icon name="download" slot="icon-only"></ion-icon>
        </ion-button>
      </ion-buttons>
    <ion-title>
    Managing Users
    </ion-title>
  </ion-toolbar>
</ion-header>

<ion-content [fullscreen]="true">
  <ion-header collapse="condense">
      <ion-toolbar>
      <ion-title size="large">Managing Users</ion-title>
      </ion-toolbar>
  </ion-header>

  <app-users></app-users>
</ion-content>

and i ran the app on ios

i entered two users Sue Hellen and Dave Watson

and i click on the button and got as result

[log] - User List: [{"id":1,"name":"Sue Hellen","age":null,"active":1},{"id":2,"name":"Dave Watson","age":null,"active":1}]

[log] - jsonExport: {"export":{"mode":"full","tables":[{"name":"users","values":[[1,"Sue Hellen",null,1],[2,"Dave Watson",null,1]],"schema":[{"column":"id","value":"INTEGER PRIMARY KEY AUTOINCREMENT"},{"column":"name","value":"TEXT NOT NULL"},{"column":"age","value":"NUMBER"},{"column":"active","value":"INTEGER DEFAULT 1"}]}],"database":"myuserdb","version":1,"encrypted":false}}

and then in the Home.page

[log] - Users export: {"export":{"mode":"full","tables":[{"name":"users","values":[[1,"Sue Hellen",null,1],[2,"Dave Watson",null,1]],"schema":[{"column":"id","value":"INTEGER PRIMARY KEY AUTOINCREMENT"},{"column":"name","value":"TEXT NOT NULL"},{"column":"age","value":"NUMBER"},{"column":"active","value":"INTEGER DEFAULT 1"}]}],"database":"myuserdb","version":1,"encrypted":false}}

which is correct

@VesperiniL @miguelchico hey guys, if you do not follow-up or not prepare to share what your are doing , please do not open an issue i have tried and not able to reproduce the issue. If you do not reply in the coming days i will close the issue

@VesperiniL What type of values are you using do you have blob or something else in your tables that you intend to export

@VesperiniL @miguelchico fixed in v5.6.1-3


334 improve chloropleth legend

Addresses #334

Thanks for your review @NealHumphrey! I'll merge this now and leave an issue for later.


Add UI test to NavigationRail

Adds UI tests to NavigationRail and makes some small fixes to project structure and a small bug introduced in the DualView UI test PR. A few new functions were also added to TestUtils for getting string resources with arguments and simulating an "unfold"

The PR looks good. I would suggest that we add some test cases to test the navigationRail and bottomNavigation on dual screen and single screen, since it is the main scenario for this sample. And also test whether the list is showing across both screens, not detail view shown in dual landscape mode(horizontal fold).