NIFI-190: Initial commit of Wait and Notify processors

Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

[x] Is your initial contribution a single, squashed commit?

For code changes:

[x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[x] Have you written or updated unit tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[x] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

Reviewing...

I like the idea about waiting for N signals.  I think it can be done by adding a getKeys(Pattern) method to the distributed cache, so maybe it's best captured in a separate ticket.

That makes sense, I think we can add that functionality later. I created this JIRA to track the changes for the DistributedMapCacheClient https://issues.apache.org/jira/browse/NIFI-3214, then we can eventually use that to determine if there are N keys in the cache matching a pattern, and release based on that.
I'm a +1 on this PR as is and will merge shortly, thanks for reviving this ticket!


Sphinx build (GitHub Action): no module named 'build'

Sphinx build fails on remote for unknown reason since 5bb4188. The Warning in the GitHub action execution (Build docs step here) states "no module named 'build'"; however, I am not trying to add a module with that name, and the warning applies to every module it tries to add (and thus, documentation for all modules on the remote is empty).
The really weird thing is that this commit does not change anything even remotely related to Sphinx, I have no idea where the problem lies. The commit changes formatting in the batch writer and refactors the corresponding test, none of which should affect Sphinx.
I also tried re-running the older actions to check whether a Sphinx update broke something, but the older builds still re-run without problems. In addition, the local Sphinx build (VSCode preview function) still works as well.

See here :)
https://github.com/saezlab/BioCypher/blob/b7fab59869f5d054813eb28ed15a5cd475b9df07/biocypher/driver.py#L30

Cool, thanks!
I guess if I push multiple commits at once, only the latest one gets built by the action, right? So this is why there was no change in that specific commit.

I guess if I push multiple commits at once, only the latest one gets built by the action, right?

Yes


feat: Meta Parent Policy Template compiler

Description
Eliminates need to manually create/maintain the Meta Parent Policy Templates
Normalizes implementation of the Meta Parent Policies (field names, labels, etc..)
Link to Example Applied Policy
Example updated Meta Parent Policies that have been compiled with script and applied:

https://app.flexera.com/orgs/27018/automation/applied-policies/projects/116186?policyId=64a63eb7ece4e60001bb0bf8
https://app.flexera.com/orgs/27018/automation/applied-policies/projects/116186?policyId=64a63e69807aa90001aad548
https://app.flexera.com/orgs/27018/automation/applied-policies/projects/116186?policyId=64a60f51807aa90001aad13d
https://app.flexera.com/orgs/27018/automation/applied-policies/projects/116186?policyId=64a60f14ece4e60001bb085a
https://app.flexera.com/orgs/27018/automation/applied-policies/projects/116186?policyId=64a60c1eece4e60001bb07a9
https://app.flexera.com/orgs/27018/automation/applied-policies/projects/116186?policyId=64a60bc9ece4e60001bb0796
(( expect that meta parent incidents are functionally the same as before ))

Contribution Check List

[X] New functionality has been documented in the README if applicable
[X] New functionality has been documented in CHANGELOG.MD

Danger has errored
[!] Invalid Dangerfile file: bad URI(is not URI?): https//githubcom/flexera-public/policy_templates/actions/workflows/generate-meta-parent-policy-templatesyaml/badgesvgevent=push]https//githubcom/flexera-public/policy_templates/actions/workflows/generate-meta-parent-policy-templatesyaml. Updating the Danger gem might fix the issue. Your Danger version: 8.4.2, latest Danger version: 9.3.1
 #  from Dangerfile:66
 #  -------------------------------------------
 #           url_string = url.to_s.gsub(/[!@#$%^&*(),.?":{}|<>]/,'')  #remove extra chars
 >           url = URI(url_string) #convert to URL
 #           # check for a valid host.  skip urls that are dynamicly constructed may not have a valid hostname
 #  -------------------------------------------

Generated by 🚫 Danger

Ignoring this error.. it's a false positive on the GitHub Actions status icon badge.  Can fix/enhance Dangerfile with another PR.. but should only fail again if we modify the README.md 3bfe34c


Feature/lazy load table category data

on categorySlug page load, fetchMapDataForSelectedCat is called, fetching census data for all LADs for selected category, and dataBreaks for both LAD and LSOA for selected category
once above data is fetched, lazyLoadFullTableMapData is called, fetching census data and  dataBreaks for all LADs for all categories within table
updateMap function is called on categorySlug page load, and when category changes, and when the map bounding box changes.  This fetches LSOA bounding box census data and data breaks for the selected category
refactors dataBreaks store to a Map to allow breaks for multiple categories to be stored
fixes several bugs causing components to rerender unnecessarily which caused the map, censusTableByLocation and DisplaySelectedCatFigures components to be jumpy
tests most of the above

Thanks for the chat @vmilitaru @patrickjfl 👍
The plan is to merge this PR and reconvene in a couple of weeks on routing and data loading architecture @VivianAllen.


Could not find a declaration file for module 'react-image-mapper'.

Looks like this module doesn't provide any typings, so..
I use Example from docs and Get this error with typescript:

Could not find a declaration file for module 'react-image-mapper'.

There is no TypeScript types for this project. So what you could do is to write these and make a PR to DefinetelyTyped, then it can be installed by yarn add @types/react-image-mapper

Any update on this?


fix: replace uncompressed PNG wrapped in SVG with unwrapped compressed PNG

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


debug

fix some issue .
its work correctly for me.

@rezacloner1372 Thanks, but could you add a little bit more description of what your problem was and how this fixes that problem now?

hi
I could not get a positive result from the previous commit. But with small changes inside new commit, it became okay. :+1:
Bravo


Is this repo dead?

Is this repo dead?

Not dead yet, just a not a lot of things to work on. I personally want to play with training the instructpix2pix if possible.


jsonp response doesn't display error information.

What steps will reproduce the problem?
When $repsonseFormat is set to Response::FORMAT_JSONP, any exceptions will occur this problem.
What is the expected result?
Erorr infomation formatted to jsonp.
What do you get instead?
An empty 500 response.
Additional info

Q
A

Yii version
2.0.9

PHP version
7.0.11

Operating system
CentOS 6.5

Cause
Member function renderException in \yii\web\ErrorHandler  didn't process $process->data for jsonp format.

https://github.com/yiisoft/yii2/pull/11529

Accessing the callback name may be a problem here.

@kamarton ?

For now we decided not to implement JSONP.


[DATABASE] - Education

Description:
Migrate the education session to the database
Acceptance:
Have the same functionality however the data is persisted in the database

I need to change the way we persist data, today we save all entries at once every time, need to individualize it. To do so, I'll need to create new pages and modify the requests.
I'll create another issue for this and work in parallel with this one.


Add a command to create a new local terminal in the editor area

At the moment, we have:
Terminal: Create New Integrated Terminal (Local)
Terminal: Create New Terminal in Editor Area
I'd like:
Terminal: Create New Terminal in Editor Area (Local)
This would be a major quality of life win for me, as to the best of my knowledge there's not currently a way to do this.

I would also be down to submit a PR for this myself, if someone is willing to tell me what I have to change.


Unable to start service rekab.app.background_locator.IsolateHolderService

The plugin works when I run the app in debug mode. But the app crashes in release mode, and throws the following exception:

Any advice?

unable to start service...


Angular Universal support

This is good, any disadvantages using this compiler? Also how can I implement Angular Universal to this?
Thanks

hi @vforv. thanks for checking on this. sure, you can use this with Angular Universal. we have Angular Universal seed prepared too here.
What you would need to do is to compile server side code with webpack seed, then client side code compile with closure compiler. That would be it.
If you need any additional help or information don't hesitate to ask here. Also, if you need help importing 3rd party library with closure compiler open a new issue please. thanks, Jan.

Got error on webpack seed:
Error: Failed to lookup view "index" in views directory "dist"
    at EventEmitter.E.render (/home/master/Documents/angular-webpack-seed/dist/server.js:1138:4250)

Could you make exaple angular-closure-compiler + server side rendering?

I believe its just a issue with paths to index.html. Can you try running server from root of the project, ie node ./dist/server.js.

Tried, same error....
Listening on http://localhost:8000
GET: /: 3.028ms
Error: Failed to lookup view "index" in views directory "dist"
    at EventEmitter.E.render (/home/master/Documents/angular-webpack-seed/dist/server.js:1138:4250)
    at ServerResponse.S.render (/home/master/Documents/angular-webpack-seed/dist/server.js:1165:6657)
    at /home/master/Documents/angular-webpack-seed/dist/server.js:1089:69980
    at r.handle_request (/home/master/Documents/angular-webpack-seed/dist/server.js:842:302)
    at r (/home/master/Documents/angular-webpack-seed/dist/server.js:849:663)
    at r.dispatch (/home/master/Documents/angular-webpack-seed/dist/server.js:849:822)
    at r.handle_request (/home/master/Documents/angular-webpack-seed/dist/server.js:842:302)
    at /home/master/Documents/angular-webpack-seed/dist/server.js:835:1522
    at Function.w.process_params (/home/master/Documents/angular-webpack-seed/dist/server.js:835:2710)
    at s (/home/master/Documents/angular-webpack-seed/dist/server.js:835:1466)

guess you are doing something wrong, tried here with fresh clone, my steps:
git clone https://github.com/bleenco/angular-webpack-seed.git
cd angular-webpack-seed
npm install
npm run build:prod
node dist/server.js

and it works for me.
you mean compiling universal server side code with closure-compiler?

Yes that would be great if that possible... Currently all repos that I tried creates big bundle 350KB+... Just closure compiler makes it below 100KB...

you still don't need to compile server side code with closure, only client side code (browser).

compile your code with this repo
run angular-webpack-seed npm run build:prod
copy generated bundle.js from this repo to angular-webpack-seed's dist/app.bundle.js
run node dist/server.js

I believe that is what you want to achieve.

I will try it tomorrow but not sure it will render staff from client side...

I am not sure you understand difference between server side and client side compiling.

i don't understand fully how Angular Universal works... I know in universal cli I can write code for client and server side... But here if I just write code on client side I will get all content in browser?

server side code only works for rendering html before loading angular in the browser, that's why you run express server which bootstraps angular on the server side, generate html and serves that html to the browser. once browser initializes the application (client side) the whole html between <app-root></app-root> is re-rendered, but that happens so fast you cannot see any blinking or whatsoever.
the size of server-side generated code does not effect loading application in the browser, but client-side generated code does. so;

you want to compile client side code with the closure
you don't care if server-side code is bundled with webpack or rollup

please check again this steps and everything should be working as you want:

compile your code with this repo
run angular-webpack-seed npm run build:prod
copy generated bundle.js from this repo to angular-webpack-seed's dist/app.bundle.js
run node dist/server.js

hope I explained some things that was unclear at the beginning. cheers, Jan

Thanks for clarification, but still one thing not clear to me... How server know which code to render and get html from it?
I tried steps you provided now angular webpack seed works, but have problem when I try to merge bundle.js from this repo with webpack seed server... Text from this repo "app works!" not showing and when I change route page refresh(see loading indicator from browser tab).

server renders route that you provide in the browser. yeah, I don't doesn't work right off, but if you make angular webpack seed just a simple app works! app without lazy route and other stuff it should work.

Aha, but I will need in my apps routing, http and other staffs... Could you provide me steps how to make this work together?


feat(test): update webpack dep to 2RC and remove perf warnings

Coverage remained the same at 100.0% when pulling 9265d4bb126a3ab2670c6e61c45e58b074a2c89e on feature/update_webpack_dep into 724c05557eb52bc85a1a3be8572313d8c20128a0 on master.


Error calling CodeNarcServer via java : Could not reserve enough space for ...

Hi, i'm trying to get this extension working on Windows and using vscode.
When I tried to lint a groovy file in my IDE, i got :
npm-groovy-lint error: Fatal error while calling CodeNarc
Reason: unknown

undefined
If you still have an error, post an issue to get help: https://github.com/nvuillam/vscode-groovy-lint/issues

After more reading, I found this error in the logs:
2022-02-03T15:10:32.393Z npm-groovy-lint Error calling CodeNarcServer via java:
{"status":1,"stdout":"Error occurred during initialization of VM\nCould not reserve enough space for 2097152KB object heap\n""stderr":"",
"childJavaProcess":{"_events":{},"_eventsCount":2,"_closesNeeded":3,"_closesGot":3,"connected":false,"signalCode":null,
"exitCode":1,"killed":false,"spawnfile":"java","_handle":null,
"spawnargs":["java","-Xms256m","-Xmx2048m","-cp","\"c:\\Users\\    etc.

I tried to search this error on the web and found this : https://stackoverflow.com/questions/4401396/could-not-reserve-enough-space-for-object-heap
But I'm afraid the error is coming directly from the java command arguments in vscode-groovy-lint.
Looks like the same problem here : https://github.com/nvuillam/vscode-groovy-lint/issues/93#issuecomment-874596345
Any idea how to fix it please ?

CodeNarc (embedded within npm-groovy-lint, its embedded within VsCode GroovyLint) can be very resource consuming... how much RAM is there on your VM ? :/

CodeNarc (embedded within npm-groovy-lint, its embedded within VsCode GroovyLint) can be very resource consuming... how much RAM is there on your VM ? :/

I never used CodeNarc before, I not sure about which VM you are talking about. My computer has 16 GB of RAM. I can allocate more RAM to the "VM" if needed.

@Sunchock what java version are you using ?

@nvuillam
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) Client VM (build 25.131-b11, mixed mode)

@Sunchock this is fixed in newest release v3.0.0, thanks to the great job of @stevenh :)
Please can you confirm it works well for your case now ? (you might need to install java 17 or higher)

If yes, please rate the app -> https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint&ssr=false#review-details
If not, please reopen the issue and we'll check :)

@Sunchock this is fixed in newest release v3.0.0, thanks to the great job of @stevenh :)
Please can you confirm it works well for your case now ? (you might need to install java 17 or higher)

If yes, please rate the app -> https://marketplace.visualstudio.com/items?itemName=NicolasVuillamy.vscode-groovy-lint&ssr=false#review-details
If not, please reopen the issue and we'll check :)

I confirm, it works wonderfully now! 😄

@Sunchock thanks a lot for your feedback :)


from bert import modeling, optimization not supported

Original BERT from Google Research (https://github.com/google-research/bert) has modeling, optimization, run_pretraining. Is this not supported in bert-for-tf2?

the original google-research/bert has been coded for tensorflow 1 (which is the reason why bert-for-tf2 exists). Currently there is no example of how to do pre-training with bert-for-tf2.


Improve the UI clock page

Changes the font to be monospace
Adds the date to the clock

Happy to merge, appears to work correctly


Investigate the Checks API

Perhaps a check can be associated with commits that go into a release in order to link to it, or some other useful feature. This came to mind since Actions annotations doesn't seem to support Markdown.

No obvious benefits here.


Gentropy Airflow pipeline documentation

As a community user I want **to be able to understand how the  Gentropy ariflow pipeline works ** because I want to reproduce it with nextlfow.
Background
Background to this task is a result of a request send by community that stated:

level of confusion around the four steps involved in ingestion of the GWAS catalog data

gwas_catalog_study_curation
gwas_catalog_study_inclusion
gwas_catalog_ingestion
gwas_catalog_sumstat_preprocess

Investigate usage of nextflow with gentropy and check the possibility of swapping airflow with nextflow.

Tasks

[x] Create screenshots from current airflow DAGs
[ ] Explain steps used to ingest the GWAS Catalog data

Acceptance tests
How do we know the task is complete?

Updated documentation around the GWAS Catalog ingestion process

The dags description:
gnomAD preprocess

Finngen harmonisation

eQTL preprocess

FInngen preprocess

GWAS Curation update

GWAS Catalog harmonisation

GWAS catalog preprocess

Genetics ETL

Current documentation effords:

[x] GWAS Catalog sumstat susie
[x] GWAS Catalog sumstat pics
[x] GWAS Catalog top hits
[x] UKB PPP EUR
[x] FInngen r11
[x] Credible_set_qc
[ ] GWAS Catalog sumstat harmonisation
[ ] Genetics ETL


Change mode order (details inside)

Swap Light Dances with D6 mode.
Final mode order should be:
Mode 1: Color Chord
Mode 2: Reflector Game
Mode 3: Light Dances
Mode 4: D6
Mode 5: Flashlight
Mode 6: Tuner

I concur with this mode order.

So it is written, so it shall be done.


merge drawing steps into one loop

Per one of my earlier pull requests, resubmitted because I went off scope on that one.
The new loop requires changing da to keep the resolution the same.

nice, thank you!!


Question about logging message consumption errors.

Hello !
I've just discovered the new symfony/messenger ecosystem which seems pretty exciting. I've an issue (more a question than a problem) about the QueueInteropTransport implementation.
I'm trying to log message decoding error during the development phase but I can't find a clean way to do this. It seems related to the try {} catch {} used inside the QueueInteropTransport object.
try {
    $handler($this->decoder->decode(array(
        'body' => $message->getBody(),
        'headers' => $message->getHeaders(),
        'properties' => $message->getProperties(),
    )));

    $consumer->acknowledge($message);
} catch (RejectMessageException $e) {
    $consumer->reject($message);
} catch (RequeueMessageException $e) {
    $consumer->reject($message, true);
} catch (\Throwable $e) {
    $consumer->reject($message);
}

Is there a way to log exception messages somewhere using configuration or by extending / decorating an object ? It seems that Exception messages are never sent outside of that bloc of code. I've tried most of the solution that I know today.
Actually, I'm using Symfony 4.1-BETA3 with the messenger-adapter, and the enqueue/redis connector.

The successes and/or exceptions should be logged for you by Symfony's Logging middleware. If you prefer another type of logging, you can simply create your own middleware.
Is this enough for your requirements? :)

I though that the middleware only come to the party when the application dispatch the message (everything is logged at that time).
My problem here is that I can't receive exceptions when the message is consumed by the messenger:consume-messages command. Are the middlewares active here too ?
Actually most of the errors that I miss come from the decoding process. For example if the serialized version of the object can't be decoded, the message is dropped without any notice.
Maybe I miss something here 😄.

Actually, this seems to be fixed by using the PropertyNormalizer in my Symfony services configuration.
    # Enable PropertyNormalizer on the serializer component
    # This is used inside the message transport process to serialize messages.
    serialize.property_normalize:
        class: Symfony\Component\Serializer\Normalizer\PropertyNormalizer
        public: false
        tags: [serializer.normalizer]

I close the issue here, maybe I'm not too familiar with the used components here.


require is not defined in ES module scope, you can use import instead

Environment
"@sentry/vite-plugin": "^0.7.1"
Steps to Reproduce
I followed the exact steps from https://docs.sentry.io/platforms/node/guides/connect/sourcemaps/uploading/vite/
Expected Result
Project should build
Actual Result
failed to load config from /Users/app/vite.config.ts
error when starting dev server:
ReferenceError: require is not defined in ES module scope, you can use import instead
    at file:///Users/@sentry/bundler-plugin-core/dist/esm/index.mjs:2121:32
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:527:24)
    at async loadConfigFromBundledFile (file:///Users/frontend/node_modules/vite/dist/node/chunks/dep-79892de8.js:63967:21)
    at async loadConfigFromFile (file:///Users/frontend/node_modules/vite/dist/node/chunks/dep-79892de8.js:63852:28)
    at async resolveConfig (file:///Users/frontend/node_modules/vite/dist/node/chunks/dep-79892de8.js:63466:28)
    at async createServer (file:///Users/frontend/node_modules/vite/dist/node/chunks/dep-79892de8.js:62752:20)
    at async CAC.<anonymous> (file:///Users/frontend/node_modules/vite/dist/node/cli.js:734:24)

Hey, can you check if this is an issue when downgrading the plugin to version 0.6.0?

I have the same problem with 0.7.1. Version 0.6.0 is working though.

Alright we published another patch. Can you give it another go? This time with version 0.7.2? :)
Also, I wanna encourage everybody to use the new sourcemaps.assets option. It should be much more resilient than the include option.

Wow, that was fast. For me this fixes the issue.

I updated, but now I'm met with this error:
node:internal/errors:484 timing config:load:flatten Completed in 2ms
    ErrorCaptureStackTrace(err);
    ^

Error: spawn /Users/node_modules/@sentry/cli/sentry-cli ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn /Users/node_modules/@sentry/cli/sentry-cli',
  path: '/Users/node_modules/@sentry/cli/sentry-cli',
  spawnargs: [ 'releases', 'propose-version' ],
  cmd: '/Users/node_modules/@sentry/cli/sentry-cli releases propose-version'
}

Any idea what triggers this error @lforst?

@MathiasWP did you happen to have Sentry CLI installed globally? Can you try uninstalling it, reinstalling the plugin and trying everything again?

when I run  npm install @sentry/vite-plugin --save-dev,  it can't install in my project, waiting long time but nothing happend, what can I do ?

@ChaseWindYoungs commented in the issue you created: https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/214#issuecomment-1515976546


verify function could be passed with numpy array ?

I want to use DeepFace.verify() on a numpy array representing an image
`img1 = img1[:,:,::-1]; img2 = img2[:,:,::-1]
obj = DeepFace.verify(img1, img2
, model_name = 'Dlib', distance_metric = 'euclidean')`

exact image path, numpy array or base64 encoded images could be pass to verify function.

i got error like this
ValueError                                Traceback (most recent call last)
 in ()
----> 1 obj = DeepFace.verify(img1, img2, model_name = "Dlib", distance_metric = "euclidean")
1 frames
/usr/local/lib/python3.6/dist-packages/deepface/commons/functions.py in initialize_input(img1_path, img2_path)
39         else:
40                 bulkProcess = False
---> 41                 if img2_path != None:
42                         img_list = [[img1_path, img2_path]]
43                 else:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Oke I understand the problem.
please upgrade deepface to 0.0.49 this is fixed in this release.

I also share the my testing code
import cv2

img1 = cv2.imread("deepface/tests/dataset/img1.jpg")
img2 = cv2.imread("deepface/tests/dataset/img2.jpg")

print(type(img1))
print(type(img2))

from deepface import DeepFace
obj = DeepFace.verify(img1, img2)
print(obj)

This returns the following message
(tensorflow) C:\Users\IS96273\Desktop>python dummy.py
<class 'numpy.ndarray'>
<class 'numpy.ndarray'>
Using TensorFlow backend.
{'verified': True, 'model': 'VGG-Face', 'similarity_metric': 'cosine', 'distance': 0.2709779739379883, 'max_threshold_to_verify': 0.4}
I also add a control for numpy inputs in the unit tests. Thank you very much.

Thank you very much for your help


[RC][FA] Use sync map in repo

What does this PR do?
Use sync.Map for metadata in repository, so clients can concurrently update/get their config state
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Object.assign is not a function #1

Added plugin to support transformation.
Removed extra unused dependencies

@cokeSchlumpf Something did not merge properly and these changes are not in master

I've fixed this again in #5


Fix a simple typo in SentenceBuilder

Just a simple typo fix.

This is 4 years old. I can only assume that none of the collaborators are maintaining it any more.


chore: expect artifacts on /a

Some more potential settings adjustments to be considered along with https://github.com/ietf-tools/datatracker/pull/7248

I think I've rolled the suggestions here into #7248


Update README.md

@all-contributors please add @cope for Code, Documentation, ideas, Infrastructure, Maintenance, Project Management, Tools, Tests

@all-contributors please add @cope for Code, Documentation, ideas, Infrastructure, Maintenance, Project Management, Tools, Tests

@all-contributors please add @cope for Code, Documentation, ideas, Infrastructure, Maintenance, Project Management, Tools, Tests


Do I need to split my edge_index in GAE?

❓ Questions & Help
Hi, I am recently trying to use GAE. I want to fit the whole graph into GAE, unlike in the case of the example which splits the edge_index into pos_edge_index and neg_edge_index. Here are my questions:

Since I need to get the latent embeddings of all nodes, can I feed edge_index to the encoder instead of train_pos_edge_index?
I don't really get the meaning of positive and negative edges, can you explain what are they and how are they splitted from the original set of edges? If I want to get AUC, AP on evaluation, can I just split my edge_index in halves and treat them like pos and neg edges, and then fit the whole graph into the test function?
Edit: I had a question about fitting many graphs into GAE, but then I search for similar issues more carefully and found out setting cache=False should do it.
Thank you very much in advanced!

You can simply pass edge_index to the forward method instead of train_pos_edge_index.
Positive edges correspond to the edges that exist in the data, while negative edges refer to edges that should not exist. To evaluate a link prediction model, it is necessary for the model to distinguish those (think of them as two different labels). We want our model to output high confidence for an edge in case the edge really exists, while we want low probability for edge existence in case we input a negative edge. You will need negative edges to evaluate/train your model. You can use torch_geometric.utils.negative_sampling to sample such edges.

You can simply pass edge_index to the forward method instead of train_pos_edge_index.
Positive edges correspond to the edges that exist in the data, while negative edges refer to edges that should not exist. To evaluate a link prediction model, it is necessary for the model to distinguish those (think of them as two different labels). We want our model to output high confidence for an edge in case the edge really exists, while we want low probability for edge existence in case we input a negative edge. You will need negative edges to evaluate/train your model. You can use torch_geometric.utils.negative_sampling to sample such edges.

Thank you for quick reply. So for evaluating the model, I can feed my edge_index as positive edges and edges gotten from negative_sampling as negative edges right?

Yes, but keep in mind that you want to avoid data leakage going from training to testing. That's the reason we do not simply use edge_index during training, since this data already contains positive test edges.


Separate between games saved on frontend, games saved on backend and games shared

This is with the changes from #2414, which has not been approved at the time of writing this, but I needed those changes for this
Adds icons to games that have been shared/saved in the backend. A game that was saved on the backend can't be moved to the frontend saving strat. When a game upgrades to the backend saving(for example the users goes to /beta/ or the user gets upgraded to a beta user), the game is duplicated and a new copy which is now using the backend saving strat is opened. When a room is shared it doesn't make a copy of it before(should it?).
Reminder for self to update the saving server when this gets merged to only save games that have the isSavedOnBackend active.
fixes #2425
popups for indicating the saving and collab state of games on my games page

Also needs to have conflict resolved.


Char selector with scroll

Char selector now identifies the character based on the golden rectangle around the one currently selected

You could just make the template transparent and would get the same results, no? Cause currently the color filtering is basically used to do exactly that: create a mask.
Apart from that, I had bad experience matching templates with just the outline. We tried this with the merc img once and for about 50% of ppl it didnt work out well.
Maybe its better to just filter by color and see how many pixels are left and compare that to others.
All in all I almost feel this char selection is causing more trouble than its worth : /

Good point, I will try with transparency and see how it goes, so far this color_filter on both image and template gave me a pretty good match, between 0.98 to 1.0, but I haven't tried with more than 15 different characters so not sure how reliable it might be for everyone else.

I dont want to add more complexity to the automatic char selection. I think its good enough documented and default off which is enough to me. sry.


Redirect Enforced TLS page

Description of the change: Redirect old site page to the Knowledge Center
Link to original source: https://sendgrid.com/docs/API_Reference/Web_API_v3/Settings/enforced_tls.html

Hello @astuteape,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


separate out filling of file templates and rendering of files

separate by file type (debriefing, planning) and by operation (rendering, filling in template)

I canceled the check workflow (it runs twice anyway, this should probably be fixed 🙃) because it had been running for almost half an hour...

@bvreede could you help me with the conflicts here? I'm not sure how this happened or what I can do to improve it..

Because PR #21 had been merged, some conflicts arose between edits done on that PR and this one. Resolved :)

Because PR #21 had been merged, some conflicts arose between edits done on that PR and this one. Resolved :)

Thanks a lot! Let me know what else I should change on this

So I merged main into this PR, because two functions that precede this in the workflow have since been refactored and merged into main, and I figured their availability would make testing easier :)
This is my workflow:
remove.packages("traininginfrastructure")
remotes::install_github(repo = "esciencecenter-digital-skills/training-infrastructure@separate-docs-functions", force=T)
library(traininginfrastructure)
df <- read_from_drive() # download Holy Excel Sheet
df_struct <- get_future_workshops(df)

Now I want to run the new functions. I expect I should run these on df_struct now, correct?

get_comms_doc_info(df_struct). This yields a list of vectors, some vectors containing 8 elements, and some 1. There are several warning messages printed:1: In if (stringr::str_detect(slug, "ds-parallel")) { :
  the condition has length > 1 and only the first element will be used
2: In if (stringr::str_detect(slug, "ds-dl-intro")) { :
  the condition has length > 1 and only the first element will be used
3: In if (stringr::str_detect(slug, "ds-docker")) { :
  the condition has length > 1 and only the first element will be used
4: In if (stringr::str_detect(slug, "ds-rpackaging")) { :
  the condition has length > 1 and only the first element will be used

I think it is a good idea to write some tests for this function, to ensure it is working properly. Happy to help, let me know.
get_plan_doc_info(df_struct). No warnings, but also, I have very little idea of what comes out here is correct. Again, this is a good idea to include in some tests.
get_debrief_doc_info(df_struct). Same as get_plan_doc_info.
render_comms_doc(info_doc). Here I'm putting the output of get_info_comms_doc(df_struct) in as an argument, but this does not work; I get an error:Error in if (stringr::str_detect(info$address, "online")) { :
  argument is of length zero

render_planning_doc is not available; I see it is not present in the NAMESPACE

====== I see you are working on this 🙃 ==== I will post this now and carry on testing later.

Hello Barbara :) I think I finally managed to make this work. Sorry if I did too much debugging. Running this should generate all docs for Rpackaging:
`detach("package:traininginfrastructure", unload = TRUE)
remove.packages("traininginfrastructure")
remotes::install_github(repo = "esciencecenter-digital-skills/training-infrastructure@separate-docs-functions", force=T)
library(traininginfrastructure)
df <- read_from_drive() # download Holy Excel Sheet
df_struct <- get_future_workshops(df)
info <- df_struct[1,]
debrief_doc_info <- get_debrief_doc_info(info)
plan_doc_info <- get_plan_doc_info(info)
comms_doc_info <- get_comms_doc_info(info)
render_debrief_doc(debrief_doc_info)
render_planning_doc(plan_doc_info)
render_comms_doc(comms_doc_info)`


Add support for LocationLink in API commands

Title says it all.

Will add some tests as well.

Merged locally due to conflicts with master.


Add new endpoint to RedAPI

When doing so:
In app impl, I forgot to check about how Cornell returns their events. For example at North Star, it will have 3 events: [7-10:30][10:30-2][2-4]. So right now it will for example see that it is in the [7-10:30] event and it will say "open until 10:30". But really it should check ahead and see that there's other events that start right away, so it should really say "open until 4pm"

Being resolved in https://github.com/mrkev/Iroh/pull/3


Clicking "Log In" automatically logs in a specific account

When I log into Piskel, it automatically chooses the first account I signed in with. This would be fine, except that I have siblings who share a computer and would each like to have their own account...which it doesn't let them, because it automatically selects the first guy's account and seems to have no way to select otherwise.
Steps to reproduce the bug

Go to piskelapp.com.
On the front page, select "Sign in."
If it's your first time signing in, it will prompt you to sign into a Google account. Otherwise, it logs you into the account you logged into the first time.

Environment details

operating system: Happens on Windows 10 and 7 both
browser: Confirmed to happen on Chrome 65.0.3325.181 and 53.0.2785.116, Firefox 57.0.1, and Edge 41.16299.248.0, all 64 bit.

I have not confirmed whether this, erm, annoyance (don't want to call it a glitch) persists past the rebooting of one's computer, but even if it does, it seems like that'd get inconvenient fast. It does not persist past the clearing of the browser's "saved website data," however, so there's that.
Thanks! And I do apologize if I'm complaining about something beyond your control.

Hi! Before discussing about this, just mentioning that you might want to use "Incognito mode" to workaround this.
That issue is about piskel-website rather than piskel itself (which is just the editor), but let's leave it here as more people might see it. The issue is probably with the way we interact we the google oauth in https://github.com/piskelapp/piskel-website . I haven't revisited this code in years and it probably needs a good upgrade. If anyone is comfortable with google oauth and python appengine, help is welcome :)


fix(versions): update Activiti/activiti-cloud-notifications-graphql versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies to: 7.1.156

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies 7.1.156


Cannot export task (AssertionError) Due to invalid tracks

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Steps to Reproduce (for bugs)

Some of our tasks cannot be exported,

Open Job
Press export
Select format (CVAT, for video, yolo etc, it doesn't matter)
Accept

Expected Behaviour

Export
Current Behaviour

when we try to export them we get an error 500:  AssertionError
Possible Solution

🤷
Context

Some of affected tasks could be downloaded 2 days ago, but now they cannot be exported.
I can still open them and watch their content.

Selfhosted CVAT version 2.6.1

Logs:

2023-09-01 07:47:00,461 DEBG 'rqworker-export-0' stderr output:
ERROR:rq.worker:Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.10/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.10/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 110, in export_job_annotations
    return export(dst_format,job_id=job_id, server_url=server_url, save_images=False)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 83, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/task.py", line 855, in export_job
    job.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/task.py", line 685, in export
    exporter(dst_file, temp_dir, job_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1422, in _export_video
    _export_task_or_job(dst_file, temp_dir, instance_data,
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1394, in _export_task_or_job
    dump_task_or_job_anno(f, instance_data, anno_callback)
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1362, in dump_task_or_job_anno
    callback(dumper, instance_data)
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1049, in dump_as_cvat_interpolation
    for track in annotations.tracks:
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 484, in tracks
    yield self._export_track(track, idx)
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 369, in _export_track
    tracked_shapes = TrackManager.get_interpolated_shapes(
  File "/home/django/cvat/apps/dataset_manager/annotation.py", line 912, in get_interpolated_shapes
    assert curr_frame > prev_shape["frame"] # Catch invalid tracks
AssertionError
Traceback (most recent call last):
  File "/opt/venv/lib/python3.10/site-packages/rq/worker.py", line 936, in perform_job
    rv = job.perform()
  File "/opt/venv/lib/python3.10/site-packages/rq/job.py", line 684, in perform
    self._result = self._execute()
  File "/opt/venv/lib/python3.10/site-packages/rq/job.py", line 690, in _execute
    return self.func(*self.args, **self.kwargs)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 110, in export_job_annotations
    return export(dst_format,job_id=job_id, server_url=server_url, save_images=False)
  File "/home/django/cvat/apps/dataset_manager/views.py", line 83, in export
    export_fn(db_instance.id, temp_file, dst_format,
  File "/home/django/cvat/apps/dataset_manager/task.py", line 855, in export_job
    job.export(f, exporter, host=server_url, save_images=save_images)
  File "/home/django/cvat/apps/dataset_manager/task.py", line 685, in export
    exporter(dst_file, temp_dir, job_data, **options)
  File "/home/django/cvat/apps/dataset_manager/formats/registry.py", line 36, in __call__
    f_or_cls(*args, **kwargs)
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1422, in _export_video
    _export_task_or_job(dst_file, temp_dir, instance_data,
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1394, in _export_task_or_job
    dump_task_or_job_anno(f, instance_data, anno_callback)
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1362, in dump_task_or_job_anno
    callback(dumper, instance_data)
  File "/home/django/cvat/apps/dataset_manager/formats/cvat.py", line 1049, in dump_as_cvat_interpolation
    for track in annotations.tracks:
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 484, in tracks
    yield self._export_track(track, idx)
  File "/home/django/cvat/apps/dataset_manager/bindings.py", line 369, in _export_track
    tracked_shapes = TrackManager.get_interpolated_shapes(
  File "/home/django/cvat/apps/dataset_manager/annotation.py", line 912, in get_interpolated_shapes
    assert curr_frame > prev_shape["frame"] # Catch invalid tracks
AssertionError

Hi, could you please share a backup of the task? Please remove any images and other personal info from the archive.

Hi @zhiltsov-max
I work together with @pktiuk
Unluckily, I am not sure whether we can share full backup of selected task, because it may contain some sensitive informations for my company.
Could you tell us what we should focus on to debug this issue?

As you see, the check that fails has been added specifically to catch invalid tracks. It's one of the problems we're trying to reproduce, but could not do it reliably. I suppose there can be some unexpected frame sequence in the track annotations, so you should check the frame ids and the outside property.

Thank you for your suggestion.
I will try to prepare an full anonymized task (without sensitive informations) that reproduces the error.
Indeed in our annotation tasks we use often outside property and we merge objects that changes object ids.

I was unable to reproduce the bug in the new task, so I will try to anonymize one of the existing tasks causing the error.

I am sending an example of anonymized two tasks in which an export error occurred.
Example 1:
When you export annotations from a task to an xml file and then load them unchanged into the same task or new task, an error occurs when you try to export annotations.
In the original task before the export of the annotations, the number of tracked objects is 540.
Info -> Annotations Statistics -> Rectangle -> Total = 540
After reloading unchanged xml file into the task the number of tracked objects is 538.
Info -> Annotations Statistics -> Rectangle -> Total = 538
Example 2:
In this case, before exporting and after reloading the annotation to the task, the number of objects is the same 19.
Info -> Annotations Statistics -> Rectangle -> Total = 19
example-1.zip
example-2.zip

Hi,
Here's one way to reproduce an AssertionError in any cvat object tracking task:

select any frame (e.g. frame number 3) in a task in which there are already some marked objects
create a new tracked object in the selected frame (track option)
(this step can be skipped) we click forward a few frames and switch the outside property for this object to the state so that the object is not visible
go back to the frame where the object was tagged for the first time (here the 3rd frame) and also set the outside property for this object to the state so that the object is not visible
save the task - download annotations in the format "Cvat for video 1.1" (annotations.xml file)
upload the downloaded annotations into the task from which they were previously downloaded
when you try to export the annotation again, you will get an AssertionError

The reason for the AssertionError when trying to export annotations is that the cvat in the originally exported file places tracks for objects where the outside property is checked on the first frame on which the object first appeared (or on all frames for a given object).
After removing all such tracks (the object on the first frame, where it was created, is invisible, i.e. outside="1") from the annotations and uploading them into cvat, the problem with AssertionError disappears.
If anyone needs it, they can fix their xml annotations (format xml "Cvat for video 1.1") with a python3 script that I wrote.
The script checks the annotations.xml input file for problematic tracks and removes them. It then reindex the tracks that are left and writes the results to the annotations-mod.xml file.
Cvat-AssertionError-XML-Validate.zip

Hello, @Eldies , @zhiltsov-max , just wanted to clarify are there any estimations on when this is expected to be resolved?
Thanks!

fixed in #8553


Consider modification of the default seccomp policy regarding sysctl

sysctl() may allow information leaks such as which distro the host is running. Consider modification of our default seccomp filter to disable sysctl() fully. CC: @endrazine

The _sysctl syscall is disabled fully in the default profile.

so close?

@justincormack was still looking into this


AMBARI-25394 Ambari Metrics whitelisting is failing on * wildcard for HBase Tables (santal)

What changes were proposed in this pull request?
On Ambari 2.6.x and 2.7.x if the Ambari Metrics Collector whitelisting is enabled, nothing appears in the Grafana HBase - Tables/Users dashboards.
The related metric-patterns are enabled in the whitelist file but it seems that the metrics matching with these patterns are filtered out and not shown on Grafana dashboard.
eg:
regionserver.Tables.*_metric_storeCount
regionserver.Tables.*_metric_storeFileCount
regionserver.Tables.*_metric_storeFileSize
regionserver.Tables.*_metric_tableSize
regionserver.Tables.*_metric_totalRequestCount
regionserver.Tables.*_metric_writeRequestCount
regionserver.Users.*_metric_append_num_ops
regionserver.Users.*_metric_delete_num_ops

To fix this the .p prefix should be added to the above prefixes.
How was this patch tested?
The patch was tested manually by creating HBase tables and inserting/updating rows and examining the graphs.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/5494/
Test PASSed.


Web front end

In order for the user to book the services, a GUI is required. This needs to call the API that handles the bookings.

The things the user needs to select:

[ ] shipment type, cargo or passenger.
[ ] shipment weight.
[ ] cargo unloading required.
[ ] cargo loading required.
[ ] water services required.
[ ] waste removal required.
[ ] preferred week of arrival, with a reasonable lead time.


Not userful for bootstrap 3.3.5

I use bootstrap 3.3.5 and can't change tab by clicking the next button, I debug the js with chrome and found the function for "shown" event is not executed (row num is 200).
Cound you verify it? Thanks.

I'm having the same issue.

I had the same issue, but it looks like because you're using the bower version (1.0). Manually upgrade it to 1.2 as the author is no longer posting updates to bower.

so, I will try it. Anyway thanks.
2015-09-06 8:47 GMT+08:00 BlueDevil2k6<EMAIL_ADDRESS>
I had the same issue, but it looks like because you're using the bower
version (1.0). Manually upgrade it to 1.2 as the author is no longer
posting updates to bower.
—
Reply to this email directly or view it on GitHub
https://github.com/VinceG/twitter-bootstrap-wizard/issues/137#issuecomment-138015528
.

@yangxue088 @BlueDevil2k6 @andrewbrereton Sorry guys this one needs an update. any help will be appreciated.

this issue come in me .. hopefully updated

bower twitter-bootstrap-wizard#~1.2     ENORESTARGET No tag found that was able to sat
Additional error details:
Available versions in git://github.com/VinceG/twitter-bootstrap-wizard.git: 1.0.0

I just ran into this problem, did anyone figure out a work around for this?


Create an ophyd device for Applet2 undulator

I17 will be using the same type of ID as I10, I21 and I06. This issue is to create an ophyd_async device to control this type of ID.
This type of ID has 4 extra degrees of freedom beside the gap, each bank of magnet can move independently to each other. To produce different polarisation as well as energy.
User expected to be able to set energy and polarisation states: PC, NC, LH, LV and LA. With LA there will also be a polarisation angle associated with this state.
These polarisation states are achieved by moving the ID motors into its correct position using a lookup table, each polarisation has their own look up table, therefore changing polarisation is effectively changing look up table.
Acceptance Criteria
Create an applet2 id device that can move all the id's motors. similar to undulator
Must connect all required PV.
Passes tests.

@DominicOram @stan-dot I saw the id issue on i18 and wondering if you two have any tips and comment on this? Especially, I want to make sure no such device already exist and any advice on best/standard way to implement the extra lookup table/ x-ray polarisation would be much appreciated.

@Relm-Arrowny  for me this link is broken:

which i18 id issue?

this Saw you two discussing undulator and thought I ask :p.

You may be able to re-use https://github.com/DiamondLightSource/dodal/pull/721 but it depends on the exact logic. Is it that:

Changing the energy still only changes the gap demand PV
The lookup table used for this demand is different and will change based on the polarisations
Changing the polarisations changes this lookup table and changes some of the phase demand positions too

Or is it that:

Changing the energy will change the gap demand and phase demand PVs
How these change are based on lookup tables
These tables are set based on polarisation

If it's the first I think you can reuse the existing undulator quite a bit, if it's the second I would write an ABC that they share so that we can use them interchangeably but otherwise have two separate devices.


Publish an Engagement

As an admin
I want to publish an Engagement
so that it can be accessed by the public
Acceptance Criteria
Scenario 1:
Admin preview the engagement/survey and click the Schedule/Publish button
Admin sees modal with the following:
Header: Schedule/Publish Engagement
Radio buttons:
Publish Engagement now
(The Engagement will be visible but the survey won’t be accessible until the Engagement Date.)
Schedule Engagement
(The Engagement will be visible on the date selected but the survey won’t be accessible
until the Engagement Date.)
Buttons: "Cancel" & "Submit"
Scenario 2:
Admin Selects Publish Engagement now, clicks "Submit"
Admin sees a notification the Engagement was successfully published.
Modal closes.
Preview Engagement page now shows header: "Preview Engagement - Published"
"Scheduled/Published" button is replaced with "Close Preview" button (links to the Engagement listing)
Listing page now shows the engagement with the status of "Published"
Matches wireframes
https://xd.adobe.com/view/e1eae92a-d831-43c9-aaf9-4598ff2926c4-b4b9/screen/370dce46-bffc-486a-be89-b4bd4579bf97
https://xd.adobe.com/view/e1eae92a-d831-43c9-aaf9-4598ff2926c4-b4b9/screen/65d4730e-c82b-4596-835b-82938bc80cab
https://xd.adobe.com/view/e1eae92a-d831-43c9-aaf9-4598ff2926c4-b4b9/screen/f8f76aa0-3f2c-4943-afdb-6d6b702a6ee2

As a User Admin I would like to publish a draft engagement so it is visible to the public

Please add your planning poker estimate with ZenHub @saravanpa-aot

Please add your planning poker estimate with ZenHub @jadmsaadaot


Some cleanup and fixes

Started as a cleanup PR, ended up to be more than that.
Tell me if you'd prefer different, smaller PRs.

Thanks!
Size of pr is ok.


Pester Task: ModuleVersion error when running task

It looks like the 'Install-Module' command in Pester.ps1 is failing because the VS extension version does not match the version of Pester version.  I'm getting the following logged on my on-premise TFS build server when executing the Pester task:
2016-11-18T20:49:18.1814142Z Starting task: Pester Test Runner
2016-11-18T20:49:18.2126716Z Executing the powershell script: C:\TFS\tasks\Pester\4.0.7\Pester.ps1
2016-11-18T20:49:18.4001670Z ##[debug]Running in AMD64 PowerShell
2016-11-18T20:49:18.4157796Z ##[error]The ModuleVersion key in module manifest 'C:\TFS\tasks\Pester\4.0.7\Pester.psd1' specifies module version '3.4.0' which does not match its version folder name at 'C:\TFS\tasks\Pester\4.0.7'. Change the value of the ModuleVersion key to match the version folder name.
2016-11-18T20:49:18.4157796Z ##[debug]Running Pester from [C:\TFS_work\2\a*] output sent to [C:\TFS_work\2\a\Test-Pester.XML]
2016-11-18T20:49:18.7126290Z ##[error]The term 'Invoke-Pester' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
2016-11-18T20:49:18.7283026Z ##[error]Pester returned errors
2016-11-18T20:49:18.7283026Z Finishing task: Pester
Oddly enough this works on the VSTS hosted build server.  I'm assuming moving the pester module files to a '3.4.0' subfolder would fix this.

The task as it is currently designed deploys a copy of the Pester library as part of its package. Though this works for most cases, it is bound to become a [problem in the future as versions move on.
I need to look at how to change this to either allow the included module to be overridden or the it to be download dynamically as runtime.
I will investigate, but it will a few days due to other commitments

I have just tried running against a on-prem build agent and can't repeat the results you are seeing.
Are you using the default task parameters?

As per my usual practice I will close this issue if I have not heard any more in a week, re-open it if the problem reoccurs

Sorry about that! I missed the thread notifies in my mailbox.
Here is my on-premise build server config:
OS: Server 2012 R2
$psversiontable:
Name                           Value

PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
Task parameters:
Scripts folder: $(Build.SourcesDirectory)*
Results file: $(Build.SourcesDirectory)\Test-Pester.XML
Everything else disabled except 'Enabled'
FWIW, I do have pester installed:
PS C:\Windows\system32> Get-Module -ListAvailable -Name Pester
Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands

Script     3.4.3      Pester                              {Describe, Context, It, Should...}

Thanks for the log I will have another look, it will be a few days though

I have just published 4.1.1 this has a few changes

Upgrade to Pester 3.4.3
The module is moved into a folder 3.4.3 as you suggested
You can override the path to the pester.psd1 to any other folder location you wish via a parameter on the advanced menu

Let me know if it does the job for you


Issue when building for Arm5 on Lego EV3

Dear all,
I am trying to connect a LEGO EV3 Brick to the Azure IoT Hub using the OS supplied by EV3dev.org. This is a showcase to visualize the bidirectional behaviour cloud <-> device. I managed to build iothub_client.so in a docker environment supplied by EV3dev.org where it seemed to work nicely. Unfortunately when trying to deploy it on the brick I get this error:
/home/robot/iothub_client.so: wrong ELF class: ELFCLASS64
I have been copying the init.py, setup.py and the compiled iothub_client.so on the device and tried to install with python3 setup.py install (I have tried different ways but all resulted in the same error).
Can you help?
ev3dev-jessie-ev3-generic-2017-06-09
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=ev3dev
Python 3.4.2
SDK as of today

Dear all,
with the great support by EV3dev I got this issue partly solved so I can use the EV3 Brick to communicate with the Azure IoT Hub.
In short it happened like this:

Pull the Docker Image ev3dev/debian-jessie-armel-cross
Build like explained in the docs for azure-iot-sdk-python on the image for python 3.4
Copy the iothub_client.so file on the EV3-Brick
Still you need to install sudo apt install libcurl4-openssl-dev python3.4-dev on the brick


Feature Request: remove/hide the header

Hi motss,
I'm working on a web app using your date picker, and I'd like to use a simpler version, without the header (selected-fulldate) containing the selected year and selected date, so the app-datepicker is just the calendar view.

I understand this would mean the user can't access the year switcher, but that's ok for my use case, because they can change years by incrementing months. For my use case, users rarely need to input a date more than a year away, and the header takes up a lot of space.
Would this be a feature you'd be willing to add to the datepicker? If so, I'd be happy to implement it.

Good day, @rachelmrgls!
Thanks for the feedback.
There are 2 ways I can think of to achieve that:

Easy fix - Make use CSS to set display: none on the header
Preferable fix - To add new property to decide whether or not the header should be rendered.

Hmm...I think the latter is the proper one. This should not be a complicated feature. 😄

@rachelmrgls @torendo
I recently encountered such use case in a real project and never thought that it was even a thing. After spending days of pondering on that (and I know it has been almost 2 years), I've decided to introduce inline mode rendering for <app-datepicker by adding a new inline property in c81640cd668024472940eac0e9eb660ef1918f2d for v4.
It might not even get implemented in v3. In other words, highly recommend all users to use v4.
Thank you for your input and suggestion as workaround before this addition. Really appreciate that. 👍


add {year}

Hello and congrats for this project; I'm using it as part of https://tom.js.org/ for years 🙂
I noted all my emails footer copyright is outdated because I forgot to update the year.
For solving this, I added {year} as template variable and compile copyright as template before being passed to mailgen:
https://github.com/Kikobeats/tom/pull/270/files#diff-23bf7f84d90195c1f1898d71fc67d20dfd65fa80f9fec24e3e624f552399eb9cR29
I thought that maybe you would to add support for this as parf of the codebase, it could be a simple and great feature.

Hi @Kikobeats,
Thanks so much for your kind words!
The library already populates the current year in the copyright in case you don't override the default copyright:
https://github.com/eladnava/mailgen/blob/a9b249606882c5145553f76065174f5e66af6156/index.js#L27
And in case you override the copyright, I've gone forth and updated the README example to include automatic year display in https://github.com/eladnava/mailgen/commit/3096b0c379ec565b6b0cd3c2033e04cf142bbdd4.

that's great; I lose the point due the fact I'm using YAML files for defining the email, but yea it seems I don't need another template for this, thanks for replying!


[HOLD][$250] Migrate withViewportOffsetTop.js to function component

Class Component Migration
Filenames

[ ] src/components/withViewportOffsetTop.js

type: React.Component
has state values: true
has refs: true
has context: false
lifecycle methods: componentDidMount,componentWillUnmount

Task

We currently have some class components in our codebase that we would like to refactor to a function component.
Here's a link with some general advice on how to refactor a class component to a function component: https://react.dev/reference/react/Component#alternatives
If you need additional guidance, please ask in #expensify-open-source
Test for any regressions and verify that there are no breaking changes

⚠ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

I'd love to work on this.

I am ready to work on this ticket. :)

I can work on this issue.

I'm able to work on this if needed!

Hello, I would like to work on this issue.

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01711b31d38ff0a973

https://github.com/Expensify/App/issues/16224

Dibs

C+ payment is being handled here: https://github.com/Expensify/App/issues/29392

I think this one can be closed out now. Feel free to reopen if that is incorrect. Thanks!


Markdown portable image format doesn't work

After investigation on #187 has been verified that markdown portable image format doesn't work
![${pageTitle}^image-name.png](./images/image-name.png "")

fix released in version 6.3


Enabling both bloom and ambient occlusion gives incorrect rendering

Enabling both ambient occlusion and bloom results in incorrect rendering, for example when adding viewer.scene.postProcessStages.ambientOcclusion.enabled = true; to
the bloom Sandcastle example: https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Bloom.html&label=Post Processing

We really want to use both these post processing effects together. Any progress on this?

Hello @laurensdijkstra.  I'm sorry, we haven't be able to make this a priority yet.  @bagnell might be able to help if you would like to look into submitting a pull request with a fix =)


Copenhagen Coffee Lab no longer has WiFi

What happened?

First time there based on this list so I'm not sure 😄

Huh! Strange. @watson @mafintosh Confirm?

@RichardLitt oh yes - that's true. They removed it a few months ago :(

Sadness.


fix some typos

Also a quick question, how often is the documentation site refreshed? I've found other on the site that were already fixed in master.

@melix: How often is the documentation site refreshed?

Merged. Thanks!

@JBrownVisualSpection I'm not sure, but I believe the documentation of the site http://beta.groovy-lang.org/single-page-documentation.html is only refreshed if a new groovy version is published.

The documentation for pages like http://groovy-lang.org/differences.html is updated when the web site refreshes but they link to or integrate with the latest released documentation. For upcoming documentation there's a special symlink: http://docs.groovy-lang.org/latest/html/documentation/


Fix main module path

The installed library does not have lib/client/index.js. The path is rather lib/client.js.

Thanks! 😄


Bot should not validate / nag when an issue is filed by a repo contributor

Also apply a special label.

Oops this is #57


WP-8298 upgrade tensorflow for security concerns

https://varicent.atlassian.net/browse/WP-8298

Yes, python_v2 version must be updated as well. I guess it would be minor version that will be updated.


Fix polymorphic assoc import

Follow-up of Fix polymorphic asoc export
This PR fixes the NameError: uninitialized constant Y error caused when Tush imports model from polymorphic belongs_to association such as:
class X < ActiveRecord::Base
  belongs_to :y, polymorphic: true
end

Given a model class, AssociationHelpers.create_foreign_key_mapping method finds all the associated classes where its foreign keys are targeting to. However, when it comes to a polymorphic belongs_to association, the class definition does not contain the actual target class name, whereas each instance of the class convey the information in the y_type field.
  create_table :pictures, :force => true do |t|
    t.integer :y_id
    t.string :y_type   # y_type contains the class name
  end

The first commit changes AssociationHelpers.create_foreign_key_mapping to take ModelWrapper which contains the actual instance.

 Tush is unable to import/export polymorphic models.


new wkthmltopdf, also uprev python in server

we need to check if this works properly on heroku before we migrate to it.
fix #21

@tomhamiltonstubber please check this works for our invoices on Heroku, then merge and release.

I've just tried this and I'm getting the following error:
/app/.heroku/python/lib/python3.8/site-packages/pydf/bin/wkhtmltopdf: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory


Hard to debug with exceptions captured

If exception is re-thrown from capture debugger always breaks (by design). It is very hard to get out of this and continue.

What is a desired behavior?

Not entirely sure. Debugger folks said it was by design and debugger breaks in this case even when checkbox is off... It feels like in the debugger F5 does not proceed as break happens endlessly.

To respect the "Break when this exception type is thrown" checkbox, I believe.
However, as I recall, that checkbox is mislabeled - it's actually "Break when this exception type is thrown and handled". So it doesn't apply to unhandled exceptions. In this case, the exception that you're observing is, indeed, unhandled - it's coming out of a task on which DoNotWait was applied, so it's not possible to handle, which is why it's trying to fail-fast the process by rethrowing that extension on a threadpool thread. That's why the dialog doesn't go away - the only thing that can be done here otherwise is to terminate the process.
Basically, the bug is whatever exception being rethrown here occurring in the first place. It should either be handled normally, or silenced with SilenceException, at the point where DoNotWait was called.

It is probably worth re-throwing critical exceptions only.

Why? If an exception is thrown in regular code, it doesn't matter if it's critical or not - you either handle it on some level, or it crashes the app. This forces exceptions to be at least inspected (if you want to suppress one, you have to do so explicitly).
The logic here is just translating that to async tasks - if it can throw, either observe it or explicitly silence it. Silently swallowing stuff just leads to masking bugs. In this case, for example, it means that we're not handling that 401 error coming from the server, and presumably not providing proper indication of error to the user.

I guess I'll rephrase. The exception is important but may not be fixable or relevant at the moment. In order to unblock debugging one may need some means to control what is being rethrown so when they do get the exception, they can file a bug on the code owner and meanwhile continue on their debugging tasks at hand without having to resort to Debug | Terminate and starting over.

This is an exception that would crash the application if the debugger was not attached, so I don't think there's any way to treat it as something that can be meaningfully worked around. This is also same as regular, non-async exception handling - if there's a throw without a matching catch, you'll keep getting the exception dialog when you F5 again and again, because there's nowhere to continue to - all you can do is Terminate.


How to handle: Consider increasing the -XX:MaxDirectMemorySize property error

APIM-CLI version
1.12.1
API-Management version
7.7.20220530
Question
Hello,
I am receiving the following error while trying to export the API list for our PROD Environment.
/global/builld/apim-cli/v1.12.1/apim-cli-1.12.1_prod/lib> /global/builld/apim-cli/v1.12.1/apim-cli-1.12.1_operations/scripts/apim.sh api get -wide -o csv -target /global/builld/apim-cli/exports/APIs/2022-10-05/emeaprod/api-list.csv -s emeaprod -deleteTarget

----------------------------------------------------------------------------------------
API-Manager CLI: 1.12.1

To report issues or get help, please visit:
https://github.com/Axway-API-Management-Plus/apim-cli
----------------------------------------------------------------------------------------
Module: API - E X P O R T / U T I L S (1.12.1)
----------------------------------------------------------------------------------------
1624   INFO     APIManagerAdapter| Successfully connected to API-Manager (7.7.20220530) on: https://*****.net:8075
2900   ERROR rageEngine$FileChunk| Failed to allocate direct buffer for FileChannel read.  Consider increasing the -XX:MaxDirectMemorySize property to allow enough space for the FileChannel transfer buffers
2900   ERROR rageEngine$FileChunk| Failed to allocate direct buffer for FileChannel read.  Consider increasing the -XX:MaxDirectMemorySize property to allow enough space for the FileChannel transfer buffers

I suspect the API list is too big, since I never faced this issue with other environments.
How should I handle this issue?
Thanks
Gianmario

Hi @giancolli,
the jvm heap size is setup in apim.sh as Xms64m -Xmx256m
can you please increase the min and max values as 512m in apim.sh file and test it?

Hi @giancolli,
Can you disable cache by adding the flag -ignoreCache?
I will check and get back to you later.

Hi @rathnapandi,
I have not tried what you suggested, but anyway the issue on my side is not occurring anymore.
So, no need for further help.


Add an external event

Yo !
First big thanks for this amazing library !
I struggle to add an external event..
I used to use eventReceive with fullcalendar, how to do it with your library?
Thanks for your reply and sorry if this question has already been asked.

Unfortunately external drag&drop is not supported yet. There was a discussion about this earlier.

Any update on this, or is it a totally abandon idea?
In the discussion, there is a temporary solution with a workaround, but I can not make it work :/
Could we have at least a demo of that?

I wouldn't say that this feature request is very popular. Therefore, I am unlikely to do anything about this in the near future.

In the discussion, there is a temporary solution with a workaround, but I can not make it work :/

You can ask the author of the workaround in that discussion.

I was thinking of doing it myself, with very simple drag and drop functions.
When the drag happens, it will save all the necessary information that is possible to retrieve when a dropped event happens.
However, I am missing one crucial part, when the drop happens, how do I get to know where it was dropped?
I can get coordination of the mouse cursor, but I guess there is no function that would simply return the Date based on it, right?
Would you have some suggestions maybe? Or should I also try my luck in the discussion there?
This library is a very good alternative to FullCalendar, but this one feature is unfortunately missing :)

I can get coordination of the mouse cursor, but I guess there is no function that would simply return the Date based on it, right?

I think you can use dateFromPoint method.

That is exactly it, thanks :)
Here is my proof of concept.
It needs a lot of cleaning and refactoring, but it is working as a very simple drag and drop.

Task 1

Task 2

Task 3

...
function allowDrop(ev) {
	ev.preventDefault();
}
function drag(ev) {
	ev.dataTransfer.setData("data", ev.target.innerHTML);	//<-- store the event data
	//console.log("drag event", ev.target.innerHTML, ev);
}
function drop(ev) {
	ev.preventDefault();

	const data = ev.dataTransfer.getData("data");		//<-- retrieve the event data
	const x = ev.clientX;
	const y = ev.clientY;
	const dateStart = ec.dateFromPoint(x, y).date;
	dateStart.setTime(dateStart.getTime() + dateStart.getTimezoneOffset() * 60000);

	const dateEnd = new Date(dateStart.getTime());
	dateEnd.setDate(dateEnd.getDate() + 1);			//replace with duration from event data

	console.log("drop event", data, x, y, dateStart, dateEnd, ev);
	const newEvent = {id:data, title:data, start:dateStart, end:dateEnd};   //fill as needed
	ec.addEvent(newEvent);
}

By directly accessing the date and modifying the time to the correct timezone offset, I am also modifying the time of the date in the Month (even list) view.

Thank you for bringing this to my attention. I think it would be correct to clone the date directly inside the library, so that the calendar cannot be broken from the outside. I will fix this in a future release.

And of course you shouldn't add the timezone offset – that will be fixed too.

If you will be digging in it, would it be possible to add an option for event, that would skip some days?
Like start from Friday to Monday, but ignore Saturday and Sunday (would be dashed over, or split into chunks the same way it goes from one day to another over midnight). I guess it is edge case, but would be interesting.
Or had an idea if color could be gradient, then it would be implemented that way.

dateFromPoint has been fixed in v3.2.2. Please check.

would it be possible to add an option for event, that would skip some days?

I think you can do this on your side by splitting the required event into 2 parts. It seems to me that this is a very specific need, but if many users ask for it, then I will consider implementing it.

Can confirm that dateFromPoint works as intended now.
How about the gradient feature in the color? That would be very fancy.
But you are right, I was thinking it would be an interesting feature, so if you had, e.g. timeline and hidden some days/hours, it would loop from the start. So you would have something like a scheduler for school/activities/etc. But the more I thought about implementation to make it universal, it made no sense. And actually end up with the same idea, splitting it by myself.
Which leads me to another question (if I should open a new issue/thread, let me know).
eventResize have endDelta.seconds argument and when resize below minimum value (30 min.), it returns where the mouse was released instead of the actual change of the block. Is it on purpose?
https://github.com/user-attachments/assets/2d781fba-c496-4acd-bdba-ba5988135f32
I would expect it to return -3600 in both cases, because the task shrinks by 1 hour in both cases.
But if it is by design, I have no issue with that, since in the arguments there are old and new event timestamps, and I can calculate the difference.
And one more question, is it possible to somehow set the minimum and maximum span it can shrink or grow?
Was thinking of checking the endDelta and, if it was out of range, then changing the value in the event, but it did not work  :/
Just a little sneak peek, if you are interested. No fancy CSS still, just concept.
https://github.com/user-attachments/assets/1ddbd4d2-a347-4fb4-937a-9b5bafa0f1ad

eventResize have endDelta.seconds argument and when resize below minimum value (30 min.), it returns where the mouse was released instead of the actual change of the block. Is it on purpose?

Looks like you found another bug. Initially it worked correctly, but apparently during some changes it broke. Will be fixed in the next release. Thank you!

And one more question, is it possible to somehow set the minimum and maximum span it can shrink or grow?

Unfortunately, there is currently no suitable setting for this. There is only the option to undo resizing at the end of the action by calling the revert function, but this is not what you would like.

Just a little sneak peek, if you are interested. No fancy CSS still, just concept.

Looks great!

I was thinking of doing smth simular. But now I just added one more ressource and i load the external events into it and drag it from there. Anyway, I would still be interested if your solution works!

@vkurko Not sure if I can take the credit for the bug :D But no problem. I am glad I could help and that you are so active :)
I noticed the revert function, but I would prefer access to the event properties. So I could do something like that:
if (event.end > "20:00") event.end = "20:00"; //pseudo-code it would obviously be Date
I did not play fully with it, but would not it be possible to change it and just call redraw it or something?
Also was thinking to check and modify in the eventResizeStop, but there is not the delta information.
@CedricHH If you are asking me, then you can see the solution in the video, it works, just needs a little bit more work and making it pretty. The only issue I am facing now is that user can "overshoot" maximal value, I can call the revert function, but it just not super user-friendly :)

would not it be possible to change it and just call redraw it or something?

You can always update a specific event with updateEvent method.

Will try, thanks, I was trying to do it directly via event args. Not sure why I didnt think about it ...

eventResize have endDelta.seconds argument and when resize below minimum value (30 min.), it returns where the mouse was released instead of the actual change of the block. Is it on purpose?

This should be fixed in Event Calendar v3.3.0. Please check.

Just out of curiosity, do we have some control over the visualization on the preview when resizing?

eventContent callback is called for all types of events, including helper events. Inside the callback, check the value of event.display. You want the "preview" value.

That is exactly it, thanks :) Here is my proof of concept. It needs a lot of cleaning and refactoring, but it is working as a very simple drag and drop.

Thanx for this solution!

@vkurko Will do, probably on Monday.
And what do you think about the color as gradient? Would that be too much pain?
I was thinking to abuse that for progress of the task and I guess a lot of people would find much more usage for it.
@darkvovich I knew there must be some simple solution :) Just be careful, this simple code does not have any checks, so for example if you drag file on the calendar, or drag the task on the buttons, it will yell at you big red error :D

This should be fixed in Event Calendar v3.3.0. Please check.
Working as intended now :) Thanks for the updates.

And what do you think about the color as gradient? Would that be too much pain?

Will you create a separate issue for this feature request please?

Done :) #305

Hi, I'm successfully using this principle already for dragging events into the calendar in "normal" views - kudos To @Martin12350  !
Can somebody please advice how to get the resource we drop an event to in a resourceTimeline... or into an resourceGrid... view ?
I can get the information about everything but not the resourceId of the view it was dragged to
Thanks in advance and best regards
Gerald

That is exactly it, thanks :) Here is my proof of concept. It needs a lot of cleaning and refactoring, but it is working as a very simple drag and drop.

Task 1

Task 2

Task 3

...
function allowDrop(ev) {
	ev.preventDefault();
}
function drag(ev) {
	const data = { title: ev.target.innerHTML, color: ev.target.style.backgroundColor };
	ev.dataTransfer.setData("text/plain", JSON.stringify(data));       //<-- store the event data
	//console.log("drag event", ev.target.innerHTML, ev);
}
function drop(ev) {
	ev.preventDefault();

	const data = JSON.parse(ev.dataTransfer.getData("text/plain"));   //<-- retrieve the event data
	const x = ev.clientX;
	const y = ev.clientY;
        const position = ec.dateFromPoint(x, y);

        const dateStart = new Date(position.date.getTime());
	dateStart.setTime(dateStart.getTime() + dateStart.getTimezoneOffset() * 60000);

	const dateEnd = new Date(dateStart.getTime());
	dateEnd.setDate(dateEnd.getDate() + 1);			//replace with duration from event data

	console.log("drop event", data, x, y, position, dateStart, dateEnd, ev);
        const newEvent = {id:data.title, title:data.title, start:dateStart, end:dateEnd, resourceIds:[position.resource?.id], color:data.color};	//fill as needed
	ec.addEvent(newEvent);
}

Edit: I guess it was too early to celebrate. ~When dragged into month view, it acts weird (the day number is changed and the task does not appear). Resources and timelines will also need a little bit more love.~
~It will need some tweaks based on the view, but I think it is good to start with.~
Edit2: I am such a fool. By directly accessing the date and modifying the time to the correct timezone offset, I am also modifying the time of the date in the Month (even list) view. Easy fix by cloning it instead. I also did not notice that dateFromPoint returns resources if exists, which will work for timeline!


fix(textarea): verticalAlign styles not being applied

Thanks. I don't know why the CI jobs didn't run on this PR. The unit tests should have failed because snapshots weren't updated. But I fixed it locally and amended the commit.


Depth Anything V2

Current Depth Anything implementation has been upgraded to Depth Anything V2.

Merge
Review and merge.

Did we consider just using the transformers implementation (https://huggingface.co/docs/transformers/v4.43.3/en/model_doc/depth_anything_v2)? Is there a reason that we are choosing to maintain a copy of the model source?

Did we consider just using the transformers implementation (https://huggingface.co/docs/transformers/v4.43.3/en/model_doc/depth_anything_v2)? Is there a reason that we are choosing to maintain a copy of the model source?

Did not consider coz .. well I didn't know it was implemented there. Easier to do it this way but one advantage of keeping the source might be to make changes as we need if further iterations of the model releases. But I think it should be fine either way.

Did not consider coz .. well I didn't know it was implemented there. Easier to do it this way but one advantage of keeping the source might be to make changes as we need if further iterations of the model releases. But I think it should be fine either way.

My preference would be to just import the implementation if we are not doing anything custom. That way we get upstream improvements / bugfixes for free.

Did not consider coz .. well I didn't know it was implemented there. Easier to do it this way but one advantage of keeping the source might be to make changes as we need if further iterations of the model releases. But I think it should be fine either way.

My preference would be to just import the implementation if we are not doing anything custom. That way we get upstream improvements / bugfixes for free.

Agreed. I updated the entire DepthAnything application to now use the transformers implementation. The small model uses DepthAnything V2 while the base and large models use the original DepthAnything V1 models due to license restrictions.


Generate TypeScript types from the vocab schemas

Teams maintain their own types that reflect the data model of the vocab schema.
This can lead to inconsistency between the canonical model (vocab) and the implementation, which can lead to issues.
The vocab project should offer types that teams can consume as a build-time asset. These types can be checked against the implementation by the TypeScript transpiler to enable inconsistencies to be detected earlier.

Java equivalent of this issue: #72

TypeScript types delivered in #41


TEP-0090: Indicate Resolved PipelineRunTask is Matrixed

Changes

TEP-0090: Matrix proposed executing a PipelineTask in parallel TaskRuns and Runs with substitutions from combinations of Parameters in a Matrix.
In this change, we add support for resolving a PipelineTask to indicate that it is matrixed. This is useful for processing the ResolvedPipelineRunTask.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[n/a] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards(including functionality, content, code)
[x] Release notes block below has been filled in (if there are no user facing changes, use release note "NONE")

Release Notes

NONE

/lgtm

/test pull-tekton-pipeline-go-coverage

@abayer @imjasonh thank you for the reviews, the PR is ready for another look

/lgtm

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-alpha-integration-tests

/lgtm


Add runtime metrics instrumentation

Why
The runtime metrics can be very useful. It is already supported by other Splunk distributions.
What
Add (experimental) runtime metrics instrumentation when metrics are enabled.

Which metrics are collected?

We are using https://github.com/open-telemetry/opentelemetry-go-contrib/blob/instrumentation/runtime/v0.40.0/instrumentation/runtime/runtime.go . You can find the currently collected metrics there.
I do not think we should currently document concrete metrics it as

the package and the metrics are not stable. for instance I am not sure about the runtime.uptime name
the Go runtime metrics are even not documented under https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/runtime-environment-metrics.md

$ go test -race -count=20
PASS
ok      github.com/signalfx/splunk-otel-go/distro       17.476s


Converting it to C#

any chance of converting this to C# or know of anyone done this yet

This exists and works perfectly
https://github.com/Aldaviva/DarkNet

yer he fixed the issue now


Update experiment-analysis.md

🚀 Deployed on https://63f644d2621821008f37467a--cozy-fox-0defec.netlify.app


Config example for lovelace button

Would you mind providing an example on how you configured the button component in Lovelace?

Readme updated with custom button card example.

Oh great, that was quick 😃 - thanks a lot, I'll  give it a try tomorrow

Can confirm, the button card is working just fine.
The condition is confusing me a bit. Where is the binary sensor coming from? I don't have it and I wonder if that requires some extra steps to set this up?

Since the conditional card accepts only state or state_not conditions while the anniversary sensor's state is a numerical value (number of days till the first upcoming event), the binary sensor just sets its state to on when the anniversary sensor's state value is less than 5 (days), so the custom button card will not be displayed all the time but only when the event is within 5 days.

Yes sure, but my problem is that the binary sensor named binary_sensor.event_in_5d doesn't exist in my HA instance. Should that be created by the plugin or do I have to create that myself?

You should create the binary sensor if you want to use the conditional card (e.g. not display the custom button card all the time).
Mine looks like this:
platform: template
sensors:
  event_in_5d:
    value_template: >-
      {% if states('sensor.events') | float < 5 %}
        on
      {% else %}
        off
      {% endif %}

This is working great, thank you so much.


why the input images requires grad?

hi, i have a question in im2scene/giraffe/training.py, in function train_step_discriminator(),line 152 (x_real.requires_grad_())and line 168(x_fake.requires_grad_()). Does this mean that x_real(from Dataset) and x_fake(from generator) will be optimized over and over again during training, but why optimize these two variables?What are the deep ideas in this?

Hi @xxxmian , no, that's not the case (because we do not update the images). This step is done do get the gradients such that we are able to calculate the R2 gradient penalty which is performed here.


Kanker counter

Counter how many times a person said kanker

Closed in favour or https://github.com/rickklaasboer/wego-overseer/issues/45


Waybar freezes upon activation of group drawers

Waybar v0.10.0 and https://github.com/Alexays/Waybar/commit/2c927de4c624d0c560f73ad78b4abc85fb703562 on sway 1.9 with GTK 3.24.41. Config:
{
  "modules-left": ["group/hardware"],
  "group/hardware": {
    "orientation": "inherit",
    "modules": ["cpu", "memory"],
    "drawer": {},
  },
}

Hovering over the group usually causes waybar to freeze and produce high CPU load. I noticed that Group::handleMouseHover gets flooded with GDK_{ENTER,LEAVE}_NOTIFY events. I don't see any unusual wayland events. My gtk3 distribution wasn't compiled with G_ENABLE_DEBUG, so I didn't check that.

I recommend tweaking your CSS to make the gaps between group elements smaller, and/or making the elements themselves bigger and see if it resolves the issue

Try with my configs and tell me how it goes
waybar.tar.gz

Leaving them sideways closes them correctly, assuming the bar is on the left

Assuming the bar is vertical (as is the one from my config) what do you mean by "leaving them sideways"?

I probably caused this issue with too aggressive refactoring starting in: https://github.com/Alexays/Waybar/pull/3201.
Sorry. We earned hover styling for whole groups, but regressed a little bit in terms of "hover hitbox", I guess I can call it? Is it fair to say that after the update it is less aesthetically pleasing how the "hitbox" triggers, but not a "critical" issue like before where you could consistently stuck it?

Can you try adding this config in your group, see if that makes things better for you?
    "drawer": {
      "transition-duration": 500,
    },

Can you share your CSS also? Here's how it looks on my PC:

So I don't know.

Cool. I have a feeling what you're experiencing with the glitchy looking hitbox behavior in your latest gif is native to GTK, maybe GTK3 specifically, I have no idea, but I have an idea about frontend frameworks and this looks familiar. Maybe because a combination of border radius, no smoothing animation and maybe also some hover styling which increase width of GUI components is causing the issue. As for why smoothing animation is not working for you it may be some issue related to waybar, but I haven't seen it yet myself.

Just thought I'd tack this on here as there seem to be several similar issues (please let me know if I should split it out)
This may just be an issue with my lack of CSS knowledge, but I can't seem to find how I should go about styling my drawer. My power menu (which is in many ways similar to the example on the wiki) is in it's own sub group - essentially some margin and border-radius to make it appear like a separate group (akin to modules-<left|right|center>). When I hover over it, the drawer expands to one side, leaving the border-radius of the group leader in place (for reference, see the attached video).
To my understanding this could be fixed by giving the group leader an additional styling class when the drawer is active (removing the border radius and/or syncing the animation with the group children), which is discussed here in some places.
For reference, my waybar config & css can be found here (beware, here be reproducible dragons): https://github.com/TheRealGramdalf/nixos/blob/a4ae9897abe0e734dfe18b62fd076de8bdd94de1/config/users/gramdalf/hypr/waybar.nix#L133-L157

@TheRealGramdalf See my reply here for a workaround for this problem in 0.10.3. (Notice especially how I set the border-radius on hover.) It will not be a perfect workaround as mentioned in that post.