[Request for External] codeunit 99000787 "Create Prod. Order Lines" procedure CopyFromSalesOrder

Can we please have external access to the procedure CopyFromSalesOrder of codeunit 99000787 "Create Prod. Order Lines"
    // <<<<<<<<<<<<<<<<
    // local procedure CopyFromSalesOrder(SalesHeader: Record "Sales Header"): Boolean
    procedure CopyFromSalesOrder(SalesHeader: Record "Sales Header"): Boolean
    var
        SalesPlanLine: Record "Sales Planning Line" temporary;
        Location: Record Location;
        LeadTimeMgt: Codeunit "Lead-Time Management";
        ...
    // >>>>>>>>>>>>>>>>

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Rename DML backend as DMLX backend

Could you help update the CI for the renamed DMLX? @BruceDai

Could you help update the CI for the renamed DMLX? @BruceDai

Yes, I will submit a PR to update CI, thanks.

Could you help update the CI for the renamed DMLX? @BruceDai

Yes, I will submit a PR to update CI, thanks.

OK, I will do it by myself as you told me, thanks for your help! @BruceDai

The CI failure is due to baseline.

Yes, regression check in CI is to compare master branch, while master branch can't recognize webnn_enable_dmlx arg,  so it failed to get the baseline of End2End tests for DirectMLX backend (Windows) CI and Node Binding (DirectMLX backend / Windows) CI. These failure are as expected.
@fujunwei Please help merge this PR with passing others CI, thanks.

Please make sure there are no regression when building with Chromium, the commit need to be rolled to otcshare/chromium. thanks.

Please make sure there are no regression when building with Chromium, the commit need to be rolled to otcshare/chromium. thanks.

I checked, there is no regression. @fujunwei
Op tests: passes:238 failures: 93.

Merge it, thanks for validation.


Optimize Oren-Nayar model

@Crisspl and @achalpandeyy can you check my mathematical reformulation on pen and paper?

All done @Crisspl and @achalpandeyy someone checked it, all good.


Lowest Common Ancestor Binary Search Tree

Title: Lowest Common Ancestor Binary Search Tree
About: Aim is to create project to find lowest common ancestor of 2 nodes in a binary search tree
Name: Pushpit Jain
Label: Feature Request
Assignee: ''

Define You:

[x] DevIncept Participant
[ ] Contributor

Is your feature request related to a problem? Please describe.
LCA is the first common node, that occurs when we move from 2 nodes to the root. It is a famously asked interview question. It can be translated to many real word and tech world problems.

Describe the solution you'd like...
I will use the python class to create a nodes for the binary search tree and find the lca using recursive approach.
Please assign me this issue under Devincept21

Issue assigned. @pushpit-J19


Missing assets in entrypoint.auxiliaryAssets part of stats object in production mode

Bug report

What is the current behavior?
In production mode font files from CSS files, which are imported in an entrypoint JS file, are not listed in stats.entrypoints['entrypointIdentifier'].auxiliaryAssets.
Example CSS file:
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Roboto Light'), local('Roboto-Light'),
  url('../Assets/Fonts/Roboto/roboto-v18-latin-300.woff2') format('woff2'),
  url('../Assets/Fonts/Roboto/roboto-v18-latin-300.woff') format('woff'),
  url('../Assets/Fonts/Roboto/roboto-v18-latin-300.ttf') format('truetype')
}

If the current behavior is a bug, please provide the steps to reproduce.
Webpack in production mode or with optimization.sideEffects = true.

What is the expected behavior?
The font files should be part of auxiliaryAssets regardless of production/development mode or sideEffects setting.
Example part of the stats object:
stats.entrypoints['entrypointIdentifier'].auxiliaryAssets: [
    {
      name: 'Assets/roboto-v18-latin-300.815babff.woff2'
    },
    {
      name: 'Assets/roboto-v18-latin-300.a0de923c.ttf'
    },
    {
      name: 'Assets/roboto-v18-latin-300.d4c409df.woff'
    },
]

Other relevant information:
webpack version: 5.9.0
Node.js version: 15.2.1
Operating System: Windows 10
Additional tools:

Please create fully reproducible test repo

Sure: https://github.com/geldmacher/webpack_issue_12099_test_repo
See console output in build process for missing auxiliaryAssets.

Yeah, this can be fixed in mini-css-extract-plugin.
The problem is that currently assets are attached to the JS module, which is empty and therefore removed from the chunks and with it the assets. Which is probably correct as assets in a unused module are probably not needed. It probably shouldn't even emit these assets, but that's another story (and we can't change this without a breaking change).
So in the end the assets need to be attached to the CssModule instead of the JS module in mini-css-extract-plugin.
@alexander-akait Here are the changes I did to fix it. Assets are passed through the CssDependency to the CssModule and attached there.
 // in loader.js
   childCompiler.runAsChild((err, entries, compilation) => {
+    const assets = Object.create(null);
+    const assetsInfo = new Map();
+
     for (const asset of compilation.getAssets()) {
-      // buildInfo stuff
+      assets[asset.name] = asset.source;
+      assetsInfo.set(asset.name, asset.info);
     }

 // in loader.js
+      let lastDep;

       for (const dependency of dependencies) {
         if (!dependency.identifier) {
           // eslint-disable-next-line no-continue
           continue;
         }

         const count = identifierCountMap.get(dependency.identifier) || 0;

-        this._module.addDependency(new CssDependency(dependency, dependency.context, count));
+        this._module.addDependency(lastDep = new CssDependency(dependency, dependency.context, count));

         identifierCountMap.set(dependency.identifier, count + 1);
       }

+      lastDep.assets = assets;
+      lastDep.assetsInfo = assetsInfo;

 class CssDependency extends Dependency {
   constructor(...) {
     super();
     ...
+    this.assets = undefined;
+    this.assetsInfo = undefined;
   }

+ // changes in serialize and deserialize

 class CssModule extends Module {
   constructor({
     context,
     identifier,
     identifierIndex,
     content,
     media,
     sourceMap,
+    assets,
+    assetsInfo
   }) {
     super(_utils.MODULE_TYPE, context);
     this.id = '';
     this._context = context;
     this._identifier = identifier;
     this._identifierIndex = identifierIndex;
     this.content = content;
     this.media = media;
     this.sourceMap = sourceMap;
-    this.buildInfo = {};
+    this.buildInfo = {
+      assets,
+      assetsInfo
+    };
     this.buildMeta = {};
  } // no source() so webpack 4 doesn't do add stuff to the bundle

+ // changes in serialize and deserialize

Sounds logic to me. I applied your fix to my local mini-css-extract-plugin. Seems to work. Hope this gets merged. Thanks a lot! =D

Fixed https://github.com/webpack-contrib/mini-css-extract-plugin/pull/662, release will be today


Fix spec. list & watermark spec. count differing

I wasn't able to fully test in-game due to lack of time, but it should work just fine.
Moved the spectator update process to a separate function that either gets called from the watermark, or if the watermark is disabled, then from the spectator list.
Previously, you had the new spectator check implemented for only one of those two, the other one was still using the old method.

I will check this before pulling if I can


Readd module _NIOConcurrency to not break adopters

@PeterAdams-A great catch. Fixed.

swift:nightly-main still falling because of Sendable requirements.


[Fixes #7644] NodePattern: Fix unification within unions

Fixes #7644, as well as adds support for unification with unions.

Looks great! Thanks!

Thank you!


Update relnotes for 0.11.2006.403

Separating out the release notes for 0.11.2006.207 and 0.11.2006.403 and recommending an upgrade to the latest version.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/relnotes/index.md
76

16
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 0abb155:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/relnotes/index.md
:white_check_mark:Succeeded
View

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/relnotes/index.md
76

16
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology.

Article
Acrolinxscore
Lowestcategoryscore
Spellingissues
Scorecard
Processed

articles/relnotes/index.md
76

16
link
:white_check_mark:

More information about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues
Troubleshooting issues with Acrolinx

Docs Build status updates of commit 5d189ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/relnotes/index.md
:white_check_mark:Succeeded
View

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 824367d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/relnotes/index.md
:white_check_mark:Succeeded
View

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Target Heater-Cooler Stat warning - Lost heat

I have updated to version 1 and I'm now getting this warning in my logs.
[3/22/2024, 7:48:47 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Target Heater-Cooler State': characteristic value 1 is not contained in valid values array. See https://homebridge.io/w/JtMGR for more info.
I have also lost the "heat" mode from the selection:

I have remove All Cached cccessories and rebooted HB and I still have the issue.

The error was already there before the update, it cannot be hidden.
There was a breaking change with update v1.0.0. As it turned out there is a regulation in the USA where common ACs doesn't have (or not allowed to have) heating capability. You have to enable it through the config.

I don't know how should I notify users about breaking changes in the future.

Check the "Heating Capability" on each of my unit with a clear of the cache fixed my issue.
I looked at the commit log and didn't really see anything related to major changes for heating, only 2 of them seemed related to head and were marked as a "fix".
That's interesting, our units here in Canada are sold as "Heat Pumps" (https://senville.ca/mini-split/energy-star/)

Well, I won't expect users to read the commit log, also there was a major version update from v0.4.x to v.1.0. I will try to keep the commits clear tho, you are right.

Also check issue #68 for more informations about the regulation.
"I think, in lieu of that, I think defaulting as AC only is probably best. The Consumer Safety Product Commission (as well as most state and municipal fire codes afaik) in the United States have regulations against selling devices that allow the remote control (read: different location) of heaters due to concerns about fires. For all portable heaters (such as Dyson Cool+Hot fans), the heating controls are disabled both in the Dyson app as well as the Dyson Homebridge plugin."

Interesting, I would like to see backing of this statement and see exacly what type of unit this applies to as there are tones of smart thermostats and various heating units that are smart so this dosent really make sense. Not saying it's not true just trying to understand :)
A mini split is not really a portable device, it's a fix unit but I understand that the API is not differentiating beteen the portable window AVC and these fix Mini Split.

Well, I won't expect users to read the commit log, also there was a major version update from v0.4.x to v.1.0. I will try to keep the commits clear tho, you are right.

I agree, but it's usually the only place where we can see the changes :)

@rogersjc42 could you please tell us more about the regulation?

@kovapatrik I apologize for the confusion, but portable ACs are allowed to have a heating function. However, the temperature control for a heater must be secured to the heating device and/or something that requires physically looking at the heating device per US regulation UL 1278. This regulation is behind a paywall just like most things in the US, but was recently updated (in 2019) due to deaths via hypothermia and fire hazards, to the best of my understanding. The CSPC and local fire codes typically also advise against using app controlled portable heaters.
Most portable ACs in the United States are not sold with a heater function because of this since most of them have a remote or app function. And if they are not UL listed devices, most retailers in the US will not sell them. Again, this is limited to portable and wall hung heaters. Central HVAC units are governed by a different set of regulations entirely, in fact it is an entire group (UL 23, 25, 27, and 97). There are no similar limitations on central HVAC controls. As @boboxx said, minisplits would fall into the HVAC category.

Ah, okay, I thought this regulation was for HVACs.
IMO most people will use this plugin for HVACs though, so I might change back defaulting the heating capability to true. I think there is no way to recognize if it's a HVAC or a portable heater/cooler. What you guys think about this?

Oh! Yeah if the intention of the intention (and general userbase) leans toward HVAC users, I definitely agree in making heating: true to be the default. As long as we can turn that capability off when our device does not have that function, I am happy. And even if not, I think I can tolerate a superfluous and benign error lol

What about "cloning" the Air Conditioner and have one for protable AC and one for HVAC that would have the different configuration

It would add so much duplicated code, that it isn't worth it. Also, the discover tool couldn't set a device's type to a portable AC as it's not possible to detect if it's portable or not.

Or maybe it's possible. @rogersjc42 could you please send the logs from the plugin when it discovers your device? it should contain a device type or something I think, but the whole object could be more useful. (of course, you can filter out the serial if you want to).

[3/22/2024, 1:43:52 PM] [homebridge-midea-platform] Loaded homebridge-midea-platform v1.0.0 child bridge successfully
[3/22/2024, 1:43:52 PM] Loaded 1 cached accessories from cachedAccessories.XXXXX
[3/22/2024, 1:43:52 PM] [homebridge-midea-platform] Loading accessory from cache: Office AC
[3/22/2024, 1:43:52 PM] [homebridge-midea-platform] Start device discovery...
[3/22/2024, 1:43:52 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-midea-platform) is running on port 46419.
[3/22/2024, 1:44:00 PM] [homebridge-midea-platform] [Office AC] Device not found (id: XXXX), will retry every 60 seconds

It appears that the plugin no longer detects my AC. I can set it up using my credentials and the IP address, but after that the plugin does not detect the AC.

Is your device on a VLAN or something?

I fixed it. My AC's IP address had changed, and the app kept reporting the old IP. I fixed the issue by clearing the cache in the app and clicking the "Refresh Function" in the SmartHome app. That seemed to fix the problem. Here are the logs:
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] Launched child bridge with PID 26586
[3/22/2024, 2:28:13 PM] Registering platform 'homebridge-midea-platform.midea-platform'
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] Loaded homebridge-midea-platform v1.0.0 child bridge successfully
[3/22/2024, 2:28:13 PM] Loaded 1 cached accessories from cachedAccessories.XXXXXX.
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] Loading accessory from cache: Office AC
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] Start device discovery...
[3/22/2024, 2:28:13 PM] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-midea-platform) is running on port 47556.
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] Discovered device: {"ip":"XXX.XXX.XXX.XXX","port":6444,"id":XXXX,"model":"00000Q1C","sn":"XXX","name":"nXXX","type":172,"version":3}
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] [Office AC] Restoring existing accessory from cache: Office AC
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] [Office AC] Cached device, using token/key from config file
[3/22/2024, 2:28:13 PM] [homebridge-midea-platform] [Office AC] Starting network listener.
[3/22/2024, 2:28:21 PM] [homebridge-midea-platform] All configured devices added to Homebridge

Okay, the model number might indicate if it's HVAC or portable. My device is model 00000Q11, but we need more data to be sure about this. @boboxx could you please also look for your model?

Also @rogersjc42 it is a good practice to reserve an IP for your device in your router.

Also @rogersjc42 it is a good practice to reserve an IP for your device in your router.

Are you saying, in reference to the plugin, I should edit the DHCP server settings to provide a static IP to the AC?

Yeah, I do this with every device which is used in my smart home system.

I'll take it into consideration, but I think my DHCP server can do its job over me assigning 60+ devices a static IP

True, but in this case there is a possibility your device's IP will change.

Okay, the model number might indicate if it's HVAC or portable. My device is model 00000Q11, but we need more data to be sure about this. @boboxx could you please also look for your model?

Here is my start up log:
[3/23/2024, 11:00:13 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[3/23/2024, 11:00:13 AM] [HB Supervisor] Started Homebridge v1.7.0 with PID: 31797
[3/23/2024, 11:00:13 AM] Loaded config.json with 0 accessories and 4 platforms.
[3/23/2024, 11:00:13 AM] Loaded 6 cached accessories from cachedAccessories.
[3/23/2024, 11:00:13 AM] ---
[3/23/2024, 11:00:13 AM] Loaded plugin<EMAIL_ADDRESS>[3/23/2024, 11:00:13 AM] Registering platform 'homebridge-midea-platform.midea-platform'
[3/23/2024, 11:00:13 AM] [midea-platform] Initializing midea-platform platform...
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Workshop
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Den
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Living Room
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Master Beedroom
[3/23/2024, 11:00:13 AM] [midea-platform] Start device discovery...
[3/23/2024, 11:00:13 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786325856294,"model":"00000Q13","sn":"0000000000000Q130B23757BD040000","name":"net_ac_BD04","type":172,"version":3}
[3/23/2024, 11:00:13 AM] [midea-platform] [Den] Restoring existing accessory from cache: Den
[3/23/2024, 11:00:13 AM] [midea-platform] [Den] Cached device, using token/key from config file
[3/23/2024, 11:00:13 AM] [TplinkSmarthome] Device First Online: [Front Pots Lights] plug [8006AD43CCC5413A9476099841806CDD1D77A5C4] <IP_ADDRESS> 9999
[3/23/2024, 11:00:13 AM] [TplinkSmarthome] Adding: [Front Pots Lights] plug [8006AD43CCC5413A9476099841806CDD1D77A5C4]
[3/23/2024, 11:00:14 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786325856280,"model":"00000Q13","sn":"0000000000000Q130B237475B060000","name":"net_ac_5B06","type":172,"version":3}
[3/23/2024, 11:00:14 AM] [midea-platform] [Living Room] Restoring existing accessory from cache: Living Room
[3/23/2024, 11:00:14 AM] [midea-platform] [Living Room] Cached device, using token/key from config file
[3/23/2024, 11:00:14 AM] [TplinkSmarthome] Device First Online: [Coffee] plug [8006145A940BAA109E66800705566CAB1B207D7C] <IP_ADDRESS> 9999
[3/23/2024, 11:00:14 AM] [TplinkSmarthome] Adding: [Coffee] plug [8006145A940BAA109E66800705566CAB1B207D7C]
[3/23/2024, 11:00:14 AM] [TplinkSmarthome] [Coffee] Removing stale Characteristic: [Outlet.Brightness] uuid:[00000008-0000-1000-8000-0026BB765291]
[3/23/2024, 11:00:14 AM] [midea-platform] [Living Room] Starting network listener.
[3/23/2024, 11:00:14 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":141837000183162,"model":"00000Q13","sn":"0000000000000Q13C20939594E80000","name":"net_ac_94E8","type":172,"version":3}
[3/23/2024, 11:00:14 AM] [midea-platform] [Workshop] Restoring existing accessory from cache: Workshop
[3/23/2024, 11:00:14 AM] [midea-platform] [Workshop] Cached device, using token/key from config file
[3/23/2024, 11:00:14 AM] [midea-platform] [Den] Starting network listener.
[3/23/2024, 11:00:14 AM] [midea-platform] [Workshop] Starting network listener.
[3/23/2024, 11:00:14 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 11:00:14 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 11:00:14 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 11:00:20 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786325856292,"model":"00000Q13","sn":"000000P0000000Q130B23748ECA40000","name":"net_ac_ECA4","type":172,"version":3}
[3/23/2024, 11:00:20 AM] [midea-platform] [Master Beedroom] Restoring existing accessory from cache: Master Beedroom
[3/23/2024, 11:00:20 AM] [midea-platform] [Master Beedroom] Cached device, using token/key from config file
[3/23/2024, 11:00:20 AM] [midea-platform] [Master Beedroom] Starting network listener.
[3/23/2024, 11:00:21 AM] [midea-platform] All configured devices added to Homebridge

Okay, the model number might indicate if it's HVAC or portable. My device is model 00000Q11, but we need more data to be sure about this. @boboxx could you please also look for your model?

Here is my start up log:
[3/23/2024, 11:00:13 AM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules --strict-plugin-resolution
[3/23/2024, 11:00:13 AM] [HB Supervisor] Started Homebridge v1.7.0 with PID: 31797
[3/23/2024, 11:00:13 AM] Loaded config.json with 0 accessories and 4 platforms.
[3/23/2024, 11:00:13 AM] Loaded 6 cached accessories from cachedAccessories.
[3/23/2024, 11:00:13 AM] ---
[3/23/2024, 11:00:13 AM] Loaded plugin<EMAIL_ADDRESS>[3/23/2024, 11:00:13 AM] Registering platform 'homebridge-midea-platform.midea-platform'
[3/23/2024, 11:00:13 AM] [midea-platform] Initializing midea-platform platform...
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Workshop
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Den
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Living Room
[3/23/2024, 11:00:13 AM] [midea-platform] Loading accessory from cache: Master Beedroom
[3/23/2024, 11:00:13 AM] [midea-platform] Start device discovery...
[3/23/2024, 11:00:13 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786325856294,"model":"00000Q13","sn":"0000000000000Q130B23757BD040000","name":"net_ac_BD04","type":172,"version":3}
[3/23/2024, 11:00:13 AM] [midea-platform] [Den] Restoring existing accessory from cache: Den
[3/23/2024, 11:00:13 AM] [midea-platform] [Den] Cached device, using token/key from config file
[3/23/2024, 11:00:14 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786325856280,"model":"00000Q13","sn":"0000000000000Q130B237475B060000","name":"net_ac_5B06","type":172,"version":3}
[3/23/2024, 11:00:14 AM] [midea-platform] [Living Room] Restoring existing accessory from cache: Living Room
[3/23/2024, 11:00:14 AM] [midea-platform] [Living Room] Cached device, using token/key from config file
[3/23/2024, 11:00:14 AM] [midea-platform] [Living Room] Starting network listener.
[3/23/2024, 11:00:14 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":141837000183162,"model":"00000Q13","sn":"0000000000000Q13C20939594E80000","name":"net_ac_94E8","type":172,"version":3}
[3/23/2024, 11:00:14 AM] [midea-platform] [Workshop] Restoring existing accessory from cache: Workshop
[3/23/2024, 11:00:14 AM] [midea-platform] [Workshop] Cached device, using token/key from config file
[3/23/2024, 11:00:14 AM] [midea-platform] [Den] Starting network listener.
[3/23/2024, 11:00:14 AM] [midea-platform] [Workshop] Starting network listener.
[3/23/2024, 11:00:14 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 11:00:14 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 11:00:14 AM] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[3/23/2024, 11:00:20 AM] [midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":30786325856292,"model":"00000Q13","sn":"000000P0000000Q130B23748ECA40000","name":"net_ac_ECA4","type":172,"version":3}
[3/23/2024, 11:00:20 AM] [midea-platform] [Master Bedroom] Restoring existing accessory from cache: Master Bedroom
[3/23/2024, 11:00:20 AM] [midea-platform] [Master Bedroom] Cached device, using token/key from config file
[3/23/2024, 11:00:20 AM] [midea-platform] [Master Bedroom] Starting network listener.
[3/23/2024, 11:00:21 AM] [midea-platform] All configured devices added to Homebridge

And is your device an HVAC?

I have this unit in the house (den, master, living room): https://senville.ca/36000-btu-tri-zone-mini-split-air-conditioner-sena-36hf-t/
and this unit in the workshop: https://senville.ca/18000-btu-mini-split-air-conditioner-sena-18hf/

Hi all I just wanted to add that I’m a new user of this plugin and everything seems to work well except the heat function. Even when I toggle heating capability the heat option does not show up for me. My MiniSplit system is also a heat pump, but they’re connected to the network using a US-OSK105 NetHome Plus dongle. Thoughts?

I use both US-OSK105 and US-OSK103 with my units and they are working

Well then... haha. I must be doing something wrong. Let me send through my screenshots and see what y'all think.

Was this from a fresh new install or did you upgrade? Did you try clearing the devices cache and doing a reboot?
When you say "toggle heating capability" if that from the the plugin configuration > device > Air Conditioner Options or from the accessories item?

This was a fresh install. I can completely uninstall it, but the AC Options need to be set after discovery right? I'm not sure how to clear cache so I haven't done that part.
Toggle the heating capability is under Air Conditioner Options.

I fixed it... the default name when they were discovered had underscore characters. I removed those and it started working. Now I'm just getting an error about an illegal attribute for the temp threshold when I set it to Fahrenheit

Then this must be a cache issue. You can delete cached accessories from the Homebridge GUI: go into settings, and there should be a section called "Manage Cached Accessories", and in that section a button called "Remove Single Cached Accessory". From there you can delete any cached accessories.

This must be related to cache as you mentioned. All the errors went away when I started fresh and made sure to have the mini splits named properly and all settings configured to preference prior to introducing them to homebridge. Honestly the plugin is outstanding. Thank you so much for your efforts creating it!

I'm seeing these message now with version 1:
[3/26/2024, 11:57:20 AM] [midea-platform] [Living Room] Create new socket, reconnect
[3/26/2024, 11:57:21 AM] [midea-platform] [Living Room] Does not supports the protocol MessageQuery, ignored, error: Error: [Living Room | refresh_status] Error when receiving data from device.
[3/26/2024, 11:57:22 AM] [midea-platform] [Living Room] Does not supports the protocol MessageNewProtocolQuery, ignored, error: Error: [Living Room | refresh_status] Error when receiving data from device.
[3/26/2024, 11:57:26 AM] [midea-platform] Socket closed without error
[3/26/2024, 11:57:26 AM] [midea-platform] [Master Bedroom] Create new socket, reconnect
[3/26/2024, 11:57:28 AM] [midea-platform] [Master Bedroom] Does not supports the protocol MessageQuery, ignored, error: Error: [Master Bedroom | refresh_status] Error when receiving data from device.
[3/26/2024, 11:57:29 AM] [midea-platform] [Master Bedroom] Does not supports the protocol MessageNewProtocolQuery, ignored, error: Error: [Master Bedroom | refresh_status] Error when receiving data from device.
[3/26/2024, 12:00:50 PM] [midea-platform] Socket closed without error
[3/26/2024, 12:00:50 PM] [midea-platform] [Den] Create new socket, reconnect
[3/26/2024, 12:00:51 PM] [midea-platform] [Den] Does not supports the protocol MessageQuery, ignored, error: Error: [Den | refresh_status] Error when receiving data from device.
[3/26/2024, 12:00:52 PM] [midea-platform] [Den] Does not supports the protocol MessageNewProtocolQuery, ignored, error: Error: [Den | refresh_status] Error when receiving data from device.

I think these errors are present when the plugin cannot connect to the device.

@rogersjc42 FYI, with 1.0.4 (which got released just not) I've changed back the heatingCapable property default value to true

@boboxx if this error is still present, please create another issue for it. I will close this one for now.


The "remnux upgrade" command fails, stating in saltstack.log: ModuleNotFoundError: No module named 'yaml'

On Ubuntu 18.04 (bionic), salt-states v2021.15.2 introduced an error that broke subsequent remnux upgrades. This issue did not effect Ubuntu 20.04 (focal) systems.
On the affected system, a remnux upgrade command would with the generic error message:
Update returned exit code not zero
Error: Update returned exit code not zero
    at ChildProcess.<anonymous> (/snapshot/remnux-cli/remnux-cli.js:568:23)
    at ChildProcess.emit (events.js:315:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

The the bottom of the saltstack.log file that the tool generated under /var/cache/remnux/cli would state:
ModuleNotFoundError: No module named 'yaml'

If you encountered this issue, run the following command to fix it:
apt install --reinstall python3-yaml

This has been fixed, but if you downloaded the Ubuntu 18.04 (bionic) OVA or upgraded REMnux during the recent one-week period, you can fix the issue via the apt command above.

Hello,
I'm having the same issue in Ubuntu 20.04. I've installed REMnux from General OVA. I attach you my saltstack.log, because I tried reinstalling python3-yaml without solution. Could you help me?
saltstack.log
Thank you.

Hi @javier-es , It looks like an issue with the python2 implementation of pefile. Taking a look at it now!

Looks like it's being tracked here as well: https://github.com/erocarrera/pefile/issues/318

@javier-es, @digitalsleuth submitted a temporary fix to the pefile issue. The REMnux installer/upgrader should now complete without issues.


[Violet Rails Core] scrub method/model definitions coming into Violet Rails of things like: Subdomain, Apartment, Tenant, switch, SomeModel.destroy_all, SomeModel.update_all, global_admin, can_manage_users

We are using 'eval(#custom code)' in our code.
We need to implement a way to scrub method/model definitions coming into Violet Rails of things like: Subdomain, Apartment, Tenant, switch, SomeModel.destroy_all, SomeModel.update_all, global_admin, can_manage_users, -- so we can open this upto platform developers on subdomains instead of whole systems (like how we have it now, because of this vulnerability).

implement this as a before_save validation

external_api_clients => model_definition
https://github.com/restarone/violet_rails/blob/master/app/models/api_action.rb#L64-L67


Default frame limiter to a refresh rate of 60 Hz

In some cases OpenTK provides the framework with an invalid refresh rate (e.g. 0 Hz). In such cases the frame limiter was previously broken; it did nothing. This commit instead defaults the frame limiter to using a refresh rate of 60 Hz (and multiples thereof) as it is most likely the user has a 60 Hz display. If the user has a higher refresh rate, then the 8x or unlimited frame limiters should still provide sufficient functionality for good use.

Looks good. 👍


Refactor dwrf::StreamIdentifier

dwrf::StreamIdentifier was used as a parameter of BufferedInput::
enqueue(), which causes circular dependency problems for future
refactoring that will move dwrf::common::BufferedInput to dwio::common.
This commit extracts a common interface and moves it to dwio::common::
StreamIdentifier. dwrf::DwrfStreamIdentifier, a subclass of dwio::
common::StreamIdentifier, is introduced for dwrf. The EncodingKey,
which was used to identify a DWRF encoding, is now a field of
DwrfStreamIdentifier.

Thanks @yingsu00, could you address the build breaks?


Support meltano add directly from Hub

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3283
Originally created by @aaronsteers on 2022-02-23 23:01:08

(Probably) blocked by #3031.
We'd like users to be able to add MeltanoHub plugins directly from the meltano add command.
Once this is working, the Hub can be updated with the install instructions on each detail page.
For instance, similar to the choco install ... CLI guidance on Chocolatey detail pages:
Click to expand

... we'd have the text:

Install with Meltano:
meltano add extractor tap-gitlab --variant=MeltanoLabs

... or with an http ref:

Install with Meltano:
meltano add extractor tap-gitlab --from_ref=https://hub.meltano.com/singer/taps/tap-gitlab--meltanolabs.yml

We'll likely need to first build #3031+, since this is the issue which decouples us from discovery.yml. We could go in another order, but then the inference is that the entire plugin definition would need to live in their meltano.yml file, which is parity with --custom but doesn't give a similar experience versus discovery.yml.

View 44 previous comments from the original issue on GitLab


'terraform fmt' runs only for 'pull_request' event and does not show error logs during exit

Description:
During a workflow run here the terraform format command will get success only when EVENT_NAME is a pull_request event.
Actual Behavior:

The terraform format runs only for pull_request. This may cause for credential theft from forked repositories.
Does not show valid error logs / information during workflow failures for terraform fmt.

Expected Behavior:

The terraform format should be run on both pull_request and pull_request_target.` This means the workflow is running from a trusted source and is given access to a read/write token as well as secrets enabling the maintainer to safely comment on or label a pull request.

# Check if EVENT_NAME is either pull_request or pull_request_target
if [ "$EVENT_NAME" != "pull_request" ] && [ "$EVENT_NAME" != "pull_request_target" ]; then
    { echo "Error: Invalid event name. Expected either 'pull_request' or 'pull_request_target'."; exit 1; }
fi

Exit messages must be added to the exit code in order to identity workflow failures and further debugging.

Run bash /home/runner/work/_actions/org_name/github-action-format/main/main.sh
…
INPUT_COMMIT_MESSAGE: style: terraform fmt -recursive
EVENT_NAME: pull_request_target
Error: Invalid event name. Expected either 'pull_request' or 'pull_request_target'.
Error: Process completed with exit code 1.

Pull Request: https://github.com/suzuki-shunsuke/github-action-format/pull/583 has been raised for this

https://github.com/suzuki-shunsuke/github-action-format/pull/586
https://github.com/suzuki-shunsuke/github-action-format/pull/590

v0.2.0 is out 🎉
The issue has been solved.
https://github.com/suzuki-shunsuke/github-action-format/releases/tag/v0.2.0

Thank you @suzuki-shunsuke


Input not scaling on mobile devices

Noticing some scaling issues on mobile device browsers with this input. Easy to reproduce with Chrome inspect's device toolbar or by setting a mobile user agent in Safari.
Desktop:

Mobile:

Hey @nathanbiehl I think #18 fixes this issue. I'm waiting to see if @ofhouse can confirm that his code is ok to merge before merging it as I'm currently outside of my office for some days and I cannot test it currently.
If he doesn't answer I'll test the code and merge it in a few days and come back to this issue with the solution :)

Having the same problem. Has anyone found a fix?

Hey @melisamasso as I said before, this will be fixed soon once we merge #18 which will be hopefully this week :)

The code is merged now so if you download latest version 1.7.0 you should be able to have it properly resized.
Please reopen the issue if the problem persists.
Thanks :)

@ajimix unfortunately I'm still seeing the scaling issue after updating my coffee script file. The input appears to still be scaled at its original 1x px size, while the rest of the UI is scaled up to 2x.

Ok I'll reopen the issue then, and I'll check it once I'm back home in a few days. Meanwhile if someone can check it and make a pull request it would be nice :)

@nathanbiehl Can you provide a minimal example project to reproduce the issue?
Asking because I've tested it here with other results, so it would be great to see whats happening in your code.

I'm working on simplifying my prototype. After stripping properties from one of the inputs,  one of them is now resizing. I'll hopefully be able to isolate some of problematic properties.

@ofhouse
Looks like the issue is with setting the height and width through css style properties. Styles are the only way I can change the color of the inputed text. Setting color through the component 'color' option does nothing. While I was setting color I was also using style to set sizing. That works at 1x in a desktop browser, but when the layout displays on a mobile devices it doesn't get scaled.
new_password_input_hidden.style =
	color: "#1F6196"
	fontSize: "16px"
	width: "290px"
	height: "44px"

Here's a simple demo. Top input has height & width set in options, bottom input has them set in styles: https://framer.cloud/QyGMO

Hey @nathanbiehl starting from the latest version released a few hours ago, you can use the textColor property.
For the width and height, you should use the properties and not setting the style manually like you are doing.
Please try using the properties and let's see if it works :)

Can't fully convert to the textColor option. It does set the color on creation, but I have to still use the style property to change the text color in real time (e.g. changing an input's text to an error color).

Ok you can use the style then, but only for the color. Don't use the other properties as those are the ones making your input fail when retina

I'm closing the issue as looks like it was a problem with the code.
Please reopen if necessary.


Add addittional worlds from this repo

https://github.com/raseribanez/Minecraft-Pi-Python-NEW-MAPS
I had problems loading them. Ask alv for more  info

Please make pull request!

I can't! I am having world loading problems. It does nott load, displays a white  inffinite void, then if you reload it generates a world and all shades are broken

Then there’s no need to add them


LinearCartesianTicks Callback

Hi,
I'm having trouble getting my tick callback method to fire in my server-side app
My testing so far has been on a stacked bar chart
Here is my code, the callback does not get called, and the format of the ticks of the chart stay as the default
private BarConfig _config;
protected override void OnInitialized()
{
    _config = new BarConfig
    {
        Options = new BarOptions
        {
            Scales = new BarScales
            {
                XAxes = new List<CartesianAxis>
		{
                    new BarCategoryAxis
                    {
                        Stacked = true,
                    },
                },
                YAxes = new List<CartesianAxis>
		{
                    new BarLinearCartesianAxis
                    {
                        Stacked = true,
                        Ticks = new LinearCartesianTicks()
                        {
                            FontSize = 16,
                            Callback = new DelegateHandler<AxisTickCallback>(YTickCallback)
                        }
                    }
                }
            }
        }
    };
}

private string YTickCallback(JValue value, int index, JArray values)
{
    return $"{value:C2}";
}

You're correct. Although this code is fine and will work on client-side Blazor (tested), callbacks with return value not supported on server-side Blazor.
If you open the developer tools of your browser, you should see a console message like this:

In order to achieve the result you want, you'll have to write a JavaScript method and attach it with a JavaScriptHandler. Check the XML-docs by hovering over the types and properties. If you need help with JavaScriptHandler, you can comment below and I'll try to give you instructions.
The underlying problem here is well known and documented under #90 so I'll close your issue. If you have any ideas on how to solve this issue, comment on #90. Thanks!

Thank you for your prompt reply, and your work on this library!

Perfect, I'm glad you got it working. If you have any other questions just open a new issue :)


Update ELMAH link to its new home

ELMAH has a new home now that Google Code Project Hosting has shutdown.

Thanks. Can you use the regular GitHub URL first. Feel free to include the github.io link in the description. That's how all the other links work.

@richlander The GitHub URL would be a bit confusing for many folks as it's not representative of the entire project. For example, the ELMAH code repos are still in Mercurial (due to the long project history of over 10 years) and hosted on BitBucket. I intend to move them to GitHub eventually & as time permits. Meanwhile, the issues & docs have been migrated to GitHub because that needed addressing more urgently. The https://elmah.github.io/ URL helps because I can update the links there as various project assets are migrated. Also, I think if a project has a home page/site then that should be the more natural landing URL to use. Wouldn't you say?

The thing that I'm after is providing a consistent experience with this file. The first link takes you to code, not to an arbitrary site with an arbitrary navigation/linking system to get to the code. Many project owners wanted to link to their marketing site, but I don't think that's a great user experience for people consuming this file. That's why I've stuck to this form and now that's the scheme for the whole file.
How about you link to bitbucket as the first link and then include the gh.io in the text.

How about you link to bitbucket as the first link and then include the gh.io in the text.

@richlander I've done that. Let me know if it's good now. Meanwhile, I've managed to migrate the ELMAH sources to GitHub so the point about BitBucket is mute now anyway.

Sweet!
Thanks. Appreciated.


How do I get the position while scrolling ?

How do I get the position while scrolling? I will hide the search bar according to it.

Hi @mkalayci35, that's more a SwiftUI ScrollViews question.
At the moment, they don't have an official API to get the scroll position.
But you could obtain it anyway with the use of View Preferences.
Have a look at this article https://swiftui-lab.com/scrollview-pull-to-refresh/, it's about the pull to refresh but you can adapt it to hide the search bar once you get the scrollOffset.
Unfortunatly, that also means you'll have to modify WaterfallGrid for your specific need.
Hope this helps,
Thanks.


Auto remove nodes

Operator should check the current known cluster nodes against the pods API and remove any pods that have terminated. Any pods that exist regardless of health state should remain. This will keep the cluster admin ui clean when nodes are naturally replaced such as after an upgrade

As of Logscale 1.70, the new vhost selection feature cleans up old nodes automatically after 2 hours if they don't hold any segments.
A node shouldn't end up in this state after typical upgrades or restarts, only when the volume backing the pod is removed.
Closing as we're relying on Logscale to do the node cleanup.


UPDATE 1.21.1

Is the mod being updated to this version at some point or is 1.20.4. the last? Would love to see this mod continue as it made building, world edit cmds, server reloading and giving my friends night vision so much easier...
Please continue :D Love the mod!

https://github.com/kyrptonaught/CMDKeybinds/pull/70
My updated version

Thank you so much! <3 Works flawlessly. Issue can be closed.


167 naming update

transitioning name to pyxyfy in anticipation of expanding scope of functionality to 3d point estimation from multiple 2d images


Feature Request: Day and Night Mode Integration

Proposing the integration of day and night modes into the ExamTime notes sharing website. This feature offers users the flexibility to switch between light and dark themes based on their preference, enhancing readability and reducing eye strain. Excited to implement this enhancement for improved user experience. Kindly assign me to this task.

Tailwind Flowbite provides amazing features of toggle modes between light and dark like this button

Assignee: I have already completed my previous tasks please assign this to me.

@harithaguna Assigned :+1:

Thank you for the confirmation! I'll start working on resolving the issue right away.


Fix coveralls

What was wrong?
Coveralls is not working, COVERALLS_REPO_TOKEN is not needed anymore
How was it fixed?
Don't use COVERALLS_REPO_TOKEN
@gnosis/safe-services

Interesting... so it breaks if the environment variable is set? thinking

Yes, it looks like it's trying to use it but it's not working anymore


chore(tsconfig): Added codeFormatOptions

One more :smile:

This follows the spec defined by the typescript language services.
https://github.com/Microsoft/TypeScript/blob/master/tests/cases/fourslash/fourslash.ts#L70-L87
This is used by atom-typescript to pass off formatting options to the compiler.  I'm not aware of any other tools that use this, but extensions to tsconfig.json are not illegal unless they clash with the default properties.

I was curious about this changes in original PR, in RxJS currently does not uses tsconfig.json at all but manually specifying options in build script due to populating different build targets, instead of creating separate tsconfig.json project configuration. How does it affect to build outputs?

It doesn't affect the build at all, the compiler ignores any settings it doesn't know about.  It's just for editor experience only.  Extensions are allowed as per https://github.com/Microsoft/TypeScript/issues/1955
It's just a quality of life thing for anyone using atom-typescript ( probably just myself, lol :smile: )

I see. I think it's ok since changes are non-invasive, but let me leave this for a while to see if there's any other suggestions around before check in changes.

Merged with bcb01d1, thanks @david-driscoll :)

Forgot to close..


[fix] subdir site oauth login

Coverage decreased (-6.4%) to 77.112% when pulling 648f1b3d6871b191c4be99ed9eb7cf683ec134aa on sunny4381:fixes/subdir-site-oauth into 4b6f362ab3f720442c2028108faf3fe7583433af on shirasagi:master.

Coverage decreased (-6.4%) to 77.106% when pulling 648f1b3d6871b191c4be99ed9eb7cf683ec134aa on sunny4381:fixes/subdir-site-oauth into 4b6f362ab3f720442c2028108faf3fe7583433af on shirasagi:master.


Almost all of the links at the end of the main page Learn More list are bad

https://github.com/SeattleTestbed/docs#how-do-i-learn-more

Thanks for pointing this out! This is actually a good thing, because it suggests that the old *.wiki files have been converted to the wanted *.md format.
I once mentioned that along the conversion process one should check for such links:
https://github.com/SeattleTestbed/docs/issues/4#issuecomment-219811824.

We also have a few fixes pending, see #26.


[TC-IDM-10.3] Wrong expected cluster revision

Summary Title:
Wrong expected cluster revision for ICD Management.
Description:
Test case fail due to wrong ICD Management Cluster revision.
Expect 1
When should expect 2.
Steps to reproduce:
Run test case IDM 10.3
Logs:
PYTHON_TEST | 2024-02-06 12:17:50.297837 | Problem: ProblemSeverity.ERROR
PYTHON_TEST | 2024-02-06 12:17:50.298976 |     test_name: IDM-10.3
PYTHON_TEST | 2024-02-06 12:17:50.299963 |     location:
PYTHON_TEST | 2024-02-06 12:17:50.300923 |         Endpoint: 0,
PYTHON_TEST | 2024-02-06 12:17:50.303855 |         Cluster:  70 (0x46) IcdManagement,
PYTHON_TEST | 2024-02-06 12:17:50.305122 |         Attribute:65533 (0xfffd)
PYTHON_TEST | 2024-02-06 12:17:50.306450 |     problem: Revision found on cluster (2) does not match revision listed in the spec (1)
PYTHON_TEST | 2024-02-06 12:17:50.307632 |     spec_location:

UI_Test_Run_2024_02_06_12_15_41.log

This is a problem with the spec scrape. Revision 2 is in progress and appears in the spec. We will need to adjust the scraper for SVE to change the in-progress parameters as appropriate.

This should be fixed in the newest release.


Migration to null safety.

Hi!
I ran into a problem with the migration of my project to Null Safety Sound. Since the plugin does not support zero security.
Please tell me if plans for the migration of the plugin?

Same here! The only one is to find alternative ways, until they migrate.

this lib supported null-safety, but it seem like the owner have not still update on pub.dev yet.
use this on your pubspec
pull_to_refresh: 1.6.4-nullsafety.0

this lib supported null-safety, but it seem like the owner have not still updated on pub.dev yet.
use this on your pubspec
pull_to_refresh: 1.6.4-nullsafety.0
Thank you very much for the information. It helped me a lot.


replace the architecture diagram

Please answer these questions before submitting a pull request

Why submit this pull request?
[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches
[ * ] impove the document

resoved #294

Codecov Report

Merging #301 (3a2373d) into master (8221ce6) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
- Coverage   52.21%   52.19%   -0.03%
==========================================
  Files          33       32       -1
  Lines        2321     2320       -1
==========================================
- Hits         1212     1211       -1
  Misses        952      952
  Partials      157      157

Impacted Files
Coverage Δ

test/e2e/e2e.go

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8221ce6...3a2373d. Read the comment docs.

many thx @soulsoul


Native Support for options such as aroundLatLngViaIP

These should be supported for use with search function. Although there is a simple work around, just use the accessIndex and make the search request yourself like in the algolia examples for javascript.

Passing in those options works the same as always, however the aroundLatLngViaIP must be passed into searchParameters.


Rockstar: Launcher don't close after exit the game

I have made the installation of your extension on my playnite but when i close GTA 5 the launcher is still open.
I have seen there is an old comment like mine but i don't know if you have fixed it or not ^^

Caused by #7


How to write a draft message via TDLib

Hi.
In a Telegram application, when you've added a new contact, you will be able to open a chat with that account and start typing, that message will be drafted.
In a Tdlib client, when I've added a Telegram contact, I want to draft a message for him but the SetChatDraftMessage method needs two other parameters named chat_id and message_thread_id. Where can I find those params?

You can create a chat with a user using createPrivateChat method.

@message_thread_id If not 0, a message thread identifier in which the draft was changed

Only supergroups has support for message threads.

thanks


The background log stops at "initialize the calculator graph."

Hello MediaPipe team, and thanks for the brilliant framework!
I'm doing gesture recognition based on Mediapipe handtracking, and with Python setup.py I've generated a.binarypb file, and I can implement gesture recognition
Unfortunately, when I configured the same.pbtxt file as the python version as the graph file for the desktop (C++) application, the program had an error initializing the graph file.
Here is the result of the program
# MediaPipe graph that performs hand tracking with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipe/examples/android/src/java/com/mediapipe/apps/handtrackinggpu and
# mediapipe/examples/ios/handtrackinggpu.
# Images coming into and out of the graph.
input_stream: "input_video"
output_stream: "output_video"
# Throttles the images flowing downstream for flow control. It passes through
# the very first incoming image unaltered, and waits for downstream nodes
# (calculators and subgraphs) in the graph to finish their tasks before it
# passes through another image. All images that come in while waiting are
# dropped, limiting the number of in-flight images in most part of the graph to
# 1. This prevents the downstream nodes from queuing up incoming images and data
# excessively, which leads to increased latency and memory usage, unwanted in
# real-time mobile applications. It also eliminates unnecessarily computation,
# e.g., the output produced by a node may get dropped downstream if the
# subsequent nodes are still busy processing previous inputs.
node {
  calculator: "FlowLimiterCalculator"
  input_stream: "input_video"
  input_stream: "FINISHED:hand_rect"
  input_stream_info: {
    tag_index: "FINISHED"
    back_edge: true
  }
  output_stream: "throttled_input_video"
}
.......
node {
  calculator: "RendererSubgraphStatic"
  input_stream: "IMAGE:throttled_input_video"
  input_stream: "LANDMARKS:hand_landmarks"
  input_stream: "NORM_RECT:hand_rect"
  input_stream: "RECOGNIZED_HAND_GESTURE:recognized_hand_gesture"
  output_stream: "IMAGE:output_video"
}
I20201126 11:18:18.550338 616232 socket_run_graph_main_gpu.cc:71] Initialize the calculator graph.

The background log stops at "initialize the calculator graph."
I really hope to see your answer.

Hi @Fightingyoung, Could you please try the above steps with the latest release and let us know if you still face the same error. Thanks!


CloudForCustomers connector - error handling in to_df method

I discovered that method to_df from the CloudForCustomers connector class doesn't handle the situation where the method returns an empty data frame. If there are no results, a very generic error will be raised- KeyError.
Moreover, if a field argument is provided c4c.to_df(fields=['a', 'b']) and field a doesn't exist in c4c there will be also KeyError.
As a result of this, we have the same generic error ( KeyError ) in two different cases.
Raising KeyError where there are empty results, I consider as a bug.
As a fix please consider implementing two different kinds of errors with proper messages.

#900


Adds support for owner, status, and created columns to runs and protocols

This is relatively untested still, but once I get the server saving data properly, this should work as well!

@kathryn-explorable I didn't add the status column to protocols since I wasn't sure if that made sense. Let me know if that's incorrect, however.


Panic when missing certain fields from

Error when running certain domains.  Most likely data is missing from the response from a secondary server.
./rdapq --domain google.com

Entities:panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/kadonnelly13/rdapq/services.prettyPrintDomainData({{0xc000320158, 0x6}, {0xc00001c2b8, 0x17}, {0xc000320180, 0xa}, {0x0, 0x0}, {0x0, 0x0, ...}, ...})
        /home/kdonnelly/Projects/rdapq/services/domain.go:222 +0xccf
github.com/kadonnelly13/rdapq/services.GetDomainData(0xc000118080, {0x6db30e, 0x23}, 0xc0001180a0)
        /home/kdonnelly/Projects/rdapq/services/domain.go:35 +0x298
main.main()
        /home/kdonnelly/Projects/rdapq/rdapq.go:25 +0x185

Fixed with https://github.com/kadonnelly13/rdapq/pull/7.  There is a need to come up with a more elegant way to handle empty fields that get returned from secondary servers.


minor: Upgrade Getting Started experience for node

Signed-off-by: Vipul Gupta (@vipulgupta2048) <EMAIL_ADDRESS>

@balena-ci I self-certify!


Bugfix in business_day_dif

Python Datetime's/Pandas' isocalender() represents a date in the form (Year, Week number, Week day). One of the calculations was using an a deprecated form of getting the year for the calculations. Updating the code to use pd.DatetimeIndex.isocalender() fixed the issue. Important point to remember is that the isocalender() functionality must NOT be confused with isoformat().

Codecov Report
Base: 59.11% // Head: 59.09% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (b1a0c33) compared to base (8445e43).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #620      +/-   ##
===========================================
- Coverage    59.11%   59.09%   -0.03%
===========================================
  Files           28       28
  Lines         2950     2948       -2
===========================================
- Hits          1744     1742       -2
  Misses        1206     1206

Impacted Files
Coverage Δ

macrosynergy/management/check_availability.py
50.00% <100.00%> (-1.79%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Test v3 swap e2e

This pr adds e2e test for v3 swaps based on the already existing v3 integration tests with mock data. I additionally added some assertions which make sure the expected test case, matches what the api returns.
There are currently 2 tests in there which are being skipped. As well as boosted pool tests missing. Both of these can be reenabled/added once the sor is able to route through v3 stable pool liquidity.
I also had to fix the pnpm version due to not being able to run tests. Linting is still outstanding, wrestling with Biome currently.
Currently blocked by: https://github.com/balancer/backend/pull/1044

Can reopen if neccessary.


⚠ Bofrost.at has degraded performance

In 32ff23b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2203 ms

Resolved: Bofrost.at performance has improved in 55ea21d after 19 minutes.


Issues in ContractFunctionParams

Following type of params is not working with checked on version 1.0.0-beta.4

functonParams.addInt256(<BigNumber {s: 1, e: 3, c: Array(1)}>) - Call get succeeded but get always return 0
functonParams.addInt32Array() - Call get succeeded but get always return empty array
functonParams.addInt64Array() - Call get succeeded but get always return empty array
functonParams.addInt256Array() - Call get succeeded but get always return empty array
functonParams.addAddressArray() - ["00000000000000000000000000000000000004ba", "00000000000000000000000000000000000004bc”]
Err while Contract call:  Error: Reduce of empty array with no initial value
functonParams.addBytesArray()
can't see support for uint32, uint64 and uint256

Attached Test Smart Contract for testing purpose:
TestContract.sol.zip

@rahulasati
Array encoding and implementing unsigned integer types should be resolved with #154

Thanks @danielakhterov when i can expect a release with these fixes ?

All fixed and out with v1.0.0-beta.5


best practice for deploying to heroku?

If I wanted to deploy a socketcluster instance to heroku, should I scale by heroku dynos, socketcluster workers, or maybe both?

It depends on your scaling strategy and the following factors:

How difficult it will be for you to scale horizontally (adding more dynos/instances)?
Messaging patterns in your system; does your system tend to have a lot of one-to-many messaging (I.e. a message from one user might be sent out to hundreds of other users - Reddit style interactions) or are the communications generally one-to-one?

Systems which have one-to-many messaging could be orders of magnitude more efficient when run on a few large machines versus lots of small machines because it reduces bandwidth consumption.
For example, assume a scenario where you have 100 small instances vs 10 big instances and you want to broadcast a single message to everyone across all your instances. In the first case, 100 copies of that message will have to go across the network while in the second case, only 10 will go across the network (it requires only 1/10th of the bandwidth).

It's easy to scale horizontally - heroku ps:1 (where 1 is the number of dynos, I believe).
From where I stand, one client connects to an instance, and right now there is nothing but that. I plan to eventually have a store or two dedicated to certain bits of data but those will only be for small groups of clients at most.
I think you answered my question though - I'll probably focus on scaling workers first, then dynos if I run into problems. Thanks!


Setup automated linting

This pull request adds linting via flake8 and automates flake8 linting as part of the test suite.
It also has many changes and slight refactors to bring the codebase up to compliance with the flake8 rules.

Whoops, I updated gitignore to fix the .vscode dir ignore and removed all settings files.
I think we can leave vscode workspace settings out completely and leave it up to each developer to configure their environment.
I update the readme to include a reference to flake8 and black.


Create README-TR.md

This document has been translated into Turkish.

This document has been translated into Turkish.


[PubSub] Subscription.pull() not working (returns deadline exceeded)

Any call pull() call to a PubSub subscription fails. There are about 1500 unacknowledged messages in the subscription in question. Note: I frequently switch this subscription between push and pull for draining and debugging purposes. (It would be nice to be able to peek messages and get message statistics by key without having to do this!)
Subscription details:

Delivery type: pull
Acknowledgement deadline: 600

Python 2.7.12
Relevant installed libraries:

proto-google-cloud-pubsub-v1 (0.15.4)
protobuf (3.2.0)
gapic-google-cloud-pubsub-v1 (0.15.4)
google-auth (0.10.0)
google-auth-httplib2 (0.0.2)
google-cloud-core (0.24.0)
google-cloud-pubsub (0.24.0)
google-gax (0.15.8)
googleapis-common-protos (1.5.2)
grpc-google-iam-v1 (0.11.1)
grpcio (1.2.1)

After 600 seconds...
With GRPC:
Traceback (most recent call last):
  File "cli.py", line 21, in <module>
    rejected = repo.get_rejected_messages(subscription)
  File "/Users/mykola/src/pubsub/repository.py", line 33, in get_rejected_messages
    messages = subscription.pull(max_messages=1000, return_immediately=True)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/cloud/pubsub/subscription.py", line 332, in pull
    self.full_name, return_immediately, max_messages)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/cloud/pubsub/_gax.py", line 418, in subscription_pull
    return_immediately=return_immediately)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/cloud/gapic/pubsub/v1/subscriber_client.py", line 706, in pull
    return self._pull(request, options)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/gax/api_callable.py", line 419, in inner
    return api_caller(api_call, this_settings, request)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/gax/api_callable.py", line 407, in base_caller
    return api_call(*args)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/gax/api_callable.py", line 368, in inner
    return a_func(*args, **kwargs)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/gax/retry.py", line 143, in inner
    raise exc
google.gax.errors.RetryError: GaxError(Retry total timeout exceeded with exception, caused by <_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded)>)

Without GRPC:
Traceback (most recent call last):
  File "cli.py", line 21, in <module>
    rejected = repo.get_rejected_messages(subscription)
  File "/Users/mykola/src/pubsub/repository.py", line 33, in get_rejected_messages
    messages = subscription.pull(max_messages=1000, return_immediately=True)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/cloud/pubsub/subscription.py", line 332, in pull
    self.full_name, return_immediately, max_messages)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/cloud/pubsub/_http.py", line 419, in subscription_pull
    response = self.api_request(method='POST', path=path, data=data)
  File "/Users/mykola/venv/lib/python2.7/site-packages/google/cloud/_http.py", line 303, in api_request
    error_info=method + ' ' + url)
google.cloud.exceptions.GatewayTimeout: 504 The service was unable to fulfill your request. Please try again. [code=8a75] (POST https://pubsub.googleapis.com/v1/projects/[redacted]/subscriptions/[redacted]:pull)

https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2993

@mykolasmith Is this issue limited to the Python client or is it an issue with Pub / Sub itself? Can you get these requests to succeed elsewhere, e.g. in the APIs explorer?

FYI, it seems like an issue with Pub/Sub and not this specific client library. Per Google Support:
Our Engineering team is actively looking into this issue right now. They've confirmed that there is indeed an issue on our side that caused this issue (which was triggered by you switching from pull to push and then back to push on that subscription). A colleague of mine will be further in touch as soon as there is further update (and, hopefully, a solution or a workaround).

Thanks for the update @mykolasmith and sorry we can't be of more help.

Hi mykolasmith,
I have using php library google/pubsub to push the subscription.
I had create topic via console, and then set Subscription delivery Type as push. Then I have setup up the endpoint url. When every I try to publish the topic, I am getting 404 Not found error. What could the issue?
^ """

    <title>Not Found</title>

    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

            404

            Not Found


Remove lodash

Removed the need for lodash. Tests all passing! Ran it locally :)
P.S.

Thanks for the PR! Sorry it took me so long to get round to looking at this 😞 Merged as 4d4ca3f9631ed7e40f42fda3e1b59f255dbc2fed
I'm not certain about write access. That's not how I've done PRs on other repos. I just use git rebase against the main origin. This screencast is basically what I do.


sway: deterministic .desktop file

Motivation for this change
If I use the sway.desktop from this derivation, I'd expect to use the sway binary generated by the derivation, not the one in my path.
I was bitten by this because I'm installing sway with the NixOS option programs.sway.enable and programs.sway.extraSessionCommands, but to manage the sway config file (on ~/.config/sway/config), I use home-manager. Since home-manager is also installing sway in your nix profile, this version has preference, and the commands I specified on the programs.sway.extraSessionCommands were ignored
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Tbh I'm not sure I've fully grasped what the problem is here, but I'm am using sway from nixos with the config from home-manager and I guess as I wrote the module this is supported usage.

Any systemd parts of the home manager config are the bits I was least sure of. If you have any suggestions that would improve it (especially with respect to login managers), then I would be happy with it, if home manager maintainers are happy with it

@alexarice the relevant part for home-manager is https://github.com/NixOS/nixpkgs/pull/89019#issuecomment-634845631 to resolve issue https://github.com/rycee/home-manager/issues/1288 (amongst others). My suggestion would be to document the following in the enable option of the home-manager module for Sway:

programs.sway.enable = true; should be added to the NixOS configuration (https://github.com/NixOS/nixpkgs/pull/89019#issuecomment-634845631 and https://github.com/rycee/home-manager/issues/1288)
Everything else should be configured via the home-manager module (this issue)

To me, there are 2 ways to install sway with home-manager:

Use home-manager to manage only the sway config files. In this case, the changes in this PR are needed. (or alternatively add an option to home-manager's module to install sway optionally)

Manage sway only with home-manager. I don't like this options too much, because to me it looks like a duplication of effort between NixOS and home-manager, and also because I think it is easier to manage the integration between sway and a display manager in NixOS config. If you want to go this way, you don't need to do anything, since the default value for programs.sway.enable is false. But if anyways you want to install 2 sway versions, one with NixOS and one with home-manager, it should be possible if you have something like this in your NixOS config:

services.xserver.desktopManager.session = [
  {
    name = "home-manager";
    start = ''
      ${pkgs.runtimeShell} $HOME/.hm-session &
      waitPID=$!
    '';
  }
];

and this in your home-manager config:
xsession.enable = true;
xsession.scriptPath = ".hm-session";
xsession.windowManager.command = mySwayPackage;

2 notes: services.xserver.desktopManager.session doesn't generate wayland sessions, but it should be an easy fix, and mySwayPackage refers to the same sway package you define in wayland.windowmanager.sway.package option.
@alexarice To my understanding, systemd is not involve in this, I don't have any suggestions to improve the systemd part, it looks good to me :)
I'll try to clarify the issue with an example, let's say you have this config in you NixOS configuration.nix:
programs.sway = {
     enable = true;
     extraSessionCommands =
       ''
       export MYVAR=nixos
       '';
};

and this on your home-manager config:
wayland.windowmanager.sway = {
     enable = true;
     extraSessionCommands =
       ''
       export MYVAR=home-manager
       '';
};

after login, MYVAR value will be home-manager. As long as you mix NixOS and home-manger sway options, it is not possible to start the NixOS sway version from a display manager

I think the difficulty is that home-manager has to work on non nixos machines, and this makes it hard to integrate with nixos options.

I think the difficulty is that home-manager has to work on non nixos machines, and this makes it hard to integrate with nixos options.

Right, I didn't considered that case

This might be similar to what has already been suggested, but I think the necessary changes for home-manager are:

Make sway.package be nullable
Update the documentation on sway.package to say that if you are using the nixos sway module you should set this to null to avoid overwriting this

Would this fix all the issues?

@alexarice I think so, that 2 changes should solve it. But I think it still makes sense to merge this PR

I'll make a PR on home-manager then, I think this pr is probably a good idea too

Even with https://github.com/rycee/home-manager/pull/1298 one (theoretical) issue remains: When Sway is launched via a login/display manager the following options from the home-manager module won't do anything: package, wrapperFeatures, extraSessionCommands, extraOptions (more details in https://github.com/NixOS/nixpkgs/pull/89179#pullrequestreview-421256603).
If that's ok for the maintainers of the home-manager module for Sway we could merge this PR.

Ah I see the issue now, though I don't see a way round it other than putting a big warning somewhere that this overwrite exists. The home-manager module will say that setting  package to null is recommended if using the nixos option

The only reason against closing, it's that I prefer to be more deterministic, instead of picking the first sway version in PATH

I guess this is a matter of definition. I'd e.g. still consider this perfectly deterministic. A reference without the absolute path is just more like a global and mutable variable in a programming language while a reference with an absolute path is of course immutable as the referenced content in the Nix store is immutable (and depending on what we'd like to achieve both behaviours can make sense).

I don't know much about Sway but it seems to me that if a user chooses to set up Sway in Home Manager then they don't really want a sway.desktop but a home-manager.desktop.

HM can generate a home-manager.desktop file but unless you reference that from the NixOS configuration or patch display managers they won't find it.

HM can generate a home-manager.desktop file but unless you reference that from the NixOS configuration or patch display managers they won't find it.

That should be possible with the services.xserver.displayManager.session option, I think.
I'm closing this PR. IMO the new option added to home-manager by @alexarice is good enough and solves the problem I had. Feel free to reopen if you think otherwise.
Thanks @primeos , @alexarice and @rycee for all your comments, it was a really interesting conversation


toolbar controls can not be disabled

In the grid attributes under toolbar I have disabled the search field and the actions menu. When I add a button to the Edit & save group with the plugin, the search field and actions menu are shown nevertheless. Is there a way I can still hide these when adding a button?

Hi Steffi,
I was able to reproduce this bug. Will update this thread once it's fixed.

Hi Steffi,
I was able to reproduce this bug. Will update this thread once it's fixed.

Fixed in FOS version 20.2
This turned out to be more of an APEX inconsistency.
Whenever the toolbar is refreshed, some information, such as the state of the search bar gets lost.
I built in a workaround, which resets some things after toolbar refresh.
You can download the latest version of the demo app and all plug-ins here.

Fixed in FOS version 20.2
This turned out to be more of an APEX inconsistency.
Whenever the toolbar is refreshed, some information, such as the state of the search bar gets lost.
I built in a workaround, which resets some things after toolbar refresh.
You can download the latest version of the demo app and all plug-ins here.

Hi Stefan! Thanks for the fast help, works great!

Hi Stefan! Thanks for the fast help, works great!


Alamo Fire and Objective c

Hi,
sorry if this is not the right place for this question. I would like to know if I can use Alamofire in an Objective C project.
Thanks and regards,
Giordano

Not out of the box, no. You'd have to wrap the bits of the library you want to use in Obj-C compatible Swift types, or build your network consumer with those types.


fix(@schematics/angular): remove jasmine-spec-reporter from default workspace

The dependency is only needed for protractor tests, so it should only be added by the e2e schematics.

@alan-agius4 Sure, done 👍


It does not display the menu

 1 img
 2 img
Hey, i tried your script but i didn't work for me at all, ive tried to look into the code for a bit, bit I cant find the issue that maks it display like this after uncommenting some of the code, and if the code on the img 2 is commented it does not show anything at all. Could you tell me what im doing wrong or what is the issue here? Thanks in advance for the responce

Hmm

What browser do you use?
Are you using tampermonkey? If not, then please use tampermonkey.
Did you modify the script? If yes, You are not supposed to make any modification in the script unless required.

I use brave, tried to turn the shields off but didn't work for me.
Yes I'm using tamper monkey.
My only modification is to which side will the extension work.
I also did some modifications afterwards and now I'm clueless how to make a manifest for this to make it work as an extension


Documentation link gives 404  File not found

While clicking on the Dialogflow client library docs link, I get:
404
File not found
The site configured at this address does not contain the requested file.
If this is your site, make sure that the filename case matches the URL.
For root URLs (like http://example.com/) you must provide an index.html file.

+1
This happens on many pages

We had a bad docs build. This should now be fixed.


Fixed specs and updated to most recent Settei release

Hi! So happy someone notice this repo :)
Just some points:

The PR contains many personal changes, such as gitignoring Dockerfile. These are best specified by user's own .gitignore file.
I intentionally did not specify the ruby version, because it is too strict.

I guess these changes because it broke when you try to deploy it. Sorry about that.
Can we start with small PR first? That migration update seems like a good PR to be merged on it's own.

Hi there! Thanks for checking out my changes. Sorry I don't have time to clean up the PR to fit your specific project goals, but feel free to remove any of the changes you don't want (like the migration versions ruby version, docker in gitignore (I'm in the process of adding Docker support, Travis CI, etc). Or you could just close my PR and copy/paste over the few changes you deem useful to get the specs running again on the base lulalala/mei project, or even close it out and move on entirely! I promise I won't be offended either way :) Have a good day.


RC Dynamic property wrapper feature

This feature is built on top of real time config so please just look at the RemoteConfigSwift folder for the code change by selecting FirebaseRemoteConfigSwift on the top left nav bar.
Also add a SwiftUI Sample test app to visualize the API experience.

Please change the base branch so the PR only shows the property wrapper changes.

On idea to eliminate the force unwraps would be to have type specific property wrappers like RemoteConfigPropertyInt, RemoteConfigPropertyString, RemoteConfigPropertyArray, RemoteConfigPropertyStruct, etc.
Then they could all use guard try? ... else set default value except for RemoteConfigPropertyStruct which would need the property wrapper to take a default value parameter.

On idea to eliminate the force unwraps would be to have type specific property wrappers like RemoteConfigPropertyInt, RemoteConfigPropertyString, RemoteConfigPropertyArray, RemoteConfigPropertyStruct, etc.
Then they could all use guard try? ... else set default value except for RemoteConfigPropertyStruct which would need the property wrapper to take a default value parameter.

This should be able to be done without needed these wrapper types.
We have access to the T type which means we should be able to do something like this:
 init(key: String, remoteConfig: RemoteConfig) {
    self.key = key
    self.remoteConfig = remoteConfig

    try {
      self.configValue = try remoteConfig[key].decoded()
    } catch {
      print("Decoding of remote config value to given type failed.")
      if T.self is Bool.Type {
        // we are working with a bool and can provide a default value on our own
      } else if T.self is Int.Type {
        // ...
      } else if ... { ... }
      } else {
        // We are working with a custom struct and need to have been given a default to use.
      }
    }

Still though, I still support the idea of enforcing the developer to give default value for all types. The reason being is for two reasons:

If we don't enforce a default value in the API's signature, the API is guessing really just making an assumption about the "default" behavior of the console-defined remote config schema. For example, would Bool default to false? What's to say the developer's remote config isn't configured to where they would prefer true as the default value.
I think of properties as just syntactic sugar. It is my hunch that as the API surface currently is, developers have to have a default value ready if they are using remote config to determine what a UI should look like. They may use the setDefaults(from:) API or doing something like:

struct ContentView: View {
    var body: some View {
        NavigationView {
            VStack {
                // ...
            }
            .onAppear {
                try {
                    self.welcomeMessage = try remoteConfig["welcome_message"].decoded()
                } catch {
                    self.welcomeMessage = "Welcome!"
                }
            }
        }
    }
}


[flash_ctrl,dv] interrupt mode test

cmd:
./util/dvsim/dvsim.py ./hw/ip/flash_ctrl/dv/flash_ctrl_sim_cfg.hjson -i flash_ctrl_intr_rd -r 1 -s<PHONE_NUMBER> -v m --waves
Signed-off-by: Jaedon Kim<EMAIL_ADDRESS>

This is TB issue.
There are similar issue is fixed in other PR, so we need to revisit this after aa new PR merge.
I will put the new PR number later.

i'm not completely sure if i should review this one or #13862, but both the read / write routines look good to me.
let me know which one i should eventually approve.

i'm not completely sure if i should review this one or #13862, but both the read / write routines look good to me. let me know which one i should eventually approve.

Please review #13862. I will follow up this PR

Fixed in #14262


Create nature-runecraft-utilities

This plugin swaps the achivement diary cape left click option to teleport to Jarr when standing at the nature altar.

What if you just left click to TP to Jarr, and shift-click to teleport to Kaleb, using MES?

What if you just left click to TP to Jarr, and shift-click to teleport to Kaleb, using MES?

MES left click to kaleb, and then this overrides the left click at the altar to Jarr. no shift click required, for maximum reclined gaming.

Use a more specific config name that is less likely to conflict with other plugins (e.g. naturerunecraftutilities)
https://github.com/alex-macm/Nature-Runecrafting-Util/blob/820856abbc7491120431e4a6607e609dc9097e38/src/main/java/com/NatureRCUtil/NatureRCUtilConfig.java#L34

Use a more specific config name that is less likely to conflict with other plugins (e.g. naturerunecraftutilities)
https://github.com/alex-macm/Nature-Runecrafting-Util/blob/820856abbc7491120431e4a6607e609dc9097e38/src/main/java/com/NatureRCUtil/NatureRCUtilConfig.java#L34

changed

Did you try getting this added to runecrafting utilities instead of as a standalone plugin? It feels like it would fit there perfectly.


SAS tokens to download the K8s configuration were missing a "?" in the deployDevops script

Creating an invalid BOLB URL and breaking the deployment

@AzureJedi, can you please create a GitHub issue for this fix to associate and close?


How to retrieve the HttpContext from Blazor server-side ?

Well, I knew that after reading an article by Steve Anderson, but seems to have forgotten that... Thanks in advance.

Since Blazor server-side runs over SignalR, there is no HttpContext because HTTP is (usually) not involved.
https://github.com/aspnet/AspNetCore/issues/12432#issuecomment-513865287

Closing this as per @MV10 's answer.

Thanks @MV10 , I actually wanted to know how I can arrive at code like this:
var cookies = Context.GetHttpContext().Request.Cookies;
Context is ConnectionContext , I believe.
And this is a link to the a SignalR class that is supposed to return the HttpClient : https://github.com/aspnet/AspNetCore/blob/3cd5054eb5d8851b25881cd05cccb931aaa022e6/src/SignalR/server/SignalR/src/GetHttpContextExtensions.cs
What I looking for is a way to get client information such as IP address and browser name/version in Blazor server-side?
Thanks...

@enetstudio are you maybe thinking of this discussion? You said you saw something from @SteveSandersonMS about this, I happened across this recently while trying to discover whether the SignalR circuit info was exposed.
https://github.com/aspnet/AspNetCore/issues/5330

Thanks @MV10, I've seen the thread you linked to as well as this one: https://github.com/aspnet/SignalR/issues/1114
As I've said above, I am looking for a way to get client information such as IP address and browser name/version in Blazor server-side... I want to do something like: var cookies = Context.GetHttpContext().Request.Cookies; in my Blazor code. Note that Context is ConnectionContext, but how do I access the ConnectionContext ? This is what I'm trying to find out...


[AMP Components in Firefox][NF] [AMP-google-rvview-image] Missing example images

Steps to reproduce:
1.Launch FireFox
2.Go to https://ampbyexample.com/
3.Click on the hamburger menu
4.Tap on "Components"
5.Tap on AMP-google-rvview-image
Observer result: missing example images
Expected result: display images
ENVIRONMENT DETAILS:
-FireFox 57.0.4
-Device Model= SM-G900H
-Android OS version = MMB29K.G900HXXS1CQD5
-Device Serial number= 4d0092b14eb721a7
Attachment:

Cannot reproduce this, maybe a network problem on your side?


Blank map (or sometimes with only markers) shown when I start the app after installation - for first 2-3 times. Then after that it works correctly itself.

Summary
After I install my app, for first 2-3 times , when I start the app (i.e. restarting the app for 2-3 times), blank-map is shown with google-logo (or sometimes with only markers).
Then after 3rd-time generally, it works correctly itself.
Reproducible sample code
.

Steps to reproduce
.
Expected result
It should work correctly (like after 3rd time in this case). That is the map should be visible from 1st time opening the app.
Actual result
.
React Native Maps Version
1.7.1
What platforms are you seeing the problem on?
Android
React Native Version
0.72.1
What version of Expo are you using?
Not using Expo
Device(s)
All
Additional information
No response

@Vikas-Mehra  this issue is closed because the formula is ignored.
Please provide a sample code with bare minimum to reproduce and we're happy to look into it.
on my side I can confirm that if the lib is setup correctly and used correctly there shouldn't be an issue with displaying markers or anything else on android, iOS .. we have apps with 100k+ users and everything works fine on all kind of android / iOS devices.


Getting error when loading on flask | Session issue

I am getting session management issue when try to use it in flask application, can you please help me

ValueError: Tensor("TensorSliceDataset:0", shape=(), dtype=variant) must be from the same graph as Tensor("Iterator:0", shape=(), dtype=resource).

Sample code structure

from io import StringIO
import flask
import pandas as pd
import tensorrec as tr
import tensorflow as tf

class ScoringService(object):
    model = None
	model_path = 'model path'
    @classmethod
    def get_model(cls):
        if cls.model == None:
            cls.model = tr.TensorRec.load_model(model_path)

        return cls.model

    @classmethod
    def get_reco(cls, model,use_ft, ite_ft):
            tf.reset_default_graph()
            predictions = model.predict(use_ft, ite_ft)
        return predictions

    @classmethod
    def predict(cls, input):
        clf = cls.get_model()
        n_reco_test = cls.get_reco(clf, input,use_ft, ite_ft)
        return n_reco_test

# The flask app for serving predictions
app = flask.Flask(__name__)

@app.route('/invocations', methods=['POST'])
def transformation():
    data = None

    # Convert from CSV to pandas
    if flask.request.content_type == 'text/csv':
        data = flask.request.data.decode('utf-8')
        s = StringIO(data)
        data = pd.read_csv(s, header=None)
    else:
        return flask.Response(response='This predictor only supports CSV data', status=415, mimetype='text/plain')
    # Do the prediction
    predictions = ScoringService.predict(data)
    return flask.Response(response=predictions, status=200,mimetype='text/csv')

Hey @jaiswalvineet ! Thanks for reporting this. What is the purpose of the
tf.reset_default_graph() inside of get_reco()? This is likely the culprit. Is the call to model.predict() the line that is failing?

"POST /invocations HTTP/1.1" 500 291 "-" "AHC/2.0"
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 350, in _apply_op_helper
g = ops._get_graph_from_inputs(_Flatten(keywords.values()))
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 5637, in _get_graph_from_inputs
_assert_same_graph(original_graph_element, graph_element)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 5573, in _assert_same_graph
original_item)

Seems tensorrec do something about session, which override default one, here the code says that tensorrec predictor do some magic
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.5/dist-packages/flask/_compat.py", line 35, in reraise
raise value
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.5/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/opt/ml/code/predictor.py", line 143, in transformation
predictions = ScoringService.predict(data)
File "/opt/ml/code/predictor.py", line 105, in predict
n_reco_test = cls.get_reco(clf, input, n_rec, user_features, ite_ft, u_map, i_map, i_order)
File "/opt/ml/code/predictor.py", line 71, in get_reco
predictions = model.predict(use_ft, ite_ft)
File "/usr/local/lib/python3.5/dist-packages/tensorrec/tensorrec.py", line 663, in predict
item_features=item_features)
File "/usr/local/lib/python3.5/dist-packages/tensorrec/tensorrec.py", line 256, in _create_datasets_and_initializers
for dataset in user_features_datasets]
File "/usr/local/lib/python3.5/dist-packages/tensorrec/tensorrec.py", line 256, in
for dataset in user_features_datasets]
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/data/ops/iterator_ops.py", line 308, in make_initializer
dataset._as_variant_tensor(), self._iterator_resource, name=name) # pylint: disable=protected-access
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_dataset_ops.py", line 1822, in make_iterator
"MakeIterator", dataset=dataset, iterator=iterator, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 350, in _apply_op_helper
g = ops._get_graph_from_inputs(_Flatten(keywords.values()))
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 5637, in _get_graph_from_inputs
_assert_same_graph(original_graph_element, graph_element)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 5573, in _assert_same_graph
original_item))

Hey @jaiswalvineet -- Calling tf.reset_default_graph() after loading the model will blow away the graph and create a new one. I've reproduced locally and this will then cause the error you're seeing when you call predict() because the reset graph does not have the model.
If you remove the call to tf.reset_default_graph() do you see the same error?

I removed the tf.reset_default_graph() bus still same error, seems the flask app does persist the graph, it's strange that its working if I directly run it but does not work if I call it from flask app, if its running one time for you from flask then refresh it on browser, you will get the error, if not then please share your flask app ...thanks in advance

@jaiswalvineet I got the same problem. The tf graph is not thread safe and needs to be globally defined and always reused when doing the prediction. Here is how I solved it (actually solution is coming from https://github.com/keras-team/keras/issues/2397#issuecomment-306687500):
I inserted a global model variable, loaded the model and stored the graph after model loading:
import tensorflow as tf
from tensorrec import TensorRec
model = TensorRec.load_model(directory_path=model_path)
graph = tf.get_default_graph()

and then in every call, I used the same graph as loaded in graph with a new session:
with graph.as_default():
    session = tf.Session()
    with session.as_default():
        # Now do the prediction
        predictions = ScoringService.predict(data)