How to position ?

Hi, thank you for making this awesome package super cool, but, animation does not get pushed with text , or even if i try to place or align the particle animation, it remains at the start of the screen all the time. Here is what i tried :
Align(
    alignment: Alignment.centerRight,
    child: SpoilerTextWidget(
      enable: true,
      maxParticleSize: 1.5,
      particleDensity: .4,
      speedOfParticles: 0.3,
      fadeRadius: 1,
      fadeAnimation: false,
      selection: TextSelection(baseOffset: 0, extentOffset: 14),
      text: 'Upgrade to PRO',
      style: TextStyle(),
    ),
  ),

const Row(
  children: [
    Text("Test"),
    Gap(Spacings.xs),
    SpoilerTextWidget(
      enable: true,
      maxParticleSize: 1.5,
      particleDensity: .4,
      speedOfParticles: 0.3,
      fadeRadius: 1,
      fadeAnimation: false,
      selection: TextSelection(baseOffset: 0, extentOffset: 14),
      text: 'Upgrade to PRO',
      style: TextStyle(),
    ),
  ],
),

const Row(
  children: [
    Expanded(child: Text("test")),
    SpoilerTextWidget(
      enable: true,
      maxParticleSize: 1.5,
      particleDensity: .4,
      speedOfParticles: 0.3,
      fadeRadius: 1,
      fadeAnimation: false,
      selection: TextSelection(baseOffset: 0, extentOffset: 14),
      text: 'Upgrade to PRO',
      style: TextStyle(),
    ),
  ],
  ),

const Row(
  children: [
    Text("NIN"),
    Spacer(),
    SpoilerTextWidget(
      enable: true,
      maxParticleSize: 1.5,
      particleDensity: .4,
      speedOfParticles: 0.3,
      fadeRadius: 1,
      fadeAnimation: false,
      selection: TextSelection(baseOffset: 0, extentOffset: 14),
      text: 'Upgrade to PRO',
      style: TextStyle(),
    ),
  ],
),

But the animation remains in the same spot , is there a way to push it to the right ? thank you

Hello, thanks for using this beautiful package 😺 , it was my mistake, I'll push new version please update to new version. thank you)

understood waiting for the new version


fix typo in btrfs-driver.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @BSWANG !


Referencing the C# Projects instead of the DLL's in the sample project

Referencing the C# Projects instead of the DLL's in the sample project. This makes it easier to debug and extend the sample project.

I had this in my local copy of the repository, but sure does make sense to have it for everyone!


Killed message during the decoding

Hello guys. I am running on low resource CPU machine with 30GB RAM only. I get following error message during the decoding. I assume that the problem is with OOM. Is it possible to define MAX_RAM parameter or something alternative during the decoding.
./main.sh: line 32:  6482 Killed                  python ./pruned_transducer_stateless7/decode.py --epoch $epoch --avg $avg --use-averaged-model 0 --exp-dir ./pruned_transducer_stateless7/exp --feedforward-dims "1024,1024,2048,2048,1024" --max-duration 5 --decoding-method greedy_search

How much actual RAM is available for your decoding process?
30 GB RAM is more than enough for --max-duration=5.

Guys. I have about 28GB of RAM available. But I sent this decoding process on machine with 240GB (on CPU machine only) and I saw that sometimes there is RAM consumption of 60GB.

Which kind of data are you using?
What is the duration of the utterance length?
Are there very long utterances?


Build all dependencies for Windows releases

Remove the mechanism to download (and link against) pre-built dependencies, and add a new mechanism to download the dependencies sources and build them.
Executing ./release.sh builds everything.
Here are 32-bit and 64-bit Windows binaries for the current dev branch:

scrcpy-win32-builtdeps.zip SHA-256: 7e07dd4a24e84988ec582360a92a0e06aa1d32ae5742347da6634d3fe32b18d
scrcpy-win64-builtdeps.zip SHA-256: e66cae74480ca0a90e08fc2c0a1808ce3ce138007ed30d7dcf698707ed41fa9

Please test that it works correctly on your Windows.

Upgrading libusb to 1.0.27 should fix #3654

I changed the directory structure for something more consistent:
work/sources/ : downloaded tarballs and extracted folders
                    ffmpeg-6.1.1.tar.xz
                    ffmpeg-6.1.1/
                    libusb-1.0.27.tar.gz
                    libusb-1.0.27/
                    ...
work/build/   : build dirs for each dependency/version/architecture
                    ffmpeg-6.1.1/win32/
                    ffmpeg-6.1.1/win64/
                    libusb-1.0.27/win32/
                    libusb-1.0.27/win64/
                    ...
work/install/ : install dirs for each architexture
                    win32/bin/
                    win32/include/
                    win32/lib/
                    win32/share/
                    win64/bin/
                    win64/include/
                    win64/lib/
                    win64/share/

That way, a simple rm -rf app/deps/work removes everything.

hi, are you planning to develop a build for windows arm64? I can still use the 64bit version but the transmission is quite delayed

hi, are you planning to develop a build for windows arm64?

Probably not for now. Maybe later when CI is enabled to build all the versions.


Country flag for Austria

At first, this is a really cool card and I love it!
But the country flag for Austria is wrong. It should be red-white-red!
Regards from Austria
Claus-René

Should be the correct flag now. I changed the source of the flags


Automatically mount/copy ICD JSON into GPU enabled containers

As we know, many libraries that facilitate GPU support inside containers are automatically mounted from the host system.  It would be handy if EGL (e.g. 10_nvidia.json) and Vulkan (nvidia_icd.json) ICDs could be automatically mounted/copied(?) as well.
This would eliminate the need for the nvidia vulkan image and the nvidia opengl image from having to copy those in manually AND it would allow the correct version to be set based on what is deployed on the host system.

It would appear that libvulkan.so (and OpenGL equivalent) is a 'userland' library existing 'above' the nvidia specific software / drivers that enable it, as evidenced by it being 'cross-vendor'.  Given that is at least one layer removed from what libnvidia-container is intended to mount (i.e. the low-level software stack that enables these userland libraries), it wouldn't make sense for libnvidia-container to mount it or its supporting ICDs.


Component - Dashboard: Unread Messages

User story
As a user I want to see my unread notifications at the dashboard in order to not forget an important due date or event
Dependencies
Depends on:

#1
#30
#34

UI Mockup

Acceptance Criteria

[ ] All unread messages get displayed from #34
[ ] The unread messages section is highlighted
[ ] Clicking on the section leads one to #30

I noticed that "highlighted" from #34 does not necessarily mean that a message is "unread". This might be important for this issue


HDDS-9214. Remove Reclaimed snapshot status type

What changes were proposed in this pull request?
This PR removes the Reclaimed Snapshot Status Type. The Reclaimed snapshot status is not used what it was intended to use for. Since garbage collection simply deletes the entry after snapshot purge, it's not needed.
This change removes SnaphostStatus.SNAPSHOT_RECLAIMED, its corresponding proto SnapshotStatusProto.SNAPSHOT_RECLAIMED and all their usages.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-9214
How was this patch tested?
The patch was tested by running unit test cases from the corresponding test class TestOmSnapshotInfo

Thanks for working on this @amita-shukla


Restructure the Pipelines docs

I've put my thoughts into a design doc:
https://docs.google.com/document/d/10Jn2Bt-U8YLdCkDKDZgILKNMqPpTw1-ZIPalKn1mwzI/edit?usp=sharing
Related to issue https://github.com/kubeflow/website/issues/506

/assign

Starting work on this now. We've added a few new docs, plus we have feedback in the design doc linked in the first comment on this issue. I'll add a new outline to the design doc then put together a PR for the initial restructuring. We'll tackle this on an iterative basis, updating the structure as we go along to incorporate new content.

/close


Fix

Now shows the temperature in celsius and not in fahrenheit

Hi, @VycktorStark
In this pull request I see only changes in README,  but description says about Now shows the temperature in celsius and not in fahrenheit.
Anyway, I will merge it.
Thanks!

Hello,
The request probably should have gone with some error, because that was not what I did - I have not changed any files beyond app.py. I'll check what happened and as soon as I can,I give push request again.
Excuse!


WIP Explore ways to tell actions they've been registered

This is an exploration for https://github.com/dojo/app/pull/2. It'd be nice if actions can be created statically, without the app factory needing to use factories to create actions that can access the registered stores etc.
Instead the app factory can call register() on any registered actions, passing it an object that the action can query. Still playing with what this means for writing actions though.
(Also did some code refactoring which may or may not be desirable.)

I briefly looked at this (though I will admit I didn't look in detail at the API) but I think what you are getting at is that we need a way for action instances to be loaded and "configured", instead of specifying all of the "configuration" at instance creation, therefore a module could create a singleton and export it as its default for use.
I think you are suggesting "register" as that situation, but I would suggest that maybe "configure" would be a better option... something like this:
interface Action {
  configure(options: ConfigurationOptions): boolean;
}

I don't know if it makes sense for an action to be able to "reject" a configuration (ergo, the boolean return) but if it does, would it also make sense that the rejection would be async (therefore Promise<void> which would either resolve or reject).
That way we could have something like this:
/* in src/actions/myAction.ts */
import createAction from 'dojo-actions/createAction';

const myAction = createAction({ /* creation options */ });

export default myAction;

/* in src/app.ts */
import myAction from './actions/myAction';

myAction.configure({ /* configuration options */ });
myAction.do();

I think what you are getting at is that we need a way for action instances to be loaded and "configured", instead of specifying all of the "configuration" at instance creation, therefore a module could create a singleton and export it as its default for use.

Yes. Mostly because actions need an implementation, and you can't serialize implementations in JSON.
Happy to change to configure().

I don't know if it makes sense for an action to be able to "reject" a configuration

Implicit in the current implementation is that register() can throw. As far as the app factory is concerned it's fine if configure() returns a Promise. I think that should be optional though.

@kitsonk changed to configure().

We should rebase this and I think the issues will go away (hopefully)

[Current coverage][cc-pull] is 100%

Merging [#9][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #9   diff @@
==========================================
  Files             2          2
  Lines            29         38     +9
  Methods           0          1     +1
  Messages          0          0
  Branches          7          8     +1
==========================================
+ Hits             29         38     +9
  Misses            0          0
  Partials          0          0

Powered by Codecov. Last updated by [a7cb2eb...b5b730c][cc-compare]
[cc-base-branch]: https://codecov.io/gh/dojo/actions/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/dojo/actions/compare/a7cb2ebefaaefa0ac8579a006eda3dc2a0c579c6...b5b730c462b22f9e416d80ec04490dc7b17912a7
[cc-pull]: https://codecov.io/gh/dojo/actions/pull/9?src=pr

@kitsonk yay CI passes again!


Return empty result when empty task is passed to Hope.join

Sometimes the tasks array passed to Hope.join could be empty. Currently the promise isn't resolved correctly.
With this fix, the promise is resolved returning and empty error and result array.
The functionality would be the same that you get with other libraries like async.

Thanks for your PR and so sorry for my super/late answer.


About page still links to Google Code

The About page still links to the old Google Code page, should link to github.

Fixed in master and unstable releases after 5.110
See: https://github.com/k9mail/k-9/commit/b7c3e5296bfc2375f0cb913743aae7270ed74d53


Space between dropdown button and Dropdown options in android

I copied example code and tested in iOS and android. Observed space between dropdown button and dropdown options container in android only.
How to remove the space ?

version 0.5.0

As a workaround I set negative marginTop at dropdownStyle property.


Cannot change RadioButton corner radius

Describe the bug
I'm unable to change the RadioButton corner radius
To Reproduce
I tried to change the corner radius both using the RadioButton CornerRadius property and using a style like this
<Style Selector="RadioButton /template/ Border#RootBorder">
  <Setter Property="CornerRadius" Value="0" />
</Style>

With both methods the radio button does not change
Expected behavior
The corner radius should change
Desktop (please complete the following information):

OS: Windows and Linux
Version 0.10.19

<Style Selector="RadioButton">
  <Setter Property="CornerRadius" Value="0" />
</Style>

Sorry, I didn't notice that in the style there was an override of the RadioButton control template...


Makes QueryGraph's edge-explorer cache work for all EdgeFilters, fixes #1623.

QueryGraph caches edge-explorers based on the identity of the EdgeFilters passed into createEdgeExplorer
fixes edge-based CH in combination with edge-explorer cache (by setting explicit filter ids)
deprecates creators of DefaultEdgeFilter using FlagEncoder (and adds new ones taking only access encoded value instead)
replaces PrepEdgeFilter with DefaultEdgeFilter in PrepareRoutingSubnetworks (it did not really do anything different than DefaultEdgeFilter#allEdges).

Most changed files are due to 3), and not sure about this.

good: DefaultEdgeFilter is decoupled from FlagEncoder
bad: it changes a frequently used API and its a bit less comfortable because in most cases we have to pass flagEncoder.getAccessEnc() instead of simply flagEncoder. Also 3) is a bit unrelated to the actual issue #1623.

WDYT ? I can also revert this.

Thanks, this looks good.
Regarding the deprecation: this would be nice if the actual code amount reduces somehow. We would need to get rid of the FlagEncoder usage of the calling side first i.e. instead of encodingManager.getFlagEncoder("xy").getAccessEnc() we would do encodingManager.getEncodedValue("car.access") or something. Probably we should indeed move this into a separate issue as this is more related to reducing the usage of FlagEncoder. I would still provide the new method for better migration, just remove the deprecation?
Furthermore I would remove the acceptsForward&Backwards methods as I cannot find a usage, or do you think this would be too ugly?

to get rid of the FlagEncoder usage of the calling side first

I checked and in many cases this is what changed:
- outEdgeExplorer = graph.createEdgeExplorer(DefaultEdgeFilter.outEdges(flagEncoder));
+ outEdgeExplorer = graph.createEdgeExplorer(DefaultEdgeFilter.outEdges(flagEncoder.getAccessEnc()));

Typically the flagEncoder field of the classes where this happens is not used for anything else and the flagEncoder field could be replaced with a boolean encoded value there already. But I agree this is not the right place to do such refactoring.

Probably we should indeed move this into a separate issue as this is more related to reducing the usage of FlagEncoder. I would still provide the new method for better migration, just remove the deprecation?

Ok yes any further changes should go in a separate issue, but should we keep the changes (like the ones above) or do you want to revert this ? Either way is fine for me. If we keep the changes why not keep the deprecation ? The method taking a flag encoder is no longer used, but I thought it would be easier to adopt downstream when the method is kept and only deprecated. If we change back to .in/outEdges(encoder) everywhere sure we should also remove the @Deprecated annotations.

Furthermore I would remove the acceptsForward&Backwards methods as I cannot find a usage, or do you think this would be too ugly?

Ok.

Typically the flagEncoder field of the classes where this happens is not used for anything else

Yes, exactly. I would either reduce the FlagEncoder usage also on the calling side (new issue) or keep using the old and shorter variant. Still it would be also no problem if you keep it to save time and schedule the changes for later :)

If we keep the changes why not keep the deprecation?

Good question - convinced ;)

Ok I reverted to the old shorter variant and removed the deprecation.

The build failed with
Minutely API limit heavily violated: 300.6 >= 200.0. Find the details at the bottom of the page https://www.graphhopper.com/pricing/

The build failed with

Oh, likely too many tests in parallel (maybe also some misusage). Have increased this limit for now and triggered the build again.


Invalid dependencies or related test packages during Unity Cloud Build

Hi, I am facing some invalid independencies problem when I do the unity cloud build, but no issues for local build.
Error messages :
[Unity]   Package be.khepri.play.assetdelivery.addressables@https://github.com/jelte/be.khepri.play.assetdelivery.addressables.git#1.0.0-rc5 has invalid dependencies or related test packages:
79: [Unity]     com.google.play.assetdelivery (dependency): Package<EMAIL_ADDRESS>cannot be found
80: [Unity]   Package<EMAIL_ADDRESS>has invalid dependencies or related test packages:
81: [Unity]     com.google.play.common (dependency): Package<EMAIL_ADDRESS>cannot be found
82: [Unity]     com.google.play.core (dependency): Package<EMAIL_ADDRESS>cannot be found
83: [Unity]   Package<EMAIL_ADDRESS>has invalid dependencies or related test packages:
84: [Unity]     com.google.android.appbundle (dependency): Package<EMAIL_ADDRESS>cannot be found
85: [Unity]   Package<EMAIL_ADDRESS>has invalid dependencies or related test packages:
86: [Unity]     com.google.android.appbundle (dependency): Package<EMAIL_ADDRESS>cannot be found
87: [Unity] A re-import of the project may be required to fix the issue or a manual modification of /BUILD_PATH/xxxx/Packages/manifest.json file.
Before I import your package, I already had the GooglePlayPlugin in my project and the version is 1.4.0, is it possible to use 1.4.0 version ?

Yes, I've been using 1.4.0 for a while and now using 1.5.0 Google Play Plugin and it is working fine.
I just removed the dependencies from package.json.

Hi, I removed all the dependency from package.json, but still have cloud build error with invalid reference
com.google.play.assetdelivery (dependency): Package<EMAIL_ADDRESS>cannot be found
Is my package.json correct ?? Should I change the version to 1.0.0-rc5 ?
{
"name": "be.khepri.play.assetdelivery.addressables",
"version": "1.0.0-rc5",
"displayName": "Google Play Asset Delivery - Addressables",
"description": "Provide addressables with support for Play Asset Delivery",
"unity": "2018.6",
"author": {
"name": "Jelte Steijaert",
"e-mail"<EMAIL_ADDRESS>},
"publishConfig": {
"registry": "https://npm.pkg.github.com/@jelte"
},
"type": "library",
"hideInEditor": false
}

That's how my package.json looks like:
{
  "name": "be.khepri.play.assetdelivery.addressables",
  "version": "1.0.0-rc4",
  "displayName": "Google Play Asset Delivery - Addressables",
  "description": "Provide addressables with support for Play Asset Delivery",
  "unity": "2018.6",
  "dependencies": {
  },
  "author": {
    "name": "Jelte Steijaert",
    "e-mail"<EMAIL_ADDRESS>  },
  "publishConfig": {
    "registry": "https://npm.pkg.github.com/@jelte"
  },
  "type": "library",
  "hideInEditor": false
}

I don't think that the string in the version field has any influence on anything.
I'm using local build and not cloud build, so not sure exactly what may be going wrong with that, but if I had to guess, you probably haven't updated the file in the right directory, or it's cached somewhere so it's using the wrong version.

That's how my package.json looks like:
{
  "name": "be.khepri.play.assetdelivery.addressables",
  "version": "1.0.0-rc4",
  "displayName": "Google Play Asset Delivery - Addressables",
  "description": "Provide addressables with support for Play Asset Delivery",
  "unity": "2018.6",
  "dependencies": {
  },
  "author": {
    "name": "Jelte Steijaert",
    "e-mail"<EMAIL_ADDRESS>  },
  "publishConfig": {
    "registry": "https://npm.pkg.github.com/@jelte"
  },
  "type": "library",
  "hideInEditor": false
}

I don't think that the string in the version field has any influence on anything.
I'm using local build and not cloud build, so not sure exactly what may be going wrong with that, but if I had to guess, you probably haven't updated the file in the right directory, or it's cached somewhere so it's using the wrong version.

Thanks for reply, I will check on it.
By the way may I know what is your Google Play Packages path ? Are you install to your project's Assets directory or install to your project's Packages directory ?

I fixed this bug

In packages-lock.json (at folder Packages) and package.json (at Library\PackageCache\be.khepri.play.assetdelivery.addressables), remove all item in "dependencies" bellow:
"dependencies": {
"be.khepri.play.assetdelivery.addressables": {
"version": "https://github.com/jelte/be.khepri.play.assetdelivery.addressables.git#1.0.0-rc4",
"depth": 0,
"source": "git",
"dependencies": {},
},

Google removed the entire UPM registry, you now need to install the Google Play AssetDelivery via the UnityPackage from https://github.com/google/play-unity-plugins/releases .
This is fixed in version 1.0.0


DL-180: added script to point to ../../../scripts/runner instead of symlink

@xieliang I fixed this here : https://github.com/apache/incubator-distributedlog/pull/111/files
I need to make sure the assembly plugin can run correctly.


PLANNER-2472 daily native build of optaplanner-quickstarts (#256)

cherry picked from https://github.com/kiegroup/optaplanner-quickstarts/commit/edc101fc0eded2b2d24f963a48ee4b8a7cf2fdf8
JIRA
https://issues.redhat.com/browse/PLANNER-2472
Referenced pull requests

https://github.com/kiegroup/optaplanner-quickstarts/pull/256

How to retest this PR or trigger a specific build:

for a pull request build please add comment: Jenkins retest this
for a full downstream build please add the label run_fdb
for a specific pull request build please add comment: Jenkins (re)run [optaplanner-quickstarts] tests
for a Quarkus LTS check please add comment: Jenkins run LTS
for a specific Quarkus LTS check please add comment: Jenkins (re)run [optaplanner-quickstarts] LTS
for a Native check please add comment: Jenkins run native
for a specific Native LTS check please add comment: Jenkins (re)run [optaplanner-quickstarts] native

@Ginxo Want to resolve Tristan's comment? Let's merge it after!

@Ginxo do we still want to merge this PR or should it be closed?

for now the optaplanner-quickstarts native is done as part optaplanner native nightly. So I doubt it is needed for now.
Also there is an ongoing work to reuse the build-chain in nightlies.

Closing based on @radtriste 's comment. Feel free to reopen the PR if needed.


fix recipes for Ubuntu 16.04 LTS

The upcoming Ubuntu 16.04 is being shipped with Postgres 9.5.
The postgresql::client recipe is now forcing enable_pgdg_apt when version is > 9.3, so it always force using PDDG APT, even if I just want to use the packaged version already installed with Ubuntu 16.04.
In this PR I removed this check, since I think it is too strict and dependent on which debian-flavoured Linux distribution one is using.

thanks, closing in favor of #350


kubewarden-controller: enable codecov

Our unit test should emit information about the code coverage of our codebase. The coverage will then be used by CodeCov.
Acceptance criteria:

Enable CodeCov bot on the repository

Performed evaluation of Codecov.
Docs:

https://docs.codecov.com/docs/github-tutorial
https://docs.codecov.com/docs/common-recipe-list

Codecov works by running the language code coverage tool, and uploading the results to the Codecov SaSS by using their own codecov cli utility. It's free for Open Source repos.
When uploading, one can "flag" different coverage reports to bundle or treat them with different rules. Example: a mature backend that should be well tested and a younger frontend which is allowed to have less tests.
For us, that means separating the unit-tests and integration-tests.
Codecov needs a GH Application enabled for the GH organization, so it can read the repos and write commit statuses and PRs.
Opened https://github.com/kubewarden/kubewarden-controller/pull/631.


For custom dataset (inference only), how to obtain homography data?

Hi, for a customer dataset (inference only), how can I calculate homography, especially if I only have access to the videos themeselves, and not the physical setup of the cameras?

Hi,
Please refer to:
https://github.com/chengche6230/ReST/issues/9#issuecomment-2007662379
https://github.com/chengche6230/ReST/issues/12#issuecomment-2036559752


Missing functionality for clearing video data without releasing

Our app's architecture allows for an ExoPlayer to outlive the scope of a single video. For example, one ExoPlayer might go through the following state changes:
exoPlayer.prepare()
[ start View of some video ]
exoPlayer.setMediaItem([mediaId = 1])
[ play media for 10 seconds ]
[ user clears video; end playback]
exoPlayer.removeMediaItem([mediaId = 1])
[ wait some time ]
[ start new View of same video ]
exoPlayer.setMediaItem([mediaId = 1])

Currently, I don't believe that the Mux stats SDK can properly handle this behavior. If I do nothing, then the first "view" (from the user's perspective) and second "view" are combined into a single View in the MUX dashboard, with a massive pause in between, which is not reflective of the user experience (where there was two distinct playback sessions that occurred). I can call videoChange(CustomerVideoData()) after exoPlayer.removeMediaItem, but I'm not sure if that does what I would expect.
Ideally, I'd be able to call something like muxStats.clearVideo() after exoPlayer.removeMediaItem, which would prevent the Mux stats from being reported during the exoPlayer's downtime.
In a similar vein, we might also use this ExoPlayer instance for non-MUX playback, in which case I'd like to avoid reporting data during that session. From an API standpoint, being able to disable/enable stat collection without calling muxStats.release() would be ideal.
I'm aware that I could release() the Mux Stats after calling removeMediaItem, but that poses a couple of problems. Firstly, it would not be ideal to repeatedly recreate a MuxStats instance for the same ExoPlayer instance, and secondly, your documentation states that the MuxStats instance needs to be created prior to calling prepare() on the Player. Therefore, releasing and recreating an instance during the same ExoPlayer life-cycle would violate those expectations.

@cole-smith In v1.5.0 of the SDK, you should be able to find disable and enable() methods on MuxStatsSdkMedia3.
When disabled, the SDK should end the current view and go dormant until enable() is called again. enable() will start a new view, and apply the CustomerData you provide to it.
Please feel free to reach out if you have any problems!


More comprehensive AD benchmarking

Our benchmarking about AD is a bit ad-hoc, and in-complete at the moment. There are some nice benchmarking scripts in the following repos:

https://github.com/JuliaDiff/ReverseDiff.jl/blob/master/benchmark/benchmark.jl
https://github.com/JuliaDiff/ForwardDiff.jl/blob/master/benchmarks/benchmarks.jl

Maybe we can adapt these examples, and run them on Tracker, ReverseDiff, Zygote and ThArrays to get a better picture of Julia reverse-mode AD libraries' true performance.
In addition to the examples above, we should try to include at least one example for each of the following

branching
loops
array indexing
broadcasting

Related https://github.com/TuringLang/Turing.jl/issues/1140

numerical stability

I've been experienced a few cases that Zygote can have quite different stability agasint Tracker when using Flux (e.g. https://github.com/FluxML/Flux.jl/issues/914 and https://github.com/FluxML/Flux.jl/issues/876).
A recent case where the (naively-implemented) logistic regression model was runnable with Tracker but fails with ReverseDiff seems to be another case which makes me think we should inlcude numerical statbility as an aspect.


packaging: install tzdata-java on centos7/centos8

Description
When install cloudstack on latest rocky8 server with java-11-openjdk-<IP_ADDRESS>.8-2.el8.x86_64, management server cannot be started due to error
Caused by: java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-<IP_ADDRESS>.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory)

It is because the package tzdata-java is not automatically installed. (It was installed with java-11-openjdk-<IP_ADDRESS>.10-2.el8_7.x86_64, but not with latest java-11-openjdk-<IP_ADDRESS>.8-2.el8.x86_64)

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[x] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@weizhouapache a [SF] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: el9 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 6556

@blueorangutan test

@blueorangutan test rocky8 kvm-rocky8

@weizhouapache a [SF] Trillian-Jenkins test job (rocky8 mgmt + kvm-rocky8) has been kicked to run smoke tests

@blueorangutan alma8 kvm-alma8

@blueorangutan alma8 kvm-alma8

@blueorangutan test alma8 kvm-alma8

@weizhouapache a [SF] Trillian-Jenkins test job (alma8 mgmt + kvm-alma8) has been kicked to run smoke tests

[SF] Trillian test result (tid-7158)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44023 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7768-t7158-kvm-centos7.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_01_migrate_VM_and_root_volume
Error
77.68
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
56.43
test_vm_life_cycle.py

[SF] Trillian test result (tid-7160)
Environment: kvm-alma8 (x2), Advanced Networking with Mgmt server a8
Total time taken: 41091 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7768-t7160-kvm-alma8.zip
Smoke tests completed. 105 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_create_pvlan_network
Error
0.07
test_pvlan.py

test_01_migrate_VM_and_root_volume
Error
82.09
test_vm_life_cycle.py

test_02_migrate_VM_with_two_data_disks
Error
60.86
test_vm_life_cycle.py

test_08_migrate_vm
Error
0.07
test_vm_life_cycle.py

test_hostha_enable_ha_when_host_in_maintenance
Error
305.12
test_hostha_kvm.py

[SF] Trillian test result (tid-7159)
Environment: kvm-rocky8 (x2), Advanced Networking with Mgmt server r8
Total time taken: 49691 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr7768-t7159-kvm-rocky8.zip
Smoke tests completed. 107 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_list_vms_metrics_admin
Error
3609.74
test_metrics_api.py

test_list_vms_metrics_history
Error
7.60
test_metrics_api.py

test_list_volumes_metrics_history
Error
7.53
test_metrics_api.py

test failures are not related to the PR.
Merging


Limit Hetzner firewall port exposure

Wouldn’t security be improved if the hetzner-k3s create command of hetzner-k3s version 2.0.8 did not (re-)open the Hetzner Cloud Firewall to allow any incoming traffic from any IPv4 or IPv6 address on ports 5001, 30000 through 32767, and for ICMP (ping)?
According to the OWASP Kubernetes Security Cheat Sheet:
Since Kubernetes clusters usually listen on a range of well-defined and distinctive ports, it is easier for attackers to identify the clusters and attack them. An overview of the default ports used in Kubernetes is provided below. Make sure that your network blocks access to ports, and you should seriously consider limiting access to the Kubernetes API server to trusted networks.
Control plane nodes

Protocol
Port Range
Purpose

TCP
6443-
Kubernetes API Server

TCP
2379-2380
etcd server client API

TCP
10250
Kubelet API

TCP
10251
kube-scheduler

TCP
10252
kube-controller-manager

TCP
10255
Read-Only Kubelet API

Worker Nodes

Protocol
Port Range
Purpose

TCP
10250
Kubelet API

TCP
10255
Read-Only Kubelet API

TCP
30000-32767
NodePort Services

Given these guidelines, would it be possible to restrict the firewall configuration to enhance security while preserving necessary functionality?

Thanks for your detailed response. I understand the port requirements for 5001 and 30000-32767 and appreciate your explanation about the configuration. It’s reassuring that peer connections are authenticated, and NodePort services only pose a risk if exposed. Configuring the NodePort range and ICMP settings in the future would be great for those who want more control over the firewall setup.


Unable to compile with Rust 1.30 - http::Uri::port use port_part instead

Compiling hyper v0.12.16 (/home/jeff/Sync/Development/Projects/MyProject/hyper)
error: use of deprecated item 'http::Uri::port': use port_part instead
--> src/client/mod.rs:281:53
|
281 |                             if let Some(port) = uri.port() {
|                                                     ^^^^
|
note: lint level defined here
--> src/lib.rs:4:24
|
4   | #![cfg_attr(test, deny(warnings))]
|                        ^^^^^^^^
= note: #[deny(deprecated)] implied by #[deny(warnings)]
error: aborting due to previous error
error: Could not compile hyper.
warning: build failed, waiting for other jobs to finish...
error: build failed

@seanmonstar Fixed in Pull request #1722

Fixed in #1722, thanks!


rewire pipeline to push images to s3

modifies existing pipeline to drop use of dssecrets for credentials in aws
streamlines initial data steps so that there is only a single file read in via public/data that can be manually edited, which contains labels, volumes, image file paths, definitions, image credits etc. Moving forward, only this file should be edited.
update page authorship

To be able to run this pipeline you'll need to have aws credentials set up to access the water-visualizations-prod-website bucket. Then you 'll have to download the Images folder from the VizLab sharepoint (Vizlab/Projects/Water Cycle Diagram/) and place it in the root folder.

Pinging @hcorson-dosch for awareness and @lindsayplatt for review

Note: I made some modifications so that the in data are read in from public/data/pools-fluxes-examples-limited.csv for now so that it can be worked on without aws access. This makes the first few steps of the pipeline strange - reading in and saving the same csv, but will make sense when there is an xlsx file that gets manually edited in place of 'public/data/pools-fluxes-examples-limited.csv'

The region should be west-2. Merging and will work with Hayley yo ensure everything is building as expected

awwww yea!! 🥳


Add support to vibration sensor

Device Infomation JSON File
[@0x5e/homebridge-tuya-platform] [TuyaOpenAPI] Response:
path = /v1.0/devices/eb39cef1242eb5c2edbgsa/specifications
data = {
  "result": {
    "category": "zd",
    "functions": [
      {
        "code": "sensitivity",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      }
    ],
    "status": [
      {
        "code": "shock_state",
        "type": "Enum",
        "values": "{\"range\":[\"normal\",\"vibration\",\"drop\"]}"
      },
      {
        "code": "battery_percentage",
        "type": "Integer",
        "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "sensitivity",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      }
    ]
  },
  "success": true
}

### Detail Informations

Add support to vibration sensor, category zd.

I didn't find a suitable homekit service represent for virbration :(

Maybe I can show it as a contact sensor or water sensor with two status: normal and vibration. What do you think?

It seems that Aqara has one vibration sensor that is displayed as motion sensor: https://www.youtube.com/watch?v=e25s2nVMeD8

It seems that Aqara has one vibration sensor that is displayed as motion sensor: https://www.youtube.com/watch?v=e25s2nVMeD8

As motion sensor sounds resonable, will add it later.

It worked!

@0x5e the motion sensor doesn't change the state anymore on Home app. It's locked on Motion Detected.

@felipehjcosta see #274 , might be server side issue recently.

Can you confirm if it's working before? you can try downgrade the plugin to differ the problem is from plugin side or server side.

fine, I need more infos. please post the device info json file, it have more data than api response log.
and, also post the homebridge debug logs when sensor is going to vibration/drop state, and logs when sensor back to normal state.

[11/04/2023, 18:12:56] [@0x5e/homebridge-tuya-platform] [TuyaOpenAPI] Response:
path = /v1.0/devices/eb39cef1242eb5c2edbgsa/specifications
data = {
  "result": {
    "category": "zd",
    "functions": [
      {
        "code": "sensitivity",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      }
    ],
    "status": [
      {
        "code": "shock_state",
        "type": "Enum",
        "values": "{\"range\":[\"normal\",\"vibration\",\"drop\"]}"
      },
      {
        "code": "battery_percentage",
        "type": "Integer",
        "values": "{\"unit\":\"%\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      },
      {
        "code": "sensitivity",
        "type": "Integer",
        "values": "{\"unit\":\"\",\"min\":0,\"max\":100,\"scale\":0,\"step\":1}"
      }
    ]
  },
  "success": true,
}

[11/04/2023, 18:12:55] [@0x5e/homebridge-tuya-platform] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaus.com
path = /v1.0/devices/eb39cef1242eb5c2edbgsa/specifications
query = undefined
headers = {
  "t": "",
  "client_id": "",
  "nonce": "",
  "Signature-Headers": "client_id",
  "sign": "7BEAC621F3D0DB3BC9B2005AB17B6777D9E94F1E72FAAE9418EDB7C3CC91F7DA",
  "sign_method": "",
  "access_token": "",
  "lang": "en",
  "dev_lang": "javascript",
  "dev_channel": "homebridge",
  "devVersion": "1.7.0-beta.34"
}
body = null

[11/04/2023, 18:13:52] [@0x5e/homebridge-tuya-platform] [TuyaOpenMQ] onMessage:
topic = cloud/token/in/a3673ba3cb3908aee6b24312c1f69466
protocol = 4
message = {
  "dataId": ",
  "devId": "",
  "productKey": "fkxmyics",
  "status": [
    {
      "1": "vibration",
      "code": "shock_state",
      "t": "1681247631",
      "value": "vibration"
    }
  ]
}
t =<PHONE_NUMBER>

it seems to the that the status shock_state never goes back to 'normal'.

      "active_time":<PHONE_NUMBER>,
      "biz_type": 0,
      "category": "zd",
      "create_time":<PHONE_NUMBER>,
      "icon": "smart/program_category_icon/zd.png",
      "id": "",
      "ip": "",
      "lat": "",
      "lon": "",
      "model": "ZXZDCG-01",
      "name": "Vibration sensor",
      "online": true,
      "owner_id": "",
      "product_id": "fkxmyics",
      "product_name": "Vibration sensor",
      "status": [
        {
          "code": "shock_state",
          "value": "vibration"
        },
        {
          "code": "battery_percentage",
          "value": 100
        },
        {
          "code": "sensitivity",
          "value": 5
        }
      ],
      "sub": true,
      "time_zone": "-03:00",
      "uid": "",
      "update_time": ,
      "uuid": ""

On Tuya app the transition is very fast.

is it working now? in beta.35.

Yes! it's working now! ❤


Add package javadoc for at.forsyte.apalache.tla.typecomp

This package has a very minimal documentation. Given that it will be used everywhere in the project, we have to invest some effort in the dev's documentation.

Also #646 is related

Are you sure you want more documentation on typecomp? Every method as well as the package here has documentation, so I'd be interested to know what information you think is missing.
I could maybe see elaborating in types, which is where the convenience builder instance is defined, and is the package people actually need to import to use the builder.

When I looked at ScopedBuilder, the class itself is documented, but its methods are not.

That's just not true, literally every method has a doc.

Now I see. Interesting. For some reason, Scaladoc does not expand one-line comments by default. It would help, if you added a sentence like: Builds a TLA+ expression: {{{args_0 /\ ... /\ args_n}}}.

I think it's clearly implied that ScopedBuilder, which is documented with "Builder for TLA+ (TNT) IR expressions." has methods that build TLA+ expressions.

Could you maybe add a package-level documentation that points to ScopedBuilder? I can make a pass over the builder methods then.

I plan on adding a HOWTO for adding methods to ScopedBuilder and a HOWTO for using the builder to typecmp (the package)

Do you mean a HOWTO as Scaladoc, or HOWTO as in the manual?

The former.


[SPARK-20476] [SQL] Block users to create a table that use commas in the column names

What changes were proposed in this pull request?
hive> create table t1(`a,` string);
OK
Time taken: 1.399 seconds

hive> create table t2(`a,` string, b string);
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe: columns has 3 elements while columns.types has 2 elements!)

hive> create table t2(`a,` string, b string) stored as parquet;
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.IllegalArgumentException: ParquetHiveSerde initialization failed. Number of column name and column type differs. columnNames = [a, , b], columnTypes = [string, string]

It has a bug in Hive metastore.
When users do not provide alias name in the SELECT query, we call toPrettySQL to generate the alias name. For example, the string get_json_object(jstring, '$.f1') will be the alias name for the function call in the statement
SELECT key, get_json_object(jstring, '$.f1') FROM tempView

Above is not an issue for the SELECT query statements. However, for CTAS, we hit the issue due to a bug in Hive metastore. Hive metastore does not like the column names containing commas and returned a confusing error message, like:
17/04/26 23:12:56 ERROR [hive.log(397) -- main]: error in initSerDe: org.apache.hadoop.hive.serde2.SerDeException org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe: columns has 2 elements while columns.types has 1 elements!
org.apache.hadoop.hive.serde2.SerDeException: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe: columns has 2 elements while columns.types has 1 elements!

Thus, this PR is to block users to create a table in Hive metastore when the table table has a column containing commas in the name.
How was this patch tested?
Added a test case

Test build #76217 has started for PR 17781 at commit 9563de4.

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/76217/
Test FAILed.

retest this please

ok to test

test this please

Test build #76238 has started for PR 17781 at commit 9563de4.

Test build #76238 has finished for PR 17781 at commit 9563de4.

This patch fails Spark unit 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/76238/
Test FAILed.

Creating views in Hive does not have such an issue.
hive> create table tab2 (a string, b string);
OK
Time taken: 0.807 seconds
hive> create view view2 (`a,`, b) as SELECT a, b from tab2;
OK
Time taken: 0.727 seconds

hive> create table partTab (a string, b string) PARTITIONED BY (`a,` string, `b,` string);
OK

It is OK to use commas in partition column names

Test build #76252 has started for PR 17781 at commit 7839a1b.

Test build #76252 has finished for PR 17781 at commit 7839a1b.

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/76252/
Test PASSed.

cc @cloud-fan @sameeragarwal

LGTM, merging to master/2.2


Upgrade Dapper image to Ubuntu 18.04

This gives us a newer bash which is necessary to get 4e822fd4 (#133) to
actually work.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

Closing in favor of the fedora:30 PR


[INLONG-534][tubemanager ] query offset at certain timestamp

JIRA link - [INLONG-534] created by stingpeng

This issue was created a long time ago. Close it first

This issue was created a long time ago. Close it first


Subject number is deleted in some plots/data

In the plot functions, the section below deletes the participant number in some figures in our data since we have 8 tasks/participant, and the last figure only includes tasks from the same participant. This gets confusing since the participant field is present in some figures/data and not others. I would suggest removing this or at least not saving the truncated ids to the .mat files to keep the same fields in all figures/data.
 % same (e.g. if all sessions are ses-1)
    splitted_ids = cellfun(@(x) strsplit(x,'_'),s_ids(bmask),'UniformOutput',false);
    splitted_ids = vertcat(splitted_ids{:});
    mask = ones(1,size(splitted_ids,2));

Thanks for the suggestion. I removed the information that belonged to the same participant/task if it was all the same for the recordings to improve the readibility of the plots, but I understand that this can be confusing in some cases. I followed your recommendation and the full id is saved now in the .mat files.
Best,
Cristina


[AMORO-2955] Integrate the log records of debug, info, and error into one file

Why are the changes needed?

close #2955
Brief change log

Integrate the log records of debug, info, and error into one file.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

we can talk about it in this issue.


Added missing type in query helper superclass

Description
Added missing type in query helper superclass
Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library

/lgtm

/retest

/retest

/lgtm

/approve

/lgtm


Update request: mealie 1.9.0 → 1.10.2

Package name: mealie
Latest released version: 1.10.2

Current version on the unstable channel: 1.9.0
Current version on the stable/release channel: 1.2.0

[x] Checked the nixpkgs pull requests

Notify maintainers
@litchipi @anoadragon453

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Hi @litchipi & @anoadragon453,
mealie seems too have a lot of very specific dependencies. There was an issue when I tried to update it in nixpkgs. I was able to build it with poetry2nix: https://github.com/ThoFrank/mealie-nix
Do you think it is possible to keep mealie in nixpkgs up to date?

Hello @ThoFrank, I tried to upgrade it, but it seams like the dependency python-ldap doesn't work with python 3.12, and I got a build error on the extruct dependency for python 3.11.
For now, I don't know if that's worth refactoring the package build to such a heavy process as your solution (though I am grateful you took the time to help us tackle this issue), but if it's really impossible to make it work otherwise, we may have to implement that.

A PR for python-ldap 3.12 is already open
https://github.com/NixOS/nixpkgs/pull/326321

Fixed the build for mealie 1.10.2 on python 3.11, because of an out of date dependency (see PR https://github.com/NixOS/nixpkgs/pull/327291), should be able to get an updated mealie soon

PR in process https://github.com/NixOS/nixpkgs/pull/331029


[Card] Added raised style

Thanks @yordis this seems reasonable.

Agh this was merged onto wrong branch..

Finalized in fc518a3e34f4b71c6ef0be5e843cecc12eb33988


Netduino

Adds support for generating C# code, specifically to support the TA.NetMF.Devices.SSD1306 OLED display driver from Tigra Astronomy, but may be useful for other devices using .NET Micro Framework.
Adds 'Code Generation' radio buttons to the configuration screen and disables options that aren't appropriate when the C# option is selected.
The C# code generated has a significantly different structure than the C/C++ code and uses a Hashtable to store the characters and their bitmap patterns in a single data structure.
We put all of the new code into separate methods so none of the original code should be impacted at all.

Hey @NameOfTheDragon. Appreciate the contribution but TDF is currently stable and unmaintained - accepting PRs would require thoroughly testing them which I do not have time for :-/
Suggest you grow a fork and I can point to it in the README.

Very good, I’m happy to keep my stuff in a fork – I just wanted to make the offer of contributing the additions I made.
I’m planning to write up a blog post about my Neduino display driver and how it works with TDF, when I’ve published it I’ll send you a link.
Best Regards,
Tim Long
From: Eran Duchan<EMAIL_ADDRESS>Sent: 21 October 2015 08:20
To: pavius/the-dot-factory<EMAIL_ADDRESS>Cc: Tim Long<EMAIL_ADDRESS>Subject: Re: [the-dot-factory] Netduino (#6)
Hey @NameOfTheDragonhttps://github.com/NameOfTheDragon. Appreciate the contribution but TDF is currently stable and unmaintained - accepting PRs would require thoroughly testing them which I do not have time for :-/
Suggest you grow a fork and I can point to it in the README.
—
Reply to this email directly or view it on GitHubhttps://github.com/pavius/the-dot-factory/pull/6#issuecomment-149802319.
--
ExchangeDefender Message Security: Click below to verify authenticity
<EMAIL_ADDRESS>


Installation instructions for ssr are incomplete

The installation instructions on https://leptonic.dev/doc/installation are incomplete for ssr. They do not mention the need to enable the hydrate and ssr features.
hydrate = [..., "leptonic/hydrate"]
ssr = [ ...,     "leptonic/ssr" ]

It took me a while to figure this out, as the error message about js_sys and wasm_bindgen was rather cryptic.

Thank you! This helped me figure this issue out for my project as well!


Improving our website blog to be better

🛠 Fixes Issue #241
https://user-images.githubusercontent.com/56798376/166122223-016b8dc1-fa75-4c53-a448-82d8f7bdc4f6.mp4

👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

@muhammadgalhoum merge conflicts
and make 1 PR at a time


JetBrains: agent reports errors about not finding bundled rg

We should figure out how to bundle rg with the agent so that we can provide exactly the same functionality as VS Code.

rg context is going away so we can close this


[now dev] failed to start when there is warnings in CRA app

Hello,
I have an issue to start now dev when there is warnings in my app.
The structure of my repository is :
/
  lambda => folder which contains now lambdas
  web => folder with a Create-React-App
  now.json

When there is warning in the CRA app like an unused variable and you start now dev
It runs like this for a while until a timeout happened
➜  now-dev-issue git:(master) now dev
> Now CLI 15.5.0 dev (beta) — https://zeit.co/feedback/dev
> Setting up 1 Builder
⠴ Setting up Builder for web/package.json: To ignore, add // eslint-disable-next-line to the line before.

After the timeout:
> Now CLI 15.5.0 dev (beta) — https://zeit.co/feedback/dev
> Setting up 1 Builder
downloading user files...
installing to /Users/dalc/workspace/perso/now-dev-issue/web
yarn run v1.15.2
$ react-scripts start
Starting the development server...

Compiled with warnings.

./src/App.js
  Line 1:  'useEffect' is defined but never used  no-unused-vars

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

> Error! Failed to detect a server running on port 61188.
Details: https://err.sh/zeit/now-builders/now-static-build-failed-to-detect-a-server

I have created a repository to reproduce the issue : https://github.com/callain/now-dev-issue-repo
It works when there is no warning. (Remove the {useEffect} import to make it works)
Please tell me if this is a configuration issue :)
Keep up the good work guys !
PS: Another question, is there a way to make the CRA hotreload works through now dev ?

I've seen that you closed my PR on the archived repository because of the new monorepo.
I suppose I need to create it again on this repository ?


Add Rotary Position Embedding, or RoPE, layer in Keras or Keras NLP layers

If you open a GitHub issue, here is our policy:
It must be a bug, a feature request, or a significant problem with the documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
Here's why we have that policy:.
Keras developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information.
TensorFlow version (you are using):
Are you willing to contribute it (Yes/No) :
Describe the feature and the current behavior/state.
Describe the feature clearly here. Be sure to convey here why the requested feature is needed. Any brief description about the use-case would help.
Will this change the current api? How?
Who will benefit from this feature?
Contributing

Do you want to contribute a PR? (yes/no):
If yes, please read this page for instructions
Briefly describe your candidate solution(if contributing):

@anish9,
Could you please elaborate about your Feature. Also, please specify the Use Cases for this feature. Thank you!

@anish9,
Could you please elaborate about your Feature. Also, please specify the Use Cases for this feature. Thank you!

@divyashreepathihalli  lot of recent SOTA transformer based models(eg: RoFormer, NVIDIA gpt etc...) use RoPE positional encoding, shipping this as a standard layer in Keras or KerasNLP will be helpful for faster pace of research and development.


Code does not run

Running the code with python3 does not yield anything.

@CaspianA1 , can you tell which receipt you are referring to?

What do you mean by receipt?

My bad, I meant recipe

I'm sorry - I don't remember anymore. My bad.

@CaspianA1 , then it is better to close the issue.


Rename flag for enabling forward slash literals to be less ambiguous.

Previous spelling could easily be mistaken for gating the entire feature.
Part of rdar://91119995

@swift-ci please test

With https://github.com/apple/swift-driver/pull/1049
@swift-ci please test

Corresponding driver change in:
https://github.com/apple/swift-driver/pull/1049

@artemcm Should this be cherry-picked to release/5.7?

@artemcm Should this be cherry-picked to release/5.7?

Thank you for the reminder!


Update ciris-enumeratum, ciris-refined to 3.0.0

Updates

is.cir:ciris-enumeratum
is.cir:ciris-refined

from 2.4.0 to 3.0.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "is.cir" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "is.cir" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #350.


Clarify / document processors and console reports in config

The default detekt config isn't very understandable to me, especially this part:
https://github.com/detekt/detekt/blob/26a78f56e9b295fae7acd6d79638891f343f9aa1/detekt-core/src/main/resources/default-detekt-config.yml#L15-L32
What do these processors do? What does the user gain by enabling/disabling them? I've tried enabling / disabling the processors one by one in a non-trivial project, but I could only find out what DetektProgressListener does. The user shouldn't need to config and run detekt to find out what certain config items do.
Also, the console reports aren't documented AFAIK. Some of the names are somewhat (but not entirely) self-explanatory, but not all are unambiguous. Especially for newcomers: what is the difference between a notification and a finding? And what's a file based finding?
Suggestions
Do any of:

Add a comment on every config line that explains the config, or links to documentation.
Expand https://detekt.github.io/detekt/configurations.html#console-and-output-reports and https://detekt.github.io/detekt/configurations.html#processors with descriptions and examples of what these feature flags do.
Clearly document that a default config exists, that it can be generated and where its features are documented.

Furthermore (but this is a different issue), excluding processors / reports sounds like any new future processors/reports are enabled by default, unless explicitly excluded. This might introduce unnecessary processing / reporting after users upgrade detekt, which may negatively affect them (e.g. they might suddenly see reports on CI while they don't want that). It might make more sense to, instead, explicitly enable certain processors / console reports. That way it feels more like you actually configure what detekt does, instead of what it doesn't do. It's counterintuitive to comment a line to enable it.
Do you want me to make a separate issue for this?

What do these processors do? What does the user gain by enabling/disabling them? I've tried enabling / disabling the processors one by one in a non-trivial project, but I could only find out what DetektProgressListener does

They do enable/disable the processors that runs during the analysis and collect statistics. If you comment/uncomment them you will see that those lines will appear/disappear:

Add a comment on every config line that explains the config, or links to documentation.

Agree that the documentation on this part is lacking. We should probably provide a short doc for every Processor as we do for every Rule.

Clearly document that a default config exists, that it can be generated and where its features are documented.

That's explained here: https://detekt.github.io/detekt/index.html#quick-start-with-gradle and here: https://detekt.github.io/detekt/configurations.html Maybe you can open a PR and provide some suggestions on how we can improve after your experience? That would be extremely valuable.
(that page is generated from this .md file https://github.com/detekt/detekt/blob/master/docs/pages/configurations.md)

Do you want me to make a separate issue for this?

Ideally yes as what you're mentioning is related to how we locate Processors and is a bit unrelated to this issue that is more documentation related.

Thanks for your elaborate reply. I'll take some actions. I've created #2854 to extend the docs on configurations. I'll create a separate issue for my second point in the issue description.

@erikhuizinga thanks again for the awesome contribution! Can you please list the missing bits to close this issue? Right now it's not quite clear, what's missing in order to complete this issue.

What is left for my initial unclarity about the config is an expansion of the console reports docs. Their uses are, to me as a detekt newcomer, still unclear.
Otherwise, this issue has been addressed completely.

Although, the cross-referenced comment by Artur seems to remove the need for such end-user docs. For now, the unclarity remains.

Thanks for the detailed reply. I think this should also be commented in the source code.


Use File.exist? instead of File.exists?

Running bin/rails test -w exposed
warning: File.exists? is a deprecated name, use File.exist?

The Travis errors are...unrelated. Thanks for the pull request!

 This is a great gem 😄


typescript: cannot assign "pull_request.labeled" to "name" in receive

Bug Report
Current Behavior
In tests, I am trying to do the following:
      await probot.receive({
        name: 'pull_request.labeled',
        payload,
        id: 'abc123',
      });

When compiling I receive:
test/release-please.ts:357:9 - error TS2322: Type '"pull_request.labeled"' is not assignable to type 'StringNames'.

357         name: 'pull_request.labeled',
            ~~~~

Expected behavior:
I should be able to provide any valid webhook event name to receive.
Environment

Probot version(s): v10

"pull_request.labeled" is not a valid event name. labeled is part of the payload. Can you try this?
await probot.receive({
  name: "pull_request",
  payload: {
    action: "labeled"
  },
  id: "abc123",
});

confirmed that we were just doing things wrong 👍


Updating model with belongsToMany relation

Hi
How do I update parent model with new child models given:
Parent
restmod.model('/parents').mix({
name: '',
children: {belongsToMany: 'Child'},
}),
Child
restmod.model('/children').mix({
name: '',
description: '',
});
});

The below doesnt seem to work...
var editParentObject = ParentService.$find(parent.id);
editParentObject.children = [ ChildService.$create ({
name: 'johnny'
description: ' just a description'
})];
editParentObject.$save();
childids is empty

Probably the children array is being ocluded by the $find server response, could you try:
ParentService.$find(parent.id).$then(function(_theParent) {
  theParent.children = [ ChildService.$create ({ name: 'johnny', description: ' just a description' }) ];
  theParent.$save();
});

Thanks for the response but I get ChildService.$create is not a function in
the console
On Mon, Nov 16, 2015 at 2:59 PM, Ignacio Baixas<EMAIL_ADDRESS>wrote:

Probably the children array is being ocluded by the $find server
response, could you try:
ParentService.$find(parent.id).$then(function(_theParent) {
theParent.children = [ ChildService.$create ({ name: 'johnny', description: ' just a description' }) ];
theParent.$save();
});
—
Reply to this email directly or view it on GitHub
https://github.com/platanus/angular-restmod/issues/350#issuecomment-157021928
.

Make sure you are properly injecting ChildService and also that it is a restmod type.

Closing due to lack of activity...


Support of list for openwhisk entities

We currently support multiple entities like triggers, actions and rules, described under one element, but in different sub-elements. For exmaple,
triggers:
        # Trigger named “data-inserted-trigger”
        # Creating trigger to fire events when data is inserted into database
        data-inserted-trigger:
            source: openwhisk-cloudant/changes
            inputs:
                dbname: $CLOUDANT_DATABASE
        data-inserted-trigger_1:
            source: openwhisk-cloudant/changes
            inputs:
                dbname: $CLOUDANT_DATABASE

We should extend to support entities defined in list, since list is a commonly supported in yaml file, like
triggers:
        - name: data-inserted-trigger:
           source: openwhisk-cloudant/changes
           inputs:
                dbname: $CLOUDANT_DATABASE
        - name: data-inserted-trigger1:
           source: openwhisk-cloudant/changes
           inputs:
                dbname: $CLOUDANT_DATABASE

@lzbj Could you please take a look at this enhancement? Thank you.

@houshengbo , I remember we discussed this issue before, but let's see what Matt's comments.

The spec. is intended to represent the openwhisk programming model which is a referential model based upon entity names (actions, rules, triggers, etc.).  We are not trying to represent a flat configuration file and simplify parsing, but instead better represent a model of named entities that can easily reference each other by their name.
If every object has to have a “name:” or “id:” then complexity is added when these objects have to reference each other and the YAML gets longer and we have to go through each object to index into it to read its name; whereas now we have map where the object name is the key.
We do not intend to change the YAML grammar for this.


Improve error message for "public"-name PrivateAttr attributes

Currently on main, if you run this code:
from pydantic import BaseModel, PrivateAttr

class WarningModel(BaseModel):
    _x: PrivateAttr = 1

print(WarningModel.__private_attributes__)

you get {'_x': ModelPrivateAttr(default=1)} as expected.
However, if you change _x to x, you get a rather confusing error message:
from pydantic import BaseModel, PrivateAttr

class WarningModel(BaseModel):
    x: PrivateAttr = 1

pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <function PrivateAttr at 0x1019b92d0>. Setting `arbitrary_types_allowed=True` in the model_config may prevent this error.

I think we should improve this; would it be reasonable to raise an error saying attributes annotated as PrivateAttr must have their name start with '_'? (I'll be happy to open a PR for this.)

I just realized that PrivateAttr isn't a type and isn't meant to be used as an annotation. 🤦


Add printout of GLFW errors

Unsetting DISPLAY yields this error message:
GLFW Error[65544]: X11: Failed to open X display
Caught a fatal error: Could not initialize GLFW!

So it seems to work

This is to help debugging errors like #219

@nsg Ready for review!


Z-Wave control panel doesn't expose group 255

Home Assistant release (hass --version): 0.61.1
Python release (python3 --version): 3.6.4
Component/platform: zwave:
Description of problem:
The Home Assistant control panel doesn't allow you to control group associations for group 255, the broadcast group. Many sensors use this group to turn on/off other devices by default, frustrating users.
This group association is exposed in the Open Z-Wave control panel, but obviously that's not available to those use Hass.io, and as it's not available by default in other installs any more
Expected:
Able to change associations for group 255
Problem-relevant configuration.yaml entries and steps to reproduce:
Buy a Z-Wave sensor that defaults to broadcasting to group 255, watch all your switches and lights turn on and off as the sensor is triggered. Curse lots ;)

I'll nudge this, as it hasn't been resolved, and is still an issue.

You do know it is possible to do this via the service menu with the zwave.change_association service:
Use the data:
{"association": "remove", "node_id":  3, "group": 1, "target_node_id": 255}

As there is no easy way to implement this into the UI, for the time beeing use the above solution.

Thanks. I'll get that added to the docs so it's a known workaround.

Still would be good to get this fixed, maybe one for @cgarwood to see if he can include in the magic he's doing with the UI?

Gonna move this to the frontend repo so it doesn't get lost in the sea of backend issues. May be a while before I get a chance to dive back in to the Z-Wave panel, so if anyone else wants to pick this up, feel free 👍

/move to home-assistant-polymer


Values from docker-java.properties are ignored in EnvironmentAndSystemPropertyClientProviderStrategy

Seems that new releases of testcontainers broke my setup.
Here is a link with the problematic line and proposed solution:
https://github.com/testcontainers/testcontainers-java/commit/8e57ae60565f24c01ec7ef964dc37130a022eba4#r44075175

Hi @bojanv55,
Sorry for this regression! Would you like to submit a PR with a fix?

Also the problem with the configuration via maven-surefire-plugin
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <configuration>
	    <systemPropertyVariables>
		    <DOCKER_HOST>tcp://<IP_ADDRESS>:2375</DOCKER_HOST>
        </systemPropertyVariables>
     </configuration>
</plugin>

The strategy is not applicable but DockerClientConfig successfully receives data from System.properties


⚠ ClamAV has degraded performance

In 4953d71, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: ClamAV performance has improved in d212e80.


thiserror errors instead of internal unwrap/except on user errors

add a few thiserror errors for proper error handling of missing & unclosed scopes
added test for new errors and made sure all of them are recoverable
scopes without actual timer queries are now preserved and show up in the  final GpuTimerScopeResult

this makes "unclosed scope" errors always show up
can be useful for keeping track of what things happened (future todo: and CPU timings?)

-> lots of breaking changes

@Imberflur thank you so much for swooping in and pointing out issues and leaving food for thought!!


Truck routes don't update on Seed Smelter breakdown

When the seed smelter breaks down from old age, truck routes do not invalidate as they would be expected to.
Despite the presence of another, functioning smelter to route to, no processing occurs and the old route remains visible and active until the structure is dozed.
See discussion here
Save file illustrating the issue: SmelterBug.zip

Werps.
Thanks for the report! I think I know exactly what the issue is, will resolve this one shortly.

Reference for myself -- the issue lies here: https://github.com/OutpostUniverse/OPHD/blob/bccf78378b8cc9830cb3e5147a1b57070d5d95c6/OPHD/States/MapViewStateTurn.cpp#L36
Code iterates over all Smelters but doesn't check if it's in an operational state.
While on the subject, if a Smelter is Idle, it's not going to be processing anything so mines should skip an idle Smelter and attempt to route to a different Smelter. It will give up if there are no smelters that aren't in an operational state.

Thanks for looking into it.
This may already be handled but be careful of where unsmelted ore goes if no smelter is available, it shouldn't just disappear...

Thanks for looking into it.
This may already be handled but be careful of where unsmelted ore goes if no smelter is available, it shouldn't just disappear...

Agreed -- Current logic should have it just stay at the Mine until its production lines fill up and so the mine goes Idle until the pools are emptied out enough to resume production.


Parser for proof hint traces

This PR modifies the validator tool and class for proof hint traces into a parser. The parser both validates a given binary proof hint trace and generates a data structure  for said trace that reflects the one used by the Python parser found here.
In a future PR, we will add Python bindings for the data structures and the parser API.

@gtrepta I have made the proposed changes. I modified the lit test to check the verbose output but I haven't modified the parser to print the trace after (as opposed to while) parsing since it does not make any difference in checking the output. If you prefer the printing to happen after parsing anyway, I can make that change as well.

I have made the change of printing the whole data structure after parsing. I have also replaced an unordered map with an ordered map to avoid non-determinism in the order of printing the map's elements.

I have addressed all the comments, @Baltoli if you could take another look


investigate what needs to be be done to move to spark 1.6

how many new APIs are there?
how many changed APIs are there?
does spark kernel change to 1.6?

1.6 (over 1.5.1) difference summary

122 new api functions
680 total new functions including methods which are probably internal/impl
no functions removed
a large number of "Experimental" tags removed from JSDoc
minor JSDoc differences

The Spark Kernel works with 1.6

I was able to compile and run our test case on Spark 1.6.0. But when I attempted to run our code in Jupyter notebooks the kernel kept crashing.

I found my issue, I had a bad line in my kernel.json file.
So the steps that I used to successfully run in a Jupyter notebook

Build Toree with Spark 1.6.0

EXPORT SPARK_VERSION=1.6.0
make dist
sbt publishM2

Build EclairJS-nashorn

mvn package -Pnotebook
```
3) update kernel.json

{
"display_name": "Spark 1.6.0 (EclairJS)",
"language": "javascript",
"argv": [
"/Users/billreed/eclairjs_dev/incubator-toree/dist/spark-kernel/bin/spark-kernel",
"--interpreter-plugin",
"eclair:org.eclairjs.nashorn.JavascriptInterpreter",
"--default-interpreter",
"eclair",
"--nosparkcontext",
"--profile",
"{connection_file}"
],
"env": {
"SPARK_OPTS": "--jars file:/Users/billreed/eclairjs_dev/eclairjs-nashorn/target/eclairjs-nashorn-0.1.jar",
"SPARK_HOME": "/Users/billreed/Downloads/spark-1.6.0-bin-hadoop2.6/"
},
"codemirror_mode": "scala"
}
4) start notebook

ipython notebook

1.6 spark is now implemented


Add a free-form metadata object to operator.yaml definitions

What would you like to be added:
A free-form metadata object to operator.yaml files.
Why is this needed:
This will give flexibility to operator developers to have "templatable" metadata
that doesn't really fit in params.yaml.

@mpereira @gerred  hi i would like to work on this issue

@gerred @mpereira  I am new here and want to contribute can i work on this?


Added 2 jokes

Short description of what this resolves:
Adds 2 new facts
Changes proposed in this pull request:

A shrimp's heart is in it's head.
Rats and horses can't vomit.

Fixes: #

Thank you for taking the time to contribute! This is sincerely appreciated. 😇
(Powered by GitMate.io)


Add ament_cmake_black_CONFIG_FILE option.

This is a copy of the pull request here: https://github.com/Timple/ament_black/pull/7
This pull request adds ament_cmake_black_CONFIG_FILE which mimics the options available in other ament lint packages like ament_cmake_flake8
e.g. https://github.com/ament/ament_lint/blob/humble/ament_cmake_flake8/cmake/ament_flake8.cmake#L54

Thanks!


Add ability to Overwrite or Update a Submission

This feature has been checked in.  More testing would be good.

Add:
Prevent if submission existing
Merge and prevent if existing objects
Merge and replace if existing objects
Overwrite entire submission

The issue is it really needs to submit objects one at a time, since for each object it must do the following:

Check if it is available in a web-of-registries public store and skip if it is found.
Check if it already exists in the user's collection.
If found, need to verify that it is the same as being uploaded.
If not same, need to either overwrite OR update its version.
If not found, need to update URI to registry URI and upload.
Finally, need to add the URI to the collection.
To further complicate things, need to make sure to only update members, when the collection exists.

Done though opened two new issues to deal with updating version and ensuring Collection is unchanged when adding to an existing Collection.


Tensor with strings

Is there any provision for dealing with strings? So, when there tensor is of dtype DT_STRING and shape (-1), will the following work?
Tensor words{model, "sentence"};
std::vector<std::string> words_data{"hello", "world"};
words.set_data(batch_ids_data, {4});

Or should I deal with strings as explained in https://stackoverflow.com/questions/41138822/how-to-create-a-string-type-tensor-in-tensorflow-c-api ?

The current set_data implementation only deals with basic numeric data as string tensors require extra calls to encode the string in TF format.
You can check in that Stack Overflow question, or in Model.cpp (save or restore function) how to implement this.


Bad performance of Charades

I reproduced using Charades dataset based on the checkpoint given in the repo, and the result was 27.9 for R@1 (IoU = 0.5) and 12.3 for R@1 (IoU = 0.7).
However, according to the results of the paper, R@1 (IoU = 0.5) should be 32.2, and R@1 (IoU = 0.7) should be 13.4.
In my results, R@1 (IoU = 0.5) is particularly low. If it is this low, can you tell me what parameters or methods I need to change?

Hi, thanks for your interest.
Our released ckpt is different from the version used in the paper. The released ckpt was trained after cleaning the code and fixing a minor bug in QuerYD instructions data (some videos have the same start and end timestamps in the raw annotations file, so we only use one timestamp in the revision).
In our evaluation, the performance of the released ckpt on YouCook2 is higher than that in the paper, while the performance on Charades-STS & QVHighlight is lower. We also note that the output generated by LLM is different each time, which may cause fluctuations in the evaluation results.
We have uploaded the ckpt used in our paper, please refer to https://huggingface.co/ShuhuaiRen/TimeChat-7b-paper. With this ckpt, I believe you can reproduce the results in our paper.


Not sure how I can help, but I'm in.

I'm  a decent artist, but I'm just starting to learn GDscript. As this may help me, I'm willing to help ;)

Hi, I will gladly accept your help.
Here is your invitation: https://github.com/jeremi360/Ren/invitations.
I saw your youtube video :)
Go to repo room for further instructions: https://gitter.im/jeremi360/Ren-GD.


[bug] Problems after changing gateway from Named Topics to ValueID

Version
Build/Run method

[X] Docker compose

Zwave2Mqtt version: 2.0.4
Openzwave Version: ?
Describe the bug
I worked with Zwave2Mqtt for several months. First with a gateway configured with type NamedTopics and after that with Configured Manually. Now I changed to ValueID's but it looks that the software did't picked up that change correctly. After changing the setting tot ValueID's I've restarted the Zwave2Mqtt container several times.
When I looked at the MQTT queue with mosquitto_sub I saw a lot of ValueID topics. BUT sometimes a Named topic. For example:
zwave2mqtt/46/50/1/32 false zwave2mqtt/46/50/1/20 0 zwave2mqtt/46/50/1/21 0 zwave2mqtt/46/50/1/22 85 zwave2mqtt/neo_powerplug_woonkamer_linksachter/Switch true zwave2mqtt/48/50/1/32 false zwave2mqtt/48/50/1/0 0.68 zwave2mqtt/48/50/1/1 0.68 zwave2mqtt/48/50/1/16 232.49
When I change an topic manually from the Zwave2Mqtt interface and set a switch to On I expect an ValueID topic on the mosquitto_sub screen, BUT I received an Named version. For example, I set an Dimmer to Level 20. I expect so see something like
zwave2mqtt/54/38/1/0 20
but I see
zwave2mqtt/fibaro_dimmer2_keukentafel/Level 20

Are you sure that there are not still values in gateway values table. Those values are used even if the gateway is not in manual mode to override some desired topics

Aiii that would be the problem. I will try to delete that values in table and will report the outcome.

I've tested your suggestion and that fixed the problem. So this bug can be closed.


Paste Action fails to paste but copies to clipboard

I'm running ß63 (3912) on 10.6.8.
When I try to use the Paste action on anything, I here a system beep and then I have to use ⌘-v or it's equivalent to actually paste the clipboard in.
To be clear, it does copy whatever I was trying to paste in the way I was trying to paste it into the clipboard, it just fails to actually paste it in.
Nothing gets printed to Console.app as far as I can tell.

Hmmm. Do you have a copy of the Core Support plug-in in ~/Library/Application Support/Quicksilver/PlugIns?

Not that I know of. Here's a listing of that directory

Don’t see it there. I do see two versions of BezelHUD. It must not have gotten cleaned up on the art update, so you might want to trash the old one.
I don’t know what else could cause that. Does this happen with any application and with anything in the first pane?

Yep. Any application and anything in the first pane, AFAICT.
I removed the old BezelHUD plugin and it doesn't seem to affect anything.
I have not tried deleting all plug-ins. Think that's a logical next step?

Just did a complete clean (renamed ~/Library/Application Support…, ~/Library/Caches/…, ~/Library/Preferences as outlined in the FAQ and the Paste and Paste as Plain Text actions still do not work and get a system beep. I also still don't see any Core Support plug-in in my Plugins directory.

Thanks for the response, Patrick!
On Sat, Dec 31, 2011 at 11:27 AM, Patrick Robertson
<EMAIL_ADDRESS>wrote:

Following what Rob has said about the only time the method returns an system 'beep' is when the 'add to clipboard step fails' - which succeeds in your case - the only idea I have is that the ⌘V step is failing.

Seems logical.

Do you use a different shortcut for pasting on your system? Unfortunately Quicksilver is hard coded to simulate the key presses of ⌘V (there is no other way), and so if you have the shortcut then it will not work for you.
If it's not the case, then I'll look into it further

In almost all applications I don't touch the hallowed ⌘ v sequence.
:) The reason I mentioned, "or it's equivalent" was because I also use
Emacs and ordinarily pasting means pressing ^ y in that app,
although of course you can rebind it.
As further proof, TextExpander.app works fine and it follows the same
strategy for text entry of hard-coding the ⌘ v sequence.
Could it be possible that something about my set up simply doesn't let
focus get back to the intended window in time to let the paste happen?
I don't know what would have changed recently since pasting was
definitely working till a recent updated, but it's a possibility.
Perhaps some other app that doesn't support pasting grabs focus for
that split second and then focus goes back to the intended app an
instant later.
Look forward to figuring this out!
--
In Christ,
Timmy V.
http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail

Thanks for the response, Patrick!
On Sat, Dec 31, 2011 at 11:27 AM, Patrick Robertson
<EMAIL_ADDRESS>wrote:

Following what Rob has said about the only time the method returns an system 'beep' is when the 'add to clipboard step fails' - which succeeds in your case - the only idea I have is that the ⌘V step is failing.

Seems logical.

Do you use a different shortcut for pasting on your system? Unfortunately Quicksilver is hard coded to simulate the key presses of ⌘V (there is no other way), and so if you have the shortcut then it will not work for you.
If it's not the case, then I'll look into it further

In almost all applications I don't touch the hallowed ⌘ v sequence.
:) The reason I mentioned, "or it's equivalent" was because I also use
Emacs and ordinarily pasting means pressing ^ y in that app,
although of course you can rebind it.
As further proof, TextExpander.app works fine and it follows the same
strategy for text entry of hard-coding the ⌘ v sequence.
Could it be possible that something about my set up simply doesn't let
focus get back to the intended window in time to let the paste happen?
I don't know what would have changed recently since pasting was
definitely working till a recent updated, but it's a possibility.
Perhaps some other app that doesn't support pasting grabs focus for
that split second and then focus goes back to the intended app an
instant later.
Look forward to figuring this out!
--
In Christ,
Timmy V.
http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail


Gbm daily data

Adds a downloader for GBM daily data

Codecov Report

Merging #233 into master will not change coverage.
The diff coverage is 48.24%.

@@           Coverage Diff           @@
##           master     #233   +/-   ##
=======================================
  Coverage   72.93%   72.93%
=======================================
  Files         134      134
  Lines       14439    14439
=======================================
  Hits        10531    10531
  Misses       3908     3908

@grburgess what's the status on this?

@giacomov ah, I haven't looked at it in a while. I'll come back to it this week

@grburgess any news on this?

@giacomov I'll have to go back through the code as this is old. I'll update if we still think it is needed.

Closing for inactivity


Implement ast_from_value

Closes #62
I had to split up utils into individual files, as using ast_from_value in introspection creates a circular import.

this lgtm. any reason to not merge this in?

It looks good to me too. I think that @dittos is super busy or something though. I tried to reach out to him on Slack. Going to try to get added as a contributor so I can continue to merge PRs and finish up this project in his absence. Hopefully should have an answer soon.


Sync with upstream branches

Dear Wei,
is there a way to let the pull bot automatically create, update, delete branches from the upstream repo?
And automatically set the same repo as default repo, like the upstream repo?
Or do I need to manually create some pull.yml config and delete/create old/new branches by hand?
In my case I work on an android kernel repo, where the branches are different qualcomm branches (different devices and kernel versions).
(My own branches are created with {MyUsername}/Branchname} to make sure Upstream will never use the same branch name I did choose for my modifications.
PS: I love your pull bot.

Thanks for the issue!
 Pull requires a pull.yml if the default (master -> master) isn't sufficient. You have to define all the branches you wish to sync in the config. Syncing all branches is not supported at this time.
If you are in the Github Actions beta, you can try out my other project git-sync (See Advanced: Sync all branches section). Make sure you make a full backup first.
Auto deletion is difficult to do with a stateless service so you'll have to manually remove branches if they are deleted from the upstream repo.
Please let me know if you have any questions.

Thank you very much, will try git-sync! <3

Another option is github-repo-sync which I maintain under the repo-sync organization. Actually try this one first 😄 .

Nice, will look into both! :)
Now I am confused where the different use case of both actions is. xD

github-repo-sync requires destination to be the repository that is hosting the action.
git-sync is more flexible allowing you to define any source and any destination repository (you don't have to host it under the repository you want to sync).

However, git-sync requires clone url with access tokens, or ssh keys, while github-repo-sync does not require anything other than the build-in secrets.GITHUB_TOKEN.

Dear @wei ,
thank you very much for your response!
This looks at most promising for me:
https://github.com/marketplace/actions/github-repo-sync
And nice, that I can replace the source/destination repo name by *
Sadly I still need specify a repo by hand.
Is there a feature to automatically fetch all forks in an organization?

If you just care about the master branch. This pull app is perfect for it! If you want to sync all branches, pls see my response in repo-sync/github-sync#9


fix: stop rendering infinite sub-schemas for type object

see https://github.com/scalar/scalar/discussions/1049
Problem

Currently, infinite sub-schemas are rendered for type object.
Explanation

This happens because when we define a Record<String, unknown>. The property has type object, and additionalProperties only contains the nullable field.
The fact that the additionalProperties does not have a "type" field, makes this spread to not overwrite the type object from the original value.
Causing the Schema component to be recursively called.

Check the "Schema" component from the api reference.

Solution
With this PR the original "additionalAttributes" from the schema is overrided, in order to avoid infinite schemas merge.
QA

Added vue test utils to the api reference;
Configured jsdom in the vitest config file;
Added tests for many possibilities of "sub-schema" render in the SchemaPropertycomponent.

Followed arrange/act/assert pattern for tests

🚨🚨

Added tests to avoid further regressives;
This is a hotfix. However, I believe that the logic of merging schemas is becoming too complex to maintain in long-term. Maybe it should be refactored.

https://github.com/scalar/scalar/pull/1424/
Maybe this pull request solved the problem, will rebase and check if the tests are passing

This pull request https://github.com/scalar/scalar/pull/1424 solved the infinite sub-schemas behavior. However, for Record<string, unknown> "Show child attributes" is still beign rendered without relevant information. Is this the expected behavior?

What should I do with this PR?

This pull request #1424 solved the infinite sub-schemas behavior. However, for Record<string, unknown> "Show child attributes" is still being rendered without relevant information. Is this the expected behavior?

Hey! That probably shouldn't be rendering. If you can send me the schema you're using I can dig into it :)

Hello @hwkr !!
Here is the property schema:
{
     "metadata": {
            "type": "object",
            "nullable": true,
             "additionalProperties": {
                     "type": "string",
                     "minLength": 1,
                     "maxLength": 500
               },
               "description": "Metadados do item segurado: você pode especificar até 50 chaves, com nomes de até 40 caracteres e valores de até 500 caracteres.",
                "maxItems": 50
        },
}

@Amorim33, testing it out on main it should look something like this I think (which seems about right)

Here's the spec file I'm using:
{
  "openapi": "3.1.0",
  "info": {
    "title": "Hello World",
    "version": "1.0.0"
  },
  "components": {
    "schemas": {
      "metadata": {
        "type": "object",
        "nullable": true,
        "additionalProperties": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500
        },
        "description": "Metadados do item segurado: você pode especificar até 50 chaves, com nomes de até 40 caracteres e valores de até 500 caracteres.",
        "maxItems": 50
      }
    }
  },
  "paths": {
    "/": {
      "get": {
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/metadata"
              }
            }
          }
        }
      }
    }
  }
}

@Amorim33 ahhh I see, opened a fix in #1499


The Yeah Fam

name: The Yeah Fam
key: yeah
color: blue
  description: >
    Yo what's up it's your boy biggie cheese. Nah, not really. We are actually the yeah clan family. We consist of 3 clans that are just here to war. I mean what else can you do in this game? Have fun? Nuh uh. We keep our nose to the grinder and dominate whoever comes in our way. Check us out on our links and join our discord server. Most of the information or announcements are found on the discord. We use twitter for announcements and whatever we think is worth sharing into this world. The main clan is yeah, then Nah, then Active Royale 2. All of us are intertwined and connected to each other like a clan family should. So come and check us out. Hang out on our discord. Join the yeah clan or any other clans in the network.
  social:
    - discord: https://discord.gg/GZDym6grxU
    - twitter: https://twitter.com/Yeah_5000
    - email<EMAIL_ADDRESS>clans:
  - name: yeah
    tag: YV0222VJ
  - name: Nah
    tag: GCG2RJP0
  - name: Active Royale 2
    tag: GPVUVJ28
  - name: Bad Boyz Club
    tag: LJ0GQQCP

I have modded it to include one more clan


Use ==/!= to compare str, bytes, and int literals

Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
% python
>>> classes = "pres"
>>> classes += "ent"
>>> classes == "present"
True
>>> classes is "present"
False
>>> 1 == 1.0
True
>>> 1 is 1.0
False

Identity is not the same thing as equality in Python so use ==/!= to compare str, bytes, and int literals. In Python >= 3.8, these instances will raise SyntaxWarnings so it is best to fix them now. https://docs.python.org/3.8/whatsnew/3.8.html#porting-to-python-3-8
% python
>>> classes = "pres"
>>> classes += "ent"
>>> classes == "present"
True
>>> classes is "present"
False
>>> 1 == 1.0
True
>>> 1 is 1.0
False

thanks for your work!


Deprecate cloudant toolkit integration points

What
Deprecate the integration points for Cloudant ToolKit.
Why
Cloudant ToolKit is deprecated so the integration points are no longer required, and since we are following semver this has be to deprecated rather than removed.
Reviewers
reviewer @mikerhodes
Issues
Fixes #235

I think the messages are fine, I'd not expect anyone external to be using them. +1


Change language of calendar

the option "locale" does not work, the solution  is adding the following line to aplication.js
//= require fullcalendar/locale-all
maybe you can add it to the readme

You should also be able to include selected languages by requiring fullcalendar/lang/... if you are just at it, maybe you could test it and change the readme? Simple PR from the github project mainpage would well be sufficient :)

If you want, I can add this and you can review the PR. What do you think?

Go ahead ! :)


Reconsider the approach of defining the HttpServletRequest content type

The current implementation of the MessageFormat.formatOf() compares the "Content-Type" header of the passed request with one of predefined MIME-types ("application/json", "application/x-protobuf") without considering of a charset value. In consequence of that, it can`t recognize the passed request with a content type of "application/json; charset=utf-8" as a JSON message format.
As a solution, the simple string values of the stringification format could be replaced with Guava MediaType values.

Implemented in PR #24.


Microsoft.AspNetCore.Razor.VSCode.BlazorWasmDebuggingExtension cannot be installed in a remote workspace

Describe the bug:
I'm experimenting with working on a Blazor project in a remote (SSH) VS Code workspace. I can install the C# extension on the host; however, I'm not being shown the option to also install Microsoft.AspNetCore.Razor.VSCode.BlazorWasmDebuggingExtension on the host, only the client.
I assume this is why context-dependent variables like context or variables defined by a RenderFragment are showing as errors. Nope this happens locally too.
Version used:
VS Code 1.63.1
To reproduce:
Steps to reproduce the behavior:

Open a Blazor project in a remote SSH workspace
Install the C# extension on the host (and VS 2022, .NET 6 SDK, etc)
Open a Razor component and get the notification to install the companion extension

Expected behavior:
Extension can be installed.
Actual behavior:
Extension shows as already installed, with no way to install it on the host.

Obviously, it doesn't work on containers as docker is remote for VSCode. Same problem, can't install extension on remote. We are planing on moving to Github Codespaces, but it will also rely con VSCode remote, so I suspect it won't work. This extension could be a must for us as the wasm part of our app is important.

Do we have any progress for this?


eslintrc breaks eslint in atom on Windows

I don't know if being a) in Atom or b) on Windows matters at all, but the .eslintrc really makes my Atom setup unhappy.

You probably have an outdated version of eslint. It had some breaking changes fro. Pre-1.0.


Alarm mode

When alarm is raised, it should keep being active for say 30 mins or so - Any view displayed should overlap with the alarm dialog that needs to be dismissed. Together with a sound played on background.
Also alarm should be tight to some led controls: off (green), empty house (red), full house (orange), alarm (blinking red)

Create custom led control panel?

Should it ignore minor events?

Alan mode in any security mode? Or only full house? Maybe better  always

sounds and LEDs missing, maybe worth new jira later?