Understanding Python Chaining API

I am trying to understand the chaining API described over here:
https://github.com/lsds/Faasm/blob/master/docs/python.md#python-api
On using this, I see the error:
ModuleNotFoundError: No module named 'pyfaasm.code'
On looking at pyfaasm git, I don't see any code package
Is it a future possibility or am I missing something?

I have some clarifications related to python chaining, figured this is the right place to ask
There are 2 functions, which I want to execute one after the other, specifically, first functions output
is gonna be second function's input.
There are 2 possibilities

As shown in the python README

f1 = chain_this_with_input(first, b'')
f2 = chain_this_with_input(second, b'')

await_call(f1)
await_call(f2)

In this case, are both f1 and f2 running in parallel? As in, if there are multiple workers (say 2 or more), will they run in parallel, and f2 won't wait for f1 to finish? Is this program racy?

Just another way of doing this.

f1 = chain_this_with_input(first, b'')
await_call(f1)

f2 = chain_this_with_input(second, b'')
await_call(f2)

This is definitely non-racy.
For analogy with python multiprocessing API, is
chain_this_with_input == Process.start()
await call                    == Process.join()
Just doubts.

Yes, you will have to guarantee that f1 has finished before you chain the call to f2, hence your second snippet is correct.

I was seeing some weird results on using snippet 1. I think I got it now.
Thanks for being so responsive.


ArcballControls throws Uncaught TypeError: navigator.clipboard.readText is not a function

three version: 0.136.0
@react-three/drei version: 8.3.1
three-stdlib version: 2.6.4
Firefox version: 95.0.2

Problem description:
ArcballControls has a functionality to copy/paste state using Ctrl-C/V.
I have another component that listens to  document.addEventListener('paste' but while using Ctrl-V. I get this error.
Uncaught TypeError: navigator.clipboard.readText is not a function
    pasteState https://threejs.org/examples/jsm/controls/ArcballControls.js:2568
    onKeyDown https://threejs.org/examples/misc_controls_arcball.html:255
ArcballControls.js:2568:23

Can we disable to copy/paste of state by default as done here https://github.com/mrdoob/three.js/issues/23023


IE9 does not support div.dataset

IE9 does not support the dataset property on a div.  In my testing I was able to get PDF.js to render on IE9 by adding a canvasWidth, textLength properties to the textDiv object rather than adding them to the div.
Something like this, where div.dataset reference is replaced:
https://gist.github.com/1482850

fixed by #949


Could you please add a Assembly Signature for your library in the next release version？

Description
My Dear Friend,Could you please add a Assembly Signature for your library in the next release version？Thanks!
Checklist
Please provide the following information:

[ ] Confluent.Kafka <IP_ADDRESS>.
[ ] Apache Kafka 1.0.1.
[ ] Windows10.
[ ] Assembly Signature.

yes, we do plan to do this soon.

Our team want change projects into "Strong-naming Assemblies", got the same issue. As the reminder here, we can get the update release immediately.

we'll try to get to this this week and put out a <IP_ADDRESS>.

this is more effort than I was initially thinking. here's a start: https://github.com/confluentinc/confluent-kafka-dotnet/pull/1000 ... there are issues. I think it's too big a scope for me to get done on the side without getting the ok from product. If you get this working (will also need a PR against our avro fork to make it signed), I can prioritize merging it. It seems like we really only need signed assemblies? (based on what other projects seem to do). seems the downsides to doing that are not material.

just doing a bit of research on this ... I now recall that this blog post is responsible for us deciding to distribute a separate signed assembly. however, it seems that advice is no longer good: https://www.pedrolamas.com/2018/09/11/start-strong-naming-your-assemblies/
so, it seems we should move to signing all assemblies and get rid of the separate Confluent.Kafka.StrongName.

Closing as it's fixed now.


Division by zero

Hi, on this line a ZeroDivisionError is raised:

https://github.com/huggingface/datatrove/blob/463c2a352d20c9972a0bb2434abafb434cf5df01/src/datatrove/pipeline/filters/unigram_log_probs.py#L62

Hi! Can I get this task assigned to me?

Sure :)

@NicholasLindner any news on this? should be a simple fix (just check if len(freqs) is 0 and if so just return 0 instead)

Yes, I have time today to work on it. I got caught up with something yesterday. I will do it

@guipenedo Just finished making the changes. However, when I try to push the changes after committing, I get a permissions error, shown in the image. I tried both push --set-upstream origin and just push origin, but both have the same result. Is the issue that I created a new branch? If so, what should I do? Thank you so much!

Hi, you should create a fork and make your changes in your fork. You can then create a Pull request on GitHub to have your fork merged onto datatrove. You can see more info here

Done! Thanks!

Fixed in #71


Get gradle error every time after npm clean

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

CLI:
nativescript version 8.5.3
Cross-platform modules:
Android Runtime:
iOS Runtime (if applicable):
Plugin(s):

{
  "name": "testapp",
  "main": "src/main.ts",
  "version": "1.0.0",
  "private": true,
  "dependencies": {
    "@angular/animations": "~15.2.0",
    "@angular/common": "~15.2.0",
    "@angular/compiler": "~15.2.0",
    "@angular/core": "~15.2.0",
    "@angular/forms": "~15.2.0",
    "@angular/platform-browser": "~15.2.0",
    "@angular/platform-browser-dynamic": "~15.2.0",
    "@angular/router": "~15.2.0",
    "@nativescript/angular": "^15.2.0",
    "@nativescript/core": "~8.5.0",
    "@nativescript/theme": "~3.0.2",
    "nativescript-auth0": "^4.1.0",
    "nativescript-ui-sidedrawer": "~15.2.0",
    "rxjs": "~7.6.0",
    "zone.js": "~0.13.0"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~15.2.0",
    "@angular/compiler-cli": "~15.2.0",
    "@nativescript/android": "8.5.0",
    "@nativescript/types": "~8.5.0",
    "@nativescript/webpack": "~5.0.14",
    "@ngtools/webpack": "~15.2.0",
    "typescript": "~4.8.4"
  }
}

Get this error with gradle version 7.5 and it takes this version automatically
Searching for devices...
Preparing project...
webpack is watching the files...
assets by path *.js 17.2 MiB
  asset vendor.js 16.6 MiB [compared for emit] (name: vendor) (id hint: defaultVendor)
  asset bundle.js 360 KiB [compared for emit] (name: bundle)
  asset runtime.js 88.5 KiB [compared for emit] (name: runtime)
  asset src_app_home_home_module_ts.js 25.6 KiB [compared for emit]
  asset src_app_user_user_module_ts.js 18.2 KiB [compared for emit]
  asset src_app_featured_featured_module_ts.js 11.4 KiB [compared for emit]
  + 3 assets
assets by path fonts/*.ttf 374 KiB
  asset fonts/fa-solid-900.ttf 204 KiB [compared for emit] [from: src/fonts/fa-solid-900.ttf] [copied]
  asset fonts/fa-brands-400.ttf 131 KiB [compared for emit] [from: src/fonts/fa-brands-400.ttf] [copied]
  asset fonts/fa-regular-400.ttf 39.1 KiB [compared for emit] [from: src/fonts/fa-regular-400.ttf] [copied]
assets by path assets/*.png 14.5 KiB
  asset assets/nativescript-angular-logo.png 10.8 KiB [compared for emit] [from: src/assets/nativescript-angular-logo.png] [copied]
  asset assets/auth0-logo.png 3.73 KiB [compared for emit] [from: src/assets/auth0-logo.png] [copied]
Entrypoint bundle 17.1 MiB = runtime.js 88.5 KiB vendor.js 16.6 MiB bundle.js 360 KiB
runtime modules 25.4 KiB 13 modules
orphan modules 6.96 KiB [orphan] 7 modules
modules by path ./node_modules/ 5.59 MiB
  javascript modules 5.33 MiB 609 modules
  json modules 273 KiB
    modules by path ./node_modules/mdn-data/css/*.json 242 KiB 3 modules
    modules by path ./node_modules/css-tree/ 30.7 KiB 2 modules
modules by path ./src/ 152 KiB
  modules by path ./src/app/ 26.5 KiB 22 modules
  modules by path ./src/*.ts 4.75 KiB 2 modules
  ./src/app.android.scss 120 KiB [built] [code generated]
  ./src/common/config.ts 565 bytes [built] [code generated]
external "~/package.json" 42 bytes [optional] [built] [code generated]
webpack 5.76.1 compiled successfully in 14536 ms
Webpack compilation complete. Watching for file changes.
         ~ applying user-defined configuration from C:\Users\AR022301\NativeScriptExamples\testapp\App_Resources\Android\before-plugins.gradle
Built aar for @nativescript/core
Updating runtime package.json with configuration values...
Project successfully prepared (android)
Building project...
Gradle build...
         + applying user-defined configuration from C:\Users\AR022301\NativeScriptExamples\testapp\App_Resources\Android\before-plugins.gradle
         + applying user-defined configuration from C:\Users\AR022301\NativeScriptExamples\testapp\App_Resources\Android\before-plugins.gradle
         + applying user-defined configuration from C:\Users\AR022301\NativeScriptExamples\testapp\App_Resources\Android\app.gradle
         + using android X library androidx.multidex:multidex:2.0.1
         + adding nativescript runtime package dependency: nativescript-optimized-with-inspector
         + adding aar plugin dependency<EMAIL_ADDRESS>         + adding aar plugin dependency<EMAIL_ADDRESS>
         + adding aar plugin dependency: C:\Users\AR022301\NativeScriptExamples\testapp\node_modules\nativescript-auth0\platforms\android\nativescript_auth0.aar
         + adding aar plugin dependency: C:\Users\AR022301\NativeScriptExamples\testapp\node_modules\nativescript-ui-core\platforms\android\TNSCore-release.aar
         + adding aar plugin dependency: C:\Users\AR022301\NativeScriptExamples\testapp\node_modules\nativescript-ui-sidedrawer\platforms\android\TNSSideDrawer-release.aar

Build file 'C:\Users\AR022301\NativeScriptExamples\testapp\platforms\android\app\build.gradle' line: 586
A problem occurred configuring project ':app'.
C:\Users\AR022301\NativeScriptExamples\testapp\platforms\android\.gradle\7.5\fileHashes\fileHashes.bin (The system cannot find the file specified)

Unable to apply changes on device: emulator-5554. Error is: Command gradlew.bat failed with exit code 1.

Sounds like a possibly a corrupted gradle cache on your system, I would try renaming
C:\Users\%USERNAME%\.gradle

to .gradle-bkp (just in case that doesn't help, you can restore it) and trying again.

Reboot the system? Sounds like something is keeping some files open in the background and preventing gradle from using them.


validation error in MMUSDV element

I am using a .obo representation of MMUSDV and am getting an error when trying to supply the field 2-week-old stage which is MmusDv:0000141:
"ERROR: 'MmusDv:0000141' in 'development_stage_ontology_term_id' is not a valid ontology term id of 'MmusDv'. When 'organism_ontology_term_id' is 'NCBITaxon:10090' (Mus musculus), 'development_stage_ontology_term_id' MUST be a term id of 'MmusDv' or unknown."]
This node is registered in the newest version of that ontology (master branch, but not released):
https://raw.githubusercontent.com/obophenotype/developmental-stage-ontologies/master/src/mmusdv/mmusdv.obo
But not in the newest release (0.1, from 5 years ago):
https://raw.githubusercontent.com/obophenotype/developmental-stage-ontologies/0.1/src/mmusdv/mmusdv.obo
In the documentation of schema version 2.0.3, it says that you want the newer MMUSDV release (https://github.com/chanzuckerberg/single-cell-curation/blob/v2.0.3/schema/2.0.0/schema.md) and also distinguish exactly these tags 0.1 and the newer version from earlier this year.
So I am wondering if the validate CLI accidentally accesses the older version or if there is a diversion between the obo on github and the owl that you use?

Unlike the other pinned ontologies in the schema, HsapDv and MmuDv do not have recent releases tagged in their repo. See tags for example.
The schema pins the data-version: releases/2020-03-10 which is the "current" release on:

http://www.obofoundry.org/ontology/mmusdv.html
http://aber-owl.net/ontology/MMUSDV/#/
https://www.ebi.ac.uk/ols/ontologies/mmusdv


Game: Dota2 mouse is always centered

step to reproduce:

install dota2 and start game.
click hero and select a hero then enter demo hero.
you can move your mouse but if you right click, it will always happen in center of the screen.
expected behavior: the right click happens on where the mouse is.

never played dota2, but also never noticed any right-clicks out of place. Since dota2 is running via XWayland, I'd recommend you try to launch it through gamescope.

I've never used gamescope. I tried running dota2 via gamescope -h 720 -H 1080 -n -- %command% but there is no game displayed. I can see gamescope and dota2 process in background. I've also tried running cs:s with gamescope and I can hear the sound of startup video but no display.

@fufexan

Try running just gamescope -e -- %command% and see if it works.

I can't see your recording. Firefox says it's corrupt.

Firefox says it's corrupt.

cuz it voted for trump?

I don't know why firefox says it's broken, video can be played on chromium based browsers.

GIF version of @dragove's recording for firefox users.

After I installed vulkan-intel  and vulkan-mesa-layers, it goes well with param prime-run gamescope -h 1080 -H 1080 -b -- %COMMAND%. prime-run is a shell script just add environment variables for nvidia prime-offloading.

Update: in version v0.18.0beta, now mouse pointer works well without gamescope.


Samsung phones can not enter comma

See also https://stackoverflow.com/questions/65184373/comma-doesnt-work-on-samsung-android-keyboard
Change the input type for samsung user agent to "phone"

Seems to work now :)


Rubocop Update: update cops and fixes

What
Turned on all new cops in rubocop 0.90 and added fixes for all suggestions.
The SoleNestedConditional cop threw up 3 issues in:
app/controllers/providers/transactions_controller.rb
and
spec/support/soap_matchers.rb
The changes I made in these files to pass the cop, do not appear to me to be the most readable, essentially due to the use of ! to indicate a negative/false requirement.
I am happy to revert these changes and use a rubocop ignore/disable if that is preferable, or if anyone has an alternatvie suggestion I am all ears. 👂
Checklist
Before you ask people to review this PR:

[x] Tests and rubocop should be passing: bundle exec rake
[x] Github should not be reporting conflicts; you should have recently run git rebase master.
[x] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[x] The PR description should say what you changed and why, with a link to the JIRA story.
[x] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

The changes I made in these files to pass the cop, do not appear to me to be the most readable, essentially due to the use of ! to indicate a negative/false requirement.
I am happy to revert these changes and use a rubocop ignore/disable if that is preferable, or if anyone has an alternatvie suggestion I am all ears. 👂

Personally I don't mind ! in boolean logic so I've approved the PR. But I'm also happy for you to disable the cop if you still have a doubt over it - I don't think having the cop enabled is adding much to the quality of our code.


Text jumps when double-tapped to edit on Android

Sometimes text items will jump when double-tapped to edit them. See video attached. I'm using a Samsung Galaxy Tab S7+ with the on-screen floating Samsung keyboard.
Steps to reproduce the behavior:

Double tap to add a text item.
Tap outside to un-select it.
Double tap the item again to edit it.
Observe how the text moves top a different place.

Seems to happen randomly.  Please repeat the edit-unselect process repeatedly if it doesn't trigger the first time.
The recording from Obsidian.md but I can easily reproduce it in Google Chrome. I'm running Android 12 on a Samsung Galaxy Tab S7+. Google Chrome version 105.0.5195.136, this has been happening for months.
Note: Originally reported in  zsviczian / obsidian-excalidraw-plugin #822.

https://github.com/excalidraw/excalidraw/issues/5642

I'm also getting this issue on my touchscreen laptop. On the web and the obsidian embed.

@manuelmorales can you verify if its fixed in https://excalidraw-j180karcg-excalidraw.vercel.app/ ?

Sorry for the late response @ad1992. And thanks for replying. The specific bug went away. But now there is a small change in behavior plus a bug. See video. Now it's no longer needed to double tap to edit the text back. However, the text appears cropped on the left side.

I just tried it on the https://excalidraw.com and the same recent behavior from my last comment is present. Including the cropping bug.
Weirdly, neither the original bug nor the new behavior/bug are present inside Obsidian for Android 1.4.4 with the Excalidraw plugin 1.8.26. Where I originally found them.

This could also be down to browser versions. Obsidian on Android runs in webview and the browser you are using might be using a different engine. Worth testing the bug out with different browsers...
Can you reproduce the error in this release of excalidraw? https://excalidraw-3mwljd1th-excalidraw.vercel.app/
(this is the last commit merged into the Obsidian package, if it is present here, then I can safely merge new commits to Obsidian, if not, then we know that it is one of the changes since 22 April that have caused this issue.

You are spot on @zsviczian:
Neither https://excalidraw-3mwljd1th-excalidraw.vercel.app/ nor https://excalidraw-j180karcg-excalidraw.vercel.app/ present any bug on Google Chrome for Android 113.0.5672.76 :tada:.
They both present a weird cropped and duplicated text bug on Samsung Internet <IP_ADDRESS>.

I would consider this bug closed and potentially open a new one for the dupe/cropped text.


Sync times are significantly slower in tags/1.4.0

Issue
Sync times are significantly slower than in tags/1.4.0. Across four tests and seen by two different people, a complete sync can take upwards of 10 hours. Right now I am at epoch 44 after 3 hours.
We saw much better performance with 1.3.0, with several syncs taking less than 3 hours.
Note that these tests are being ran on remote nodes. Due to https://github.com/input-output-hk/cardano-byron-proxy/issues/87 we are unable to test against a local proxy that normally results in some improvements (but still not enough to explain the regression here).

Now that @karknu's confirmed fix has been merged into Master, and we're now on 1.5.0, I'll close this issue. The node is syncing significantly faster - completing in ~1 hour.
https://github.com/input-output-hk/cardano-node/pull/506


Update the build_h3_tools.sh curl version to 8.7.1

This updated version fixes IPv6 handling for fedora:40. Without this, the bigobj.test.py IPv6 test fails.

Cherry-picked to v10.0.x


Jobrouter initial commit

Description
PR for Internal review of Job Router's Java sdk by JobRouter team.

I know Raj was having issues generating some of our classes that have no properties e.g DeclineJobOfferResponse for other SDK's and had to manually declare them. I think we'll also need to do this for now. I'm checking with swashbuckle team to see if we can get around this

William's comments are addressed in this PR https://github.com/Azure/azure-sdk-for-java/pull/29200. Moved to another branch as pipeline was not running on cparisineti:jobrouter-initial-commit branch.


node/daemon health report

Would it be possible to have some kind of "node/daemon health report"?
Something like a list of node urls with a green/red dot?

I'd like to think about it a bit, I think a health monitor as a general idea would be good for the next version. It'd be cool if that was independent from the API. That way if the front crashes miners still get an honest status on if the mining is interrupted or not.


name overrides template specified in this.render directive

works (i.e. renders template1):
Router.route('/example',function() { this.render('template1');},{name:'route1'});
fails (i.e. attempts to render a template defaulting to the name 'route1')
Router.route('/example',{name:'route1'},function() { this.render('template1'); });

// Renders "template1" and the route is named "route1"
Router.route('/example', function() {
  this.render('template1');
}, {
  name: 'route1'
});

// Renders "template1" and the route is named "route1"
Router.route('/example', {
  name: 'route1',
  template: 'template1'
});

// Renders "template1" and the route is named "route1"
Router.route('/example', {
  action: function() {
    this.render('template1');
  },
  name: 'route1'
});

// This syntax is wrong and won't work and is what you said didn't work and it shouldn't work.
Router.route('/example', {
  name: 'route1'
}, function() {
  this.render('template1');
});

This route will render a tempalte "route1" and will be named "route1" too.
Router.route('/example', {
  name: 'route1'
});

yes apologies, my bad. I must have posted this issue after a long day as its obviously the wrong syntax.


4.6 support and fixes

This is a fork of yarik's fork, where i've added fixes for application crashing under loading certain files and errors when trying to load others games other than genshin. While including yarik's work for 4.6 support aswell.

moved to https://github.com/yarik0chka/YarikStudio/pull/1


cookie.remove doesn't consistenly remove cookies

I have some cookie named 'token', set like so:
cookies.set('token', 'asdfasdfasdf', { path: '/' });

And it seems as though .remove() doesn't actually remove the token sometimes.
cookies.remove('token');
console.log(cookies.get('token')); // sometimes 'asdfasdfasdf', sometimes undefined

Am I missing some sort of asynchronous nature or something?

Is it important that I include the path in my remove? i.e.:
cookies.remove('token', { path: '/' });

Duplicate see https://github.com/reactivestack/cookies/issues/16 @marcuslongwell

cookies how to import？

When removing a cookie, you have to apply the same rules as when creating or updating one. Otherwise it will not be consistently removed :)


[Feat] UI enhancement and bug fixing in ABOUT US

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

The cards should be of same size and image must be in center. Also the about us page is quite basic. I would like to enhance its UI
Use Case
As the whole website is really attractive, about us page given info about the website, holds info about contributors which should look excellent too.
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@Bhum-ika okay you can work on it 👍🏻

please assign me the task as for gssoc24 extd

@SatyamTiwari069 This is already assigned to me


Attestor json schema

What this PR does / why we need it
This adds json schemas to the docs for all the attestors and also introduces the witness attestors schema command which allows users to get the schema from the CLI. This PR depends on https://github.com/in-toto/go-witness/pull/197.
NOTE: This PR must be merged after https://github.com/in-toto/witness/pull/442

This looks good to me.  I think there are some things we can do to make it look better on the site, but that shouldn't block this.  Good work!


Add Navigational Menu to Edit Optional Installer Fields

This pull request completes the optional feature and resolves #37
Changes:

Adds a navigational menu to allow users to either select all installers, or an individual installer to edit.
Once the installer(s) is selected, a selection menu will be shown to the user listing out all optional installer fields for the user to select and edit.
The field list will change depending on the installertype of the installer.
Certain fields are automatically restricted from being edited by the user by default (InstallerURL, InstallerSha256, SignatureSha256, ProductCode (unless MSI), and PackageFamilyName(unless MSIX))
Refactor the prompting methods into a new class called PromptHelper.cs
PromptAndSetPropertyValue() method is the main prompting method and should now be able to handle any field regardless of the field type.

Microsoft Reviewers: Open in CodeFlow

// Copyright (c) Microsoft. All rights reserved.

Looks like only white-space changes in here?

Refers to: src/WingetCreateCore/Common/GitHub.cs:1 in e8bd161. [](commit_id = e8bd161042d858788567f346b3d2f3a526e74d1f, deletion_comment = True)

// Copyright (c) Microsoft. All rights reserved.

reverted

In reply to: 899274173

Refers to: src/WingetCreateCore/Common/GitHub.cs:1 in e8bd161. [](commit_id = e8bd161042d858788567f346b3d2f3a526e74d1f, deletion_comment = True)


Example of a Quadratic formula

would be awesome if you put an example of least-squares for the y = Ax²+Bx+C case please

NVM, I think I did it myself
http://inside-out.xyz/technology/n-order-linear-equations-curve-fit-with-least-squares-and-php.html
In case you wonder how.

Thanks for link :+1:


OSSM-1689 Simplify IOR

/push-images

@yannuil If I update the Gateway, an error occurs when updating the Route:
2023-02-22T12:05:23.093027Z	error	ior	failed to process gateway bookinfo-gateway/bookinfo event update: 1 error occurred:
	* error updating a route for the host * from gateway: bookinfo/bookinfo-gateway: routes.route.openshift.io "bookinfo-bookinfo-gateway-684888c0ebb17f37" is invalid: metadata.resourceVersion: Invalid value: 0x0: must be specified for an update

/retest-required

/retest-required

/push-images

/push-images

/push-images

/retest-required

Can you fix the TestSMMR test. I know you didn't write this, but the test enables IOR and never disables it. This also prevents us from running the test multiple times (with go test -count 100), which would be really helpful in finding the race condition.

I will add the disabling IOR as well as cleaning up namespace and virtual services after the test.

@luksa I just found out that the targetPort can only be http2 or https. How should we handle Gateway with hosts that are using other ports?

/test maistra-istio-integ-aws-2-4

/retest-required

@yannuil could you rebase your branch? I merged commits which fixes integration tests.

/retest

@yannuil could you rebase your branch? I merged commits which fixes integration tests.

No need to rebase, as the rebase is performed automatically before the tests run.

/retest


⚠ Jenkins Plugins Artifactory has degraded performance

In c07172b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 2501 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 853fd74 after 15 hours, 7 minutes.


Generate a directed graph

Hi,
First, I wanted to thank you for this great piece of software, it looks like I'll be using it a lot in the future.
Just a small suggestion, I think it would be easier to visualize and understand the graph if it was directed.
Something like: A cites B becoming A -> B instead of the current A - B.
Cheers,

Hi,
Thank you very much for your interest!
The early versions of the software used arrow to represent directed graphs (similar to http://bl.ocks.org/fancellu/2c782394602a93921faff74e594d1bb1). However, it made large graphs harder to read.
I tried to use colors instead (when a node is active, the color of its parents and children change), but it is not really helpful. Making the edges asymmetrical may prove as useful as arrows without cluttering the graph. I'll look into it.
Cheers,
Alex

Ok, I understand. As an alternative you could also put the arrow in the middle of the edge (like A ->- B) to clutter a bit less the nodes.


Replace plonedemo.kitconcept.com/en with 6.dev-docs.plone.org

Closes https://github.com/plone/training/issues/618

@ksuess I'm sorry, where do you want that change made?

I assume that
You're in contact with Gatsby training authors. They checked that the training code is OK with requests to the new base site "Demo Plone".

@ksuess no, but I added a few more core contributors to Gatsby to the review.


Continuously unable to deploy my server to heroku

Just a small question for now, please, I just don't get something.
You've defined
"heroku-postbuild": "npm run build"

in your scripts.
And it deploys to Heroku successfully even though a build script is not specified.
When I try to do the same thing (I mean literally the same project with a different name and Room file), Heroku would complain that a build script is missing (which it does - I get it).
How does that happen?
Thank you

That's a good question, I think this is a left over from previous versions, can't really explain why my builds are not broken, if you remove the heroku-postbuild step it should work!


When I make changes to the light, I can't see this light anymore when I'm GM (V10)

Expected Behavior
When I make any change to a source of Light, whether it's changing the color, intensity, making that light a torch, or anything else, it stops illuminating for me, as if it had gone out. For the Player, it remains normal

Correct GM vision (light without alteration any parametes

Correct Player vision (light without alteration any parametes)
Current Behavior

When I make any parameter change of the light (as an example making it a rainbow) in my GM view the light seems to go out

in player view, the effect works normally
Steps to Reproduce
n/a
Context
n/a
Version
v4.0.13
Foundry VTT Version
v10 last version Builld 285
Operating System
windows 10
Browser / App
Chrome
Game System
Pf2e 4.0.3
Relevant Modules
Happen if only perfect vision On

Please check the console for error messages after the light goes out: F12 (or Option+Command+I on Mac) -> Console tab.

Happen if only perfect vision On

Does it happen if Perfect Vision is the only active module? If not, use the Find The Culprit module to figure the conflicting module.

After hours of testing the modules, it turns out that the problem occurs when 2 modules are active:
Perfect Vision and Levels
The levels module has 2 dependencies (wall height and lib wrapper) but when I disable the levels module and leave only the dependencies active along with perfect vision, this error does not occur, that is: the error is between the levels module and the perfect vision
the strange thing is that there is no error in the log

It should be fixed now (4.0.14). Make sure you also update Levels.
Thanks for the report!

I just did an update, and the problem remains.

I fixed a similar issue (only in scenes without background image). But the actual source of this issue is Wall Height. PV just makes it more obvious. I'll make sure Wall Height gets fixed.

Fixed in Levels 3.1.4 / Wall Height 4.7.5.

Thank you!! Now is fixed,


Energy prediction

Thank you for sharing.
I have a question :
In which energy unit, your energy predictor gives its estimations ?

Hi,
its in kcal/mol.


[Proposal] Upgrade pip every time to kill the cryptography bug

We've had a problem installing cryptography on local machines,
one solution to which is to make sure your is updated.
This pull request would add a step to the Makefile to always
upgrade pip before installing the rest of the requirements.
If we want to do this, I can port it to the other apps.
Issue discussion on github
We could also just put something into the README, if that was a lower-overhead thing people would me more comfortable with.

Yeah, seems reasonable 👍


Convert to React Store (@deprecated — Use useStore hook to bind store)

When trying to convert to a React Store following the docs
const useTemporalStore = create(useStoreWithUndo.temporal)
Zustand throws a deprecation warning 👍
`@deprecated — Use useStore hook to bind store
The signature '(store: StoreApi<TemporalState>): UseBoundStore<StoreApi<TemporalState>>' of 'create' is deprecated.ts(6387)
react.d.ts(18, 8): The declaration was marked as deprecated here.`
Any idea of how to fix ?

Sorry about this! I'll need to update the docs.
For the time being, you'll have to do something like this.
import { useStore } from 'zustand'

const useTemporalStore = <T>(selector: (state: TemporalState<StoreState>) => T, equality?: (a: T, b: T) => boolean) =>
    useStore(useStoreWithUndo.temporal, selector, equality);

There's still an issue that TemporalState isn't exported from zundo

Oops, yeah, I'll need to update that.
For the time bring, just call useStore(useStoreWithUndo.temporal) right inside of your component.

I would be more than glad to contribute to the lib, let me know if you'd welcome that.

Yes, if you have time and interest, please open a PR. Thanks

Any updates on this? @ayoubphy


Update media / comments endpoints + require authorization for all requests

Looks like in the wake of Cambridge Analytica instagram has changed up their endpoint formats and require a logged in user session for all requests.....
Not sure which endpoints need updating but I was specifically using the media/comments endpoints which are now as follows:
Media OLD:
https://www.instagram.com/graphql/query/?query_id=17888483320059182&id={0}&first=100&after={1}
Media NEW:
https://www.instagram.com/graphql/query/?query_hash=42323d64886122307be10013ad2dcc44&variables=%7B%22id%22%3A%2221575514%22%2C%22first%22%3A12%2C%22after%22%3A%22AQAHXuz1DPmI3FFLOzy5iKEhHOLKw3lt_ozVR40TphSdns0Vp5j_ZEU6Qj0CW6IqNtVGO5pmLCQoX0Y8RVS9aRTT2lWPp6vf8vFqjo1QfxRYmA%22%7D
where the payload after variables is a string encoded JSON dump of a payload that looks like:
{"id":"{account_id}","first":100,"after":"{end_cursor}"}
Comments OLD:
https://www.instagram.com/graphql/query/?graphql/query/?query_id=17852405266163336&shortcode={0}&first=100&after={1}
Comments NEW:
https://www.instagram.com/graphql/query/?query_hash=33ba35852cb50da46f5b5e889df7d159&variables=%7B%22shortcode%22%3A%22BhRnWwZh2E9%22%2C%22first%22%3A20%2C%22after%22%3A%22AQBiJjJfqh6GlIfWx1shfL_2LGNNgxAbKuGsYSYK2Zu-NRAX3bDi493pwiCQkh0SFOoP82AdjO-RsCrwtpMOhVynsEdRd1wAiyDU5ffTCNfCog%22%7D
where the payload after variables is a string encoded JSON dump of a payload that looks like:
{"shortcode":"{shortcode}","first":100,"after":"{end_cursor}"}
Both of these endpoints require a logged in session now.

Related to https://github.com/rg3/youtube-dl/issues/16119 I think..
Also, their changelog: https://www.instagram.com/developer/changelog/
But this issue seems to be fixed, actually.
By just adding a cookie?

self._set_cookie('instagram.com', 'ig_pr', '1')

Also mentioned here: https://github.com/althonos/InstaLooter/issues/157#issuecomment-379468181

Both of these endpoints require a logged in session now.

I just fixed this error in ripme (see this PR). It seems all you need is to send a cookie with the name "ig_pr" allow with the request and it works. The cookie can be any value

I just got this running with my NodeJS library and while I was testing it, Instagram seemed to have changed things. The cookie trick worked for a few minutes but now it doesn't seem to work. In fact, the graphql endpoint doesn't even open in a browser for me. Any one else getting the same?

Testing this a bit the x-instagram-gis value can't be random unlike ig_pr, it has to be the value set by IG

To make it work we need to add two extra key values to the cookies ### ds_user_id and sessionid

@ngSuraj: How did you set sessionid?

@kuldeepaggarwal I logged into IG from the browser and got those from the cookies.

@winder @kuldeepaggarwal  @ngSuraj  it seems like IG are hashing a string formatted as: "rhx_gis:xcsrf_token:user-agent:queryparams" using md5 hash algorithm.
the rhx_gis value can be found in the page source and the queryparams string will be [object:Object] if they are empty. worked for me without login 👍

But if i set the headers manually, i get
Error: Headers X-Requested-With,X-Instagram-GIS,User-Agent,Cookies forbidden

Has anyone figured out how to get the x-instagram-gis value?

@cyian-1756 yes.

Here's a small example which generates the x-instagram-gis and makes a request with it:
https://gist.github.com/winder/a97cc4d9480d4f12620f4602369d61f3
It's important that the user agent while fetching the csrftoken and rhx_gis tokens matches the one used when making a graphql request.

@dstftw @winder It's still not working for me... :-(

Looks like instagram may have changed something yet again. I had a script that generated the x-instagram-gis header working until a few hours ago, now I'm getting 403 errors. Anyone else?

@paige-pruitt The same things happening to me

Looks like they removed the csrftoken from the x-instagram-gis generation. I changed mine to be
def get_ig_gis(params, rhx_gis):
        vals = rhx_gis + ":" + params
        return hashlib.md5(vals.encode()).hexdigest()

and it's working again.

@UmutcanE I can confirm it's still working. If you're running into 400 errors it's because you now can't request more than 100 images at a time


Frequent crashes

Using v0.22.  Proxy = Socks5-with-creds, both encryption options = enabled.
Picotorrent crashes after a few minutes of downloading on busy torrents and then keeps crashing.
To repro, download https://downloads.raspberrypi.org/raspios_lite_armhf_latest.torrent

Hi! I can't seem to reproduce the issue. Did you submit the crash report as well?

Yes, I let it upload the crash report.
Will try now to reproduce the whole scenario again.

Doing the same with me to. Was aok until the other week, but now crashing at random periods from a few seconds to an hour. Crash reports have been sent.


Special candidate extraction handler for conjunctions

Consider the sentence fragment:
"effectiveness in colorectal , ovarian , and pancreatic cancers , as well as in advanced NSCLC"
or
"Hepatits A, B and C"
We would like to distribute candidates across conjunctions.

Related to #280

@stephenbach @ajratner also for #392, we should handle this in the new design docs... or explicitly pass. It's a feature that we will need in the next rev of the data model. One difficulty is automatically featurizing it... But this would be solved if "context ids" were allowed to be abstract, rather than forced to be grounded... a little indirection, maybe. (down the road?)


[SVCS-576] Scrub keen payloads to make them valid

Ticket
https://openscience.atlassian.net/browse/SVCS-576

Purpose
Scrub '.' from keys in keen payloads.

Changes
'.' are now removed from keen payloads. If this created a conflict with another key, a (1) will be added to the end of it. Increments based on number of collisions
Added tests for new scrubbing function

Side effects
Should be none

QA Notes
To test this locally, you need to make a keen account at https://keen.io/ and then add your keys to
the settings file here (the private keys)
Verify that your key is working by browsing a file or downloading a file on the osf. You should get some data to show up on your Keen.
Next, you need to send a bad payload. The best way to do this is to manually add code here something like:
payload[test.....in....name] = 'dict value'

Once logged to keen, the value should appear as testinname = 'dict value'
Name incrementation can be tested like this:
payload['test....key] = 'some value'
payload[test.key] = 'other value'

once scrubbed, this will create a conflict. it will be solved by one of the keys turning into a new key
'testkey' : .... ,
'testkey (1)` value, ...

Unsure of best way to test this on staging, or how to send a dummy payload there.

Deployment Notes

Coverage increased (+0.02%) to 89.121% when pulling f2ebc83df114c8a925423fda3fb6e67370e3dfb4 on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 473191c78c36b6ee63d4609d3952a317ee4ab63e on CenterForOpenScience:develop.

Coverage increased (+0.02%) to 89.121% when pulling 3fa71e4aefd1909c216076b4ad5aae2d2ddc4385 on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 473191c78c36b6ee63d4609d3952a317ee4ab63e on CenterForOpenScience:develop.

Coverage increased (+0.02%) to 89.121% when pulling 3fa71e4aefd1909c216076b4ad5aae2d2ddc4385 on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 473191c78c36b6ee63d4609d3952a317ee4ab63e on CenterForOpenScience:develop.

Coverage increased (+0.009%) to 89.951% when pulling 2f7e5654150b29d894a4c9d5fd8bee52972ed44f on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 26bf2093c15af333e634f14372709e7bf014ccb4 on CenterForOpenScience:develop.

Coverage increased (+0.009%) to 89.951% when pulling c59a4169ea315adfc35403def72059265b85ab4d on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 26bf2093c15af333e634f14372709e7bf014ccb4 on CenterForOpenScience:develop.

Coverage increased (+0.02%) to 89.958% when pulling 2e5cf472f6dd5d024547d1d04c17b142478baf06 on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 26bf2093c15af333e634f14372709e7bf014ccb4 on CenterForOpenScience:develop.

Coverage increased (+0.02%) to 89.958% when pulling ad2a359a2ab4d1c7e0d6ff5e2eeb4f019901016c on AddisonSchiller:feature/SVCS-576-invalid-keen-logs into 26bf2093c15af333e634f14372709e7bf014ccb4 on CenterForOpenScience:develop.

🍤 🍤 🍤   Moving to RTM!


RNA polymerase II complex import to nucleus

was this term supposed to be obsoleted? It's still there, but no longer part of nucleocytoplasmic transport
https://github.com/geneontology/go-annotation/issues/1700

and
RNA polymerase III complex localization to nucleus

AGAIN it's a problem with the reasoning from the logical definitions.
nuclear transport
transport
and ('occurs in' some intracellular)
and ('results in transport to from or in' some nucleus)
nucleocytoplasmic transport
transport
and ('results in transport across' some 'nuclear envelope')
and ('results in transport to from or in' some cytosol)
and ('results in transport to from or in' some 'nuclear lumen')
Do we need both ?????

Perhaps these should be children of nuclear transport:
'protein localization to condensed nuclear chromosome'
'protein localization to Mei2 nuclear dot'
'protein localization to nuclear envelope'
'protein localization to nuclear pericentric heterochromatin'
'protein localization to nuclear periphery'
'protein localization to nucleolus'
'protein localization to nucleoplasm'

Hi,
I don' t think  these
'protein localization to condensed nuclear chromosome'
'protein localization to Mei2 nuclear dot'
'protein localization to nuclear envelope'
'protein localization to nuclear pericentric heterochromatin'
'protein localization to nuclear periphery'
'protein localization to nucleolus'
'protein localization to nucleoplasm'
should be part of nuclear transport. There is no transport process, all of these are localization by attachment to the nuclear envelope by the various mechanisms referred to as /tethering/anchoring/attachment.
v

For the top part, I thought the gene product specific terms for import were going though?
https://github.com/geneontology/go-annotation/issues/1700

For the top part, I thought the gene product specific terms for import were going though?
geneontology/go-annotation#1700
yes but annotations still need to be reviewed.

I didn't move the localization terms.


KernelBuildDefinition to replace KernelInfo

This PR aims to enhance the experience of adding new backends for building kernels.
Main reason for that right now is to allow speeding up MLIR first run by allowing it to fetch local and global work size in process of build. MLIR changes are not included in the PR itself.

@DrizztDoUrden May I ask what is your plan on this PR? Thanks!

I was working on this until it was postponed for find 2.0.

@DrizztDoUrden  Lets close this PR for now and open it back up once you have cycles to work on it.


chore: remove unused dependencies

Feature or Problem

Remove unused dependencies from the workspace
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

integrated in #1736


FR: XX Ahead / XX Behind of remote branch (Mobile info)

On mobile, I'm missing information whether my local branch is behind or ahead of remote branch.
As there's no status bar on mobile this information is missing :(
As the space on mobile is limited,
I was wondering if it could be at least visualized by (background) coloring "Pull" or "Push" icons?

Actually this information should be already in status bar for desktop. So would be good to have it also somewhere in mobile

I'm not frequently running git fetch, so I don't know when new commits are available to pull, and I'm unsure I want to add this. But I agree that the information whether a push is possible or not should be visible.
I currently have the following implemented. I'm not using a background, because it looks like the button would somehow be hovered or selected. What do you think? I'm unsure if I want to include this in desktop as well or not.

Well, I'm also not fetching too much, but already had couple situations when running pull failed (due to changes in same file), so git knew it was behind origin (and it was visible in termux git commandline), but it wasn't visible in obsidian-git.
Due to not merged remote changes push was blocked.
But this couldn't be known without looking to termux git:/
I'm not insisting to indicate it by background color...
Maybe a number next to icon then ? just as it is with "Recently pulled files" ?

I won't add a number in that ui, because that's too much. I will add a fetch command. You can then see exactly where you are by looking at the history view, which is a basic git log. It should show you which commit the remote is on.

Thanks for you change, but could we get (in UI) information that something hasn't been pushed yet?
Don't know why but example from last hour: for 20minutes I was waiting for Android obsidian-git (v2.22.0) to push changes to remote (which didn't happen).
In UI it wasn't visible I was ahead of remote all this time.
While checking in termux it turned our that I was 3 commits ahead and had 2 unstaged files that should have been committed.
After doing refesh in UI, it found the changes but still wasn't willing to add them to staged, even after pressing "+" button (I was waiting for it ~15 min to be staged but it also didn't happen).
While termux git add, commit, and push - didn't had any issues with doing that (even pull was not required).
I've auto backup every 1 minute, auto pull every 3 minutes. I'm on Samsung Galaxy s22 which seems to have quite good processor. I've 213 note files inside 25 folders so probably not so much?

I don't know what exactly happened in your case, but showing that commits are ready to be pushed was added in 2.21.0. It highlights the push button in the source control view.

I don't know what exactly happened in your case

sure it was just to ilustrate the need of that change ;)

but showing that commits are ready to be pushed was added in 2.21.0

Oh to be honest I didn't even spot it was implemented :/ sorry :/
The reason behind that is I'm using light theme and on it, it's really hard to spot the difference between normal font color and the accent one.
Is there a change for a more contrasted font color for light theme?
It's way better contrast on the dark ones...


[MeshModel] [UX]: Icon for Kubernetes Component - API Service

Current Behavior
Meshery is a powerful platform that contains over 200 integrations for managing cloud-native applications. MeshMap is an extension of Meshery that visually represents these integrations and components. Currently, most of the icons used in MeshMap have the default shape of a circle. However, to improve visual clarity and consistency, we need to design custom icons for MeshMap components.
Desired Behavior
A new Icon for  API Service needs to be created. This issue calls for a volunteer to draft a new Icon.
Instructions for Components
While the default shape for new components is a circle, each component should be considered for its best-fit shape.

Review and familiarize with the available set of predefined relationship types. Refer to the Cytoscape node types for a list of possible shapes.
Propose a specific shape, best-suited to visually represent the Component. Example - Deployment as a pentagon, DaemonSet as a skull icon etc.
Create two versions of the icon one is white and another one is colored
Make a PR after adding the icon inside the new-icon folder present in the meshery repository
Provide the icon in SVG format

Contributor Guides and Handbook

MeshModel Repository
🖥 MeshModel Overview
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I'd love to take this on, I've done logo & icon designs before. I use illustrator mostly.
Can you assign this one to me?

Go ahead @ShatilKhan 👍. Assigning to you

Asking for suggestion
I found this icon on the official K8s icon pack,  since it's also API, can I just use it?

Closing this issue as the icon for API Service is already present. Thank you @ShatilKhan for taking this up. You can check other similar issues to work on


One-stop font color (theme) tweak-through-app-layers feasibility at config.json

Description of the new feature/enhancement
TL; DR
Make color theme tweaks one-stop at config.json.
Currently there are many choices where user make the font color selection in Terminal.
For example, an user may pick font color in their CUI text editor, shell config, Tmux config or Terminal config.
Let's say a user picks solarized dark theme in one's config.json, but his different layers of apps overwrite them respectively, so one won't see solarized dark theme in his editor.

Proposed technical implementation details (optional)
Pass current color theme variables from config.json into corresponding environment variables to WSL2.

I could be wrong, but I don't think there's a reasonable way to accomplish this. Windows Terminal lets you define the 16 colors in the color table, right? So if the connected shell requests "black" or "bright black", I assume the shell resolves it using the color table we provided and outputs the text in the desired color.
Now, if the shell outputs text in a specific RGB format, we can't really get in the way of that. Tmux, for example, would probably require some kind of initialization such that the color scheme from the Windows Terminal profile is converted and injected into Tmux's config file so that it uses that.
To make things worse, if there's one tmux.exe, how would this work with multiple WT profiles running tmux across different panes/tabs?
I like the idea and appreciate the feedback request, but I'm going to close this as not planned. Happy to reopen it if I'm wrong though (totally possible).

@carlos-zamora
gotcha.
Could you confirm that there are no way/plans to pass environment variables from config.json to WSL2 guest, not limited to this use case? At least it would help pass color scheme to editors inside of WSL2 guest.


docs: add git documentation

requested @Panquesito7 for better docs info. pushed.

requested @Panquesito7 for better docs info. to be pushed.

@ibrahimraimi: Are you working on it?

@aminoxix: Yeah, have made the corrections.
And am so sorry it took me this long to correct this. My sincere apologies. 🙏

@Panquesito7 keep me updated on this!

@ibrahimraimi: Do you mind updating 10, 11, and 12 points? I think that's missing..

@ibrahimraimi I made some changes that's mentioned by @Panquesito7, so you have to pull the latest change in your branch, & try to accomplish it asap!


⚠ Jenkins Plugins Artifactory has degraded performance

In 9872bb8, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1237 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4201cf2 after 24 minutes.


EXC_BAD_ACCESS in StreamSession.mm

Hi VideoCore!
While my app tried to connect, when timeout is reached, the library throw this error:

I also met this problem.   @ppamorim  how to solve it

I met the problem too。I think when I connect the session my app becomes background then the session release。So the var is realloced

Hey! Probably I fixed this issue #348


DAV_URL and supporting the port option

Hi,

Default Webdav in the latest version of Nextcloud is remote.php/webdav and not remote.php/dav.
It worked only after changing the line 4, in  lib/nextcloud/webdav_api.rb
DAV_URL = "remote.php/dav".freeze to  DAV_URL = "remote.php/webdav".freeze

Say if the URL contains the port, for example - docker installations (localhost:8080) - The gem does not work.
It worked only after changing the line 11, in  lib/nextcloud/webdav_api.rb
from @url =<EMAIL_ADDRESS>+ "://" + @url.host + "/" + DAV_URL) to
@url =<EMAIL_ADDRESS>+ "://" + @url.host + ":" + @url.port.to_s + "/" + DAV_URL)

The same gem works for own cloud too, but in case if we have a path,
Say - https:///abc.com/nextcloud/remote.php/webdav - it does not work due to the below reason.
LIne 4, in  lib/nextcloud/webdav_api.rb - DAV_URL = "remote.php/webdav".freeze
which has to be DAV_URL = "nextcloud/remote.php/webdav".freeze for the above case.
Will it be possible to add it as option while initializing.
Currently we have,

nextcloud = Nextcloud.new(
url: "https://cloud.yourdomain.com",
username: "your_username",
password: "your_password"
)
could be made as
nextcloud = Nextcloud.new(
url: "https://cloud.yourdomain.com",
webdav: "nextcloud/remote.php/webdav",
username: "your_username",
password: "your_password"
)
This would fix the issue #1 which was reported earlier.

So this makes me thinks that port option still not supported, am I right?

So this makes me thinks that port option still not supported, am I right?


Edit or Disable Indent Checks on Linters

Hey Dustin,
Trying to clean up my environment and having some trouble isolating which linter is responsible for throwing indent errors. I've tried setting "indent" properties on eslint and jshint to false and removed them from the object but continue to get the following errors on each file.
Could this be from WebStorm IDE and not your generator?
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(2,2):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(8,2):
[angular/ng_di] You should use the function syntax for DI
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(8,2):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(10,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(11,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(12,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(13,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(14,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(15,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(16,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(17,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(18,4):
[indent] Expected indentation of 2 space characters but found 0.
WARNING at /Users/i/Apps/scannabis.com/app/app-module.es6(19,4):
[indent] Expected indentation of 2 space characters but found 0.

That looks like ESLint for sure. I'm not sure if WebStorm is interfering somehow.
Just to verify, in the .eslintrc file, are you overriding indent like:

{
   "rules": {
     "indent": 0
   }
}

I'm not familiar with WebStorm, so it might be causing problems.
I'm currently on vacation, so I apologize if my future responses are delayed.

That's it! Thanks I was setting the wrong parameter.


Missing instructions on installing additional models

Hey there, congratulations on a great release! The app works great on a Mac and the installation was very straightforward.
Do you have plans for growing the mlc_chat_cli into a standalone tool or is it meant to be a proof of concept? Readme claims the project can be used to run 'any language model', but there are no instructions for how to do it. Furthermore, code seems to indicate that only three models are supported right now, is  that right?
Unless the mlc_chat_cli is supposed to be a toy demo, could you please add instructions for:

which models are supported (e.g. would RNN based models like https://github.com/BlinkDL/RWKV-LM work or is it just transformers)?
which formats, quantization methods and directory structures are supported - i.e. I don't think grabbing a random link from HF and cloning it the same way Vicuna was installed during original installation (git clone https://huggingface.co/mlc-ai/demo-vicuna-v1-7b-int3 dist/vicuna-v1-7b) would work, right?
it seems that there is a template/profile system for different LLM families, how do we add additional templates? Does it require patch/pull-request or can it be done by tweaking a config file somewhere?
the Readme mentions multiple optimizations, but the mlc_chat_cli doesn't expose that info/settings to the user. How do we tweak those?
given that the claim in the Readme is that all language models are supported, there should be some kind of rough guide on how to calculate the hardware requirements (e.g. what LLMs can my machine run using this tool, with what quantization and performance?) as a comparison, llama.cpp Readme isn't well-structured, but does provide a good overview of RAM requirements for a given model size and impact of different quantization techniques on performance

Also, it would be very neat if you mentioned in the Readme, what kind of community interactions are you aiming for. Would you prefer that people build their own tools that use mlc-llm as a backend or send PRs for improving mlc_chat_cli?

Thanks you for your input. This is the beginning of the release so indeed there are a lot of things can be added on top. Indeed there can be more clarities on the overall flow, we will release followup materials on these point.
There are two components of the project.

The MLC(machine learning compilation) part, which is the overall productive flow of adding new models and backend optimizations, they are build on top of TVM unity pipeline. The pipeline itself is generic to adapt and add new models.

There is a course that introduces the related concept.
So by any LLM, we meant that the overall MLC flow works for any model, and can be adapted to support things like RNN type models you mentioned.
The optimizations are also part of the MLC pipeline
See also @junrushao 's comment here https://github.com/mlc-ai/mlc-llm/issues/6#issuecomment-1528952903
We will be adding a few more models and use these to built up tutorials on new model support

The mlc_chat_cli is a runtime component that runs the compiled code, so the memory consumption and cost profile depends on the related models. This is a module that will work with any of the compiled models. It is a great suggestion that we can mention the overall requirement of some of the prebuilt settings as we expand more model support in the community.

And yes, as an open source community, we love contributions and pull requests.

Thank you for the explanation! I see that there is support for more models in mlc_llm/conversation.py, but the list in cpp/cli_main.cc is more limited. I guess this is just work in progress?
I would greatly suggest option to override profile selection via command line argument instead of always taking it from the path name. And moving profile / template definitions into an user-editable config file would be amazing as well (e.g. to customize the prompt and temperature).

Are there instructions for how to convert existing models to be used with mlc-llm? Reading this current thread, and this one, it seems possible, but I've not found any hints as to how to start.

Thank you for your suggestion, we will work on the instructions in the incoming weeks. The current build.py pipeline should support the llama class and there is WIP on other classes of models

Hi, is this project mainly working on LLMs? I wonder if the MLC flow works for image generation models (e.g., Stable Diffusion).

@yx-chan131 yes, checkout https://github.com/mlc-ai/web-stable-diffusion

Looking forward to the instruction, I am waiting for integrate it in my chat bot. https://github.com/Poordeveloper/chatgpt-app

Thank you for your suggestion, we will work on the instructions in the incoming weeks. The current build.py pipeline should support the llama class and there is WIP on other classes of models

Yup any start would be fine! looking forward to this
(Let me know if you need any help! Worked with LLM in production on for big GPU's )

Closing this issue for now due to inactivity. Feel free to reopen or open another issue if there are other questions!


 The ones between 12 and 21 words work fine. I used this site to generate them: https://iancoleman.github.io/bip39/
When I use a 24 word seed it throws an error.
ubuntu@ubuntu:~$ seedsplit split -t 2 -s 3
Enter seed mnemonic:
readline.js:1015
            throw err;
            ^

TypeError: Invalid entropy
    at Object.entropyToMnemonic (/usr/lib/node_modules/seedsplit/node_modules/bip39/index.js:95:37)
    at shards.map.shard (/usr/lib/node_modules/seedsplit/lib/seedsplit.js:16:18)
    at Array.map (native)
    at Object.split (/usr/lib/node_modules/seedsplit/lib/seedsplit.js:14:31)
    at result (/usr/lib/node_modules/seedsplit/bin/cli.js:29:36)
    at prompt.get (/usr/lib/node_modules/seedsplit/bin/cli.js:60:7)
    at /usr/lib/node_modules/seedsplit/node_modules/prompt/lib/prompt.js:336:32
    at /usr/lib/node_modules/seedsplit/node_modules/async/lib/async.js:154:25
    at assembler (/usr/lib/node_modules/seedsplit/node_modules/prompt/lib/prompt.js:333:9)
    at /usr/lib/node_modules/seedsplit/node_modules/prompt/lib/prompt.js:342:32

I've tried this on two different installs.

I didn't have any issues with 24 words on both Windows and Linex machines.  Maybe try to use the binaries in the 'Builds' folder?

Hey, I'm using this upstream lib to deal with bip39 seeds: https://github.com/bitcoinjs/bip39
Could the issue possibly come from there?
Could you try the same seed with that lib?

I tried the windows and linux binaries and they both did work with the seed. I must have something misconfigured with node.


iOS 8 fix (depreciated method)

Updated for iOS 8
Disclaimer:
I'm a web developer first & foremost (no experience with obj-c).  I was able to mess around for a bit and make this work.

see depreciated statements
https://developer.apple.com/library/ios/documentation/AddressBookUI/Reference/ABPeoplePickerNavigationControllerDelegate_Protocol/index.html#//apple_ref/occ/intfm/ABPeoplePickerNavigationControllerDelegate/peoplePickerNavigationController:shouldContinueAfterSelectingPerson:property:identifier:

Sorry for the delay, thank you for the edit!!!


Make tableaux into decision procedures when possible

The systems discussed in the modal tableaux chapter all have the fmp, but some systems produce infinite tableaux if the assumptions are satisfiable. These yield infinite counterexamples, so no problem for completeness. It would be nice if the systems could be refined to yield decision procedures.

See Chris Menzel's comment at http://openlogicproject.org/2018/02/22/modal-logic-propositional-logic-tableaux/#comment-6295
 I have a question about the simplified S5 tableaux rules (though I’m pretty sure it generalizes). I could well be confused or missing something, since (to my embarrassment) I’ve never really looked seriously at modal tableaux before about three weeks ago, but it seems that the rules as stated can generate infinite trees for satisfiable sets when simple finite trees will do. For instance, consider {□◇p}. Taken at face value, the rules seem to generate the following infinite tree since, in particular, the rule ◇T requires a conclusion with a new prefix and the notion of a complete branch requires a conclusion to □T for every prefix (I’m going to suppress the T’s since no negations are involved):
1 □◇p
1 ◇p
2 p
2 ◇p
3 p
3 ◇p
4 p
4 ◇p
…
Intuitively, though, we should just be able to stop after the fourth line here — that’s clearly all you need to construct a model for {□◇p}. Of course, if all we’re concerned with is that our rules be complete, the simplified rules are fine as they are. But it seems that they could also yield a simple decision procedure if, e.g., the rule for ◇T were modified along the following lines:
n T ◇φ
———
m T φ
where m is new, unless there is some k such that “k T φ ” is already on the branch.
Analogously, of course, for the rule □F. This rule would permit us to terminate the above tableau after the fourth line.
The effect of this, I think, is simply to recreate the decision procedure for S5 in Hughes and Cresswell, which only forces us to introduce a new world for (true) ◇φ when there isn’t one already in which φ is true. The revised rule also seems compatible with the relevant clause in the definition of a complete branch on pp. 597-8 of the OLP text, although a slight revision might be called for:

at least one possible conclusion in the case of modal rules that require (when necessary) a new prefix.

Of course, the idea of a “possible conclusion” would have to be clarified so that a prior occurrence of “k T φ” on a branch would count as one.


⚠ Bofrost.lu has degraded performance

In 2d016dc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2167 ms

Resolved: Bofrost.lu performance has improved in a8aad05 after 48 minutes.


LAU-76 Build new POST /audit/logon endpoint

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/LAU-76
Change description
Add new POST endpoint for IdAM logins
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

New PR raised


Help me! I want to change the icon to change when the character changes

In the old mod change the icon to change when the character changes will be:
iconP2.animation.play('gf1');
so what will be in mod 1.7? Thank you very much!.

Try to change the Kade Engine Version

try this code: 	function changeDaddy(id:String)
{
var olddadx = dad.x;
var olddady = dad.y;
remove(dad);
dad = new Character(olddadx, olddady, id);
add(dad);
iconP2.animation.play(id);
}


[V2 BackwardsCompatibility] Fix Pivot Price value

Pull Request Test Coverage Report for Build 7204

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 7201:
0.0%

Covered Lines:
1369

Relevant Lines:
1369

💛  - Coveralls


metadata-ingestion entrypoints.py complie question

git clone https://github.com/datahub-project/datahub
cd datahub
./gradlew build
When I open metadata-ingestion module

I want to know how to handle the datahub error prompt in metadata-ingestion module

Run ./gradlew :metadata-ingestion:codegen

./gradlew :metadata-ingestion:codegen

thanks  i run   ./gradlew :metadata-ingestion:codegen  but still prompt error when  runPreFlightScript
Task :metadata-ingestion:runPreFlightScript
🔎 Checking if current directory is metadata-ingestion folder
✅ Current folder is metadata-ingestion (/Users/wangdongkun/chj/github/datahub/metadata-ingestion) folder
👟 Running preflight for m1 mac
✨ Creating/activating Virtual Environment🔎 Checking if Scipy installed
Scipy not installed
⛅ Installing prerequisities for scipyWarning: openblas 0.3.20 is already installed and up-to-date.
To reinstall 0.3.20, run:
brew reinstall openblas
WARNING: Skipping numpy as it is not installed.
WARNING: Skipping pythran as it is not installed.
Requirement already satisfied: cython in ./venv/lib/python3.8/site-packages (0.29.28)
Requirement already satisfied: pybind11 in ./venv/lib/python3.8/site-packages (2.9.2)
Collecting numpy
Downloading numpy-1.22.3.zip (11.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.5/11.5 MB 5.9 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Skipping wheel build for numpy, due to binaries being disabled for it.
Installing collected packages: numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for numpy did not run successfully.
│ exit code: 1
╰─> [1333 lines of output]
Running from numpy source directory.
  Note: if you need reliable uninstall behavior, then install
  with pip instead of using `setup.py install`:

    - `pip install .`       (from a git repo or downloaded source
                             release)
    - `pip install numpy`   (last NumPy release on PyPi)

  ...
  ....

INFO:
########### EXT COMPILER OPTIMIZATION ###########
INFO: Platform      :
Architecture: aarch64
Compiler    : clang
  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none

  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-7kw6mvmw/numpy_4b454323da914776959040d1c193c05c/build/temp.macosx-10.14-arm64-3.8/ccompiler_opt_cache_ext.py
  INFO:
  ########### CLIB COMPILER OPTIMIZATION ###########
  INFO: Platform      :
    Architecture: aarch64
    Compiler    : clang

  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none

  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-7kw6mvmw/numpy_4b454323da914776959040d1c193c05c/build/temp.macosx-10.14-arm64-3.8/ccompiler_opt_cache_clib.py
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Task :metadata-ingestion:runPreFlightScript FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':metadata-ingestion:runPreFlightScript'.

Process 'command 'scripts/datahub_preflight.sh'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 1s
23 actionable tasks: 8 executed, 15 up-to-date

./gradlew :metadata-ingestion:codegen

thanks i run ./gradlew :metadata-ingestion:codegen but still prompt error when runPreFlightScript
Task :metadata-ingestion:runPreFlightScript 🔎 Checking if current directory is metadata-ingestion folder ✅ Current folder is metadata-ingestion (/Users/wangdongkun/chj/github/datahub/metadata-ingestion) folder 👟 Running preflight for m1 mac ✨ Creating/activating Virtual Environment🔎 Checking if Scipy installed Scipy not installed ⛅ Installing prerequisities for scipyWarning: openblas 0.3.20 is already installed and up-to-date. To reinstall 0.3.20, run: brew reinstall openblas WARNING: Skipping numpy as it is not installed. WARNING: Skipping pythran as it is not installed. Requirement already satisfied: cython in ./venv/lib/python3.8/site-packages (0.29.28) Requirement already satisfied: pybind11 in ./venv/lib/python3.8/site-packages (2.9.2) Collecting numpy Downloading numpy-1.22.3.zip (11.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.5/11.5 MB 5.9 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Skipping wheel build for numpy, due to binaries being disabled for it. Installing collected packages: numpy Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' error: subprocess-exited-with-error
× Running setup.py install for numpy did not run successfully. │ exit code: 1 ╰─> [1333 lines of output] Running from numpy source directory.
  Note: if you need reliable uninstall behavior, then install
  with pip instead of using `setup.py install`:

    - `pip install .`       (from a git repo or downloaded source
                             release)
    - `pip install numpy`   (last NumPy release on PyPi)

  ...
  ....

INFO: ########### EXT COMPILER OPTIMIZATION ########### INFO: Platform : Architecture: aarch64 Compiler : clang
  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none

  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-7kw6mvmw/numpy_4b454323da914776959040d1c193c05c/build/temp.macosx-10.14-arm64-3.8/ccompiler_opt_cache_ext.py
  INFO:
  ########### CLIB COMPILER OPTIMIZATION ###########
  INFO: Platform      :
    Architecture: aarch64
    Compiler    : clang

  CPU baseline  :
    Requested   : 'min'
    Enabled     : none
    Flags       : none
    Extra checks: none

  CPU dispatch  :
    Requested   : 'max -xop -fma4'
    Enabled     : none
    Generated   : none
  INFO: CCompilerOpt.cache_flush[817] : write cache to path -> /private/var/folders/3k/pjpmrxl91gsfwl734jv4lf4w0000gp/T/pip-install-7kw6mvmw/numpy_4b454323da914776959040d1c193c05c/build/temp.macosx-10.14-arm64-3.8/ccompiler_opt_cache_clib.py
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
× Encountered error while trying to install package. ╰─> numpy
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

Task :metadata-ingestion:runPreFlightScript FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':metadata-ingestion:runPreFlightScript'.

Process 'command 'scripts/datahub_preflight.sh'' finished with non-zero exit value 1

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 1m 1s 23 actionable tasks: 8 executed, 15 up-to-date

i am trying to   pip3 install numpy  and retry

i am trying to run:  pip3 install numpy
and then run:  ./gradlew :metadata-ingestion:codegen  still prompt error when runPreFlightScript
Task :metadata-ingestion:runPreFlightScript
🔎 Checking if current directory is metadata-ingestion folder
✅ Current folder is metadata-ingestion (/Users/wangdongkun/chj/github/datahub/metadata-ingestion) folder
👟 Running preflight for m1 mac
✨ Creating/activating Virtual Environment🔎 Checking if Scipy installed
Scipy not installed
⛅ Installing prerequisities for scipyWarning: openblas 0.3.20 is already installed and up-to-date.
To reinstall 0.3.20, run:
brew reinstall openblas
Found existing installation: numpy 1.22.3
Uninstalling numpy-1.22.3:
Successfully uninstalled numpy-1.22.3
WARNING: Skipping pythran as it is not installed.
Requirement already satisfied: cython in ./venv/lib/python3.8/site-packages (0.29.28)
Requirement already satisfied: pybind11 in ./venv/lib/python3.8/site-packages (2.9.2)
Collecting numpy
Using cached numpy-1.22.3.zip (11.5 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Skipping wheel build for numpy, due to binaries being disabled for it.
Installing collected packages: numpy
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
error: subprocess-exited-with-error

run ./gradlew :metadata-ingestion:codegen  success
but in the project module（metadata-ingestion）my idea still prompt


can I have a settings to be changed before compiling the new source?

I got this error "LNK2001: unresolved external symbol main" in the new source code update

@Null69 yes, I've changed the entry point from regular main function into WinAPI WinMain.
To fix this you have to either download the latest project settings from repository or fix this manually by setting linker /SUBSYSTEM setting to WINDOWS.
See details here: https://docs.microsoft.com/en-us/cpp/build/reference/subsystem-specify-subsystem?view=msvc-160

Thanks, when opening the .sln of any projects I downloaded, their settings are not getting applied to my Visual Studio I don't know why ;<


[AA-1506] Claim set editor - claim set import not retaining the authorization strategy overrides

@pmcvtm
Please help review and merge the changes.
Thanks

Will be raising the PR against Release-3.0


various problems

hi, i'd love to add it in my pack but
logspam
the config seems to do nothing
coal gen seems broken
also pls add copper in the default ores

All of these issues have been reported already

Thanks to ishland for fixing the log spam, & the next update will add copper ore as a default ore.


How to obtain Headers from website

I'm trying to troll this phishing site:
https://www.reddlt.cc/r/PublicFreakout/comments/nra4bz/over_dramatic_husky/
I believe I got the Object correct
url = 'https://www.reddlt.cc/r/PublicFreakout/comments/nra4bz/over_dramatic_husky/'
obj = {'loginUsername' : username, 'loginPassword' : password}
For the headers, I only changed the authority to the phish site.
headers = {'authority' : 'reddlt.cc',
Then I ran the program and getting
Post Request Made.
200 OK
I'm just wondering if I did this correctly.

"The 200 (OK) status code indicates that the request has succeeded. The payload sent in a 200 response depends on the request method."
so it should have worked, from the look of it the header thing in script is only optional for sites that actually requires it. And scammers probably rarely bother even going through with that

It has been done corectly. One more trolled scammer!


Issue with URL links in classifieds tasks

Following the instructions you provided, the URL for classifieds is set to “http://localhost:9980/”. The home page loads correctly, but all the assets such as images, stylesheets, and links are on the “https://” URL instead of “http://”, which results in ERR_CONNECTION_CLOSED. As a result, we get only a blank page because the resources are not retrieved properly, causing the agent to fail the tasks.

The CLASSIFIEDS was set to https://localhost:9980/  in the docker-compose.yml. Modifying it fixed the issue.


chore(deps): bump ethers

Motivation
Bump ethers and fix breaking changes

Solution

pending https://github.com/gakonst/ethers-rs/pull/2267


JavaPcre constructor is package-private

https://github.com/teragrep/jpr_01/blob/main/src/main/java/org/teragrep/JavaPcre.java#L175
should have "public" keyword to make it accessible from different packages

fixed in #12


bump github.com/DataDog/agent-payload/v5 to v5.0.106

What does this PR do?
This PR bumps github.com/DataDog/agent-payload/v5 to v5.0.106.
Changelog https://github.com/DataDog/agent-payload/releases
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


mozbackup: Add version 1.5.1

Add MozBackup.
It backs up profiles from Mozilla programs.

It's open source, see http://mozbackup.jasnapaka.com/development.php . Would it be better to download from sourceforge for https?

Like @linsui said, it's licensed under the three licenses I originally had.
I'm not really sure what the extra files it has are, as it doesn't have any settings exposed in the GUI and does it's behavior doesn't change on subsequent runs.

Source code is licensed under all of that, but artifacts are freeware as stated on homepage.

This program is freeware (even for commercial use) and works on Windows

See vscode as other example. Code is licensed under MIT, but final software is under freeware proprietary license

/verify


Display Coverage % in Gitlab

Hello
I want to display the % of coverage in Gitlab.
I can get it by
grep -Eo "[0-9]+([.][0-9]+)%" path/to/report//index.html | head -1
But I don't know to display it in Gitlab as Coverage must be regular expression.
Thanks

In the script tag block of your job (Inside .gitlab-ci.yml) you can add one line after executing kover:
- cat path/to/report/index.html
Then you can add the regex in a coverage tagcoverage tag  for the same job.

Until Kover provides an easy integration, here is particularly fragile way of doing this:
cover=$(<<<build/reports/kover/project-xml/report.xml | tail -7 | head -5 | grep 'INSTRUCTION' | cut -d ' ' -f 3,4 | sed 's/missed="//;s/" covered="/*100\//;s/"\/>//' | bc)
echo "Coverage: $cover%"

A simple way for Kover to make all of this unnecessary would be to provide a Gradle task similar to this:
$ ./gradlew koverStats
Instruction: 12%
Branch: 32%
Line: 15%
Method: 35%
Class: 80%

This command would also be useful for CLI users.

I liked the idea of CLOVIS-AI and integrated it as a gradle task
Still a bit hacky gradle task, maybe someone could improve on that
After that I'm using this gitlab coverage config
   coverage: '/Type: INSTRUCTION .*?([\d\.]+)%/'

In case anyone interested in a Kotlin version of gradle task above(https://github.com/Kotlin/kotlinx-kover/issues/229)
tasks.register("koverPrintMergedXmlCoverage") {
    val koverMergedXmlReport = tasks.named("koverMergedXmlReport")
    dependsOn(koverMergedXmlReport)
    doLast {
        //language=RegExp
        val regexp = """<counter type="INSTRUCTION" missed="(\d+)" covered="(\d+)"/>""".toRegex()
        koverMergedXmlReport.get().outputs.files.forEach { file ->
            // Read file by lines
            file.useLines { lines ->
                // Last line in file that matches regexp is the total coverage
                lines.last(regexp::containsMatchIn).let { line ->
                    // Found the match
                    regexp.find(line)?.let {
                        val missed = it.groupValues[1].toInt()
                        val covered = it.groupValues[2].toInt()
                        println("Total Code Coverage: ${covered * 100 / (missed + covered)}%")
                    }
                }
            }
        }
    }
}

Duplicates #229


alex description added

replace #247

same for me

Now I have the correct meshes, but the orientation is wrong:

Ok, I see! Please push the changes in the meshes if you prefer to hand over this task to @kkouhkil!


volatile int is_freeing is not compatible with _WIN64 bit __CAS

volatile int is_freeing is not compatible with _WIN64 bit __CAS, please kindly change to int64_t?

Which compiler and OS has this problem?

VS2017 64bit built, I change to int64_t , then working fine


Backport: [chttp2] Fix some fuzzer found bugs.

RlsEnd2endTest failure appears to be legit (I verified the test passed without the change) so it needs to be addressed.

https://github.com/grpc/grpc/pull/32760 turned out to be necessary

//test/core/end2end:h2_http_proxy_test@channelz@poller=epoll1@experiment=promise_based_server_call is an existing flaky test.


New version: dotenvx.dotenvx 1.14.2

New version: dotenvx.dotenvx 1.14.2
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-09-27 17:08:49.927 [FAIL] Installer failed security check. Url: https://github.com/dotenvx/dotenvx/releases/download/v1.14.2/dotenvx-1.14.2-windows-x86_64.zip Result: 0x80004005

Automated error analysis suggests -1978335187 may mean Installer failed security check. Another script should retry this every 18 hours.
Automated error analysis suggests 80004005 may mean Resource missing
(Automated response - build 896.)

@wingetbot run

Automatic Validation ended with:

Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Packages\dotenvx.dotenvx__DefaultSource\dotenvx.exe returned exit code: 1
Executable C:\Users\validator\AppData\Local\Microsoft\WinGet\Links\dotenvx.exe returned exit code: 1

(Automated response - build 896.)


Reload Components?

First of all, thanks for the library, it helps me stay organised and see me code clearly, thanks!
I use Barbajs to make transitions between my pages, so I need an event to restart the scripts. I've tried running mountComponents() each time a new page is launched, but it doesn't work. Is there a way to update the components? Or unmount/remount them?
Cheers!

Glad to her that someone else is using this library :)
I've never used Barbajs (looks cool thou). When a component is mounted it adds an $component property on the HTML element. This tells the library that the component is already mounted and shouln't be mounted again. I'm not sure how exactly barbajs works, but maybe the DOM is somehow merged and not fully replaced, therefore the old HTML elements stay intact and won't get remounted. Normally, if a page visit loads new DOM content the mountComponents() should work.
You could force to remount the components by searching for all components and removing the $component before you call mountComponents(), like:
document.querySelectorAll('[data-simple-component]').forEach(el => el.$component = undefined)

Or maybe barba.js exposes some kind of event system and you could notify your components manually?
Maybe like they show in the custom code section
// menu.js
export default registerComponent('menu', () => {
  // ...

  const update = () => {
    // do stuff when the page changes
  }

  return { update }
})

// index.js
barba.init({
  views: [{
    namespace: 'home',
    afterEnter() {
      const menu = document.querySelector('[data-simple-component="menu"]')
      menu.$component.update()
    }
  }]
});

If you have many components that need an update it might also be useful to use a simple event bus.
(Haven't tested this code above)
If you can provide a simplified repository with your setup I can look into it!

Thanks for your reply! Reading you, I realised that my component was not inside my Barba container and therefore did not have the Barba mechanics. So I placed my interactive Nav in the Barba box and it works like a charm.
Thanks again!
Here's my code for reference.
<body class="no-js body--<?= $page->template()->name() ?>" data-barba="wrapper">
  <snippet:header />
  <main class="main" id="main" data-barba="container" data-barba-namespace="page">
    <snippet:nav />
    <?= $slots->default() ?>
  </main>
  <snippet:footer />
</body>


cursorNotFound flag always false

At line 448 of lib/connection/commands.js, since CURSOR_NOT_FOUND is set to 0, this.cursorNotFound is always false. Is that an intended behaviour (reserved for future use)?

No you are right the value should actually be 1. In practice this flag is legacy as an actual error message is returned from the server when no cursor is found.

Thanks Chris.
Something off topic, I figured out the encoding of normal commands, queries etc. from your source, however it seems some internal commands (e.g. whatsmyuri) have a different scheme? Any chance it's documented somewhere? Thanks a lot in advance.


Update loop of Router construct

Hi, I'm trying to run @davidwdan's code:
https://github.com/voryx/Thruway/issues/96#issuecomment-98416776
In that code, Router is working fine, but ZeroMQ Puller is not.
While I was looking constructs, I saw a $loop problem of Router. Is it the reason?

@AlphanB thanks for the pull request.
$loop ?: Factory::create() is just shorthand for $loop ? $loop : Factory::create(), which means your change doesn't do anything, so I'm going to close this PR.
Can you post your client and router code samples on the thruway google group and I'll try to help you with it.


hide a license

Allows to hide a license from a dialog.

Deploy preview for landscape ready!
Built with commit 566408a20cfda6452d7fbcf0c06e4e5c753ef551
https://deploy-preview-1284--landscape.netlify.com


Issues in Observing Chaos Impact On Services Tutorial

[ ]  Analytics section can be updated to Observability. Screenshots can also be updated accordingly.
[ ]  Done button on page 7 redirects to a link which causes a 404 error.

Hi, @neelanjan00.
Thanks a lot for the feedbacks.
The section reads "Analytics" on my Chaos Center. I have Litmus Beta8 installed, could this be the reason for the difference?

Hi, @neelanjan00.
Thanks a lot for the feedbacks.
The section reads "Analytics" on my Chaos Center. I have Litmus Beta8 installed, could this be the reason for the difference?

Yes, in the latest stable version, it has been renamed to Observability. You can install the latest version to check.

Closing this issue as it has been fixed.


⚠ Bofrost.at has degraded performance

In e5088d9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 977 ms

Resolved: Bofrost.at performance has improved in afe7f7f.


Polyphonic Audio Stream doesn't stop in HTML export in 4.3 beta

Tested versions

Reproducable in 4.3 beta3 [82cedc83c]

System information
Chrome and Edge on Windows, Chrome on Android
Issue description
stop_stream() method of AudioStreamPlaybackPolyphonic, doesn't stop audioStreams
Steps to reproduce

create a project in 4.3 beta3
add AudioStremPlayer
add AudioStreamPolyphonic as stream
through script use play_stream() to play and audiostream and add stream ID to a variable.
use stop_stream() with same stream ID to stop the audio stream

observe that the audio stream starts and stops when running from the editor
however the stream will not stop in HTML export
Minimal reproduction project (MRP)
polyphonichtmlproblem.zip

This may be the same issue as #94226, in which case it would be fixed by #94268 (in upcoming 4.3.rc1).

Doesn't seem fixed yet, I can confirm the bug in 4.3.rc2.

I tested and confirm that the issue comes from Web audio now default to "Sample" playback type, which is new in 4.3.
Overriding it to "Stream" (i.e. like in 4.2.2) works around the issue.


After refereshing the info remains

Describe the bug
A clear and concise description of what the bug is.
In the login page when we type down the wrong credentials and its says username and password not found. So even after we refresh the page except the password everything stays put. So it makes a bit confuse for the user.
To Reproduce
Steps to reproduce the behavior:

Go to 'login page'
Click on 'login in'
Scroll down to 'refresh the page'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Are you willing to contribute to this issue? [Yes/No]
Desktop (please complete the following information):

OS: [Windows]
Browser [Firefox]

Additional context
Add any other context about the problem here.

@Alenjojo after refreshing the page username doesn't stay up


Update gRPC endpoint parsing to infer tls from query parameter

Based on proposal https://github.com/dapr/proposals/pull/40

/assign

This is done.


About the source of dataset of background Images.

Hello sir, We are working on the project which requires similar background images sir, Can we please get the source of the dataset of background images with no text. ?

Hello sir, We are working on the project which requires similar background images sir, Can we please get the source of the dataset of background images with no text. ?

Yes, sir this will be of great help. Even we wanted it.

The background images used in this project are available for download here.

Thank You sir


Make Validation Config to Extend BaseConfig

I am creating a project which includes so may plug and play modules, I use Registrar to Extend Filters and Some other Configs, But the Validation Config doesn't extend the BaseConfig so I can't add rules to it except I modify it directly.
It would be nice to place all rules into a $rules property so that different modules can add theirs to it.
e.g
<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;
use CodeIgniter\Validation\CreditCardRules;
use CodeIgniter\Validation\FileRules;
use CodeIgniter\Validation\FormatRules;
use CodeIgniter\Validation\Rules;

class Validation extends BaseConfig
{
    //--------------------------------------------------------------------
    // Setup
    //--------------------------------------------------------------------

    /**
    * Stores the classes that contain the
    * rules that are available.
    *
    * @var string[]
    */
    public $ruleSets = [
        Rules::class,
        FormatRules::class,
        FileRules::class,
        CreditCardRules::class,
    ];

    /**
    * Specifies the views that are used to display the
    * errors.
    *
    * @var array<string, string>
    */
    public $templates = [
        'list'  => 'CodeIgniter\Validation\Views\list',
        'single' => 'CodeIgniter\Validation\Views\single',
    ];

    //--------------------------------------------------------------------
    // Rules
    //--------------------------------------------------------------------
    public $rules = [
        'login'=>[
            //
        ]
    ];
} ```

We use GitHub issues to track BUGS and to track approved DEVELOPMENT work packages. We use our forum to provide SUPPORT and to discuss FEATURE REQUESTS.
If you raise an issue here that pertains to support or a feature request, it will be closed! If you are not sure if you have found a bug, raise a thread on the forum first - someone else may have encountered the same thing.
https://github.com/codeigniter4/CodeIgniter4#repository-management

Why don't you send a PR?
See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/README.md


Name below

Fixes #31 and adds some code reuse
(Not sure how to get my whitespace to match)

i get a merge conflict between this and #41 FYI

hi @gonuke, is it possible to center the names? left-justifying them makes it a little confusing and can also cause region overlap (see below). also, the agents:Sink appears to have some problem in which no name comes up. @FlanFlanagan, any ideas?

ok, I see why the sink name isn't showing up. for some reason its font is white on the current release branch..

Centering is tricky!!!  They have always been configured to be centered, but it's not clear how to trigger it to recalculate the centering.
When line wrapping occurs, then things tend to be centered appropriately.
I'd like to avoid blocking on the centering issue and tackle that as a separate issue.

Alright, then can we fix the name? It should be the color test in CycicCircle.java

I suppose everything should be black? @FlanFlanagan, care to comment?

Also, does this affect regions/insts (I think not..)? If so, related changes will be needed.

I have forced text to black always since the pastel change should make this the right answer always.

I'll move it all to regions & insts as well.

would you like me to wait or merge this now?

I think this is ready.  I'm not sure I've settled on the right default placement for text in each case, but it's now easily changed.

I implemented #41 for all agents here, too, so I'm going to close that.

The text is based only off the circle and not on the image of the skin. The
sin basically exists over the circle and is mode transparent
On May 28, 2015 5:32 PM, "Paul Wilson"<EMAIL_ADDRESS>wrote:

I implemented #41 https://github.com/cyclus/cyclist2/pull/41 for all
agents here, too, so I'm going to close that.
—
Reply to this email directly or view it on GitHub
https://github.com/cyclus/cyclist2/pull/42#issuecomment-106618601.

I think I'm about done with this one!
I'll add an issue for getting the centering right.

Hold on... DnD Institutions get a different color from the dropped Institutions.  One is based on name and the other on "type".

Hmm, just a mistake on my end. They should probably match type.

Also fixes #25
I think this is as ready as it's going to get!

Looks good on my end. Thanks Paul!

I think I merged this in properly...

This doesn't show as being merged...?

I've rebased this

ok, this looks good to me


500 error when getting attestation token

I keep getting a 500 error response when posting to https://api.casper.io/droidguard/attest/binary it was working fine this morning is the server under maintenance or something?

Hi,
Yes this is an issue on my end.
Google continuously make changes to their internal systems, and it appears there's a bug in my internal code which makes the automatic system updating fail when Google releases new internal code.
I'm in the process of getting it sorted out, to avoid the server having any more downtime (eg 500 errors), however you'll all just have to be patient as this will take me some time.
I will eventually be setting up a system with API keys to use the Casper API, as it costs me quite a sum of money to have these servers running for you all.
Cheers.

@liamcottle maybe you could put some of these pieces on github like you did with your attestation servlet? that way we can self host and not overload your servers.

Hi @robertdo,
Unfortunately I can not provide you with the source code behind the Casper API Attestation/DroidGuard system.
This is in my best interests, as well as the general public, as it uses private internal code from within the Google DroidGuard system, which they have gone to great lengths to prevent the public from obtaining.
I have spoken to one of Google's Security Software Engineering teams recently about the DroidGuard system, and it's best that the source code of my system is not readily available for looking at, as it will cause security issues for other systems available by Google.
I'm in the process of setting up a Client Portal where users of the Casper API can register for an API Key to use the Casper Attestation system, and other API's that come about in the future for accessing Snapchat.
I'll be providing more information about this, when the time arises.
However, for now, if you use my API's for obtaining Client Auth Tokens and Attestations, you'll have to be patient if the system isn't working at the time.
I do know it appears to stop working sometimes, and have found the root cause of this. I'm in the process of getting it sorted out.
Cheers,
Liam Cottle