[AMD] [MFMA] [WMMA] Improve Triton GPU to LLVM conversion

This PR

Replaces calls of generic order function with specific lane/warp/repetition functions
Fixes wrong warp index computation in legacy shared->mma converter
Adds basic tests for WMMA v2 layout
Enables transposed layout for wmma v2

@giuseros @joviliast  PTAL

Thank you, LGTM.
Please address my nit-comments.

I am going to split this PR in few smecialized PRs


[ASR][A2A] Adding support for proximity placement group

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

/azp run automation - sdk

Can one of the admins verify this patch?

/azp run automation - sdk

/azp run automation - sdk

@fengzhou-msft : please include the required people from ARM team to review this.

@Azure/arm-api-review-board : Please review this


Error logs are not sent to Hub

Seems error logs are not sent to Hub b/c of some karaf specific issues.

@absidish please check and close if fixed


Not able to run llama model 3.2 vision

Command - local-llm run meta-llama/Llama-3.2-11B-Vision 8000 --verbose
Issues - Not able to download and run the LLM model
Traceback (most recent call last):
  File "/home/ubuntu/.local/bin/uvicorn", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/uvicorn/main.py", line 410, in main
    run(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/uvicorn/main.py", line 577, in run
    server.run()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/uvicorn/server.py", line 69, in serve
    await self._serve(sockets)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/uvicorn/server.py", line 76, in _serve
    config.load()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/uvicorn/config.py", line 440, in load
    self.loaded_app = self.loaded_app()
  File "/home/ubuntu/.local/lib/python3.10/site-packages/llama_cpp/server/app.py", line 150, in create_app
    set_llama_proxy(model_settings=model_settings)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/llama_cpp/server/app.py", line 70, in set_llama_proxy
    _llama_proxy = LlamaProxy(models=model_settings)
  File "/home/ubuntu/.local/lib/python3.10/site-packages/llama_cpp/server/model.py", line 31, in __init__
    self._current_model = self.load_llama_from_model_settings(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/llama_cpp/server/model.py", line 236, in load_llama_from_model_settings
    _model = create_fn(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/llama_cpp/llama.py", line 369, in __init__
    internals.LlamaModel(
  File "/home/ubuntu/.local/lib/python3.10/site-packages/llama_cpp/_internals.py", line 56, in __init__
    raise ValueError(f"Failed to load model from file: {path_model}")
ValueError: Failed to load model from file: /home/ubuntu/.cache/huggingface/hub/models--meta-llama--Llama-3.2-11B-Vision/refs/main
Error starting LLM, run with --verbose for more

@bobcatfish Can you please check on this?


Update logo

We should make a new logo so it is FTG instead or maybe something actually creative. :D

I know that neither of us are graphical artist, so either:
We ask for help
We find some helpful website such as game-icons
We do something very simple (similar to what we have)

Agreed. We need to ensure that the logo works for both light and dark mode.


Test for randomized shovel spots

Adds desmume-based tests for dig items.
Each tests starts the game with a save where Link is outside of Oshus's house. The test moves him over to the tree next to the house where there is a buried item and digs it up. The testing code then uses the information in the ITEM_MEMORY_ADDRESSES dictionary to check if the item was successfully picked up; if not, the test fails.

There's still items missing for this, but I'm just going to merge as-is since I'll be shifting focus to logic-related issues, and these tests will be nice to have in master.


Crashes on load

Dear developer,
I wanted to try this program as it looks pretty useful. I just wanted to load an existing anki set to be able to play around without having to create cards first.
Donkey failed on all sets I found online, e.g. https://github.com/PascalDierich/Rechnerarchitektur-anki-flashcards/blob/master/Computer Architecture.apkg
donkey load ~/Downloads/Computer\ Architecture.apkg
2024/06/22 21:06:48 hello
2024/06/22 21:06:48 hello
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
github.com/takacs/donkey/cmd.loadFileToDb({0x7fffad7c42cd?, 0x78f85f?}, {0x790476, 0x7}, 0xc0001180b8)
	/home/martin/build/go/pkg/mod/github.com/takacs/donkey@v0.0.0-20240622025837-e6d7f6e2d7aa/cmd/load.go:61 +0x42e
github.com/takacs/donkey/cmd.init.func5(0x9e1680, {0xc000126320, 0x1, 0x78f86f?})
	/home/martin/build/go/pkg/mod/github.com/takacs/donkey@v0.0.0-20240622025837-e6d7f6e2d7aa/cmd/load.go:40 +0xcb
github.com/spf13/cobra.(*Command).execute(0x9e1680, {0xc0001262e0, 0x1, 0x1})
	/home/martin/build/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:940 +0x882
github.com/spf13/cobra.(*Command).ExecuteC(0x9e1960)
	/home/martin/build/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
	/home/martin/build/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/takacs/donkey/cmd.Execute()
	/home/martin/build/go/pkg/mod/github.com/takacs/donkey@v0.0.0-20240622025837-e6d7f6e2d7aa/cmd/root.go:19 +0x1a
main.main()
	/home/martin/build/go/pkg/mod/github.com/takacs/donkey@v0.0.0-20240622025837-e6d7f6e2d7aa/main.go:9 +0xf

Version v0.0.0-20240622025837-e6d7f6e2d7aa

hey @mdosch , first of all thank you for opening this issue and giving me an opportunity to improve donkey!
Unfortunately donkey load doesn't support the .apkg format as of now. I've opened #41 to add support for it as soon as I can. Currently the way to import an .apkg file is to import it to Anki and export it to a .txt file. I've written some instructions on how to do this here: https://github.com/takacs/donkey/blob/main/docs/load_cards.md With these steps I managed to import the deck you referenced.
Please let me know if you managed to succeed with the import. Thanks!

Thanks, that worked.


Impossible to plot Insample Anomalies without a forecast_df

Right now it is Impossible to plot anomalies for insample data without passing a forecast_df even though it is a valid use case. Moreover, the prediction intervals for df are filtered out by df = _filter_series(...) at line 162 which prevents plotting the insample anomalies.

The following should work:
from utilsforecast.data import generate_series
from utilsforecast.plotting import plot_series

level = [95]
series = generate_series(2, n_models=1, level=level)
plot_series(series, series, level=level, plot_anomalies=True, max_insample_length=0)

You are right, didn't realize I can use max_insample_length thank you!

We can make the df optional and being able to provide just forecasts_df for this case to avoid having to repeat it

Fixed by #98


Kubeadm init stucks in wait-control-plane

HI!
I'm trying to install kube-vip in a fresh kubeadm install.
I'm using last kubeadm version and containerd as CRI.
I use a private registry that is secured by my certificate.
All the kubeadm nodes know the certificate.
I've used kube-vip alias to create my /etc/kubernetes/manifest/kube-vip.yaml file.
The command is :
kube-vip manifest pod --interface eth0 --address MYADDR --controlplane --service --leaderElection

A only change the path of the image cause of my registry.
I have another file kubeadm.conf.yml
apiVersion: kubeadm.k8s.io/v1beta2
kind: ClusterConfiguration
kubernetesVersion: v1.21.2
dns:
  imageRepository: repo...
imageRepository: repo...
controlPlaneEndPoint: "MYVIP"
networking:
  podSubnet: "<IP_ADDRESS>/16"

At this moment I use this command to init :
kubeadm init --upload-certs --config kubeadm.conf.yml  --v=10

I haven't any warnings.
But it stucks :
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static pods from directory /etc/kubernetes/manifests.

It loops onto a curl test in the VIP address.
It seems to be an error of pulling but I don't know.
When I try : sudo crictl --runtime-endpoint /run/containerd/containerd.sock images
Kubevip doesn't appear.
How can I debug that ?
Thanks for your work.

It looks like you've not enabled --arp or --bgp so kube-vip wont be advertising the control-plane address

Sorry, I haven't copy/paste this part.
But, arp is in;
apiVersion: v1

kind: Pod

metadata:

  creationTimestamp: null

  name: kube-vip

  namespace: kube-system

spec:

  containers:

  - args:

    - manager

    env:

    - name: vip_arp

      value: "true"

    - name: vip_interface

      value: eth0

    - name: port

      value: "6443"

    - name: vip_cidr

      value: "32"

    - name: cp_enable

      value: "true"

    - name: cp_namespace

      value: kube-system

    - name: vip_ddns

      value: "false"

    - name: svc_enable

      value: "true"

    - name: vip_leaderelection

      value: "true"

    - name: vip_leaseduration

      value: "4"

    - name: vip_renewdeadline

      value: "2"

    - name: vip_retryperiod

      value: "1"

    - name: address

      value: MYVIP

    image: registry.domaine.com/miroirs/docker.io/plndr/kube-vip:v0.3.7

    imagePullPolicy: Always

    name: kube-vip

    resources: {}

    securityContext:

      capabilities:

        add:

        - NET_ADMIN

        - NET_RAW

        - SYS_TIME

    volumeMounts:

    - mountPath: /etc/kubernetes/admin.conf

      name: kubeconfig

  hostNetwork: true

  volumes:

  - hostPath:

      path: /etc/kubernetes/admin.conf

    name: kubeconfig

status: {}

There is a debug mod while kubeadm init or how can I debug kube-vip while this init ?
Thanks for your help !

During the kubeadm init phase can you:

ps -ef and check that kube-vip is actually running
Look at the net config ip a show eth0

Nothing moves :'(
It seems that k8s ignores kube-vip.yaml.
In the kubeadm init log, there is nowhere a mention about this file.
I use sudo to edit and run kubeadm.

Can you:
Look in /var/log/pods/ and look at journalctl -u kubelet

Okay,
from the journal, kubelet tries de pull images from k8s.gcr.io but I've specified to use another repo.
So, kubeadm fails because it cannot pull images.
But, it's strange because when I do kubeadm config images pull --config MyConfig, it's work.
The bug appears while run manifests.
I've also checked into /etc/kubernetes/manifests/*, and all files have the good path to the repo.
There is another option, I've missed to specify the repo ?
Thanks, the bug is probably here.
Feel free to close this issue !


Add what import are needed for each class

@thomlucc commented on Tue Feb 18 2020
A game developer used typescript to port a game, and sometimes found it difficult to locate what imports he needed to access a certain class - having this listed clearly in the docs for each class would be really useful.

This is technically already available.
You can find the information here:
https://doc.babylonjs.com/divingDeeper/developWithBjs/treeShaking#faq


Papersize 80mm

hi @ekasetiawans, how can i change paper size from 58mm to 80mm ? thank in advance.

interested.

hi @u-sour , I want to ask you whether you can print on IOS platform? I worked well on Android but couldn't print on IOS version 17. Is there any required permission I have to add to Info.plist?

Currently I don’t owned the 80mm printer, but if you want to cotribute you can fork the repository and add the PaperSize enum. Make sure the paper width is the max dot per lines, you can find it from the printer device information or printer test page.

@haidang750 i haven't tested it on IOS yet maybe tomorrow.  @ekasetiawans oh, i don't owed it, too. maybe i can borrow from friend to test it, can you show which line of code i need to add ?

@haidang750 i just test it on IOS version 17.5.1 it works.

@u-sour which printer did you use to test it?

and can you please share your permissions about Bluetooth in your Info.plist file?

@u-sour which printer did you use to test it?

Printer: MPT-II 58mm

and can you please share your Bluetooth permissions in your Info.plist file?

Info.plist :
<dict>
	<key>CADisableMinimumFrameDurationOnPhone</key>
	<true/>
	<key>CFBundleDevelopmentRegion</key>
	<string>$(DEVELOPMENT_LANGUAGE)</string>
	<key>CFBundleDisplayName</key>
	<string>Flutter Template</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleLocalizations</key>
	<array>
		<string>en</string>
		<string>km</string>
	</array>
	<key>CFBundleName</key>
	<string>flutter_template</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(FLUTTER_BUILD_NAME)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>$(FLUTTER_BUILD_NUMBER)</string>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSBluetoothAlwaysUsageDescription</key>
	<string>Bluetooth permission is required for accessories connecting.</string>
	<key>NSCameraUsageDescription</key>
	<string>Camera permission is required for barcode scanning.</string>
	<key>UIApplicationSupportsIndirectInputEvents</key>
	<true/>
	<key>UIBackgroundModes</key>
	<array>
		<string>bluetooth-central</string>
	</array>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIMainStoryboardFile</key>
	<string>Main</string>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
	<key>UISupportedInterfaceOrientations~ipad</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationPortraitUpsideDown</string>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
	</array>
</dict>

thank you @u-sour

thank you @u-sour

nvm 😄

hi @u-sour , have you found the solution for case paperSize 80mm?

@haidang750 i don't have a mini printer 80mm to test it while i going to borrow it from my friend it broken.

Hello Guys,
Have you ever found a solution for this?

@ekasetiawans Hi, I just got an 80mm printer. Can you show me which line and file I should change? Maybe I can help you test it.

solved and tested it, it works.
Printer Model:
MPI III 80 mm
Result:

@ekasetiawans can merge this https://github.com/ekasetiawans/flutter_bluetooth_printer_plugin/pull/49 ?
anyone who wants to use 80mm option can use my repo:
Pubspec.yaml
  flutter_bluetooth_printer:
    git:
      url: https://github.com/u-sour/flutter_bluetooth_printer_plugin.git
      ref: add-80mm-option
      path: packages/flutter_bluetooth_printer

cool, i'll publish soon

@ekasetiawans thank you, By the way, addFeeds doesn't work on paper size mm58 but mm80 it's ok. cloud you check it, please? 🤔  I will close this issue and reopen a new issue about it.


Are there some CSL templates that don't work with citeproc?

I'm trying to get different CSL templates from zotero's library, with "https://zotero.org/styles/ieee" or /topoi, and for some common citation styles like 'modern-language-association-7th-edition', 'ieee', 'chicago-author-date', I think creating the bibliography is working.
However, when I try with some styles "topoi", "cytokine", "applied-informatics" (and all other styles I've tried so far), then citeproc_commonjs.js's makeBibliography() returns false, and it won't be able to make the bibliography.
from this file<EMAIL_ADDRESS>citation-js tries to get information from the citeproc's makeBibliography() function but the returned data isn't in the right structure
const bibliography = citeproc.makeBibliography();
const [{
    bibstart,
    bibend
}, bibBody] = bibliography;

This part fails because makeBibliography() returns false instead of an array object, and then the error in the console is
 Uncaught (in promise) TypeError: Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
    at _nonIterableRest (attr.js:3:1)

from this file: webpack:///node_modules/citeproc/citeproc_commonjs.js,
the citeproc makeBibliography() returns false because of this line
// API change: added in version 1.0.51
    if (!this.bibliography.tokens.length) {
        return false;
    }

I saw that when the template was "ieee", it would have about four hundred tokens (that seem related to making a bibliography), but when it was "topoi", there were 0 tokens.
Do you know if anything I detailed here shows I'm doing something wrong? I can show what the csl template strings look like in the registry at the time too

and here is the topoi csl file I got from the zotero API call, which I noticed is a lot shorter than the mla/ apa templates.
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" default-locale="en-US">
  <!-- Generated with https://github.com/citation-style-language/utilities/tree/master/generate_dependent_styles/data/springer -->
  <info>
    <title>Topoi</title>
    <title-short>Topoi</title-short>
    <id>http://www.zotero.org/styles/topoi</id>
    <link href="http://www.zotero.org/styles/topoi" rel="self"/>
    <link href="http://www.zotero.org/styles/springer-basic-author-date" rel="independent-parent"/>
    <link href="http://www.springer.com/cda/content/document/cda_downloaddocument/Key_Style_Points_1.0.pdf" rel="documentation"/>
    <link href="http://www.springer.com/cda/content/document/cda_downloaddocument/manuscript-guidelines-1.0.pdf" rel="documentation"/>
    <category citation-format="author-date"/>
    <category field="science"/>
    <issn>0167-7411</issn>
    <eissn>1572-8749</eissn>
    <updated>2014-05-18T01:40:32+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  </info>
</style>

I keep forgetting about this yes. The styles that you link that do not work are dependent styles that only* provide an alias for a different style. In this case, the topoi style is an alias for springer-basic-author-date (see the <link> element with rel="independent-parent"). citeproc-js does not handle this as far as I know, and it would be difficult to handle in Citation.js since it has to synchronously, dynamically fetch an online resource in a plugin that otherwise never does so. What Citation.js could at the very least do is throw a good error message. What you can do for Topoi specifically is use the springer-basic-author-date style directly, or in general parse the XML and look for rel="independent-parent".
* Dependent styles can also override certain locale settings. Topoi does not use this but others might, and I do not know how to simulate this behavior without changing citeproc-js.

Wow thank you so much! This was very helpful. Yes I can check myself if it is dependent or not.


[BEAM-493] Modify examples pom to add precommit execution profile.

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[x] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @dhalperi @amitsela @aljoscha
After commit of this PR, Jenkins command will remove -DintegrationTestPipelineOptions and include instead '-P include-runners,jenkins-precommit'. All runners will run WordCountIT in precommit to ensure functionality.
Signed-off-by: Jason Kuster<EMAIL_ADDRESS>

<EMAIL_ADDRESS>I don't think that's your email :p

Yeah I don't know - git grabbed it from...somewhere?

Oh, that explains things.... so<EMAIL_ADDRESS>is the way to ping you ?
I'd like to merge https://github.com/apache/incubator-beam/pull/897 before that and I'd be happy if you just took a look because it followed your advise on adding verifiers.

Looks good from me. This doesn't verify anything on Flink, though, because the TestFlinkRunner is not yet integrated with verifiers. It's still good to just see whether the program runs.

@jasonkuster : https://help.github.com/articles/setting-your-email-in-git/

@amitsela That's the right email for me, yeah. Sorry for not chiming in on that PR yet - I was on vacation for the last 2 weeks :) Will do tomorrow.

Done - will wait on #897 to be merged before merging this.

LGTM and #897 is closed, so go ahead 😄

Merging


Payment not Completed issue

Hi there,
Using the applepay sandbox in a simple Cordova 6.5 demo app (IOS 11, plugin v3.0.0),
the app successfully verifies that the device can make payments and has a supported card (applepay test card),
MerchantID is valid and correctly set in xcode's capabilities tab,
the applepay popup appears but when I try to complete the transaction with touch or passcode the 'payment not completed' message appears in the popup, nothing returns back to javascript control and I'm not seeing any errors when debugging CDVApplePay.
here's the calling code:
app.donateWithApplePay = function() {
let order = {
countryCode: 'GB',
currencyCode: 'GBP',
merchantCapabilities: ['capabilityCredit', 'capabilityDebit'],
merchantIdentifier: merchantId,
items: [{ label: 'Donation', amount: donationAmount }],
paymentSummaryItems: [donationAmount],
supportedNetworks: ['Visa', 'MasterCard', 'AmEx'],
billingAddressRequirement: 'none',
shippingAddressRequirement: 'none',
shippingType: 'service'
};
ApplePay.makePaymentRequest(order).then(paymentResponse => {
// user approved payment, token generated
console.log(paymentResponse);
//ApplePay.completeLastTransaction('success');
}).catch(err => {
// error or user cancelled
console.log(err);
});
};
the PKPaymentRequest documentation is pretty limited so could never figure out if any of the fields are mandatory, I,e, shipping/billing contacts etc.
console below:
2018-01-09 12:54:42.230772+0000 Payments PoC[332:39258] ApplePay canMakePayments == true
2018-01-09 12:55:07.625598+0000 Payments PoC[332:39258] ApplePay request == <PKPaymentRequest: 0x111d220f0>
2018-01-09 12:55:10.628389+0000 Payments PoC[332:39258] THREAD WARNING: ['ApplePay'] took '28397.825195' ms. Plugin should use a background thread.
2018-01-09 12:55:10.668150+0000 Payments PoC[332:39368] void SendDelegateMessage(NSInvocation *): delegate (webView:decidePolicyForNavigationAction:request:frame:decisionListener:) failed to return after waiting 10 seconds. main run loop mode: kCFRunLoopDefaultMode
Any way to see some output from the native applepay function in xcode or to verify the paymentRequest is valid?

Did you got any solution? I am facing the same issue.

I am getting error for "paymentSummaryItems" for argument

Did you got any solution @DhiaNHM ? I am facing the same issue. Thank you.

+1

@DhiaNHM anyone got the solution i"m also facing same issue.

same problem. any solution?


[error]: /turing/conversation/create: failed to parse response body

hello, guys. this project is really fantastic, i have been using it for a while time. but，yesterday，when i asked bingAI，it returned a error. Have you ever see this error?
An error occurred. Please try again in a few moments. Error message: /turing/conversation/create: failed to parse response body.
...

response body is a html. i put it into chrome. the follow is something which chrome show.

Hi, yes it seems Bing has updated something on their end but I have a solution for you. Update the project to latest on main branch, I also posted this here: https://github.com/waylaidwanderer/node-chatgpt-api/issues/378#issuecomment-1559868368 and updated the project accordingly here #369
You will need to set BINGAI_TOKEN in your ./api/.env file (or in your browser if using "user_provided") to your full cookies string from bing.com, instead of just the U= value.
This is confirmed working for me

Using firefox and dev tools, i get my cookies string from here:

You can use any browser, just fish around in the network tab to see which request has a Cookie value in the Request headers

@feng2505664393 let me know if the above worked for you
There were also some other suggestions at the bottom of this issues page https://github.com/waylaidwanderer/node-chatgpt-api/issues/378

@feng2505664393 let me know if the above worked for you
There were also some other suggestions at the bottom of this issues page waylaidwanderer/node-chatgpt-api#378

Sorry, sir. I used an old version of chat-clone. In order to try the solution you provided, I had to update my Docker image. It took me some time, but the exciting thing is that I just finished all the work on the solution and it works!
Hahaha, thank you.

Awesome, glad to help!

if like me you do not like manual steps to derive BING_API_TOKEN configuration, this can be automated
if __name__ == "__main__":
    token = get_bing_api_token("username", "password")
    print(token)

python selenium function to get BING_API_TOKEN
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.common.exceptions import TimeoutException as STimeout
from http.cookies import SimpleCookie
import json
import time

def get_bing_api_token(
    username,
    password,
    headless=True,
    remote_selenium="http://localhost:4444",
    wait=10,
    json_outfile="bing_cookie.json",
):
    options = webdriver.ChromeOptions()
    options.set_capability("goog:loggingPrefs", {"performance": "ALL"})

    if headless:
        options.add_argument("headless")  # Run browser in headless mode

    # Create a new WebDriver instance with Docker
    driver = webdriver.Remote(remote_selenium, options=options)

    # Open Bing
    driver.get("https://www.bing.com")

    # <button id="bnp_btn_accept" class="bnp_btn_accept">
    # respond to cookies
    try:
        cookie = WebDriverWait(driver, wait).until(
            EC.element_to_be_clickable((By.ID, "bnp_btn_accept"))
        )
        cookie.click()
    except STimeout:
        pass

    try:
        login_button = WebDriverWait(driver, wait).until(
            EC.element_to_be_clickable((By.ID, "id_l"))
        )
        login_button.click()

        username_field = WebDriverWait(driver, wait).until(
            EC.element_to_be_clickable((By.ID, "i0116"))
        )
        username_field.send_keys(username)
        username_field.send_keys(Keys.ENTER)

        password_field = WebDriverWait(driver, wait).until(
            EC.element_to_be_clickable((By.ID, "i0118"))
        )
        password_field.send_keys(password)
        password_field.send_keys(Keys.ENTER)

        signed_in_no = WebDriverWait(driver, wait).until(
            EC.element_to_be_clickable((By.ID, "idBtn_Back"))
        )
        signed_in_no.click()

        cookie = SimpleCookie()
        interesting = []
        # loop until some appropriate cookies are found
        while len(interesting) == 0:
            time.sleep(1)

            logs_raw = driver.get_log("performance")
            for r in logs_raw:
                try:
                    hdr = json.loads(r["message"])["message"]["params"][
                        "headers"
                    ]
                    if "cookie" in hdr.keys():
                        cookie.load(hdr["cookie"])
                        hdr["cookie"] = {
                            k: v.value for k, v in cookie.items()
                        }
                        if "_U" in hdr["cookie"].keys():
                            interesting.append(hdr)
                except KeyError:
                    pass

        if json_outfile is not None:
            with open("bing_cookie.json", "w") as f:
                json.dump(interesting, f, indent=2)

        return interesting[0]["cookie"]["_U"]
    except STimeout:
        return "selenium timeout"
    finally:
        # Close the WebDriver session
        driver.quit()


GraphQL Gateway Server with Java/Kotlin

Are there any examples of writing the GraphQL gateway in a JVM based language preferably with Spring Boot. Is this even possible with Netflix DGS?
Node and Apollo is not a solution for us.

Unsure if you are still looking for an answer, I have this problem as well and well after some digging it turns out that Netflix does have a JVM solution to the gateway...but it currently is not out in the wild for us to use.
How do I know this? There is a closed feature request that talks about this here:
https://github.com/Netflix/dgs-framework/issues/697#issuecomment-964661613
So...our options at the moment, appear to be: use Apollo or write our own.
I did do some digging around there are a few topics on this matter:
https://stackoverflow.com/questions/66115567/graphql-federation-is-there-a-java-springboot-gateway
And you don't have that many options.
There is this quote here:
https://www.infoq.com/presentations/netflix-api-graphql-federation/
Where it was quoted:

Our gateway is not currently open source, but it is something that we're definitely open to. It's been on our roadmap. If this is something that you'd be interested in using or collaborating on, then do let us know, and they'll help us prioritize the work of supporting that as an open source project.

Anyways hoped that helped, I am thinking of going down the Apollo gateway path to get federated stuff working, as DGS does not really support subgraph stitching (at least from what I have read from their documentation and the examples that they have provided).

@SquireOfSoftware Thanks for the reply, interesting Netflix has a solution but not Open Source 👎  I have implemented the gateway using Apollo-Gateway  for now.


added Wrap(sql.DB) for preconfigured sql.DB instance and some Null* helpers.

Added Wrap function to use pre-configured sql.DB.
Added  Null* helpers
Some spelling corrections.

Thanks Erkan for your contribution.
I appreciate the Wrap(), and the type corrections. I think some code could be shared with Open(), but I can do it myself later.
I've a problem with the helpers, because it's not really related to godb itself. These helpers could be in another package IMHO, either in your own project using godb, or something reusable.
Could you change your pull request to have only the Wrap & corrections parts ? Then I'll merge it.
Sam.

Hi Sam,
Thanks for reviewing PR. Null* code is added as helpers and IMHO it will be helpful for users use NULL columns in structs. For example adding PageCount  sql.NullInt64 to Book structure in your example in README and using it in an update will be:
var bookTheReturnOfTheKing = Book{
    Title:     "The Return of the King",
    Author:    authorTolkien,
   PageCount:sql.NullInt64{Int64:1, Valid:true}},
    Published: time.Date(1955, 10, 20, 0, 0, 0, 0, time.UTC),
}

which is open to user errors for defining Valid and Int64 values consistently. Instead NullInt64From helper will be much easier and safer. It may be better to borrow this file project for JSON marshaling from dbr project.
At your README there isn't an example for mapping or setting this type of columns. I'll remove helper file if you are not comfortable about it and modify your example with adding a sql.NullString type to show how to use with types in sql package.
derkan

removed Null* helpers.

I'll see the "Null" problem later. It's interesting, I just want to have time to thing about it. I've also noticed the lack of "Null" example.
Please, just keep the "Wrap" feature without adding other in the same pull request. I'll check it and merge it later (I'm not available for that now). One feature / PR please ;)

OK

I've merged to MR. Thanks.


Some small changes which should make it more human readable.

added more info in Usage
added REGISTRY_DATA_DIR to error output
added output notification for standard REGISTRY_DATA_DIR setup

Thanks!

Thank You ! It's a lifesaver for my private repository. Keep up a good work.


The keyboard layout does not change after modifying config

Describe the bug
Keyboard layout does not switch to the one specified in config.
Steps To Reproduce
Steps to reproduce the behavior:

put following into configuration.nix

 # Enable the X11 windowing system.
  services.xserver = {
      enable = true;
      layout = "cz";
      xkbVariant = "coder";
      displayManager.gdm.enable = true;
      desktopManager.gnome.enable = true;
  };

run sudo nixos-rebuild switch

Expected behavior
The layout should now be czech coder variant.
Additional context
When I run setxkbmap -layout cz -variant coder the layout changes to the correct one.
But after every reboot, it switches back to the US layout.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.06 MiB download, 0.30 MiB unpacked):
  /nix/store/4i653qmy6rs7r3m6zh60j0nwnnc5gi6k-bash-interactive-5.1-p12-dev
copying path '/nix/store/4i653qmy6rs7r3m6zh60j0nwnnc5gi6k-bash-interactive-5.1-p12-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.84, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4`
 - channels(miki): `""`
 - channels(root): `"nixos-22.05pre338911.03ec468b140"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

If this issue gets resolved, I will contribute 10e to the NixOS foundation (I know it is just symbolic).

It turns out to be an issue with Gnome. When running pure X11, the selected keyboard layout works.
https://discourse.nixos.org/t/the-keyboard-layout-does-not-change-after-modifying-config/16666/11
https://discourse.nixos.org/t/problem-with-xkboptions-it-doesnt-seem-to-take-effect/5269/13


Improve concepts "Overview" page

Line number: 99  container needs to start. Wouldn't it be easier if this behavior was handled by a system? TO
container needs to start. Wouldn't it be easier if this behaviour was handled by a system?

Line number: 160 data-processing frameworks (for example, Spark), databases (for example, MySQL), caches, nor TO
data-processing frameworks (for example, Spark), databases (for example, MySQL), caches, or

This all changes are verified using word checking tools like grammerly.

Hi @Gauravbharane - thanks for opening the pull request.
"Behavior" is a correct spelling in American English. As for the other change, I don't believe that warrants an individual PR. If there are additional fixes that could make this more substantial, feel free to add them and we can review them at that time.

/retitle Improve concepts "Overview" page

Hi @Gauravbharane! As you can see, we've had several helpful reviews from the SIG Docs community on your PR. They've suggested that, at this time, your changes aren't accurate and could be trivial for this page.
Are there any other edits or additions you'd like to suggest for this PR? If not, unfortunately, we'll need to close this PR. However, we appreciate your contribution and suggest that you take a look at other pages that could use improvement. Please note, that our Kubernetes documentation uses US English, especially if you continue to use tooling to assist with grammar and spellcheck.

Sure thanks for clearing that!
I hope I add a more promising contribution in future.

/close


Bug fix on tasks.Json structure becausecustom fields were wrongfully set as bool

Description
When fetching custom fields the tap would wrongfullly set it's values to boolean, when the values were supposed to be kept as integer or even strings.
For example directly calling clickup's API trough postman we would get this response
{
		"id": "4a3345d7-0c92-4968-8624-f588f8cbb6c2",
		"name": "Tipo De Fornecedor",
		"type": "drop_down",
		"type_config": {
			"options": [
				{
					"id": "4c73795f-7cc8-44da-b28a-a1d749be5482",
					"name": "Nacional",
					"color": null,
					"orderindex": 0
				},
				{
					"id": "eac699fe-772c-40d9-8f9e-6e5a07abb436",
					"name": "Importado",
					"color": null,
					"orderindex": 1
				}
			]
		},
		"date_created": "1681386787939",
		"hide_from_guests": false,
		"value": 0,
		"required": false
	}

However the tap would set  "value": false  instead of keeping it as 0 which in turn messed up the parsing of the entry later on. The same happened to other value types as well, such as strings, they would be set as true if there were any string set instead of returning the string itself.
Change
Altered the task.json structure removing the boolean from the typage options since. per API documentation and testing, Click up returns booleans as 0 or 1 which in "values" field can be mistaken with regular integers

Fixed with https://github.com/AutoIDM/tap-clickup/pull/150
Thank you for this, it helped them get through this issue!


FOGL-6180.v2

We have integrated Unit Tests on CI and ran the Jenkins Job.
Below is the link for the Unit Tests Report -->
http://jenkins.dianomic.com:8080/job/fledge-iot-plugins-tester/job/fledge-south-s7-python/view/change-requests/job/PR-5/1/
Note: unit tests were run against develop branch of the fledge repository.


Customize response for of argument parsing handle_validation_error

Is their an easy was to doctor the response for parse_args()? I am trying to get a customized JSON while still using the help message for missing keys something like this..
{
"success": false,
"message": "Bad request, the request sent was malformed and could not be understood by the server",
"data": {
"username": "The username of the user being logged in"
}

I want this as well. And my error response structure is very close to @dmwesterhoff's
{
    "message": "A required field is missing, or a field failed validation",
    "errors": {
        "zip_code": ["Must be exactly 5 characters", "Must contain only numbers"],
        "street_number": ["Must be present"]
    }
}

I poked around the source, and found the representations dictionary of the API, and it solved my issue.


Specify a query predicate for unloader

It would be nice to specify a query predicate for the unloader, for periodic dumps of specific ranges of data.

Would you want to just specify a WHERE clause, sort of like:
-where "X = 100"
or
-where "Y = 100 ALLOW FILTERING"

Yes - something of a predicate.  Someone mentioned exporting the change from the last 24 hours which is presumably in the data itself.  So perhaps "where registered_date > '2016-05-09".

+1

Is this feature added to unloader??

any updates? It seems this forum in in-active :-1:

I have not added this feature yet.  I've been focused on some other areas on the loading side.  I may be able to do something like this in the (near?) future.

It should be relatively simple to add a way to specify a clause and use that in the query underneath.  PRs are welcome :) I don't know when I'll be able to get to it either right now.

Will wait for this feature

This has been added to v0.0.19.

how to use this ?
e.g cassandra-unloader -f zz -host my_machine -numThreads 1 -schema "keyspacedirectory.tbl_emp(empid, name, surname)

What are you trying to accomplish? The new argument is -where:
cassandra-unloader -f zz -host my_machine -numThreads 1 -schema "keyspacedirectory.tbl_emp(empid, name, surname)" -where "empid = 12345"

thanks. I was looking for syntax.


API hits calculations for new logging system

[x] Affected Issues have been mentioned in the Closing issues section
[ ] Documentation has been written/updated
[ ] PR title is ready for changelog and subsystem label(s) applied

Explain the details for making this change. What existing problem does the pull request solve?
Closing issues
Put closes #2266

The latest set of changes have been deployed to the openshift billing environment and prod has been sync'd. We may need to further discuss any discrepancies in project hit calculations. Would like another set of eyes on this as I know this is time sensitive.


gscan2pdf: can not open Edit->Preferences

Describe the bug
gscan2pdf: can not open Edit->Preferences
Steps To Reproduce
gscan2pdf: can not open Edit->Preferences
Expected behavior
A dialogue should happen
Screenshots
This is the debug log:
gscan2pdf --debug info

(net.sourceforge.gscan2pdf:30623): Gtk-CRITICAL **: 13:03:30.672: gtk_spin_button_new_with_range: assertion 'step != 0.0' failed
WARN - *** unhandled exception in callback: - system: `"x86_64-linux"`

***   Can't call method "set_value" on an undefined value at /nix/store/f9va0gsg0v8xy456rs56ih4x6bkwi11r-perl5.38.2-gscan2pdf-2.13.2/bin/..gscan2pdf-wrapped-wrapped line 7338.
***  ignoring at /nix/store/467iarwraj548d030mfxx6nll0n19x2j-perl5.38.2-Glib-Object-Introspection-0.051/lib/perl5/site_perl/5.38.2/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 67.

Additional context
Add any other context about the problem here.
Notify maintainers
@pacien
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.79, NixOS, 23.11 (Tapir), 23.11.4976.79baff8812a0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

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

Thank you for your fast reply.
Does the dialogue connect to some service that must be running?

I am running the i3 window manager. Gnome has a settings deamon. I tried:
  environment.systemPackages = [
    pkgs.gnome.gnome-settings-daemon
  ];

with
services.gnome.gnome-settings-daemon.enable = true;

but it did not help. I still get
(net.sourceforge.gscan2pdf:9839): Gtk-CRITICAL **: 09:10:01.793: gtk_spin_button_new_with_range: assertion 'step != 0.0' failed
WARN - *** unhandled exception in callback:
***   Can't call method "set_value" on an undefined value at /nix/store/f9va0gsg0v8xy456rs56ih4x6bkwi11r-perl5.38.2-gscan2pdf-2.13.2/bin/..gscan2pdf-wrapped-wrapped line 7338.
***  ignoring at /nix/store/467iarwraj548d030mfxx6nll0n19x2j-perl5.38.2-Glib-Object-Introspection-0.051/lib/perl5/site_perl/5.38.2/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 67.

and no Edit->Preferences dialogue appears.

I'm having the same issue - gscan2pdf v2.13.2, GNOME 45.3, kernel 6.6.16-1-lts

Same for me on KDE on current master with v2.13.2:
(net.sourceforge.gscan2pdf:269719): Gtk-CRITICAL **: 21:00:07.429: gtk_spin_button_new_with_range: assertion 'step != 0.0' failed


Bug in --terragrunt-strict-include?

I created the following folder structure for testing:
.
├── bar
│   └── D
│       ├── main.tf
│       └── terragrunt.hcl
└── foo
    ├── A
    │   ├── main.tf
    │   └── terragrunt.hcl
    ├── B
    │   ├── main.tf
    │   └── terragrunt.hcl
    └── C
        ├── main.tf
        └── terragrunt.hcl

Each of the main.tf files has just a single output variable for testing. E.g., D/bar/main.tf is:
output "text" {
  value = "D/bar"
}

All the terragrunt.hcl files are empty, except foo/A/terragrunt.hcl, which contains:
dependencies {
  paths = ["../B", "../../bar/D"]
}

I run the following:
cd foo
terragrunt run-all apply --terragrunt-include . --terragrunt-strict-include

Due to --terragrunt-strict-include, I expected it to only run apply on the modules in the foo folder, but it immediately prompts me as follows:
Module /tmp/tginvestigation/live/foo/A depends on module /tmp/tginvestigation/live/bar/D, which is an external dependency outside of the current working directory. Should Terragrunt run this external dependency? Warning, if you say 'yes', Terragrunt will make changes in /tmp/tginvestigation/live/bar/D as well! (y/n)

Why is it still looking into the bar folder?

I have a similar problem discussed in #1605 I spent some time stepping through the code a while back to try and understand the behaviour around some of the exclude/include flags.
If it's helpful for others, I'm finding the following workaround useful, and I believe it covers what you're trying to achieve in the issue described.
terragrunt run-all apply \
-auto-approve \
--terragrunt-strict-include \
--terragrunt-include-dir "$(pwd)/*" \
--terragrunt-ignore-external-dependencies

I agree that the behaviour of --terragrunt-strict-include and --terragrunt-ignore-external-dependencies could use some more investigation.


Isomorphic React Support

Perform initial load on the Node server to allow for faster page loads and hack-free support for search engine crawling.

Only necessary if we bring back a non-dev Node server.  May re-open if that happens, for now it's not in the plans.


[mdns-avahi] handle potential unknown Avahi states gracefully

This change avoids assert(false) on AvahiEntryGroupState and AvahiClientState switch statements. This prevents potential crashes if Avahi introduces new states in future versions.

We already listed all enumeration values. I think the assert() here was to detect logic error or corruption. Do you think we should keep it here? Otherwise, the wrong state would be ignored.

assert() seems to be a drastic action on this. Particularly if new states are added in later Avahi versions we don't want our code to crash.

Should we log this error code? Otherwise we may hardly notice and take care of new error codes.

Best way to detect this is to use complier check (code checkers) which validate that all enum values are covered in switch() statement (generate warning otherwise). If we add a default this wont be checked. Better to detect at build time rather than from logs at run-time.
I know such a build-time check is already enabled/used in OT core stack (and we treat all warnings as error). It may also be used by ot-br-posix already (if not, would be good to enable it).


Examples: Check PSK command line argument

An information about the error is a little bit better than a segmentation fault. Segfaults make new coming users confused. To avoid this we need to provide maximum information about possible faults in examples.
I've also made some changes in the security object. Mostly I've added a few checks of pointers. I'm not sure that we can use PSK without PSK-Id. Anyway that checks allow to avoid possible segmentation faults on strdup's.
README.md is updated up to current .gitmodules file.

Thanks for this.


improove freenet-core modularity even more

Hello,
I realized there have been great progress in freenet modularity by splitting:

web hosting
privacy protection

I suggest to improove modularity even more by splitting:

web hosting
DNS
etc...

So that people could reuse DNS in their own project not related to freenet.

Too vague.

I would like to expose the freenet dns as a public crate.
And then I may write javascript bindings usable in nodejs.


Create a page of Node-RED hardware partners

Story
No response
Description
Need a page that links to all the hardware vendors that use Node-RED.

Can I get a bit more context on this please?
What is the page for? Who is the target audience of the page? What's the message we are trying to portray?

Goal: Demostrate that Node-RED is popular and adopted widely in the Industrial IoT industry through key hardware vendors supporting Node-RED.
Target Audience: Manufacturing / Industrial engineers
URL should be: node-red-iiot- hardware-partners
Title: Node-RED IIoT Hardware Partner
Subtitle: Node-RED has been widely adopted by industry leading hardware vendors to be their low-code development environment for their PLC and IoT Gateways.
Grid of hardware partners.

for each partner, their logo, underneath the logo the device name and link

Here is the current list of hardware partners, ideally listed alphabetical:

Advantech  Node-RED Field Gateway
Bechhoff  TwinCAT
BLIIOT Edge Computing Gateway  EdgeCom BL302
Broadsens GU200 & GU 200S
Emerson PACEdge
Opto22  groov RIO & EPIC
Particle.io Particle
Pepperl+Fuchs  AS-Interface gateway
Raspberry Pi
Renesas FT Click
Revolution Pi RevPi Connect
Siemens  S7 PLC
Tulip  Edge MC


I want new api add domain R2 bucket.

Current cloudflare-go version
laster
Description
I want Cloudflare to create an API to add DNS records of type R2 and also add an API for adding domains in the R2 bucket.
Use cases
I want Cloudflare to create an API to add DNS records of type R2 and also add an API for adding domains in the R2 bucket.
Potential cloudflare-go usage
I want Cloudflare to create an API to add DNS records of type R2 and also add an API for adding domains in the R2 bucket.

References
No response

this isn't the place for requesting new APIs as they need to be added and maintained by the service teams. here, we are only adding them to the Go SDK. for R2, you can try using any S3 compatible tool first and if they do the job otherwise, best chance is to drop in a support ticket requesting the specifics.


[bug] Trying to add Outlook accounts doesn't work

Bug description

Trying adding an Outlook service doesn't work. When I click to add it, it doesn't do anything other than reproducing a mouse loading animation for half a second.
I added other services and it worked fine.
Steps to reproduce

I think you just need to try adding an outlook service, that was what I did and it didn't work.
Expected behavior

Load config page tab for configuring the outlook service.
Environment

Operating System: Windows 10, 64 Bits

Ferdi Version: 5.6.2

Server: Using without an account

Debug information: https://pastebin.com/hS681n54

I checked the recipes on https://github.com/getferdi/recipes/tree/master/recipes, and it seems Outlook recipe doesn't exist there actually, which probably is the reason it's not working.

I also receive two results when I search for "outlook". Verified that I don't have any local ferdi recipes called outlook. Maybe it is also related to the server need to be redeployed?

@kytwb @vantezzen - could you please redeploy the hosted server? so that this issue can be closed?


May I ask how to run a single or a few tests separately?

The command
dip rspec

can run whole specs, it's great. But is there a way to run a single or a few tests separately? In my native macOS ruby dev env, I can do that just by using hotkey in editor(Vim with vim-test plugin) . This is a very high productivity way for development, I think. Hope we can do that in the dockerized mode.

I've found the solution in a vim-test solved issue (254)


build root: isolate container environment from the host and set CONTAINER

Isolate the environment from the host to not leak any information. Set the CONTAINER env variable to indicate we are running inside a container.

@gicmo the list of commits and changes looks very weird (not only based the PR description). I guess you need to rebase it or something 😄


Update Avalanche block explorer API URL

Closes https://github.com/api3dao/chains/issues/111
As expected, they moved the new block explorer to the URL of the old one so no changes needed there. The API URL changed though. I verified contracts with these values so I know that they work.

The CI didn't pass because the boba-avalanche public RPC doesn't work, @bdrhn9 will fix that in an upcoming PR

Just saw this after opening a PR to remove it. Seems like it's been dead for a while


Add custom file name to capture_jpeg()

Thank you for developing the great library as always. This is an improvement request.
It would be better to let user assign the 'stem file name' for capture_jpeg() instead of fixed 'img0001.jpeg' file name. If we connect RTC to MEMENTO, I can add the datetime to the file name (e.g. img-YYYYMMDD-hhmmss-0001.jpeg).

I suggest that we also add a function to return the name of the last file written so we can do additional processing.


Add basic alpaca REPL mode

A working REPL prototype with the alpaca prompt. Not sure if we want the alpaca there :thinking:

Thanks a lot! :smile:
I took the liberty to cleanup things a bit since we've been merging some breaking changes.
I think having the alpaca prompt is great, but we should make this configurable, so I changed a bit how the command works:
Instead of ignoring the prompt, we take any prompt string using the usual args (-p, -f). And replace the string $PROMPT inside the given prompt, with whatever is read from the line.
Then, I added an examples/alpaca_prompt.txt with the following:
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:

$PROMPT

### Response:

I also made it so that the original prompt isn't spit back to you, and instead a little spinner is shown while the prompt is being parsed.
Here's a demo

Sorry for the noob question, empty prompt (hitting return at >>) returns different casual answers, so is there randomness in the process?

Yup - at each step of the LLM, it produces a list of probabilities, and it will sample from that list to produce different outputs. If you'd like to fix the results, you can use a specific --seed (it will always deterministically sample according to that seed (with the caveat that it's only for your machine)) or --top-k 1 (which will always pick the most probable word).


Get smargon 'time to velocity' (eg BL03I-MO-SGON-01:OMEGA.ACCL) from epics

Needed to calculate moves in the rotation scan. Really this should be added to ophyd epicsmotor, but we could add it ourselves separately for now. It's not clear whether the value is accurate or reliable - should confirm with a controls person. In any case, this is a minimum value, the cost in slightly exceeding it is very low.

@JimboMonkey do you think the ACCEL from L03I-MO-SGON-01:OMEGA is accurate and reliable enough for us to use it to work out triggering timings?

Ophyd issue for this is at https://github.com/bluesky/ophyd/issues/1141

🤦♂

The value currently in EPICS is 0.1s and the value we've hardcoded is 0.15s. Given these are quite different I suggest we test this before merging. If it is too fast then maybe we switch to ACCL+some_extra_const or ACCL*some_extra_margin. I think it's good to keep ACCL in there for readability and hopefully some level of portability.


[Feature] Allow loaders to add metadata to modules

Do you want to request a feature or report a bug?
Feature

What is the current behavior?
Loader chains are pretty much stateless, if a loader mutates content significantly but next loader needs some critical information (which is now tampered) to do it's thing, it'll have hard time.
If the current behavior is a bug, please provide the steps to reproduce.
NA

What is the expected behavior?
Take css-loader and config use: ExtractTextPlugin.extract({use: 'css-loader'}) for example.
If css-loader could add some metadata when it's running, something like meta: {rawContent: "body {margin: 0;}", sourceMap: {...}} and is accessible by subsequent loaders, ExtractTextPlugin in this example, they won't have to run mini-compilers to extract the content, since it's now directly accessible.
If this is a feature request, what is motivation or use case for changing the behavior?
See What is the expected behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
NA

PS: I'm aware of this.data on LoaderContext but that has short life and by design is only consumable within private context. This proposal is about attaching metadata on Module object, something like Module.loaderMetaData etc. and is persistent for at least one compilation cycle.

You can pass a third argument, ideally an {Object}
function loader (src, map, meta /* <= */) {
 const cb = this.async()
 ...
 return cb(err, src, map, meta /* <= /*)
}

Great. It'd beautiful if documentation is fixed a bit.
As on this page: https://webpack.js.org/api/loaders it doesn't say anything about third argument.
And second, at https://webpack.js.org/api/loaders/#this-callback it says third argument is AST although it can be anything really.

@webpack-bot move to webpack/webpack.js.org

Great. It'd beautiful if documentation is fixed a bit.
As on this page: https://webpack.js.org/api/loaders it doesn't say anything about third argument.
And second, at https://webpack.js.org/api/loaders/#this-callback it says third argument is AST although it can be anything really.

Yep you should send a PR to the documentation @NeekSandhu.


How to avoid the grad from labels influencing the info_modules?

In your project, the cross_entropy is used to train the classifier,
loss_cls = (loss_xent(lgt_glb_mlp, labels) + loss_xent(lgt_glb_lin, labels))
and the losses are accumulated directly.
loss_opt = loss_inf + loss_cls
How could you avoid the probability that the labels are leaked to the unsupervised learning modules?

All features passed into the classifiers are detached from the computation graph before running through the classifiers. This prevents gradient from flowing back into the encoder through those features. See the code: here

All features passed into the classifiers are detached from the computation graph before running through the classifiers. This prevents gradient from flowing back into the encoder through those features. See the code: here
We have also trained the model with no online classifier monitoring to verify that the labels are not affecting the encoder. We provide the code with online classifier monitoring since it is more convenient for rapid iteration. If you modify the code so that features passed to the classifiers are not detached from the computation graph, you will see that behaviour and performance of the model changes significantly.

Thanks a lot, your answer solved my problem entierly.


utils: delete unused code

This began as shuffling platform dependent code, but none of the functions were even used. This just removes it instead.
Still cross-platform ;-)

- What I did
- How I did it
- How to verify it
- Description for the changelog

rebased

None of these functions are used anywhere outside of the code you're touching, with the last GetDeviceNameFromPath consumer dropped in 5f7ac2805 (#1324).  Instead of splitting these into Linux/Windows implementations, can we just drop them?

@wking i wondered about that. @doublerainbo added them in bfaf35b
Not sure if there were future plans?

fixed lint. PTAL

LGTM
/test all

/test integration_rhel

/test integration_rhel

I'm still in favor of just dropping these unused functions, in case we want to pivot to that approach before banging away on integration_rhel ;).

i got out the axe :hocho: ...

all green. PTAL

I don't think we need to run the e2e tests if this compiles.
LGTM

LGTM


Eager Update.

If the parent already exists the children cannot be eagerly updated.

Eager Destroy would be fine as well.

Here's the spec requested in #318

If the association is has-one, eagerly updating the parent model will update the child using fk_id (not considering id of the child in the given parent to make sure there's only one child). If the child doesn't exist in the database, it will create one using the given model.
If the association is has-many, eagerly updating the parent model will save every child and delete children in the database that don't exist in the given parent.
If the association is many-many, eagerly updating the parent model will link new children and unlink absent children in the link table. It will not change the children in the database.
The identity of children will be determined by their ids.
Eagerly updating a parent will eagerly update the children if the association is not many-to-many.

If there's something to change, let me know.

@sunho I didn't forget about this, I'm just laking of time right now. I'll hope to find some time this month.

@stanislas-m
Here's the spec requested in #318
* If the association is has-one, eagerly updating the parent model will update the child using fk_id (not considering id of the child in the given parent to make sure there's only one child). If the child doesn't exist in the database, it will create one using the given model.

👍

* If the association is has-many, eagerly updating the parent model will save every child and delete children in the database that don't exist in the given parent.

👍

* If the association is many-to-many, eagerly updating the parent model will link new children and unlink absent children in the link table. It will not change the children in the database.

And create children that doesn't already exist?

* The identity of children will be determined by their ids.

👍

* Eagerly updating a parent will eagerly update the children if the association is not many-to-many.

Is this referring to multiple levels of nesting in the update or?

If there's something to change, let me know.

This is pretty close to what we had in mind for the "Eager" update but what about the "Flat" update? What do you propose is done about nested object/association updates when there is no explicit "Eager"?
Thanks so much for writing this out! Looking good so far!

@mclark4386

I think it would be useful to cause an error if the children don't exist in a many-to-many relationship. Because it is usually used to describe the relationship between the models that already exist.

Yes, I was talking about multiple levels of nesting. Like category > article > comment.

I think flat update should not care about the association since flat loading doesn't care about it.

Interesting, you can't think of a case it would be useful? (the books test in the pop association tests comes to mind)
Gotcha.
Flat Create does create associations, but not nested objects.

Oh I just read the code and finally got what you've been talking about! Then it would be reasonable to save children in many-to-many if it's an eager connection. I edited the earlier post, please take a look.
And I think there should be a way to disable flat update and create, because it can be unwanted for some people. How about supporting rw tag for associations?

@stanislas-m
Here's the spec requested in #318
* If the association is has-one, eagerly updating the parent model will update the child using fk_id (not considering id of the child in the given parent to make sure there's only one child). If the child doesn't exist in the database, it will create one using the given model.

* If the association is has-many, eagerly updating the parent model will save every child and delete children in the database that don't exist in the given parent.

* If the association is many-to-many, eagerly updating the parent model will link new children and unlink absent children in the link table and save every child.

* The identity of children will be determined by their ids.

* Eager update will eager update nested models in multiple levels.

* Flat updating the model will link new children and unlink absent children in the link table if the association is many-to-many.

If there's something to change, let me know.

@stanislas-m this looks good to me, would you mind giving a once over when you get a chance?

We've just hit this case too. Happy to help wherever/however we can!

So... any updates here?

I've completely forgotten about this. I don't really have time to work on this nowadays. Please feel free to take over if anyone is interested in this feature.


New Gradient "Love Couple"

i get inspired by one of my favorite movies. Hope everyone will love this.

Merged. Thanks for contributing. 👍


Update reactivemongo-bson-api to 1.0.10

Updates org.reactivemongo:reactivemongo-bson-api from 1.0.7 to 1.0.10.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.reactivemongo", artifactId = "reactivemongo-bson-api" } ]

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

Codecov Report

Merging #223 (657303f) into master (e11f720) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #223   +/-   ##
=======================================
  Coverage   41.66%   41.66%
=======================================
  Files           1        1
  Lines          36       36
  Branches        1        1
=======================================
  Hits           15       15
  Misses         21       21

Continue to review full report at Codecov.

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


Fix command line parsing around the -- separator

Fixes https://github.com/aspnet/dotnet-watch/issues/80, https://github.com/aspnet/dotnet-watch/issues/81
See the two bugs to understand what was broken. There are examples here.
@moozzyk and/or @BrennanConroy can you please review?
Approved for release by @Eilon

minor comments. :ship::it:

Updated

Updated again

:shipit:


use str for hook key

Why are these changes needed?

Changing the key for the hook from object to str, to resolve #1706
Fix a warning issue in chat_with_teachable_agent

Related issue number
Closes #1706
Checks

[ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[ ] I've made sure all auto checks have passed.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (bf3cc0f) 39.62% compared to head (52d7d55) 21.17%.

Files
Patch %
Lines

...agentchat/contrib/capabilities/context_handling.py
0.00%
1 Missing :warning:

...gen/agentchat/contrib/capabilities/teachability.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1711       +/-   ##
===========================================
- Coverage   39.62%   21.17%   -18.45%
===========================================
  Files          57       57
  Lines        6006     6006
  Branches     1338     1456      +118
===========================================
- Hits         2380     1272     -1108
- Misses       3433     4574     +1141
+ Partials      193      160       -33

Flag
Coverage Δ

unittests
21.17% <66.66%> (-18.45%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Before proceeding to merge I just want to understand the cause of error a bit more. See my comment: https://github.com/microsoft/autogen/issues/1706#issuecomment-1950260156

Before proceeding to merge I just want to understand the cause of error a bit more. See my comment: #1706 (comment)

For reference, the explanation is discussed in #1706

Perhaps we can take this opportunity to rename the hookable methods:

process_last_message --> process_last_incoming_message
process_all_messages --> process_all_incoming_messages

process_last_incoming_message seems to imply that the last message in the history could be outgoing in some cases. Are there such cases? If not, to avoid this implication and to keep the method name short, we could add a clarification in this method's doc string saying that the last message will always be incoming.
Unless I'm missing something, process_all_incoming_messages is inaccurate because both incoming and outgoing messages are embraced by this method.

Let's do it in a separate PR. Could you create an issue?

I've just checked the error in chess example notebook, and it works fine with the first commit. :) Thanks.


Height positioning of elements

I've been searching for changing the height of some of the elements displayed, as they are floating around the area, I found out that when the library sets the position it grabs lat, lng and then the altitude just grabs 0,0. Is this correct? How should I approach then?

Hi @Eliathoran have u found any way?

https://github.com/appoly/ARCore-Location/issues/86


⚠ Bofrost.be has degraded performance

In 6306bde, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 992 ms

Resolved: Bofrost.be performance has improved in b3f6b0a.


add TypeScript typings

Build error is just a saucelabs issue, ignore it. Thanks for this!

Just a quick issue with the typings definition for linkState.  Currently it is defined to return a void, but in reality it should return a function:
linkState:(name:string) => (e: Event)=>void;

Correct! Want to PR?

Sure, the PR has been submitted


Expose an HTTP client to the function runtime

The server-side functions run inside a custom JavaScript runtime. It only support bare JavaScript and has additional functionalities added via the VM.
One useful function would be to expose a way to perform HTTP requests from the function.
See function/runtime.go line:110.
Adding a helper function like fetch to keep "consistent" with the JS eco-system. Or something like webreq
I can see the function taking the following as parameters:
// example from the function code PoV
const resp = webreq("POST", "https://myurl.com", {hello: "world"}, {"MY-HEADER-KEY": "something"});

This would accept the HTTP Method, URL, Body as JSON, Header as a map.
And this helper function would return:
type HTTPResponse struct {
  Status int `json:"status"
  Body string `json:"body"
}

Hi @dstpierre,
I'm new to staticbackendhq. I'm interested in taking this issue. Could You please assign me? Thanks

Hey @ksankeerth welcome aboard :wave:
If you haven't already, feel free to join on Discord as well.
Let me know if you have any questions or need to clarify anything in here.
Thank you for wanting to contribute to SB :100:

Thanks for assigning me. I'll go through contribution guides and code. After the analysis, I'll discuss about the implementation.


Improve Code Coverage

Added more unit tests to bring code coverage up to acceptable levels.

Function coverage up to 74%


Save URI only populates directory when URL is set in query string

I'm having an issue with saving my mind map. When I load a mind map from a URL in the query string, it loads fine. However, when I try to save it, the input box in the save area only populates the directory.
Here's the URL I'm using:
https://nosdav.com/my-mind/?url=https%3A%2F%2Fnosdav.nostr.rocks%2Fde7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645%2Fnostr.json

As you can see in the attached screenshot, I was expecting the filename to be at the end, so instead, I have to type it manually. Is there something that can be done to fix this issue?
Thanks in advance for your help!

This code snippet is a workaround
const urlParam = new URLSearchParams(window.location.search).get('url');
const urlElement = document.querySelector('.url');
if (urlElement && urlParam) {
  urlElement.value = urlParam;
}

I see the issue is here
		if (url.match(/\.mymind$/)) { // complete file name
		} else { // just a path
			if (url.charAt(url.length-1) != "/") { url += "/"; }
			url += `${map.name}.${formatRepo.get("native")!.extension}`;
		}

https://github.com/ondras/my-mind/blob/master/src/ui/backend/webdav.ts#L38
If extension is mymind it will save, else it adds / + root node
I wonder if it's worth adding .json to this

My memories might be completely off, but I think that saving is supposed to work like this:

"save" button overwrites previous data; in order to do so, the complete URL must be known
"save as" is supposed to create a (differently-named) copy; therefore, only the incomplete path is extracted into the input field during the load operation

In other words, if you use "save as", you are supposed to provide an explicit new file name (url suffix).
This is the place where the url-without-the-file-name is being extracted during map load: https://github.com/ondras/my-mind/blob/master/src/ui/backend/webdav.ts#L60


unixPB: Install gcc 10.3 into /usr/local/gcc10

Fixes #2386
Signed-off-by: Stewart X Addison<EMAIL_ADDRESS>
Checklist

[x] commit message has one of the standard prefixes
[ ] faq.md updated if appropriate
[ ] other documentation is changed or added (if applicable)
[x] playbook changes run through VPC or QPC (if you have access) VPC / QPC
[ ] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

macos check failure was a connection timeout downloading ant. Solaris check failure was an issue downloading the vagrant box, so neither are related to this PR.

whoops, I didn't consider the GitHub check when doing #2405 . Thanks for bringing it up :-)

Changes look good in VPC, although there's a problem showing up when it tries to run the tests - however it does not look related to this PR. https://ci.adoptopenjdk.net/view/Tooling/job/VagrantPlaybookCheck/1366/OS=CentOS6,label=vagrant/console
18:42:34 perl scripts/configure.pl
18:42:34 /home/vagrant/openjdk-build/workspace/build/src/build/linux-x86_64-server-release/images/jdk-17.0.1+12-static-libs
18:42:34 make[1]: execvp: /home/vagrant/openjdk-build/workspace/build/src/build/linux-x86_64-server-release/images/jdk-17.0.1+12-static-libs: Permission denied
18:42:34 makeGen.mk:45: recipe for target 'autogen' failed
18:42:34 make[1]: *** [autogen] Error 127
18:42:34 make[1]: Leaving directory '/home/vagrant/testLocation/aqa-tests/TKG'
18:42:34 makefile:49: recipe for target '_MBCS_Tests_pref_ja_JP_linux_0' failed
18:42:34 make: *** [_MBCS_Tests_pref_ja_JP_linux_0] Error 2
18:42:34 ++ date +%T

ansible_lint check is now failing regardless of this PR, so should not hold things up ...

I think all the github check failures are now determined to be unrelated to this PR. I've got a final VPC run at https://ci.adoptopenjdk.net/view/Tooling/job/VagrantPlaybookCheck/1370 and if that's ok (other than the test execution failure which also appears unrelated to this PR - https://ci.adoptopenjdk.net/view/Tooling/job/VagrantPlaybookCheck/1367 is a run from the master branches to check if it happens there too) then I'll merge.

@Willsparker Can you re-review please? I've made a change to testJDK.sh. Unclear why this PR has shown it up but it looks like the line before the sh error shows that it picked up images/jdk-17.0.1+12-static-libs instead of images/jdk-17.0.1+12 which is the likely cause of the test case failure.

Converting this back to draft as the MBCS test is failing to pass when the build is performed with GCC10

Working build (CentOS7)
Failing build (CentOS8)

Problem with the MBCS test on JDK17 will be resolved by https://github.com/eclipse-openj9/openj9/pull/14212. [VPC 1381] worked on JDK8 with GCC 10.3 so I'm comfortable that this is now safe so I will merge :-)


F-droid version

Hi,
this is one of the most useful application in term of privacy, are you planning to add it to f-droid?
Thank you

Will be adding to FDroid and Playstore in the coming 7 days, after implementing newly requested features and bug fixes.

Cool thanks!  On Sat, Sep 19, 2020 at 09:43, Nitish Gadangi<EMAIL_ADDRESS>wrote:
Will be adding to FDroid and Playstore in the coming 7 days, after implementing newly requested features and bug fixes.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

Any update?

Owner seems to have confused IzzyOnDroid with the actual F-Droid.
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9309
@NitishGadangi Please add phoneScreenshots. See here.

v2.1 is live on F-Droid July 4.  Congrats, @NitishGadangi!
@IzzySoft I suppose you could remove from  your repo.

My dupe checker didn't report it yet (I usually do so after 7..10d overlap – unless the author wants me to keep it). Maybe F-Droid is a version behind my repo again, with v2.2 released yesterday?


Feature request

Please add suyu suport.

Hi @malaespera , thanks for the suggestion! However, I cannot include suyu support due to it containing yuzu code that now belongs to nintendo, which would risk this project begin taken down.


@biomejs/js-api

Environment information
Not important for this issue

What happened?
I was using the @biomejs/js-api package to format file content before writing it to disc. I wanted to format an SVG file and after running the below code (I wasn't sure if it supported svgs, but now I know it doesn't) I got the stacktrace at the bottom of this issue.
biome.formatContent(fileContent, {
  filePath: "temp.svg",
})

Expected result
It should tell me something along the lines of "Hey, this file type is not supported yet, maybe even link to: https://biomejs.dev/internals/language-support/" Just to have it nicely output instead of the scary non-js stack trace above. Not a big deal but would go a long way in knowing I'm doing something wrong right away
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Feel free to help us. We don't have the bandwidth to look after this but unfortunately

@ematipico where would I have to start looking at to improve this exactly?

You could start from here
https://github.com/biomejs/biome/tree/main/packages%2F%40biomejs%2Fjs-api

I will be back to you once I have more time. Drop here any questions you have


docs(useformvalidation readme): add complete readme

added complete API explanation and an useful example

Coverage remained the same at 94.521% when pulling 05c7b4e810be24e5ef843393abe8473927a0c241 on issue-#24-add-use-form-validation-hook-readme into 9fd465c19f3b464edaddb5c5252271599600da47 on master.


Optimize WorldWind when the re-render occurs for multiPoint mil std shapes

Re-rendering is occurring too often and is affecting performance when panning the map.
Direct pans with no tilt or rotation should probably not trigger a re-render
Things to take into account for optimization

altitude changes
tilt/heading changes
panning while tilted only if the sky is visible

Test case:
use branch feature/ #143
This is not easy to test because it is hard to tell if the graphics are re rendering in WW.
Use the API tester.  Use the multipoint performance tester. Plot  200 multipoints. Zooming in and out, do panning of the map, map tilting, etc. The test is a success if the graphics re renderer and also if  the re rendering is faster.  The test fails if there is the presence of clipped graphics.

Reintegrate. Panning, zooming, and tilting is a little choppy, but graphics are fine.


add an option to disable get events before Athena ready

Can you add a note about why this option is necessary? (I will mention it in the release presentation)


embeddedViewServiceConfig not defined

In the Install description, you suggest to add new DefaultViewService(embeddedViewServiceConfig, new LocalizedViewLoader()), but you don't describe, how embeddedViewServiceConfig is created / configured.
Is it just a simple instance of DefaultViewServiceOptions like the following?
var embeddedViewServiceConfig = new DefaultViewServiceOptions();

Thanks, added to description


Add callbacks for better control over library

Add callback that will enable developers to modify copied items.

Add callback to modify link for newly connected ports. Add method to swap endpoints in link.


issue with installing .NET 6.0

Problem encountered on https://dotnet.microsoft.com/en-us/platform/upgrade-assistant/tutorial/install-upgrade-assistant
Operating System: windows 10
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
dotnet tool install -g --add-source "https://api.nuget.org/v3/index.json" --ignore-failed-sources upgrade-assistant
The command could not be loaded, possibly because:

You intended to execute a .NET application:
The application 'tool' does not exist.
You intended to execute a .NET SDK command:
No .NET SDKs were found.

Windows 10 OS
The command could not be loaded, possibly because:

You intended to execute a .NET application:
The application 'tool' does not exist.
You intended to execute a .NET SDK command:
No .NET SDKs were found.

@Robdep818  install it from https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.upgradeassistant


CARDS-2571: Reference Questions do not work inside Conditional Sections

Update reference question initialization code to check for unlinked reference questions any time a form is edited, not just when a form is created

Search for any reference questions on the form that do not have an answer
Check if the missing questions have an existing answer section. If so, generate an answer
Try to find a source answer for any existing or newly created unanswered reference answers

Prioritize pulling source answers from forms that are already referenced by other reference answers in this form for consistency

Add test case in ReferenceTestCopied form

To test:

Launch with test forms
Generate a couple instances of ReferenceTestUser forms with the last form having unique text answers
Generate a ReferenceTestCopied form.
a. Make sure the referenced text answers are from the most recent User form
b. Do not fill out the Should the conditional section be satisfied answer
Generate at least 1 more instance of ReferenceTestUser forms with different text answers
Edit the existing ReferenceTestCopied form and set Should the conditional section be satisfied to true
Save and close the form
Open the Copied form in view mode. Ensure the last section is present and contains the unique text answer from step 2.

Previous (incorrect) behaviour:

In step 7 the last section would be present but would never contain an answer

in the step #7, the section dos not contain text answer from step2. It shows the text answer from the step 4.

Improved testing steps to check that the right text answer is being copied:

Launch with test forms and bin/browser enabled
Generate a single ReferenceTestUser form with unique text answers.
a. Take note of this original user form's node name in bin/browser

Generate a ReferenceTestCopied form
a. Make sure the referenced text answers are from the most recent User form
b. Do not fill out the Should the conditional section be satisfied answer
c. Take note of the newly created form's node name. This copied form should be ignored in step 4

Generate at more instance of ReferenceTestUser forms with different text answers until one of the new nodes appears above the original user form in bin/browser. This may take many new forms as the position of new forms is random

Edit the existing ReferenceTestCopied form and set Should the conditional section be satisfied to true
Save and close the form
Open the Copied form in view mode. Ensure the last section is present and contains the unique text answer from step 2.

Bug on step 6:

@.***
On Wed, Sep 11, 2024, 15:15 acrowthe @.***> wrote:

Improved testing steps to check that the right text answer is being copied:

Launch with test forms and bin/browser enabled
Generate a single ReferenceTestUser form with unique text answers.
a. Take note of this original user form's node name in bin/browser
image.png (view on web)
https://github.com/user-attachments/assets/58ee5c0e-fe4c-4088-ba1d-b6f1befc0f2a
Generate a ReferenceTestCopied form
a. Make sure the referenced text answers are from the most recent User
form
b. Do not fill out the Should the conditional section be satisfied
answer
c. Take note of the newly created form's node name. This copied form
should be ignored in step 4
image.png (view on web)
https://github.com/user-attachments/assets/01d28fa1-c5c1-49c0-8805-e109d0d5432e
Generate at more instance of ReferenceTestUser forms with different
text answers until one of the new nodes appears above the original user
form in bin/browser. This may take many new forms as the position of new
forms is random
image.png (view on web)
https://github.com/user-attachments/assets/d043805f-b144-410f-b47a-e3ef25d39839
Edit the existing ReferenceTestCopied form and set Should the
conditional section be satisfied to true
Save and close the form
Open the Copied form in view mode. Ensure the last section is
present and contains the unique text answer from step 2.

—
Reply to this email directly, view it on GitHub
https://github.com/data-team-uhn/cards/pull/1802#issuecomment-2344513351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFRKT3A54HKUJZFGDZ6VY3TZWCJFRAVCNFSM6AAAAABM2CZMN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGUYTGMZVGE
.
You are receiving this because you commented.Message ID:
@.***>

Could not reproduce the bug after latest rebase and related changes - please let me know if you encounter it again.


Enhancement request -> Dotenv implementation

Description:
I would like to suggest making available within the bootstrapping process the instance of Dotenv used to load environment variables and provide a mechanism to add and enforce validations on the .env file.
Currently the environment variables are loaded within the bootstrap() method of the Illuminate/Foundation/Bootstrap/DetectEnvironment.php class using (new Dotenv($app->environmentPath(), $app->environmentFile()))->load();. The object instance is thrown away and doesn't give developers an easy opportunity to enforce environment variable validations such as required(), notEmpty(), isInteger() or allowedValues().

I know you've opened the feature request on the forums and you got redirected to posting it here, we keep this repo for bug reporting only :) For suggestions and feature requests please use the https://github.com/laravel/internals repo.
Regarding the idea of the request, I wonder why would you need to validate the dot env variables? you can have defaults in your config & thus validation won't be necessary right?

Thanks @themsaid I'll add the request where suggested.
As to your question: We have a need to be able to enforce the existence and validation of a number of properties in the env file. These properties change for local, QA and production environments. We've run into issues with the enforcement in the past and have included a number of different mechanisms within our applications but none are as clean and tidy as that which is provided already with the Dotenv library. It would be nice to have the ability to enforce those validations as the application is being bootstrapped.

that's interesting, let's see what the community thinks of this matter :)


W1d2 updates new

@ssnio I've made some small changes to be in line with the other tutorials. Nothing important.


Never language highlighter

Describe the issue
I would like to add Never language syntax highlighter.
Please check the following repository:
https://github.com/never-lang/highlight-js-never
Which language seems to have the issue?
Never language
Are you using highlight or highlightAuto?
Sorry, I don't know...
Sample Code to Reproduce
None
Expected behavior
Never is integrated
Additional context
None

We don't merge languages into the core library anymore, but we'd be happy to have you listed in our comprehensive list of SUPPORTED_LANGUAGES.md... just make a pull request adding your language to the list in the proper order!


Use absolute path to Result in derives

Fixes #794

cc @danrspencer

Codecov Report

Merging #795 (85858ef) into master (3d5f90d) will increase coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #795      +/-   ##
==========================================
+ Coverage   72.01%   72.03%   +0.02%
==========================================
  Files          55       55
  Lines        3727     3730       +3
==========================================
+ Hits         2684     2687       +3
  Misses       1043     1043

Impacted Files
Coverage Δ

kube-derive/src/custom_resource.rs
12.80% <66.66%> (+1.00%)
:arrow_up:

kube-runtime/src/wait.rs
70.00% <0.00%> (+2.00%)
:arrow_up:

Continue to review full report at Codecov.

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


feat(label): support labels auto-rotation

Brief Information
This pull request is in the type of:

[ ] bug fixing
[x] new feature
[ ] others

What does this PR do?
Adds an option to auto-rotate category labels based on available space, specified category interval, and the list of provided rotations.
Fixed issues

#14996
#9265 (partially)

Details
Before: What was the problem?
The axis label rotation option enhances usability of charts with a large number of categories and/or long category names by sparing the user the effort of hovering over specific value just to see its corresponding category; the usability enhancement is even greater for non-interactive, statically rendered charts.  The rotation option currently has to be chosen beforehand, though, which is suboptimal when a chart is populated with dynamic data -- depending on the data, the labels might or might need to be rotated, and the optimal rotation angle might vary.
After: How does it behave after the fixing?
This PR introduces a new axisLabel.autoRotate: boolean | number[] option, which works in concert with the axisLabel.interval: 'auto' and grid.containLabel: true options to automatically manage (category) label rotation, interval, and layout:
https://github.com/apache/echarts/assets/3394202/2e672060-6500-4db9-9a9b-ecc85a38329e
https://github.com/apache/echarts/assets/3394202/78263dae-595d-4cee-8c7a-9e5e03fcbfa5
https://github.com/apache/echarts/assets/3394202/f8c13285-38c3-44a8-b020-8dba833eeed6
Document Info

[ ] This PR doesn't relate to document changes
[x] The document should be updated later
[ ] The document changes have been made in apache/echarts-doc#xxx

I'll update the documentation once the API is settled.
Misc
Related test cases or examples to use the new APIs
See the new axis-labelAutoRotate.html test cases.
Others
Merging options

[x] Please squash the commits into a single one when merging.

@Ovilia @plainheart What can I do to help you to review this? Would love to get this in soon.

Thank you for your work @agurtovoy.
I was waiting this feature for so long, it was one of the most negative points of echarts

Trying to migrate from highcharts where similar feature exists...
Has this change been abandoned?

@mermonkey I think it's still planned to be included in 6.0: https://github.com/apache/echarts/milestone/38. That said, I'm unsure of what specific steps need to be taken for that to happen.


Add missing changelog entry

The changelog snippet was missing from the previous SQS change. This adds it and amends the entry in the changelog.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.09%. Comparing base (8fd0160) to head (6bb8ccd).
Report is 219 commits behind head on develop.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3167      +/-   ##
===========================================
- Coverage    93.14%   93.09%   -0.05%
===========================================
  Files           66       66
  Lines        14237    14245       +8
===========================================
+ Hits         13261    13262       +1
- Misses         976      983       +7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Bug: Freeze when right clicking

Description
When I right-click a file or folder in driver page, Files freezed, but it works well in homepage and sidebar.
This problem existed before version <IP_ADDRESS>
Steps To Reproduce

open a driver
right-click on a file

https://github.com/files-community/Files/assets/91893497/c84da085-8bdb-4b22-b90b-5a0396b77c7b
Requirements
Files should not freeze
Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 10 (22H2): 19045
Log File
debug.log

I have the same error
Files <IP_ADDRESS>
Windows 11 (22H2)

Is this specific to drives or is it in other folders too?

Is this specific to drives or is it in other folders too?

same error for all folders

2023-06-14 01:10:45.2275|Information|System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.InternalSubKeyCountCore()
   at Microsoft.Win32.RegistryKey.GetSubKeyNames()
   at Files.App.Shell.ShellNewMenuHelper.GetShellNewRegistryEntries(RegistryKey current, RegistryKey root)

@hishitetsu have you seen this before? Looks like a new one...

I have never seen it. The exception occurs in a different place than before.

@ccyykkcyk a potential fix will be in the next update.

Upon checking on Event Viewer:
Category: Files.App.App
EventId: 0
This operation returned because the timeout period expired. (0x800705B4)
Exception:
System.Runtime.InteropServices.COMException (0x800705B4): This operation returned because the timeout period expired. (0x800705B4)
at Vanara.PInvoke.Shell32.IShellLinkW.Resolve(HWND hwnd, SLR_FLAGS fFlags)
at Vanara.Windows.Shell.ShellLink.LoadAndResolve(String linkFile, SLR_FLAGS resolveFlags, HWND hWin, UInt16 timeOut)
at Files.App.Filesystem.RecentItems.<>c__DisplayClass14_1.b__2()
This behavior still exists on Files version <IP_ADDRESS>


The edges act like Windows XP issue

What platform were you using when you found the bug?

React Flow / Svelte Flow version:
Browser and version:
OS and version:

Live code example
No response
Describe the Bug
On dragging the node, the edges get traced throughout the path and they are permanent

Steps to reproduce the bug or issue
Couldn't reproduce it after 2 tests. But not sure of the root cause
Expected behavior
normal drag
Screenshots or Videos
No response
Additional context
No response

Are you using Windows?

Yes! But how it that relevant? I'm using reactflow on chrome.

Will try out this solution. Did some digging. Turns out, these svg paths are persisting in the DOM. The paths are not getting cleared post locking into a position on the node, ie the svg elements are still in the DOM even on completing the Node Move event.
Weird observation, this doesn't happens only with a variant of node i'm using.
Sounds similar to the #4355, this is happening with the edges though. Nodes are working fine. WIll update on testing!

@peterkogo
Observation: Assume DAG with A and B being the parent of C(A->C, B->C). On deleting node B or A, the edge AC/BC remain in the memory but not visually shown. Now when C is moved, this cracked behavior is observed. My guess is that RF is trying to render both the edges, but the loop is not complete, it doesn't cleanup the rendered edge because of the dangling edge?? This is only an assumption right now.
I'm using useReactFlow to delete edges and nodes using an identifier for both. This is a recent addition and it has started to break since. Will provide more context soon!

Interesting. I think this issue originates from your custom edge implementation.

@pnaik07 any update on a possible reproduction or maybe providing us with your custom edge code?

Oops! Forgot to update
The issue was dangling edges. When two nodes are connected by an edge and one node is deleted without de-allocating the edge, it remains in memory.
In my case, one of the right node was deleted, leaving the edge connected only to the left node. The edge wasn't removed from setEdges or the context, causing duplicate SVGs to render in view. I suspect the deleted parent node prevented the old SVG path from being cleared.
Fix: Delete redundant edges from memory when a node is deleted. This ensures edges disappear if either connected node is removed. This worked for me!!