read ncml files to create multifile datasets

This issue was motivated by a recent conversation with @jdha regarding how they are preparing inputs for regional ocean models. They are currently using ncml with netcdf-java to consolidate and homogenize diverse data sources. But this approach doesn't play well with the xarray / dask stack.
ncml is standard developed by Unidata for use with their netCDF-java library:

NcML is an XML representation of netCDF metadata, (approximately) the header information one gets from a netCDF file with the "ncdump -h" command.

In addition to describing individual netCDF files, ncml can be used to annotate modifications to netCDF metadata (attributes, dimension names, etc.) and also to aggregate multiple files into a single logical dataset. This is what such an aggregation over an existing dimension looks like in ncml:
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2">
  <aggregation dimName="time" type="joinExisting">
    <netcdf location="jan.nc" />
    <netcdf location="feb.nc" />
  </aggregation>
</netcdf>

Obviously this maps very well to xarray's concat operation. Similar aggregations can be defined that map to merge operations.
I think it would be great if we could support the ncml spec in xarray, allowing us to write code like
ds = xr.open_ncml('file.ncml')

This idea has been discussed before in #893. Perhaps it's time has finally come.

Any updates regarding this?
A while ago @rabernat mentioned  that @dopplershift was potentially interested in working on implementing this feature in xarray in https://github.com/pangeo-data/esgf2xarray/issues/1#issuecomment-470707112
I am interested in helping out with getting this feature in xarray. I tried finding Python tools that provide NcML functionality and the ones I found namely:

ncml: https://github.com/ioos/ncml
pyncml: https://github.com/axiom-data-science/pyncml

seem to be outdated and unmaintained.
In the meantime, I've been experimenting with some basics of NcML: https://nbviewer.jupyter.org/github/NCAR/xncml/blob/master/docs/source/tutorial.ipynb
With guidance, input and feedback on what the API is expected to look like in xarray, I'd be more than happy to work on this moving forward

I haven't had any time to start on this (and I'm a few more weeks out), so feel free to take a cut. I'm not sure what @shoyer or @rabernat have in mind for API.

I have not thought much about APIs yet.

I'd like to revive this issue.
We're increasingly using NcML aggregations within our THREDDS server to create "logical" datasets.  This allows us to fix some non-CF-conforming metadata fields without changing files on disk (which would break syncing with ESGF nodes). More importantly, by aggregating multiple time periods, variables and realizations, we're able to create catalog entries for simulations instead of files, which we expect will greatly facilitate parsing catalog search results. We'd like to offer the same aggregation functionality outside of the THREDDS server.
Ideally, this would be supported right from the netcdf-c library (see https://github.com/Unidata/netcdf-c/issues/1478), but an xarray NcML backend is the second best option. I also imagine that NcML files could be use as a clean mechanism to create Zarr/NCZarr objects ie:
*.nc -> open_ncml -> xr.Dataset -> to_zarr -> Zarr store
@andersy005 In terms of API, I think the need is not so much to create or modify NcML files, but rather to return an xarray.Dataset from an NcML description. My understanding is that open_ncml would be a wrapper around open_mfdataset. My hope is that NcML-based xarray.Dataset objects would behave similarly whether they are created from files on disk through xarray.open_ncml('sim.ncml') or xarray.open_dataset('https://.../thredds/sim.ncml').
The THREDDS repo contains a number of unit tests that could be emulated to steer the Python implementation. My understanding is that getting this done could involve a fair amount of work, so I'd like to see who's interested in collaborating on this and maybe schedule a meeting to plan work for this year or the next.

Thanks for reviving this @huard!
FWIW, I think it's best for this sort of utility to live in its own small standalone package, which I have referred to as "xarray-mergetool" in the past. NCML could be one special case of the things it could it. It would also be very useful for intake-esm.
We have also discussed this in https://github.com/NCAR/esm-collection-spec/issues/12
We should have some bandwidth to work on this over the next year via the pangeo-forge project.

This just popped up in my inbox and reminded me of the conversation I had with @rabernathttps://github.com/rabernat a few years back at a DRAKKAR meeting in France.
I haven't really kept up with things since then, but 6+ years ago we modified one of our python tools to abstract the IO method from the user by using NCML files as input. Then either the mfdataset or the unidata Java Netcdf library was used to access local or remote data (single file, directory or aggregation). As there wasn't any native NCML parser in python, and we had limited time, we ended up using pyjniushttps://github.com/kivy/pyjnius to call the netcdf java class from python which gave us access to the directory scan, aggregation functions etc from the Java Library.... probably not the most efficient way - but we've been using it ever since. I don't have a huge amount of time (or expertise), but happy to get involved if I can.

From: Ryan Abernathey<EMAIL_ADDRESS>Sent: 03 September 2020 15:47
To: pydata/xarray<EMAIL_ADDRESS>Cc: Harle, James<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [pydata/xarray] read ncml files to create multifile datasets (#2697)
Thanks for reviving this @huardhttps://github.com/huard!
FWIW, I think it's best for this sort of utility to live in its own small standalone package, which I have referred to as "xarray-mergetool" in the past. NCML could be one special case of the things it could it. It would also be very useful for intake-esm.
We have also discussed this in NCAR/esm-collection-spec#12https://github.com/NCAR/esm-collection-spec/issues/12
We should have some bandwidth to work on this over the next year via the pangeo-forge project.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/pydata/xarray/issues/2697#issuecomment-686543493, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACN66WFQ43YO36IEE6NMMDDSD6UABANCNFSM4GRUVDBQ.
This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system.
The National Oceanography Centre (NOC) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. NOC does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses.
Opinions, conclusions or other information in this message and attachments that are not related directly to NOC business are solely those of the author and do not represent the views of NOC.

It's worth pointing out that you can write FileReferenceSystem JSON that works with the Zarr library to accomplish many of the tasks we used to use NcML for:

create a single virtual dataset that points to a collection of files
modify dataset and variable attributes
It also has the nice feature that it makes your dataset faster to work with on the cloud because the map to the data is loaded in one shot!

I've got a first draft that parses an NcML document and spits out an xarray.Dataset. It does not cover all the NcML syntax, but the essential elements are there.
It uses xsdata to parse the XML, using a datamodel automatically generated from the NcML 2-2 schema. I've scrapped test files from the netcdf-java repo to create a test suite.
Wondering what's the best place to host the code, tests and test data so others may give it a spin ?

Maybe a separate project in xarray-contrib would make sense?
I would be reluctant to add this into Xarray proper if we need a new
external dependency for reading XML files.
On Wed, Jul 6, 2022 at 2:37 PM David Huard @.***> wrote:

I've got a first draft that parses an NcML document and spits out an
xarray.Dataset. It does not cover all the NcML syntax, but the essential
elements are there.
It uses xsdata https://xsdata.readthedocs.io/en/latest/ to parse the
XML, using a datamodel automatically generated from the NcML 2-2 schema.
I've scrapped test files from the netcdf-java
https://github.com/Unidata/netcdf-java repo to create a test suite.
Wondering what's the best place to host the code, tests and test data so
others may give it a spin ?
—
Reply to this email directly, view it on GitHub
https://github.com/pydata/xarray/issues/2697#issuecomment-1176775280,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJFVW32WV5YKZZP7KFVBTVSX4BZANCNFSM4GRUVDBQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ok, another option would be to add that to xncml
@andersy005 Would do you think ?

Ok, another option would be to add that to xncml
@andersy005 What do you think ?

@huard, I haven't touched the codebase in that repo for three years 😃... So, I'm happy to transfer the xncml repo to xarray-contrib org and give you and anyone who wants access to it

I'd assume that xncml has never been released (there's an issue suggesting the release of version 0.1), so obviously there's no package on PyPI. You can try installing from github:
pip install git+https://github.com/xarray-contrib/xncml.git

to see if that gives you something to work with, otherwise I'd wait for any of the devs to get back to you (most likely in the issue you opened on the xncml repo)

Thanks @keewis that's right, looks like they are still working on the docs, it was confusing.

That's right. I just did a quick 0.1 release of xncml, most likely rough around the edges. Give it a spin. PRs most welcome.
@rabernat If you're happy with it, this issue can probably be closed.

closing, since anything still missing should be feature requests for xncml


RAC-5253 add web ui master ci

add masterci pipeline of web-ui

@changev  can you please explain what is the process here.
@geoff-reid  had already added the build and release in travis.
What is different here in this PR?

@keedya
We want on-web-ui can be release in the same mode of rackhd core service on-http/tftp etc..
This will enhance the version control of on-web-ui
So I add two pipelines of on-web-ui: master ci and sprint release.
Some more descriptions will be added later.

@changev  is the script here will be updated accordingly  https://github.com/RackHD/on-http/blob/master/install-web-ui.sh

@keedya  Thanks!
I'll reconsider and modify the https://github.com/RackHD/on-http/blob/master/install-web-ui.sh

@changev  np!! one more thing. Is adding it to masterCI means adding functional testing? If we are planning on releases, we need to add functional tests first for qualifications otherwise there is no point in tagging this repo with release tags

@keedya
Good catch.
web-ui doesn't have function test yet.
We're still consider how to do web-ui function test.
Now first we'll add some basic test: 1. if the deb of docker images can be installed or ran normally.


As a user I want to send 0 value fast path transfers

Problem
Devs want lower latency transfers with 0-value calldata
Proposed Solution
Enable unauthenticated calls with 0 value and 0 address
Acceptance Criteria
From an end tester and/or user perspective, the below criteria must be met to consider this done:

[ ] Dev can send an unauthenticated transfer with no value and no address

it has been fixed


Fix Windows's STACKFRAME Frame Addr in test_config.cc

Windows's STACKFRAME Frame Addr should be RBP, the base pointer, not RSP, the stack pointer. This is documented here: https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-stackframe with the comment "AddrFrame x64:  The frame pointer is RBP or RDI." Note that this is also what StackWalker uses: https://github.com/JochenKalmbach/StackWalker#initializing-the-stackframe64 and what Chromium uses: https://codesearch.chromium.org/chromium/src/v8/src/base/debug/stack_trace_win.cc?l=200&rcl=69d20d247f62a3378d15ce0956ed8bf9665e6a44
release notes: no

@mhaidrygoog

Seems fair, @vjpai / @nicolasnoble  can you take a quick look to confirm this matches your expectations.
@bmzhao  thanks for the fix. You'll need you to sign the CLA first before we can merge.
Can you also provide an example how windows test stack traces look life before & after the change?

I signed the CLA!

@nicolasnoble  @vjpai  feel free to merge if this looks good to you.


SynapseToSQL_ADF - SynapseToSQL_DestSetupScript.sql - bug in Merge Statement

There seems to be an bug in the MERGECDC stored procedure.
When a record is inserted and then deleted, the procedure will try to merge the line with the last action (a delete) with the target table, where it might not yet exist. This will result in an insert (WHEN NOT MATCHED BY TARGET THEN INSERT ....), but it should just ignore the record.
It should only insert a record when it is a Insert or Update action (i.e. not a delete), so the statement (line 83 in the source) should be
' WHEN NOT MATCHED BY TARGET and S.DML_Action <> ''DELETE'' THEN INSERT (' + ...

We ran into this as well. I added another delete statement at the bottom to run the delete again. Not efficient but it works since the first 'Delete' inserted the record. Now the second 'Delete' actually deletes it.

thanks for the input - we will test the suggestion and update the template

Thanks for the feedback. This is fixed in the updated pipeline -
https://github.com/microsoft/Dynamics-365-FastTrack-Implementation-Assets/blob/master/Analytics/ArchitecturePatterns/SQLIntegration/IncrementalExport_SQL.zip


JDK9

Initial batch of changes to get most embedded stuff to work with JDK 9.
Server is still broken because of issues with Scala and WildFly

If you extract a clean patch which purely aims at "getting rid of maven-injection-plugin" we can start integrating the good parts.

Why should I extract a clean patch just for that ?

Why should I extract a clean patch just for that ?

No strong reason.. I personally just prefer to break such larger things into PRs which can be integrated independently, as clearly how to read the versions & project codenames might cause some feedback and suggestions from PR review.

Just stumbled upon this issue I had created some time ago:

https://issues.jboss.org/browse/ISPN-4149

assigned it to you now.

Closing to reopen a proper PR


feat(x-algolia-agent): specify x-algolia-agent at search time

Summary
Currently there is no way to specify an algolia agent at search time. The parameter x-algolia-agent is just ignored.
Result
This PR let the user specify a new Algolia agent the parameter x-algolia-agent (like with the REST API) and it will be appended to the ones specified with addAlgoliaAgent.
Fixes #493

Need more changes :)

Ok so I gave on trying the generic approach. I added a specific parameter for adding a new additional UA in the internal API and only provided an user parameter for search (which is the use case we needed). @vvo

I should something for search for facet values maybe 🤔

Here's what I get when doing npm test in this branch:

I guess travis is not showing it right maybe because of weird CI issue on colors..

(most probably since I started using tap-spec thing)

Of course, node specific implementation of _computeRequestHeaders :)


Adding public trello workflow

Updating https://www.openmicroscopy.org/site/support/contributing/team-communication.html#trello and https://www.openmicroscopy.org/site/support/contributing/team-workflow.html with an attempt to describe our new Trello process. also updated Dev Contact list link to new openmicroscopy.org link & added Zoom to voice contact methods.

Otherwise reads fine. Links work.

As mentioned in Jabber, happy with this, though it's likely to develop over the next few weeks. :thumbsup:


Some parameters are not passed from generator-fountain-webapp to generator-fountain-angular1

Hi,
I encounter an issue trying to generate a project with command line only (no user interaction because it is done in continous integration)
When I install fountain with
npm install -g<EMAIL_ADDRESS>And then I do
yo fountain-webapp --skip-install --framework=angular1 --modules=inject --js=js --css=scss --html --ci=jenkins --sample=hello --router=uirouter
Yeoman asks for sample and router, I have to chose hello and ui router. The others parameters are fine.
It is a problem for me. I don't want user interaction.
But if I install with
npm install -g<EMAIL_ADDRESS>And I use the same command line
yo fountain-angular1 --skip-install --framework=angular1 --modules=inject --js=js --css=scss --html --ci=jenkins --sample=hello --router=uirouter
My app is created with no questions asked. That's great.
Can I achieve that when installing module generator-fountain-webapp only,or have I to install  fountain-angular1 over fountain-webapp ?
Thanks for your great tool and your time

Knowing how we handles these parameters let me think we could have missed something indeed, thanks for reporting.


Node v10.x Compatibility

Submit a feature request or bug report

[x] I've read the guidelines for Contributing to Roots Projects
[ ] This is a feature request
[x] This is a bug report
[x] This request isn't a duplicate of an existing issue
[x] I've read the docs and NPM Debugging Guidelines post and followed them (if applicable)
[x] This is not a personal support request that should be posted on the Roots Discourse forums

What is the current behavior?
yarn fails as a some dependencies are not yet updated for Node v10.x
What is the expected or desired behavior?
All yarn commands work as expected

As not all dependencies have been updated, I am creating this issue for tracking, and can update as new issues are found.

Dependency
Current Version
Latest Version
Node v10.x Compatible?

node-sass
~4.8.3
4.9.0
Yes

webpack
~3.10.0
4.6.0
No, but there are commits to head to fix

Updating to Webpack 4+ might be a bit challenging since there’s been a lot of compatibility issues with plugins. If the plan is still to move to Laravel Mix (#1868) — which would eliminate the need for a bunch of dependencies — it might be best to wait until JeffreyWay/laravel-mix#1495 is merged, which is also waiting for upstream issues to be resolved. And then you’d hope that all of Mix’s dependencies were compatible with Node 10.

@mmirus asked me to check if this is still an issue, and I cannot reproduce it using Node v10.14.1. I wish I had included more details in the original issue ¯_(ツ)_/¯
Closing!


handle casts using an alias type

Casts with aliases should be allowed.  An alias cast needs to know alias binding at runtime in order to build the cast object.   This is straightforward as long as the type context is available.

There might be some ambiguity to resolve, e.g. if you define an alias abs, then is abs(field) an alias cast or the function abs()?

There might be some ambiguity to resolve, e.g. if you define an alias abs, then is abs(field) an alias cast or the function abs()?

In a discussion with @mccanne he indicated that this may have been fixed as part of a PR @henridf merged recently. He intends to confirm that and close/update this one as appropriate.

We should also add simple logic to the cast expr to nop if the types are already the same and just swap type pointer if a typedef with the same underlying type.

This will be easy to do with structured errors because you could simply say....
error<complicated structure>(value)

We need to make sure the grammar can handle this.

Closing as we decided the current syntax and functionality of...
cast(val, <foo>)
cast(val, error<complicated structure>)

works just ifne


Syntax highlight of chat buffer

The filetype of the gpt-persistent-session buffer is "markdown." How is Vim supposed to
highlight the ^A and >>> (the latter is an erroneous construct in markdown)? I attached
an image of what I get.

I use https://github.com/inkarkat/vim-SyntaxRange which works reasonably well.


com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin:

What went wrong:
Execution failed for task ':app:minifyDebugWithR8'.

com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /Users/my-app/android/app/build/intermediates/transforms/FirebasePerformancePlugin/debug/209.jar:com/reactnativecommunity/netinfo/AmazonFireDeviceConnectivityPoller$1.class

Environment
buildTools: "29.0.3"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 30
Platforms
Android
Versions

Android:
"react": "17.0.0",
"react-native": "0.63.0",
"@react-native-community/netinfo": "^6.0.0",

Description
/Users/cm/codebase/mamaearth-app/android/app/build/intermediates/transforms/FirebasePerformancePlugin/debug/209.jar: R8: Type com.reactnativecommunity.netinfo.AmazonFireDeviceConnectivityPoller$1 is defined multiple times:
Reproducible Demo

No reproducible demo, so this is not going to get any further attention after this comment, most likely.
I will say I've seen this before, and it's probably just that you need more up to date build toolchain
Specific reference https://github.com/ankidroid/Anki-Android/issues/7558


Issue: Support NotFound Routes in IonRouterOutlet, old title: bug: Routing fall-through is not working on latest React build

Bug Report
Ionic version:
[x] 4.11.7
Current behavior:
When setting up sequential routes, all routes are rendered in layers rather than just the most specific.
Expected behavior:
Only the most specific route should be matched and rendered.
Steps to reproduce:

Set up multiple routes with different specificity. Standard routing indicates that the first matching route (or most specific route) should be matched and rendered. The Stackblitz included below has "/page1" followed by a catchall "/" for any routes that don't match.

Route to the first/most specific route ("/page1" in the case of the stackblitz)

Note that the second route is rendered "over" the first, making it seem like the first isn't rendered at all.

Related code:
https://stackblitz.com/edit/ionic-v4-11-7-route-not-found
In the stackblitz, in addition to seeing the NotFound page rendered when the path is "/page1", you can look at the console to see that both routes are actually being rendered. Further, if you swap the order of the routes, you can see that the page appears to render correctly but both routes are still being rendered (NotFound is just underneath Page1).
Other information:
Ionic info:
Ionic:

   Ionic CLI       : 5.4.13 (/Users/evan/.config/yarn/global/node_modules/ionic)
   Ionic Framework : @ionic/react 4.11.7

Capacitor:

   Capacitor CLI   : 1.4.0
   @capacitor/core : 1.4.0

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v13.1.0 (/usr/local/Cellar/node/13.1.0/bin/node)
   npm    : 6.12.1
   OS     : macOS Catalina```

Hi @ebk46,
This is by design and functions similar to how BrowserRouter works. By default, any route that matches will be rendered. To fine grain control which routes you want to render in an IonRouterOutlet, use exact props on them. So to solve your above stackblitz sample above, put an exact attribute on the '/' route and that route will only be rendered on the root path.
However, I do realize that this does not solve the NonFound use case you are going for here. With BrowserRouter, you would put your routes into a Switch statement and have the last route not have a path attribute, so if no routes match it would it the route like so:
<BrowserRouter>
  <Switch>
    <Route exact path="/page1" component={Page1} />
    <Route exact path="/page1/details" component={Page1Details} />
    <Route component={NotFound} />
  </Switch>
</BrowserRouter>

However, switches are not supported in IonRouterOutlets, because we need to control and keep pages around in the dom even if a user navigates away from them for page transition and state purposes.
So doing a NotFound route is not possible inside of an IonRouterOutlet. You would have to do it outside of the IonRouterOutlet and that would require you to setup routing in a way that might not be ideal for your app.
I'll keep this issue open and repurpose it to investigate a way to do NotFound routes inside of IonRouterOutlet.

So essentially, you would need to start with a BrowserRouter that has a Switch with all of your accepted routes, and then a fallback route. From there, all of the accepted routes would then route to a component that has IonRouterOutlet to finish the routing. This would result in your accepted routes being listed twice, but I suppose it would work. Is this what you mean, or am I totally off-base?

You could stick with IonReactRouter, but you would have to define those initial routes outside of IonRouterOutlet  like so:
<IonReactRouter>
          <Switch>
            <Route path='/app' render={() => (
              <IonRouterOutlet>
                <Route exact path='/app/page1' component={Page1} />
                <Route path='/app/page1/details' component={Page1Details} />
                <Redirect from="/app" to="/app/page1" exact />
              </IonRouterOutlet>
            )} />
            <Route component={NotFound} />
          </Switch>
        </IonReactRouter>

Downside here is you have to have un otherwise unneeded sub path ( /app here) that your IonRouterOutlet would listen to, and any unknown routes to /app (like /app/blah) wouldn't be covered by the NotFound route.
full example:
https://stackblitz.com/edit/ionic-v4-11-7-route-not-found-nvsctw

I see. This is essentially what I thought you had meant, just simplified with the /app route predicate. I tested your solution and it seems to work on my project, thanks!


epic: Some healthy mainnet QA focused on test coverage

https://app.codecov.io/gh/NibiruChain/nibiru/tree/master/x
Initial Sprint

[x] #1513
[x] #1514
[x] #1515
[x] #1516
[x] test: 80%+ keeper coverage for x/wasm | prio: H

Last change was merged in #1527


Typo "commmand" > "command"

@JGruszczyk - PR is ready for final review. This is just a typo issue.
Thank you.
cc: @kenwith


FileNotFoundError: [Errno 2] No such file or directory: '/home/ricky/codespace/FolkScope/data/amazon_title_category.txt'

Running the script adapted in this way, reported such error:
(transformers) ricky@myremote:~/codespace/FolkScope$ bash scripts/run_generation.sh
Sampling data from source metadata
Traceback (most recent call last):
  File "src/generator/generation.py", line 259, in <module>
    main()
  File "src/generator/generation.py", line 158, in main
    metainfo = get_item_metainfo(args.data_dir + "/amazon_title_category.txt")
  File "/home/ricky/codespace/FolkScope/src/generator/utils.py", line 62, in get_item_metainfo
    infile = open(metafile)
FileNotFoundError: [Errno 2] No such file or directory: '/home/ricky/codespace/FolkScope/data/amazon_title_category.txt'

I did not find the data file amazon_title_category.txt in your released dataset, could you please add the data to the shared folder (or point me to the file it is already there) ?

Updated in the shared folder product_metadata/amazon_title_category.txt


fix(types): support this type with inject option api

When using inject option api, I cant get foo in this type.
 defineComponent({
    props: ['a'],
    inject: {
      foo: 'foo'
    },
    created() {
      //  ts throw error：Property 'foo' does not exist
      console.log(this.foo)
    }
  })

maybe this PR can fix that.

link #5931


Fix Javadoc link in Readme

Javadoc link was pointing to Vaadin's (nonexistent) repo

This change is

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Travis ci

I have added travis conffiguration.
The build failed, but the idea is to see that easier.

Thanks. This PR would make me quite happy too, if merged :smile:

Hey guys!
Looks cool :) but we should make sure that the build passes before merging

@marcelog The build will never pass unless you perform the actual integration. That should preferably be done at the Travic CI website itself: https://travic-ci.com/profile.
Alternatively, you can use the github repo settings: https://github.com/marcelog/PAGI/settings/hooks/new?service=travis.
Then and only than can we start testing / building the repository. Pity that you first need the .travis.yml file in master before it starts working well.
In other words, there seems to be a circular dependency here :)

By the way, I never have a phpunit fully passed locally ... this is why I add travis, to be sure that nothing locally influence it.

no news?

Closed with 2.0.0


Add basic CMake integration

Description
Hi all!, thanks for making MuJoCo open-source :sweat_smile: . This PR just adds a proof of concept of some basic integration with CMake (so far for linux). There are some targets exposed under the mujoco:: alias, namely mujoco::mujoco (for libmujoco210.so, the one that has the rendering features enabled), mujoco::glfw and mujoco::glew (for the provided glfw and glew libraries that come with the pre-built binaries).
You can test that the build works by doing the following (it will build the simulate application from the samples :
cmake -B build
cmake --build build

To add to your CMake project, just add this as a subproject; all the setup (downloading the pre-built library, etc.) is done by CMake during the configuration phase.
# Somewhere in your project
add_subdirectory(PATH_TO_MUJOCO_REPO)

Perhaps it might be useful for integrating it with your current workflows. If required I can clean the code a bit more, setup the appropriate cases (e.g. no-GL, GLX, EGL, OSMESA,  etc.) and setup some basic CI to make sure it works in all platforms (currently I've just tested it on linux).

Thanks for this. At the moment we're focusing on setting up MuJoCo for open sourcing and our writing cmake files as well, but I think it's a good idea to have CMake support while we only have a binary release, as you did here.
We'll look into how to incorporate this change, with support for other platforms. Thanks for your patience.

Hey, sorry for the long wait. Hopefully the latest CMake changes do what you want.
You can check out https://github.com/deepmind/mujoco/blob/main/sample/CMakeLists.txt


Fix potential error on returning result after unsubscribed

We can do this better in the future by actually canceling the request itself fwiw

Perfect!


How to add a default value of today or any date?

I have gone through the documentation but couldn't find any related content that specify about default value. If there is the possibility of default value then we can set today date as default value or may be any specific date as default value. Because in most of the case we want our user's to click less to fill out the form or may be there is an form update where we get a default value which we want populate before user's want to change the value. In that case if there is an option to set a default value that would be nice.
I have tried to set default value by calling a NepaliDate method but couldn't achieve the default value.
import NepaliDatePicker from '@zener/nepali-datepicker-react';
import<EMAIL_ADDRESS>
const App = () => {
  const [value, setValue] = useState(() => new NepaliDate());

  return (
    <NepaliDatePicker
      value={value}
      onChange={(e) => {
        setValue(e);
      }}
      placeholder="Select date"
    />
  );
};

Hi @dipbazz, I have made an working example for this at https://stackblitz.com/edit/nepali-datepicker-react-default-value?file=src%2FApp.tsx
Please check this and let me know if this is what you want.

Yeah this works. Thank you.


Discussion: Correct usage for submitting and reaping IOs in different threads

My application has a thread per disk (aka producer_thread) that produces work to be submitted to that disk. I have io-uring context per disk to ensure iouring submissions are from a single thread.
producer_thread executes only if new work is to be submitted else it yields (It'll be significant code change to modify this behavior). For this reason I spin up a new thread (aka consumer thread) per io-uring context to reap IO completions.
Following is a working example
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdbool.h>

#include "liburing.h"

#define BS 4096
#define QD 64

static struct io_uring ring;
static struct iovec iov;
static struct io_uring_params p;
static int fd;
static int inflight;

pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;

static void increment_inflight(void)
{
    pthread_mutex_lock(&lock);

    while (inflight >= p.cq_entries) {
        pthread_cond_wait(&cond, &lock);
    }

    inflight++;

    pthread_mutex_unlock(&lock);
}

static void decrement_inflight(void)
{
    pthread_mutex_lock(&lock);

    inflight--;
    pthread_cond_signal(&cond);

    pthread_mutex_unlock(&lock);
}

static void *submit_io(void *input)
{
    off_t offset = 0;
    int total_ios = *((int *)input);

    while (total_ios != 0) {
        increment_inflight();

        struct io_uring_sqe *sqe = io_uring_get_sqe(&ring);

        io_uring_prep_writev(sqe, fd, &iov, 1, offset);
        sqe->user_data = offset;

        total_ios--;

        io_uring_submit(&ring);

        offset += BS;

    }

        return NULL;
}

static void *reap_io_completions(void *input)                                                                                [29/192]
{
    int total_ios = *((int *)input);
    int failed_ios = 0;

    while (total_ios != 0) {
        struct io_uring_cqe *cqe = NULL;

        int rc = io_uring_wait_cqe(&ring, &cqe);
        if (rc < 0 || cqe->res != BS) {
            printf("rc=%d cqe->res=%d offset=%llu\n",
                   rc, cqe->res, cqe->user_data);
            failed_ios++;
        }

        total_ios--;
        io_uring_cqe_seen(&ring, cqe);

        decrement_inflight();
    }

    printf("io_failed=%d\n", failed_ios);

        return NULL;
}

static void *setup_iov_base(size_t size)
{
    void *buf;
    int fd;

    if (posix_memalign(&buf, BS, size) != 0) {
        printf("mem aligned failed\n");
        return NULL;
    }

    fd = open("/dev/urandom", O_RDONLY);
    if (fd < 0) {
        printf("Failed to open urandom. rc=%d\n", fd);
        return NULL;
    }

    read(fd, buf, size);
    close(fd);

    return buf;
}

static int init(void)
{
    int rc;

    rc = io_uring_queue_init_params(QD, &ring, &p);
    if (rc != 0) {
        printf("queue_init failed. rc=%d\n", rc);
        return rc;
    }

    fd = open("/dev/nvme1n1", O_RDWR | O_DIRECT | O_SYNC);
    if (fd < 0) {
        printf("Failed to open nvme device. rc=%d\n", fd);
        return fd;
    }

    iov.iov_base = setup_iov_base(BS);
    iov.iov_len = BS;

    return 0;
}

int main(int argc, char *argv[])
{
    pthread_t submit, complete;
    int total_ios, rc;

        if (argc != 2) {
        printf("Correct usage: %s <total_ios> \n", argv[0]);
        return -EINVAL;
        }

    total_ios = atoi(argv[1]);

    rc = init();
    if (rc != 0) {
        return rc;
    }

    rc = pthread_create(&submit, NULL, submit_io, &total_ios);
    if (rc < 0) {
        printf("Failed to create submit thread. rc=%d\n", rc);
        return rc;
    }

    rc = pthread_create(&complete, NULL, reap_io_completions, &total_ios);
    if (rc < 0) {
        printf("Failed to create complete thread. rc=%d\n", rc);
        return rc;
    }

    pthread_join(submit, NULL);
    pthread_join(complete, NULL);

    io_uring_queue_exit(&ring);

    close(fd);

    return 0;
}

My reading of liburing and the corresponding syscall invoked in io_uring suggests it seems to be safe to submit IOs from producer_thread and reap IOs from consumer_thread.
Before I model this into production code, I would like to get a buy in from the community on whether my approach is indeed safe and free from gnarly race conditions.

It is safe to submit and reap IO from different threads (except one should not invoke io_uring_wait_cqes())
Ref<EMAIL_ADDRESS>


Custom validation with different error messsages

Hello,
I haven't been able yet to achieve the following, is it possible to do it?
Situation: I need a custom validator to check an input text field for fiscal/tax code. I created my custom validator, but I want to show different messages according to the error (e.g. "you need at least 10 chars", or "the last char is wrong", or "the 3rd char must be a number", etc.).
How can I do that?
Thanks a lot

Probably it's not possible, reading https://github.com/1000hz/bootstrap-validator/issues/210

You can totally do this with v0.11.x! released last week Custom validator functions were changed to expect to return an error message string when they're invalid instead of just returning false and having a separate errors object. This means you can return whatever error message you want depending on what the user input.

Where can I find documentation about this please?
I followed what's written here http://1000hz.github.io/bootstrap-validator/ , I guess that's not up to date anymore and that's why I wasn't aware it was possible!

It's there in the table for the custom option
http://1000hz.github.io/bootstrap-validator/#validator-options

Cheers, my mistake sorry! :+1:
Could you please elaborate on "Adding the validator to an input is done just like the others, data-equals="foo"." What should "foo" be?

"foo" can be whatever you need it to be. In the example validator, the value of data-equals is being extracted into matchValue and used as a validation parameter. The error message returned for that validator will end up being "Hey, that's not valid! It's gotta be foo"

Thank you very much, everything's perfectly clear now! :+1:

Do you have any suggestions on how I could make that a little easier to understand? I was worried it wouldn't be very straightforward.

Don't know, something like this?
{
  equals: function($el) {
// extract into var matchValue whatever is assigned to the html tag data-equals, in this example "foo"
    var matchValue = $el.data("equals")
    if ($el.val() !== matchValue) {
      return "Hey, that's not valid! It's gotta be " + matchValue
    }
  }
}

Adding the validator to an input field is done just like the others, data-equals="foo", where "equals" in this example refers to the name of the custom validator just defined, and "foo" is an optional parameter passed to the custom validator function.

Thanks, I'll try to revise it.

I've just pushed a revision to the docs to hopefully make this more clear.

Great!
I would just add something along the lines of "[...] by referencing its name as a data attribute; optionally, you can also add a parameter (in this case "foo") to be passed to the validator".

This part is not clear at all, a full example would be better.
Like show the html tag + the custom validation script.
Right now I am confused... are the custom validation names extracted from the data- ?
The example name "equals" is also confusing if it's just a name...
Chris

This part is not clear at all, a full example would be better.
Like show the html tag + the custom validation script.

It... kinda does?

Right now I am confused... are the custom validation names extracted from the data- ?

Yes. It's similar to the non-standard data-match, data-minlength and data-remote validators that ship with the plugin.

In any case, it's probably worth breaking this example out of the options documentation.

Ah ok, just the example custom name "equals" confused me. On initial read you get the impression that equals is a match condition.
Thanks for the reply.


Operation document lacks successful callback method 'this.$emit("input", json)'

Events on yarnpkg only have an Error callback; but I see a 'this.$emit("input", json)' in your source code; but this method should also appear in Events. So that users can use it better.

@Percy6
Hi,
Are you hoping for the success callback? Watch your data changes can be met:
// comp.vue
<v-jsoneidtor v-model="data"></v-jsoneditor>
...
{
    watch: {
        data () {
            // do something...
        }
    }
}


Problem with RxAtomic

Hello,
My carthage file has:
github "ReactiveX/RxSwift" "5.0.1"
github "quickbirdstudios/XCoordinator" "1.5.0"

I am using Xcode 10.2.1
But when running my app, I receive:
dyld: Library not loaded: @rpath/RxAtomic.framework/RxAtomic
  Referenced from: /Users/Ricardo/Library/Developer/CoreSimulator/Devices/C7E0B26C-A1F1-476D-B56F-C9991E3094B9/data/Containers/Bundle/Application/DCBC149F-67E6-405E-9ABA-33E2DF3A0B41/Verv.app/Frameworks/XCoordinator.framework/XCoordinator
  Reason: image not found

What should I do?
BTW, I am not using Xcoordinator rx extension, if that helps.
I see this:
https://github.com/quickbirdstudios/XCoordinator/pull/74
But I don't see that RxSwift 5 creates RxAtomic framework, so, I cannot mark it as optional.
Any advice?
EDIT: I just realised RxAtomic is not available in RxSwift 5 anymore.
https://github.com/ReactiveX/RxSwift/issues/1964
What do I have to do?
Thanks a lot.

XCoordinator is currently not supporting RxSwift 5 - Please use RxSwift 4.x for now or refer to the branch of https://github.com/quickbirdstudios/XCoordinator/pull/87 directly to get beta support for it - it has not been thoroughly tested though - we would however be grateful for feedback whether there are currently any problems.

No problem.
I forked the project and removed everything about rx, and works fine.


Ruby 2.4

Upgrade quack gem to work with currently supported ruby versions: 2.2, 2.3, 2.4
It was a bit tricky getting this to work without any deprecation warnings and without doing any monkeying around with internal types...

Ready for review @djreimer

ping @djreimer

@timbreitkreutz is this backwards compatible with older rubies?

I only tested it on 2.2, 2.3, and 2.4 (which were the currently supported Ruby versions when I did this)-- did you want to test other versions?

No that's fine with me 👍

@timbreitkreutz v1.0 released

Thx!


dbeaver-ce-23.3.4-x86_64-setup.exe packages Version 23.3.2!

Description
Download the windows installer for 23.3.4 https://github.com/dbeaver/dbeaver/releases/download/23.3.4/dbeaver-ce-23.3.4-x86_64-setup.exe
After installation, the main window and the "about" dialog both show version 23.3.2.
DBeaver Version
23.3.2 or 23.3.4
Operating System
Windows 10 22H2
Database and driver
No response
Steps to reproduce
Download the windows installer for 23.3.4 https://github.com/dbeaver/dbeaver/releases/download/23.3.4/dbeaver-ce-23.3.4-x86_64-setup.exe
After installation, the main window and the "about" dialog both show version 23.3.2.
Additional context
No response

When you run the installer, there is a choice of the installation way and place

Is it possible that you chose an option other than the one selected during the initial installation? I suspect that there are 2 applications installed on your computer now - one installed for all users and another one installed for current user.
Could you check? To check it, you can try changing this switcher in the update wizard.


Fixing multiple JDBC connections

Summary
Fixed an issue with the connector creating multiple JDBC connections on write.
Description
When checking for jdbc layer is closed, included a lazy initialization check to ensure we don't initialize jdbc connection when it wasn't used.
This fix is not ideal and in the future, we should look refactor executor codes so that they do not hold a jdbc layer reference as they do not need to use jdbc.
Other changes

Post merge functional tests added
Docker setup to expose Spark UI
Fixed weekly tests hadoop version

Related Issue
Closes #398
Additional Reviewers
@alexr-bq
@jeremyp-bq
@jonathanl-bq

My only additional thought here is - would it be possible to modify the jdbc configuration so that it is never sent down to the executors at all, making it impossible they'll ever try a proper jdbc connection?

My only additional thought here is - would it be possible to modify the jdbc configuration so that it is never sent down to the executors at all, making it impossible they'll ever try a proper jdbc connection?

It's possible, but we will need to refactor the pipes which will have a larger scope than this.


⚠ Mobitopup has degraded performance

In 849e81f, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 7303 ms

Resolved: Mobitopup performance has improved in e54e94b.


refrac: format the code base using black

@legitShivam
How about doing this, we add a ci/cd pipeline of black to the branch dev and master.

yeah we can do that


Launch Checklist

In order to launch we should:

[ ] Turn on Travis CI for the track
[ ] Add PureScript  as a submodule in x-api
[ ] Implement at least 10 problems
[ ] Write documentation (see below)
[ ] Find a person or (ideally) a handful of people willing to check exercism regularly (daily?) to review solutions
[ ] Add track implementors and other designated code reviewers as mentors to the track. This gives you access to all the solutions in PureScript whether or not you've submitted the problem to the site. The first track mentor needs to be added manually by kytrinyx, but after that there's a section in the account where existing track mentors can invite new ones.
[ ] Add a language icon or logo (see below) + attribution (in README)
[ ] Toggle "active" to true in config.json
[ ] Mention it in the next "Behind the Scenes" newsletter (kytrinyx)

Documentation
The documentation lives in the docs/ directory here in this repository, and gets served to the site via the x-api. It should contain at minimim:

INSTALLATION.md - about how to get the language set up locally.
TESTS.md - about how to run the tests for the exercises.

Some nice to haves:

ABOUT.md - a short, friendly blurb about the language. What types of problems does it solve really well? What is it typically used for?
LEARNING.md - a few notes about where people might want to go to learn the language from scratch.
RESOURCES.md - references and other useful resources.

Logo/Icon
We try to create a language icon that has the exercism colors, and is recognizably similar to the language icon. Sometimes this isn't possible due to copyright issues. See http://exercism.io/languages for all the existing icons.
The logo should live under /public/img/tracks/ in the exercism/exercism.io repository.
https://github.com/exercism/exercism.io/tree/master/public/img/tracks
Attribution goes in https://github.com/exercism/exercism.io/blob/master/ATTRIBUTION.md
If image assets are not your strong suit, just find a reasonable image to start from, along with the information about the licensing, and we'll figure out the colorization thing (I've written some scripts to help me do this part).
Some icons are the official language logo (tweaked). Where a language doesn't seem to have an official logo, or where the official logo has copyright issues, we just make something up.
Successful Launches
Some tracks have been more successful than others, and I believe the key features of the successful tracks are:

Each submission receives feedback quickly, preferably within the first 24 hours.
The code reviews do not direct users to do specific things, but rather ask questions challenging people to think about different aspects of their solution, or explore aspects of the language. Referencing existing blog posts and style guides seems to work well, when making specific recommendations.

For more about contributing to language tracks on exercism, check out the Problem API Contributing guide: https://github.com/exercism/x-api/blob/master/CONTRIBUTING.md

D'oh. Wrong repo.


finetune the vocoder

Hi @yl4579 , thanks for you amazing work.
I want to finetune the HifiGAN model, but seems the pretrained weight only has generator. Could you also publish the discriminator? Thanks.

Here is the discriminator for the vocoder trained on the LibriTTS dataset (the most general one that you can fine-tune on any dataset): https://drive.google.com/file/d/1l9FJV2kVItd8wwNWS4L4CYGuCx0SbsUw/view?usp=sharing
By the way, I'm working on the recipe with the official HifiGAN and BIGVGAN configurations now, so if you are also interested in that, stay tuned. They are 22050 Hz, though, and my configuration is 24000 Hz. If you prefer to work with audios in 24 kHz, maybe you can directly fine-tune my model. However, I found my HifiGAN model sounds slightly worse than their checkpoint for some reason, maybe due to not tuning the hyperparameters carefully.

How's the progress with BigVGAN coming? Any idea on when it will be added?

@crypticsymmetry I am currently testing StyleTTS in combination with BigVGAN myself.
I've added my modifications in here https://github.com/lexkoro/StyleTTS
Currently training stage2 of StyleTTS (multispeaker) but the speaker similarity is quite bad so far, so I am not sure if I've messed up somewhere or it just needs more training.

@crypticsymmetry It worked for me on LJSpeech, but I don't have enough time to train on LibriTTS. I will test on multispeaker using VCTK dataset and see if it works well on that as well.
@lexkoro Not sure why stage 2 matters for speaker similarity, as that should only depend on stage 1 (acoustic model).

Thanks @yl4579 , the vocoder discriminator works for me and I can use it to finetune the vocoder for StyleTTS.
Btw, do you have  pre-trained model for ESD dataset?


Validation failed: commit_id has been locked when deploying multiple projects

First of all, sorry for opening a new ticket with this issue, but the problem persists and I'm not able to reopen my old issue.
I use the action two deploy two different projects to now from the same repository. The first job runs fine, but the second one errors when trying to comment the commit:

{"resource":"CommitComment","code":"custom","field":"commit_id","message":"commit_id has been locked"}

I used practically the same code for my actions like they are in your examples.
I have a Next.js app and a Storybook app that are separate projects on now.sh. Both live in the same repo.
Here are both my workflow files:
nextjs.yml:
name: Deploy Next.js

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  nextjs:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - uses: amondnet/now-deployment@v2
        id: now-deployment-staging
        if: github.event_name == 'pull_request'
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          zeit-token: ${{ secrets.NOW_TOKEN }}
          now-org-id: ${{ secrets.NOW_TEAM_ID }}
          now-project-id: ${{ secrets.NOW_NEXTJS_PROJECT_ID }}

      - uses: amondnet/now-deployment@v2
        id: now-deployment-production
        if: github.event_name == 'push'
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          zeit-token: ${{ secrets.NOW_TOKEN }}
          now-org-id: ${{ secrets.NOW_TEAM_ID }}
          now-project-id: ${{ secrets.NOW_NEXTJS_PROJECT_ID }}
          now-args: '--prod'

storybook.yml:
name: Deploy Storybook

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  storybook:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: '14.x'

      - run: yarn install
      - run: yarn run build-storybook

      - uses: amondnet/now-deployment@v2
        id: now-deployment-staging
        if: github.event_name == 'pull_request'
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          zeit-token: ${{ secrets.NOW_TOKEN }}
          now-org-id: ${{ secrets.NOW_TEAM_ID }}
          now-project-id: ${{ secrets.NOW_STORYBOOK_PROJECT_ID }}
          working-directory: storybook-static

      - uses: amondnet/now-deployment@v2
        id: now-deployment-production
        if: github.event_name == 'push'
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          zeit-token: ${{ secrets.NOW_TOKEN }}
          now-org-id: ${{ secrets.NOW_TEAM_ID }}
          now-project-id: ${{ secrets.NOW_STORYBOOK_PROJECT_ID }}
          now-args: '--prod'
          working-directory: storybook-static

Could you look into this again? Thanks a lot!

Hi, @linkurzweg.
Try with github-comment: false.
uses: amondnet/now-deployment@v2
with:
  github-comment: false
  // ..other input

Hi @amondnet. Thank you, I'll do that :)
I guess there is no way to make this work, so that both actions can comment the commit? That would be great!

Very old thread, I know--but it seems this is still an issue. In my context, I'm not deploying multiple projects, but my workflow does deploy code to a staging environment, tests, then deploys to production.


[BUG]: Updating Username

Bug Description
When updating the username a new user is created with the same id but a different username.
Expected Behavior
old version should no longer exist
Steps to Reproduce
update a users username.
Possible Solutions
Problem possibly from the users list in the userstate.
Further Information
No response

This bug is caused by checking if the usernames are the same in the addOrUpdateUser method. This check causes the user to be added to the user array instead of the existing one being updated. This is a remnant from early development where we thought it might be possible for users to exist without a id in the frontend (due to caching considered early in develpment).
This is fixed in 0ac1c93348a1b788b0f704bd126c8832c437d02b, by using the userId to check for object equality.


BUG: I have meet a fatal problem for me!

Hi, @Vinzent03
I always use your plugin. Until I meet a fatal problem for me today.
These step what I do.

set the file yaml

id: '20220728194221835'
tags: 'tag1', tag2

open menu and open Advanced URI: copy URI for current file
then I can't get my advanced url what I want, like obsidian://advanced-uri?vault=Mybase&uid=20220728194221835. It is obsidian://advanced-uri?vault=Mybase&uid=52195e59-d1c1-421e-953a-ec6833a5e0bb
I test so many times  and find the problem tags: 'tag1', tag2 , it cause it. Why? I don't understand. If I set tags: tag1, tag2 , I can get the advanced url what I want. Is it normal?

Your YAML is not valid.
Either
id: '20220728194221835'
tags: ['tag1',tag2]

or
id: '20220728194221835'
tags:
    - 'tag1'
    - tag2

See yaml documentation

yeah, I know what you mean. I just have a question that make sure if the yaml miss formate can cause the plugin error.

If the yaml is wrong, it can't correctly read the value of id. When switching to reading mode in Obsidian, it should show you that the yaml is wrong too.

Thank you!


Implement TLS bootstrapping for Kubernetes Nodes

Is this an ISSUE or FEATURE REQUEST? (choose one):
Feature
What version of acs-engine?:
All
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes
What happened:
Move Kubernetes nodes to use TLS bootstrapping for so that they have an individual identity.
https://kubernetes.io/docs/admin/kubelet-tls-bootstrapping

If we think this is something worth pursuing I'm willing to do the work.

duplicate of #956


Not installing on iojs 1.2

After installation of iojs 1.2  (https://iojs.org/en/index.html) and
npm install gc-profiler
I get this errors:

><EMAIL_ADDRESS>install /Users/stefan/node_modules/gc-profiler
> node-gyp rebuild
child_process: customFds option is deprecated, use stdio instead.
  CXX(target) Release/obj.target/GcProfiler/src/GcProfiler.o
In file included from ../src/GcProfiler.cc:2:
../src/../node_modules/nan/nan.h:481:19: error: no type named
      'ExternalAsciiStringResource' in 'v8::String'; did you mean
      'ExternalStringResource'?
      v8::String::ExternalAsciiStringResource *resource) {
      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                  ExternalStringResource
/Users/stefan/.node-gyp/1.2.0/deps/v8/include/v8.h:2016:19: note:
      'ExternalStringResource' declared here
  class V8_EXPORT ExternalStringResource
                  ^
In file included from ../src/GcProfiler.cc:2:
../src/../node_modules/nan/nan.h:480:36: error: redefinition of 'NanNew'
  NAN_INLINE v8::Local NanNew(
                                   ^
../src/../node_modules/nan/nan.h:475:36: note: previous definition is here
  NAN_INLINE v8::Local NanNew(
                                   ^
../src/../node_modules/nan/nan.h:2114:12: error: no member named
      'IsExternalAscii' in 'v8::String'; did you mean 'IsExternal'?
  if (str->IsExternalAscii()) {
           ^~~~~~~~~~~~~~~
           IsExternal
/Users/stefan/.node-gyp/1.2.0/deps/v8/include/v8.h:1980:8: note: 'IsExternal'
      declared here
  bool IsExternal() const;
       ^
In file included from ../src/GcProfiler.cc:2:
../src/../node_modules/nan/nan.h:2115:23: error: no type named
      'ExternalAsciiStringResource' in 'v8::String'; did you mean
      'ExternalStringResource'?
    const v8::String::ExternalAsciiStringResource* ext;
          ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
                      ExternalStringResource
/Users/stefan/.node-gyp/1.2.0/deps/v8/include/v8.h:2016:19: note:
      'ExternalStringResource' declared here
  class V8_EXPORT ExternalStringResource
                  ^
In file included from ../src/GcProfiler.cc:2:
../src/../node_modules/nan/nan.h:2116:16: error: no member named
      'GetExternalAsciiStringResource' in 'v8::String'; did you mean
      'GetExternalOneByteStringResource'?
    ext = str->GetExternalAsciiStringResource();
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               GetExternalOneByteStringResource
/Users/stefan/.node-gyp/1.2.0/deps/v8/include/v8.h:2083:40: note:
      'GetExternalOneByteStringResource' declared here
  const ExternalOneByteStringResource* GetExternalOneByteStringResource() const;
                                       ^
In file included from ../src/GcProfiler.cc:2:
../src/../node_modules/nan/nan.h:2116:9: error: assigning to 'const
      v8::String::ExternalStringResource *' from incompatible type 'const
      v8::String::ExternalOneByteStringResource *'
    ext = str->GetExternalAsciiStringResource();
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/../node_modules/nan/nan.h:2117:11: error: assigning to 'const char *' from
      incompatible type 'const uint16_t *' (aka 'const unsigned short *')
    *data = ext->data();
          ^ ~~~~~~~~~~~
7 errors generated.
make: *** [Release/obj.target/GcProfiler/src/GcProfiler.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2

Pls. check also latest changes in nan.  https://github.com/rvagg/nan
I wonder about this entry in package.json as well:
"dependencies": {
"nan": "git+https://github.com/rvagg/nan.git#df2cdbcc4869af5ed1e29e2e6d5aeed9ad5a3f41"
}

The reason for the reference to the specific nan commit was because I needed some changes which weren't in any release yet, but they probably are now. I haven't checked in a long time.
I'll take a look at whether this compiles on node 0.12 correctly, but I have no interest in supporting io.js. If you'd like to submit a PR with a fix, I'd be happy to review it.

I use it on 0.12 so far without any issues.
On a local test it did well by using NAN 1.6.2. I might do a pull request for it - if this also solves iojs issue.
On windows it failed because "qos.h" could not be found using VC++ 2013 (seems to be an issue with the C++ ENV there - probably my mistake -  Any tip for Windows?, I'm there a Noop (after not using it for a few years ...).

Made a pull request using NAN 1.6.2 - only version changes in package.json. Was running on node 0.12 and iojs 1.2

Compilation and running example.js on >0.10, 0.11, 0.12, 1.2 (iojs) on Mac OS X -  using the pull request https://github.com/bretcope/node-gc-profiler/pull/4. Looks good but old version v0.8.28 fails. If you want to try with your packages
  npm install ny -g
  for version in  0.10.35 0.10.36  0.11.16 0.12 1.2
  do
      ny $version
      node --version
      npm install
      npm test
  done

I'll give it a try on Windows. I'm not sure what qos.h is.

Probably something missing on VC++ 2013, Win 8.1 on my VM - Thats the error on windows:
C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(882): fatal error
C1083: Cannot open include file: 'qos.h':

It builds fine for me on Windows 8.1, so it seems you are correct that there's something wrong or missing with your setup. If you care about debugging it, you'll need to post the whole output and we'll see if anything else gives clues. If you were only concerned about testing it on windows, then I wouldn't worry about it.

Thx  a lot - it was about testing on windows. But happy that all the new node versions work!


Bug or intended? Crafting Terminal Not finding items that have a Extraction filter?

I want to pro sort with your awesome pipes please helps?

Yes, that is intended behavior. Just add a second pipe to your container if you want it to be sorted, or use a retrieval module instead.

Well I wanted a simple sorting system that could sort with the extraction filter and that would pull all from one pipe because its connected. I really don't need it to just pull any one item into another or my inventory if you get time it would be cool if you allowed the terminals to pull from the chest regardless of filter. If not thanks for the cool mod anyway btw this mod is one of the best simple pipe mods I've ever seen in all the years I've played Minecraft well done.

How would extraction modules help you with sorting?
The item you want in your storage destination chests is Filters, they only let items through that you specify. Your input chest then has to have an Extraction module on it, and things like furnaces (that smelt all ores that are in your storage chests) can use Retrieval modules.
Items being extracted by the terminal from chests that have Extraction modules in them makes no sense, because chests with extraction modules should not be considered a part of the storage system. They're merely an input into the storage system.


Apply placeholder functionality if value matches placeholder, to fix bac...

...k button and refresh problems (IE9). Fixes #58.
This patch has the side-effect (depending on your point of view, regression?) of not allowing the exact placeholder text itself to be entered into a field. If the placeholder text is entered, it will be treated as blank. In my opinion, this is desirable behavior, as I believe most web apps would prefer to treat the exact placeholder text as blank (like "use the default"), and it is likely to fix other non-obvious back button / refresh problems.
Also, I'm not thinking of a better way to fix this.
This patch also removes an apparently useless variable declaration of $origInput.

Thanks for the pull request.
However, this is a feature, not a bug — it’s how native browser implementations work. For that reason I’m gonna have to pass on this one.


adding Fibonnaci problem with 3 approaches

Hello @abhinavkashyap061
Can I contribute to this?
Please assign this to me.


Add UpdateStatus call to controller

Closing in favor of https://github.com/rancher/norman/pull/363


Add the ability to generate canonical JSON for protos in JavaScript

What language does this apply to?
If it's about generated code change, what programming language? JavaScript
Describe the problem you are trying to solve.
Code generated for Javascript does not include the ability to serialize a message to JSON, or from JSON. The closest solution is to use toObject(), but serializing the output with JSON.stringify yields several incompatibilities:

repeated elements end up with the suffix List in the resulting JSON string.
uint32 are incorrectly converted to strings.

Describe the solution you'd like
Either toObject() should produce an object that produces the canonical JSON representation of the proto when passed to JSON.stringify or a new method, toJSON() should be added to the generated protocol buffer.
Describe alternatives you've considered
I currently call toObject() and then manually rename the fields to be compliant. The alternative is to use a project like github.com/thesayyn/protoc-gen-ts, but they mention its not directly compatible with grpc-web.

As you noted, toObject is not intended to work for this purpose. We have no plans to support this right now.


Update for Twig 2.7: Template -> TemplateWrapper

Since Twig 2.7, $twig->resolveTemplate($template) doesn't return Twig\Template but Twig\TemplateWrapper. This PR simply updates the typehints accordingly.

Also, I've updated the composer dependencies, because it wouldn't install otherwise since the vulnerability disclosure in Twig 2.6.

Thank's you!

Thanks for fixing this bug Bob.

Has this bug been reintroduced with later versions of Twig? I have 2.8.1 and got the inverse error:

Argument 1 passed to App\Twig\SourceCodeExtension::getTemplateSource() must be an instance of Twig\TemplateWrapper, instance of __TwigTemplate_162c098ca5b32414d11a6bd21c615e86daeea569ccab9c2c836dc6159b60cd1f given

Reverting the changes in src/Twig/SourceCodeExtension.php resolved the issue for me...


Azure.Core 2.0: Address concerns about policy inheritance

This draft PR adds tests from @AlexanderSher's Azure.Core 2.0 integration gist illustrating concerns about the inheritance of the Azure.Core HttpPipelinePolicy type from System.ClientModel PipelinePolicy.
@AlexanderSher explains the concerns in this PR comment: https://github.com/Azure/azure-sdk-for-net/pull/42328#issuecomment-1979098852

@AlexanderSher, in response to:

IMO, we should remove inheritance between Azure.Core types and System.ClientModel types and replace it with composition

Is your concern only with the inheritance of Azure.Core's HttpPipelinePolicy from System.ClientModel PipelinePolicy, or are there other types in the integration that you have concerns with as well?

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Core

@AlexanderSher, in response to:

IMO, we should remove inheritance between Azure.Core types and System.ClientModel types and replace it with composition

Is your concern only with the inheritance of Azure.Core's HttpPipelinePolicy from System.ClientModel PipelinePolicy, or are there other types in the integration that you have concerns with as well?

All the types. I can create similar tests for Request:PipelineRequest and Response:PipelineResponse pairs, but they will be more complicated.
My main premise here is that if we need to write hundreds (if not thousands) lines of code to support basic OO inheritance between types that in C# should just work, we are doing something wrong.

All the types. I can create similar tests for Request:PipelineRequest and Response:PipelineResponse pairs, but they will be more complicated.

I agree that we have issues with the inheritance of policies, but I had thought we had resolved remaining issues with polymorphism for these types.  If you can provide tests that fail for other types in the integration, that would be very helpful in assessing the feasibility of this integration approach.  The list of all Azure.Core types that inherit from System.ClientModel types can be found in the APIView linked from this PR.


Smart Sync current or recursive folder sync

Add a way to sync the current folder or all the folders in the current directory.
Possible implementations:
sync-dl sync -s ./
sync-dl sync -s --current-folder
sync-dl sync -s -cf
sync-dl sync -s -cwd
sync-dl sync -s --recursive
sync-dl sync -s -r

Possible use cases:

Currently, the user has to type the playlist folder names manually to sync them. Typing becomes more tedious if the folder name is in a different typing system (Latin, Kanji, etc.).
Since sync-dl does not offer a batch sync implementation. The user has to manually type all the playlist folder names, there may be hundreds of them.

I can add this, I think I'll go with the -r --recursive flags which will check the specified folder and its subfolders for playlists. Never came across this in my own use as I only use 5 playlists for my music.

new version is on pypi:
https://pypi.org/project/sync-dl/2.3.4/
pip install -U sync-dl


[Feature RequestPossibility to close a file listed in Get-NetOpenFiles

Hi
One feature that would be cool is the ability to close files. Not sure how possible it would be, but it would be nice to filter out file matches, and then pipe them in, to close them...
Currently it's possible to verify if a user has a file open, but to close it, you'll still need to use compmgmt.msc, and sift through the list
Thanks

I like to implement this soon and also a close session command. Found a good starting point here : https://stackoverflow.com/questions/40458957/force-close-an-open-network-file-on-windows-server-2012-with-c-sharp

I added two new functions to close files and sessions and I also needed the option to output the FileID with Get-NetOpenFiles in order to use Close-NetOpenFiles.
@n3rdopolis  Can you please get the latest Version here and test is before I publish this version to the PowerShell Gallery ?

Thanks!
I tried it, It mostly works, but there is a problem with Get-NetOpenFiles, and the problem is that it seems that on a server that has been up for a while, you get file ID's higher than<PHONE_NUMBER> (higher than an 32 bit signed integer), and it fails
Changing the argument to NetFileClose to unsigned seems to work.
Close-NetSession works great, but I think an error message could be tweaked if possible. If you kill the session that is being used to list the sessions with compmgmt.msc, you get an error that states "you can't terminate the session that is being used to administer the server", where Close-NetSession just shows a generic "remote procedure call failed" error.

I changed the variable type to unit / uint32 and tested it on a filer with such high numbers with success.
Regarding the errors I do no processing and transfer the API errors directly. I don't plan to implement any fancy logic to detect this "user error".
I released and published version 1.0.22 that solves this issue.


Add user-agent for go-lambda-cleanup

Is your feature request related to a problem? Please describe.
Currently glc uses the default user-agent for the aws go sdk. It would help enforce organizational controls if the user-agent is unique.
Describe the solution you'd like
include the user agent in the http header
Describe alternatives you've considered
none
Additional context
Maybe include the version number as well

Merged #13


Add support for MajorCall +semver: patch

Add support to New-BasicIncident for creating a new incident under a Major Incident.

Closes #50


Worked on project with quinn 12/2/2023

thanks for this work and effort @EvergreenTor @WestDav @aquinnallen

This has been an honor


Error when sending with php-cli due to SERVER_NAME empty

Q
A

Bug fix?
yes

New feature?
no

Doc update?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
#992

License
MIT

Replace <IP_ADDRESS> by gethostname() to resolve sending errors with php-cli

Conflict resolved. Sorry for delay...

yes please

Thanks for the PR. As announced some time ago, Swiftmailer is not maintained anymore.
Symfony Mailer is the next evolution of Swiftmailer.
It provides the same features with support for modern PHP code and support for third-party providers.


SwiftUI show old image when loading new one

First of all, thank you guys for a great lib. It's amazing.
I used KF for while, and now trying to use it in my SwiftUI project.
I have one Image view and different image URLs.
The issue I have, is that Image view is blank while new image loading, when I want to have old one until new one loaded.
Possible ? Am I missing something ?
Not much from code perspective on my side
KFImage(carImageURL).resizable().scaledToFit()
KF version 7.5.0

There is indeed a `` in Kingfisher when working with UIKit. But that model is not matching the concept of SwiftUI, so the same option is not existing in KFImage (at least not yet).
A possible and minimal workaround is keeping a reference to the last loaded image, and using it as the placeholder. Here is a snippet for your reference:
@State private var currentImage: Image?

KFImage(url)
  .onSuccess { r in
    currentImage = Image(uiImage: r.image)
  }
  .placeholder { progress in
    currentImage?.resizable()
  }
  .resizable()
  .frame(width: 300, height: 300)

Hey @dbyst ! This is a good point


Add support for parameters as empty lists

This issue captures the work required to support empty list parameters for our binaries. Specifically, consider the following code:
use structopt::StructOpt;

#[derive(StructOpt)]
struct Options {
    #[structopt(long, env, use_delimiter = true, default_value = "1")]
    my_values: Vec<String>,
}

fn main() {
    println!("{:#?}", Options::from_args().my_values);
}

At first glance, there does not appear to be any way to specify an empty list:
$ cargo run -q
[
    "1",
]
$ MY_VALUES='' cargo run -q
[
    "",
]
$ MY_VALUES='1,2' cargo run -q
[
    "1",
    "2",
]

This issue seems to affect our services, in our staging configuration we have:
global:
  # ...
  unsupportedTokens: '0x0000000000000000000000000000000000000000' # None, work around not supporting empty list.
  # ...

Started a discussion here: https://github.com/clap-rs/clap/discussions/2503

One easy thing we can do in this case is to run the binary without explicitly setting the value:
cargo run --bin orderbook -- --node-url "SOME NODE URL"

Then with these vector arguments (as long as they have an empty list as their default) we find that everything runs fine.
I consider this a totally reasonable solution.


Unable to reference an existing authorizer function for ApiGatewayV1

Currently I don't see anyway to reference an existing function when adding a new authorizer to ApiGatewayV1.
I tried to pass the arn instead of the handler path without any success.
Another attempt I had was to use the userPools method (because I saw it's the only case where SST doesn't create a lambda) and use the transform function to update authorizerUri. But it ended up with the following error :
TypeError: Cannot read properties of undefined (reading 'nodes')
       at createAuthorizer (file:///Volumes/sredata/dev/prismicio/obelix/.sst/platform/src/components/aws/apigatewayv1-authorizer.ts:130:32)
       at new ApiGatewayV1Authorizer (file:///Volumes/sredata/dev/prismicio/obelix/.sst/platform/src/components/aws/apigatewayv1-authorizer.ts:64:24)
       at ApiGatewayV1.addAuthorizer (file:///Volumes/sredata/dev/prismicio/obelix/.sst/platform/src/components/aws/apigatewayv1.ts:1029:12)
       at services/document-search/infra/search.ts (file:///Volumes/sredata/dev/prismicio/obelix/services/document-search/infra/search.ts:26:24)
       at services/document-search/infra/mod.ts (file:///Volumes/sredata/dev/prismicio/obelix/services/document-search/infra/mod.ts:6:1)
       at run (file:///Volumes/sredata/dev/prismicio/obelix/sst.config.ts:33:31)
       at run (file:///Volumes/sredata/dev/prismicio/obelix/.sst/platform/src/auto/run.ts:32:20)
       at file:///Volumes/sredata/dev/prismicio/obelix/eval.ts:4:22

Finally I came up with following solution:
const authorizer = api.addAuthorizer({
	name: "custom-authorizer",
	ttl: 0,
	identitySource: "",
	requestFunction: {
		handler: "services/dummy-authorizer/src/index.handler",
	},
	transform: {
		authorizer: {
			authorizerUri: authorizerFunction.invokeArn,
		},
	},
})

In this solution I let SST creating the lambda even though I don't use it.
Is there anything I'm missing here?
Also I'm pretty sure I spot a bug with userPools as well.

@srenault If u have an existing lambda authorizer with id ie. xxxx, u can use it directly:
const api = new sst.aws.ApiGatewayV1("MyApi");
api.route("GET /token", "index.handler", {
  auth: { custom: "xxxx" },
});

u don't need to call addAuthorizer to create a new authorizer.
lemme know if this works for u.

My understanding is I need to create for each ApiGateway a new authorizer that all point to the same lambda authoriser so I don't think it would work.

Im also hitting this issue - when trying to create a Cognito authorizer I'm getting the Cannot read properties of undefined (reading 'nodes') error.
It appears to be caused by https://github.com/sst/ion/commit/6d6a782ba4ab1ead77c01a11fc617debd85a8f36 - it changes line 130 in platform/src/components/aws/apigatewayv1-authorizer.ts from:
authorizerUri: fn?.nodes.function.invokeArn,

to:
authorizerUri: fn!.nodes.function.invokeArn,

Note removal of the optional chaining operator. When creating a Cognito authorizer, no lambda is created, so fn is undefinedand this line errors. Manually reverting the change on this line appears to fix the issue for me.

Has anyone from the project got time to look at my PR please? I've not contributed before so am not sure of the process, but it's a one-liner and should be quick to review 😄


Fix flaky zookeeper by using wurstmeister/zookeeper image

What does this PR do?

Fix flaky zookeeper by using wurstmeister/zookeeper image
Before:

https://dev.azure.com/datadoghq/integrations-core/_build/results?buildId=13176&view=results
https://dev.azure.com/datadoghq/integrations-core/_build/results?buildId=13177

After

https://dev.azure.com/datadoghq/integrations-core/_build/results?buildId=13195&view=results
https://dev.azure.com/datadoghq/integrations-core/_build/results?buildId=13194&view=results

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Any insight on why is this image better?

Any insight on why is this image better?

Didn't investigated the root cause.
It's probably better in any case to use both images from the same author: wurstmeister/zookeeper, wurstmeister/kafka
It's used here: https://github.com/wurstmeister/kafka-docker/blob/master/docker-compose.yml#L4-L8
And tested on CI of the repo building wurstmeister/kafka: https://github.com/wurstmeister/kafka-docker/blob/master/.travis.yml#L50


HASS Addon Broken on HASSOS 9.5

Describe the issue you are experiencing
I've seen a similar bug at https://github.com/jens-maus/RaspberryMatic/issues/1942, which is already closed and was related to HASSOS 9.0 - now apparently this reappears on HASSOS 9.5, running HA Core 2023.2.0 (was already broken on 2023.1.7 - tested aswell), running on a Intel NUC in a proxmox environment, RaspberryMatic is installed via AddOn
RaspberryMatic addon runs and works without issues, devices are recognized and update flawlessly.
Home-assistant logs regarding "homematic":
2023-02-02 14:05:29.923 WARNING (SyncWorker_6) [pyhomematic._hm] Failed to initialize proxy for homeassistant-wired
2023-02-02 14:05:37.691 WARNING (MainThread) [hahomematic.central_unit] create_clients failed for RaspberryMatic
2023-02-02 14:05:37.701 WARNING (MainThread) [hahomematic.central_unit] check_connection failed: No clients exist. Trying to create clients for server RaspberryMatic
2023-02-02 14:05:37.723 WARNING (MainThread) [hahomematic.central_unit] create_clients failed for RaspberryMatic
2023-02-02 14:05:52.734 WARNING (MainThread) [hahomematic.central_unit] check_connection failed: No clients exist. Trying to create clients for server RaspberryMatic
2023-02-02 14:05:52.813 WARNING (MainThread) [hahomematic.central_unit] create_clients failed for RaspberryMatic

RaspberryMatic CCU Logs:
Identifying host system: oci, OK
Initializing RTC Clock: onboard, OK
Running sysctl: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Initializing System: OK
Setup ca-certificates: OK
Starting logging: OK
Init onboard LEDs: init, OK
Starting irqbalance: OK
Starting iptables: OK
Starting network: eth0: link up, fixed, firewall, inet up, <IP_ADDRESS>, OK
Identifying Homematic RF-Hardware: ....HmRF: n/a, HmIP: HMIP-RFUSB-TK/eQ-3 HmIP-RFUSB@usb-0000:01:1b.0-2, OK
Updating Homematic RF-Hardware: HMIP-RFUSB-TK: 4.2.14, not necessary, OK
Starting hs485dLoader: disabled
Starting xinetd: OK
Starting eq3configd: OK
Starting lighttpd: OK
Starting ser2net: disabled
Starting ssdpd: OK
Starting ha-proxy: OK
Starting NUT services: disabled
Initializing Third-Party Addons: OK
Starting LGWFirmwareUpdate: ...OK
Setting LAN Gateway keys: OK
Starting hs485d: disabled
Starting multimacd: not required
Starting rfd: no BidCos-RF hardware found
Starting HMIPServer: .....OK
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting NeoServer: disabled
Starting Third-Party Addons: OK
Starting crond: OK
Setup onboard LEDs: booted, OK
Finished Boot: <IP_ADDRESS>30114 (raspmatic_oci_amd64)

All my devices are now listed as "unavailable" in HomeAssistant.
Describe the behavior you expected
All devices show up in HomeAssistant
Steps to reproduce the issue
Install latest HA Core + HA OS + RaspberryMatic CCU Addon, all devices report as "unavailable".
What is the version this bug report is based on?
<IP_ADDRESS>30114
Which base platform are you running?
ha-addon (HomeAssistant Add-on)
Which HomeMatic/homematicIP radio module are you using?
HmIP-RFUSB
Anything in the logs that might be useful for us?
No.

Additional information
No response

Sorry, don't get it. How is this new issue here in any way related to #1942? To me this only had one thing in common: It's about HomeAssistant. But your issue here seems not to be related to the other one in any way.
All you report is that the addon works in principle and that even the homematic devices are working. But then you are telling us that all devices report as "unavailable". Don't get it really. Are the homematic devices now working in the Addon, yes or no. And if yes then this is rather an issue / problem in the "Homematic(IP) local" integration and not in any way related to RaspberryMatic itself. Thus, you should report / ask in the integration project instead.

Moin @jens-maus,
von so einem Problem hab ich schon mehrfach gehört.
Nach einem Update von HAOS gibt es Verbindungsprobleme von der Integration zum Addon, wobei das Addon eigentlich normal zu laufen scheint. Hier hilft meistens ein Restart des Addon.
Klassiker ist eigentlich der PI3 Benutzer, aber hier geht es um einen NUC mit Proxmox.
Ob das HAOS Update tatsächlich der Auslöser ist, oder ansonsten HAOS nur nicht durchgestartet wird, kann ich nicht sagen.
Ich konnte den Fehler bisher nicht reproduzieren.

I'll ´stick to english as it might be interessting for many users. The devices are working flawlessly in the RaspberryMatic AddOn, i've created an issue on their repo, which has been linked  by @SukramJ . He mentioned there that there's a post in the community forum  which is not mine, so it looks like others are affected aswell.
if i can provide more information helping to resolve the issue, i'm willing to do so. Please tell me, if you need anything.

In diesem Fall war es eine Fehlkonfiguration der Integration.
Das Ticket kann hier geschlossen werden.


Sharing donation on Twitter doesn't considers the currency

Describe the bug
When you finish your donation in Euros and click on Tweet It the default message will default the value to Dollars.
To Reproduce
Steps to reproduce the behavior:

Go to https://opencollective.com/manyverse/contribute/tier/6077-backer/success
Click on 'Tweet It'
The default Tweet will show the value in Dollars

Expected behavior
Tweet message to consider the currency I'm donating.
Screenshots

Got to love open-source projects. 😍


[Feature Request] tracker highlighting when mouse move over

Hi Perfetto Team,
Is it possible to add feature support for tracker hightlighting  when mouse floating on it so we can easily distinguish its names from adjacent ones, this will be very useful when we put many trackers together for analysis.

Can you expand a bit more. There are various part of the UI I am not 100% sure which one you are talking abut.
Maybe an annotated screenshot would help

Maybe a little example will put it more clear.
when user moving mouse over the tracker panel, the corresponding tracker area is highlighted, so that one can easily identify the tracker with the name on the left most.
similiar effect plrease refer in below link(horiztontal highlight).
http://www.webkaka.com/tutorial/html/2020/021970/Table_Highlight_Vertical_Horizontal/

I think we now display slice names on hover which I believe fixes this issue in a slightly different way.


Release/1.23.0

What

Update and tidy config to use any new attributes needed by mongoDB library
Upgrade version of mongodb library used
Add cantabular flexible table to possible job formats

How to review
Confirm additions are correct and there are no unexpected commits
Who can review
Anyone

PR had incorrect release numbering. New PR created - https://github.com/ONSdigital/dp-import-api/pull/124


Random build fixes and improvements

Moves us over to Coursier
Fixes a ton of stale dependencies
Fixes a ton of dependency conflicts
Corrects some other random stuff
Oh yeah, the build script now respects the configuration in .travis.yml
Things and stuff

Note that upgrading ScalaCheck has uncovered a number of previously undiscovered bugs and/or nondeterministic tests.  Yay!  #1935 has an example of one of these.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2a8bea8). Click here to learn what that means.
The diff coverage is 54.71%.

@@            Coverage Diff            @@
##             master    #1936   +/-   ##
=========================================
  Coverage          ?   64.74%
=========================================
  Files             ?      381
  Lines             ?    18833
  Branches          ?      243
=========================================
  Hits              ?    12194
  Misses            ?     6639
  Partials          ?        0

Impacted Files
Coverage Δ

.../main/scala/quasar/physical/marklogic/fs/ops.scala
0% <ø> (ø)

.../scala/quasar/physical/marklogic/fs/readfile.scala
0% <ø> (ø)

...rc/main/scala/quasar/physical/couchbase/N1QL.scala
40% <ø> (ø)

sql/src/main/scala/quasar/sql/semantics.scala
90.09% <ø> (ø)

...physical/couchbase/planner/ReduceFuncPlanner.scala
18.18% <0%> (ø)

...ain/scala/quasar/physical/marklogic/xml/Name.scala
0% <0%> (ø)

...scala/quasar/physical/marklogic/fs/writefile.scala
0% <0%> (ø)

.../scala/quasar/physical/marklogic/xcc/package.scala
20% <0%> (ø)

...ar/physical/couchbase/planner/MapFuncPlanner.scala
10.91% <0%> (ø)

repl/src/main/scala/quasar/repl/Repl.scala
0% <0%> (ø)

... and 18 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 2a8bea8...93e1b30. Read the comment docs.

@sellout This is ready for merge.


Fails with flapdoodle  'j' option when a host does not have journaling enabled

Hello,
I'm using
"com.github.cloudyrock.mongock:mongock-bom:4.3.4"
"com.github.cloudyrock.mongock:mongodb-springdata-v3-driver"
"com.github.cloudyrock.mongock:mongock-spring-v5"
And for integrationTests
de.flapdoodle.embed:de.flapdoodle.embed.mongo  2.2.0
After adding @EnableMongock context doesn't startup anymore It fails with following exception.
 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'connectionDriver' defined in class path resource [com/github/cloudyrock/mongock/driver/mongodb/springdata/v3/SpringDataMongoV3Context.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.github.cloudyrock.mongock.driver.api.driver.ConnectionDriver]: Factory method 'connectionDriver' threw exception; nested exception is com.mongodb.MongoCommandException: Command failed with error 2 (BadValue): 'cannot use 'j' option when a host does not have journaling enabled' on server localhost:39503. The full response is {"ok": 0.0, "errmsg": "cannot use 'j' option when a host does not have journaling enabled", "code": 2, "codeName": "BadValue"}
Can I somehow disable this "J" option ?

Hello, @Krandelbord ,
please use version 4.3.,  add this to your properties and let me know
mongock:
  mongo-db:
    write-concern:
      journal: false

Cheers

When I use
mongock-bom 4.3.5 It doesn't event start
It fails with
  java.lang.IllegalStateException: Failed to load ApplicationContext

  Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'connectionDriver' defined in class path resource [com/github/cloudyrock/mongock/driver/mongodb/springdata/v3/SpringDataMongoV3Context.class]: Unsatisfied dependency expressed through method 'connectionDriver' parameter 2; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.github.cloudyrock.mongock.driver.mongodb.springdata.v3.MongoDBConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

  Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.github.cloudyrock.mongock.driver.mongodb.springdata.v3.MongoDBConfiguration' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

Thanks, that a bug due to some scan package mess. It is fixed in version 4.3.7, which we're realising now, so you will have it today, very soon, in the next hours.

But with 4.3.4 and
mongock:
  mongo-db:
    write-concern:
      journal: false

I get same error as original reported
Seems there is no such poroprty as "mongo-db"  in com.github.cloudyrock.spring.v5.MongockConfiguration

no, since 4.3.5 ;)

Hello, @Krandelbord , version 4.3.7 ia released. Can you give it a try with the properties I gave you?
Cheers.


Handle additional configuration files

How should we handle [index.yaml] [cron.yaml] [dispatch.yaml] [datastore-indexes.xml]?

@patflynn have we decided that users deploy this on their own?

yes. However users do need a way of converting their xml files to yamls.
On Thu, Jul 21, 2016 at 1:50 PM, Appu Goundan<EMAIL_ADDRESS>wrote:

@patflynn https://github.com/patflynn have we decided that users deploy
this on their own?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/app-tools-lib-for-java/issues/93#issuecomment-234330696,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHf5HaPQDoxnKwoiQlZgog97r1olkMz_ks5qX7FXgaJpZM4Inj6R
.

The xml files get converted to yamls automatically during staging, as long as they're in the WEB-INF. It's also worth noting that this concern only applies to standard environment.