chore: Correct "builder methods" in docs and add must_use on widgets setters

This PR corrects the "builder methods" expressing to simple setters (see #650 #655), and gives a clearer diagnostic notice on setters must_use.
#[must_use = "method moves the value of self and returns the modified value"]
Fixes #650

@joshka  I made a WIP commit, do you think this is correct? I'll follow this pattern if this sample is fine.

@joshka I made a WIP commit, do you think this is correct? I'll follow this pattern if this sample is fine.

LGTM - go for it

Oh BTW if you want to find all the places that could be must_use like this automatically - there's a clippy lint that you can use. It probably shouldn't be enabled by default as I suspect it would probably have some noise (things we don't want to make must_use), but it might help.
cargo clippy -- -W clippy::must-use-candidate

Sounds good

@joshka  Ok, I've fixed them now.

Thanks for the small fixes. Would you mind please squashing your commits locally (so that that last commit is signed and I can merge it)?

Thanks for the small fixes. Would you mind please squashing your commits locally (so that that last commit is signed and I can merge it)?

@joshka Sure, I've squashed it.

Hrm - the commit is still not gpg signed (so I get a merging is blocked error)

@joshka Sorry, I was at my workplace without my PC. It took me some time to go back and reach my own PC.


References to @com_google_absl should go through bazel_respositories.bzl

Title: References to @com_google_absl should go through bazel_respositories.bzl
Description:
https://github.com/envoyproxy/envoy/pull/9952 adds a dependency from include/envoy/http/build to @com_google_absl//absl/container:inlined_vector.  All other
abseil dependencies (and I think all other external dependencies) go through bazel/repositories.bzl and envoy_external_dep_path (I presume to make import into other repositories easier--that's certainly where I ran into it).  The new inclined_vector dependency should too.

/cc @asraa, @adisuissa


Package with dash in its name fails to install with Yarn and NPM

Describe the bug
This package: https://yarnpkg.com/en/package/@ember-data/-build-infra is sub dependency of ember-data package. When trying to install<EMAIL_ADDRESS>or @ember-data/-build-infra package directly served by Verdaccio, Verdaccio will return 404 error.

To Reproduce

Make sure package is not already on local cache.
yarn add @ember-data/-build-infra or npm install @ember-data/-build-infra
Expected behavior
Package to be successfully installed.

Environment information

Verdaccio 4.2.0
Yarn v1.17.3
NPM v6.4.1
Screenshots
Seems like there is no tarball stored on disk at all.

Related: #1400

Running into the same issue as well.

Did not we ported the patch to the last release 3.x already ?

For the allowed names yes. How ever missing tarball issue is a new bug. It’s not returning 404 because of package name being invalid but rather actually failing to match/store/provide tarball itself.

Current issue is for v4.2.0 as stated above.

Ahhh ! sorry, I did not saw it ... thanks :)

Any updates on this?

Seeing the same thing.

Seems to be caused by these lines in validateName and validatePackage.

I do have the same issue with 4.3.4, in my case is with package regenerator-runtime.

As workaround I scope only internal package to point to Verdaccio in .npmrc and the rest is installed from public NPM registry.

@raido, done that! Worked like a charm and maybe saved some server bandwidth hehe, i've reported just to bump the issue.

I'm also seeing this issue specific to ember-data. This is a pretty significant issue for my company, and as a result we will need to find an alternative to Verdaccio if it is not fixed soon.
error Couldn't find package "<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>on the "npm" registry.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Error: Couldn't find package "<EMAIL_ADDRESS>required by "<EMAIL_ADDRESS>on the "npm" registry.

@kkincade Have you tried raido's suggestion => https://github.com/verdaccio/verdaccio/issues/1429#issuecomment-546588271?

@bertdeblock I had to figure out how to do this workaround in Yarn. It does indeed seem to work after clearing out any previous registry settings that I had manually configured.
Here is what I used for my .yarnrc file for those interested.
"@my-company:registry" "http://verdaccio.our.internal.domain.com"

Here is an example how to set it up with .npmrc
https://docs.npmjs.com/files/npmrc.html#comments

Current state in 4.4.0 / master:

error An unexpected error occurred<EMAIL_ADDRESS>Request failed "404 Not Found"

The mentioned lines seem to be a working solution but then a test fails:

Summary of all failing tests
FAIL  test/unit/modules/api/api.spec.ts (14.58s)
● endpoint unit test › Registry API Endpoints › should test ping api › should test endpoint /-/ping

Shipped on v4.4.1 powered by @DanielRuf


Hat GPIO Conflicts

I'd like to use this modem in conjunction with a PiJuice hat, but I'm running into a conflict on GPIO 17.
It appears that the PiJuice hat relies on GPIO 17 to be 3v3. So, when I run node.enable() this effectively does GPIO.output(17,0), which interrupts the power supply and restarts the Pi.
Do you think there's a way around this? Is there a way to set the modem to use BG96_ENABLE = 18 for example or is that locked in at the hardware level?

I believe what's happening here is not a GPIO conflict, but a voltage drop when turning on the modem that restarts the Pi. Some power adjustments seem to have fixed it...


Push 2022 01 21

@MarkovaMaria  could you please take a look why Mac OS X build fails?

@MarkovaMaria could you please take a look why Mac OS X build fails?

see that it was fixed in next commit

see that it was fixed in next commit

yes


Only forward production errors to the Metro team

Connects #973

Done, based on progress noted in https://github.com/Metro-Records/la-metro-councilmatic/issues/973#issuecomment-1552147254


Support pipelines with no classifier for signal processing applications.

There are times when you may not need a classifier but are just doing signal processing on an input signal. In such cases, I think our system still potentially offers a lot of value (visualizing of live sensor data, ability to connect to different input and output streams, etc.). It would be nice to support pipelines that don't have classifiers. We would probably also want to disable or hide the training tab, since there wouldn't be a need for training data. The analysis tab would probably need to change to showing the pipeline output rather than the prediction results, along with the test data (pipeline input).

I added this to the "building more examples" milestone because I'm guessing that many of the examples we'll want to build will fall into this category.

Commit 20c6cd4356753cab2e4594164d9d07f4458b5128 attempts to do this.

Re-ordered the tabs so that hiding Training tab would be easier. A more modular approach would be implement a Fragment class (like Android) and then refactor the code; but that is a daunting task at this stage.

user_sudden_motion.h detects the zero-crossing of derivatives (i.e. changes). With this example, if you are moving the accelerometer slowly, nothing will be reported; but if you are moving it fast, i.e., sudden motion, the zero-crossing will detect it.

There seems to be a general problem: the output dimension will not necessarily be one in contrast to classification results, which is an integer from 1 to NumClass.

My thought is to create a separate output stream interface for multi-dimensional floating point output, e.g.
class OStreamVector : public virtual Stream {
public:
  virtual void onReceive(vector<float> data) = 0;
}

This would allow some output streams (e.g. TCP or ASCIISerial) to support both classifier output (uint32_t) and signal processing / regression output (vector) while others (like keyboard and mouse) could continue to support only classifier output.
What do you think?

Another thought is that we may sometimes want a pipeline whose output is a label / integer but that doesn't require training data or training. Kind of a pre-defined classifier (e.g. to distinguish talking vs background noise, or beat vs. no beat, etc). This would use the same kind of output streams as a classifier but would involve hiding the training tab, etc.

The term "classifier" is ambiguous. We have two different classifiers:

Classifiers that need to be trained (what we have today); this is a transformation function with unknown parameters.
Classifiers whose job is to classify data into a category (uint32_t) but the transformation function is pre-defined. No need to train.

The second one, generalized in a mathematical point of view, is no different from pre-processing, feature extraction or post-processing, except the output domain is one-dimension integer.
This is stepping into GRT's code structure and even semantics of processing pipeline. Help or discussion with Nick would be helpful.

Sorry, maybe I was overthinking this... for the case where there's no real classifier (i.e. no training), let's just stick with float vector output.

I added a FeatureApply module that will apply a function during the feature extraction process.
One example can be found here: https://github.com/damellis/grt/blob/317b9ce568b5e54f6e992a93beb06201319bcd96/examples/FeatureExtractionModules/FeatureApplyExample/FeatureApplyExample.cpp
This should be generic enough to build other simple feature extraction module (needs to be stateless, only applying the function). Managing states is another complicated task.


Does Fabio support multiple CS Stores per listener?

Hi all,
Does Fabio support multiple 'cs' stores on a single listener? I have a mix of services, some with paid-for certs and others needing self-signed certs and I'd like to auto-generate the self-signed certs via Vault. As a result, I'd need to be able to support something like Vault (non-pki) or consul for the paid-for certs and then fall back to the vault-pki store to generate certs for other services.

No, that is not possible. If you know which certificates you need ahead of time you can of course generate them independently of fabio and store them all in Vault's KV engine. If you don't know ahead of time you have to find a way to run two listeners (perhaps with a simple proxy in front of fabio that picks the appropriate listener).
If this was possible, how would you want fabio to choose which certificate store to use for any given request?

Thanks for the info - I suspected as much. I'm also assuming that vault k/v and vault-pki are treated as 2 different types of cs store so I basically can't use vault-pki (where vault auto-generates certs) alongside hand-managed certs.
If multiple stores were supported I'd expect them to be tried in the order they are listed on the proxy.addr configuration. Each would be tried in turn until a cert was found. I guess the only caveat would be that if a cert was found in a manually managed store but was expired it should still be served rather than falling back to something like the vault-autogen store.

Trying sources in order was my intuition as well, but I didn't think this would be possible, because certificates are loaded asynchronously (i.e. we don't query Consul or Vault or whatever for every request).
Turn's out it wasn't that difficult after all. I pushed a proof of concept to the mux-cert-source branch.
If you could take this for a spin in a test environment that would be much appreciated. I don't have time to test this properly right now. I basically just made sure that it compiles and loads the config as expected. So really, don't put it in production :)
The config has to look something like this:
proxy.cs = cs=consul;type=consul;cert=secret/fabio/certs,cs=vault;type=vault-pki;cert=fabio-pki/issue/test,cs=mux;type=mux;cert=consul+vault
proxy.addr = localhost:9999;cs=mux

This gives the "consul" source precedence over the "vault" source.
Certificate expiration isn't taken into account (but simple to add later). If the POC works out I can polish it sometime next week and turn it into a PR.

wow, cool!
I'll do my best to find some time to test and let you know :)
Thanks :)

Sorry for the delay in testing this - it's still on my todo but with loads of staff on holiday I'm too focused on other stuff atm :(


fix integration tests after major feature supplementation

Thanks for update, @Lopa10ko!


Download GeoJSON from ArgGIS instance

Add link for downloadable *.geojson from the ArcGIS instance.

This is a rather hard issue to solve. There are no set solutions that are easily deployable. I'll move this to the backlog and continue to think about it.


Using number on presenting text is causing an 'is not function' error

I'm having an error with ng2-comleter when executing this steps:

click on input; (everything ok)
select the object; (object selected)
click on input again; (console ERROR)

this is my DOM
<ng2-completer [(ngModel)]="searchLorem" [datasource]="objectDataService"></ng2-completer>

and this is the error
ERROR TypeError: this.text.toLowerCase is not a function
    at CompleterListItemCmp.ngOnInit (eval at <anonymous> (http://localhost:8080/app.js:3436:1), <anonymous>:14:34)
    at checkAndUpdateDirectiveInline (eval at <anonymous> (http://localhost:8080/vendor.js:14:1), <anonymous>:10933:19)
(...)

here is my code
searchLorem: string;
comboLorems: LoremClass[];
interface ILorem{ id: number; name: string; }

let searchData = new Array<ILorem>();
this.comboLorems.forEach(
   l => {
       searchData.push({
          id: l.LoremId,
          name: l.Name
       } as ILorems);
    }
);
this.objectDataService = this.completerService.local(searchData, 'name, id', 'name').descriptionField('id');

and simplifying using Classes and not Interfaces
comboLorems: LoremClass[];

this.objectDataService = this.completerService.local(this.comboLorems, 'name, id', 'name').descriptionField('id');

I think that component is trying to execute .toLowerCase of the field 'id' because its a number.

Sorry about the delayed answer, is it still an issue?
if so can you provide a plunker that reproduces it?

I don't know. I'm not using this package anymore. But, because of the structure has an object number and that object is used by the description.
The code is doing object.toLowerCase() when object is a number,but off course that {number}.toLowerCase is not a function. To fix this I change the number to a string and it works.
I think that you probably need to add a .toString() before .toLowerCase() functions when you dont know for sure what kind of object you are dealing with.
Hope that could help to improve your package

It will work if the control is initialized with null and not [null]
fixed plunker
But fixed the issue when initializing with a non string or null


problem with handle updates

sometimes my app "skipping" and don't handle updates. (but they save to tdlib, i'm sure).
Does have any way to 100% getting all updates?

Can we see your code, its hard to comment just on that remark. On TELEports we do not see any skipping of updates. In fact, we seem to receive all updates, even if we are doing a lot of blocking UI work in Qt/QML.

Try to include logging in a file that is implemented in TDLib and monitor responses to requests in the file.

@merlinkory What exactly do you mean by "skipping" updates?

He means that if, for example, we insert sleep(1) between calls client->receive(), client->receive() can skip some updates

It seems like the error is somewhere in our code. Thanks for trying to help. The topic is closed.

Excuse me, it's too early to close the topic. We found that the updates are lost when client->query is called between calls of client->recieve . How to avoid this?

@pk0580 If the logs show that all updates were obtained, then where and which updates are lost?

I don't know. There is an update in the logs, but I can’t get it using client->receive.

Maybe this is a different context?


How to upgrade a compiled matc file(without source mat file) to new matc format?

Describe the bug
When upgrading sceneform-android-sdk which uses filament 1.4.5 to filament 1.60, it asserts in the following line:
2020-05-23 09:45:35.836 23295-23295/com.blippar.op E/Filament: in static filament::MaterialParser *filament::details::FMaterial::createParser(backend::Backend, const void *, size_t):493
    reason: could not parse the material package
2020-05-23 09:45:35.837 23295-23295/com.blippar.op A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 23295 (com.blippar.op), pid 23295 (com.blippar.op)

As mentioned in the filament release notes, the mat file has to be recompiled, but don't have the mat source file due to the following reason.
Background: Google has archived sceneform-android-sdk with many bugs and made it opensource. Unfortunately it didn't give the source of the important material files like (sceneform_camera_material.matc, sceneform_plane_shadow_material.matc, etc). Since the project is archived, I couldn't ask for the source file in the github.
Smartphone (please complete the following information):

Device: Pixel 2
OS: Android 10

Is there any way to compile the available matc and sfb files in the following link https://github.com/google-ar/sceneform-android-sdk/tree/master/sceneformsrc/sceneform/src/main/res/raw to the new matc format?
Please help.

Unfortunately no. The matc files contain compiled shaders. The best you could do is download Filament 1.4.5 and use the bundled matinfo tool to extract information about the material file so you can attempt to rewrite it. The shader bits might be difficult however if the materials where compiled in optimized mode.

Describe the bug
When upgrading sceneform-android-sdk which uses filament 1.4.5 to filament 1.60, it asserts in the following line:
2020-05-23 09:45:35.836 23295-23295/com.blippar.op E/Filament: in static filament::MaterialParser *filament::details::FMaterial::createParser(backend::Backend, const void *, size_t):493
    reason: could not parse the material package
2020-05-23 09:45:35.837 23295-23295/com.blippar.op A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 23295 (com.blippar.op), pid 23295 (com.blippar.op)

As mentioned in the filament release notes, the mat file has to be recompiled, but don't have the mat source file due to the following reason.
Background: Google has archived sceneform-android-sdk with many bugs and made it opensource. Unfortunately it didn't give the source of the important material files like (sceneform_camera_material.matc, sceneform_plane_shadow_material.matc, etc). Since the project is archived, I couldn't ask for the source file in the github.
Smartphone (please complete the following information):

Device: Pixel 2
OS: Android 10

Is there any way to compile the available matc and sfb files in the following link https://github.com/google-ar/sceneform-android-sdk/tree/master/sceneformsrc/sceneform/src/main/res/raw to the new matc format?
Please help.

do you fix this bug?I met same crash to you when i laydown a video model.

When google made sceneform sdk open source in v1.16.0 which was causing this error had no source code of these precompiled matc files, so I couldn't upgrade the filament engine.
The time when I fixed this bug, I had to cherry pick some commits of filament to support gltf and as well as old matc format.
But you don't need to go through that hassle now because google has released the source code of the precompiled matc files in github https://github.com/google-ar/sceneform-android-sdk v1.17.1.
If you are using the latest version of sceneform sdk, you shouldn't be seeing this error.

i use 1.17.1 version dependency

When google made sceneform sdk open source in v1.16.0 which was causing this error had no source code of these precompiled matc files, so I couldn't upgrade the filament engine.
The time when I fixed this bug, I had to cherry pick some commits of filament to support gltf and as well as old matc format.
But you don't need to go through that hassle now because google has released the source code of the precompiled matc files in github https://github.com/google-ar/sceneform-android-sdk v1.17.1.
If you are using the latest version of sceneform sdk, you shouldn't be seeing this error.

i take your advice to dependency 1.17.1 version ,but the build is faild,because of : Unresolved reference: setIsFilamentGltf,there is no setIsFilamentGltf method for ModelRenderable.builder class.
Would you pass me a copy of your sceneformsrc and sceneformux library?
I have been troubled by this problem for several days。If you help me i will thank you very mush


Failing to build with build.server

Qwik Version
0.11.1
Operating System (or Browser)
Linux / Firefox
Node Version (if applicable)
18.3
Which component is affected?
Qwik City
Expected Behaviour
I just used the Basic example from npm create qwik, and added the CloudFlare Pages integration.
Actual Behaviour
Then ran npm run build and it builds OK, thing is when I run build.server it errors with
[sigma@arckos qwik-cf-kv]$ yarn build.server
yarn run v1.22.19
$ vite build --ssr src/entry.cloudflare-pages.tsx
vite v3.1.7 building SSR bundle for production...
✓ 12 modules transformed.
[commonjs--resolver] Failed to resolve entry for package<EMAIL_ADDRESS>The package may have incorrect main/module/exports specified in its package.json.
error during build:
Error: Failed to resolve entry for package<EMAIL_ADDRESS>The package may have incorrect main/module/exports specified in its package.json.
    at packageEntryFailure (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-0ebb5606.js:34841:11)
    at resolvePackageEntry (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-0ebb5606.js:34838:5)
    at tryNodeResolve (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-0ebb5606.js:34584:20)
    at Object.resolveId (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-0ebb5606.js:34357:28)
    at Object.handler (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-0ebb5606.js:45996:19)
    at file:///home/sigma/github/qwik-cf-kv/node_modules/rollup/dist/es/shared/rollup.js:22710:40

I'm not sure if i even need to run that script, but still.
Also, kinda not related to above but same stuff which feels like "unfinished" and polishing.
Seems like the qwik build preview is also failing with
Error: Cannot bundle Node.js built-in "node:http" imported from "node_modules/node-fetch/src/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.
    at error (file:///home/sigma/github/qwik-cf-kv/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
    at throwPluginError (file:///home/sigma/github/qwik-cf-kv/node_modules/rollup/dist/es/shared/rollup.js:21781:12)
    at Object.error (file:///home/sigma/github/qwik-cf-kv/node_modules/rollup/dist/es/shared/rollup.js:22503:20)
    at Object.resolveId (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:34370:34)
    at Object.handler (file:///home/sigma/github/qwik-cf-kv/node_modules/vite/dist/node/chunks/dep-4da11a5e.js:45996:19)
    at file:///home/sigma/github/qwik-cf-kv/node_modules/rollup/dist/es/shared/rollup.js:22710:40

Additional Information
No response

Hi @tunnckoCore
Just gave it a spin with the v0.12.0 release of qwik and did the following steps:
pnpm create qwik@latest (selected `basic app` qwik city)
cd qwik-app
pnpm qwik add cloudflare-pages

pnpm  build.server worked as it should 👍
pnpm qwik build preview works as it should 👍
i also have the 2nd mentioned error when adding the netlify-edge adapter which is also mentioned here: https://github.com/BuilderIO/qwik/issues/1393, but works for me with the cloudflare-pages adapter.
do you want to try it on your side as well with the latest version of qwik?

Heya @zanettin
yea, everything seems to work properly now.
Thanks.


feat: section component [ALT-205]

Adds a built-in Section component (full-width component using the same code as the Container component)
Changes the Container component definition to include a default max-width of 1192px
Adds a rootComponent?: boolean prop to the ComponentDefinition type, which is used by the UI to determine which components can be dropped into the canvas root

Here's a short demo video (recorded before I changed the container default max-width from 960px to 1192px)
https://github.com/contentful/experience-builder/assets/8539634/92663997-be80-410e-921e-4b3b50639055

One question, how is the behavior when dropping a container on the root instead of inside a section? Does it center the container on the page without the section still?

Currently when you drop a container into the root it is left aligned.  If you drop a Container into a Section, the Container is centered by default, and the Alignment options on the Section can be used to alter the alignment of the Container.
This one one of the things I'm about to meet with Travis on to discuss solutions.  I'm thinking we may way to auto-wrap Containers in a Section when they are dropped on the root, but probably not in other scenarios.

Great job! I left some code styling nitpick comments, but take them or leave them.

Thanks for the feedback!  I'll try to incorporate many of your suggestions before merging this


rendering errors

I actually seem to be getting a large number of crashes since adding Mekanism to the modpack my group of friends plays on, almost all of them are rendering issues, and are frequently several items or just one item, not rendering properly and causing an instant crash upon failing to render. included are two crash reports of two such instances.
crash-2017-03-24_21.34.35-client.txt
crash-2017-03-24_21.47.08-client.txt
And one involving Tinkers construct, though I have had many
crash-2017-03-24_20.29.13-client.txt
other people do not seem to be having nearly the issues that I do, most of them are only having mild to moderate frame drops. Any assistance that anyone could give would be much appreciated

Known compatibility issue between Mekanism and Tinkers Construct.
See #4260 #4212 #4095
Please use the search function, as it's reported quite a lot.

OptiFine Version: OptiFine_1.10.2_HD_U_D6
Render issues and using Optifine? Try not using Optifine, it causes render issues.


Format variables to camel case instead of snake case

It's not very conventional to throw snake_case in JavaScript. The preferred/conventional method is camelCase. This casing style can be found in places like the GQL Schema and the User component. Of course, there are other areas but I propose changing it. I'll send a PR your way if you'll take it.

@nikgraf any thoughts on this?


Linux -DMM 42BUC03-ML- Missing parameters (Strobe Enable and trigger)

Can you please advise on how to get the strobe enable and trigger parameters to work with the DMM 42BUC03-ML
I hav tried uvcdynctrl -i tisEUVC.xml -d /dev/video0 but parameters are not added.
Also the tcam-uvc-extension-loader seems to fail.
It is not clear in the Wiki which firmware to use for this camera:
In the "Getting Started with USB 2.0 CMOS Cameras" it states the dmk42uc03_3014.euvc and in the "compatibility-list" section it states dmk42uc03_143.euvc
But have tried both in mode UVC with no success to add the parameters.
In issue #309 @TIS-Arne  has a link to a python script, will that work with the DMM 42BUC03-ML camera and firmware?
If not can you advise how to do a similar script for the  DMM 42BUC03-ML camera and for both strobe and trigger parameters.
The OS is Raspberry Pi OS Kernel version 5.4
BR
Jacob Simu

Hello
You may try that script made by Arne.
Also we changed the uvc extension handling. Please use it as shown at to run the uvc extension manually as shown at https://www.theimagingsource.com/documentation/tiscamera/tcam-uvc-extension-loader.html.
Stefan

I will try again with the 0.13.0 release and also Arnes script.
How about the FW in the camera is the dmk42uc03_3014.euv or the dmk42uc03_143.euvc and should the uvc mode or the proprietary mode be used?
The wiki sends mixed messages about this.
BR
Jacob

With version 0.12.0 the tcam-uvc-extension-loader I still do not get it to work:
With fresh installation with the debian package the tcam-uvc-extension loader is called from the /etc/udev/rules.d/80-theimagingsource-cameras.rules, as I parse it, it will run the usb2.json:
I get the following when trying to run it manually:
pi@raspberrypi:~ $ sudo tcam-uvc-extension-loader -f Downloads/tiscamera-v-tiscamera-0.12.0/data/uvc-extensions/usb2.json -v
Error while mapping 'ExtIO': errno: 2 - No such file or directory
Error while mapping 'GainR': errno: 2 - No such file or directory
Error while mapping 'GainG': errno: 2 - No such file or directory
Error while mapping 'GainB': errno: 2 - No such file or directory
Error while mapping 'Trigger': errno: 17 - File exists
Error while mapping 'Trigger Global Reset Shutter': errno: 17 - File exists
Error while mapping 'Software Trigger': errno: 2 - No such file or directory
Error while mapping 'Binning': errno: 17 - File exists
Error while mapping 'Skipping': errno: 2 - No such file or directory
Error while mapping 'X Offset': errno: 17 - File exists
Error while mapping 'Y Offset': errno: 17 - File exists
Error while mapping 'Strobe Enable': errno: 2 - No such file or directory
Error while mapping 'Strobe Polarity': errno: 2 - No such file or directory
With the 0.13.0 tcam-capture does not start up the camera, I will send log next time I test. The tcam-uvc-extension-loader gives same output as in 0.12.0.
The Arne script turn on the strobe but I need also to activate the trigger function and if possible change polarity of strobe.
BR,
Jacob

Hello
You can ignore the error messages, they are shown, because your camera does not have these properties.
For the other things, I must check tomorrow.
Stefan

I just tested a DFK 42BUC03 with tiscamera 0.13.0 and firmware 3014 (dfk42uc03_3014.euvc). The camera shows trigger and software trigger on my system.

So it should do on your computer too.
Stefan

It works the same for the DMK 42BUC02:

The firmware for the DMM and DMK is the same
Stefan


Feed error indicator

Would be nice to have an indicator in the navigation when one (or more) feeds fail to update, maybe a red exclamation mark next to the "Feeds" link? Never knew I had a dead feed for some time because I only visit the Feeds list to add more feeds.

There is already an indicator. After 3 failures, there is a number next to the feeds menu that indicates the number of failed feeds.

👍 must have missed it.


Format the NetworkPolicy yaml

This looks a little bit nicer :)

/lgtm

@luxas thanks (Gdocs -> MD converter issue)

@idvoretskyi Yep, I know :)


Fix parsing of  quoted schema.table.column references and comments

Proposed Changes
Add support for quoted column references in SELECT statements e.g:
SELECT "username" FROM "users"

Add support for  correlation (see 4.2.1) quoted column references e.g:
SELECT "$Table"."timestamp" FROM "$Table"

and mixed quoted/unquoted column references e.g:
SELECT public."$Table"."timestamp" FROM "$Table"

The change keeps the identifiers as a string thus having quoted schema/table/column names containing dots (.) will most likely give unexpected behavior. But this makes the change non-breaking by keeping the format of identifiers compatible with before i.e schema.table.column as a string.
Also add support for comments, both /* .. */ and -- ....
Types of changes
What types of changes does your code introduce to BinaryDefense.FSharp.Analyzers?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] Build and tests pass locally
[x] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

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

Hi Dag, is this PR ready for merging or are you planning for more modifications? 😉 Just let me know if you want a new release including these changes 😄

Zaid, this should be ready for merging. There will probably be more PRs, but I don't have anything else right now. One thing you can think about is if you want the comments to be part of the AST or skipped for now as with this PR.

Hi @dbrattli I just published a new batch of packages v3.26 that include updates both to the parser and the SDK. The analyzer should work now with Ionide on VS Code (fingers crossed)
These updates also update the target framework to net5.0 (latest) can you check that the package still works for you? if it doesn't work, then I can publish the parser separately targeting netstandard2.0

@Zaid-Ajaj Thanks for publishing! We're currently using a fork of the code to unblock ourselves, but with the goal of keeping the parser in sync and publishing every change back so we can contribute to this great project (e.g #32). When the dust settles we will go back to using this library as a nuget again. I'll try to use it with vscode again. I'll let you know how it goes!

Thanks @dbrattli 🙏
Btw the vs code integration is (still) failing right now, it has something to do with latest vs code changes and I confirmed it with the maintainers of ionide. I will be looking into it shortly


Output of DPT-large

Thank you so much for this great work!
However, when I use DPT-large (invert = False), the output values of the depth estimation range from 20 ~ 30. The range isn't inside the section of [0, 1]. And the values shouldn't represent the absolute distances because the RGB input is an image with objects close to the camera. The farthest object is within 10 meters.
In this case, what's the meaning of the values for the DPT-large depth estimation output? Thank you for your help!

Sorry, I should have been more careful. Actually, the image is further processed here.


Revert "build: add a workaround for CMake[>=3.22] and SourceKit"

This reverts commit 1e5df70d8924ff5f064cbd5009bd50106957380e.
This does not actually impact the build, so revert it to reduce the
complexity in the build.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please smoke test


player slows down when holding down key and walking

eg what key?

the down key or s

ik why
the vector returned by the input system always has a magnitude of 1
eg holding d and s:
your vector is (+x, -y)
x = y = sin(45)
and sin(45) is less than 1
so you move slower
https://github.com/notangoose/The-Nine-Second-Rule/blob/adcc3654fec9d4c9e6437e89e774517023fe9068/Assets/Scripts/PlayerController.cs#L85

fixed in 2bf8f94


Error downloading a playlist from youtube

WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
Linux elementary os freya

Post the full output of youtube-dl when run with --verbose option.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.5 - Linux-3.16.0-38-generic-x86_64-with-debian-jessie-sid
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

valeriu@X550VC:~$ youtube-dl --verbos https://www.youtube.com/watch?v=VHBcS0fYWfc
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbos', u'https://www.youtube.com/watch?v=VHBcS0fYWfc']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.5 - Linux-3.16.0-38-generic-x86_64-with-debian-jessie-sid
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] VHBcS0fYWfc: Downloading webpage
[youtube] VHBcS0fYWfc: Extracting video information
[youtube] VHBcS0fYWfc: Downloading DASH manifest
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[debug] Invoking downloader on u'https://r5---sn-c0q7ln76.googlevideo.com/videoplayback?ip=<IP_ADDRESS>&ipbits=0&fexp=916727%2C919126%2C9405437%2C9405969%2C9406770%2C9407053%2C9407715%2C9407942%2C9407991%2C9408142%2C9408420%2C9408710%2C9412842%2C9412913%2C9413208%2C9413503%2C9415304%2C9415348%2C9415489%2C9415595%2C962731&signature=B2DE5C88308CE88EDF8EC176550C5463DDBD2F97.5292E8072E816AF1FBAA5438A258841949ED3F3E&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&upn=qYuqzUnJjL8&id=o-AJo72-IvF96NexSZmjQrqVjYIpWQ3qorJgSemxE-I0X8&itag=22&initcwndbps=4977500&requiressl=yes&key=yt5&ratebypass=yes&mn=sn-c0q7ln76&mm=31&ms=au&mv=m&mt=1433592801&mime=video%2Fmp4&expire=1433614488&sver=3&dur=247.826&pl=23&source=youtube'
[download] Resuming download at byte 1047552
[download] Destination: Low Deep T - Casablanca (Official Video HD)-VHBcS0fYWfc.mp4
[download]   3.7% of 40.50MiB at 541.79KiB/s ETA 01:13^C
ERROR: Interrupted by user
like this ?

There are no errors. Post the log where you experiencing errors.

I am unable to download playlists
valeriu@X550VC:~$ youtube-dl https://www.youtube.com/watch?v=A3NWOa6K7MI&list=PLV0vJQUYPWFq4LE1TSVANOSEUJ5D_XtGT
[1] 5310
valeriu@X550VC:~$ [youtube] A3NWOa6K7MI: Downloading webpage
[youtube] A3NWOa6K7MI: Extracting video information
[youtube] A3NWOa6K7MI: Downloading DASH manifest
WARNING: Your copy of avconv is outdated and unable to properly mux separate video and audio files, youtube-dl will download single file media. Update avconv to version 10-0 or newer to fix this.
[download] Major Lazer & DJ Snake - Lean On (Feat. MØ) (Jonas Aden Remix)-A3NWOa6K7MI.mp4 has already been downloaded
[download] 100% of 26.81MiB

You have to put the URL into quotes.

Thank you so much for the speedy reply. :)


revert window to 4032 and fix tortose replay test

10000 takes to much time to load, i will have to look for another solution to make sync work in those layers.
and it uncovers some other bug with loading atxs, but it is safe just to revert back.

bors merge


Metrics support

This probably needs some prior research of what people want from metrics anyway. It should have some way to reconfigure backends, send the data to multiple destinations, etc ‒ but some of this can be built if the metrics crate offers the facade pattern.

Spirit currently supports dipstick. Enough for now, unless anyone is willing to invest in supporting yet another library.


v0.5.2

Support the ITN chain.
Re-design network dropdown.
Show account's locked balance in account header.

:tada: This PR is included in version 1.0.0-semantic-release.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use of the SecurityManager

The Worker uses the SecurityManager to prevent System.exit. The SM is deprecated for removal, and will be going away soon.
Previously, we've been punting on this issue by enabling the SM for Java 17+, but this won't continue to work.
The linked JEP contains source for a Java agent, which could be used to block System.exit (see the JEP appendix), but I'm wondering if we'd be better off just removing the SM code and not replacing it?
Do people actually have a lot of code they need to test with rules_scala, which calls System.exit, making it worth trying to block?

The Java rules have the same problem, I think we should follow their lead for how we solve this
https://github.com/bazelbuild/bazel/issues/24354
So for now the solution is probably to avoid using the SM code on Java 24+


Getting an error when running balenafin-ify.sh on Linux raspberrypi 5.10.17-v7+ #1414 SMP Fri Apr 30 13:18:35 BST 2021 armv7l GNU/Linux

bash <(curl -L bash <(curl -L https://raw.githubusercontent.com/balena-os/balenafin-raspbian/master/balenafin-ify.sh))
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2085  100  2085    0     0  11914      0 --:--:-- --:--:-- --:--:-- 11982
[LOG][63] Importing bintray gpg key...
OK
[LOG][63] Adding balenaFin Raspbian repository...
[LOG][63] Installing required packages...
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Err:3 https://dl.bintray.com/balenaos/raspbian buster InRelease
  403  Forbidden [IP: <IP_ADDRESS> 443]
Reading package lists... Done
E: Failed to fetch https://dl.bintray.com/balenaos/raspbian/dists/buster/InRelease  403  Forbidden [IP: <IP_ADDRESS> 443]
E: The repository 'https://dl.bintray.com/balenaos/raspbian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

We are having the same issue using this script on the balena fin. We have noticed that you moved deb repos for etcher as well? Do you have an updated repo we can change in this script?
We are trying to get 10 of these out to a customer asap with updated firmware.

@alexgg can you help us with this issue, seems it should be a quick fix!

hi @batesenergy unfortunately it's not only the package provider that needs moving. Newer Raspbian are based on a v5.10 kernel and we have yet to update the balenaFin wireless driver to support it. I will ask our customer success team to contact you see if there is something we can do in the meantime.

@alexgg We do not use the wireless currently, is there a work around in the meantime without it?

which the latest raspberian that will work with this script so we use that one in the meanwhile?

hi @krasi-georgiev give me a couple of days to check what options we have internally

HI @krasi-georgiev, I have pushed a branch with the update to Buster (https://github.com/balena-os/balenafin-raspbian/tree/alexgg/sd8887-nxp). Unfortunately the WiFi is not fully functional yet, and it hasn't been tested so we won't be releasing this. You can test with the branch and test yourselves. I don't expect other problems apart from the WiFi but Balena won't be supporting this until it passes our validation tests.

@alexgg did you delete the branch? I was just about to test it.

aah I see you merged it. Just run it and all looks good. Will report in the next few days if anything else besides wifi doesn't work.


README: add coverage badge

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7cf8eb8). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8465   +/-   ##
=========================================
  Coverage          ?   77.01%
=========================================
  Files             ?      354
  Lines             ?    28409
  Branches          ?        0
=========================================
  Hits              ?    21878
  Misses            ?     4981
  Partials          ?     1550

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 7cf8eb8...d31c442. Read the comment docs.


Because we do a shallow clone, the CI branch returns an error

Example: https://github.com/getsentry/sentry/actions/runs/6165667268/job/16733858869?pr=56114

adding codeowners

https://github.com/getsentry/sentry/pull/56136


add parm for write line terminator and rename read line terminator parm

fixes #5
added
writeDelimiter
renamed
delimiter to readDelimiter

Looks good, lgtm : )


Migration article VPC peering - AWS, GCP & Azure

What changed, and why it matters
Resolves https://github.com/aiven/devportal/issues/796 and all three sub-tasks
This PR brings Using VPC Peering and Azure VPC Peering articles to DevPortal.
Important notes to the reviewer:

The reader will be able to follow the instructions without the screenshots. Based on the contribution policy around screenshots, I didn't include any. If you feel that one or more screenshot is required for ease of understanding, please let me know.
I have validated the steps for GCP VPC peering. I suggest to have one or more SA validate the VPC peering for AWS and Azure. It's faster if someone has the access and setup already.
Since the changes are related and cross-referenced, I didn't break down into smaller PRs. The VPC and cloud-specific peering articles should go live at the same time.
Please update the relevant migration spreadsheets after merging this PR. If unsure, please let me know and I'll take care of that step.

I'm working on fixing the Vale warnings now. Another commit will follow in a few hours. Marking the PR draft till then.

Hi @laysauchoa adding you as a reviewer per your request. You can either review this PR partially for what Issue #1106 covers OR you can review the whole PR :)
Do you have access to an Azure account? Then you could validate the Azure part of the article as well.
This is still in draft so you'll get a notification once the PR is ready to be reviewed. Thank you.

Hi Dewan, thank you for your nice contribution. Would be possible to split this in three PRs? I think it makes easier for others to review and they can be reviewed independent. I'll only be able to review the AWS article due to time, so please, feel free to add others that can assist you with this review.

Thanks @laysauchoa for kindly offering to review the AWS part of the PR. Due to the cross-links among these PRs and the time crunch, I propose to use this single PR for these VPC-related articles (this is an exception).
I tested the GCP part of the article. If you test the AWS part, I'll request help from SA colleagues to have the Azure part reviewed. Thanks again.

Hi @vietnguyen-aiven I added a note via https://github.com/aiven/devportal/pull/1310/commits/51b7f7234b982d9cab78152b347d431cc11e965d based on your comment on https://github.com/aiven/devportal/issues/796.

Should we ask the SA team to validate the steps to keep this moving? I personally don't have the access to all the clouds to do it.

I recently got access to Azure so I can test the Azure steps today. I've already verified the GCP steps. I believe @laysauchoa has AWS access. Which cloud do you have access to @ftisiot?

I'm currently blocked with the Azure testing part of this article. Here are the details:

docs/platform/howto/setup-vpc-peering-azure seems very tedious compared to VPC peering steps in other clouds. Are we sure that there are no other easier/shorter ways? Here is my understanding/expectation of the flow:
---There is an Aiven network on the given cloud. We go to VPC --> VPC Peering connections from the Aiven console and add the Azure Subscription ID, Resource group, Network name, Active Directory tenant ID, and Application Object ID to request the peering connection. The first four parameters should already be known and we can create an Azure Application to get the Object ID. Once the peering connection is request, one can approve from the Azure console or CLI for the peering connection to be successful.--- Is the actual process different which requires all the steps mentioned in the help article?
For az ad sp create --id 55f300d4-fc50-4c5e-9222-e90a6e2187fb step, is this static ID? Using this command is getting me an error:

When using this permission, the backing application of the service principal being created must in the local tenant

For az ad app create --display-name "<name of your choosing>" --available-to-other-tenants --key-type Password command, --available-to-other-tenants flag is not a valid flag per https://docs.microsoft.com/en-us/cli/azure/ad/app?view=azure-cli-latest#az-ad-app-create

I'm looking for some help validating the Azure VPC peering part of this article.

Hi @laysauchoa @ftisiot since I'm blocked on the Azure part of this PR, I've divided this PR into four parts (Laysa already suggested this 🙂 ). You can review the current PR for general VPC creation and I'll raise subsequent PRs for AWS and GCP. Once I get some help with Azure, I'll raise Azure VPC peering PR. Thanks.

Dewan, I reviewed the article and test it out. All looks good!!!
About the article structure, the title is about "Create VPC" but there is more content on this article than that like "Deploy new services to a VPC", "Migrate a public service to a VPC", "Accessing VPC services from the public internet", "Security"...
I wonder if one of the following would improve the article structure: HowTo > "Manage Virtual Private Cloud (VPC) peering":

"Create VPC peering"
"Deploy new services to a VPC"
"Migrate a public service to a VPC"
"Accessing VPC services from the public internet"
"Security" maybe can be in the introduction or in some subsection?

When I think about creation of services, I think about deletion. So I was wondering if it would make sense to add some information on that. I see that you can click and delete but what does it happen with the services that are using the VPC after the deletion?
Let me know what you think or what are your ideas about it.

Thanks @laysauchoa for the insightful feedback. I've modified the article title and added a deletion section per your suggestion. I've also removed the security section and added the information within another section.

Should we ask the SAs to validate? I miss the related knowledge

Hi @ftisiot I've verified the steps for this article which is only for the Aiven platform. There will be three follow-up PRs to include cloud-specific VPC peering and we can request an SA to validate those ones.


Fix name for slantedColorbox -> slanted-colorbox in source file.

Example in README doesn't work because of incorrect function name in lib.typ.
Context: I'm writing a package overview for my Typst Examples Book and wanted to write about your package too, but bumped into several issues.

Done with #7


use docker-deployment-action

use docker-deployment-action with docker-compose.yml file.
Blog post mentioning it: https://betterprogramming.pub/docker-deployments-with-github-actions-7e59bb532505

This article looks pretty cool!
Will you try this? Have you done any advancements?

No, this actions doesn't send environment variables to the server.
we just keep using docker-run, or we do semi-manual deployment by logging into the server to deploy with docker-compose there.

Thank you for checking this! I will then delete/archive the branch, as unfortunately this is unfeasible.


Use x-clock on user-menu popover to hide it during initial load

Also, use ms-2 on the admin icon margin
Update html for better git diff and readability, linebreak on each property

Test Steps

[ ] on the initial page load the user-menu doesn't flicker (i.e show up and hides immediately

nice! was just going to write up an issue for this


warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME

i got this when i launched the container...

This is completely fixed by using ES_JAVA_HOME instead of JAVA_HOME
However, this message is only a warning.
The only reason I haven't made a pull request for this is due to untested repercussions

See https://github.com/nshou/elasticsearch-kibana/pull/18 for a fix to this.

@VolckaertAchiel

I'm sorry @VolckaertAchiel I completely overlooked this. And, thank you so much @txj-xyz always for the fix. I'm looking at it now.


(maint) Merge 5.5.x to 6.0.x

Resolve conflict with upstart provider and JRuby

CLA signed by all contributors.


Nested logic apps

Section about nested logic apps needs expanding.
Connector reference is missing description for action used for calling other logic apps.
It would be great if limitations were known,
at this point it's unclear why one logic app can only POST to another logic app, how to pass query params etc.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 8a18a5a6-0630-17aa-a2d1-686e575d7e22
Version Independent ID: 02b19cbb-7ff3-4f3f-06d1-8a0ccb4ad707
Content: Call, trigger, or nest logic apps - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-http-endpoint.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: klam

@karpikpl Thanks for the question. We are looking into this and will get back to you shortly.

I've later learned that some description was provided here: https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-actions-triggers#workflow-action
but I think for having better documentation, it still makes sense to expand on this topic and explicitly state what is and what's not possible for nested logic apps (assuming workflow connector is used)

@karpikpl I believe the main difference between using the workflow connector and a standard HTTP connector is the way the nested workflow is triggered (via ARM vs Workflow Trigger URL) and hence the other differences.
We have assigned this issue to the content author for further review and to update accordingly.

@karpikpl & @PramodValavala-MSFT, thanks for surfacing this gap. I created a work item for our backlog for prioritization.


World

This issue demonstrates the "result" of using encoding: rot13
      - name: coded-clique
        uses: tlylt/coded-clique@main
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          encoding: "rot13"

This issue demonstrates the "result" of using encoding: rot13
      - name: coded-clique
        uses: tlylt/coded-clique@main
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          encoding: "rot13"

Doing some more check!
THIS IS GREAT


NIFI-12099 Repurpose Template icon in top left bar

Summary
NIFI-12099
https://github.com/apache/nifi/assets/1295926/364ef977-26b8-4eaf-ae19-29ed32ef2dc7
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

It looks like the draggable icons are no longer centered in their container, which is more obvious when hovering over an icon.
Before your changes:

After:

reviewing...

This is good and works pretty well. The only improvement I could recommend would be to refresh the current-user after configuring a registry client. As it stands now, we are relying on the background polling of the current-user endpoint to update the current user which is where it is determined if canVersionFlows is true or false. It is this property that determines if we show the No Registry Client available dialog or the Import Version dialog.
If you delete the registry client and then try to drag on a new import before the polling happens, you can be shown import dialog with no registries:

Similarly, if you do the same too soon after configuring a registry client, you can get a stale No Registry Client available dialog even though you have one configured.
Maybe @scottyaslan can provide some more insight into if this is consistent with other areas of the application.

@rfellows good point, now adding or removing a registry client also reloads /current-user


Adding back channel evaluation on app stack

Added the testing of the back channel messages to the integration tests. The test will fail if the UPDATE_COMPLETE message does not arrive or doesn't arrive in time (that is 15 mins) to the back channel.

And now this one.


No instructions for how to load *.csv files into tables.

Following set-up and lesson 1 kata instruction, I couldn't find any instructions on how to load the *.csv files under data folder.
I find ${tableAsStringFieldName} variable in TABLE_A.csv file, so I guessed obevo may support loading them using some command or something.
Please kindly advise.

I've committed a fix to the kata. Please try again.
Background: the CSV files need to be in the /staticdata folder, not /data (see here). /data was the previous convention that we don't want to support for new clients

This worked fine now. Thanks for your prompt action!


Fix empty data table for distinct query

Description
Support building empty data table for distinct query. Currently it will throw exception for distinct queries when all the segments are pruned

Codecov Report

Merging #6363 (47d7295) into master (1beaab5) will decrease coverage by 0.97%.
The diff coverage is 56.80%.

@@            Coverage Diff             @@
##           master    #6363      +/-   ##
==========================================
- Coverage   66.44%   65.47%   -0.98%
==========================================
  Files        1075     1294     +219
  Lines       54773    62481    +7708
  Branches     8168     9077     +909
==========================================
+ Hits        36396    40909    +4513
- Misses      15700    18657    +2957
- Partials     2677     2915     +238

Flag
Coverage Δ

unittests
65.47% <56.80%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...e/pinot/broker/api/resources/PinotBrokerDebug.java
0.00% <0.00%> (-79.32%)
:arrow_down:

...ot/broker/broker/AllowAllAccessControlFactory.java
71.42% <ø> (-28.58%)
:arrow_down:

.../helix/BrokerUserDefinedMessageHandlerFactory.java
33.96% <0.00%> (-32.71%)
:arrow_down:

...ker/routing/instanceselector/InstanceSelector.java
100.00% <ø> (ø)

...ava/org/apache/pinot/client/AbstractResultSet.java
66.66% <0.00%> (+9.52%)
:arrow_up:

.../main/java/org/apache/pinot/client/Connection.java
35.55% <0.00%> (-13.29%)
:arrow_down:

...inot/client/JsonAsyncHttpPinotClientTransport.java
10.90% <0.00%> (-51.10%)
:arrow_down:

...not/common/assignment/InstancePartitionsUtils.java
73.80% <ø> (+0.63%)
:arrow_up:

...common/config/tuner/NoOpTableTableConfigTuner.java
100.00% <ø> (ø)

...ot/common/config/tuner/RealTimeAutoIndexTuner.java
100.00% <ø> (ø)

... and 1143 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 5432099...47d7295. Read the comment docs.


[ast]/[silgen] If a case stmt is a fallthrough source, tail allocate a pointer in the case stmt to the fallthrough case.

The second commit uses this in SILGenPattern in a trivial way to show that everything works.

I am mainly asking for review of the first commit.

@swift-ci smoke test

Since I based the logic on identifying fallthroughs on the logic in SILGenPattern, the actual output from SILGenPattern should be not changed at all so test updates were not needed.

One last comment. I checked for other places that were using CaseStmt::create. This is the only call site AFAIKT that can have a fallthrough. This can be seen since FallthroughStmt are only created in the parser, never in sema.

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test and merge

@swift-ci smoke test and merge

@swift-ci smoke test and merge

I killed the two non smoke test and merge jobs that I triggered.

The linux case failed b/c of 12:19:01     SwiftXCTestFunctionalTests :: Asynchronous/Expectations/main.swift
I need to get around to fixing that.

@swift-ci smoke test linux platform


Support hudi

Support hudi

Hello @melin, thank you for opening an issue. We need some more context for this. Could you expand on the need here?
In particular, is this in the context of the SPark integration or a more wider use case? Providing examples of jobs using Hudi would help. Also let us know if you are interested in contributing in this area.

closing for inactivity


Error in documentation found in CMakeLists.txt (add_library cannot create target "polygon_plugins")

Following documentation tutorial, I encountered an error
https://docs.ros.org/en/humble/Tutorials/Beginner-Client-Libraries/Pluginlib.html#cmake-plugin-declaration
The instructions says:
Add the following block to your ros2_ws/src/polygon_plugins/CMakeLists.txt after the line reading find_package(pluginlib REQUIRED):
It causes errors while building package.
Solution:
After adding:
add_library(polygon_plugins src/polygon_plugins.cpp)
target_include_directories(polygon_plugins PUBLIC
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
  $<INSTALL_INTERFACE:include>)
ament_target_dependencies(
  polygon_plugins
  polygon_base
  pluginlib
)

pluginlib_export_plugin_description_file(polygon_base plugins.xml)

install(
  TARGETS polygon_plugins
  EXPORT export_${PROJECT_NAME}
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib
  RUNTIME DESTINATION bin
)

Delete (this is right after the pasted code):
add_library(polygon_plugins src/polygon_plugins.cpp)
target_compile_features(polygon_plugins PUBLIC c_std_99 cxx_std_17)  # Require C99 and C++17
target_include_directories(polygon_plugins PUBLIC
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
  $<INSTALL_INTERFACE:include>)
ament_target_dependencies(
  polygon_plugins
  "polygon_base"
  "pluginlib"
)

[...]

install(
  TARGETS polygon_plugins
  EXPORT export_${PROJECT_NAME}
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib
  RUNTIME DESTINATION bin
)

Adding:
ament_export_libraries(
  polygon_plugins
)
ament_export_targets(
  export_${PROJECT_NAME}
)

is unnesessary because those lines are already there.
Working code, following tutorial:
cmake_minimum_required(VERSION 3.8)
project(polygon_plugins)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  add_compile_options(-Wall -Wextra -Wpedantic)
endif()

find_package(ament_cmake REQUIRED)
find_package(ament_cmake_ros REQUIRED)
find_package(polygon_base REQUIRED)
find_package(pluginlib REQUIRED)

add_library(polygon_plugins src/polygon_plugins.cpp)
target_include_directories(polygon_plugins PUBLIC
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
  $<INSTALL_INTERFACE:include>)
ament_target_dependencies(
  polygon_plugins
  polygon_base
  pluginlib
)

pluginlib_export_plugin_description_file(polygon_base plugins.xml)

install(
  TARGETS polygon_plugins
  EXPORT export_${PROJECT_NAME}
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib
  RUNTIME DESTINATION bin
)

target_compile_definitions(polygon_plugins PRIVATE "POLYGON_PLUGINS_BUILDING_LIBRARY")

install(
  DIRECTORY include/
  DESTINATION include
)

if(BUILD_TESTING)
  find_package(ament_lint_auto REQUIRED)
  set(ament_cmake_copyright_FOUND TRUE)
  set(ament_cmake_cpplint_FOUND TRUE)
  ament_lint_auto_find_test_dependencies()
endif()

ament_export_include_directories(
  include
)
ament_export_libraries(
  polygon_plugins
)
ament_export_targets(
  export_${PROJECT_NAME}
)

ament_package()

this problem has been addressed by https://github.com/ros2/ros2_documentation/pull/3544

related issue: https://github.com/osrf/ros2_test_cases/issues/986

https://github.com/ros2/ros2_documentation/pull/3586 is for humble backport.

Fixed by #3586, so closing this.  Thank you for the report.


Adding request path authenticator test cases

Test case for request path authenticator.
Test case for IDENTITY-4604.

@lmanohara can you resolve the merge conflicts?

Test case was added with #817. Therefore closing this PR.


[Feature Request] Prefer to use LocalizedStringKey in Settings's SwiftUI interface

Add another overload init method using LocalizedStringKey for title's type in SwiftUI API.
https://github.com/sindresorhus/Settings/blob/b1f022abae4303fdc89f90af3b7d15d723b7886d/Sources/Settings/Section.swift#L91-L96
When a SwiftUI View need some string value which will be rendered on screen and need localization, it is recommended the client pass in a LocalizedStringKey by default instead of a String. (2 init with the same name and probably mark the String one @_disfavoredOverload if needed)
See other library's usage

https://github.com/Kyle-Ye/AcknowKit/blob/f4b73e729fc51d53c2046ad89e3ac78560ea46f8/Sources/AcknowKit/Model/AcknowLibrary.swift#L21-L25

If the author agrees the idea, I'm glad to make such PR.

Sure

Under the hood, Pane just pass the title property to PaneHostingController and then used in NSWindow and NSToolbarItem which only accepts String.
https://github.com/sindresorhus/Settings/blob/b1f022abae4303fdc89f90af3b7d15d723b7886d/Sources/Settings/Pane.swift#L67-L74
But LocalizedStringKey only works in SwiftUI. (It needs to be resolved in SwiftUI.EnvironmentValues under the hood internally)
And once you get a LocalizedStringKey by StringLiteral, you can't get back the original string. So we can't do the following code as a fallback solution.
public init(
	identifier: PaneIdentifier,
	title: LocalizedStringKye,
	toolbarIcon: NSImage,
	contentView: () -> Content
) {
	self.identifier = identifier
	self.title = NSLocalizedString(title.xx, comment: "")
	self.toolbarIcon = toolbarIcon
	self.content = contentView()
}

So I'll just close the issue now until we have some SwiftUI View to consume the title property in the future.


Fix updatecli: v0.36.0 and track Maven, agent version and JDKs when needed

Resolved by https://github.com/jenkins-infra/docker-inbound-agents/pull/67


Clarify Spec regarding default behavior for Position.line containing an out-of-range value

As far as I can tell, the behavior described here is not explicitly defined in the LSP specification.
Could you either clarify this in the specification by explictly mentioning it, or otherwise note that this is only a property of this particular implementation?

Actually that is on purpose. It is only a property of this particular implementation.

BTW: LSP has no specification for text documents.


Installer type 'msi-in-zip'

Description of the new feature / enhancement
While it is quite a huge feature request to completely support zip #140 as installer, there are quite a few projects that deliver their existing 'msi installers in a zip file.
One good reason for this, is that .msi files that are not signed create huge warnings when directly installed from Chome/Edge browsers.
This would immediately support a few quite popular packages like Paint.Net without the huge implementation requirements of #140.
Proposed technical implementation details
The tools to detect the installer type could just check if the file is a zipfile containing just a single '.msi' file.
At a later point there could be some more advanced filters to some other files like a readme or changelog in the same zip file. But for the first version I would recommend a very simple version.
This issue avoids the pitfalls from #140, as the zip can just be extracted to temporary storage and deleted after the install.

This is already going to be part of the implementation for Zip, and will be considered as part of #140
There are a few main use cases which will be considered

Zip file with single installer - This is the exact situation you described, except that winget will not only support MSI but also EXE files
Zip file with binary - This is the case where a zip file contains a portable app. Portable apps are not supported by the client yet, but the work is in the preview build to be able to install standalone binaries

Take a look at #1242 for how the proposal for Zip may look

@rhuijben the comments made by @Trenly are correct. The scope of .zip is likely to expand, but our initial implementation will be a .zip file containing one of our currently supported existing installer types.
Duplicate of #140


update build.gradle

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

I solved it https://github.com/TokenScript/attestation/commit/2b7b99fee908d858c24639180309084b7de8ff08


Repo Setup

@dcrousso take a look at README.md and CONRIBUTING.md and let me know what you think. Also, just realized that web5-browser-wallet may make more sense than web5-wallet-browser. the latter made me feel like i was browsing wallets, but may have been staring at it for too long. lmk what you think through!

browser-wallet makes more sense yes, as it is a wallet for a browser, not a browser for a wallet.


test fails without any useful info

In undici, we frequently get tests failing in the ci that don't provide any info on how to fix or why the test was failed. For example https://github.com/KhafraDev/undici/actions/runs/4814119852/jobs/8571456976#step:14:13217

My best guess is something is being ref'd somewhere or some handle isn't getting closed, but since this only happens in the ci it's hard to debug. Is there an easy way to debug these issues or get more useful info about what's causing it to fail?

Hm, the problem seems to be that it's happening on Windows, where SIGTERM is fatal and uncatchable.
What it's supposed to be doing is, whenever the test process receives a SIGTERM, dump information about any outstanding handles and refs: https://github.com/tapjs/libtap/blob/main/lib/tap.js#L178-L255
But on Windows, SIGTERM is effectively the same as SIGKILL, so nothing gets printed.  We need to use a different signal as the "timeout, dump handle info and fail asap" signal.

Hm, looking into this, SIGALRM is the one we probably should be using, since it literally means "A real-time timer has expired", and the default behavior is to terminate the process.
But alas, not supported on Windows.

Ok, so it turns out that all signal handling on Windows is just simulated and effectively an uncatchable shutdown with status code 1 for the three cases that it does support (SIGINT, SIGTERM, and SIGKILL).
So I think the only way to get the same kind of "report handles and forcefully exit" on Windows would be to spawn with an IPC channel and process.send() a termination signal.  Of course, that can be rather tricky to get right, especially if the test is using IPC for some other purpose.
Since the next version of node-tap is taking up more and more of my attention, I'm not particularly eager to dive into adding brand new semantic elements to work around shortcomings in the soon-to-be-old version of tap.  But I'm down to review a PR if you feel like digging into it.
The timeout signal handling logic is in libtap here: https://github.com/tapjs/libtap/blob/main/lib/tap.js#L178-L255
The signal gets sent in the timeout method of the Spawn class, here: https://github.com/tapjs/libtap/blob/main/lib/spawn.js#L143-L155
I am not sure why I used SIGTERM rather than the more semantically appropriate SIGALRM.  If the goal was to catch a user getting impatient and hitting ^C then it should've been SIGINT. Probably just assuming that because it "worked" on Windows, it meant that it was supported the same way on both platforms.
So, I'd recommend the following:

On Windows, always spawn() with an IPC channel.  When in Spawn.timeout, send a shutdown signal.
On Windows, listen to process.on('message') rather than process.on('SIGTERM') for the timeout signal.

I'd suggest using SIGALRM rather than SIGTERM, but probably better to reduce the impact on the stable codebase. I'll update it to use SIGALRM on the new tap.
And, actually, moving forward in the new version, it'd probably be good for any spawned child process to open an IPC channel with the parent process. That would be a nice way to send timeout information back up to the parent, so that t.timeout(60000) can tell the parent, as it's always confusing that that doesn't let a test go for longer than the max set in the config or cli.

FWIW it also seems to be happening on ubuntu - https://github.com/nodejs/undici/actions/runs/4877562393/jobs/8702312810?pr=2108#step:14:10571
I'll take a look at some point to implement your suggestions, but no promises 😄

Yeah, using process IPC channels in this way has a bunch of gotchas.  Seems to be working on nextgen tapjs, but I obviously haven't really put that through its paces yet.

Yeah, that is weird, but at least it's noting that it exited with SIGTERM now, instead of just code: 1.
This could be a clue?  Doesn't fix the tap issue, but might be a hint as to why it's timing out in the first place:

FakeTimers: clearTimeout was invoked to clear a native timer instead of one created by this library.
To automatically clean-up native timers, use shouldClearNativeTimers.

Idk if that's expected, though.  But maybe a native timer is left dangling, in a way that tap doesn't know how to report?  (Or possibly something changed in process._getActiveHandles() and/or _getActiveRefs(), which wouldn't be too surprising, since those are not really officially supported APIs anyway.)

Update on this:
Next major of tap will signal timeouts using IPC messages (and then if that fails, SIGALRM on Posix rather than SIGINT, which was always the semantically correct signal for such a thing, but still SIGKILL on Windows, because what can ya do? 🤷 Unix signals are a unix thing, after all.)
Also, if a test subprocess exits with a signal, it's properly treated as a failure, and reported with a red ❌ SIGALRM in the top level output which is pretty nice. But again, not on Windows, because signal exits are just normal exits there.

npm i tap@pre to get it.


some confusion about jvp

When I pass jvp or torch.autograd.functional.jvp with multiple inputs and vectors, is the result equal to sum of the jvp with respect to each input (with other inputs considered constant) and the corresponding vector?

@zou3519 Thanks, that is what I want.


The content is missing...

I'd found that the blogs are not their in website. I'm a technical writer and knows the importance of content writing for website engagement. I can write meaningful blogs for website and update them in section.
Also, you can suggest some topics, I'm planning to write on web3, metaverse, ai and human relationships and much more...
Can you please assign this issue to me..
GSSOC 2023 :)

Hi, @ombhojane  you may work on this and please refer to the Contribution guidelines on the readme once.
All the best! Please mention issue no while raising the pr.

thankyou!! for assigning this issue, I'm working on this with my best

Closing this because of no response or pr from your side.


Tessera MySQL auto create not creating all the required tessera tables.

Originally created tessera node on kubernetes cluster with image version: 21.7.2. Updated deployment to image version 21.10.0. Still same. Following error when tessera connects to mysql db with auto-create set to true:
2021-12-08 06:09:55.641 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2021-12-08 06:09:55.937 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2021-12-08 06:09:56.156 [main] INFO eclipselink.logging.all - EclipseLink, version: Eclipse Persistence Services - 3.0.2.v202107160933
2021-12-08 06:09:56.250 [main] WARN eclipselink.logging.ddl - Removing UNIQUE constraint definition from [ENCRYPTED_TRANSACTION.HASH] because it is also a primary key.
2021-12-08 06:09:56.265 [main] WARN eclipselink.logging.all - Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.2.v202107160933): org.eclipse.persistence.exceptions.DatabaseExceptionInternal Exception: java.sql.SQLSyntaxErrorException: BLOB/TEXT column 'HASH' used in key specification without a key lengthError Code: 1170Call: CREATE TABLE ENCRYPTED_TRANSACTION (ENCODED_PAYLOAD LONGBLOB NOT NULL, TIMESTAMP BIGINT, HASH LONGBLOB NOT NULL, PRIMARY KEY (HASH))Query: DataModifyQuery(sql="CREATE TABLE ENCRYPTED_TRANSACTION (ENCODED_PAYLOAD LONGBLOB NOT NULL, TIMESTAMP BIGINT, HASH LONGBLOB NOT NULL, PRIMARY KEY (HASH))")
2021-12-08 06:09:56.271 [main] WARN eclipselink.logging.ddl - Removing UNIQUE constraint definition from [ENCRYPTED_RAW_TRANSACTION.HASH] because it is also a primary key.
2021-12-08 06:09:56.280 [main] WARN eclipselink.logging.all - Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.2.v202107160933): org.eclipse.persistence.exceptions.DatabaseExceptionInternal Exception: java.sql.SQLSyntaxErrorException: BLOB/TEXT column 'HASH' used in key specification without a key lengthError Code: 1170Call: CREATE TABLE ENCRYPTED_RAW_TRANSACTION (ENCRYPTED_KEY LONGBLOB NOT NULL, ENCRYPTED_PAYLOAD LONGBLOB NOT NULL, NONCE LONGBLOB NOT NULL, SENDER LONGBLOB NOT NULL, TIMESTAMP BIGINT, HASH LONGBLOB NOT NULL, PRIMARY KEY (HASH))Query: DataModifyQuery(sql="CREATE TABLE ENCRYPTED_RAW_TRANSACTION (ENCRYPTED_KEY LONGBLOB NOT NULL, ENCRYPTED_PAYLOAD LONGBLOB NOT NULL, NONCE LONGBLOB NOT NULL, SENDER LONGBLOB NOT NULL, TIMESTAMP BIGINT, HASH LONGBLOB NOT NULL, PRIMARY KEY (HASH))")
2021-12-08 06:09:56.296 [main] WARN eclipselink.logging.all - Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.2.v202107160933): org.eclipse.persistence.exceptions.DatabaseExceptionInternal Exception: java.sql.SQLSyntaxErrorException: BLOB/TEXT column 'ID' used in key specification without a key lengthError Code: 1170Call: CREATE TABLE PRIVACY_GROUP (ID LONGBLOB NOT NULL, DATA LONGBLOB NOT NULL, LOOKUP_ID LONGBLOB, TIMESTAMP BIGINT, PRIMARY KEY (ID))Query: DataModifyQuery(sql="CREATE TABLE PRIVACY_GROUP (ID LONGBLOB NOT NULL, DATA LONGBLOB NOT NULL, LOOKUP_ID LONGBLOB, TIMESTAMP BIGINT, PRIMARY KEY (ID))")
2021-12-08 06:09:56.330 [main] INFO eclipselink.logging.all - EclipseLink, version: Eclipse Persistence Services - 3.0.2.v202107160933
2021-12-08 06:09:58.879 [main] WARN eclipselink.logging.all - Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.2.v202107160933): org.eclipse.persistence.exceptions.DatabaseExceptionInternal Exception: java.sql.SQLSyntaxErrorException: Table 'testdb.encrypted_raw_transaction' doesn't existError Code: 1146Call: SELECT COUNT(TIMESTAMP) FROM ENCRYPTED_RAW_TRANSACTIONQuery: ReportQuery(name="EncryptedRawTransaction.Upcheck" referenceClass=EncryptedRawTransaction sql="SELECT COUNT(TIMESTAMP) FROM ENCRYPTED_RAW_TRANSACTION")
2021-12-08 06:09:58.879 [main] WARN c.q.t.data.EntityManagerTemplate - JPA exception thrown during execution Exception [EclipseLink-4002] (Eclipse Persistence Services - 3.0.2.v202107160933): org.eclipse.persistence.exceptions.DatabaseExceptionInternal Exception: java.sql.SQLSyntaxErrorException: Table 'testdb.encrypted_raw_transaction' doesn't existError Code: 1146Call: SELECT COUNT(TIMESTAMP) FROM ENCRYPTED_RAW_TRANSACTIONQuery: ReportQuery(name="EncryptedRawTransaction.Upcheck" referenceClass=EncryptedRawTransaction sql="SELECT COUNT(TIMESTAMP) FROM ENCRYPTED_RAW_TRANSACTION")
ERROR: Cause is The database has not been setup correctly. Please ensure transaction tables are present and correct
https://github.com/ConsenSys/tessera/tree/master/ddls/create-table
above has the correct ddl that should be executed, but the tessera error indicates an incorrect, different ddl statement. This is despite updating the image of the tessera container to version 21.10.0

Hi,
For databases that are not Tessera's default option (H2), our recommendation is to use the DDLs provided to create the tables upfront to ensure they are present and correct before starting Tessera.


Question about Training

Dear Authors,
Thanks for this great project.
I got a question about training,
I can see this part only produces one work for inference, why are we not using auto-regressive here?
Also, I wondered how we should test the throughput like tokens per second.
Best
Chao

The repo show how to test the throughput.
This project is now just used for the train, the inference's implementation will be added later(the main branch's inference just for test).

Thanks for replying to me.
Yes, I understand the patch.
I just got confused by the feed-forward part in the tuning session,
aren't we supposed to do auto-regression in the feed-forward parts?

Do you mean why there is only use the output to train, not like the inference produces token by token and calc the MSELoss?

Yes,
I was thinking aren't we supposed to first generate a series of outputs and then use the output tokens to compare with the ground truth label?
Like: "ML is Fun" as input, Out put is "ML is Fun topic to work on" which add 4 words(maybe 12 tokens)
Then the ground truth is "ML is Fun topic indeed"
Then we compare these two.

I think sequence classification/regression does this, if we just train for chat, cross-entropy loss maybe better.
If your input is "ML is Fun topic indeed.", the output will contain all predict, "ML xx", "ML is xx", "ML is Fun xx"
But we can add the classification/regression features later if needed.

since no comments, i would like to close this one.


Update LIMS server root url

@kunallillaney: not sure which branch to put this on, totally thought we did this ages ago but I guess not(?)
Anyhow, http://lims.neurodata.io/metadata/ocp/get/kasthuri11 is the correct URL structure. This looks like it should check out. let me know which branch to PR this into.

@j6k4m8 Okay. I will fix it. What is the url to post it?

Found it and fixed it.


Create bestbuy_RX6800XT

Thanks!

Hi Eric,
Really neat project for the pi!
Question, I am a bit of a novice with Github, I have no idea if I created
the config file correctly or not, I did successfully run all of the configs
you had on your repository already, thank you! But for my own education,
are there any steps/tips for creating the config files?
Thanks for everything you did on this, awesome tool!
-Aaron
On Fri, Dec 4, 2020 at 4:05 PM Eric Marti<EMAIL_ADDRESS>wrote:

Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EricJMarti/inventory-hunter/pull/62#issuecomment-739048456,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF2PJXOGCMLAGBSJXI2LXODSTFMLVANCNFSM4UN3LH6Q
.


Superset deployment for production with docker

I had clone and configure superset locally but I can't see any instructions how to deploy it using docker for production environment.
Just looking for basic instructions and best practices!
Appreciate your support and thanks a lot.

For any questions, please use the 'Discussions' section and close this issue.

Okay, Thanks a lot.

move this issue to the Discussion


youtube-dl: 2<IP_ADDRESS> -> 2019.09.28

Motivation for this change
Update youtube-dl to the latest release.

https://github.com/ytdl-org/youtube-dl/releases/tag/2019.09.28

Things done

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

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

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

Notify maintainers
cc @bluescreen303 @phreedom @AndersonTorres @fuuzetsu @fpletz @enzime

Backported in

19.09 277ec480098ac52a609d1aa36298dfc084f0e91b
19.03 6420e2649fa9e267481fb78e602022dab9d1dcd1


[SPARK-12543] [SPARK-4226] [SQL] [WIP] Subquery in expression

This PR brings subquery for expression (use subquery as an expression inside SELECT/WHERE/HAVING), for example:
  select (select 1) as a
  select * from t where a = (select max(b) from t2)
  select * from t where exists (select * from t2 where t2.b = t.b)
  select max(a) as ma from t having ma = (select max(b) from t2)

A subquery could be uncorrelated or correlated, it could be scalar subquery (returns single row and single column) or not (returns multiple rows, for EXISTS or IN).
A correlated subquery or uncorrelated subquery that returns multiple rows will be rewritten as JOIN. Scalar subquery will be executed separately, result will be filled into the expression.
Restrictions:

EXISTS/ NOT EXISTS/IN/NOT IN can only be used as top level condition of WHERE/HAVING, can't be used in OR or others.

a NOT IN subquery is not supported, if subquery is nullable, which requires a null-aware semi join.

Correlated subquery can only be used inside WHERE/HAVING, uncorrelated scalar subquery could be used anywhere.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49168/
Test FAILed.

Test build #49172 has started for PR 10706 at commit 7ae30e1.

Test build #49172 has finished for PR 10706 at commit 7ae30e1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49172/
Test FAILed.

Test build #2367 has started for PR 10706 at commit 7ae30e1.

Test build #2367 has finished for PR 10706 at commit 7ae30e1.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #49232 has started for PR 10706 at commit 2d88bb3.

Test build #49232 has finished for PR 10706 at commit 2d88bb3.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49232/
Test FAILed.

Test build #49247 has started for PR 10706 at commit cd14e20.

Test build #49247 has finished for PR 10706 at commit cd14e20.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class PageView(val url: String, val status: Int, val zipCode: Int, val userID: Int)
class FlumeEventServer(receiver: FlumeReceiver) extends AvroSourceProtocol
class UnsafeCartesianRDD(left: RDD[UnsafeRow], right: RDD[UnsafeRow], numFieldsOfRight: Int)
case class JdbcType(databaseTypeDefinition: String, jdbcNullType: Int)
class ObjectInputStreamWithLoader(_inputStream: InputStream, loader: ClassLoader)
class ConstantInputDStream[T: ClassTag](_ssc: StreamingContext, rdd: RDD[T])
abstract class InputDStream[T: ClassTag] (_ssc: StreamingContext)
abstract class ReceiverInputDStream[T: ClassTag](_ssc: StreamingContext)

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49247/
Test FAILed.

Merged build finished. Test FAILed.

Test build #2374 has started for PR 10706 at commit aa33df0.

Test build #49302 has started for PR 10706 at commit aa33df0.

Test build #2374 has finished for PR 10706 at commit aa33df0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class PageView(val url: String, val status: Int, val zipCode: Int, val userID: Int)
class FlumeEventServer(receiver: FlumeReceiver) extends AvroSourceProtocol
class UnsafeCartesianRDD(left: RDD[UnsafeRow], right: RDD[UnsafeRow], numFieldsOfRight: Int)
case class JdbcType(databaseTypeDefinition: String, jdbcNullType: Int)
class ObjectInputStreamWithLoader(_inputStream: InputStream, loader: ClassLoader)
class ConstantInputDStream[T: ClassTag](_ssc: StreamingContext, rdd: RDD[T])
abstract class InputDStream[T: ClassTag] (_ssc: StreamingContext)
abstract class ReceiverInputDStream[T: ClassTag](_ssc: StreamingContext)

Test build #49302 has finished for PR 10706 at commit aa33df0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class PageView(val url: String, val status: Int, val zipCode: Int, val userID: Int)
class FlumeEventServer(receiver: FlumeReceiver) extends AvroSourceProtocol
class UnsafeCartesianRDD(left: RDD[UnsafeRow], right: RDD[UnsafeRow], numFieldsOfRight: Int)
case class JdbcType(databaseTypeDefinition: String, jdbcNullType: Int)
class ObjectInputStreamWithLoader(_inputStream: InputStream, loader: ClassLoader)
class ConstantInputDStream[T: ClassTag](_ssc: StreamingContext, rdd: RDD[T])
abstract class InputDStream[T: ClassTag] (_ssc: StreamingContext)
abstract class ReceiverInputDStream[T: ClassTag](_ssc: StreamingContext)

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49302/
Test FAILed.

Test build #49306 has started for PR 10706 at commit d1feebd.

Test build #49306 has finished for PR 10706 at commit d1feebd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49306/
Test PASSed.

@chenghao-intel Since you also worked on this topic, could you take a look a this?
It's good to turn on those Hive compatibility tests, but I'm stucked by how to generated the golden results.  I tried to pull in yours in #9055, but unfortunately some of those queries are not in good state (missing spaces?).

Yes, I can build a PR against your branch. :), but for anti join, I have another PR #10563, some of my concerns are being discussed, one key issue is about the null join key, I think we probably need to filter out the null in predicate expression, and it will be great if we can figure out that issue first.

@chenghao-intel This PR does not have a null-aware anti join, it will fail some query when analyzing, we could add that later.

@hvanhovell Can you help to look at this one? I'd like to split this out as small PRs, hopefully we can merge part of them into 2.0.

@davies sure, no problem.

Test build #51206 has started for PR 10706 at commit a3fccab.

Test build #51206 has finished for PR 10706 at commit a3fccab.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class KMeansModel(JavaModel, MLWritable, MLReadable):
class KMeans(JavaEstimator, HasFeaturesCol, HasPredictionCol, HasMaxIter, HasTol, HasSeed,
class BisectingKMeansModel(JavaModel):
class BisectingKMeans(JavaEstimator, HasFeaturesCol, HasPredictionCol, HasMaxIter, HasSeed):
class ALS(JavaEstimator, HasCheckpointInterval, HasMaxIter, HasPredictionCol, HasRegParam, HasSeed,
class ALSModel(JavaModel, MLWritable, MLReadable):

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51206/
Test FAILed.

Merged build finished. Test FAILed.

Can we close this first, and create a new one when we get to correlated subqueries?

I'd like to keep this open so I can easily find this branch.

Spark 1.5 does not support subquery.

Thanks.

Hi Davies,
Could you please shed more light on the status of correlated but non-scalar subquery in Spark 2.0 release. Appreciate if you can summarize any other restrictions, if any.
Query:
Select
runon as runon,
case
when key in (Select key from sqltesttable where group = 'vowels') then 'vowels'
else 'consonants'
end as group,
key as key,
someint as someint
from sqltesttable;
Error:
Error in SQL statement: AnalysisException: Predicate sub-queries can only be used in a Filter: Project [runon#4031 AS runon#4026,CASE WHEN predicate-subquery#4027 [(key#4033 = key#4037)] THEN vowels ELSE consonants END AS group#4028,key#4033 AS key#4029,someint#4034 AS someint#4030]
:  +- SubqueryAlias predicate-subquery#4027 [(key#4033 = key#4037)]
:     +- Project [key#4037]
:        +- Filter (group#4036 = vowels)
:           +- MetastoreRelation default, sqltesttable, None
+- MetastoreRelation default, sqltesttable, None
;

predicate subquery (IN, EXISTS) in SELECT is not supported in 2.0, only supported in WHERE/HAVING.

Thank you ! Any alternative options to use instead of predicate subquery ?
Is it in plan for amendment in 2.0?
Select
runon as runon,
case
when key in (Select key from sqltesttable where group = 'vowels') then 'vowels'
else 'consonants'
end as group,
key as key,
someint as someint
from sqltesttable;

@kamalcoursera you could use a predicate scalar subquery here, i.e.:
select   runon as runon
         case
          when (select max(true) from sqltesttable b where b.key = a.key and group = 'vowels') then 'vowels'
          else 'consonants'
         end as group,
         key as key,
         someint as someint
from     sqltesttable a;