RHEL 8 repo misses v1.6.0

Hello Everyone,
what will be the ETA to have the v1.6.0 also available as a package in https://packages.microsoft.com/rhel/8/prod/Packages/s/?
TIA,
Matteo

I'll look into this now


Fix limit of records allowed to be fetched in a single query / request

The problem
Imagine we have our classical Person has Dogs has Fleas models, the global constant maximum limit of records is 10,000 (10 k), and we fetch 10 k persons where each of them has 10 k dogs where  in turn each dog has 10 k fleas. Assuming that a records without associations is roughly 20 Bytes in size we would need approximately 20 Terrabyte of memory to process this.
(1e4 ^ 3 * 20) / (1024^3) = 18626.45
We need to fix this possible open door for malicious clients.
First extend our GraphQL context as follows
app.use('/graphql', cors(), graphqlHTTP((req) => ({
  schema: Schema,
  rootValue: resolvers,
  context: {
    recordsLimit: globals.RECORD_LIMIT
 // ...

Then in each resolver implement the following behavior

Count the records matching the current search arguments.
1.a If the count exceeds context.recordsLimit throw an error
1.b Else fetch the matching records into say resultRecords
In order to take into account the parallel resolver problem (see below) compare again the number of fetched records (nr) and the current context.recordsLimit
2.a If nr exceeds context.recordsLimit throw an error
2.b Else subtract from context.recordsLimit nr and return the resultRecords

Verify, if the above behavior is possible to implement in the resolver and not the model layer. If not, pass context.recordsLimit as an argument to the model layer, and implement the above behavior there.
The parallel resolver problem
Imagine we have the following schema: A Person has Dogs and also has Parrots. When using the following GraphQL Query:
{ persons {
  name
  dogs {
    name
    age
  }
  parrots {
    name
    species
  }
}

GraphQL invokes three resolvers separately. First the root resolver persons is invoked. Next, the functions dogs and parrots inside each person object are invoked asynchronously, i.e. "to some degree in parallel". We cannot know in what order both async processes are carried out, and when they actually access context.recordsLimit and especially when they diminish its value by the number of fetched records. But on the other hand we do not want to enforce sequential execution (and hack GraphQL). Thus in theory the following scenario is possible. Both dogs and parrots check the current value of context.recordsLimit before diminishing it, thus find that they can return their respective fetched dogs and parrots, and then diminish context.recordsLimit. In this rare case the recordsLimit will actually not hold. However, because any subsequent fetch will blow up the limit, this scenario most likely does not pose a thread to efficiency. Hence the implementation seems the right way to go.

For some inspiring experiments see this repo

Note that the above Issue must be implemented in the following data model storage-types:

sql
cenz_server

This must include adapters in the context of distributed data models:

sql-adapter
DDM-adapter

New branch for the graphql-server: https://github.com/ScienceDb/graphql-server/tree/issue88-record-limit

Branch in the GraphQL Server Code Generator: https://github.com/ScienceDb/graphql-server-model-codegen/tree/issue88-record-limit
Add count check to the root resolvers: https://github.com/ScienceDb/graphql-server-model-codegen/commit/604a1eecc6120a2bc81efc06763ee8e21de6891b
Test for the record limit (set at 25): https://github.com/ScienceDb/graphql-server-model-codegen/commit/6cfae763e8a508af6f47115150b65130befc5979
Test adapted for the record limit 10000: https://github.com/ScienceDb/graphql-server-model-codegen/commit/536f16e02654e20136bea58113c02ab2ae702dc3

Functionality is now in the master branch (for both the GraphQL Server Code Generator - https://github.com/ScienceDb/graphql-server-model-codegen/commit/ecd6213ad43c53151ff69dc6efeb8e7d65ad0c2d and the Skeleton Server - https://github.com/ScienceDb/graphql-server/commit/6d84670fc2453eb0fab04662ab07d00e886134be) and in case of the StarterPack in the branch https://github.com/ScienceDb/ScienceDbStarterPack/tree/i25-starter-pack-react with commit https://github.com/ScienceDb/ScienceDbStarterPack/commit/8e6f879591347c41a46ee6d10d6b3df603fc72e2

A large error regarding efficiency and a case of a functionally wrong implementation was handled in https://github.com/ScienceDb/graphql-server-model-codegen/issues/122


🐛 BUG: --experimental-local is not supported with d1

What version of Wrangler are you using?
2.4.4
What operating system are you using?
mac
Describe the Bug
Execution of wrangler dev --experimental-local --persist leads to the next error:
service core:user:rub: Uncaught TypeError: Cannot read properties of undefined (reading 'middleware')
at d1-beta-facade.entry.js:65:31
✘ [ERROR] local worker: MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
Execution of wrangler dev --local --persist works fine

I'm seeing something very similar when trying to include a scheduled event and fetch event with D1 bindings while using --local (not --experimental-local):
TypeError: Cannot read properties of undefined (reading 'middleware')
    at /tmp/tmp-109552-PnbvEBzhenas/middleware-insertion-facade.js:7:17
    at SourceTextModule.evaluate (node:internal/vm/module:224:23)

It only happens when both the D1 bindings are defined in wrangler.toml and using wrangler dev --test-scheduled --local --persist.


Add tags to github repo

If there would be tags one could download the release archive from github and won't have to use pypi archive that is missing files wrt issue #3 .
Also it could ease you git blame/etc.

I have just created a tag for the v0.1.8 release. hope I will remember to create tags for future releases as well - feel free to remind me in case I forget :o)


Compilation error in the observe-tracing sample

Description:
Compilation error in the observe-tracing sample
error: .\observe-tracing.bal:39:68: unreachable pattern: preceding patterns are too general or the pattern ordering is not correct
compilation contains errors

Affected Product Version:
Ballerina Platform - beta1
OS, DB, other environment details and versions:
In-built JAVA
Windows 7

This sample is removed


Segfault during cleanup after using variable-length datatypes

HDF5 Version: 1.14.3 (develop branch as of this commit)
OS: Ubuntu 22.04
When using the Cache VOL without the async connector under it, writing to datasets with variable-length data leads to a segfault during cleanup of HDF5 objects.
This issue will occur roughly half the time when running test_dataset_vlen_io in hdf5/test/API/H5_api_dataset_test.c. The system environment is configured as in this github workflow in the case without the async connector.
I've tried refactoring the test to close all HDF5 objects before moving onto the next write, but the segfault still occurs when the function exits.

Thanks @mattjala. I'll take a look.

@zhenghh04, I see a merge related to this issue. Can it be closed?


Wrong historical data (outputsize=full)

Hi,
I'm the only one that get wrong data from a simple query like?:
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=AAPL&outputsize=full&apikey=api-key
Obviously AAPL is not the only one...
This don't seem the real AAPL chart:

...and AAPL never touch 600:
       "2014-05-06": {
            "1. open": "601.8000",
            "2. high": "604.4099",
            "3. low": "594.4100",
            "4. close": "594.4100",
            "5. volume": "13377300"
        },
        "2014-05-05": {
            "1. open": "590.1400",
            "2. high": "601.0000",
            "3. low": "590.0000",
            "4. close": "600.9600",
            "5. volume": "10252400"
        },
        "2014-05-02": {
            "1. open": "592.3400",
            "2. high": "594.2000",
            "3. low": "589.7100",
            "4. close": "592.5800",
            "5. volume": "6839800"
        }

somthing that I miss?!?
Thanks

Looks like the OP is not familiar with the concept of adjusted closes and was instead using the raw closes prices for AAPL which certainly touched 600 in the dotcom bubbles (circa 2000).
https://www.alphavantage.co/documentation/#dailyadj
I wonder whether it's fair for Alpha Vantage when some of its users didn't actually do what they are doing and wrongfully claim that Alpha Vantage data is "wrong"...

Sorry, my bad...
Anyway I have write:

something that I miss?!?

so, again, sorry for have wasted your time...thanks for your speedy support

Now it's perfect, thanks for your hard work :+1:

Hi @elbowz,
I'm stuck in the same situation. Would it be possible to share the solution?
Thanks,
Daniel

Hi @elbowz,
I'm stuck in the same situation. Would it be possible to share the solution?

If I well remember, try with TIME_SERIES_DAILY_ADJUSTED (https://www.alphavantage.co/documentation/#dailyadj) as linked by @coryleuck

I am having the same issue with this symbol BAS.DEX. Both historical requests does not give the same results like in yahoo finance or google. This is the request I use:
https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=BAS.DEX&apikey=MYKEY&datatype=csv&outputsize=full

I have just started using the TIME_SERIES_DAILY function to pull data.
question is on Ebay stock
timeframe.= Daily
Date - 07/17/2015
I was comparing this data with google finance
                       Date, Open, High,Low,Close,Volume

AlphaVantage   -  07/17/2015 00:00:00,66.04,66.73,64.85,66.29,26169406
Google Finance - 07/17/2015 00:00:00,11.68,11.8,11.47,11.72,26169406
As you can see, the volume is the same but the prices are way different ?  Is it something to do with split ?
Can you tell me the reason for this ? I also checked tradingview and it matches google finance.
There are many such instances for Ebay.

We are using premium API key for Alphavantage and pretty much most of the intraday data is incorrect. It does not tie up with what we are seeing either on TradingView or on Yahoo Finance. And no, we are talking INTRADAY, so this has nothing to do with adjusted closes as one of the Einsteins above seemed to have suggested.


[📚] Custom sound FCM ios device

There is no documentation how to use FCM 'sound' parameter in ios devices.
https://firebase.google.com/docs/cloud-messaging/flutter/client
android: {
      notification: {
          channelId: "app_alerts",
          sound: 'custom_sound'
      },
  },
  apns: {
      payload: {
          aps: {
              sound: 'custom_sound.wav'
          },
      },
  },

When I look for information in other sources, everyone refers to 'flutter_local_notification', but I would like to receive information on how to use without this library, because I receive a ready 'notification' object from the server.
In Android the same situation...

Hello @Poloten, with FlutterFire we are only bridging the options available on iOS and provided by the Firebase iOS SDK. If this is not documented in the iOS documentation (and I couldn't find a reference to this key) you should ask for a documentation update directly on the Firebase iOS SDK repository:  https://github.com/firebase/firebase-ios-sdk
Thanks for raising this :)


[Question] Any example using KubeVirt running a real application

I can see most of the guidance for KubeVirt is using KubeVirt to create a VM, but there is no guidance for how to use KubeVirt to create a real VM application. Does there are any guidance or tutorial that I can refer to create a real VM application? Like a simple nginx etc?

I'm currently writing a blog to be published on the web site.  It will feature a migration of a standalone Win2k19 vm running a dotnet application to a k8s / KubeVirt controlled vm.  I should have it published in a day or two.  No performance testing this time just a raw "can it be done" procedure.

Great, thanks @mazzystr , look forward to such blog. Can you help link your blog here after it got published and close this issue?

@gyliu513  Sorry I'm so late ... Blog post is finally posted ... https://kubevirt.io/2020/win_workload_in_k8s.html

nice, thanks @mazzystr !


Card number's hint sometimes is not displayed

Code that created the issue
setCvvHint("XXX");
setCardNumberHint("XXXX XXXX XXXX XXXX");
setCardNumberVisibility(NumberVisibility.SHOW);
setCardNumberGroupSize(4);
setCardDigits(19);

To fix the issue simply change the code order to
setCardDigits(19);
setCardNumberGroupSize(4);
setCardNumberVisibility(NumberVisibility.SHOW);
setCvvHint("XXX");
setCardNumberHint("XXXX XXXX XXXX XXXX");

All text related things like hints, labels and texts should be set only after you've set all other things, also if the card's number has a variable length, the digits should be set each time after you've set the card number


assets: scss: Use softer tones for hyperlinks and highlighting.

I wonder if this is not the kind of SCSS to put in the assets/scss/custom.scss file 🤔 I believe the theme as is is a good starting point to let people style paragraphes, links, and headers to their liking.

I wonder if this is not the kind of SCSS to put in the assets/scss/custom.scss file 🤔 I believe the theme as is is a good starting point to let people style paragraphes, links, and headers to their liking.

I understand your concerns, however I think that - by default - the theme should have a unified look for the large chunk of users that won't end up playing with it.
In this case, the colors of hyperlinks and marking looked very "off" as they were defaulting to whatever the browser would set and, on Chrome, ended up with a very sharp blue that didn't match the soft greys and blacks that this the uses.

Note: Further adjustment needed if used in conjunction with https://github.com/jakewies/hugo-theme-codex/pull/159. See https://github.com/lazerl0rd/hugo-theme-codex/commit/ef7659f5e12a0512ab3f01eed70c57f271358c23 and https://github.com/lazerl0rd/hugo-theme-codex/commit/8107afc1031f06a237ab7e5f2516518cb6378b12, for an example.


Our Blog section

Describe the bug
Improving CSS
To Reproduce
Steps to reproduce the behavior:

Go to Our Blog
See error

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@smaranjitghose Can I work on this ?

Definitely change that. If required you can remove it because when the page is loaded, it seems to be a different section itself


cant install plugin

hi
i use godot 3.5
and i tested with godot 3.2 to be sure
and used the description(install part) and tried a few times
but i get this err :
could not load plugin : GodotTapsell
i surfed and saw some topics that maybe help me and i found that the
Engine.has_autoload(plugin_name)wont work for project autoload and its a editor/engine command
here is the links  :
https://docs.godotengine.org/en/stable/tutorials/plugins/editor/making_plugins.html#doc-making-plugins-autoload
https://godotengine.org/qa/95097/engine-has_singleton-engine-get_singleton-behaving-expected
https://github.com/godotengine/godot-proposals/issues/1649
godotdoc says :

Godot won't make an AutoLoad a "true" singleton as per the singleton design pattern. It may still be instanced more than once by >the user if desired.
Tip
If you're creating an autoload as part of an editor plugin, consider [registering it automatically in the Project Settings]
(https://docs.godotengine.org/en/stable/tutorials/plugins/editor/making_plugins.html#doc-making-plugins-autoload) when the plugin is enabled.

how should i fix the err?
and after that there is a plugin.init(app,true) and in this version (godot 3.5 )it seems that won't work  it says it will be removed in godot 4.0 and its better to use _initialize() and gives a nonexistence func err to me
p.s : ty for making this plugin it seems to be very useful 👍

Hi. Getting the could not load plugin : GodotTapsell error message is expected in the editor because the plugin is only available on the Android build of your project.
Also, plugin.init is implemented by the custom native plugin, so it is not a part of the Godot engine and wont be removed.

ty


uploadFile in puppeteer-firefox

Is it possible to upload files with the puppeteer-firefox library? It's not working for me, I'm adding code
const pptrFirefox = require('puppeteer-firefox');

  (async () => {

       const browser = await pptrFirefox.launch( {headless: false });
       const page = await browser.newPage();

    await page.goto('https://www.webejemplo.com', {timeout: 0});
    await page.waitForSelector('input[type=file]', {timeout: 0 });

            var fileUploaders = await page.$("input[type=file]");

            await fileUploaders.uploadFile('foto_0.jpg');

            await page.waitFor(3000);

})();

Hey, take a look at https://aslushnikov.github.io/ispuppeteerfirefoxready/ . It looks like not working yet

I am facing error  err Error: Protocol error (DOM.setFileInputFiles): DOM.setFileInputFiles RemoteAgentError@chrome://remote/content/Error.jsm:25:5 when uploadFile in firefox too. Is this feature available in puppeteer firefox?

Seeing the same error as @vovanluan when using puppetry. I see this [merged pr][2] (referenced above), @aslushnikov based on that should we expect this to be fixed?

Tried with FireFox Beta as well, still no luck.

This is still an issue


Installer crashes Discord Client without error

During installation, Discord Client closes (which I believed to be intentional), but instead the process had uncleanly terminated.
Only error detected was in deletion of local files, where Windows username has space and program did not account for this (where name is John Doe, "Could not find C:\Users\John")

I  suggest renaming your user folder following this guide. Since some dependencies doesn't support special user folder name

This is essentially the same issue as #92, just stated in a different way, so I'll go ahead and close this one.


Crash while typing import

Action: paste or type an import statement
Behavior: ghcide stops responding to editor requests. The ghcide log window shows:
ghcide: importLine does not have the expected structure: import           Strats.Cloud.Types.Se
CallStack (from HasCallStack):
  error, called at src/Development/IDE/Plugin/CodeAction.hs:550:7 in ghcide-0.1.0-GPErgG7kX2FB5cNzVYvUCT:Development.IDE.Plugin.CodeAction

Ouch - we definitely shouldn't be calling error there. We probably need a two-pronged fix of not calling error there, and also a more general approach of shoving a catch around code actions etc. so they don't take out the IDE.

I cant reproduce with lastest ghcide. is the @ndmitchell suggestion still needed?

Yes

Ok, so afaiu it would be an generic improvement in error handling (as the original bug is not reproduced anymore)

Closing this issue as the particular error call that caused this crash no longer exists, and the general approach is implemented already in hls-plugin-api, so all we need to do is split and move our code actions to HLS providers, and there exist tickets for that already

Closing this issue as the particular error call that caused this crash no longer exists, and the general approach is implemented already in hls-plugin-api, so all we need to do is split and move our code actions to HLS providers, and there exist tickets for that already


Testexecution PostTermination mismatch in the initial and final configuration file

Assertion failure details
In TAR SoftwareUpgrade , following are the assertions that are failed because of this problem,

Provides expected properties in configuration class for 'tar-2-0-1-tcp-c-or-1-0-0-000'
Provides expected properties in configuration class for 'tar-2-0-1-http-c-cc-1-0-0-000'

Reason  :
In the test execution, the expectation is , the initial configuration file should match the final configuration.
But there is a mismatch. This mismatch are consequences of the failures of other assertions. Once the other assertion failures will be resolved , this shall also be cleared.

Closing this issue as the test-suite is not updated for version 2.1.1


How to ease migration to Z-Wave JS

Scope
Issue to track ideas and problems for helping users migrate to Z-Wave JS from the other two older Z-Wave integrations in Home Assistant.

Please add your input in a new comment and we'll update the top post with important information.

Known facts

Value id:s used in the integration entity unique_id are different between the 3 integrations, so we won't be able to use those. Entities can be matched using command class and endpoint/index values.
Battery nodes won't be picked up by z-wave js until they wake up for the first time after the migration (ozw would have had the same issue moving from zwave)
Command class support is different between the 3 integrations so some entities may not port over, or new entities will be discovered

value id's used in the integration unique_id are different between the 3 integrations, so we won't be able to use those. We'll have to match entities to command class and endpoint/index values.
battery nodes won't be picked up by z-wave js until they wake up for the first time after the migration (ozw would have had the same issue moving from zwave)
command class support is different between the 3 integrations so some entities may not port over, or new entities will be discovered

Thinking out loud, maybe we go through all the entities for the "old" integration we're migrating from, and dump the entity_id, unique_id, node id, command_class, instance/endpoint, and index numbers into a migration file, and then as zwave_js discovers entities/values it looks them up in that file to see if it can find a match?

value id's used in the integration unique_id are different between the 3 integrations, so we won't be able to use those. We'll have to match entities to command class and endpoint/index values.
battery nodes won't be picked up by z-wave js until they wake up for the first time after the migration (ozw would have had the same issue moving from zwave)
command class support is different between the 3 integrations so some entities may not port over, or new entities will be discovered

Thinking out loud, maybe we go through all the entities for the "old" integration we're migrating from, and dump the entity_id, unique_id, node id, command_class, instance/endpoint, and index numbers into a migration file, and then as zwave_js discovers entities/values it looks them up in that file to see if it can find a match?

I think that's a great idea. And in the meanwhile we don't delete the old config entry but instead disable it.

I think that's a great idea. And in the meanwhile we don't delete the old config entry but instead disable it.

Would that work with multiple identical devices from the same manufacturer?
For devices that can't be auto matched, how about displaying a page that shows all of the entities for the device, including their state? If the device is a switch or a light then have buttons that can turn the device on and off.
Then have a dropdown or listbox filled with the old zwave devices that haven't been assigned. The user can test the unknown device to verify which device it actually is and then select its previous settings from the dropdown and apply it to the unknown device.
Of course the two devices would need to be compared to make sure they each had the same number of entities. Having buttons to refresh, test and/or heal the unknown device on the page would be helpful when all of the attributes for an unknown device weren't found.
Ideally it would be nice to be able to postpone the matching of devices to previous settings and then pick it back up later.
I know this is a lot of work. Perhaps the page could be also used of other zwave purposes. Perhaps for debugging.
Sadly I have no time to write any code so this is only a suggestion. And please ignore my ignorance of the correct names for things above.

Would that work with multiple identical devices from the same manufacturer?
For devices that can't be auto matched, how about displaying a page that shows all of the entities for the device, including their state? If the device is a switch or a light then have buttons that can turn the device on and off.
Then have a dropdown or listbox filled with the old zwave devices that haven't been assigned. The user can test the unknown device to verify which device it actually is and then select its previous settings from the dropdown and apply it to the unknown device.
Of course the two devices would need to be compared to make sure they each had the same number of entities. Having buttons to refresh, test and/or heal the unknown device on the page would be helpful when all of the attributes for an unknown device weren't found.
Ideally it would be nice to be able to postpone the matching of devices to previous settings and then pick it back up later.
I know this is a lot of work. Perhaps the page could be also used of other zwave purposes. Perhaps for debugging.
Sadly I have no time to write any code so this is only a suggestion. And please ignore my ignorance of the correct names for things above.

Would that work with multiple identical devices from the same manufacturer?

Node IDs stay the same and each device would have a unique node ID

Would that work with multiple identical devices from the same manufacturer?

Node IDs stay the same and each device would have a unique node ID

We'll want to make sure we account for people running multiple instances of ozwdaemon so we only migrate entities belonging to the correct instance and don't unload the config entry completely if there are more instances

We'll want to make sure we account for people running multiple instances of ozwdaemon so we only migrate entities belonging to the correct instance and don't unload the config entry completely if there are more instances

I knew that zwave devices don't have unique identifiers. I wasn't sure if the Node IDs would remain the same.
Thanks for the work you are doing.

I knew that zwave devices don't have unique identifiers. I wasn't sure if the Node IDs would remain the same.
Thanks for the work you are doing.

How about a semi-manual migration that lets people match the "new" device with one of their old zwave devices of the same type.
Clearly this could be a bit tedious with tens of devices but would make sure people can name their devices and entities in the process, too. As this would be a one-time undertaking, a migration wizard wouldn't be too terrible.

How about a semi-manual migration that lets people match the "new" device with one of their old zwave devices of the same type.
Clearly this could be a bit tedious with tens of devices but would make sure people can name their devices and entities in the process, too. As this would be a one-time undertaking, a migration wizard wouldn't be too terrible.

Well, not as tedious as manually editing entity ids when one's zwave system gets confused.
I don't know if it would be possible to use a wizard to rebuild a broken zwave system. Perhaps if one could save their zwave devices and entities and then use them to fix a broken zwave system using the wizard. Node IDs can change if one needs to reset a zwave device to get it working again.
I also don't know if using snapshots and restoring from a snapshot makes zwave repair seamless. I've been running HA Core so I don't know how other setups work.

Well, not as tedious as manually editing entity ids when one's zwave system gets confused.
I don't know if it would be possible to use a wizard to rebuild a broken zwave system. Perhaps if one could save their zwave devices and entities and then use them to fix a broken zwave system using the wizard. Node IDs can change if one needs to reset a zwave device to get it working again.
I also don't know if using snapshots and restoring from a snapshot makes zwave repair seamless. I've been running HA Core so I don't know how other setups work.

How about a semi-manual migration that lets people match the "new" device with one of their old zwave devices of the same type.
Clearly this could be a bit tedious with tens of devices but would make sure people can name their devices and entities in the process, too. As this would be a one-time undertaking, a migration wizard wouldn't be too terrible.

I think this is a great v1 solution. If there is an easy UI to match devices/entities between each other it can make the process fairly fast as we can do simple things like auto prefilling the name etc. Followed by a list of items that didn't match. I have 59 devices which mean ill have to rename 259 entities.

I have just installed ZW JS ( Awesome job to the team, as OZW is dead, long live the ZWJS) and I have around 100 nodes to bring over.
I use the Device>Cog and just rename the device and it renames all the Device's entities, it's pretty efficient and I keep a separate spreadsheet with all the node ids and their name and location, so it's a copy paste and done.
Sometimes I need to manually remove the trailing _3 / _2 appended to some attributes but that's only an evening's work.
So glad to have the stop button on covers now!
The ONLY issue i have is I used to be able to "rescan node" with the OZW Admin tool to bring in missing attributes that were missed on start up, but I can't see how to do this with ZWJS

* Command class support is different between the 3 integrations so some entities may not port over, or new entities will be discovered

I don't know how Command Classes evolve in ZW, but I recognize that some of my devices work currently under the zwave 1.4 integration because they support backward compatibility to that version of CCs (like Alarm CC). I'm curious why all three implementations have differing support for CCs, unless you mean that all the CCs that are supported in each are the same, it's just that some CCs are missing in some integrations.
I'm wondering if it is possible, feasible, or even smart, to include the older CCs in the new integration to ease the bridge from zwave 1.4. Not having some of the v1.4 CCs would likely require a lot of changes to sensors and automations, in addition to the entity naming differences, while providing a path forward with the new (to v1.4 folks anyway) CCs as devices are added.

I hope that Command Class is still supported as I rely on this a lot in 1.4 :)

We have no control of Command Classes. We just consume what each library provides. We can't create Command Classes that are missing in one or the other Z-Wave implementations.

We just consume what each library provides.

That makes sense. So at the moment, you rely on what is offered by OpenZWave or ZWave-JS, and on them to include the CCs equally and, hopefully, completely with time. Do you know if these libraries include the older CCs for backward compatibility? I would think they would, given the number of devices out there in-place (like in-wall light switches) that may not be upgradeable to the latest FW.
Here's an example to illustrate my fear. I'm using the zwave 1.4 integration, and my devices use the CCs supported by it, which my automations, Lovelace UI, sensors, and anything else using those entities, also reference. If the new integration comes along and ignores those CCs in preference to the latest CCs, and provide only those new entities to HA, then it is a major breaking change to the entire HA environment beyond renaming entities, but also in automation/script logic. This is all based upon my current understanding of ZWave, which is still pretty limited, so may be moot. I just wanted to throw it out there.

I think that's a great idea. And in the meanwhile we don't delete the old config entry but instead disable it.

Will disabling the config entry free up the entity IDs? Or do we have to rename those before we disable?

I am quite sure you have to rename them before you disable.

I just looked at the ozw code and it looks like the entities get removed before they get migrated, so no issues with naming conflicts as long as we use the same approach.


Redirect after sign in and sign out reloads complete page

There seems to be a problem in the auth plugin and configured push state.

Added a workaround until a proper fix available for this.


Garmin API endpoints have changed - some help is required

I have recently found that Garmin have deprecated a lot of the API endpoints that were being used in this library. I have snooped enough to fix the authentication mechanism, and the ability to get activities, but that's about it at the minute. I would appreciate help from anyone in identifying the other URLs that need to be updated. The are currently for the following methods:

getActivityTypes()
getActivitySummary()
getActivityDetails()
getExtendedActivityDetails()
getDataFile()

The way that I captured authentication and getActivityList(), was to login to Garmin Connect in Google Chrome with Developer Tools open, hit the Record button in the Network tab, and filter all XHR requests - these are invariable the API calls being made at various points.

Look at the Fork of klorie

My fork was also a work in progress, it's already obsolete...

Hello, have you seen my post here : https://github.com/AByGCreation/php-garmin-connect/tree/patch-2, is this will help you ?

Hi,
Can you submit a pull request for this work and I'll take a look!
Cheers, Dave
On Thu, 17 May 2018, 9:04 pm A ByG Creation<EMAIL_ADDRESS>wrote:

Hello, have you seen my post here :
https://github.com/AByGCreation/php-garmin-connect/tree/patch-2, is this
will help you ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dawguk/php-garmin-connect/issues/28#issuecomment-389992201,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAZ4nvH2GDW5R2Xpy1SQ4Nm6VmuOemEEks5tzdfSgaJpZM4TMRxc
.

Most endpoints are now working, apart from the endpoint URL used in getActivityDetails() method - I'm still unable to get to the bottom of this one.


linkifyHtml returning empty string with  tag

Given a HTML string with <DOCTYPE html>:
var body = '<!DOCTYPE html> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.EFILER.mas_file_sys_parameters.css"/>

The Income Tax Department has made it easy for taxpayers to link their PAN with Aadhaar.

It was reported that taxpayers were finding it difficult as their names did not match in both systems (Eg. Names with initials in one and expanded initials in another). Responding to such grievances,the Dept has come out with a simple solution now.

Just go to www.incometaxindiaefiling.gov.in and click on the link on the left pane -> Link Aadhaar. Provide PAN, Aadhaar no. and ENTER NAME EXACTLY AS GIVEN IN AADHAAR CARD (avoid spelling mistakes) and submit. After verification from UIDAI, the linking will be confirmed.

In case of any minor mismatch in Aadhaar name provided by you when compared to the actual data in Aadhaar, One Time Password (Aadhaar OTP) will be sent to the mobile registered with Aadhaar which has to be provided.

In a rare case where Aadhaar name is completely different from name in PAN, then the linking will fail and taxpayer will be prompted to change the name in either Aadhaar or in PAN database.

To update your PAN details please contact NSDL https://www.onlineservices.nsdl.com/paam/endUserRegisterContact.html
 or
To update your Aadhaar card details please contact UIDAI at https://ssup.uidai.gov.in/web/guest/update

This facility is also available after login. Go to Profile settings and choose Aadhaar linking. The details as per PAN are pre-populated. Enter Aadhaar no. and ENTER NAME EXACTLY AS GIVEN IN AADHAAR CARD (avoid spelling mistakes) and submit.

E-Filing team
'

var result = linkifyHtml(body);
console.log(result);

The output i.e. value in variable result is an empty string. But if we remove the <!DOCTYPE html> from the beginning of the string, linkifyHtml works properly. I tried to search in GitHub issues but didn't found anything useful.

Hey!
I implemented this in #272 , although I had to fork the version of simple-html-tokenizer used in here and then implement the new parsing methods in there, so let me know what you all think.
Thanks!

Fixed in v3

Thanks for working on the ticket after 3+ years. I appreciate that.


Recommendation of laptops

Since many of us face issues with drivers on Linux, we could create a list of laptops that are compatible.
This can be added as a section in 0_install_linux.md

Then we can mention that if 18.04 does not work, they can try 17.10?

17.10 will become dated within a few months. 16.04 will still have support.
Let's tell 16.04 then
On Mon 14 May, 2018, 10:58 AM Chirath R<EMAIL_ADDRESS>wrote:

Then we can mention that if 18.04 does not work, they can try 17.10?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/amfoss/vidyaratna/issues/9#issuecomment-388701081,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOSdWGRDCyMghX-KP9urzF80-ZySANQnks5tyRX9gaJpZM4T9I9D
.

@akhilam512
Can you please look into this?

What do you think?
should we add this in the readme or create a seperate md file?

I think as aforementioned, we can add it in the main readme itself under Linux ->  "Installation and Dual-booting" but only the smaller topics like "Why Linux" and "Installation"  from here  and the leave bigger, more elaborate (Common issues, laptop suggestions) ones in a separate md file. What do you think?
`

we can put it under headings like "Why Linux?" , "Common problems" and "Laptop Suggestions" inthe main

I think as aforementioned, we can add it in the main readme itself under Linux -> "Installation and Dual-booting" but only the smaller topics like "Why Linux" and "Installation" from here and the leave bigger, more elaborate (Common issues, laptop suggestions) ones in a separate md file. What do you think?

Is a new file required?
laptop suggestions can be mentioned in the readme while the common issues can be added as a ref to some blog post, it would be good if someone can blog about it else we need to wait for it.

Okay, I'm up for it if it fits and is not tooo long. I'll experiment and send a PR.


Build AI Car & Pedestrian Tracking with Python

Please give this issue to me. I want to work on it. I have already made 2 PR's but all you do is assigning the issue to others. I am very disappointed by this method. Even I tried to ask for the issue but you didn't respond.

Hey, @bhubesh757 @geekquad , I have made this project and have a bit experience in this. Please allow me to contribute to this issue by assigning this issue. Thank You. (GSSOC21 Participant)

Hey @raj-gupta1, please provide a valid description for the same.
Hey @raj-gupta1, we always follow the First come First serve method. Feel free to create an issue if you have something in mind which we already don't have.
@i-akshat-jain, we are not accepting any projects/ mini-projects. Feel free to create an issue for any kind of Image Processing technique you wish to add.v

@geekquad what I mean is I have the solution for this issue. I am not proposing any new project or an issue with it.


[3.0.2] there is no more guidata-test scripts.

It seems that this scripts a disparu :) during the conversion.
Cheers

It would be great if you could add this file in the source
https://salsa.debian.org/science-team/guidata/-/blob/master/debian/guidata-tests3.desktop
for info the Exec TryExec should macth with the name of the guidata-test script :)
This way the desktop file could be identical from one distribution to the other.

Do you want it to be placed in a new "debian" folder at the root of the repo?

Hello Pierre,
I do not know, this is something related to xdg
https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/
So it is not Debian specific...
what about an extra xdg directory with all the xdg files ?

See #64


Zombie reaping logic hijacks child exit status

The newly added zombie reaping logic reacts to SIGCHLD by doing a wait() syscall.
This hijacks the child's exit status from competing wait() calls, interfering with......

Nginx updater code which fails to verify that nginx is running, so doesn't update nginx with new rules/services:

time="2016-11-17T12:52:44Z" level=warning msg="Controller listener failed" error="waitid: no child processes"

Command-type healthchecks (e.g., file:///bin/ls for the productpage microservice) which fails to read the command exit status, and triggers deregistration:

time="2016-11-17T12:46:04Z" level=info msg="Service successfully registered with Amalgam8" instance_id=c366a7b3223239bc service_name=productpage
time="2016-11-17T12:48:29Z" level=info msg="Stopping Amalgam8 service registration agent" service_name=productpage
time="2016-11-17T12:48:29Z" level=info msg="Attempting to deregister service with Amalgam8" instance_id=c366a7b3223239bc service_name=productpage
time="2016-11-17T12:48:29Z" level=info msg="Service successfully deregistered with Amalgam8" instance_id=c366a7b3223239bc service_name=productpage
time="2016-11-17T12:48:59Z" level=info msg="Starting Amalgam8 service registration agent" service_name=productpage
time="2016-11-17T12:48:59Z" level=info msg="Service successfully registered with Amalgam8" instance_id=c366a7b3223239bc service_name=productpage
time="2016-11-17T12:49:29Z" level=info msg="Stopping Amalgam8 service registration agent" service_name=productpage
time="2016-11-17T12:49:29Z" level=info msg="Attempting to deregister service with Amalgam8" instance_id=c366a7b3223239bc service_name=productpage
time="2016-11-17T12:49:29Z" level=info msg="Service successfully deregistered with Amalgam8" instance_id=c366a7b3223239bc service_name=productpage

On a slightly related note : Is the new logic capable of handling this issue #62 ?

The zombie reaping logic itself is only concerned with, well, zombie reaping - it doesn't start/restart any processes.
The supervise package indeed handles process supervision... but per @GregHanson's comment, splitting the nginx management logic between two components is not desired.

@zcahana can you document the exact steps to reproduce the nginx item?

This is intermittent (race condition), so doesn't reproduce consistently.
I've been seeing this when running the integration tests locally, again the master branch:
A8_TEST_K8S=false make test.integration

If the test fails, check the logs of the bookinfo/gateway containers.
You can also wait a few more minutes, so that more updates will come from the registry (due to productpage cycling through register/unregister).

Resolved by #421


Update README.md

Replace the link. The old one referenced Mobile Services topic. This service has been superseded by Azure App Service Mobile Apps and is scheduled for removal from Azure.

Hi @vt-cezary, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@vt-cezary Thanks for helping us to keep this update to date.


Cannot run 'nix-shell' on Mac OSX

Summary
I have cloned the repo and I am now trying to run nix-shell, but I get the following error:
> cd Projects/plutus-apps; nix-shell
/nix/store/zrz9si84rhdarqa8sqd9zi8n5m21wsw7-nopt-5.0.0.tgz
/nix/store/zwk0h77xwdbp01cf3lgrmzxnkfyh6v60-readable-0.3.1.tar.gz
/nix/store/zz2jj6v1j15y2w8pmm639z5rm0w7q8y9-are-we-there-yet-1.1.5.tgz
copying path '/nix/store/9y6ys981rs4lzn7airs34bvgiwklcfzh-aeson-qq-0.8.4.tar.gz' from 'https://cache.nixos.org'...
copying path '/nix/store/wc0sshipvsfzkaxhx221bnl84pk1fi2m-abstract-par-0.3.3.tar.gz' from 'https://cache.nixos.org'...
error: opening directory '/nix/store/pkbi8r18y95x5q4h76hq0mg0ak3fzmr0-pqueue-lib-pqueue-<IP_ADDRESS>-config': Too many open files

Steps to reproduce
Steps to reproduce the behavior:

cd plutus-apps
nix-shell

Expected behavior
It should build fine, and should not result in an error.
System info (please complete the following information):

OS: Mac OSX
Version: Catalina
Plutus version or commit hash: 7333e3c3ae62c955c5db7799dbf1c1f58593325d

Did you have similar issue with other projects using Nix? I never has such issue when I was using Nix on a macbook but since I move to Arch, I cannot verify it.
To me it is not an issue related to plutus-apps, maybe more related to your Nix installation, you could try getting rid of your nix folder a do a fresh reinstall.

@omefire sorry, I saw you comment in #82 but forgot to reply.
Please take a look if sandbox is enabled. If yes, try to disable. Maybe a fresh reinstall as @bhoudebert suggested.

I'm closing this for now. Please feel free to reopen and to ask questions.


Issue: Every interval different interface telemetry is being retrieved from the Device

Hello @karimra ,
We are facing an issue in our team, we have a configuration file like this.
username: dummy
password: dummy
other global variables

targets:
 cisco:
   name: cisco
   address: ip address of the device
   subscription:
      - subscriptionname
  output
      - outputname

subscriptions:
     subscriptionname:
      target: "some_dummy_name"
       paths:
         - path to the interface like (Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/interface-xr/interface)
       stream-mode: sample
      sample-interval: 200s

outputs:
 outputname:
     type: kafka
    name: anyname
    topic: name of the topic
   format: protojson

The problem is that after every 200s different interface information is being retrieved not the same interface.
For example:
During first time it would retrieve from interface like 1/6/6/45 (dummy name) and others. But after 200s it is retrieving other interface telemetry data which is not same as the previous one like completely different 1/6/6/23.
Could you let me know if there any keyword that needs to be defined.
Also i see an issue that it does not retrieve information in specified interval.

Hi,
In the gNMI protocol, unlike SNMP, the device pushes data to the collector.
So gnmic is not retrieving data from the device, the device is pushing the updates to gnmic
The client (gnmic) subscribes by describing the set of data it is interested on ( i.e the subscription ), then it is up to the device to send the requested data correctly.
It is also up to the device to send the data at the requested rate (sample-interval)
If you could share the logs, I can check if the request is sent according to the configuration.

Sorry my mistake. Thanks for the clarification @karimra.
We are running gnmic  as  a docker container. Sure you need the logs for gnmic right?

yes, you can save the logs to a file by adding the flag --log-file /path/to/log/file or by adding the following in gnmic config file log-file:  /path/to/log/file

Thanks @karimra. Actually I can could have the kubectl logs but the problem is that it contains some proprietary company information. So it would be difficult to share . Just wanted to know what should I be checking in the logs, i see following logs

Adding the targets
Queueing
Subscribing to the target
Starting the listener.

Is there any specific that I should be looking at ?

Subscribing to the target, check if the subscribe request matches the subscription config.
You could also log into the router and check if the subscription is properly created.

{prefix:{target:"dummy_name"} subscription:{path:{elem:{name:"Cisco-IOS-XR-pfi-im-cmd-oper:interfaces"} elem:{name:"interface-xr"} elem:{name:"interface"}} mode:SAMPLE sample_interval:300000000000} encoding:PROTO}', mode='STREAM', encoding='PROTO', to dummy_target_name
This is the subscribe_request that i have for the above configuration file.

It looks ok, except that I guess you changed the sample-interval to 300s ?

Yes just that.

Well, that's something to take to the device vendor.
You could try another collector, to validate that the device behaves the same

Ya. No problem. The earlier collectors works that we were using is working fine. Just wanted to try out different collectors and check if the performance can be improved.
Anyways thanks for your time and help.
If i want to reach you directly rather than creating issue, could I reach you by email if you are okay with it.

sure, but it will be the same as opening an issue, not "premium" support or anything like that :)

@karimra  Thanks. Got it. Just one more question i am using kafka for the output. The problem is that after sometime it stops sending message messages to kafka. Not sure if its the collector or it is not getting information that is sent by the device.
I get this after some time.
client/metadata fetching metadata for all topics from broker dummy_kafka_broker_ip_address
client/metadata fetching metadata for all topics from broker dummy_kafka_broker_ip_address
client/metadata fetching metadata for all topics from broker dummy_kafka_broker_ip_address
client/metadata fetching metadata for all topics from broker dummy_kafka_broker_ip_address
client/metadata fetching metadata for all topics from broker dummy_kafka_broker_ip_address

Closing the issue


window context line needs to handle an arbitrarily closed parent window chain

made it not display if inline node's parent window is closed, not solved yet

it need to look up the hierarchy to find the first open parent window and point to the inline node in that


[#noissue] Improve rejected execution messages of ThreadPoolExecutor

Improve rejected execution messages of ThreadPoolExecutor
AS-IS
RejectedExecutionCount=1000

TO-BE
The executor uses finite bounds for both maximum threads and work queue capacity, and is saturated. Check the maxPoolSize, queueCapacity, and HBase options in the configuration. maxPoolSize=10, rejectedCount=70

Codecov Report

Merging #6290 into master will increase coverage by 0.02%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #6290      +/-   ##
==========================================
+ Coverage   39.55%   39.58%   +0.02%
==========================================
  Files        3061     3061
  Lines       91415    91416       +1
  Branches    11845    11846       +1
==========================================
+ Hits        36163    36186      +23
+ Misses      52269    52244      -25
- Partials     2983     2986       +3

Impacted Files
Coverage Δ

...ector/monitor/LoggingRejectedExecutionHandler.java
88.88% <50%> (+88.88%)
:arrow_up:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75% <0%> (-10%)
:arrow_down:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
57.14% <0%> (-8.58%)
:arrow_down:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
18.6% <0%> (-1.17%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
66.66% <0%> (ø)
:arrow_up:

...point/rpc/client/DefaultPinpointClientHandler.java
72.4% <0%> (+0.32%)
:arrow_up:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
74.16% <0%> (+1.66%)
:arrow_up:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
59.57% <0%> (+2.12%)
:arrow_up:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
85.36% <0%> (+2.43%)
:arrow_up:

... and 3 more

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 625a48d...2e0a85b. Read the comment docs.


PipelineWrapper has no attribute 'get_config'

@ScottyB I do not see the need of get_config anyway. We can just do something like:
config = self.surround.config


Update build-constraints.yaml

Looks like there are some restrictive upper bounds:
base-<IP_ADDRESS> depended on by:

xlsior-<IP_ADDRESS> (==4.7.*). Rob O'Callahan<EMAIL_ADDRESS>
blaze-markup-<IP_ADDRESS> depended on by:

xlsior-<IP_ADDRESS> (==0.6.*). Rob O'Callahan<EMAIL_ADDRESS>

I am also trying to resolve use of "defaultTimeLocale" in LTS for this
package. From which package should I import this?
-Rob
On Fri, Jul 3, 2015 at 9:51 AM, Michael Snoyman<EMAIL_ADDRESS>wrote:

Looks like there are some restrictive upper bounds:
base-<IP_ADDRESS> depended on by:

xlsior-<IP_ADDRESS> (==4.7.*). Rob O'Callahan<EMAIL_ADDRESS>
blaze-markup-<IP_ADDRESS> depended on by:

xlsior-<IP_ADDRESS> (==0.6.*). Rob O'Callahan<EMAIL_ADDRESS>
—
Reply to this email directly or view it on GitHub
https://github.com/fpco/stackage/pull/660#issuecomment-118367534.

@rcallahan time-locale-compat, it providesdefaultTimeLocale for both time 1.4 and 1.5 by the way.

I have uploaded a working xlsior-<IP_ADDRESS> to hackage. Thanks,
-Rob
On Fri, Jul 3, 2015 at 10:23 AM, Adam Bergmark<EMAIL_ADDRESS>wrote:

@rcallahan https://github.com/rcallahan time-locale-compat, it provides
defaultTimeLocale for both time 1.4 and 1.5 by the way.
—
Reply to this email directly or view it on GitHub
https://github.com/fpco/stackage/pull/660#issuecomment-118372764.


Authentication inside a Tableau Extension

Using a PopUp to login
I'm trying to login with angular-oauth2-oidc inside a Tableau Extension.
The Extension is embedded inTableau, the official documentation describes that Tableau is using a Chromium based browser inside Tableau itself.
The login works when using the web application outside of Tableau in Chrome or Microsoft Edge.
Using the Login inside Tableau does not work though. I implemented the login inside a popup, as suggested here:
https://github.com/manfredsteyer/angular-oauth2-oidc/pull/468#issuecomment-517698755
Currently using authService.initImplicitFlowInPopup(). The Popup is opened in the standard browser, receiving the token, but not sending it back to the Web-app inside Tableau.
(Without popup, it doesn't seem to work either.)
Because the login works completely fine outside of Tableau, this seems to be caused by the Extension being in the container inside Tableau
Any suggestions how the problem can be solved?

Let us know if Tableau Support or a colleague or someone ever helped you figure it out!


ZeroDivisionError with SAX, PAA and 1-d SAX transfortmation

Hi,
i saw the code for SAX, PAA and 1-d SAX transfortmation. For example, using this block of code:
# PAA transform (and inverse transform) of the data
n_paa_segments = 10
paa = PiecewiseAggregateApproximation(n_segments=n_paa_segments)
paa_dataset_inv = paa.inverse_transform(paa.fit_transform(dataset))
with my datasets (that are a numpy array of integers or floats) returns every time this error:
ZeroDivisionError: integer division or modulo by zero

Hi,
What's the shape of dataset?
The input should be 3D:
X : array-like of shape (n_ts, sz, d)
            Time series dataset

But there is no type checking currently present in the PiecewiseAggregateApproximation or SymbolicAggregateApproximation, which should normally be fixed in a future PR.

Probably is not a 3D dataset.
For example this one, where i extract the Price column:
https://www.macrotrends.net/1320/nasdaq-historical-chart
Is there a way to reshape it?

Yes, you can reshape it before feeding it to tslearn (e.g. with numpy.reshape)

Thank you!!


Added drone-cli dockerfile for amd64

Added drone-cli dockerfile for amd64

Hi thanks for this, but if I'm not using an image ~weekly or all the time, I feel badly maintaining it, mostly because I won't know if it will break or not.
I'm also not exactly an official library and the cool thing about docker is anyone can publish any images they want. So I am going to pass, sorry! But thank you!


ConnectionResetError from aiohttp when viewing arlo camera video

Home Assistant release with the issue:
seen on 0.86.4 & 0.87.0b5
Last working Home Assistant release (if known):
Not known, but verified works on 0.46.1 (first release of this component)
Operating environment (Hass.io/Docker/Windows/etc.):
RPi3/Docker
Component/platform:
Possibly https://www.home-assistant.io/components/arlo
Description of problem:
When trying to view video on arlo camera component from either Firefox or Chrome, receive the following error and no video shows.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
arlo:
  username: !secret arlouser
  password: !secret arlopass

camera:
  - platform: arlo
    ffmpeg_arguments: '-pred 1 -q:v 2'

ffmpeg:

Traceback (if applicable):
2019-02-04 21:36:32 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 67, in ban_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 99, in auth_middleware
    return await handler(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 118, in handle
    result = await result
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 407, in get
    return await self.handle(request, camera)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/__init__.py", line 443, in handle
    return await camera.handle_async_mjpeg_stream(request)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 109, in handle_async_mjpeg_stream
    await stream.close()
  File "/usr/local/lib/python3.6/site-packages/haffmpeg/core.py", line 134, in close
    yield from self._proc.communicate(input=b'q')
  File "/usr/local/lib/python3.6/asyncio/subprocess.py", line 195, in communicate
    loop=self._loop)
  File "/usr/local/lib/python3.6/asyncio/subprocess.py", line 143, in _feed_stdin
    self.stdin.write(input)
  File "/usr/local/lib/python3.6/asyncio/streams.py", line 300, in write
    self._transport.write(data)
  File "uvloop/handles/stream.pyx", line 671, in uvloop.loop.UVStream.write
  File "uvloop/handles/handle.pyx", line 159, in uvloop.loop.UVHandle._ensure_alive
RuntimeError: unable to perform operation on <WriteUnixTransport closed=True reading=False 0x6f053770>; the handler is closed
2019-02-04 21:36:32 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 447, in start
    await resp.prepare(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_response.py", line 353, in prepare
    return await self._start(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_response.py", line 667, in _start
    return await super()._start(request)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_response.py", line 410, in _start
    await writer.write_headers(status_line, headers)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/http_writer.py", line 112, in write_headers
    self._write(buf)
  File "/usr/local/lib/python3.6/site-packages/aiohttp/http_writer.py", line 67, in _write
    raise ConnectionResetError('Cannot write to closing transport')
ConnectionResetError: Cannot write to closing transport

Additional information:

Can you please try #20314? It will be in next 0.87 beta.

@awarecan - I`m still seeing the same issue on latest beta, 0.87.0b6. Video doesn't show with same symptoms as #20314

Still it is a problem with 0.95.4


improvement Priority Queue support vruntime

Proposed changes
In the current implementation, Priority Queue using schedule times to tell big query or small query.
The ideal implementation is using vruntime to tell big query or small query.
I using this PriorityQueue as POC test in scanner scheduler, it makes a big improvement.
But it's hard to make same same improvement in task schduler because scanner scheduler first became a bottleneck.
Performance Rollback Test
Clickbench
Before(using default resoure group)
8 instance
40.31/39.75/39.19

16 instance
27.60/27.61/27.48

After(using Priority with no group)
8 instance
41.84/39.18/39.27

16 instance
27.77/27.78/26.58

Checklist(Required)

[x] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

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

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.96 seconds
stream load tsv:          423 seconds loaded<PHONE_NUMBER>9 Bytes, about 168 MB/s
stream load json:         21 seconds loaded<PHONE_NUMBER> Bytes, about 107 MB/s
stream load orc:          60 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230413133442_clickbench_pr_128660.html

run buildall


Review project Honeypot blacklists inclusion

Motivation
While rewriting documentation about our extended install procedure, we found out that we still point to Project Honeypot blacklists. Per @theseion comments in https://github.com/coreruleset/documentation/pull/39:

It seems to be operational still but there has been no development for a couple of years now. There are also some known issues (e.g. PHP dropped support for one of the functions they use, no IPv6 support, etc.).

Proposed solution
We should maybe reassess whether we want to advertise the project as we do now.

I think the correct take is to drop this link, to reassess the situation in a holistic way and then propose a few links in the documentation. This could include crowdsec and maybe other honeypot projects or other options.
If we do the new IP reputation plugin, then a blog post could introduce said plugin and link it to various options for IP deny-lists.


Use American spelling for "specialty"

A common complaint amongst those who have completed the qualifier has been the esoteric spelling of the word "specialty". This choice of spelling has truly been disruptive, and this PR seeks to help minimize this disruption.

I agree, although this isn't exactly an issue. It was certainly difficult for me for around 10 minutes. But considering we have much more time to complete the qualifier than 10 minutes, it isn't much of a problem

Nonetheless, for many of the applicants, the esoteric spelling of the word constituted the bulk of the difficulty of the qualifier; I believe that the difficulty of a qualifier, especially for beginner-friendly events such as CJ9, should not heavily depend on curveballs such as these.

The comment about the spelling being "esoteric" was in jest, but it is less common than the American spelling, especially since both spellings are interchangeable in British English to the best of my knowledge.

This is more- or less a breaking change at this point, as we cannot change this without breaking both existing qualifiers and in-progress qualifiers.
Therefore, the only viable solution would be to make duplicates in the dictionary. This would most likely complicate the tests a bit and I am not sure how much it'd help.
Besides, if we change this to the American spelling how many will be confused when using the British spelling? That's a hard thing to measure.
I am not sure whether this is a change we will want to make. It'd be happy with a warning to use the correct spelling though - that change is harm-free.

I agree with the warning method to avoid compatibility issues, I have created #5 where a special verbose warning is raised on attempted access of the key specialty

This was superseded by #5 - nevertheless, thank you for opening this PR!


Atlas with mongoDB

How can I use mongodb instead of rethinkDB ?

@hoangtrongphuc hi!
The app was built around RethinkDB, so there isn't an ORM or abstraction layer where you could simply select a MongoDB "driver". However, the DB-related code is isolated enough that it should be fairly simple to port it to MongoDB. If I'm not mistaken or missing anything...

https://github.com/yoonic/atlas/blob/master/src/core/db.js
https://github.com/yoonic/atlas/blob/master/src/resources/carts/models.js
https://github.com/yoonic/atlas/blob/master/src/resources/checkouts/models.js
https://github.com/yoonic/atlas/blob/master/src/resources/collections/models.js
https://github.com/yoonic/atlas/blob/master/src/resources/contents/models.js
https://github.com/yoonic/atlas/blob/master/src/resources/orders/models.js
https://github.com/yoonic/atlas/blob/master/src/resources/products/models.js
https://github.com/yoonic/atlas/blob/master/src/resources/users/models.js


Guide for mounting docker socket use cases, with AWS sam cli example.

What is the issue?
This are great docs for interacting with a docker socket on the client

https://docs.dagger.io/1203/client/#using-a-local-socket
https://docs.dagger.io/1216/docker-cli-load/

but users might not know to look for these when they're getting an error like from sam build:
Error: Building image for LambdaFunction requires Docker. is Docker running?

We should explain a bit more when/why you might use this approach generally.
Not sure if there are other examples like this, a cli tool that itself calls docker build.

Here is an example...
https://docs.dagger.io/1248/aws-sam


⚠ Turnos 24x7 has degraded performance

In addd162, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1328 ms

Resolved: Turnos 24x7 performance has improved in 5023fa7.


test_subscribe_param's test_replay_real_time is flaky when run under ASAN/UBSAN/TSAN

Every now and then I'm getting the following failure from the test suite:
10/19 Test  #8: test_subscribe_param .............Subprocess aborted***Exception:  10.83 sec
[==========] Running 11 test(s).
[ RUN      ] test_stop_time_invalid
[       OK ] test_stop_time_invalid
[ RUN      ] test_start_time_invalid
[       OK ] test_start_time_invalid
[ RUN      ] test_stop_time_no_start_time
[       OK ] test_stop_time_no_start_time
[ RUN      ] test_basic_replay
[       OK ] test_basic_replay
[ RUN      ] test_replay_real_time
"<replayComplete xmlns="urn:ietf:params:xml:ns:netmod:notification"/>
" != "<n1 xmlns="n1">
  <first>Second</first>
</n1>
"
[   LINE   ] --- /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/Netopeer2/tests/test_subscribe_param.c:339: error: Failure!

That's with:

CESNET/libyang@6346639acb1a3d60e6c728afe0696dad6e682930
sysrepo/sysrepo@a3e19dd618e8bc550181e56d73257bcd4934dfc1
CESNET/libnetconf2@49c5192d4b669fa562c8785507ffa25812547d40
Netopper2 at f06e6dfc5c89a698353093265fcd8779d53151f0

So far I've only gotten these with either clang with ASAN+UBSAN, or clang with TSAN. This instrumentation imposes some runtime performance overhead, so the code runs "slower". That said, I do not see any obvious correlation between a test running "too slow" and its failure:

13/19 Test  #8: test_subscribe_param .............   Passed   11.44 sec (ASAN+UBSAN run 1)
11/19 Test  #8: test_subscribe_param .............   Passed    9.59 sec (ASAN+UBSAN run 2)
10/19 Test  #8: test_subscribe_param .............***Failed    6.46 sec (ASAN+UBSAN run 3)
10/19 Test  #8: test_subscribe_param .............Subprocess aborted***Exception:  11.77 sec (TSAN run 4)
10/19 Test  #8: test_subscribe_param .............Subprocess aborted***Exception:  19.62 sec (TSAN run 5)

Also, the TSAN version is built with -DHAVE_PTHREAD_MUTEX_TIMEDLOCK=OFF -DHAVE_PTHREAD_MUTEX_CLOCKLOCK=OFF -DHAVE_PTHREAD_RWLOCK_CLOCKRDLOCK=OFF -DHAVE_PTHREAD_RWLOCK_CLOCKWRLOCK=OFF -DHAVE_PTHREAD_COND_CLOCKWAIT=OFF, but the ASAN+UBSAN is just using defaults, not these compat wrappers.

I think I have also seen it some time ago but without more information I could not come up with any possible reasons. So let me know if you learn something more or if you could reproduce it more reliably, I cannot.

Hello.
I tried to reproduce this and indeed I was able to with clang+tsan. For me it fails once in ~20 runs and it fails because the test expects the following order of notifications

<n1 xmlns="n1"><first>First</first></n1>
<replayComplete xmlns="urn:ietf:params:xml:ns:netmod:notification"/>
<n1 xmlns="n1"><first>Second</first></n1>

but for some reason (under clang+tsan) the last two notifications come in reverse order (i.e., 1,3,2).
diff --git a/tests/test_subscribe_param.c b/tests/test_subscribe_param.c
index 8799476..2ccfe89 100644
--- a/tests/test_subscribe_param.c
+++ b/tests/test_subscribe_param.c
@@ -336,7 +336,9 @@ test_replay_real_time(void **state)
     /* Check for replayComplete notification since the replay is done */
     RECV_NOTIF(st);
     expected = "<replayComplete xmlns=\"urn:ietf:params:xml:ns:netmod:notification\"/>\n";
-    assert_string_equal(expected, st->str);
+    /* assert_string_equal(expected, st->str); */
+    const char* expNotif2 = expected;
+    char* actNotif2 = strdup(st->str);
     FREE_TEST_VARS(st);

     /* Check for real time notification */
@@ -345,12 +347,22 @@ test_replay_real_time(void **state)
             "<n1 xmlns=\"n1\">\n"
             "  <first>Second</first>\n"
             "</n1>\n";
-    assert_string_equal(expected, st->str);
+    /* assert_string_equal(expected, st->str); */
+    const char* expNotif3 = expected;
+    char* actNotif3 = strdup(st->str);
     FREE_TEST_VARS(st);

     /* No other notification should arrive */
     ASSERT_NO_NOTIF(st);
     FREE_TEST_VARS(st);
+
+	if(strcmp(expNotif2, actNotif2) && strcmp(expNotif3, actNotif3)) {
+		printf("2: %s\n", actNotif2);
+		printf("3: %s\n", actNotif3);
+		assert_true(0);
+	}
+	free(actNotif2);
+	free(actNotif3);
 }

 static void
@@ -598,21 +610,21 @@ int
 main(int argc, char **argv)
 {
     const struct CMUnitTest tests[] = {
-        cmocka_unit_test(test_stop_time_invalid),
-        cmocka_unit_test(test_start_time_invalid),
-        cmocka_unit_test(test_stop_time_no_start_time),
-        cmocka_unit_test_teardown(test_basic_replay, clear_notif),
+        /* cmocka_unit_test(test_stop_time_invalid), */
+        /* cmocka_unit_test(test_start_time_invalid), */
+        /* cmocka_unit_test(test_stop_time_no_start_time), */
+        /* cmocka_unit_test_teardown(test_basic_replay, clear_notif), */
         cmocka_unit_test_teardown(test_replay_real_time, clear_notif),
-        cmocka_unit_test_teardown(test_stop_time, clear_notif),
-        cmocka_unit_test_teardown(test_stop_time_sub_end, clear_notif),
-        cmocka_unit_test_teardown(test_history_only, clear_notif),
-        cmocka_unit_test(test_stream_no_pass),
-        cmocka_unit_test(test_stream_pass),
-        cmocka_unit_test(test_stream_no_pass_start_time),
+        /* cmocka_unit_test_teardown(test_stop_time, clear_notif), */
+        /* cmocka_unit_test_teardown(test_stop_time_sub_end, clear_notif), */
+        /* cmocka_unit_test_teardown(test_history_only, clear_notif), */
+        /* cmocka_unit_test(test_stream_no_pass), */
+        /* cmocka_unit_test(test_stream_pass), */
+        /* cmocka_unit_test(test_stream_no_pass_start_time), */
     };

     nc_verbosity(NC_VERB_WARNING);
-    sr_log_stderr(SR_LL_WRN);
+    sr_log_stderr(SR_LL_DBG);
     parse_arg(argc, argv);
     return cmocka_run_group_tests(tests, local_setup, local_teardown);
 }

    Start 8: test_subscribe_param
1/3 Test #8: test_subscribe_param .............Subprocess aborted***Exception:   3.94 sec
[==========] Running 1 test(s).
[INF] Connection 49 created.
[INF] Module "notif1" was installed.
[INF] Module "notif2" was installed.
[INF] File "notif1.yang" was installed.
[INF] File "notif2.yang" was installed.
[INF] Published event "operational get" "/ietf-yang-schema-mount:schema-mounts" with ID 1.
[INF] Event "operational get" with ID 1 succeeded.
[INF] Session 825 (user "tomas", CID 49) created.
[INF] Published event "operational get" "/ietf-yang-schema-mount:schema-mounts" with ID 6.
[INF] Event "operational get" with ID 6 succeeded.
[INF] Session 839 (user "tomas", CID 49) created.
[INF] Module "notif1" replay support enabled.
[ RUN      ] test_replay_real_time
[INF] JSON notif: Replay file "notif1.notif.1677777394-1677777394" created.
[INF] Notification "n1" stored for replay.
[INF] There are no subscribers for "notif1" notifications.
[INF] Notification "n1" stored for replay.
[INF] Published event "notif" "notif1" with ID 1 priority 0 for 1 subscribers.
0
[   LINE   ] --- /home/tomas/zdrojaky/cesnet/dependencies/Netopeer2/tests/test_subscribe_param.c:362: error: Failure!2: <n1 xmlns="n1">
  <first>Second</first>
</n1>

3: <replayComplete xmlns="urn:ietf:params:xml:ns:netmod:notification"/>

    Start 2: tests_kill_server
2/3 Test #2: tests_kill_server ................   Passed    0.00 sec
    Start 3: tests_clear_state
3/3 Test #3: tests_clear_state ................   Passed    0.00 sec

67% tests passed, 1 tests failed out of 3

Total Test time (real) =   3.95 sec

The following tests FAILED:
	  8 - test_subscribe_param (Subprocess aborted)
Errors while running CTest

Thanks for the effort but I still cannot reproduce it. However, after looking at it again, I have come up with a possible reason for the test failures but would need you to verify it. Please apply this patch for sysrepo
diff --git a/src/sysrepo.c b/src/sysrepo.c
index cfb30c24..06fff89e 100644
--- a/src/sysrepo.c
+++ b/src/sysrepo.c
@@ -6187,6 +6187,9 @@ _sr_notif_subscribe(sr_session_ctx_t *session, const char *mod_name, const char
     if ((err_info = sr_shmext_notif_sub_add(conn, shm_mod, sub_id, xpath, (*subscription)->evpipe_num, &listen_since))) {
         goto cleanup_unlock;
     }
+    if (start_time) {
+        SR_LOG_WRN("## new subscr \"%s\" start %d.%09ld listen_since %d.%09ld", mod_name, start_time->tv_sec, start_time->tv_nsec, listen_since.tv_sec, listen_since.tv_nsec);
+    }

     /* we are holding SUBS lock so that even if event is generated based on the ext SHM subscription we have just added,
      * the evpipe data cannot be read and the event not processed since it is still missing in the subscr structure */
@@ -6318,6 +6321,7 @@ sr_notif_send_tree(sr_session_ctx_t *session, struct lyd_node *notif, uint32_t t

     /* remember when the notification was generated */
     sr_realtime_get(&notif_ts);
+    SR_LOG_WRN("## new \"%s\" notif %d.%09ld", notif->schema->module->name, notif_ts.tv_sec, notif_ts.tv_nsec);

     /* check notif data tree */
     notif_op = NULL;

and run the test. The important lines are the following ones
Test output:
[WRN] ## new "notif1" notif<PHONE_NUMBER>.341355855
[WRN] ## new "notif1" notif<PHONE_NUMBER>.982177490

netopeer2 output (stored in build/tests/repositories/np_test/np2log by default):
[WRN]: SR: ## new subscr "notif1" start<PHONE_NUMBER>.338899697 listen_since<PHONE_NUMBER>.976628949

On a successful test I always expect the timestamps to be in the order 1. subscr start, 2. first notif, 3. listen since, and 4. second notif. On a failed test I think the timestamp order will be different, so please test it for me.

Thanks. I wanted to dig more into that but unfortunately I had no time.
Using all current devel branches

sysrepo a3e19dd618e8bc550181e56d73257bcd4934dfc1 (with your patch)
libyang a4dce763542c0d42e88ab573c489a3b5ee4ab91c
libnetconf 49c5192d4b669fa562c8785507ffa25812547d40
Netopeer2 225e9fc09f1c432bcf354829338906bc89fdd55c

all compiled using clang15.0.7 with -fsanitize=thread -g and configured with cmake flags -DHAVE_PTHREAD_MUTEX_TIMEDLOCK=OFF -DHAVE_PTHREAD_MUTEX_CLOCKLOCK=OFF -DHAVE_PTHREAD_RWLOCK_CLOCKRDLOCK=OFF -DHAVE_PTHREAD_RWLOCK_CLOCKWRLOCK=OFF -DHAVE_PTHREAD_COND_CLOCKWAIT=OFF
Test output:
$ while true; do rm -fr tests/repositories && rm -fr /dev/shm/* && sr_purge && ctest -R "test_subscribe_param$" --output-on-failure || break; done

(...)

Test project /home/tomas/zdrojaky/cesnet/dependencies/Netopeer2/build
    Start 8: test_subscribe_param
1/3 Test #8: test_subscribe_param .............Subprocess aborted***Exception:   4.96 sec
[==========] Running 1 test(s).
[INF] Connection 13 created.
[INF] Module "notif1" was installed.
[INF] Module "notif2" was installed.
[INF] File "notif1.yang" was installed.
[INF] File "notif2.yang" was installed.
[INF] EV ORIGIN: "/ietf-yang-schema-mount:schema-mounts" "oper get" ID 1 published.
[INF] EV ORIGIN: "/ietf-yang-schema-mount:schema-mounts" "oper get" ID 1 succeeded.
[INF] Session 33 (user "tomas", CID 13) created.
[INF] EV ORIGIN: "/ietf-yang-schema-mount:schema-mounts" "oper get" ID 6 published.
[INF] EV ORIGIN: "/ietf-yang-schema-mount:schema-mounts" "oper get" ID 6 succeeded.
[INF] Session 47 (user "tomas", CID 13) created.
[INF] Module "notif1" replay support enabled.
[ RUN      ] test_replay_real_time
[WRN] ## new "notif1" notif<PHONE_NUMBER>.621407141
[INF] JSON notif: Replay file "notif1.notif.1677840640-1677840640" created.
[INF] Notification "n1" stored for replay.
[INF] There are no subscribers for "notif1" notifications.
[WRN] ## new "notif1" notif<PHONE_NUMBER>.284374040
[INF] JSON notif: Replay file "notif1.notif.1677840640-1677840640" renamed to "notif1.notif.1677840640-1677840641".
[INF] Notification "n1" stored for replay.
[INF] EV ORIGIN: "notif1" "notif" ID 1 priority 0 for 1 subscribers published.
"<replayComplete xmlns="urn:ietf:params:xml:ns:netmod:notification"/>
" != "<n1 xmlns="n1">
  <first>Second</first>
</n1>
"
[   LINE   ] --- /home/tomas/zdrojaky/cesnet/dependencies/Netopeer2/tests/test_subscribe_param.c:339: error: Failure!

    Start 2: tests_kill_server
2/3 Test #2: tests_kill_server ................   Passed    0.01 sec
    Start 3: tests_clear_state
3/3 Test #3: tests_clear_state ................   Passed    0.00 sec

67% tests passed, 1 tests failed out of 3

Total Test time (real) =   4.97 sec

The following tests FAILED:
	  8 - test_subscribe_param (Subprocess aborted)
Errors while running CTest

np2.log excerpt:
$ grep "## new" np2.log
[WRN]: SR: ## new "ietf-netconf-notifications" notif<PHONE_NUMBER>.544756754
[WRN]: SR: ## new "ietf-netconf-notifications" notif<PHONE_NUMBER>.150832837
[WRN]: SR: ## new "ietf-netconf-notifications" notif<PHONE_NUMBER>.698888343
[WRN]: SR: ## new "ietf-netconf-notifications" notif<PHONE_NUMBER>.797475645
[WRN]: SR: ## new subscr "ietf-yang-library" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.220618040
[WRN]: SR: ## new subscr "ietf-netconf-notifications" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.224169992
[WRN]: SR: ## new subscr "nc-notifications" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.227324823
[WRN]: SR: ## new subscr "ietf-keystore" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.230128419
[WRN]: SR: ## new subscr "ietf-truststore" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.233058150
[WRN]: SR: ## new subscr "ietf-network-instance" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.235883606
[WRN]: SR: ## new subscr "ietf-subscribed-notifications" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.238666598
[WRN]: SR: ## new subscr "ietf-yang-push" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.273795427
[WRN]: SR: ## new subscr "notif1" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.277243385
[WRN]: SR: ## new subscr "notif2" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.280254691
[WRN]: SR: ## new "ietf-netconf-notifications" notif<PHONE_NUMBER>.538111202
[WRN]: SR: ## new "ietf-netconf-notifications" notif<PHONE_NUMBER>.583682661

So these lines are important
[WRN] ## new "notif1" notif<PHONE_NUMBER>.621407141
[WRN] ## new "notif1" notif<PHONE_NUMBER>.284374040

[WRN]: SR: ## new subscr "notif1" start<PHONE_NUMBER>.621317952 listen_since<PHONE_NUMBER>.277243385

And the order is unfortunately as expected

notif1 start
notif1 (first)
listen_since
notif1 (second)

Ultimately, I did manage to reproduce it a few times and subsequently learnt where the problem is. It was also more difficult to fix than I had hoped but the problem should no longer occur.

Wow thanks! Also I updated sysrepo and netopeer to latest devel

Netopeer2 9088209f3d5d34c019cd9d59d293c381d44c63f5
sysrepo dc9ad1c939e15705bf63808a206e6860c0978d3f
libnetconf2 49c5192d4b669fa562c8785507ffa25812547d40
libyang f256051ba65068b32bc95533a19714fd651fce03

and compiled with the same setup as before. I was running the test for ca. 5 minutes and no failure of the test_subscribe_param occurred but I obtained this failure (not sure if related)
Test project /home/tomas/zdrojaky/cesnet/dependencies/Netopeer2/build
    Start 8: test_subscribe_param
1/3 Test #8: test_subscribe_param .............Subprocess aborted***Exception:   9.59 sec
[==========] Running 11 test(s).
[ RUN      ] test_stop_time_invalid
[       OK ] test_stop_time_invalid
[ RUN      ] test_start_time_invalid
[       OK ] test_start_time_invalid
[ RUN      ] test_stop_time_no_start_time
[       OK ] test_stop_time_no_start_time
[ RUN      ] test_basic_replay
[       OK ] test_basic_replay
[ RUN      ] test_replay_real_time
[       OK ] test_replay_real_time
[ RUN      ] test_stop_time
[       OK ] test_stop_time
[ RUN      ] test_stop_time_sub_end
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="4">
  <rpc-error>
    <error-type>protocol</error-type>
    <error-tag>bad-element</error-tag>
    <error-severity>error</error-severity>
    <error-message xml:lang="en">Specified "startTime" is in future.</error-message>
    <error-info>
      <bad-element>startTime</bad-element>
    </error-info>
  </rpc-error>
</rpc-reply>
[   LINE   ] --- /home/tomas/zdrojaky/cesnet/dependencies/Netopeer2/tests/test_subscribe_param.c:60: error: Failure!start time: 2023-03-08T09:48:46.806766712+01:00
stop time:  2023-03-08T09:48:46.806805824+01:00

    Start 2: tests_kill_server
2/3 Test #2: tests_kill_server ................   Passed    0.01 sec
    Start 3: tests_clear_state
3/3 Test #3: tests_clear_state ................   Passed    0.00 sec

67% tests passed, 1 tests failed out of 3

Total Test time (real) =   9.60 sec

The following tests FAILED:
	  8 - test_subscribe_param (Subprocess aborted)
Errors while running CTest

The only explanation I have is for the NTP (or something else) to have performed system time adjustment at the wrong moment, CLOCK_REALTIME timestamps are used for all these parameters.

I ran the tests again in a loop for some time and no error appeared. Thanks again!


Fix Sequelize model

The default Sequelize model had some weird constraints that weren't necessary. Closes https://github.com/feathersjs/feathers/issues/231

Oh you did merge this. Ok cool.

Oh, I thought you saw this already before I merged.


Revert "5xx: Remove css classes and duplicate div tags."

This reverts commit https://github.com/zulip/zulip/commit/eada57921edbd69c53f26ee4a1026e2333c1d016.
This does have CSS applied to it via webpack.
See
new HtmlWebpackPlugin({
    filename: "5xx.html",
    template: "html/5xx.html",
    chunks: ["error-styles"],
}),

I am not sure how to test rendering this page with debug mode enabled.

Opened #30260 to fix the development preview at http://localhost:9991/webpack/5xx.html, which was broken due to hard-coding production paths.


Fix Async Tree not keeping descendant nodes hidden

Updated the createBasicRecord to also verify the parent isShown. Before it only checked to see if the parent was open.

I don't quite understand how to replicate the issue on the code side... more like I have no clue. I'm having a hard time making a test that fails on the current code and is being resolved on the proposed change.
The 2 main questions I have: I'm not sure how to trigger an async reload and I'm not sure how to access the property isShowing

@Lodin Here is an attempt at updating the tests to verify the code I added. It doesn't work, but it's as far as I could get with my current understanding. https://github.com/HeavensRegent/react-vtree/tree/tests

Published in<EMAIL_ADDRESS>Note that now you need to use the beta tag to install the 3.0.0 version because I have released 3.0.0-beta.0 as latest by mistake.
Sorry again for the mess with the bugfix.


When we update POSTGRES_IMAGE_TAG in .bashrc, the change does not get represented in the deployment (AnyLog testing)

During Anylog deployment we noticed that when we update POSTGRES_IMAGE_TAG in .bashrc, the change doesn't seem to be represented in the deployment
Steps:
In ~/.bashrc update POSTGRES_IMAGE_TAG=16.0
source ~/.bashrc
Deploy OpenHorizon (which includes Postgres)
Expect: PSQL v16.0
Actual: PSQL v13.0 (default)

I believe this issue has been resolved
Horizon CLI version: 2.31.0-1577
Horizon Agent version: 2.31.0-1577
CONTAINER ID   IMAGE                                         COMMAND                  CREATED          STATUS                   PORTS                                                                                NAMES
...
91f6ba68b302   postgres:16.0                                 "docker-entrypoint.s…"   10 minutes ago   Up 3 minutes (healthy)   <IP_ADDRESS>:5432->5432/tcp, :::5432->5432/tcp                                              postgres
6d32f6a737c1   postgres:16.0                                 "docker-entrypoint.s…"   10 minutes ago   Up 3 minutes (healthy)   <IP_ADDRESS>:5433->5432/tcp, [::]:5433->5432/tcp                                            postgres-fdo-owner-service


added example creating of custom camera

Added example creating of custom camera
Project URL

https://github.com/ChernyshenkoTaras/CustomCamera
Description

iOS project what demonstrait how to create own custom camera
Why it should be included to example-ios-apps (optional)
I saw a lot of question on gitHub where people ask how to create custom camera and that's why this project was created. It's a good template for starting creating your own camera layout like instagram/snapchat or anything else
Checklist

[x ] Only one project/change is in this pull request
[x ] Addition in chronological order (bottom of category)
[x ] Supports iOS 9 / tvOS 10 or later
[ x] Supports Swift 3 or later
[x ] Has a commit from less than 2 years ago
[ x] Has a clear README in English

@ChernyshenkoTaras  please add yourself to contributor list. thank you :)


A submission deletion route

cleaned may be a better word than delete for this purpose, what do you think?


User request: Lag/latency chart is hard to read. Use something similar to the 4 bar system Lichess uses.

implemented in v2.3.11


Solve UnboundLocalError on copy_from_host_async

Swaps lines 473 and 474 as discussed on #4898

Apparently we missed this because there's no test covering any copy_*_async() functions that use streams. @viantirreau is it possible for you to follow #4562 and add async tests? It should be sufficient to duplicate existing tests with streams. (Even better: parametrize the tests with and without streams.) Let me know if you need any help or me taking over the test part (since it was me who messed up 😅), thanks!

Just a heads-up. I'm not very acquainted with Python tests, especially regarding GPUs 😆
Nevertheless, I think I can pull this off by looking at your PR #4562 and the other tests.

Even better: parametrize the tests with and without streams

By parametrized you mean using the decorator? If that's the case, I was thinking about creating a class especially for the async methods, something in the lines of
@testing.parameterize(*testing.product({
    'use_streams': [True, False],
}))
@testing.gpu
class TestMemoryPointerAsync(unittest.TestCase):

    def setUp(self):
        self.stream = stream_module.Stream() if self.use_streams else None

    def test_copy_to_and_from_host_async_using_raw_ptr(self):
        a_gpu = memory.alloc(4)
        a_cpu = ctypes.c_int(100)
        a_cpu_ptr = ctypes.cast(ctypes.byref(a_cpu), ctypes.c_void_p)
        a_gpu.copy_from_host_async(a_cpu_ptr.value, 4, stream=self.stream)

        b_cpu = ctypes.c_int()
        b_cpu_ptr = ctypes.cast(ctypes.byref(b_cpu), ctypes.c_void_p)
        a_gpu.copy_to_host_async(b_cpu_ptr.value, 4, stream=self.stream)
        assert b_cpu.value == a_cpu.value

    def test_copy_from_device_async_using_raw_ptr(self):
        a_gpu = memory.alloc(4)
        a_cpu = ctypes.c_int(100)
        a_cpu_ptr = ctypes.cast(ctypes.byref(a_cpu), ctypes.c_void_p)
        a_gpu.copy_from_host_async(a_cpu_ptr.value, 4, stream=self.stream)

        b_gpu = memory.alloc(4)
        b_gpu.copy_from_host_async(a_gpu, 4, stream=self.stream)
        b_cpu = ctypes.c_int()
        b_cpu_ptr = ctypes.cast(ctypes.byref(b_cpu), ctypes.c_void_p)
        b_gpu.copy_to_host_async(b_cpu_ptr.value, 4, stream=self.stream)
        assert b_cpu.value == a_cpu.value

When defining self.stream, I'm hesitant about whether it's correct to use stream_module.Stream() or cupy.cuda.Stream(), as I saw both being used in stream-like variables in the cuda memory tests.
PS2: I'm now thinking that I could just parametrize the existing class TestMemoryPointer, and add these 3 methods. Appreciate your view on this.

Ended up copying other two synchronous tests and I confirmed that all of them are passing in copy_*_async(), yay 🥳
Now I think that it's better to have this TestMemoryPointerAsync class alone, so as to not interfere with (and clutter) the non-stream versions of the tests. What do you think?

FYI, in the future to commit a bunch of suggestions at once, you can go to the "Files changed" tab, and select "add suggestion to batch". It'd appear as one single commit, reducing the need of multiple clicks 🙂

Jenkins, test this please

Wooow! That's a great tip hahaha.
Thanks for your help, I enjoyed the challenge :)

Another tip: @viantirreau you can edit your PR description to include this clause "Close #4898". By the time your PR is merged, the issue will be automatically closed. A GitHub convenience feature.

Note: I confirm locally that the added tests in this PR would fail if the bug were not fixed.

Jenkins CI test (for commit 2e4c2b35263f26e2675a47a706a54590d318bec8, target branch master) succeeded!

@emcastillo Automerge seems to be glitchy?


fix: keychain store key #468

- What I did
Resolve this issue #468
- How I did it
- How to verify it
- Description for the changelog

@sonle-geekyants @sarika01 ping! See @cpswan's request https://github.com/atsign-foundation/at_client_sdk/pull/441#pullrequestreview-906932466

@gkc okay, I'll check and update it.

@sonle-geekyants If this PR is obsolete (e.g. the changes were committed in some other PR), of course just close this one!

@gkc I got it.
@sarika01 I will close it temporarily and will reopen later


Update to data model 7000070

This change is

Review status: 0 of 10 files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


FileNotFoundError when the specified 'output_dir' does not already exist.

An error regarding the existence of pysep.log shows up when the 'output_dir' specified while running pysep does not pre-exist.

Hi @Evans-Onyango, thanks for bringing this up (@aakash10gupta pointed this out to me in an email as well)
This is happening because the logger is trying to set up a file before the output directory is created. To get around this for now you can manually create your output directory, but I will push a fix for this asap.

Hi @Evans-Onyango, I patched this bug in https://github.com/adjtomo/pysep/commit/01492f5e8b8b0227823a03150a41b5202cfdeaf4, should be working in the latest devel branch. Can you give it a shot and see if that fixes it?

Will do. Thank you!
On Thu, Apr 13, 2023 at 9:57 AM Bryant Chow @.***>
wrote:

Hi @Evans-Onyango https://github.com/Evans-Onyango, I patched this bug
in 01492f5
https://github.com/adjtomo/pysep/commit/01492f5e8b8b0227823a03150a41b5202cfdeaf4,
should be working in the latest devel branch. Can you give it a shot and
see if that fixes it?
—
Reply to this email directly, view it on GitHub
https://github.com/adjtomo/pysep/issues/109#issuecomment-1507392199, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNZOFNBEUTJCJTTMFCQMWDXBA47VANCNFSM6AAAAAAWPIZTOY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Closing as this has been fixed in the latest version. Please re-open if you are still encountering this issue!


swapped outputs as text and commands where switched

@MGoedtel Could you review this pull request? Thanks.


do what thou wilt

Do what you want and tell us about it!
To claim the bounty, tell us what you did. Or better yet, post a link to a video, a blog or a tweet, share your achievement with the world!
Cheerio
P.S. If you need a larger bounty, tell us what it is you intend to do!

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ArtemGr This is what I want today
https://twitter.com/codingsh/status/1343316729519288321

@ArtemGr This is what I want today
https://twitter.com/codingsh/status/1343316729519288321

@developerfred
Nice! But we only accept the smallish tasks for now.
If you'd like to have a small step towards your goal funded here, do let us know.

@developerfred
Nice! But we only accept the smallish tasks for now.
If you'd like to have a small step towards your goal funded here, do let us know.

@ArtemGr Of course, every step is important. Thanks for the support.

@ArtemGr Of course, every step is important. Thanks for the support.


Can't use gstreamer nor pylonViewer for model a2A1920-165g5c

Describe the bug
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0: Failed to create buffer.
Additional debug info:
../ext/pylon/gstpylonsrc.cpp(993): gst_pylon_src_create (): /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0:
The buffer was incompletely grabbed. This can be caused by performance problems of the network hardware used, i.e., the network adapter, switch, or Ethernet cable. Buffer underruns can also cause image loss. To fix this, use the pylonGigEConfigurator tool to optimize your setup and use more buffers for grabbing in your application to prevent buffer underruns.
Execution ended after 0:00:00.579042000
Setting pipeline to NULL ...
ERROR: from element /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstPylonSrc:pylonsrc0:
streaming stopped, reason error (-5)
Freeing pipeline ..

When I try to view it using pylonViewer, it says an error occurred during recording. Frame could not be written from buffer to disk.
The detailed error is:
Invalid pixel type. Bit depth not defined for pixel type -1. : InvalidArgumentException thrown (file 'pixeltype.cpp', line 127)

I tried adding params like stream::MaxBufferSize and stream::MaxNumBuffer, however, the pipeline still didn't work, and the same error still popped up.
To Reproduce
gst-launch-1.0 pylonsrc device-index=1 ! videoconvert ! autovideosink
Index is 1 because I plugged a USB camera previously.
Expected behavior
A window opens up for the camera. I used a acA1920-150uc and it works perfectly fine.
Environment

Camera: a2A1920-165g5c
Version: 0.7.0-local
OS: Windows 11

Most probably you have to tune your camera settings for 5Gige operation.
You should setup the camera in pylonviewer first. You can save the parameters as a UserSet or save a pfs file, that you can load in the gstreamer pipeline

I am getting the same error message for camera model acA1920-50gm. The error is not deterministically reproduceable, but occurs from time to time while recording videos as well as tiff-images. I set the camera to 20fps acquisition frame rate which corresponds to approximately 100Mb/s. For my purpose it is okay to miss some images but unfortunately the recording is stopped although the connection to the camera seems okay as the live view remains available.
Which parameter should be adopted in which way?


Specify the correct environment variable SLURM_PARTITION in errors

in tests/utils.py:
PARTITION = os.getenv("SLURM_PARTITION")
So the error message is incorrect (or the above line is)

Can you merge #85 first and then rebase this?

@PeterC-DLS I think we forgot this one

@PeterC-DLS I think we forgot this one

Odd, it was showing as open to me earlier. Ignore my previous message, I guess!


Revert hipRAND split using a hipRAND submodule

This also includes the necessary structure changes to comply with the new ROCm packaging standard, so @nunnikri, @raramakr, and @arvindcheru were added as reviewers as well.


Fix ctkDICOMIndexerTest{1,2} / ctkDICOMIndexerTest1 - Failed to load driver

Start 116: ctkDICOMIndexerTest1
116: Test command: /home/jchris/Projects/CTK-Superbuild-Debug/CTK-build/bin/CTKDICOMCoreCppTests "ctkDICOMIndexerTest1"
116: Test timeout computed to be: 1500
116: Register compression libraries
116: QSqlQuery::prepare: database not open
116: SQL failed
116:  Bad SQL:
116: Error text: Driver not loaded Driver not loaded
116: Processing dicom.db

The test still parses the whole tempDir in an attempt to find some dicom files. It should be changed to use a command line parameter so CMake could point it to the CTKData directory which contains a few DICOM files


Add support for slices in XAddArgs.Values

This PR solves the problem described in https://github.com/go-redis/redis/issues/1388.
Previously, XAddArgs.Values was of type map[string]interface{}. Now, it is interface{}. This change is backward compatible.
This change uses appendArgs utility function in XAdd. It was extended to support []interface{} for the first item in the src slice. This might be a bit controversial as appendArgs is not used directly like that anywhere else. If so, I will rewrite this fragment not to use appendArgs.

Thanks!