Playing an Internet stream

I didn't see a method that could be used for playing an Internet stream (ex: http://opml.radiotime.com/Tune.ashx?id=s24062&formats=aac,ogg,mp3&partnerId=16&serial=b1fc80c602f6c15efa6820d7fe81bfee )
This would be pretty handy for sending sound notifications as well as streaming Internet radio stations on the players.
If it is possible using one of the existing methods, please let me know what I missed.

I borrowed a good chunk of this code from LMSQuery; there were some methods that weren't entirely documented in LMSQuery that I ported over without ever completely figuring out what they did.
You could try play_radio(self, radio).
If that doesn't do it, if you can find an API reference that documents what you want, we can add it in.

Thanks. I did try play_radio but it didn't work. I didn't check the LMS log to see if there were any clues but I will look into that and any API references.
I'm currently doing this with cVLC for sending pre-recorded messages to remote speakers in the house which already have squeezebox clients. If I can get this working through the LMS API, I can remove xVLC on the speakers.

Ok, Aaron, I believe I have it sorted.
The play_radio function only takes the "Favorite" ID # from your list of favorites ("0" is the first favorite).
It does not accept a URL. When I tried, it somehow parsed an integer from the string and interpreted as the URI of the corresponding favorite.
Watching the LMS log, I see that this line is passed when starting an internet stream on a player UI:
Slim::Plugin::CLI::Plugin::client_socket_write (463) <IP_ADDRESS>:49848 - Sending response [b8%3A27%3Aeb%3Aa8%3Af2%3A29 playlist play https%3A%2F%2Fnebcoradio.com%3A8443%2FWXRV
I believe the URL encoding part is done by the CLI.
A added the following to QueryLMS.py  just below the play_radio function:
def play_stream(self, url):
'''play stream url on associated player'''
return self.query(self.player_id, "playlist", "play", str(url))
Now, when I run the following program, it actually plays an Internet stream!

from QueryLMS import QueryLMS
office_player = QueryLMS(host="<IP_ADDRESS>", port=9000, player_name="Office")
office_player.play_stream("https://nebcoradio.com:8443/WXRV")

Also works with HTTP hosted sound effects files:

office_player.play_stream("https://www.pacdv.com/sounds/domestic_sound_effects/phone_1.wav")

It would be great if you could incorporate this new function into the code so others can benefit.

@ArtSpaziano
I'd be happy to add that function in. PRs are welcome! Would you be able to submit one? If you're unfamiliar with the workflow, let me know and I can walk you through it. As you've already made the changes in your local copy of QueryLMS, it's pretty simple.
Also, some documentation about what you discovered regarding the play_radio function would be helpful.
to be clear is this roughly the method you are proposing to add?
def play_stream(self, url):
   '''play stream url on associated player'''
   return self.query(self.player_id, "playlist", "play", str(url))

Yes, that's the method I added.
I have not submitted pull requests before but have worked with code management systems in the past (I'm a 70 year old retired software development managed!).
I'll be away for most of the day today but I'll check out some documentation on the the process and see if I can submit the change.

@ArtSpaziano Fantastic!
If it turns into too much of a project, let me know and I'll add it when I have some time. I'm hip-deep in sorting out another issue.

I just made the pull request after forking and making my changes.
'still not sure I got it right so check things on your end when you get the chance.

Closing this issue. play_stream is now part of the distrubution

Thanks for the PR!
I still need to publish this to PyPi - that will take a bit because I still need to configure the new trusted publisher settings.

@ArtSpaziano
You learned how to submit a PR, and I learned how to publish a package to PyPi with the new Trusted Projects feature. Banner day!
Thanks again for the PR! Future PRs are definitely welcome.

A day that passes without learning something is a day lost, in my estimation.
In any case, you are welcome. As I try to transition away from cvlc dependency, I may find more functionality to add but this gets me started.

Indeed. Learning is amazing, but sometimes learning is hard.  At least I now have a fairly comprehensive gist that covers how to publish to PyPi. And two hours ago, I thought this was going to be a 10 minute job.
what is cvlc dependency?

Ha! I learned that 10 minute jobs are equivalent to the mythical unicorn around 50 years ago. It applies to car repair, home maintenance and software development. 'not sure what it is but I still believe and they still [mostly] elude me.
cvlc is the command line version of the media player VLC ( https://www.videolan.org/ ).
It has the option of enabling an embedded server in each player instance. You can send it a HTTP post with a URL and it will play the stream.
I've been using it to send various smart home (via Hubitat) messages for certain events to Raspberry Pi based smart speakers around the house. Examples: Front door planter needs watering, someone is at the front door, Unread email waiting for (family member name) .....
I also have a LMS client installed on those speakers which works for TTS messages from Hubitat but not for custom, Python programs I created outside of Hubitat.  I was forced to go the VLC route.... until this weekend, thanks to your code and a small modification.

glad I could help and glad you found a solution.
If you've got some pis running around the house, check out this project: https://github.com/txoof/PaperPi
I adopted QueryLMS to make it easy to display "now playing" information on epaper screens. PaperPi has a plugin that lets you see what's currently playing on an LMS host or raSpotify instance.
It's only currently working with Bullseye32, but I'm working on getting it ready for Bookworm32.


I'm baaaack!

I'm a maintainer again. Will do my best to get this puppy somewhere nice and safe.

You should also have sufficient rights for merges/etc. again! Welcome back on board! 🎉


Cannot read property 'tasks' of undefined

Issue Id: 4553ddac-17c4-0c49-fc3d-96e4b7b446fdVersions - 1.11.1Stack TypeError: Cannot read property 'tasks' of undefined/vs/workbench/parts/tasks/electron-browser/task.contribution.ts#L710:7 (tasks)    at Array.forEach (native)/vs/workbench/parts/tasks/electron-browser/task.contribution.ts#L709:7 (forEach)/vs/workbench/parts/tasks/electron-browser/task.contribution.ts#L649:23 (createRunnableTask)vs/workbench/electron-browser/vs/base/common/winjs.base.raw.js#L1566:0 (onComplete)/vs/workbench/parts/tasks/electron-browser/task.contribution.ts#L648:28 (then)/vs/workbench/parts/tasks/electron-browser/task.contribution.ts#L585:8 (build)/vs/platform/instantiation/common/instantiationService.ts#L58:20 (apply)/vs/platform/commands/common/commandService.ts#L51:60 (apply)/vs/platform/commands/common/commandService.ts#L39:31 (_tryExecuteCommand)

Dups #24146


Cannot read property 'setNativeProps' of undefined

Hey @sideme I've had people reporting various formats of this same issue across different versions.
I've rewritten this small piece of code to be as safe as possible. Please give the latest version a shot (v1.0.6) and let me know if it fixes your problem, thanks!

Thank you!
it seems to lead to another question，like this

The previous one is not hidden

@sideme Hm I'm really not sure why that would be happening. Do you have any of the props set that would cause a change to this behavior? such as closeOnRowBeginSwipe

I'm used the basic features, like this

I think using FlatList is the cause of the problem
When I use ListView,The problem will not happen

@sideme sorry man I'm really not sure what's going on. Could you investigate a little further for me?
If you go into your node_modules/react-native-swipe-list-view/components/SwipeListView.js and add a debugger on line 58 right inside the onRowOpen method and maybe you could see what's going on?
Is safeCloseOpenRow being called at all? If so is it able to grab a reference to a row?
Any other details would be greatly appreciated, thanks!

Thank you!
I read your code and I used other way to achieve
Now I have solved it
Thank you very much! you are pretty good!

@sideme great! Glad to hear it


Added golint to makefile

Added the linting functionality as requested in #142.

Thank you very much @MyDigitalLife :tada:


Node Unselect

Hi - loving the library so far.
Just wondering how I could obtain the equivelant of a "node:unselect" event?
Have spent a few hours playing around with various events etc. and can't seem to find one that has the same behaviour as the when the node is unselected.
Thanks

~ Figured it out. Listening to see when "node:select" returns an empty array.
Feel free to delete :)


cantata: 2.3.3 -> 2.4.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/cantata/versions.
meta.description for cantata is: "A graphical client for MPD"
meta.homepage for cantata is: "https://github.com/cdrummond/cantata"

Quoted meta.homepage for RFC 45

Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.4.1 with grep in /nix/store/cjjdpy6a68dwgbg8p5p5yhk68jdrsl10-cantata-2.4.1

directory tree listing: https://gist.github.com/7f8cd030b36f34600fd10087f3aab92a

du listing: https://gist.github.com/440e2873b4784776e5dbb900042aa4ac

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
cantata

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/cjjdpy6a68dwgbg8p5p5yhk68jdrsl10-cantata-2.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cantata https://github.com/r-ryantm/nixpkgs/archive/ccde17ab6d04e66e596f76bc1107e279e26e5105.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/cjjdpy6a68dwgbg8p5p5yhk68jdrsl10-cantata-2.4.1
ls -la /nix/store/cjjdpy6a68dwgbg8p5p5yhk68jdrsl10-cantata-2.4.1/bin

cc @peterhoeg for testing.

It looks like @r-ryantm bot doesn't check if open issues on the topic already exists (duplicates #80291).

@sikmir It does, but the PR title has to match exactly. Sorry your PR got preempted.


Unable to retrieve the custom attributes of an application in get all applications REST API

Description:

After enabling the custom attributes of an application, we were not be able to see those attributes in the get all applications REST API response (https://localhost:9443/api/am/store/v1/applications/) [1].
Steps to reproduce:

Enable the custom attributes configuration in tenant.conf file [2].
Create an application with custom attributes.
Invoke the get all application REST API [1].

Affected Product Version:

APIM-3.2.0

References
[1] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/devportal-apis/devportal-v1/devportal-v1/#tag/Applications/paths/~1applications/get
 [2]https://apim.docs.wso2.com/en/3.2.0/learn/consume-api/manage-application/advanced-topics/add-custom-attributes-to-applications/#tenant-specific-configuration

Closing since the public PR is merged


[cinder-csi-plugin] Helm Chart: add metrics and Prometheus Operator support

What this PR does / why we need it:
add metrics and Prometheus Operator support
Which issue this PR fixes(if applicable):
fixes https://github.com/kubernetes/cloud-provider-openstack/issues/2350
Special notes for reviewers:

I separated http-server and podmonitor since the former can be used without the latter, although it requires two values to properly enable.
I "standardised" the way we start an http-server, and it may be incompatible with a Helm Release with extraArgs values already stating this flag.

Release note:

[cinder-csi-plugin] Helm Chart: add metrics and Prometheus Operator support

/approve

/lgtm

Only the deployment, not the daemonset also? 🤔 😊


listtransactions/listsinceblock returning odd errors

Not sure what is going on but with these two API calls I keep getting a return error of:
tinyformat: Not enough conversion specifiers in format string
or sometimes:
CTransaction::GetValueOut(): value out of range (this looks to be from src/primitives/transaction.cpp ?)
After these when I restart the dogecoind it will recover all the keys from the wallet saying the transactions are corrupt and do a rescan.

Any update on this? It just happened again today. It looks like it may be a TX the wallet itself is generating that is causing it:
2017-12-01 20:22:56 CommitTransaction:
CTransaction(hash=2a02c749c5, ver=1, vin.size=2, vout.size=2, nLockTime=1992967)
CTxIn(COutPoint(f04217db68, 1), scriptSig=3045022100c99117f8cc9078, nSequence=4294967294)
CTxIn(COutPoint(a2d8c0b715, 43), scriptSig=3045022100a4b6b2e4e53e9d, nSequence=4294967294)
CTxOut(nValue=0.16392274, scriptPubKey=OP_DUP OP_HASH160 f2e507ea255d)
CTxOut(nValue=0.-11864407, scriptPubKey=OP_DUP OP_HASH160 c1d95d42f0d1)
2017-12-01 20:22:56 keypool keep 578176
2017-12-01 20:22:56 AddToWallet 2a02c749c548d7dddfba997e3303c9259280b2e408e0b8ad23549e3d943d7008  new
2017-12-01 20:22:56 ERROR: CheckTransaction(): txout.nValue negative
2017-12-01 20:22:56 ERROR: AcceptToMemoryPool: CheckTransaction failed
2017-12-01 20:22:56 CommitTransaction(): Error: Transaction not valid
And from then on when the API is called we get the error replies. I added this debug output to the GetValueOut() function which is printing matching info to that TX when the API is called:
2017-12-01 22:31:13 CTransaction::GetValueOut(): value out of range
2017-12-01 22:31:13 CTransaction(hash=2a02c749c5, ver=1, vin.size=2, vout.size=2, nLockTime=1992967)
CTxIn(COutPoint(f04217db68, 1), scriptSig=3045022100c99117f8cc9078, nSequence=4294967294)
CTxIn(COutPoint(a2d8c0b715, 43), scriptSig=3045022100a4b6b2e4e53e9d, nSequence=4294967294)
CTxOut(nValue=0.16392274, scriptPubKey=OP_DUP OP_HASH160 f2e507ea255d)
CTxOut(nValue=0.-11864407, scriptPubKey=OP_DUP OP_HASH160 c1d95d42f0d1)
Then after killing dogecoind with SIGINT and restarting you get:
"Warning: error reading wallet.dat! All keys read correctly, but transaction data or address book entries might be missing or incorrect." And it rescans the blockchain.

I can't say I've ever seen this beofre 🤔
I would say wait and see if 1.14 fixes that (once we actually get this out as a release which might take a while). You could try starting with a clean wallet maybe if that's feasible.

In wallet.cpp do you think adding a CheckTransaction() near the top would have any adverse affects? Right now it adds to the wallet unconditionally it seems, adding this would find the problem first and reject it. I just don't know if a TX is supposed to be in the mempool before calling CheckTransaction or if there would be any adverse affects?
ie. something like this:
bool CWallet::CommitTransaction(CWalletTx& wtxNew, CReserveKey& reservekey)
{
{
LOCK2(cs_main, cs_wallet);
LogPrintf("CommitTransaction:\n%s", wtxNew.ToString());
    CValidationState state;
    if (!CheckTransaction(wtxNew, state))
        return false;

Without going through all the cases I don't see an issue with this, You're probably right that this is a tx created by the wallet itself, so rejecting it asap is probably fine.

@Crypto2 Did 1.14.3 fix your issue?

I think so, I haven't seen it happen in a long time.

@patricklodder @rnicoll @michilumin Close this one.


Fix the blog of unit testing dbt packages

Let me fix a minor thing in the blog article of unit testing dbt packages.

Taking a look at this, there's actually one more typo to fix here as well -- I'm guessing the intent was postgres__to_literal instead of postgress__to_literal:

I'm going to try making that fix and then merge it afterwards.

@dbeatty10 Thank you for following up.


Model Checkpoint

Hi, @dzimmerer thanks for the great work.
I'm wondering is there a checkpoint for me to run experiments?
Thank you

Hi,
You do not need checkpoints to run the experiments, just to evaluate the models.
I think I might have still some checkpoints laying around, however, it was quite a few experiments and quite a few checkpoints (it think it was 5 different seeds for each of the different configurations). I think (especially for mnist and fashion mnist) it's easier to just run the experiments yourself.
Cheers,
David


Option: float the active window in a group

Description
When float is dispatched on window group, float the active window (pop out) instead of the entire group.
group {
	pop_active_on_float = yes    # or float_active?
}

Alternatively, a new dispatcher togglefloatandpop (or togglefloatactive?)
much like movewindoworgroup: behaves like togglefloating if active window is not a group.
When unfloated, window should probably return to top of group (if still exists)

Solved with a bind to hyprctl dispatch moveoutofgroup && hyprctl dispatch togglefloating &&  hyprctl dispatch centerwindow


Refactor reindex page

Description
Reindex page refactor
Issues Resolved
#369
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #395 (a473b11) into index-operation (8205abd) will increase coverage by 0.50%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##           index-operation     #395      +/-   ##
===================================================
+ Coverage            56.99%   57.49%   +0.50%
===================================================
  Files                  219      222       +3
  Lines                 7192     7298     +106
  Branches              1167     1185      +18
===================================================
+ Hits                  4099     4196      +97
- Misses                2800     2802       +2
- Partials               293      300       +7

Impacted Files
Coverage Δ

...CreateIndex/components/IndexDetail/IndexDetail.tsx
78.86% <0.00%> (-8.14%)
:arrow_down:

...-dashboards-plugin/public/services/IndexService.ts
65.00% <0.00%> (-2.57%)
:arrow_down:

...ement-dashboards-plugin/public/pages/Main/Main.tsx
6.45% <0.00%> (-0.22%)
:arrow_down:

...gement-dashboards-plugin/public/utils/constants.ts
100.00% <0.00%> (ø)

...Indices/components/ReindexFlyout/ReindexFlyout.tsx

.../ReindexAdvancedOptions/ReindexAdvancedOptions.tsx

...public/pages/Reindex/container/Reindex/Reindex.tsx
84.83% <0.00%> (ø)

...ges/Reindex/components/IndexSelect/IndexSelect.tsx
100.00% <0.00%> (ø)

...components/CreateIndexFlyout/CreateIndexFlyout.tsx
75.00% <0.00%> (ø)

...rds-plugin/public/pages/Reindex/utils/constants.ts
100.00% <0.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Component with same name as app

This allows to generate components with same name as the app name.
https://github.com/donejs/donejs/issues/1175

Coverage remained the same at 97.548% when pulling 530e1223bd5857c29b35ce861c42f0121fcae7aa on 1175-component-name-as-project into 34e50600e06c473ffddac2fd4d50f2368d990575 on master.

👍


GatewaySpec Listener CEL block empty Hostname if similar Listeners also present

What happened:
0.8.0 does not allow a Gateway with two same Port, same Protocol Listeners where one Listener has Hostname set and the other does not. This violates a CEL rule that ensures Listeners have a unique Port/Protocol/Hostname combination.
What you expected to happen:
The Gateway passes validation. Per the above spec comment:

one Listener within a group may omit Hostname, in which case this Listener matches when no other Listener matches.

How to reproduce it (as minimally and precisely as possible):
With 0.8.0 installed:
$ echo "apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: prod-web
spec:
  gatewayClassName: acme-lb
  listeners:
  - protocol: HTTP
    port: 80
    name: http
  - protocol: HTTP
    port: 80
    name: httphostname
    hostname: http.example" | kubectl create -f -
The Gateway "prod-web" is invalid: spec.listeners: Invalid value: "array": Combination of port, protocol and hostname must be unique for each listener

Anything else we need to know?:
It looks like
(has(l1.hostname) && has(l2.hostname) ? l1.hostname == l2.hostname : true

requires a set value to compare if Hostname is equal.
Setting Hostname to "" or "*" does not work around this, as these values violate Hostname's '^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$' validation regex.

In my opinion this example should be invalid. The spec currently states that the combination of Hostname, Protocol, and Port must be unique:
https://github.com/kubernetes-sigs/gateway-api/blob/c21d0e46019bff1515cad5e80af3d6a48638f255/apis/v1beta1/gateway_types.go#L72-L73
Unfortunately the webhook validation did allow this to happen:
https://github.com/kubernetes-sigs/gateway-api/blob/ab03a594e7db13b8d2579929b204d8d10990fd2b/apis/v1beta1/validation/gateway.go#L145-L165
For completeness, here's the corresponding CEL validation:
https://github.com/kubernetes-sigs/gateway-api/blob/c21d0e46019bff1515cad5e80af3d6a48638f255/apis/v1beta1/gateway_types.go#L131
To me, this is/was a bug in validation. I recognize that if a bug exists long enough, it becomes a feature. I'm not sure if we've already crossed that line here. Would be interested in what others think.
/cc @shaneutt @youngnick

This feels conceptually similar to ParentRefs where we're also saying that for ParentRefs to be distinct, either SectionName or Port needs to be set to non-empty + distinct values, x-ref https://github.com/kubernetes-sigs/gateway-api/pull/2350. To avoid confusion here, I think we should do what we can to make sure the definitions of distinct here are as consistent as possible.

Considering this invalid would severely limit the ability to use a catch-all wildcard hostname, since you couldn't use it in combination with any other Listeners on the same Port+Protocol. I don't think we'd want that, and the prose indicates that we do want the 0.7 behavior--it's "one Listener within a group [port and protocol combination] may omit Hostname" rather than "a Listener may omit Hostname and match any Hostname if it is the only Listener in the group)".
We could require an explicit non-nil value for the catch-all (either "*" or ""), but it'd be a breaking change (the webhook used the same regex validation previously, and the spec said to omit it).
IMO empty is fine so long as we can check it and confirm that there are no two Listeners both using it on the same Protocol+Port. Rather, for Hostname alone, the list ["foo.example", "*.example", nil] has no duplicates, but ["foo.example", "*.example", nil, nil] does.
Testing that in CEL may be another story, but I assume you can somehow work in a failure condition for !has(l1.hostname) && !has(l2.hostname) (from brief testing, you cannot directly compare l1.hostname == l2.hostname if one is nil).

This seems like a valid configuration to me. The missing hostname is unique, it essentially behaves like hostname: *, right? So http.example will match the second listener, everything else will go to the first. It seems no different than if the first listener had hostname: *.example, which would be considered a valid unique hostname combination.

Yep, I think you're all right. I missed @rainest's reference to the spec in the original issue that very much settles this:
https://github.com/kubernetes-sigs/gateway-api/blob/d031c1641465e16abcc0f29abb5d97ed9db2943a/apis/v1beta1/gateway_types.go#L105-L107
Sorry for the noise here, this is indeed a bug in the CEL validation and we should fix it ASAP.
/triage accepted
/help

I'm no CEL expert, but it seems that the rule just needs to remove the has() part, so it will just check for duplicate hostnames, nil or not.
 // +kubebuilder:validation:XValidation:message="Combination of port, protocol and hostname must be unique for each listener",rule="self.all(l1, self.exists_one(l2, l1.port == l2.port && l1.protocol == l2.protocol && l1.hostname == l2.hostname))"


Add git tag/release

Hi team. I want to this repository to be managed by tag/release.
reasons:

little inconvenient for Go modules users
dependabot is not aware of the update of the library

Is there any reason why this repository is not currently managed by those?

Hello
any update?

Hi @sanposhiho , sorry for the late reply. I have added release tags so I will close this ticket. Thank you very much for your suggestion!

very thanks 🙇


[Feature] asdf-redo

Hi!
Just wanted to mention in case anyone's interested: I've put together an asdf-vm plugin for redo at https://github.com/chessmango/asdf-redo.
Feel free to close/delete this if you'd prefer :sweat_smile:

Thanks for making this! this look very useful :)!


GradCAM does not match exactly. Why?

Hi, @meliketoy
As a result of classifying with Resnet, Accuarcy is over 99%. If you hit map the object area with gradCAM with that model file, it does not match exactly. Why?
it does not match exactly. Why?
It seems to be a problem of GradCAM rather than Resnet classification learning. The objects to be hit-mapped are not as local or blob like dogs or cats, but close to a long straight line. In this case, GradCAM seems to miss the object area. Have you experienced this?
For a well-trainedd Resnet34 model, how do you optimize GradCAM?
Thanks, in advance.
from @bemoregt.

Hi, sorry for the extremely late response :(
I've currently not tested this much in everyday objects (as I am doing a project on medical images)
Could you provide me a brief example of 'heat-map area being close to a long straight line?'

I am using resnet for a binary classification task and I found out that CAM method also produces the same result. So I think it's not your implementation problem :-)


Build is failing at imports

See https://github.com/ProjectPythia/cmip6-cookbook/actions/runs/3624041278/jobs/6110575382#step:11:819

I think this was fixed with #36.


chore: add bootstrap address for F2Node

Description
Briefly describe the changes introduced by this pull request.
Related issue(s)
If this Pull Request is related to an issue, mention it here.

Fixes #(issue number)

@Lochua2 Please resolve the conflicts


Bayesian network - added as package to prevent conflicts with versions.

@Equidem I have resolved the conflicts - could you please review it? We need to merge this because of the version locking in packages.


Capsule in shapes.sdf is vanishing through ground plane after falling to side

Environment

OS Version: Ubuntu 20.04 minimal installation with german locale and explicite export LC_NUMERIC="en_US.UTF-8"
Binary build fortress
Running on real hardware, an AMD 5700G with VEGA 8 GPU and 32GB RAM

Capsule vanishes through ground plane when falling to side. I could reproduce this also with an own created world.
A few times I also had this behaviour with a sphere and a cylinder which lies on the side, but could not reproduce it stable.

Description

Expected behavior: Capsule falls to the side and stays there
Actual behavior: Capsule falls to the side and then slowly vanishes through the ground plane

Steps to reproduce

Command line:  ign gazebo shapes.sdf
Rotate capsule slightly to any direction
Start simulation

Output

I was able to reproduce the bug. It appears to be a bug in DART, so I've created an issue there https://github.com/dartsim/dart/issues/1654.


Specify the kineto filepath explicitly when running HTA analysis

Summary
Without specifying the kineto filepath explicitly, HTA may pick arbitrary files from the trace_dir and either provide incorrect analysis results, or fail in some weird ways.
Test Plan
I tested it locally within my setup, and also run the existing test suite, but I guess this is not enough to move forward.
What would be the best way to add a test case capturing such a behavior? Shall I add some more test data?
Would appreciate any suggestions on how to make this PR better 🙌
Additional Notes
As a concrete example, I have the following files in one folder:
trace_linked.0.json
trace_kineto.0.json
trace_pytorch.0.json

When I run the linker as follows:
chakra_trace_link --rank 0 \
  --chakra-host-trace trace_pytorch.0.json \
  --chakra-device-trace trace_kineto.0.json \
  --output-file trace_linked.0.json

then the underlying HTA analysis will pick all the files in the trace_dir, despite the fact that I explicitly specified which files to link.
This is one of the errors I hit within my setup:

Failure
> chakra_trace_link --rank 0 --chakra-host-trace trace_pytorch.0.json --chakra-device-trace trace_kineto.0.json --output-file trace_linked.0.json
[2024-11-11 12:20:19,449] trace.py:328 [INFO]: ~/traces
[2024-11-11 12:20:19,514] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-11 12:20:19,521] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-11 12:20:19,529] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-11 12:20:19,529] trace_file.py:92 [WARNING]: There is no item in the rank to trace file map.
[2024-11-11 12:20:19,529] trace.py:474 [INFO]: ranks=[]
[2024-11-11 12:20:19,529] trace.py:480 [ERROR]: The list of ranks to be parsed is empty.
[2024-11-11 12:20:19,529] trace.py:483 [WARNING]: leaving parse_traces duration=0.00 seconds

Traceback (most recent call last):
  File "~/chakra/.venv/bin/chakra_trace_link", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "~/chakra/.venv/lib/python3.11/site-packages/chakra/src/trace_link/trace_link.py", line 47, in main
    linker.link(args.rank, args.chakra_host_trace, args.chakra_device_trace, args.output_file)
  File "~/chakra/.venv/lib/python3.11/site-packages/chakra/src/trace_link/trace_linker.py", line 70, in link
    sync_deps = self.load_sync_dependencies(rank, chakra_device_trace)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/chakra/.venv/lib/python3.11/site-packages/chakra/src/trace_link/trace_linker.py", line 120, in load_sync_dependencies
    trace_analysis = TraceAnalysis(trace_dir=trace_dir)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/chakra/.venv/lib/python3.11/site-packages/hta/trace_analysis.py", line 37, in __init__
    self.t.load_traces(include_last_profiler_step)
  File "~/chakra/.venv/lib/python3.11/site-packages/hta/common/trace.py", line 353, in load_traces
    self.align_and_filter_trace(include_last_profiler_step)
  File "~/chakra/.venv/lib/python3.11/site-packages/hta/common/trace.py", line 493, in align_and_filter_trace
    self._align_all_ranks()
  File "~/chakra/.venv/lib/python3.11/site-packages/hta/common/trace.py", line 615, in _align_all_ranks
    self.min_ts = min(trace_df["ts"].min() for trace_df in self.traces.values())
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: min() arg is an empty sequence

And here is the output with the patched version:

Success
> chakra_trace_link --rank 0 --chakra-host-trace trace_pytorch.0.json --chakra-device-trace trace_kineto.0.json --output-file trace_linked.0.json
[2024-11-11 12:24:35,997] trace.py:328 [INFO]: ~/traces
[2024-11-11 12:24:35,997] trace.py:474 [INFO]: ranks=[0]
[2024-11-11 12:24:36,071] trace_parser.py:107 [WARNING]: Parsed ~/traces/trace_kineto.0.json time = 0.07 seconds
[2024-11-11 12:24:36,086] trace_parser.py:317 [WARNING]: Rounding down ns resolution events due to issue with events overlapping. ts dtype = float64, dur dtype = float64.Please see https://github.com/pytorch/pytorch/pull/122425
[2024-11-11 12:24:36,127] trace_parser.py:430 [WARNING]: Parsed ~/traces/trace_kineto.0.json backend=ParserBackend.JSON in 0.13 seconds; current PID:3256
[2024-11-11 12:24:36,148] trace.py:236 [WARNING]: Overall parsing of ~/traces/trace_kineto.0.json in 0.15 seconds; current PID:3256
[2024-11-11 12:24:36,151] trace.py:449 [WARNING]: leaving parse_multiple_ranks duration=0.15 seconds
[2024-11-11 12:24:36,151] trace.py:483 [WARNING]: leaving parse_traces duration=0.15 seconds
[2024-11-11 12:24:36,151] trace.py:654 [WARNING]: There is only one iteration in the trace. The analysis result may not be accurate.
[2024-11-11 12:24:36,152] critical_path_analysis.py:1467 [WARNING]: Trace does not contain CUDA Synchronization events so the results of analysis could be inaccurate.
[2024-11-11 12:24:36,152] critical_path_analysis.py:1471 [WARNING]: Please see this PR to learn how to enable CUDA sync events https://github.com/pytorch/pytorch/pull/105187
[2024-11-11 12:24:36,152] critical_path_analysis.py:1493 [INFO]: Looking up events under [0, 0) instance(s) of 'ProfilerStep' annotation.
[2024-11-11 12:24:36,153] critical_path_analysis.py:1509 [INFO]: Looking up events within the window (1859, 1400577.0)
[2024-11-11 12:24:36,161] critical_path_analysis.py:1533 [INFO]: Clipped dataframe has 7575 events
[2024-11-11 12:24:36,163] critical_path_analysis.py:1540 [INFO]: Preprocessing took 0.01 seconds
[2024-11-11 12:24:36,445] critical_path_analysis.py:1544 [INFO]: CPGraph construction took 0.28 seconds
[2024-11-11 12:24:36,448] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9022, end=9023, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-11 12:24:36,448] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9032, end=9033, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-11 12:24:36,448] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9220, end=9221, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-11 12:24:36,448] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9286, end=9287, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-11 12:24:36,448] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9362, end=9363, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-11 12:24:36,468] critical_path_analysis.py:1143 [INFO]: calculating critical path took 0.023477 seconds
[2024-11-11 12:24:36,490] trace_parser.py:107 [WARNING]: Parsed ~/traces/trace_kineto.0.json time = 0.02 seconds
[2024-11-11 12:24:36,492] trace_linker.py:280 [INFO]: Enforcing sync order in Kineto traces.
[2024-11-11 12:24:36,492] trace_linker.py:326 [INFO]: Thread PyTorch Profiler: Identifying synchronization dependency.
[2024-11-11 12:24:36,492] trace_linker.py:326 [INFO]: Thread 0: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread Trace PyTorch Profiler: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread 17810: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread 17809: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread 17808: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread 17779: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread 7: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread 17841: Identifying synchronization dependency.
[2024-11-11 12:24:36,493] trace_linker.py:326 [INFO]: Thread : Identifying synchronization dependency.
[2024-11-11 12:24:37,150] trace_link.py:49 [INFO]: Linking process successful. Output file is available at trace_linked.0.json.
[2024-11-11 12:24:37,150] trace_link.py:50 [INFO]: Please run the chakra_converter for further postprocessing.

Thank you for the PR! The code changes look good overall.
I have a few minor questions:

Have you tested your updates with multiple kineto files in the same directory?
Could you share the traces here for testing purposes?
Do you have any insights into the cause of the malfunction?

I’ll run further tests once I have your traces.

Have you tested your updates with multiple kineto files in the same directory?

Yes, it behaves correctly. In my specific use case it also finishes successfully without the patch, but that's rather by accident. Additionally, it also analyzes more files thus wasting some extra time.
Here is an example output of running against the nanoGPT_DDP traces:

nanoGPT with DDP, two pairs of traces
chakra_trace_link --rank 0 --chakra-host-trace trace_pytorch.0.json --chakra-device-trace trace_kineto.0.json --output-file trace_linked.0.json
[2024-11-12 09:15:18,820] trace.py:328 [INFO]: ~/traces/DDP
[2024-11-12 09:15:18,821] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-12 09:15:18,822] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-12 09:15:18,822] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-12 09:15:18,822] trace_file.py:61 [ERROR]: If the trace file does not have the rank specified in it, then add the following snippet key to the json files to use HTA; "distributedInfo": {"rank": 0}. If there are multiple traces files, then each file should have a unique rank value.
[2024-11-12 09:15:18,822] trace_file.py:94 [INFO]: Rank to trace file map:
{1: '~/traces/DDP/trace_kineto.1.json', 0: '~/traces/DDP/trace_kineto.0.json'}
[2024-11-12 09:15:18,822] trace.py:474 [INFO]: ranks=[0, 1]
[2024-11-12 09:15:19,752] trace_parser.py:107 [WARNING]: Parsed ~/traces/DDP/trace_kineto.0.json time = 0.92 seconds
[2024-11-12 09:15:19,752] trace_parser.py:107 [WARNING]: Parsed ~/traces/DDP/trace_kineto.1.json time = 0.92 seconds
[2024-11-12 09:15:19,869] trace_parser.py:317 [WARNING]: Rounding down ns resolution events due to issue with events overlapping. ts dtype = float64, dur dtype = float64.Please see https://github.com/pytorch/pytorch/pull/122425
[2024-11-12 09:15:19,869] trace_parser.py:317 [WARNING]: Rounding down ns resolution events due to issue with events overlapping. ts dtype = float64, dur dtype = float64.Please see https://github.com/pytorch/pytorch/pull/122425
[2024-11-12 09:15:20,167] trace_parser.py:430 [WARNING]: Parsed ~/traces/DDP/trace_kineto.0.json backend=ParserBackend.JSON in 1.34 seconds; current PID:17857
[2024-11-12 09:15:20,168] trace_parser.py:430 [WARNING]: Parsed ~/traces/DDP/trace_kineto.1.json backend=ParserBackend.JSON in 1.34 seconds; current PID:17858
[2024-11-12 09:15:20,441] trace.py:236 [WARNING]: Overall parsing of ~/traces/DDP/trace_kineto.1.json in 1.61 seconds; current PID:17858
[2024-11-12 09:15:20,441] trace.py:236 [WARNING]: Overall parsing of ~/traces/DDP/trace_kineto.0.json in 1.61 seconds; current PID:17857
[2024-11-12 09:15:20,548] trace.py:449 [WARNING]: leaving parse_multiple_ranks duration=1.73 seconds
[2024-11-12 09:15:20,548] trace.py:483 [WARNING]: leaving parse_traces duration=1.73 seconds
[2024-11-12 09:15:20,582] critical_path_analysis.py:1467 [WARNING]: Trace does not contain CUDA Synchronization events so the results of analysis could be inaccurate.
[2024-11-12 09:15:20,582] critical_path_analysis.py:1471 [WARNING]: Please see this PR to learn how to enable CUDA sync events https://github.com/pytorch/pytorch/pull/105187
[2024-11-12 09:15:20,583] critical_path_analysis.py:1493 [INFO]: Looking up events under [0, 0) instance(s) of 'ProfilerStep' annotation.
[2024-11-12 09:15:20,583] critical_path_analysis.py:1509 [INFO]: Looking up events within the window (2598, 401406.0)
[2024-11-12 09:15:20,595] critical_path_analysis.py:1533 [INFO]: Clipped dataframe has 7753 events
[2024-11-12 09:15:20,598] critical_path_analysis.py:1540 [INFO]: Preprocessing took 0.02 seconds
[2024-11-12 09:15:21,049] critical_path_analysis.py:1544 [INFO]: CPGraph construction took 0.45 seconds
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=8970, end=8971, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9036, end=9037, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9058, end=9059, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9066, end=9067, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9110, end=9111, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9230, end=9231, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9316, end=9317, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9518, end=9519, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9532, end=9533, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9578, end=9579, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,052] critical_path_analysis.py:1171 [WARNING]: Ignoring negative weight of -1 for CPEdge(begin=9644, end=9645, weight=np.float64(-1.0), type=<CPEdgeType.OPERATOR_KERNEL: 'critical_path_operator'>)
[2024-11-12 09:15:21,071] critical_path_analysis.py:1143 [INFO]: calculating critical path took 0.022226 seconds
[2024-11-12 09:15:21,742] trace_parser.py:107 [WARNING]: Parsed ~/traces/DDP/trace_kineto.0.json time = 0.67 seconds
[2024-11-12 09:15:21,759] trace_linker.py:280 [INFO]: Enforcing sync order in Kineto traces.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread PyTorch Profiler: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 0: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread Trace PyTorch Profiler: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 1979522: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 1979521: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 1979520: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 1979519: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 1978831: Identifying synchronization dependency.
[2024-11-12 09:15:21,759] trace_linker.py:326 [INFO]: Thread 7: Identifying synchronization dependency.
[2024-11-12 09:15:21,760] trace_linker.py:326 [INFO]: Thread 22: Identifying synchronization dependency.
[2024-11-12 09:15:21,760] trace_linker.py:326 [INFO]: Thread 1980072: Identifying synchronization dependency.
[2024-11-12 09:15:21,760] trace_linker.py:326 [INFO]: Thread 960489024: Identifying synchronization dependency.
[2024-11-12 09:15:21,760] trace_linker.py:326 [INFO]: Thread : Identifying synchronization dependency.
[2024-11-12 09:15:24,793] trace_link.py:49 [INFO]: Linking process successful. Output file is available at trace_linked.0.json.
[2024-11-12 09:15:24,793] trace_link.py:50 [INFO]: Please run the chakra_converter for further postprocessing.

Could you share the traces here for testing purposes?

Attached, these are coming from nanoGPT with a single training iteration. There are two cases: "normal" run, and a DDP with 2 GPUs.
nanoGPT_DDP_2x.zip
nanoGPT_no_DDP.zip

Do you have any insights into the cause of the malfunction?

In case the trace_files dict is empty, hta attempts to construct the dictionary by collecting all the files in the trace_dir
https://github.com/facebookresearch/HolisticTraceAnalysis/blob/b0d4eee4df2c162c2f48ce987bb638aadac9c605/hta/common/trace_file.py#L32-L34

This will likely fix https://github.com/mlcommons/chakra/issues/163
Thanks!

Thank you so much!
Will also test your PR locally in my machine and share the result here.

I have thoroughly tested this PR in my environment, and it runs well.
Also, it reduces trace loading time for HTA's critical path analysis since it does not need to load all traces anymore.

Thank you for checking @JoongunPark, highly appreciated!
Is there anything else I can do to make this PR mergeable?

Thank you for checking @JoongunPark, highly appreciated!
Is there anything else I can do to make this PR mergeable?

This PR looks good to me as it is. @AlexDenisov, thank you so much for your efforts!
May I kindly ask for your help to merge this PR, @TaekyungHeo and @srinivas212?
Thank you! 😊


Docs developing charts

From the docs: https://docs.helm.sh/developing_charts/
charts/             # OPTIONAL
templates/          # OPTIONAL
While the charts and templates directories are optional there must be at least one chart dependency or template file for the chart to be valid.
This is contradictory. Please elaborate.

those directories are mandatory. I've cleared up some confusion in https://github.com/kubernetes/helm/pull/3876.


QR code issues

Hello, I have been testing the Emercoin Basic iOS app, which has a QR code reader for scanning addresses and I encountered some question/issues about using QR codes with the explorer (and also as displayed in the mintr wallet).

The QR codes on the explorer do not scan with the iOS app, receiving the message  "The QR code was incorrect". I'm not 100% sure if this is a problem with the app or with the explorer. I guess there has not been much cause to test in the past! It was interesting to note that using a separate QR code scanning app the explorer QR codes would eventually read but only when I put the camera unusually close...

When an unknown (yet valid) address is searched for,  the explorer gives a message like "Unknown Address".. yet I think it would be preferable to show the zero balance and display a QR code for the address so someone can use the QR code to scan. (I believe blockchain.info works this way with unknown addresses)

Thank you for your suggestions.
Both have been implemented.


Upgrade to GATK v<IP_ADDRESS>

This will fix a header error encountered during BAF generation with the 1KGP panel and improve gCNV stability.

Upgrade GATK docker in all json files
Synchronize gCNV WDLs with those from GATK (pending https://github.com/broadinstitute/gatk/pull/6607/files)
New gCNV VCF formatting may require changes to src/sv-pipeline/00_preprocessing/scripts/defragment_cnvs.py
Rebuild test and 1KGP gCNV models

#34 introduces a new GATK docker input gatk_docker_pesr_override that should be deprecated when we upgrade.


[BUG] _bulk update request failing when using text chunking processor pipeline

Describe the bug
When performing _bulk  update request while using text chunking processor I am getting {"took":0,"ingest_took":1,"errors":true,"items":[{"index":{"_index":null,"_id":null,"status":500,"error":{"type":"null_pointer_exception","reason":"Cannot invoke \"Object.toString()\" because the return value of \"java.util.Map.get(Object)\" is null"}}}]}. There is no error when I am not using text chunking processor or when I am using regural update API.
Example request:
curl -H "Content-Type: application/json" -X POST "https://localhost:9200/_bulk" -u "admin:xxxxx" --insecure -d ' { "update": { "_id": "test", "_index": "docs-chunks"} } {"doc": {"text": "testing testing"}, "doc_as_upsert": true} '
Example response:
{"took":0,"ingest_took":1,"errors":true,"items":[{"index":{"_index":null,"_id":null,"status":500,"error":{"type":"null_pointer_exception","reason":"Cannot invoke \"Object.toString()\" because the return value of \"java.util.Map.get(Object)\" is null"}}}]}
Related component
Indexing
To Reproduce

Deploy text model
Create text chunking pipeline
Create index with the text chunking pipeline as default pipeline
Try to post bulk update request
Error should appear

Expected behavior
Sucessfully update opensearch ducuments.
Additional Details
Plugins
[opensearch@opensearch-cluster-master-0 ~]$ bin/opensearch-plugin list opensearch-alerting opensearch-anomaly-detection opensearch-asynchronous-search opensearch-cross-cluster-replication opensearch-custom-codecs opensearch-flow-framework opensearch-geospatial opensearch-index-management opensearch-job-scheduler opensearch-knn opensearch-ml opensearch-neural-search opensearch-notifications opensearch-notifications-core opensearch-observability opensearch-performance-analyzer opensearch-reports-scheduler opensearch-security opensearch-security-analytics opensearch-skills opensearch-sql
Host/Environment (please complete the following information):

OS: Amazon Linux
Version: 2023
Helm environment v2.20.0, running on k8s cluster v1.28.3
Opensearch v2.14.0

Additional context
ML model used: https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-v1
Text chunking pipeline:
{   "description": "A text chunking and embedding ingest pipeline",   "processors": [     {       "text_chunking": {         "algorithm": {           "fixed_token_length": {             "token_limit": 350,             "overlap_rate": 0.2,             "tokenizer": "standard"           }         },         "field_map": {           "text": "passage_chunk"         }       }     },     {       "text_embedding": {         "model_id": "ueVVfo4Bvd-X9jaivNwl",         "field_map": {           "passage_chunk": "passage_embedding"         }       }     }   ] }
Index settings and mappings:
{     "settings": {       "index": {           "number_of_shards": 2,           "number_of_replicas": 2,           "knn": true,           "default_pipeline": "text-chunking-embedding-ingest-pipeline",           "analyze": {               "max_token_count": 1000000           }       }     },     "mappings": {         "properties": {             "text": {                 "type": "text",                 "fields": {                     "keyword": {                         "type": "keyword",                         "ignore_above": 256                     }                 }             },             "passage_embedding": {                 "type": "nested",                 "properties": {                     "knn": {                         "type": "knn_vector",                         "dimension": 384                     }                 }             }         }     } }

[Triage - attendees 1 2 3 4 5]
@janmederly Thanks for creating this issue, want to create a pull request to address?

[Triage - attendees 1 2 3 4 5]
@opensearch-project/admin Could you transfer this to neural-search this looks related to the processed defined in that codebase (Thanks @andrross)

No, I dont have an idea how to fix it :).


server functions: allow get requests

	const get1 = async () => {
		const res = await fetch("http://localhost:3000/_server", {
			method: "GET",
			headers: {
				"Server-Action":
					"/Users/or/Desktop/vinxi/examples/solid/ssr/basic/app/getActions.tsx#getAction",
			},
		});
		const data = await res.json();
		console.log(data);
	};

this is now valid, i was also trying to make this valid:

	const get2 = async () => {
		const res = await fetch(
			`http://localhost:3000/_server?serveract=${encodeURIComponent(
				"/Users/or/Desktop/vinxi/examples/solid/ssr/basic/app/getActions.tsx#getAction",
			)}`,
			{
				method: "GET",
			},
		);
		const data = await res.json();
		console.log(data);
	};

but the codebase was so messy and untyped i barely could have got anything moving. this is useful for an open graph library we are building as a part of solid mediakit.
i'm aware that params don't exist when making a get request and that is fine we don't need this rn, we just need the base working.

@OrJDev Start's server functions can already be called with GET, solid-router does it.

From what I can tell vinxi-server-functions/server-handler.js isn't actually used by Start, it supplies its own that does support GET.


Refactors 'defaults' back to a property.

@runspired follow-up PR.
ps:- if this is cool, we should merge it before rebase-ing the qunit PR.

I agree, can you open this directly against the feat/es2015 branch in hammer?

Also, rebase qunit against this, and also open that as a PR against es2015


Not reading Connecting string from app setting

[Enter feedback here]
This doesn't work in the portal when setting an output binding. It appears it can't read the CosmosDB connection string from App Settings.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 939101cd-9c92-ed8f-b241-664794db8a0d
Version Independent ID: 21392fd3-c4e7-f785-a660-ebbbf88646e4
Content: Store unstructured data using Azure Cosmos DB and Functions
Content Source: articles/azure-functions/functions-integrate-store-unstructured-data-cosmosdb.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

@KyleLJohnson
Thanks for your feedback! We will investigate and update as appropriate.


Setup OWNERS on cdc/api/v2 folder for CDC API change approval

Before asking a question, make sure you have

[X] Searched existing Stack Overflow questions
[X] Googled your question
[X] Searched open and closed GitHub issues
[X] Read the documentation

What is your question?
Like https://github.com/pingcap/tidb/issues/45183
Scope: cdc/api/v2 go source files
Approvers: @flowbehappy @okJiang

/assign

/type question

Why is the approver of this folder me? I have never contributed to this folder.

Why is the approver of this folder me? I have never contributed to this folder.

@okJiang
sorry for assign wrong Github ID, it's updated.


fix: Remove obsolete code that fixed up absolute mountpoints

The Issue
In reviewing

#6501

I noted some old code that was built around a docker-compose anomaly from long ago
How This PR Solves The Issue
Remove the old adaptive code
Manual Testing Instructions
Figure out the original bug and make sure it's properly handled now.
Release/Deployment Notes
This will cause a conflict with #6501 so can go in after that one with modest work.

@stasadev you can choose whether to get this one in first and then adjust the other one, or the opposite way. Thanks!


Add documentation for building native libraries with NativeAOT targeting iOS-like platforms

Summary
This PR adds documentation describing how to build and consume native libraries with NativeAOT targeting iOS-like platforms.

Fixes https://github.com/dotnet/runtime/issues/96742
Contributes to: https://github.com/dotnet/runtime/issues/96664

Closing in favour of https://github.com/dotnet/docs/pull/43397


Stop copying read values in characteristic

readRawData() returns a pointer to m_value now, instead of keeping a second copy of the same data. Small API change, if no data is available, an empty string is returned instead of a NULL. Also readValue() returns a reference to m_value now, thus saving a copy constructor and a second copy of the same string in the sketch.
I am curious what you think of this improvement. There might be more locations in the library to do similar things.
In general though, I believe it is a bad habit to store temporary (read) values in the class instance. This PR is not ideal in that sense (because of original design) but an improvement of the current implementation without any mayor impact.

I like these changes, but I think they would be better applied to the client-long-read-write branch as I am working on changes to the implementation of this code there, and a few of these have already been done there as well.

Okay,closing for now. I am looking forwardto the new release :)


Feature: Debounce paging

This project uses semver, please check the scope of this pr:

[ ] #none# - documentation fixes and/or test additions
[ ] #patch# - backwards-compatible bug fix
[x] #minor# - adding functionality in a backwards-compatible manner
[ ] #major# - incompatible API change

CHANGELOG

Add feature to debounce paging action (while maintaining page number)

@EWhite613 was ember-concurrency considered for usage, as it would be the preferred implementation for this feature?  If so, why was it not able to be used?

This behavior is not a true debouncer, though it exhibits some behaviors of one.  A debouncer limits the rate at which a function can fire.  Attaching a debouncer to the window resize event is a good example where you can have multiple inputs actions/events but only want one execution to occur.   In the logic you have put forward we are debouncing in the sense that we are not going to fire off intermediate data requests for each data page HOWEVER we then jump the user forward as many data pages as they have queued up so we are executing part of the logic more than once (data page selection vs actual retrieval).
The point: 1) we may wish to use a more accurate term and/or describe this behavior more accurately, and 2) this seems like it would be a jarring experience for the user.  Especially as they click the next page and are waiting for results, don't get any, and then start clicking a bunch wondering what is broken/going on.  If the interval value is kept to a low number though it will likely lessen this occurrence but if that is how this is intended to be mitigated this guidance should be conveyed in the documentation.

Looking into different approach


Project Part 2

Project Part 2
Overview
The project description outlines the problem and a set of needs. The entire project has several deliverables. Subsequent deliverables may be further refinements of earlier ones, and should address any TA feedback or concerns. This project part focuses on some initial preparations.
Deliverables
The following components are required for this project part.

Product Backlog:
Form the initial partial user stories into a backlog of the product's requirements. For each user story, estimate its size in story points, and denote its risk level (i.e., low, medium, or high). These requirements will likely evolve and should be maintained up-to-date throughout the project. Make sure they are numbered for easy reference. Note which stories will be released for the half-way checkpoint.

User Interface Mockups and Storyboard Sequences:
Diagram the layout of your main user interface and major dialogs, with comments describing the important elements. Also, diagram storyboard sequences of using your application, with transitions between different states of the user interface, caused by the user manipulating the controls or providing input. Within the diagrams, reference the relevant requirements. Convincingly show all the requirements are covered.

Object-Oriented Analysis:
Document your initial object-oriented analysis using CRC cards, focusing on the most important anticipated classes, their responsibilities, and collaborators.

Tool use:
Regular and consistent use of GitHub by all team members to share files for the project deliverables, to effectively track issues, and to manage tasks.

Hints
Ask questions about the requirements. Your interpretation of a need or task may be more complex or sophisticated than what is actually desired. Involve the TA mentor for your team to gain feedback on your deliverables.
For neatness and readability, diagrams must be drawn well using a computer tool at a suitably legible scale for insertion into your document(s). Submitted diagram(s) must be embedded as image(s) in your team wiki, not linked externally.
You should look ahead to the future project parts and their deliverables to know what is coming. Do not wait until this part's deliverables are due before working on the next part.
Very likely, the requirements and user interface design will need to evolve during the project. You should keep this information up-to-date so that your team members are properly coordinated.

#3 #4 #5

This project part is done, we can move on to focusing on the next.


Functional Installation Guide for Postal Mail Server

Please how can I get the WORKING guide for the installation of Postal Mail Server?
I have tried all manner including the one you gave in May 2017 but none of them is working.
Could you please assist me with this quickly?

https://github.com/atech/postal/wiki/Quick-Install worked for me quite well?

Thanks tchwpkgorg

If you are still encountering issues, please actually tell us what isn't working so we can see where things have gone wrong.

The issue I am experiencing now is 502 Bad Gateway
nginx/1.10.3 (Ubuntu).
When I edited the postal.yml, the changes were not displaying on the DNS session of the installation when I clicked on domain and try to very the domain.
Instead of reflecting postal.mydomainame.com it was showing postal.example.com which was what I corrected it from for SPF, DKIM and others
So when I tried to restart the VPS thinking it will resolve the issue I can't access the postal installation again and the error on the page is 502 Bad Gateway
nginx/1.10.3 (Ubuntu)
I will appreciate your assistance if you can help me

Please check postal status and see which services have failed. You may also find more information in /opt/postal/logs

Postal status show that Error: Procodile supervisor isn't running��
How can I fix this please?

Have a look at /tmp/postal/procodile.log which is where the log file is apparently

It returned error of no such file directory....
Waiting for your response boss

If that file isn't present then it may never have started properly so you could have a look at the system logs, see if theres anything there.
Alternatively, you could try running Postal directly sudo -u postal postal start

This is what I got when I run that command;
/root is not writable.
Bundler will use `/tmp/bundler/home/root' as your home directory temporarily.
Started Procodile supervisor with PID 13516

This is what the server is displaying now "We're sorry, but something went wrong.
If you are the application owner check the logs for more information."
You guide seems to be working, I am expecting your response to get this sorted out again.
Thanks a million in advance

This is the content of rails.log checked here /opt/postal/app/log
Logfile created on 2019-03-14 13:55:58 +0000 by logger.rb/61378

This command work for me sudo -u postal postal start


Cannot find module 'sha3'

I installed 'sha3' package from npm but when I tried executing the sample javascript shown on https://www.npmjs.com/package/sha3 I am getting the error as:
Cannot find module 'sha3' from '/home/mypc/Desktop/browser'
at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
at process (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
at ondir (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
at load (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
at onex (/usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
at /usr/local/lib/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
at Object.oncomplete (fs.js:107:15)
I tried on multiple machines and even on the tonic webpage(https://tonicdev.com/npm/sha3) but getting the same error everywhere.

Run npm install sha3 from inside /home/mypc/Desktop/browser and it should work. It's looking for browser/node_modules/sha3 and not finding it.

The directory structure of my installation is already '/home/mypc/Desktop/browser/node_modules/sha3' which should work because I have certain other packages which are working fine. Thanks

Is it a part of your browserify config? Is that looking in your package.json?

Yes it is part of browserify config.

Interesting. This module is based on C++ extensions -- can browserify package those up? I'd expect it to work only with pure JavaScript libraries.


dts: bindings: rename nxp,kinetis-dspi compatible

Rename "nxp,kinetis-dspi" compatible to "nxp,dspi" to remove the device family from its name because this hardware block is used in multiple NXP devices from different families.

@manuargue hey this needs a rebase

rebased and fixed conflicts


How to compile and see the sample applications using the library on Ubuntu

Dear experts
My question is how to compile and see the sample applications using the library on Ubuntu.
Thank you
Best Regards
William

Hello! The linux platform README has exactly what you're looking for: https://github.com/tangrams/tangram-es/blob/main/platforms/linux/README.md
Feel free to open another issue if you have problems following these steps.


Make quest relevant for events

User Story:

#99

Description:

[ ] Update database to make quest relevant for event

Closed by https://github.com/heyloft/maraudersmap-backend/pull/37


When "No hands found", it returned 3 "None", cauced: too  many values to unpack (expected 2)

in the call method in hand_tracker.py simply replace the 3 return Nones by only 2 Nones.


when a hidden axis is revealed, it is detached from control (reorderable, brushes, etc)

@joshhjacobson has discovered this bug in issue #15
Thank @joshhjacobson for the detailed information

Thanks! This seems to have handled all the console errors, and axis reordering is mostly functional. While testing, I noticed a bug where the right-most axis seems to become disconnected from the canvas. You can still interact with all the other axes by dragging them around and brushing, but the right-most one is unresponsive. If you drag another axis toward it, the polylines will adjust accordingly, but the svg axis itself will remain fixed.

This was produced using the example above where I start with one axis hidden, and then click the button to 'show' it.

Hi there,
I recently came across an error that might shed some light on this issue. After calling pc.hideAxis(array) I go to update the chart with pc.render().updateAxes(500). This generates the following error:

Which references this line:

So the rightmost axis gets 'detached' because it becomes undefined at some point in this process?

I believe the issue that @joshhjacobson was running into is because the cars dataset we were using has a column of string data called 'names'. Josh and I were trying to implement some features, like k-means clustering, which perform some operation on the numerical data and the result generates a new column of numerical data. When we inadvertently tried to cluster string and names data, the clustering would work, but the new clustering axis would become unresponsive. After removing the string data, we didn't have an issue.

@wraseman just to clarify, the string/names data was excluded from the clustering operation. I agree that working with a combination of string and numeric data might be a suspect however. Another important detail here is that all data actually needs to be stored as string values to be compatible with parcoords -- after performing the numeric computations, I would convert all data back to a string format anyway.
One last note: this issue stemmed from a slightly tweaked version of the basic example in this repo (see #15) so I think it's still an issue beyond our specific use case.


Msbuild task to generate constants files

Summary of the new feature/enhancement
We have constants like MAX_ZONES and Version which are used in multiple syntax => multiple places to maintain, making it prone to mistakes. MSbuild can generate those constants to be imported from.

Proposed technical implementation details
Looks like WriteLinesToFile could help.

This was fixed for Version.
If there is the need for other constants, let's open a new specific issue.


GetSeqRecords() in SeqExtract ---------- Enterz Handle

handle = Entrez.efetch(db="protein", id=seqList, rettype="gb", retmode="genbank")
Enterz.efetch queries protein database not nucleotide.
Hasn't caused any problems yet. Even if I give it nucleotide sequences.

Caused problems! Finally! Updated getSeqRecords to have configure databases in bf79daf


Multiple fixes

Please see commit messages for details on what was fixed. No point in repeating that here.
In addition to fixes i added GenerateFormatted option which forces producing formatted c# bindings code. This was not possible if wrapper was set to be compiled by CppSharp. In case this is unnecessary or unacceptable please let me know and i will nuke the commit.

Looks good, can you add a test for https://github.com/mono/CppSharp/pull/1022/commits/3f227b1f5d8358e17c98ba0b885eb2576528b0cb?

@rokups you seem to have fixed 3 unrelated bugs in this pull, none of them with tests. Would you mind sending separate commits for each?

@rokups About the debug text issue, try to change the code here: https://github.com/mono/CppSharp/blob/426572bc8a5aee4ad178dc8c0228733c4222378a/src/Generator/Generators/CodeGenerator.cs#L103
We should only be printing the debug text up to the first new line, or else the generated code gets screwed.

Consistently declare classes/structs commit fixes issue in my case, however test i tried to add still fails. Still not sure why.
No idea what code i am supposed to add to a test to trigger delegate generation.
Also i slipped in some CI changes, added sudo requirement for travis so that it can build with my account as well. No idea how your account worked without that directive because sudo is required in order to use apt-get in the image. That should not have any impact on your end whatsoever.
Also added x64 windows build testing to appveyor. 32bit systems are absolute minority nowdays so there is no point in testing only x86. Hope that is OK.

Also, what happened with the problem of GenerateDebugOutput?

I removed commit regarding debug output, will add fix as @tritao suggested instead.

@rokups thank you for all of your work. Please just add 3 tests: for the debug output, for the delegates and for the class/struct fix. When you're done, I'll take the responsibility of merging your code.

Yeah i am trying.. Thing is i cant really test changes on my own machine because linux builds are still having issues. So i installed gcc 4.8 in attempt to verify and fix failing tests on supported compiler at least. This prompted llvm package name change i talked about earlier, because testing different compilers needs different llvm builds.. After implementing per-compiler-per-configuration llvm package naming it turned out that non-global compilers store includes in other directories not covered by current code, so i went ahead and fixed that part... Just finished doing that all and i can finally test multiple compilers on my machine. Will get to tests now, hopefully they will be ready some time tomorrow.

@rokups excellent.

Any idea why enabling debug output for tests would produce no debug output? For some reason decl.Comments is always null in tests.

@rokups does the declaration in question actually have comments?

Also, please check your work on Linux headers because it breaks our Linux CI.

I tried enabling debug output for CSharp test, it has comments. But debug output is supposed to add fragments from c++ code as well.

@rokups I see. Well, it's easiest to copy a piece of the header you got the real problem with and check if the test exhibits the same behaviour.

Thanks @rokups, changes look good, merged.
If you can send those changes you mentioned about supporting multiple toolchains on the LLVM packages that would be awesome, as well as testing more GCC versions on CI.


Double navBar on nested Scenes

Hello, and thank you for great work.
My version 4.0.0-beta.12:
My router is:
<Router>
            <Scene key="root">
                <Scene key="auth">
                    <Scene key="login" component={LoginForm} title="Please Login"/>
                </Scene>
                <Scene key="main">
                    <Scene key="employeeList" component={EmployeeList} title="Employees"/>
                </Scene>
            </Scene>
 </Router>

and in emulator i see this issue:

as you can see i have 2 headers - i suppose - one for "auth" and one for "login".
How can i disable one of them?
if i put hideNavBar to the parent or to the child - as result i dont see navBar at all.
And another question - if i want after login redirect user to the "employeeList", and i dont want that user will have BACK button at the navigation - how i can achieve this?
Thank you

Set hideNavBar on root.

Ohh, thanks ))
what about 2nd question?

Oh, sorry, now the back button is gone.
 Stephen Grider too? @aksonov

thanks @luco

Hey!
I'm also going through Stephen Grider's tutorials and I just had this problem. the hidNavBar thing didn't work for me. But I realized that sceneStyle={{ paddingTop: 65 }} on the Router caused it. without it there's no problem. I guess you should do the styling for the nested scenes only. Setting it in the Router also applies it to root and it doubles.


config.md: document what type should be when bind-mount

I re-read config.md and found we really didn't define what
type should be if we want to do bind-mount.
So, I decided to add it.
Signed-off-by: Ma Shimiao<EMAIL_ADDRESS>

I think these semantics are implied already by referencing mount(8) and "Linux filesystems". But maybe it would be a useful note for users.

Indeed, type is explicitly optional and doesn't include language about bind or rbind, so while I think this case is worth having more language around, I'm pushing it to post-1.0.

On Wed, Jul 05, 2017 at 08:01:49AM -0700, Tianon Gravi wrote:

Indeed, type is explicitly optional and doesn't include language
about bind or rbind, so while I think this case is worth having
more language around, I'm pushing it to post-1.0.

But there's currently no spec wording about the (r)bind use case at
all, despite an example which uses it 1.  I'd rather re-open #771
and actually define those options now that opencontainers/runc#1460
has landed (removing the reason #771 was closed, which I think was
“this doesn't match the current runC implementation” although 2
doesn't say).  #771 will need some re-rolling to bring it up to speed
with the current master, but I'm leaving the branch alone until the PR
is re-opened.

I'm a little bit late to the party... but I agree it would be useful for runtime developers to clarify the expected semantic here.
For instance, it seems like runc doesn't ignore the bind type, as it should here (?)
https://github.com/opencontainers/runc/blob/f753f300ae6a725becddbacf15955a0a03b895cb/libcontainer/specconv/spec_linux.go#L272-L276

On Thu, Apr 12, 2018 at 10:11:32PM +0000, Felix Abecassis wrote:

For instance, it seems like runc doesn't ignore the bind type, as it should here (?)
https://github.com/opencontainers/runc/blob/f753f300ae6a725becddbacf15955a0a03b895cb/libcontainer/specconv/spec_linux.go#L272-L276

I've filed opencontainers/runc#1753 for that, and @cyphar sounded
positive in early review 1.  However, the associated spec PR (#954)
was recently closed by @vbatts 2.  I'm not sure where that leaves us
on the “should” front.  But however the spec maintainers want bind
mounts to work, I think they should get some docs about them landed so
the rest of us can do the right thing ;).

bind is clearly not a valid type. In general, if an unknown type is present, I think it MUST be ignored (which is what fstab does, AFAIK).

On Thu, Apr 12, 2018 at 10:51:36PM +0000, Felix Abecassis wrote:

bind is clearly not a valid type.

I dunno about “clearly” ;).  The current spec has nothing about “bind”
outside of an informative example 1.  I agree that the current
normative spec wording 2 makes it sound like values should be
entries in /proc/filesystems, but @vbatts explicitly disagrees 3.
And there's certainly no MUST or other RFC 2119 wording in the ‘type’
specification to restrict either the configured values or the runtime
interpretation of those values.

In general, if an unknown type is present, I think it MUST be
ignored (which is what fstab does, AFAIK).

That's fine with me, and the wording in this PR is a step in that
direction (although it's currently only SHOULDing the runtime to
ignore the value).  I'm just saying that the current situation is
unclear, and that I wish the spec had more language that went into
detail on how bind configuration works.  Which is basically what
@tianon said back in 4.  Now that we're 274 days post 1.0.0, perhaps
some maintainers can circle back around to this PR?

Bind is an odd one. There are places on Linux that it's treated like type,
but yes it's not an absolute type. It seems like a clarity or usability to
keep it as a type for OCI.
On Thu, Apr 12, 2018, 19:59 W. Trevor King<EMAIL_ADDRESS>wrote:

On Thu, Apr 12, 2018 at 10:51:36PM +0000, Felix Abecassis wrote:

bind is clearly not a valid type.

I dunno about “clearly” ;). The current spec has nothing about “bind”
outside of an informative example 1. I agree that the current
normative spec wording 2 makes it sound like values should be
entries in /proc/filesystems, but @vbatts explicitly disagrees 3.
And there's certainly no MUST or other RFC 2119 wording in the ‘type’
specification to restrict either the configured values or the runtime
interpretation of those values.

In general, if an unknown type is present, I think it MUST be
ignored (which is what fstab does, AFAIK).

That's fine with me, and the wording in this PR is a step in that
direction (although it's currently only SHOULDing the runtime to
ignore the value). I'm just saying that the current situation is
unclear, and that I wish the spec had more language that went into
detail on how bind configuration works. Which is basically what
@tianon said back in 4. Now that we're 274 days post 1.0.0, perhaps
some maintainers can circle back around to this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opencontainers/runtime-spec/pull/878#issuecomment-380979384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEF6f7DwYRAh2mqpiaTOUUKUzQwugoGks5tn-pVgaJpZM4OKMKS
.

Bind is an odd one.

So do you agree with @tianon that it could use more spec wording?  If so, what sort of wording would you like to see?

@flx42

For instance, it seems like runc doesn't ignore the bind type, as it should here (?)
https://github.com/opencontainers/runc/blob/f753f300ae6a725becddbacf15955a0a03b895cb/libcontainer/specconv/spec_linux.go#L272-L276

This is a fairly long-standing bug in runc and is something that will require quite a lot of work to fix (in fact most of rootfs_linux.go needs a good clean up to be honest). However, it is definitely incorrect currently, so I wouldn't use that code as an example of what should be done.

This is a fairly long-standing bug in runc and is something that will require quite a lot of work to fix (in fact most of rootfs_linux.go needs a good clean up to be honest).

A general rootfs_linux.go may take some work, but I think opencontainers/runc#1753 already has all we need for this issue (including the integration tedsts you'd asked for earlier).  If you need anything else there, could you comment in that PR?

Ah, I forgot about that patch. Yes that works and will fix the issue (and we should probably merge it), but it's just taking advantage of the already broken code -- fixing the broken-ness will be much more annoying to do. :wink:


Implement Daily Challenge and normal challenge Countdown in Leaderboard

Description:
We need to implement a countdown for the daily challenge reset in the Daily Leaderboard. This will provide players with clear information about when the next daily challenge will be available.
Tasks:

Create Countdown Utility

Implement a function to calculate time until next day (00:00 UTC) and next month for normal challenge
Create a custom React hook for the countdown

Update Leaderboard Component

Import the countdown hook
Add the correct countdown display in the Daily Leaderboard section or the Normal Leaderboard section
Update layout to accommodate new information

Styling

Ensure countdown is visually appealing and fits with existing design
Implement any necessary animations or transitions

Testing

Test countdown accuracy
Verify correct display on different screen sizes
Test behavior around midnight (day change)
Be sure to be consistent in different timezones

Performance Optimization

Ensure countdown updates don't cause unnecessary re-renders
Optimize any calculations or state updates

Acceptance Criteria:

Countdown is accurately displayed in both and Daily and Normal Leaderboard
Countdown updates every second
UI is responsive and displays correctly on all device sizes
Countdown resets correctly at midnight (UTC)

U

@Cheelax I’m available to work on this

@Cheelax can I jump on this …

@Cheelax Can this be assigned to me?

Hi @Cheelax I will love to work on this issue. will love to be assigned

Hello @Cheelax  I want to work on this

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
As an experienced Full Stack Blockchain Developer, I'm excited to contribute my expertise to Edition 7 of the OnlyDust hackathons. With a strong background in Next.js, TypeScript, JavaScript, React, Node.js, Solidity, and Cairo, I've honed my technical skills across the blockchain development landscape.
My journey with OnlyDust began at Edition 2, and I've since made 28 contributions across 11 projects. This extensive experience on the platform has allowed me to develop a keen understanding of delivering high-quality solutions under tight deadlines.
My track record includes being a major contributor to building out the Pistols Web game by Underware and demonstrates my ability to adapt quickly and contribute effectively to diverse challenges. I'm confident in my capacity to tackle new problems and drive innovation in the blockchain space. As we embark on Edition 7, I'm eager to leverage my hackathon experience and technical skills to push the boundaries of what's possible in blockchain development.
With a passion for creating cutting-edge solutions, I'm excited to collaborate with the OnlyDust community and contribute to the advancement of the blockchain ecosystem.
How I plan on tackling this issue
To solve this issue, i will
Create Countdown Utility
Implement a function to calculate the time until the next day (00:00 UTC) and the next month for the normal challenge.
Create a custom React hook for the countdown that handles the time calculation and updating.
Update Leaderboard Component
Import the countdown hook created in the previous step.
Add the correct countdown display in the Daily Leaderboard section or the Normal Leaderboard section.
Update the layout to accommodate the new information.
Styling
Ensure the countdown is visually appealing and fits with the existing design.
Implement any necessary animations or transitions to make the countdown visually engaging.
Testing
Test the countdown accuracy to ensure it's correctly calculating and displaying the time until the next challenge.
Verify the correct display of the countdown on different screen sizes.
Test the behavior around midnight (day change) to ensure the countdown resets correctly.
Ensure the countdown is consistent across different timezones.
Performance Optimization
Ensure the countdown updates don't cause unnecessary re-renders in the Leaderboard component.
Optimize any calculations or state updates related to the countdown to maintain smooth performance.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi, please I'd love to be given the opportunity to contribute to this rep, I am a blockchain developer html, css, react, JavaScript, typescript, solidity and Cairo.
How I plan on tackling this issue
To solve this issue, I'd:

I'll develop a function to calculate the time until the next daily (00:00 UTC) and monthly reset, also build a custom React hook to manage and update the countdown.
2.I'll import the countdown hook and display the countdown in the appropriate sections, I'll also adjust the layout to fit the new information.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hi @Cheelax
I’m availabe to work on the "Implement Countdown for Daily Challenge Reset in Leaderboard" issue. My name is Benjamin, and I have extensive experience building gamified TypeScript projects, specializing in Next.js, TypeScript, and frontend development. I’ve contributed to various projects, including those on OnlyDust, where I tackled complex UI and component challenges.
Understanding the Issue:
Currently, the Daily Leaderboard lacks a countdown for the daily challenge reset. Implementing this feature will provide players with clear information about when the next daily challenge will be available, enhancing their experience.
How I plan on tackling this issue
Create Countdown Utility

Functionality: I will implement a function to calculate the time until the next daily reset (00:00 UTC) and the next monthly challenge reset.
Custom Hook: I will create a custom React hook to manage the countdown logic.

Update Leaderboard Component

Integration: I will import the countdown hook into the Daily Leaderboard section and ensure it displays the correct countdown.
Layout: I will update the layout to accommodate the new countdown information.

Styling

Design: I will ensure the countdown is visually appealing and fits with the existing design of the leaderboard.
Animations: I will implement any necessary animations or transitions to enhance the user experience.

Testing

Accuracy: I will test the countdown accuracy to ensure it reflects the correct time remaining.
Responsiveness: I will verify that the countdown displays correctly on different screen sizes.
Edge Cases: I will test the behavior around midnight to ensure it correctly resets and remains consistent across timezones.

Performance Optimization

Efficiency: I will ensure that the countdown updates do not cause unnecessary re-renders.
Optimization: I will optimize calculations and state updates to maintain smooth performance.

Hi everyone.
There is a new process for the ODHack, now you must apply to the tasks directly from Onlydust: https://app.onlydust.com/hackathons/odhack-70
We will only look at application made via this process.

i want to work on this issue


Issue with IE 11

Hi,
Bootstrap calendar does not work in IE 11.
Does this support IE 11?
What do i need to do to  make it work in IE 11.
Will appreciate your quick response.
Thanks,

Doesn't work on IE 10 either.  Takes a long time for the page to load, no calendar is shown.


Define GHC version in a single place for the nix build

The nix build is currently setup to use GHC 8.6.1, which has some major bugs in it. We could move it to 8.6.3, but currently that requires changes in a few places. We should have this defined centrally.

Didn't we fix this already?

Nix building is now done by nix-tools, which will generate a file with the GHC version from our stack snapshot. So an update of GHC should be as simple as:

Updating snapshot.yaml in cardano-prelude
Updating stack.yaml resolvers in cardano-ledger
Running scripts/nix-tools-generate.sh

This may require updating the version of iohk-nix if the compiler version you're switching to isn't supported in the current version of iohk-nix.


Summarizer

What is the purpose of the change
Provide a new algorithm Summarizer(summary statistics for Table). User can easily get the total count and the basic column-wise metrics: max, min, mean, variance, standardDeviation, normL1, normL2, the number of missing values and the number of valid values.
Brief change log

Implementation of algorithm Summarizer.
Base definition for the algorithm params.
Definition and operations for sparse/dense matrix and vector.

Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(no)
This change is already covered by existing tests, such as (please describe tests).
(no)
This change added tests and can be verified as follows:

Added tests for the algorithm Summarizer
Added tests for DenseVector and SparseVector
Added tests for DenseMatrix
Added tests for summary computation process
Added tests for SummarizerBatchOp

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

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

JavaDoc

Which JIRA does this PR belong to?

Which JIRA does this PR belong to?

Thanks @zentol . Sorry for late reply, I just came back from my vacation.
I have updated the PR title to show the related JIRA.


File data source retries should back off exponentially

When a file isn't found, Graph Node should retry, but the retry frequency should decrease exponentially.
Consideration: on subgraph restart, we don't want to overload the IPFS node with retries - retries should be load balanced somehow

Notes from discussions had on backoff, first some situations which would be addressed:

A file is transiently bad.
A file is bad forever.
Whole endpoint down.

I don't think we should prioritize special treatment of 2, because it's hard to determine, or 3, because we currently rely on a single endpoint anyways. Hopefully a solution for 1 will be good enough for 2 and 3.
Some possible solutions:
a. Rate limit the whole endpoint. Currently we only have a limit for the number of concurrent requests, we should also have a rate limit.
b. Backoff when a file errors. We could apply a base timeout with fuzzing when a file is not found or errors. This helps if there is a small number of bad files, but if the time it takes to poll all the bad files is larger than the timeout then it's not effective.
c. Exponential backoff. This is more effective at scaling to a large number of bad files. The exponent then needs to be tracked per file.


Chore(docs): add scripts to generate CLI argument docs

What this PR does / why we need it:
Move scripts to generate CLI argument docs here from https://github.com/Kong/gateway-operator-enterprise.
Which issue this PR fixes
Part of #461.
Special notes for your reviewer:
We need to update the release template doc about generating CLI argument docs.
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[x] the CHANGELOG.md release notes have been updated to reflect significant changes

Didn't we agree to have this only in the EE repo as OSS args are only a subset of all available ones? I think we should aim for a solution that will enable us to distinguish between OSS vs. EE but have a single page with those in docs, which could probably be generated on the EE side, WDYT?

Close as not required.


Where is the executable?

Where is the executable? Can you provide a direct download link?

inside the folder

I think you have to download Visual Studio and build / run the program in there.

It is found in the executable is in NonEuclidean/NonEuclidean.exe or https://github.com/HackerPoet/NonEuclidean/blob/master/NonEuclidean/NonEuclidean.exe on GitHub

It is found in the executable is in NonEuclidean/NonEuclidean.exe or https://github.com/HackerPoet/NonEuclidean/blob/master/NonEuclidean/NonEuclidean.exe on GitHub

Thanks.

@EthanDevelops Close the issue if it has been solved.

@EthanDevelops Close the issue if it has been solved.


Semantics widget should allow specifying custom actions

Some developers want to specify custom a11y actions for their app that are different from the default a11y actions of a widget. For this, it would be cool if the Semantics widget would allow specifying a set of SemanticActions and handlers.
Example: One dev wants to expose a drop down menu as an "Adjustable" where swiping up and down switches between the options.
Related: https://github.com/flutter/flutter/issues/12433

Where possible, if we expose this, we should then make our widgets use this whenever they have custom actions. That is, we should just have the one way for widgets to do this, not the way our widgets do it and the way we have everyone else do it.


Plans to bring Object Detection to web / web assembly?

MediaPipe Solution (you are using)
Object Detection
Programming language
typescript / web assembly
Are you willing to contribute it
Yes
Describe the feature and the current behaviour/state
I'd like to use Object Detection on web / web assembly. I see support for Objectron so it seems Object Detection should be doable.

Will this change the current API? How?
No

Who will benefit with this feature?
Developers who want to use Object Detection in their web applications
Please specify the use cases for this feature
The ability to detect trained objects from within a web / web assembly application

Any Other info
No response

Hello @shawnmitchell
Unfortunately there are no plans to bring Web assembly for Object detection in Javascript. We might include it in our roadmap later, if the demand escalates, however it is not as of now.

Hello @shawnmitchell Unfortunately there are no plans to bring Web assembly for Object detection in Javascript. We might include it in our roadmap later, if the demand escalates, however it is not as of now.

Thanks @ayushgdev. I know @prantoran was doing some work on an emscripten wasm build target. Is there a chance you might open source the scripts your team used to produce the Objectron wasm target from the C++ code base?

@shawnmitchell We are working on open-sourcing the JS solutions code as well. It has been a demand by the users for quite sometime now, and we do realise there has ben delay in addressing it. However, please be assured that it is in our active work segment and they will be released once stable.


Add agencies abroad from Belgium

Looks good on my end! Lots of contact points as well!

It helps that I'm a completionist ;-) @Abbe98


Sign up API to support HTTP PUT method

It appears, the sign up API supports post request by default, but there may be scenarios to use PUT when possible to encourage idempotency. Any advice on how to go about this ?

since we already have eg profileMethod i guess we also can add a loginMethod and a signupMethod. you can make a PR if you want

Just a taught, I think based on the way the API's are designed we may have Parameters v3 for Signup, one that allows PUT method to be used.

not quite sure what you want to tell me. i've already said that you can PR that option

Closing this due to inactivity. If there's an answer you didn't get, feel free to open up a new issue.


Use rospack 2.4.3 in kinetic due to breakage with boost 1.65  (ros/rospack#80)

2.4.3, as far as I am concerned, fixes references containing tr1.

@concavegit rospack 2.4.3 has not been released in kinetic. The last version on the release repository for kinetic is 2.3.3: https://github.com/ros-gbp/rospack-release/blob/f6f0be5cc41fa97f7741d131ae634ea7cce60756/package.xml#L3
As mentioned in a previous PR, consider opening an issue on the source repository requesting a release of 2.4.3 in kinetic, and please rely on the maintainer of the package to handle release and versions in the rosdistro index.


Huawei BoostLiModbusTool V1.7.0T.exe

can you share the Huawei BoostLiModbusTool V1.7.0T.exe ?

@arickbro I haven't gotten that ESM yet, but researched the monitoring for when I do. Check out this link: https://kridsana.cmtc.ac.th/load/other/
I found it by accident. Let me know if it works for you.