Typo fix in couchdb/README.md

a small typo in line 72

/assign @unguiculus

/ok-to-test

/lgtm

/retest

@kocolosk Do you know why this would be failing to start? See the details on the failed test run for more info.

/retest
Going to retest again now that #4278 has landed to try and get more details.

One of the containers in the Pod expects to find the SRV records for the members of the StatefulSet so it can join up the cluster members. It does a bounded exponential backoff and retry if it gets an NXDOMAIN back, but gives up after 10 tries. Looking at the logs that seems to be what happened here.

These lines also seem worrisome:

I0317 00:23:42.246] chown: changing ownership of '/opt/couchdb/etc/default.d': Read-only file system

Clearly still busted ... we did make some changes regarding configuration directories in apache/couchdb-docker#50 a few months back, perhaps that has something to do with the chown permissions error. Will dig into it.

As far as I can tell those changes should not have any effect here. The chart is using the official 2.1.1 image and that image tag has not moved since November.

@kocolosk @mattfarina
Thanks a lot for your attention.  I'd better close this PR before this problem solved.


Skip http e2e tests

Issue #, if available:
Description of changes:
Skip http proxy e2e tests. We don't yet have a tested set up for http proxy in our e2e infrastructure.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/test eks-anywhere-presubmit

/lgtm


[SPARK-37707][SQL] Allow store assignment and implicit cast among datetime types

What changes were proposed in this pull request?

Allow store assignment and implicit cast among datetime types. As Spark supports Date <=> Timestamp already, this PR is to support

TimestampNTZ <=> Date
TimestampNTZ <=> Timestamp

Why are the changes needed?

Handle TimestampNTZ in the store assignment rule and implicit cast rule.

Does this PR introduce any user-facing change?

No, the TimestampNTZ type is not released yet.
How was this patch tested?

Unit test

Test build #146447 has started for PR 34976 at commit 4cc48bb.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50922/

Should we add the TimestampNTZType to there: https://github.com/apache/spark/blob/5d3a6573a56f9c00ccc513c8131c037de7d29000/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercionSuite.scala#L1709 ?

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50922/

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

Test build #146447 has finished for PR 34976 at commit 4cc48bb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #146462 has started for PR 34976 at commit 03bc6f8.

Test build #146462 has finished for PR 34976 at commit 03bc6f8.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50937/

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

Test build #146463 has started for PR 34976 at commit 1add49d.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50937/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50938/

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

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50938/

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

Merging to master

Test build #146463 has finished for PR 34976 at commit 1add49d.

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

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


qt6, test: Handle deprecated code

Split from https://github.com/bitcoin/bitcoin/pull/30997.
This PR ensures compatibility across all supported Qt versions.

This PR can be tested on macOS using the first commit from https://github.com/bitcoin/bitcoin/pull/30997 and Homebrew's qt package.

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews
See the guideline for information on the review process.
A summary of reviews will appear here.

Friendly ping @Sjors @furszy @ryanofsky @jarolrod ;)


WaveformView conundrum

Hi,
I'm running phy-1.0.9. Is there any reason why one would see not one, but 16 channels highlighted by the cluster color in WaveformView on all the putative units? Is this some feature of this version or does that indicate something is amiss?

Are you using the kwik GUI or the template GUI?

Template GUI.

At the moment a fixed number of channels is chosen per cluster: the channel with the highest amplitude waveform, and its N neighbors. We'll improve this when we'll implement sparse export in kilosort. If you use spyking circus instead, the sparse export is already implemented and it's spyking circus that chooses the best channels per cluster.

Thanks a lot!

On a related note:
I am trying phy with the artificial data from KiloSort and there is something confusing about the channels numbers.
When clicking on a cluster, if I understand correctly the channel number shown is the channel with max amplitude. However, in the waveform view, although indeed the highlighted channels are centered around the channel with max amplitude, the actual numbers shown are very different and do not correspond to the number shown in the cluster view.
Is there something I am doing wrong?
Below a screenshot:

Hi @rossant , what do you mean by "sparse export" ? Do you need Kilosort to threshold which channels should be highlighted? I thought this would be done in Phy.
@nikolaskaralis Looks like something to do with the channel map. @rossant, are the numbers shown in the waveform view the indices in the binary file, or the indices from the channel map?

Yes at some point it would be good if the export script in kilosort could output sparse arrays for templates, like in spyking circus. It's just a post-processing step to generate the npy files used by phy.
The channel map bug might be fixed on the development version of phy and phycontrib, feel free to try it and let me know if it still doesn't work.

@rossant How should the sparse arrays be formatted? Can you please open an issue on Kilosort and give the details of the required formatting there? Thanks.

@rossant  Indeed it works on the development version. Thanks!

@nikolaskaralis @rossant  And which number was actually the correct channel index? (on the channel map or on the cluster view)


Updated Readme.md

Added 3Blue1Brown Youtube channel that provided specialty of linear algebra, neural networks, calculus, transformations in Fourier, bitcoin math, quantum mechanics that are mostly preferred in Data-Science.

@adarsh1mehra good one


Upgrade service_info script

Goals:

Improve the usefulness of service_info script by adding dependency tables
Make script compact (target <10 lines) to make it easier  for non-pixies to understand  & tweak pxl scripts

Desired Output
﹍Live View﹍

Input Arguments

Service Name

Output Widgets

Latency - p50
Latency - p90
Latency - p99 (if we can fit it)
Error Rate (as % of total requests)
Throughout (as rps)
CPU% (by pod)
Resident Memory Size (by pod)
List of Dependencies with following columns (will require table widget support which we don't have)

Service_Name (n/a if we don't have it)
End-point  IP
Type (downstream or upstream)
Latency - p50
Latency - p90
Latency - p99
Error Rate
RPS
CPU  %   (if we have it)
Resident Memory Size  (if we have it)

﹍CLI Output﹍

Command:  px run px/service_info

Output: ask to enter service-name arg. suggest running px get services to get a list of services

Command:  px run px/service_info -s sock-shop/front-end

Output:

An abridged version of live view as a table  with the following columns

Pod name
Latency - p50
Latency - p90
Latency - p99
Error Rate
RPS
CPU  %
Resident Memory Size

Link to the live URL (if possible: https://pixie-labs.atlassian.net/browse/PL-1584?filter=-2 )

User-Story
See: https://github.com/pixie-labs/pixie/issues/19
Describe the question you are looking to answer
When investigating a specific service, I want to understand the health of the services down-stream dependencies (databases) and up-stream dependencies (ingress, other services etc. )
Example scenario
A frequent debugging scenario is when a service's latency spikes when their database read writes spikes. For an SRE or SWE debugging, it's difficult to know whether the db is trashed because of their service or other issues.
Desired output

Service SLI Metrics Charts (latency, error-rate, rps)
Service-specific K8s metrics (CPU, Memory, IOPS etc. by pod)
Downstream Dependencies Summary Table ( SLI Metrics by dependency)
Upstream Dependencies Summary Table ( SLI Metrics by dependency)

Additional requirements

We should be able to navigate too the dependencies own live view from the table
Ideally, we would like to view the dependencies in a format that's easy to understand (eg: topological map)

Desired collaboration scheme

Do you want to share this view with your team (yes/no)? Yes
Do you want to persist this view in your team's git repo (yes/no)? Yes
Do you want to persist this view in pixie-community's git repo (yes/no)? n/a

cc [~accountid:5bc4fa648997913f6f1c5ef0]  [~accountid:5b8f208e497b882c77e91ab4]  [~accountid:5d925e04f5d3c10d8bfd071a] [~accountid:5b8f7f3e8aaa0f2bd11fa903]
┆Issue is synchronized with this Jira Story by Unito

Closing as stale issue


add documentation stubs everywhere

This PR addresses #40. I have mostly addressed items 2 and 3 on the checklist and have created stubs for items 1 and 4 for @dallasfoster to complete. I am unsure what the existing example system (examples/LJCluster) is, so I have not touched that. This PR shouldn't be merged until all of the TODOs are resolved.

Codecov Report

Merging #41 (0c5a480) into main (c3ba290) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #41   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        11
  Lines          154       154
=========================================
  Hits           154       154

Impacted Files
Coverage Δ

src/empirical/bm.jl
100.00% <ø> (ø)

src/empirical/coulomb.jl
100.00% <ø> (ø)

src/empirical/lj.jl
100.00% <ø> (ø)

src/empirical/morse.jl
100.00% <ø> (ø)

src/empirical/zbl.jl
100.00% <ø> (ø)

src/mixed/linear_combination_potential.jl
100.00% <ø> (ø)

src/nnlist.jl
100.00% <100.00%> (ø)

src/types/abstract_potential.jl
100.00% <100.00%> (ø)

src/types/empirical_potential.jl
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

Can you rebaseon master quickly? I want to make sure that the docs CI job actually tuns


UI design

few harvester-UI designs and feature changes:

[x] vm delete logo
[x] vm adjust the location of the namespace
[x] networking todo
[x] rootdisk can get source: image ，size： imageSize
[x] vm add ssh key default select
[x] start vm default true
[x] template delete namespace (set default namespace)
[x] ssh key add a search input
[x] ssh key name set the default name
[x] vm template option is hidden by default (rancher rke)
[x] ssh key The content disappears after input
[x] image action launch
[x] add disk spell error
[x] template describe position adjustment
[x] select all position
[x] storageclass need to get the first default through API, it cannot be written to hostpath

gentle ping @votdev , why do we reopen this issue ?

I'm closing the issue again as it has somehow been reopened accidentally and unintentionally.


_pywrap_tensorflow_internal.so gdb load very slow!

I build a _pywrap_tensorflow_internal.so have 2.7G big.  so that gdb load very slow ，mybe takes one hour. please help me !
I try many way , such as strip symbols from .so and so on.
I want to ask is there way to use -g in the single tensorflow module by bazel  build ?

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 29 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!

I am also watching this problem, the debug version of tensorflow v1.13.1 comes to 4.7G.
Any idea now?


Implemented Features?

I'm interested in contributing; what features are currently implemented and which ones need to be? Is this production-usable? (Probably not...)

Just out of curiosity, how well did the tests perform?
I'm considering using this in a large app currently in production for simple periodic data updates.


iCubLondon01 needs config file update for Head V2

Hi,
As discussed in https://github.com/robotology/QA/issues/167 the configuration files of iCubLondon01 need updating, as they do not consider yet that our robot has the V2 head.
I am not sure who's best to assign this to. Any ideas @pattacini?
Thanks,
Tobi

@davidetome I believe the calibrators need updating, and you should also put inside iCubLondon01 the iKinGazeCtrl.ini file in compliance with its new policy (see an example).

cc @randaz81

@Tobias-Fischer remember than to launch:
$ iKinGazeCtrl --from iKinGazeCtrl.ini

The head calibrator is already for head V2 since the robot left our labs in January 2015.
I pushed the new iKinGazeCtrl.ini file in the repo.
@randaz81

Hi @davidetome,
Thanks for adding the iKinGazeCtrl.ini. It seems like not all config files are correct though, as iCubGenova01 has a HeadV2_Calibrator (https://github.com/robotology/robots-configuration/blob/master/iCubGenova01/calibrators/head_calib.xml#L10), whereas iCubLondon01 has a Head_Calibrator (https://github.com/robotology/robots-configuration/blob/master/iCubLondon01/calibrators/head_calib.xml#L9). I am not sure which other files need changes.
Thanks,
Tobi

@Tobias-Fischer   I think it is just the name of the device. The calibrator used is "parametricCalibrator" as well as in genova01

Okay cool. I'll how about the CALIB_ORDER? Does that make a difference?

in your calibrator joints 0,1,2,3 are calibrated at the same time, then joint 4 and finally joint 5.
If you do not have any particular need leave like that.

Probably, we could close this.

Yep, thanks!


Fix [Testspace] with new "untested" value in case_counts array

Hello,
I noticed that all Testspace badges started returning "invalid response data" recently. The cause was a recent change in the response object of the Testspace web API: the case_counts array in the Results object now has length 5 instead of 4. A new integer was appended to the end which represents the number of untested tests, which are manual tests that have not been run yet.

Live example
Screenshot for posterity

The API docs haven't been updated yet as of 2022-10-17, but I contacted the Testspace developers and figured out what the new value means.
To fix the invalid error, this change updates the schema for the Testspace API response with the new array length. It also adds a new metric parameter value (untested) to the TestspaceTestCount service and includes it in the internal object returned by TestspaceBase.transformCaseCounts(), as well adding it to the total value in that object. The documentation URLs have also changed.
I didn't add untested to the TestspacePassRatio or TestspaceTests services, since those already didn't use skipped and errored, respectively, and it didn't seem like it would make sense to start including untested manual cases there.
I think I've covered all the requirements for contributing, but let me know if I missed anything or if any other changes need to be made.
Thanks!

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @Aldaviva!

  Generated by :no_entry_sign: dangerJS against b05feb78f4e6cc8d6b779043ec6d535f9720b288


Issue opening saved schematics

When opening saved .sch (from lgui) files in Windows 10, the schematic appears in the lower right hand corner and is partially cut off the screen. Could you open the schematic in the middle of the screen instead?

I think that is fixed.


Integrating with BTrack

Hello! First off, thank you for this software! It's just what we need.
I am trying to integrate this with https://github.com/adamstark/BTrack to figure out the BPM of the incoming audio...
However, in the BTrack docs, it needs us to fill a double precision array with one frame of audio samples...
Can I get that using WAC? I am just confused as to how to go about figuring that data out.
Thanks again!

Also, I notice we need to use the https://github.com/erikd/libsamplerate library, which is only available for win32...is it possible to use this with win64 even tho the required library only supports 32?

Thanks!


Move policy applying in API creation from LC state page to API creation page.

As of now, Policy applying is in LC state page. It is most suitable in API create initial page.

Fixed with https://github.com/wso2/carbon-apimgt/pull/4393


Wrong architecture when NativeLibrary.Load cause Library e_sqlite3 not found

What version of SQLitePCLRaw are you using?
2.1.7

If you are using one of the SQLitePCLRaw bundle packages, which one?
bundle_e_sqlite3

What platform are you running on?  What operating system?  Which version?  What CPU?
Embedd Linux arm64, arm-cortex a53, run with mono <IP_ADDRESS>

What target framework are you building for?
.net framework 4.8.1

Are you on .NET Framework or the newer stuff (.NET Core, .NET 5+, etc)?
.net framework 4.8.1

Are you using the command line, or an IDE?  Which IDE?  Which version of that IDE?
Visual Studio 2019

Is this problem something that just started happening?  For example, were things working well for you and then you updated something and then the problem showed up?  What changed?

What is the exact error message you are seeing when the problem happens?
My OS system is arm64, but it want to load linux-x64 version of libe_sqlite3.so, and show error of Library e_sqlite3 not found

1 Unhandled Exception:
2 System.TypeInitializationException: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Library e_sqlite3 not found
3 plat: dlopen
4 suffix: SO
5 possibilities (2):
6     1) /run/media/mmcblk0p5/TestDB/sqlite/memory/test/runtimes/linux-x64/native/libe_sqlite3.so
7     2) /run/media/mmcblk0p5/TestDB/sqlite/memory/test/libe_sqlite3.so
8 dlopen TryLoad: /run/media/mmcblk0p5/TestDB/sqlite/memory/test/runtimes/linux-x64/native/libe_sqlite3.so
9 thrown: System.DllNotFoundException: dl
10   at (wrapper managed-to-native) SQLitePCL.NativeLibrary+NativeLib_dlopen.dlopen(string,int)
11   at SQLitePCL.NativeLibrary.TryLoad (System.String name, SQLitePCL.NativeLibrary+Loader plat, System.Action`1[T] log, System.IntPtr& h) [0x00069] in <1c82ecb939124f42b01caceba8a570df>:0

Are you using PackageReference or packages.config?
packages.config

If you are using mobile platforms, are you on classic/legacy Xamarin or on .NET 6 and higher?
No

Sometimes other packages using SQLitePCLRaw cause problems when they are mixed together.  What other packages are you including in your project?
Only Microsoft.Data.Sqlite

How can we reproduce the problem you are seeing?  Your issue will get attention much faster if you attach a minimal reproduction sample project.

My first reaction to this issue is to say that Mono and packages.config are on my list of things I'm not sure I want to support at this point.
That said, if the e_sqlite3 native binary is compatible with your OS, I suspect this could be made to work by initializing the provider manually instead of using a bundle.
Rough steps:
Get rid of bundle_e_sqlite3 and provider.dynamic_cdecl.
Keep SQLitePCLRaw.core and SQLitePCLRaw.lib.e_sqlite3
Add SQLitePCLRaw.provider_e_sqlite3
Add code to initialize things, something like this:
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_sqlite3());

What I don't know is whether the proper libe_sqlite3.so will end up in "the right place" using whatever building tooling you've got.  I'll stay pessimistic on that for the moment, but if you find the file and copy it to your build output directory, it should/might work.


chore(guide-sync): Add Quality Profiles for the 3rd party sync apps

Pull Request
Purpose

Add several Quality Profiles for the 3rd party sync apps.
Approach

[x] Add: Sonarr WEB-1080p/2160p combined Quality Profile
[x] Add: Sonarr WEB-1080p alternative Quality Profile
[x] Add: Sonarr WEB-2160p alternative Quality Profile
Add: Sonarr WEB-1080p/2160p combined alternative Quality Profile
[ ] ?

Open Questions and Pre-Merge TODOs

Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

I don't think we'll need a Sonarr WEB-1080p/2160p combined alternative Quality Profile - the Sonarr WEB-2160p alternative Quality Profile already contains all the relevant qualities so would perform the same function.


Add cypress.io smoke tests

https://docs.cypress.io/guides/overview/why-cypress.html#In-a-nutshell

Took an initial stab at this: https://github.com/sem-js/sem-js/pull/24


#4450 update storm version to 1.0.0

The pull request references the related JIRA issue ("[FLINK-4450] ")

update storm version to 1.0.0, because of new storm version use pacakge path "org.apache."  replace of "backtype.", and it changed permanently.

and flink-storm-examples pull request will summit later.

build successfully, run successfully.


Implement request body size limit

#539 Same settings and APIs as kestrel.

Kestrel's exception type to status code mapping is a whole separate feature. Filed https://github.com/aspnet/HttpSysServer/issues/369 for followup.


Replace issuer value in issued credential

Interop samples:
Current Result
https://github.com/troyronda/w3c-vc-examples/blob/75a30da28370e302eed517b6b05f216a532386b4/test-suite/data/credential--issuer.sandbox.trustbloc.dev--CertifiedMillTestReport.json
Input
https://github.com/w3c-ccg/vc-examples/blob/5f4487141007d58785dff5cfee1e8a198e269a7b/docs/cmtr/examples/v0.2/cmtr-credential-v0.2.json
Other Implementations

https://github.com/w3c-ccg/vc-examples/blob/d580be4a21967a0eeae72ebb1ac9dcee429609a9/test-suite/data/credential--api.neo-flow.com--CertifiedMillTestReport.json
https://github.com/w3c-ccg/vc-examples/blob/master/test-suite/data/credential--api.neo-flow.com--CertifiedMillTestReport.json
https://github.com/w3c-ccg/vc-examples/blob/master/test-suite/data/credential--issuer.interop.digitalbazaar.com--CertifiedMillTestReport.json
https://github.com/w3c-ccg/vc-examples/blob/master/test-suite/data/credential--vc.transmute.world--CertifiedMillTestReport.json

@troyronda @rolsonquadras @fqutishat
Not sure if we should override ‘issuer’,  according to spec it can be anything, can also be jwk, but it should result to a document when dereferenced.
Here is the behavior of different vendor’s issue credential
DanubeTech: You can pass whatever as an issuer (valid URI) but dereferenced document will be used to create proofs. So they should have access to private key of DID you pass.
Digital Bazaar & Transmute: No matter what you pass, they gonna use hardcoded/predefined verification key, purpose, issuer DID etc. And issuer will be overridden in VC.
Our behaviour: You can pass whatever you want, we choose DID from profile to create proof. Issuer untouched.
So what should be our behaviour then??? Override whatever we get from credential request and override it from DID in profile??
Then we don’t need object type of issue credential (one with id & name)

Here is the behaviour,

profile will have new flag called overwriteIssuer

Issuer not provided : Use DID from profile as issuer
Issuer provided :

If profile.overWriteIssuer = true, override from profile
If profile.overWriteIssuer = false, use issuer provided. If invalid URI then it should fail

Verification method: always should match Issuer set from above steps. If verification method doesn't match issuer then fail
@troyronda @rolsonquadras @fqutishat

what’s the default verification method when the option is not provided? @sudeshrshetty

existing logic : one from profile (first ed25519 key in key list)


Unable to run custom job in sdk-custom-image-classification-batch.ipynb

In vertex-ai-samples/notebooks/official/custom/sdk-custom-image-classification-batch.ipynb, when I run the following cell on a Vertex AI workbench notebook
job = aiplatform.CustomTrainingJob(
    display_name=JOB_NAME,
    script_path="task.py",
    container_uri=TRAIN_IMAGE,
    requirements=["tensorflow_datasets==1.3.0"],
    model_serving_container_image_uri=DEPLOY_IMAGE,
)

MODEL_DISPLAY_NAME = "cifar10-" + TIMESTAMP

if TRAIN_GPU:
    model = job.run(
        model_display_name=MODEL_DISPLAY_NAME,
        args=CMDARGS,
        replica_count=1,
        machine_type=TRAIN_COMPUTE,
        accelerator_type=TRAIN_GPU.name,
        accelerator_count=TRAIN_NGPU,
    )
else:
    model = job.run(
        model_display_name=MODEL_DISPLAY_NAME,
        args=CMDARGS,
        replica_count=1,
        machine_type=TRAIN_COMPUTE,
        accelerator_count=0,
    )

it gives error
InvalidArgument: 400 Accelerator "NVIDIA_TESLA_K80" is not supported for machine type "n1-standard-4".
My understanding is Tesla K80 is compatible with 4vcpu, as listed here. https://cloud.google.com/ai-platform/training/docs/using-gpus

I ran this notebook to completion w/o errors. Perhaps yours was somehow transitory. Could you try again?
Here's my output from job.run():
INFO:google.cloud.aiplatform.utils.source_utils:Training script copied to:
gs://andy-1234-221921aip-20220118164055/aiplatform-2022-01-18-16:42:18.067-aiplatform_custom_trainer_script-0.1.tar.gz.
INFO:google.cloud.aiplatform.training_jobs:Training Output directory:
gs://andy-1234-221921aip-20220118164055/aiplatform-custom-training-2022-01-18-16:42:18.250
INFO:google.cloud.aiplatform.training_jobs:View Training:
https://console.cloud.google.com/ai/platform/locations/us-central1/training/814620468437843968?project=759209241365
INFO:google.cloud.aiplatform.training_jobs:View backing custom job:
https://console.cloud.google.com/ai/platform/locations/us-central1/training/498893505498710016?project=759209241365
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968 current state:
PipelineState.PIPELINE_STATE_RUNNING
INFO:google.cloud.aiplatform.training_jobs:CustomTrainingJob run completed. Resource name: projects/759209241365/locations/us-central1/trainingPipelines/814620468437843968
INFO:google.cloud.aiplatform.training_jobs:Model available at projects/759209241365/locations/us-central1/models/4979613395406815232

Feel free to close if stale.

Yes, this works now. Thanks!


Replace jellyfin-plugin-media-analyzer with its updated fork jellyfin-intro-skipper

Jellyfin Media Analyzer asks on its readme to use its fork, so you might as well replace it.

Done


TeX required?

I cloned this minimal example and tried to build the book in RStudio IDE - following the instructions in the getting started section of the bookdown book.  I got an error about _main.tex which I assume was due to me not having TeX installed.  I deleted the tex file and the pdf_book default and then could successfully build the html version.  My suggestion is that, if I'm correct about the TeX cause of error here, that it be clearer either from the package or the bookdown book that TeX is required to be installed -- or better yet provide an option of the minimal example that's just html to make it even easier for people to get started with the first example.

Good suggestion. I have commented out the pdf format. Thanks!


Review Pull Requests

These are the PR's for the SDS Viewer that are ready for review. I put them in order of what it would be easier to review first and merged.
This is the first PR that should be review, contains the work for issue #66.
https://github.com/MetaCell/sds-viewer/pull/72
This PR is to merge a fix into branch feature/15_2. Dario is assigned as reviewer but you can review it instead if you have a chance.
https://github.com/MetaCell/sds-viewer/pull/93
This can be merged after the previous two PR's (72 and 93) are merged, it would be easier that way.
https://github.com/MetaCell/sds-viewer/pull/87
Graph Viewer layout fixes. This is one is easier to merge after PR #87 gets merged.
https://github.com/MetaCell/sds-viewer/pull/94

@jrmartin please can you have a look at the merge conflicts in #87 ? thanks!


SSL connection

Hello! What can I do, if I need to connect to MySQL DB using SSL cert?

Add ?ssl={} to the end of your DATABASE_URL.

I don't know if this is related to ssl but I tried to use it with Planetscale and the error says Cannot find module 'mysql2'. I tried to add ssl certificate but still didn't work. Or perhaps this doesn't support Planetscale yet?

Hey 👋
This might be blocking PlanetScale consumers from using this awesome (❤) library. 😢
I can take this if no one's working on it.

Still can't connect with a Google Cloud Mysql instance


arch/sim: Add host timer and improve the oneshot timer logic

Summary of Changes
Add a host timer that generates periodic signals and sends SIGALRM to
the process that runs the NuttX simulation. This logic is integrated as
part of the existing NuttX oneshot timer. The host timer installs an
irq handler which is expected to run every CONFIG_USEC_PER_TICK .
Impact
This should not impact the current implementation because it adds a new
Kconfig option which is not enabled by default. CONFIG_SIM_WALLTIME_SIGNAL=n
Testing
I verified the implementation by running this config : sim/ostest.
Signed-off-by: Sebastian Ene<EMAIL_ADDRESS>

@sebastianene07 there are still several comments not addressed.

Correct, sorry. I forgot to push

@sebastianene07 need move code in arch/sim/src/Makefile:
  HOSTCFLAGS += -DCONFIG_USEC_PER_TICK=$(CONFIG_USEC_PER_TICK)

from line 104 to line 85.

@sebastianene07 need move code in arch/sim/src/Makefile:
  HOSTCFLAGS += -DCONFIG_USEC_PER_TICK=$(CONFIG_USEC_PER_TICK)

from line 104 to line 85.

Done, thanks


Create Christa's blog post "Implementing agile tools"

Fixes #128
Preview

@jlouis-onrr I'm not able to get this preview link to work, any idea what's going on?

@daniel-coleman-1, looks like previews get pushed into dev automatically based on this commit from @mojobnichols, https://github.com/ONRR/blog-nrrd/commit/2f0afd7855290eac2fdeb144550fcc7bf258a739#diff-78a8a19706dbd2a4425dd72bdab0502ed7a2cef16365ab7030a5a0588927bf47
Are you not seeing these updates in dev?  https://dev-blog-nrrd.app.cloud.gov/

@daniel-coleman-1 You should be appending the folder name the post is in, not the branch name.  I pulled down the branch and didn't see a new post folder.  Where is this post located?

@daniel-coleman-1 Just found it.  Here's the preview link.
https://dev-blog-nrrd.app.cloud.gov/implementing-agile-tools/

@daniel-coleman-1 I haven't read through the whole thing, but right off the bat, it's linking to Cat's blog post, not Christa's.

@mcharg and @jlouis-onrr I apologize for not responding earlier, I took a long lunch and hung late for a bit.

@CM805 @Maroyafaied thoughts:

Can we promote/link to Service Now and their task board?
I added the Github link to our NRRD issues, is that too transparent/close to home for us?
What do you think about the call to action in the final paragraph?

@daniel-coleman-1 @CM805 here are my answers and additional comments
- Can we promote/link to Service Now and their task board?
I don't believe the intention of the blog is to "promote" Servicenow, the blog is about implementing agile tools so it's ok to talk about a tool similar to ZenHub.  After it's mentioned, can you put in parenthesis "this isn't an endorsement of Servicenow"
- I added the Github link to our NRRD issues, is that too transparent/close to home for us?
We work in the open and GitHub is a public repository, anyone can already see it and our work. We've linked to GitHub many times in our blogs, the whole point is to be open and transparent. Please also link to ZenHub.
- What do you think about the call to action in the final paragraph?
It's fine but we need to specify this is for ONRR employees only, and also the link in the paragraph above it (participate in a job rotation) goes to Onrresource so we need to mention you need to be connected to VPN. You can refer to Cat's blog in her last paragraph as an example.
Other Comments

In the first paragraph, you can just link to the blog when Christa mentions it, no need to say it can be found here then the link.
We use the abbreviation ONRR  and RRM without writing out what it stands for, not all our blog readers are ONRR employees.
please add @cthomasONRR and @mcharg to review the blog after the changes have been implemented. Thanks

I originally wrote this as an article for the RRM newsletter, so thanks for looking at it from the outside perspective.  Since this is going to a larger audience, outside of ONRR, it might be good to mention some other platforms that can be used to create a Kanban board, such as Microsoft Planner (which ONRR employees also have access to), Trello, and Asana.  But I do agree that we should mentioned that we are not endorsing those.

Linked to zenhub
added disclaimer about endorsing products
spelled out ONRR and RRM
specified rotation is for ONRR employees and included copy about connecting to VPN
added copy about Microsoft Planner, Trello, and Asana

@daniel-coleman-1 can you include the checklist that was put together for reviewing blogs for reviewers. Thanks

Checklist:

[ ]  Check for typos, spelling, and grammar. Track changes in the shared doc and allow the author to accept your suggested changes.
[ ]   Put the post into Hemingway to check reading level. If it's above grade 10, make a note and suggest simplifications.
[ ]   Are paragraphs too long, or sentences overly complex? If so, offer simplifications to reduce the text's cognitive load.
[ ]   Offer suggestions to swap out common modifiers (great, very, really, etc.).
[ ]   Confirm the post follows the NRRD Content Style Guide.
[ ]   Confirm that images all make sense in context and add value to the text.
[ ]   Confirm the source file is available for any images to prevent a loss in resolution.
[ ]   Confirm header levels are used correctly.
[ ]   Check if there are other blog posts would add value to readers of this post and offer links to those posts.
[ ]  Are products referenced that ONRR should not endorse? If so, offer removal and explain your reasoning to the author.
[ ]   Check that all content that should be attributed to a person or group is, and offer attribution if needed.
[ ]   Finally, comment on the GitHub issue to let the author know you made edits and notes in the shared document.

I'm getting Grade 10 in Hemingway, but also getting Grade 11 with the same text.

@Maroyafaied Do we want to keep in the links to the cross training email address and ONRResource page given that this is for an external audience?

@daniel-coleman-1 On the links to the previous blog post and wiki, we usually just link words in the sentence rather that putting in the full title of the post of wiki page.  Should we do that for consistency?

@daniel-coleman-1 @mcharg It's ok to link to onrresource and cross training email since we did it in Cat's blog , as long as we're specifying this is for ONRR employees only. I agree with being consistent and linking to the words rather than putting the whole title.

@Maroyafaied @mcharg I left the call to action with links in and edited the link text to Christa's first blog post.
I'd like to send the cross training email a message when we publish asking if they get an increase in traffic following the post - we can also feature all of the cross training blog posts in a WYMHM or some other kind of internal outreach from leadership.
The last thing I have to edit is the publish date, I currently have it set as though we are publishing tomorrow.

@daniel-coleman-1 Thanks. We have been mentioning the cross training blogs in WYMHM and will continue to do that, I also send them to person that handles cross training. You can leave the date for now, and I will change it once I do the next release.

@daniel-coleman-1 This is what I would link.

Also, I don't think we usually capitalize wiki.

@daniel-coleman-1 I think it's better to insert the link here.

Just saw that @mcharg suggested the same thing about the blog link and I agree with her about the wiki link.


Update gcs-connector to 3.0.3

About this PR
📦 Updates com.google.cloud.bigdataoss:gcs-connector from hadoop3-2.2.25 to 3.0.3
📜 GitHub Release Notes
Usage
✅ Please merge!
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 = "com.google.cloud.bigdataoss", artifactId = "gcs-connector" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.cloud.bigdataoss", artifactId = "gcs-connector" }
}]

labels: library-update, commit-count:1

Superseded by #1121.


Fix sending message to cross account FIFO SQS queue, fixes gh-938.

:loudspeaker: Type of change

[X] Bugfix
[ ] New feature
[ ] Enhancement
[ ] Refactoring

:scroll: Description
Currently, it is not possible to send a message to a cross account FIFO SQS queue due to a bug where AWS does not allow you to access the ContentDeduplication queue attribute value of a cross account FIFO SQS queue.
As described in this comment, I've introduced a new enum ContentDeduplication and added this as an option to the send* methods in both MessagingOperations and AsyncMessagingOperations.java.
If the value is ContentDeduplication.AUTO, then it follows the current implementation and will always retrieve the ContentDeduplication value at runtime. Otherwise, we take the value from the user and will not make an extra request to AWS to resolve this value. Of course, by default, the strategy is ContentDeduplication.AUTO.
:bulb: Motivation and Context
Fixes this issue.
:green_heart: How did you test it?

Added some unit tests in SqsTemplateTests.
Also manually tested with a real cross account FIFO SQS queue.

:pencil: Checklist

[X] I reviewed submitted code
[X] I added tests to verify changes
[X] I updated reference documentation to reflect the change
[X] All tests passing
[X] No breaking changes

:crystal_ball: Next steps

Hey @ZhongXiLu , thanks a lot for the PR.
Considering this issue is more of an edge case scenario, I think this configuration would be a better fit for the SqsContainerOptions instead of the main API.
What do you think?

I agree with @tomazfernandes. Ideally we do not add new methods to SqsOperations for such thing.

@tomazfernandes I'm not too familiar with the code base, but the SqsContainerOptions is now only used for the SqsMessageListenerContainer, so there is no container for sending messages currently?

@tomazfernandes I'm not too familiar with the code base, but the SqsContainerOptions is now only used for the SqsMessageListenerContainer, so there is no container for sending messages currently?

Oh, my bad, I meant SqsTemplateOptio s.

@tomazfernandes I'm not too familiar with the code base, but the SqsContainerOptions is now only used for the SqsMessageListenerContainer, so there is no container for sending messages currently?

Oh, my bad, I meant SqsTemplateOptions.

Ah, I thought about that, but you're maybe right that it fits better here with this use case. I'll try to change it. 👍

@tomazfernandes I've rewritten my implementation, looks indeed better this way.

Hi Team , Can you please let me know when this fixes available to use (in the MVN repo)

@ZhongXiLu, while reviewing your PR I found a bug in the content deduplication logic and had to change a few things.
I used your logic and added you as an author for SqsTemplate and the content deduplication logic, but couldn't use your commits directly.
Hope it's ok.
Thanks for the PR and looking forward for more!
Superseded by #987


An error that shouldn't have occurred

I completely understand the meaning of this code, but it reported an error, when I changed data = data[:, :, 0] to data = data[:, :], the error was gone.But I know I can't change it that way.

Log as follows：
/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/distributed/launch.py:188: FutureWarning: The module torch.distributed.launch is deprecated
and will be removed in future. Use torchrun.
Note that --use_env is set by default in torchrun.
If your script expects --local_rank argument to be set, please
change it to read from os.environ['LOCAL_RANK'] instead. See
https://pytorch.org/docs/stable/distributed.html#launch-utility for
further instructions
FutureWarning,
Training with a single process on 1 GPUs.
Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-weights/resnet50d_ra2-464e36ba.pth)
Model interfuser_baseline created, param count:52935567
Data processing configuration for current model + dataset:
input_size: (3, 224, 224)
interpolation: bicubic
mean: (0.485, 0.456, 0.406)
std: (0.229, 0.224, 0.225)
crop_pct: 0.875
CNN backbone and transformer blocks using different learning rates!
165 weights in the cnn backbone, 274 weights in other modules
AMP not enabled. Training in float32.
Scheduled epochs: 35
Sub route dir nums: 1628
Sub route dir nums: 73
Traceback (most recent call last):
File "train.py", line 1831, in
main()
File "train.py", line 1241, in main
mixup_fn=mixup_fn,
File "train.py", line 1339, in train_one_epoch
for batch_idx, (input, target) in enumerate(loader):
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 628, in next
data = self._next_data()
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1333, in _next_data
return self._process_data(data)
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1359, in _process_data
data.reraise()
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/_utils.py", line 543, in reraise
raise exception
IndexError: Caught IndexError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
data = fetcher.fetch(index)
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 58, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 58, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/oem/InterFuser/interfuser/timm/data/carla_dataset.py", line 312, in getitem
seg_image = self.seg_transform(seg_image)
File "/home/oem/anaconda3/envs/interfuser/lib/python3.7/site-packages/torchvision/transforms/transforms.py", line 95, in call
img = t(img)
File "/home/oem/InterFuser/interfuser/timm/data/transforms_carla_factory.py", line 44, in call
data = data[:, :, 0]
IndexError: too many indices for array
Do you have any suggestions about this？

Hi!
In the released code, we didn't involve the segmentation input. So we check the related code and function. Can you print the shape of data?

File "/home/oem/InterFuser/interfuser/timm/data/transforms_carla_factory.py", line 44, in call
data = data[:, :, 0]


Any advice about upgrading Harbor version from v0.5.0 to v1.2.x

The production environment of my place is running with Harbor version v0.5.0 for a long while. After doing some researches in a few days, I want to upgrade Harbor version from v0.5.0 to v1.2.0+.
I'v not found any advice or warnings about what I should do or not, so my question is: is there a guideline I can follow??
tks a lot.

Hi @moooofly,
at my company we are using 4 Harbor instances, each one is storing more than 1500 images / 300GB. Following the official migrating guide we had no problem. But in our case, we migrate from 0.5 to 1.1 and from 1.1 to 1.2.

Thanks @cbarzu
If no further issues here I'm closing this one.

FYI, I did harbor version upgrade from v0.5.0 to v1.2.2 directly last night.
It is running good till now..
tks again.
@cbarzu @reasonerjt


Run when starting vim with no buffer?

My habit is to start vim when I need to edit a file somewhere in the project. But I often just run vim as I don't remember the exact file name and want to do a file search after opening.
But currently this plugin doesn't run until after I open a buffer. So I open any random file and then do a file search (using vim-fzf).
Is there a way to run vim-rooter even without a buffer open on starting vim?

Currently the plugin relies on a buffer being open.
It should be feasible to make it use the current directory instead if no buffer is open.
Then you could use autocmd VimEnter * :Rooter.

Try this: aaac408.

That worked! Thanks :-)


Support usage when started by 'ts-node' by using 'process.exe…

…cPath' instead of 'process.argv[0]'
As described in https://github.com/Mogztter/asciidoctor-kroki/issues/115, the creation of a Node.js child process fails, if "ts-node" is used instead of "node" when using "asciidoctor-kroki". This PR uses process.execPath instead of process.argv[0 which works for me in "asciidoctor-kroki" in both cases (see https://nodejs.org/api/process.html#process_process_execpath). I did not replace execSync with fork as described in the original issue, because test cases failed, but looked at the implementation of fork (https://github.com/nodejs/node/blob/ab895bd587ed47423a6baab0bd6934128aa8990d/lib/child_process.js#L140).

That's really nice! Nice finding 👌
process.argv[0] was a bit of a hack so I'm glad to replace it with this property!
I wonder if it would be possible to run a test with ts-node? I guess we could add ts-node and typescript as dev dependencies and create a simple test.ts? What do you think?

I was afraid you would say that about tests... ;-) And you're right, of course. I'll try.

I was afraid you would say that about tests... ;-)

Don't be afraid, your solution is really neat!
I think it's important to add a test to make sure that we don't accidentally break it in the future.

And you're right, of course. I'll try.

Thanks 👍

@Mogztter
I have pushed a first version of a test which is executed with "ts-node" which fails when using the original version with process.argv[0] and which passes when using my patched version with process.execPath.  Could you please have a look at it?
I did not provide any configuration for TypeScript (i.e. there is no tsconfig.json and defaults are used). There is no linting ("eslint" with "typescript-eslint" could be used). It is just the style I got (i.e. semicolons at line ends, ...), when saving with my default VS Code settings. There are some as any type assertions which I don't like, etc.
In summary, there is a lot of room for improvement. Please feel free to modify or let me know if you want something to be changed.

@Mogztter
There is an easier alternative to test, if XMLHttpRequest.js works when started with ts-node. It needs less new package dependencies than my last commit (no @type-packages), no additional code and does not introduce TypeScript files:
Since JavaScript is valid TypeScript, we could simply run all the test cases (or in 2nd pass in addition) with ts-node node_modules/mocha/lib/cli/cli.js tests/test-*.js instead of mocha tests/test-*.js. (This stills fails without my process.execPath fix and passes with the fix).
Which one do you prefer?
The last approach (i.e. without the ts file) is simpler, but the initial approach (i.e. with the ts file) would be the first step of a future migration (e.g. for the test cases) to TypeScript.

@stenzengel sorry I didn't have time to review it yet but your second proposal sounds good as we don't plan to migrate to TypeScript (but we want to make sure that this library is working fine with ts-node).
So running the exact same test file against node and ts-node seems to be the most logical solution.

@Mogztter Fine! I've simplified the code. I only run test-request.js with "ts-node", because it was the only one which failed before my fix . (I'm not quite sure that's what you were going for.) I kept the change for the optional parameters (https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#param-and-returns) in the JSDoc part, which solved a TS compile problem when I still used the TypeScript file. (I'm not sure which syntax you prefer.)
Joyeux Noël!

Thanks @stenzengel and happy holidays to you :christmas_tree:

Fine! I've simplified the code. I only run test-request.js with "ts-node", because it was the only one which failed before my fix . (I'm not quite sure that's what you were going for.) I kept the change for the optional parameters (typescriptlang.org/docs/handbook/jsdoc-supported-types.html#param-and-returns) in the JSDoc part, which solved a TS compile problem when I still used the TypeScript file. (I'm not sure which syntax you prefer.)

Looks good :ok_hand:

Now available in the 1.1.1 release, thanks again :tada:

Now available in the 1.1.1 release, thanks again :tada:

It was a pleasure.

It was a pleasure.


Using .trackedmodel_ptr failed because TrackedModel specifies identif…

Fix bug in TrackedModel subclasses when using trackedmodel_ptr.
TrackedModel.identifying_fields = ("sid"), which throws an exception when converting it to a string.
This makes it hard to use this API in a notebook.
To fix it, set identifying_fields to ("pk"), by default.
Any subclasses that need "sid" have this added manually.
A test was also added.

Codecov Report

Merging #487 (bbe6ed9) into master (03124da) will increase coverage by 0.01%.
The diff coverage is 100.00%.

:exclamation: Current head bbe6ed9 differs from pull request most recent head b47ce28. Consider uploading reports for the commit b47ce28 to get more accurate results

@@            Coverage Diff             @@
##           master     #487      +/-   ##
==========================================
+ Coverage   91.80%   91.82%   +0.01%
==========================================
  Files         290      290
  Lines       17667    17694      +27
  Branches     1428     1428
==========================================
+ Hits        16220    16247      +27
  Misses       1186     1186
  Partials      261      261

Impacted Files
Coverage Δ

additional_codes/models.py
95.38% <100.00%> (+0.22%)
:arrow_up:

certificates/models.py
92.98% <100.00%> (+0.25%)
:arrow_up:

commodities/models/orm.py
91.16% <100.00%> (+0.14%)
:arrow_up:

common/models/trackedmodel.py
94.41% <100.00%> (ø)

common/tests/models.py
100.00% <100.00%> (ø)

common/tests/test_models.py
98.42% <100.00%> (+0.03%)
:arrow_up:

footnotes/models.py
94.82% <100.00%> (+0.09%)
:arrow_up:

geo_areas/models.py
95.00% <100.00%> (+0.12%)
:arrow_up:

measures/models.py
95.88% <100.00%> (+0.05%)
:arrow_up:

quotas/models.py
99.09% <100.00%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


Xorg support?

Can you please elaborate why it doesn't work on Xorg? If it's a Plasma problem maybe create an issue there? I can't use Wayland because I have NVidia.

I really cannot elaborate on why it doesn't work. Theoretically speaking, scripts should behave the same as they both run on the same API (functions, objects, etc). Just like how Bismuth works on Xorg but not Wayland sometimes... it's weird.
Wayland with Nvidia works well for me with 5.27, only bug I've encountered is that the Night Shift does not work.

If you want autotiling on Xorg, Bismuth is a better alternative. I've heard you can set a window rule telling all windows to "Ignore requested geometry" and make an exception for apps that need it like Krunner. This should make it work. Now that I think of it, this may make this script work as well but idk.


Unattended gpg and alternate keyrings

I've been testing kubesec as part of monorepo projection tooling https://github.com/branchout/branchout and needed to be able to use a passphrase for keys supplied on the command line (and automated), turns out you can avoid pinentry with a loopback which makes testing a lot easier.
The alternate keyring support almost worked but failed to lookup primary keys for decryption

@shyiko Is that looking better?

It's perfect. Thank you!


Feat/add size x-small to logo

This PR adds the size x-small to the Logo component and makes small changes to the sizes and Types descriptions.
the x-small size follows the scale down from other sizes.
Current sizes story:

PR sizes story:

Current types story description:

PR types story description:

@lolottetheclash I followed the scale down of previous sizes but you're right it was too small. increased the size for slogan hope you agree with the new size 😄

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


Remove time units for activeTime and timestamp fields in zes_engine_stats_t

Proposal here is to remove “microseconds” from activeTIme and timestamp. By obfuscating the units, we can directly use hardware counters that might be counting at frequencies different than microsecs/milliseconds. It also means that when we provide numbers to VFs, customers will not be assuming that these numbers are correlated to wall time. As the description says, the only purpose for these numbers is for a percentage calculation

@saik-intel @sanilkumar0 @joshuaranjan @jandres742 @wdamon-intel

this is just change on description, so we could do it on next major version.

targeting v1.8. @wdamon-intel : would that be ok?

@matcabral what do you think?

@aravindksg is your proposal limited only to zes_engine_stats_t or are you looking at doing it for all spec entries for microseconds? I think being able to draw a timeline is a desirable feature.  However, if this is only for zes_engine_stats_t i agree you would also need a way to query the source, to allow drawing a timeline with other timestamps. E.g. metrics.

@aravindksg is your proposal limited only to zes_engine_stats_t or are you looking at doing it for all spec entries for microseconds? I think being able to draw a timeline is a desirable feature. However, if this is only for zes_engine_stats_t i agree you would also need a way to query the source, to allow drawing a timeline with other timestamps. E.g. metrics.

@matcabral this is limited to only zes_engine_stats_t. For this usage scenario, user will only be using these values for a calculation of percentage utilization. so they could plot an utilization % graph against, but time I guess would be "host"/OS gettime rather than depending on the value reported in engine_stats_t. The values in engine_stats_t are to reflect HW counters (and not necessarily to infer time for the user)

Ok, I see that the proposal is to only remove it from activeTime and not the timestamp.  I agree with the idea of the change, but leaves few loopholes:

Activetime: will rename to activecounter?
The formula in the description goes with time / time to get a % . will end with a unit of 1/time ?

Bw, also related to the process mapping the timestamps. The description explicitly says not do to it. But following what we did in metrics (synchronize metrics timestamps API), we should consider adding an API allow doing this in sysman.

Ok, I see that the proposal is to only remove it from activeTime and not the timestamp. I agree with the idea of the change, but leaves few loopholes:

Not only from activeTime. but remove mention of (micro)secs from both activeTime and timestamp. Both are intended to be raw counter info.

Activetime: will rename to activecounter?
The formula in the description goes with time / time to get a % . will end with a unit of 1/time ?

unfortunately can't rename in minor version change since it would break ABI. if we need to do that then possibly deprecate this and create new extension struct. (TBH active"time" and "time"stamp are misnomers, but it is what it is)

Bw, also related to the process mapping the timestamps. The description explicitly says not do to it. But following what we did in metrics (synchronize metrics timestamps API), we should consider adding an API allow doing this in sysman.

as mentioned above, intention is to only provide raw counter info. so calculation would be in same "units" which may not need to be exposed to user. All user would care about is to derive  % utilization based on these two values. so for this "timestamp" value don't think we need to add new APIs to synchronize timestamps.

Summary, I think the change is OK.
My comment about the synchronization timestamp APIs is beyond the scope of this change.  There could be value for tools relating the metric collected vs the known the engine utilization at a given point in the the timeline.


Total field and more are null on CreditNotes when filtering by CreditNoteID

Using the CreditNoteID filter we get responses with lots of null fields.
Using the Where filter instead (filtering by date in our case) we get responses that are correctly populated, for the exact same credit note.
Observed using the Java SDK.

Hi @george-y
There are naturally going to be a lot of fields that are null as many are not required.  I did find one issue with the OpenAPI Spec.  Credit Notes did not have a "Payments" array defined.  So I'm correcting that and will release a new version of the Java SDK.
I'm compared the JSON data returned to the parsed Java Object and this is the only "missing" property I could identify.


Behaviours propagate error details to FragmentResult

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
{
  "operation": {},
  "response": {
    "transition": "fallback", # FR.transition
    "log": {
      "invocations": [
        {
          "transition": "_error",
          "log": {
            "request": {},
            "response": {}
          },
          "error": {
            "code": "INVALID_STATUS_CODE",
            "message": "Internal Server Error"
          }
        },
        {
          "transition": "_error",
          "log": {
            "request": {},
            "response": {}
          },
          "error": {
            "code": "INVALID_STATUS_CODE",
            "message": "Internal Server Error"
          }
        }
      ],
      "transition": "fallback",
      "log": {}
    }, # result.log
    "error": {
      "code": "INVALID_STATUS_CODE",
      "message": "Internal Server Error"
    }
  }
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

1a. Extend ActionInvocationLog with transition and errors
1b. Alternatively, consider putting whole fragmentResult as field instead of doActionLog, transition and errors
2a. Rename success to consideredSuccess
2b. Remove success flag?
2c. Instead of success, create an invokerLog field (as JSON)?
Motivation for 2: it's the behaviour (CB or cache action) who decides whether the invocation was successful or not.
This information should be distinguished from the data pulled from FragmentResult.

Please add a comment with the example log.

Please add a comment with the example log.

Ok, so the current solution (merged to master at this time) is as following:
Invoking an action from another one (called a behaviour) may result in a few different outcomes.

If action fails in a way that it does not complete (does not deliver FragmentResult), but rather throws an exception (or such an exception is delivered asynchronously), the exception is stored in the error field.
Otherwise, if action delivers FragmentResult, then it remains its responsibility to populate the information on any errors that occured during processing into this FragmentResult.

Action may use FragmentResult's error field or provide these details in its ActionLog.

Ok, so the current solution (merged to master at this time) is as following:
Invoking an action from another one (called a behaviour) may result in a few different outcomes.

If action fails in a way that it does not complete (does not deliver FragmentResult), but rather throws an exception (or such an exception is delivered asynchronously), the exception is stored in the error field.
Otherwise, if action delivers FragmentResult, then it remains its responsibility to populate the information on any errors that occured during processing into this FragmentResult.

Action may use FragmentResult's error field or provide these details in its ActionLog.


Remove incorrect logic from GetFullyQualifiedName()

I think this logic was originally added with the assumption that any hostname with a dot in it was an FQDN. I believe this is incorrect. The hostname is the hostname regardless of included dots, and getting the FQDN amounts to always querying for the canonical name.
@daxian-dbw I think this is the rest of the fix for the bug we ran into on launch day. The current was still buggy for me when I had a machine whose hostname was localhost.localdomain.

Hi @andschwa, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Andy Schwartzmeyer). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

LGTM.


Unhandled Exception when utility solution file is run from within Visual Studio 2015

This post should be considered a virtual duplicate of issue #21 with the only difference being that the method used to run the utility in this case is opening the solution file within Visual Studio 2015 and the level of detail surrounding the exception itself.
Steps to recreate

Download the utility from github
Unblock the zip file contents using the properties menu
Open the resulting solution file path = CRMJSWebAPIServiceUtil-master\CRMJSWebAPIServiceUtil-master\CRMJSWebAPIServiceUtil.sln
Hit the 'Login to CRM' button on the utility screen
Hit F5 from inside of Visual Studio 2015 to run the solution
Enter connection information into the resulting dialog window

Results in
System.Exception was unhandled by user code
HResult=-2146233088
Message=Error retrieving solutions: NotImplemented
Source=CRMJSWebAPIServiceUtil
StackTrace:
at CRMJSWebAPIServiceUtil.MainWindow.d__31.MoveNext() in G:\CRM\CRMJSWebAPIServiceUtil-master\CRMJSWebAPIServiceUtil-master\CRMJSWebAPIServiceUtil\CRMJSWebAPIServiceUtil\MainWindow.xaml.cs:line 282
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at CRMJSWebAPIServiceUtil.MainWindow.<LoginButton_Click>d__30.MoveNext() in G:\CRM\CRMJSWebAPIServiceUtil-master\CRMJSWebAPIServiceUtil-master\CRMJSWebAPIServiceUtil\CRMJSWebAPIServiceUtil\MainWindow.xaml.cs:line 197
InnerException:
NuGet Package Information
AjaxMin - installed version 5.14.5506.26202
Newtonsoft.Json - installed version 9.0.1
Microsoft.IdentityModel.Clients.ActiveDirectory - 2.28.1
Packages.config screenshot

Applied pull request #23 which I believe will fix this issue.
Please sync and test again. Let me know if it worked and we can close this issue.


multiple artifacts with the identical extension and classifier

What went wrong:

Execution failed for task ':publishMavenJavaPublicationToSonatypeRepository'.

Failed to publish publication 'mavenJava' to repository 'sonatype'
Invalid publication 'mavenJava': multiple artifacts with the identical extension and classifier ('jar', 'javadoc').

I used to use the other two plugins and my uploads looked like this:

Now that I have switched too the new plugin it errors. I'm new to java/gradle so I don't really know whats going on. I managed to make my gradle not create the sources.jar and now it seems to work.
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :compileJava NO-SOURCE
> Task :compileGroovy
> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :generateMetadataFileForMavenJavaPublication
> Task :generatePomFileForMavenJavaPublication

> Task :groovydoc
Trying to override old definition of task fileScanner

> Task :groovydocJar
> Task :initializeSonatypeStagingRepository SKIPPED
> Task :signMavenJavaPublication
> Task :publishMavenJavaPublicationToSonatypeRepository
> Task :publishToSonatype
> Task :closeSonatypeStagingRepository SKIPPED

BUILD SUCCESSFUL in 26s
8 actionable tasks: 8 executed

I don't know what a sources jar is or why it might be needed or not needed. Just thought I would let you know about the change in behavior.
Thanks for these nexus plugins. It was the only part of the java ecosystem I found user-friendly.
edit:
I'm not sure what it means by StagingRepository SKIPPED. Do I have to do something different for snapshots? After running I logged into nexus to "close" and I couldn't find anything. So I searched for my project and found it.

but I only see the javadocs not the actual code?

So I tried later with a non snapshot and I can see the package in the staging area but it fails with Missing: no sources jar found in folder '/io/github/dontshavetheyak/jenkins-std-lib/0.2.10'
hmm

Defintly something I was doing. Finally got it figured out. Will need to brush up on snapshots but everything is setup and fully automated with github actions now. 🎉


minimum compileSdkVersion fix (Android)

Project won't compile on recent SDK due to missing android:attr/colorError. Minimum SDK for those attributes to work are 26

This seems to have been fixed since the PR. Thanks for the contribution though


Tag table usage

Please document the usage of the 'tag' table and config files.

Basic information about tags usage located here https://github.com/lomik/graphite-clickhouse/wiki/TagsRU . Now in Russian. I will try to translate it in the near future.
Short manual:

Create table and enable it in config: tag-table = "graphite_tag"
Create files with rules: /etc/graphite-clickhouse/tag.d/*.conf
Run graphite-clickhouse -tags for fill table graphite_tag (put it into crontab)
Check _tag directory in graphite web ui

Echoing the request for more documentation on tags. I'm having issues getting tags to work at this end and I would like to make sure everything is correct before I open more issues.

@volfco you might want to look into the new graphite tag system. #18 has a short description with links.


Re-Running activity_classifier.create on the same exact training dataset produces models with different accuracies.

I am splitting my dataset using a seed value, so I know that whenever I run the statement it will create the same training and test set
train, test = tc.activity_classifier.util.random_split_by_session(data, session_id='session_id', fraction=0.95,seed=4)
however, whenever I recreate the model like so
model = tc.activity_classifier.create(train, session_id='session_id', target='label', prediction_window=10,max_iterations=200) it will produce different accuracies when evaluated metrics = model.evaluate(test) print(metrics['accuracy'])
I'm not sure how turicreate activity classifier works in the background, but can this be due to the random initialization of weights when training the neural network? If so, how can we seed this random weight initialization value as well to give better consistency when training the model?

After doing further investigation, we can see that , even for the same exact training data, the loss values are different
Experiment 1:

Experiment 2:

It may help to fix the mxnet seed, for example:
import mxnet as mx
mx.random.seed(0)

@velociraptor111 - Are you still seeing this behavoir with TuriCreate 6.1?

Hi sorry , I decided to use a different technology stack instead. Closing, this issue now.


Fix a string type. [phab:D1307]

Created by zarko at 2017-02-06 18:44:18:

fromberger accepted this revision at 2017-02-06 18:45:08

zarko closed via commit fd5f94f2ab6f92dc70dc736bfda662cc33131d8f at 2017-02-06 18:52:37


Fix prvPeriod in AnalogIO - starting value<PHONE_NUMBER> on SAMD

Separating this out from #538

Looked like that was the only initialisation route, and I spotted the
difference in usage of prvPeriod (which seemed best solution) between
analogIO and digitalIO (which looks fine to me)
On Wed, 17 Jan 2024, 16:04 Brent Rubell, @.***> wrote:

@.**** commented on this pull request.
In src/components/analogIO/Wippersnapper_AnalogIO.cpp
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/539#discussion_r1455948173
:

@@ -145,6 +145,7 @@ void Wippersnapper_AnalogIO::initAnalogInputPin(
if (_analog_input_pins[i].enabled == false) {
_analog_input_pins[i].pinName = pin;
_analog_input_pins[i].period = periodMs;

 _analog_input_pins[i].prvPeriod = 0L;

@tyeth https://github.com/tyeth Is there anywhere else in the analogio
or digitalio class this bug is present?
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/539#pullrequestreview-1827648137,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTBZ4YYFASW32UYX5VFTOTYO7Y7FAVCNFSM6AAAAABB6Y7V3SVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQMRXGY2DQMJTG4
.
You are receiving this because you were mentioned.Message ID:
@.***
.com>

We are going to refactor these two classes during the api-v2 transition so I wouldn't worry too much about that. Thanks for taking a look, LGTM.


My plunk has been deleted

I did a plunk with the number TtJC76. Today I wanted to send the link somebody but it seems to be gone. Ary plunks deleted automatically after a while?

@ggoodman
I have my private plunks. one of my plunk got deleted accidentally .  I don't have plunk number.
I was accessing the plunk in https://plnkr.co/edit/FcXqUd0J5n7QMXuklyOd?p=preview
Now I can't see that plunk. Please help to recover that plunk.

@kousimca87 if you clicked 'Delete' and confirmed deletion, I am unable to recover your plunk.

Yes Goodman . I am new to angular js as well plunker. I was checking
versions of my plunk and pressed confirm deletion button accidentally. I
need to send that plunk. Is there any way to recover??.. Please suggest.
Thank you.
On 13 Jun 2017 5:43 pm, "Geoff Goodman"<EMAIL_ADDRESS>wrote:

@kousimca87 https://github.com/kousimca87 if you clicked 'Delete' and
confirmed deletion, I am unable to recover your plunk.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/filearts/plunker/issues/19#issuecomment-308096573,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGHpcT_os94enWX3mJBoH_Sw8AKMDus1ks5sDnzmgaJpZM4ASKFW
.

@ggoodman Hi I accidentally deleted my plunk. it was at the given link.
https://plnkr.co/edit/uBqzY8GaRZUJrhKMDavh?p=info
after delete, I am not able to access it anyway. can you make it available to me again, please?


[BUG] Linked or Prototyped Actor Token can't be mounted?

Module Version: v0.0.0
Foundry Version: v10.291
Game System: dnd5e v2.1.4
Describe the bug
When trying to mount a linked token with the "is mount" option checked, the module reports it not being a mount. There may be something involving prototype tokens, but I am not 100% certain.

From some testing:
Hercules (Linked Token)

Prototype token with mount flag set: Fail
Prototype without flag set, check box on dropped token: Fail

Riding Horse (Unlinked Token)

Prototype token with mount flag set: Fail
Prototype without flag set, check box on dropped token: Success!
Assign that token to prototype, drop new horse: Fail

should be fine now with 3.4.1, but I haven't done all the tests due to lack of time let me know if you find any other problems

Still appears to fail, with the same message

Just checked seem to work... what browser are you using ? are you sure you are trying to use the right token as Mount ?

I don't know what to tell you I tested again and everything works. Does the error of happen only as a player or also as a GM ?

In the meanwhile, while i'll investigate a little further on version 3.4.2. i add amodule settings for disable the token configuration check

I add a hook on the 'createToken' on version 3.4.3 , maybe i solved the issue ?

The newest update appears to have fixed things for me!


fix(dispatch): avoid deadlock at exit time

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

/kind flaky-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area library

/area broker

/area protocol-buffers

/grafana-dashboard

/area collectors

/area tests

/area examples

What this PR does / why we need it:
When a sigterm is received the active goroutines exits, and the subscriber
connections are closed. When a subscriber connection is closed it sends
a message to the dispatcher goroutine saying that it is done. But if the
dispatcher goroutine does not retrieve the messages from the buffered channel
of length 1, causes the subscribers to hang. This fix ensures that the dispatcher
goroutines do not exit without waiting for all the subscriber's connections to be closed.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alacuku
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [alacuku]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alacuku, Andreagit97
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,alacuku]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: alacuku, Andreagit97
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,alacuku]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Feat: TES struct

This PR contains the TES struct.
Please ignore the files:

lib/src/configuration.rs
lib/src/transport.rs
lib/src/serviceinfo/mod.rs

as these files will be merged from #26 and #30, and these files are only present to have the appropriate definitions here as well and analyze only the file lib/src/tes/mod.rs

Summary by Sourcery
Introduce TES struct and related models for managing task execution services, implement Transport struct for HTTP requests, add configuration management, and set up CI/CD workflows and tests.
New Features:

Introduce TES struct for managing task execution services, including task creation, status checking, cancellation, and listing tasks.
Add support for serializing and deserializing TES-related models such as TesTask, TesState, TesExecutor, and TesResources.
Implement a Transport struct for handling HTTP requests with methods for GET, POST, PUT, and DELETE operations.
Add a Configuration struct to manage API request configurations, including base path, user agent, and authentication details.

Enhancements:

Add utility functions for URL encoding and JSON serialization.
Implement error handling and logging for HTTP requests and responses in the Transport struct.

Build:

Add build-models.sh script to generate models using OpenAPI specifications.
Add rustfmt.toml configuration file for code formatting.

CI:

Add GitHub Actions workflows for CI/CD, including local.yml for local testing and ci.yml for GitHub CI/CD.
Implement caching for Rust dependencies, build output, Maven dependencies, Go modules, and Funnel dependencies in CI workflows.

Documentation:

Add README.md with instructions for building the project, running tests, and testing the CI/CD workflow locally.

Tests:

Add unit tests for TES struct methods including task creation, status checking, cancellation, and listing tasks.
Add unit tests for Transport struct methods to ensure correct HTTP request handling.
Add test_utils module for setting up test environment and ensuring Funnel server is running.

Lots of unnecessary files got added


Add new props cycle, disableSeek, hideForwardSkip

Hey! Neat project. I have added a few new options for my own needs, and I thought I would give you the option of merging them for others to use if you felt it was appropriate. I have one more change in mind, but it is unrelated so I will open a separate PR for it soon.
These are the options I added.

hideForwardSkip: a boolean value that if true disables the forward skip button by hiding it from view. false by default.
disableSeek: a boolean value that if true prevents seeking. false by default.
repeat: a boolean value that if true continues playing from the beginning after the playlist has completed. true by default.

I have tested these changes locally without issue. I'm happy to change or remove any of the options as well if you don't want all of them.

@prettymuchbryce Perhaps cycle instead of repeat?

Thanks for your feedback! Good call on the immutable param. That's not something I normally do, but it's a good habit now that I think about it.
I've changed the option to cycle. I'm partial to using something like repeatPlaylist (making room for repeatTrack in the future), but if you still prefer cycle then this should do it.

I expect the interface will need to be changed in the future if we include something like track repeats, but I'll stick with cycle for now. Moving forward I would be interested in thinking about controls for perhaps swapping between norepeat/playlist repeat/track repeat (as some sort of enumerable).
Thanks for the changes!

@prettymuchbryce relevant: #53.


CDS Data

GenerateRandomResponses()
Dim ws As Worksheet
Set ws = ThisWorkbook.Sheets("Responses") ' Change to your sheet name
Dim i SubAs Long
Dim lastRow As Long
Dim age As Integer
Dim gender As String
Dim education As String
Dim occupation As String
Dim residenceLength As String
Dim impactRating As String
Dim needsAddressed As String
Dim infrastructureImprovements As String
Dim satisfactionQuality As String
Dim communitySatisfaction As String
Dim areasForImprovement As String
Dim capacityInfluence As String
' Clear previous responses
ws.Cells.ClearContents

' Set headers for the response columns
ws.Range("A1").Value = "Respondent ID"
ws.Range("B1").Value = "Age"
ws.Range("C1").Value = "Gender"
ws.Range("D1").Value = "Educational Level"
ws.Range("E1").Value = "Occupation"
ws.Range("F1").Value = "Length of Residence"
ws.Range("G1").Value = "Impact Rating"
ws.Range("H1").Value = "Needs Addressed"
ws.Range("I1").Value = "Infrastructure Improvements"
ws.Range("J1").Value = "Satisfaction Quality"
ws.Range("K1").Value = "Community Satisfaction"
ws.Range("L1").Value = "Areas for Improvement"
ws.Range("M1").Value = "Capacity Influence"

' Define possible responses for each question
Dim genders As Variant
genders = Array("Male", "Female", "Other")

Dim educationLevels As Variant
educationLevels = Array("Primary", "Secondary", "Tertiary", "Other")

Dim residenceLengths As Variant
residenceLengths = Array("Less than 1 year", "1-5 years", "More than 5 years")

Dim impactRatings As Variant
impactRatings = Array("Very High Impact", "High Impact", "Moderate Impact", "Low Impact", "No Impact")

Dim needsAddressedOptions As Variant
needsAddressedOptions = Array("Employment opportunities", "Health services", _
                               "Education and literacy programs", "Community engagement and empowerment")

Dim infrastructureImprovementsOptions As Variant
infrastructureImprovementsOptions = Array("Roads and transportation facilities", _
                                           "Water supply and sanitation services", _
                                           "Community centres or recreational facilities", "Other")

Dim satisfactionQualityOptions As Variant
satisfactionQualityOptions = Array("Very Satisfied", "Satisfied", "Neutral", _
                                    "Dissatisfied", "Very Dissatisfied")

Dim areasForImprovementOptions As Variant
areasForImprovementOptions = Array("Communication with the community", _
                                    "Quality of services provided", _
                                    "Frequency of community engagement activities", "Other")

Dim capacityInfluenceOptions As Variant
capacityInfluenceOptions = Array("Very Positively", "Positively", _
                                  "Neutral", "Negatively", "Very Negatively")

' Generate random responses for 200 respondents
For i = 2 To 201 ' Start from row 2 to row 201 for 200 respondents

    ' Generate random demographic data
    age = Int((70 * Rnd) + 18) ' Random age between 18 and 87

    gender = genders(Int(Rnd * UBound(genders) + 1))
    education = educationLevels(Int(Rnd * UBound(educationLevels) + 1))
    occupation = "Occupation" & (Int((50 * Rnd) + 1)) ' Placeholder for occupation

    residenceLength = residenceLengths(Int(Rnd * UBound(residenceLengths) + 1))

    ' Generate random evaluation responses
    impactRating = impactRatings(Int(Rnd * UBound(impactRatings) + 1))

    ' Select random needs addressed (up to 2)
    needsAddressed = ""
    For j = 0 To Int(Rnd * (UBound(needsAddressedOptions) + 1))
        If j > 0 Then needsAddressed = needsAddressed & ", "
        needsAddressed = needsAddressed & needsAddressedOptions(Int(Rnd * UBound(needsAddressedOptions)))
    Next j

    ' Select random infrastructure improvements (up to 2)
    infrastructureImprovements = ""
    For j = 0 To Int(Rnd * (UBound(infrastructureImprovementsOptions) + 1))
        If j > 0 Then infrastructureImprovements = infrastructureImprovements & ", "
        infrastructureImprovements = infrastructureImprovements & infrastructureImprovementsOptions(Int(Rnd * UBound(infrastructureImprovementsOptions)))
    Next j

    satisfactionQuality = satisfactionQualityOptions(Int(Rnd * UBound(satisfactionQualityOptions) + 1))

    communitySatisfaction = satisfactionQualityOptions(Int(Rnd * UBound(satisfactionQualityOptions) + 1))

    areasForImprovement = ""
    For j = 0 To Int(Rnd * (UBound(areasForImprovementOptions) + 1))
        If j > 0 Then areasForImprovement = areasForImprovement & ", "
        areasForImprovement = areasForImprovement & areasForImprovementOptions(Int(Rnd * UBound(areasForImprovementOptions)))
    Next j

    capacityInfluence = capacityInfluenceOptions(Int(Rnd * UBound(capacityInfluenceOptions) + 1))

    ' Fill in the worksheet with generated data
    With ws.Rows(i)
        .Cells(1, 1).Value = i - 1 ' Respondent ID
        .Cells(1, 2).Value = age ' Age
        .Cells(1, 3).Value = gender ' Gender
        .Cells(1, 4).Value = education ' Educational Level
        .Cells(1, 5).Value = occupation ' Occupation
        .Cells(1, 6).Value = residenceLength ' Length of Residence in Agbara LCDA
        .Cells(1, 7).Value = impactRating ' Impact Rating
        .Cells(1, 8).Value = needsAddressed ' Needs Addressed
        .Cells(1, 9).Value = infrastructureImprovements ' Infrastructure Improvements
        .Cells(1, 10).Value = satisfactionQuality ' Satisfaction Quality
        .Cells(1, 11).Value = communitySatisfaction ' Community Satisfaction
        .Cells(1, 12).Value = areasForImprovement ' Areas for Improvement
        .Cells(1, 13).Value = capacityInfluence ' Capacity Influence
    End With

Next i

End Sub

Assuming spam.


getting failed while installation through generated menifest

Bug description
I am experiencing an issue on istio installation through generated manifest.
It automatically stopped after few installations and shows Error from server (NotFound): error when creating "generated_default_proile_manifest_1_5_1.yaml": namespaces "istio-system" not found
after that, I have run it again and the problem is not coming on direct installation.
[X] Configuration Infrastructure
[X] Docs
[X] Installation
[ X] Networking
[ X] Performance and Scalability
[ X] Policies and Telemetry
[ X] Security
[ X] Test and Release
[ X] User Experience
[X ] Developer Infrastructure
Expected behavior
serviceaccount/istio-mixer-service-account created
Error from server (NotFound): error when creating "generated_default_proile_manifest_1_5_1.yaml": namespaces "istio-system" not found
Error from server (NotFound): error when creating "generated_default_proile_manifest_1_5_1.yaml": namespaces "istio-system" not found
[unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "Policy" in version "authentication.istio.io/v1alpha1", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "Gateway" in version "networking.istio.io/v1alpha3", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "Sidecar" in version "networking.istio.io/v1alpha3", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "EnvoyFilter" in version "networking.istio.io/v1alpha3", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "attributemanifest" in version "config.istio.io/v1alpha2", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "instance" in version "config.istio.io/v1alpha2", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "handler" in version "config.istio.io/v1alpha2", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "rule" in version "config.istio.io/v1alpha2", unable to recognize "generated_default_proile_manifest_1_5_1.yaml": no matches for kind "DestinationRule" in version "networking.istio.io/v1alpha3"]

Steps to reproduce the bug
During installations
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istioctl version --remote
client version: 1.4.6
control plane version: 1.5.1
data plane version: 1.5.1 (2 proxies)

kubectl version
kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.4", GitCommit:"8d8aa39598534325ad77120c120a22b3a990b5ea", GitTreeState:"clean", BuildDate:"2020-03-12T23:41:24Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.10-eks-bac369", GitCommit:"bac3690554985327ae4d13e42169e8b1c2f37226", GitTreeState:"clean", BuildDate:"2020-02-26T01:12:54Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

helm version
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.14"}
How was Istio installed?
istioctl manifest generate --set profile=default --set values.grafana.enabled=true --set addonComponents.grafana.enabled=true --set values.prometheus.enabled=true --set values.grafana.enabled=true --set values.tracing.enabled=true --set values.pilot.traceSampling=100 --set values.kiali.enabled=true --set "values.kiali.dashboard.jaegerURL=http://jaeger-query:16686" --set "values.kiali.dashboard.grafanaURL=http://grafana:3000" --set components.telemetry.enabled=true --set values.galley.enableAnalysis=true --set values.kiali.createDemoSecret=true --set values.global.proxy.accessLogFile="/dev/stdout" > generated_default_proile_manifest_1_5_1.yaml
k apply -f generated_default_proile_manifest_1_5_1.yaml

Environment where bug was observed (cloud vendor, OS, etc)
AWS EKS

after that, I have run it again and the problem is not coming on direct installation.

Yes, the manifest generate may have the transient errors due to the order. In your case, istio-system namespace must be created first. The docs mentions about it.
https://istio.io/docs/setup/install/istioctl/#generate-a-manifest-before-installation

This command might show transient errors due to resources not being available in the cluster in the correct order.

You should be able to avoid the issue if you use istioctl manifest apply

@nak3
thanks for reply
I can't make it directly  like this istioctl manifest apply or istioctl manifest  --set profile=demo apply
some feature will work for me, that's infra related not an Istio..
Can you please provide me also is there any proper docs for setup Istio with AWS internal load balancer.

Can you please provide me also is there any proper docs for setup Istio with AWS internal load balancer.

seems separate discussion on discuss.istio.io or slack.


The screen jumps up and down a bit as I type new message in a scrolled chat in safari

          This is a bit jumpy on safari as I type. I'll merge as is and we can tackle it in a separate PR.

Originally posted by @vojtechsimetka in https://github.com/logos-innovation-lab/waku-objects-playground/issues/135#issuecomment-1617315866

@vojtechsimetka
I tested this on Chrome, Brave, Firefox and Safari, none of them behaved weird. They all do some sort of small jump when a new line is added but that's to be expected, since the chat continues to be scrolled all the way to the bottom. Are you still having this issue?


Any way to incorporate these methods in other tasks easily?

Hi, thanks for your excellent job! I wonder is there any way to easily incorporate this method into other multi-tasks learning pipeline? I'm still trying to understanding the formulas and have no idea where I can obtain a noise scalar for each task. Looking forward to your reply :)

@Jacobew Hi, I have the same problem did you figure out how to solve it ?

Hi @Jacobew  and @tamaraalshekhli , the task noise is an additional trainable parameter, although not an additional output of your network. What makes it the noise is the computation of the loss detailed in the paper and implemented on this github.

@mikael10j , thank you for your reply, I found difficulties to make  this implementation works with my pipeline, did you managed to make it works for you? sorry for my basic question but Im kind of new on the deep learning and im facing a lot of difficulties to make my MT network working.

@tamaraalshekhli , if you use TF, it should be straightforward as every thing is described in Y. Gal's notebook.

@mikael10j thank you for your reply, im using keras and TF as abackend, please correct me if im wrong, according to the cod i need to define two models one predicting  model and the other one is suppose to be similar but this one suppose to be trained, and implementing the loss as a layer at the out put layer of the model?

@tamaraalshekhli  I'm not familiar with Kera (I use PyTorch), but if I understand correctly, get_prediction_model defines the model that learns to reconstruct the data and get_trainable_model combines the output of the model and the custom multi loss that learns the logvars. Imo you don't need to follow the same strategy, the important part to understand is the CustomMultiLossLayer. Again I'm not a specialist of Keras.

@mikael10j thank you very much for your help, have you tried to train you MT model with different loss ? when i used for example binary cross entropy ( binary segmentation task) the model gave me good predictions for one task and a very bad predictions for the other one even when i tried different values for the weight loss


Fix apply condition to unique table value columns incorrectly

Proposed changes
Fix apply condition to unique table value columns incorrectly,
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] Documentation Update (if none of the other choices apply)
[] Code refactor (Modify the code structure, format the code, etc...)

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

[] I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[] I have added tests that prove my fix is effective or that my feature works
[] If these changes need document changes, I have updated the document
[] Any dependent changes have been merged

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

UT pass but push result to github failed. ignore it.

UT pass but push result to github failed. ignore it.


fix: update contribution guidelines (#614)

fixes #614.
Removed incorrect script references.

:+1:

👍

:+1:


Bugfix/173 compile warnings

Pull Request Information
Relates to Github Issue: #173

What is the PR Type: refactoring

Describe the added/fixed behaviour: Removed compile warnings found on front-end

Checklist

[x] Pull request has suitable title, adequately described and associated with a github issue
[x] Branch name follows correct convention (e.g. feature/[id]-some-feature)
[x] Branch builds and executes with no errors
[ ] Test cases has been generated for the feature and test cases pass
[ ] Updated relevant wiki/documentation

Additional Information
DO NOT MERGE IN YET!!! Wait until all other branches have been merged in as more compile errors make be introduced

Final Reminders
Please remember to squash the commits

Will be closed by #204

Will be closed by #204


Get contents of build.prop before reading values

Get the contents of build.prop before reading
its values to prevent internal error.
Fixes: "Use the internal ROM timestamp from build.prop"

Nice catch, very sorry!


Allow Quip New Document command from the Reading View

The Quip publish as new document command is not available if the note is in Reading view.  Not a huge deal to swap to edit view, but I am using another plugin [ https://github.com/bwydoogh/obsidian-force-view-mode-of-note ] to force certain "dashboard/summary" notes to always be in reading view (due to rendering reasons, using custom buttons, etc).  So, exporting these specific pages will always require swapping to Editing view, exporting and then swapping back.  And unfortunately for me, these are the kind of notes I will be looking to export.
Would be nice if the command was available from the reading view, even if it needs to temporarily and automatically swap to editing, export and then swap back.

This doesn't look like it should be hard to tackle.

Reproduced issue with current tip code.