JSON Parser not able to parse numbers into double or float

What steps will reproduce the problem?

HTTP service returns body {"number": 0.0}
trying to match this with then().body("number", Matchers.closeTo(0.0, 0.001))

What is the expected output? What do you see instead?
Expect the match to succeed, fails instead with error message
java.lang.AssertionError: JSON path number doesn't match.
Expected: a numeric value within <0.001> of <0.0>
  Actual: 0.0

What version of the product are you using? On what operating system?
OS: Mac OS X 10.10.4, Product Version: 2.4.1 from maven repository
I have a MWE but I do not know how to attach files here, also reported at https://code.google.com/p/rest-assured/issues/detail?id=416 with attachment.

0.0 is a float in REST Assured and "closeTo" assumes a double value so that's probably why it doesn't work. You would have to use a different Hamcrest matcher (or write your own) that takes a float instead of a double.

Bumped into the same issue. Had to write my own matcher. Extend TypeSafeMatcher<Float>


Update Rest status for DecommissioningFailedException

Signed-off-by: Rishab Nahata<EMAIL_ADDRESS>
Description
This PR aims to update the RestStatus for DecommissioningFailedException to BadRequest
Issues Resolved
#5075
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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 #5283 (adb4e55) into main (059b614) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #5283      +/-   ##
============================================
+ Coverage     71.02%   71.04%   +0.01%
+ Complexity    58237    58175      -62
============================================
  Files          4705     4705
  Lines        277480   277481       +1
  Branches      40181    40181
============================================
+ Hits         197082   197125      +43
+ Misses        64288    64188     -100
- Partials      16110    16168      +58

Impacted Files
Coverage Δ

...r/decommission/DecommissioningFailedException.java
38.46% <100.00%> (+5.12%)
:arrow_up:

...ava/org/opensearch/action/NoSuchNodeException.java
0.00% <0.00%> (-50.00%)
:arrow_down:

...a/org/opensearch/tasks/TaskCancelledException.java
50.00% <0.00%> (-50.00%)
:arrow_down:

.../admin/cluster/reroute/ClusterRerouteResponse.java
60.00% <0.00%> (-40.00%)
:arrow_down:

...luster/routing/allocation/RoutingExplanations.java
62.06% <0.00%> (-37.94%)
:arrow_down:

...ain/java/org/opensearch/search/sort/MinAndMax.java
63.15% <0.00%> (-36.85%)
:arrow_down:

...search/aggregations/pipeline/HoltWintersModel.java
21.47% <0.00%> (-34.90%)
:arrow_down:

...nsearch/index/shard/IndexShardClosedException.java
66.66% <0.00%> (-33.34%)
:arrow_down:

...cluster/routing/allocation/RerouteExplanation.java
70.00% <0.00%> (-30.00%)
:arrow_down:

...search/client/indices/GetFieldMappingsRequest.java
47.61% <0.00%> (-28.58%)
:arrow_down:

... and 483 more

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

Did we ship the decommission feature (is this an API change)? Otherwise we can put a skip-changelog on it.

Did we ship the decommission feature (is this an API change)? Otherwise we can put a skip-changelog on it.

Yes, decommission has 3 new APIs and is part of 2.4. We are still incrementally enhancing it. In this, we need to add a change log to this PR?

Did we ship the decommission feature (is this an API change)? Otherwise we can put a skip-changelog on it.

Yes, decommission has 3 new APIs and is part of 2.4. We are still incrementally enhancing it. In this, we need to add a change log to this PR?

Well, 2.4 has shipped, and that feature is not experimental, or is it? Now you're changing the API in a backwards incompatible way, so I believe this cannot go into 2.5. Either way it does need a CHANGELOG entry in the right place.

Well, 2.4 has shipped, and that feature is not experimental, or is it? Now you're changing the API in a backwards incompatible way, so I think this cannot go into 2.5 but I am not sure since before it would fail with a 500 which is generic. Either way it does need a CHANGELOG entry in the right version as part of this PR.

We have labelled it experimental in rest-api-spec and the documentation issue which is still in progress would also call that out, if that's what you mean by making the feature experimental? Please correct me if I am wrong. I didn't understand why these incremental changes cannot be part of 2.5? I'll add a change log for this PR

@dblock @Bukhtawar can we merge this?

@imRishN Needs manual backport pls :(

Created backport PR


session/logind: support CanGraphical property

Closes #1424.
A number of sway users have been reporting that sway fails to start on systemd 243 in swaywm/sway#4672 and elsewhere. I'm guessing this could be fixed by waiting for the logind CanGraphical property on the seat before trying TakeDevice.
Unfortunately, it seems that systemd-logind has been broken for some time and doesn't actually emit PropertiesChanged when it should for CanGraphical, see systemd/systemd#13811. So users with broken sway will need both patches for the fix.
The issue was tagged easy so I thought I'd give it a shot, but this is my first attempt with wlroots code, so there may be some bad assumptions or silly mistakes.
I'm not sure what should happen, if anything, when CanGraphical changes true->false. I'm not sure under what circumstances that would happen. I didn't add any behavior for that in this patch.
Also, I put the wait for CanGraphical in session_create but it only really needs to happen before TakeDevice I think. I didn't have a reference to the event loop in take_device though. I'm actually not even sure if it's appropriate to wait with wl_event_loop_dispatch anyway, everything I know about wayland I've basically just learned from ddevault's (excellent but unfinished) book. Is that right? Help?
Anyway, it compiles and seems to work for me. PTAL.

LGTM overall, I just wonder whether we should really block like this. The alternative would be to introduce a signal, but it's likely not worth the effort.

Yeah, I don't think it's really worth it right now either. Blocking is the only sane thing to do, unless we rejig all of the initialisation stuff.

Thanks!


It is not possible to apply the styles of the @tailwindcss/typography plugin together with Skeleton.

Current Behavior
I have created two minimal examples. One only Tailwind and another with Tailwind-Skeleton
For this example, mdsvex is used to import a Markdown document as if it were a Svelte component.
Then various prose utility classes defined in @tailwindcss/typography are applied.
The example with Tailwind works correctly.
But in the example with Tailwind-Skeleton the classes applied to the paragraphs, font size, ... are not applied.
Steps To Reproduce
Shared Github repo here: https://github.com/bySabi/sveltekit--tailwind-skeleton--example-repos
Anything else?
No response

@bySabi There's a number of items to consider here, so I'll try to run through each one.
In your repro project, when I try disabling and re-enabling the various styles in your root page style block I'm definitely seeing the styles change. So the prose styles are both active and working, even if the styles are not to your preference right away.
However, looking at your markdown source, you really only have H2 headings and paragraph text to compare against, but in your style's your styling block quotes, and anchors, and all kinds of stuff. This is a bit hard to read, so first off I suggest using multiple @apply statements like we do in our stylesheets. That way you can break your styles into small groups and keep them organized and test one-by-one.
https://github.com/skeletonlabs/skeleton/blob/dev/src/lib/styles/elements/buttons.css#L14
But more specific to you issue, I think you're just simply running into a clash of style inheritance. You're expecting the Tailwind Typography prose styles to automatically precedence, but that is not how this works in practice. We provide some tips on this issue at the bottom of this page, under "Customizing Styles"
https://www.skeleton.dev/guides/styling

TIP: in some cases you may need to use ! important to give precedence, or style both the light/dark mode variations.

Most of the Skeleton's built-in typography styles are set for both light and dark modes. However, reviewing most of your styles, you're only styling the base style (there's no dark: variation).
And per your repro you don't seem to have your app configured for light/dark mode at all. We strongly recommend you do configure your project for this, even if you only opt for light or dark modes for your end product. This can be fixed by doing two things:

See our config for adding the darkMode: 'class' on this page.
If you wish to default to dark mode, add class="dark" to the HTML element in app.html. See an example.

All this said, I think really you're biggest issue is that perhaps the Tailwind Prose styles might not be the right tool for the job here. The goal with the TW plugin add styling to content from an external source that's may not be styled by default. However, with Skeleton, if you're using all.css, your content WILL be affected and styled by this stylesheet, because it contains a set of standard typographical styles built in. So you have two choices here:

You can consider importing only the stylesheets you need and want from Skeleton manually (I can walk you through this, but know it's not simple and requires a lot more manual maintenance)
Drop the TW prose plugin and lean into the Skeleton typography as the defaults, but customize, override, and extend as you need to.

Option #2 would be my personal recommendation. Here's a quick example of what that might look like. If I remove all prose styles from the root page and then drop the following into the global stylesheet (app.postcss)
article {
  @apply max-w-4xl;
}

blockquote:not(.unstyled) {
  @apply border-l-gray-500 bg-gray-200/10 px-4 py-2 italic;
}

Even with just a couple small adjustments to the blockquote you can already see the style overrides applied:

If you're wondering why I'm including the :not() bit, this is to match the exact class I'm overriding from the source here:
https://github.com/skeletonlabs/skeleton/blob/dev/src/lib/styles/typography.css#L54
I literally copied that over, deleted the current styles, and then began writing my overrides. I was then able to see those reflected immediately. Let me know if this approach works better for you.

Wow!!
A wonderful and extensive answer Chris. Thank you!
I am a newbie with Tailwind and therefore with Skeleton so I am going to take my time to reread your recommendations.
I agree with your recommendation (Option #2). About creating a custom theme. My goal is that the articles written in Markdown look just like the themes included with Skeleton: Modern, Seaform, Rocket ... and in dark mode too
It would be great if a mdsvex based Svelte component could be included in Skeleton that applies the current theme out of the box.
I close the issue and start studying
Again. Thanks Chris!!

Glad to help. We're available here or on Discord if you need any further help. But general idea is I'd work down from the top:

Create your theme to cover the base styles throughout the project
Feel free to customize the theme code directly if the generator isn't flexible enough. See our preset source code for examples of this
With the foundation established, adjust global styles as needed per my example
Then handle more localized changes locally as needed within either specific selectors or locally within a route file

Also note we've been gathering ideas for additional "deep dive" tutorial posts on our blog. This might be a great subject to cover in a future post. So keep an eye for that!


(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')) on apple M1 chip

dlopen(/Users/vikram/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/grpc-1.38.0-universal-darwin/src/ruby/lib/grpc/2.6/grpc_c.bundle, 0x0009): tried: '/Users/vikram/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/grpc-1.38.0-universal-darwin/src/ruby/lib/grpc/2.6/grpc_c.bundle' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/grpc_c.bundle' (no such file), '/usr/lib/grpc_c.bundle' (no such file) - /Users/vikram/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/grpc-1.38.0-universal-darwin/src/ruby/lib/grpc/2.6/grpc_c.bundle (LoadError)
Ruby version: 2.6.5

Thanks @JamesHageman
But it's not working for me.

Try this:

Uninstall existing grpc GEM
bundle config set force_ruby_platform true
bundle install should build locally now (assuming with have clang toolchain and everything)

@vikrampunchh afaik you need 2.6.9, but it does not work at least up to 2.6.6 (I did not test 2.6.7 & 2.6.8)

Thank you @JamesHageman  Your solution works with ruby 2.6.8 and macOS Monterey version 12.2.1. After running bundle config set force_ruby_platform true, it was necessary to run bundle install again for me.

While this workaround does seem to work, are their plans to fix this in the near future?  Uninstalling, changing a config, and reinstalling isn't ideal especially for larger teams.

The steps listed do not work for me. Bundler is on latest version as well.

This is fixed in v1.46.2 🎉

Finally running below resolves

arch -arm64e gem install nokogiri -v '1.13.6' --platform=ruby -- --use-system-libraries
bundle

gem install nokogiri

its not working for me.

My ruby version 2.7.4
But it's not working for me.
Even if bundle install is successful, it keep getting below error:
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))

This should not happen with the latest release any more, though the installation will take some time as the extension needs to be compiled.
We cannot distribute pre-built extensions for mac arm yet because signature is required.


sublimetext installation file

seems sublimetext is unable to download, the link is broken.

Looks like the the Download URL has changed.
I updated it to:
downloadURL="$(curl -fs https://www.sublimetext.com/download_thanks?target=mac#direct-downloads | grep "mac.zip" | grep -o -i -E "https.*"| cut -d '"' -f1 | head -1)"

Looks like the the Download URL has changed.
I updated it to:
downloadURL="$(curl -fs "https://www.sublimetext.com/download_thanks?target=mac#direct-downloads" | grep "mac.zip" | grep -o -i -E "https.*"| cut -d '"' -f1 | head -1)"

Thanks bbenkle


Generalize disabled nav links CSS rules

Description
Most of the time, our .nav-links are really links and don't need :disabled rules. However, we provide JavaScript examples (e.g. with .nav-tabs) where we use <button>s that can need :disabled rules.
This PR suggest a kind of defensive approach where the disabled state is defined globally for all .nav-links using .disabled and :disabled selectors.
It allows us to remove the other rules defining the colors.
⚠ Rules defining transparent "color" to background and border were also removed because I couldn't notice use cases where it was actually changing anything. I haven't found anything in the history, but it can be put back if you are aware about any use cases where it's mandatory.
Please double-check different complex use cases to avoid any regressions since the documentation does not reflect all possibilities.
Type of changes

[x] Enhancement (non-breaking change which adds functionality)

Checklist

[x] I have read the contributing guidelines
[x] My code follows the code style of the project (using npm run lint)
(N/A) My change introduces changes to the documentation
(N/A) I have updated the documentation accordingly
(N/A) I have added tests to cover my changes
[x] All new and existing tests passed

Live previews

https://deploy-preview-38774--twbs-bootstrap.netlify.app/docs/5.3/components/navs-tabs/

Related issues
Linked to #38765 but doesn't take into account https://github.com/twbs/bootstrap/issues/38765#issuecomment-1592395961

I looked at this purely for the #38765 scenario, and this fix here works great. not had a chance to go through all possible complex variations


fix: no need of docker socket in falco driver loader docs

Signed-off-by: Lorenzo Susini<EMAIL_ADDRESS>
What type of PR is this?

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

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

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

/area blog

/area documentation

/area videos

What this PR does / why we need it:
There's no need for mounting the docker socket in falco driver loader
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: loresuso
Once this PR has been reviewed and has the lgtm label, please assign issif for approval by writing /assign @issif in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

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

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

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

LGTM label has been added.  Git tree hash: 5024c175365b460ef9f6bdc45f96a7eac512e2fe


[Request] The Legend of Heroes: Trails from Zero (Steam)

No luck with Textractor and ocr is very tedious for a game like this. So, I'd like to request a script. Thanks in advance.

+1 request

+1


Allow inserting HTML raw code inside the span

I see a lot of cases where you need to format your text inside the tooltip and html formatting is the closest to the react way I think. This way you can specify the tooltip text as raw html: "This is a tooltip"

This may be a method to support html format content, but in this pull request, user will get [object] when they just provide content like data-tip='tooltip'.
We may need a better way to implement this(make this as an option perhaps)
Anyway, you've provide a good way to implement this, thanks

yes, I agree, an option would be great. If I have time I might try a more generic approach and do another pull request.


Gives the previous cursor in the scroll block

In addition to the next cursor, blocks in Mongo::Scrollable#scroll and Mongoid::Criteria::Scrollable gives an additional cursor with allow to fetch records before the first one returned.
The previous cursor is created based on the first record with a previous flag set to true. For example, if we have Feed::Item with a name from 0 to 3, we have this behavior :
cursor = nil
first_previous_cursor = nil

Feed::Item.asc(:name).limit(2).scroll do |record, next_cursor|
  puts record.name # => 0, 1
  cursor = next_cursor
end

Feed::Item.asc(:name).limit(2).scroll(cursor) do |record, _, previous_record|
  puts record.name # => 2, 3
  first_previous_cursor = previous_cursor
end

Feed::Item.asc(:name).limit(2).scroll(first_previous_cursor) do |record|
  puts record.name # => 0, 1
  second_previous_cursor = previous_cursor
end

Impressive that you got it working :)
Let's start by adding to README? I'll do a thorough review when I get a moment.

I can explain what I need more in details.
ATM, In an API payload, we return the hash of a cursor as :
{
    "records": [
       # ...
    ],
    "paging": {
        "pageToken": "eyJ2YWx1ZSI6MTQwNTA4MTQ4Ni4yNDUsImZpZWxkX3R5cGUiOiJUaW1lIiwiZmllbGRfbmFtZSI6ImNyZWF0ZWRfYXQiLCJkaXJlY3Rpb24iOjEsImluY2x1ZGVfY3VycmVudCI6dHJ1ZSwidGllYnJlYWtfaWQiOiI1M2JmZDc4ZTdhYTU4ZDlkOWUwMDAwYjYifQ==",
        "perPage": 2,
        "nextPageToken": "eyJ2YWx1ZSI6MTQwNTA4Mzc2Ni44MzQsImZpZWxkX3R5cGUiOiJUaW1lIiwiZmllbGRfbmFtZSI6ImNyZWF0ZWRfYXQiLCJkaXJlY3Rpb24iOjEsImluY2x1ZGVfY3VycmVudCI6ZmFsc2UsInRpZWJyZWFrX2lkIjoiNTNiZmUwNzYwZjRjYTE5MWZiMDAwMDQ4In0="
    }
}

We can take the hash in nextPageToken and add it in the request parameter as https://test.com?pageToken=eyJ2YWx1ZSI6MTQwNTA4Mzc2Ni44MzQsImZpZWxkX3R5cGUiOiJUaW1lIiwiZmllbGRfbmFtZSI6ImNyZWF0ZWRfYXQiLCJkaXJlY3Rpb24iOjEsImluY2x1ZGVfY3VycmVudCI6ZmFsc2UsInRpZWJyZWFrX2lkIjoiNTNiZmUwNzYwZjRjYTE5MWZiMDAwMDQ4In0=
Then we take this param as :
cursor = ::Mongoid::Scroll::Base64EncodedCursor.new(params["page_token"])
criteria.limit(limit).scroll(cursor) do |record, next_cursor|
   # ....
end

My need is to be able to do the same, but with the records before the records listed.
Given that, as we don't loop over each record, your proposal does not work.

@GCorbel I'm a little slow on this one, so please bear with me.
I think I understand what you're trying to do. First, question: can one call your API and land randomly somewhere in the records or does it always require a cursor to land in the middle of data, except for page 1 where the cursor is nil?
If you don't want to start a cursor in a random position, I think you don't need all this previous logic. Embed the previous cursor in every cursor in this library.

Your /api yields currently page2-cursor, instead yield a pair (page2-cursor, nil).
Your /api?cursor=(page2-cursor, nil) currently yields page3-cursor, instead yield (page3-cursor,page2-cursor).
etc.

What I am proposing above is to change cursor to (optionally) store its previous cursor, not to burden your API to return and remember it.
Now, if you do want to produce a cursor from a random position in data (one that wasn't reached with the above iteration), so then your solution of reversing the order, making a database query, fetching the new position, re-generating a cursor in the scroll API works. But that's obviously very inefficient, so let's make sure we need this.

.... actually now that I think about it more, my suggestion might not work - we'd need to store the entire history of cursors for every cursor, and that's going to be ... a lot 🤦♂

So, a possibly simpler idea - cursor.previous would do the aggregation and find the previous cursor? This way we don't need to yield anything or add another option?

ok so, to be consistent, we should also have cursor.next ?

cursor.previous would do the aggregation and return the previous cursor?

It means we will have an extra query each time, right ?

I tried very rapidly to implement a method Mongoid::Scroll::Cursor#previous that build a cursor base on the first record returned with the aggregation and wasn't able as we need Mongoid::Criteria#options and Mongoid::Criteria#view that are not available in instances of Mongoid::Scroll::Cursor. We need to alter the implementation to make it works.
Anyway, as it require an extra call each time to use Mongoid::Criteria::Scrollable#scroll, I'm not sure if it's a good idea.
Let me know what you think.

How about we introduce a type and give it a number (0 for next, 1 for previous)?

I will try with type that can be :next or :previous. It may be :first, :current, etc.

Who knows what kind of other cursors we'll come up with :)

I may need to have a "firstPageToken" so I may add a "first_cursor". That's for another PR.

Typos are fixed. Thanks.

Merged, 👏
Now that you wrote half of this library, would you like to join in as a (co)maintainer? Maybe make the next release?
If yes, drop me a note to dblock[at]dblock[dot]org with your rugygems username.

Thanks for the merge. I enjoy working with you.
I'm not very interested in being a maintainer, unless you don't want to be anymore.

I'm not very interested in being a maintainer, unless you don't want to be anymore.

Too bad :( I don't mind, just trying to reduce bus factor. Appreciate any help you can give!


求助：ERROR - root - Error communicating with OpenAI

在我运行main.py时，遇到如下报错：

我是用的梯子开了全局模式，并且测试了我的api是可以正常使用的。请问我应该怎样解决这个问题呢？

If you are using clash, you can try to add theses lines at the beginning of main.py .
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

If you are using clash, you can try to add theses lines at the beginning of main.py .
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

Acatully,I tried prefixing the code with this passage, but the problem was not solved.

OK, I understand, but just a double check, please make sure these lines are added before the agentverse package is imported. It should be organized strictly in the following order.
`
import os
os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"
from agentverse.agentverse import AgentVerse
`
If it still does not work, then you might check if the proxy is correctly set by running curl www.google.com in the command line first.

OK, I understand, but just a double check, please make sure these lines are added before the agentverse package is imported. It should be organized strictly in the following order.
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890/"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890/"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

from agentverse.agentverse import AgentVerse

If it still does not work, then you might check if the proxy is correctly set by running curl www.google.com in the command line first.

If you are using clash, you can try to add theses lines at the beginning of main.py .
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

Acatully,I tried prefixing the code with main.py, but the problem was not solved.

OK, I understand, but just a double check, please make sure these lines are added before the agentverse package is imported. It should be organized strictly in the following order.
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890/"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890/"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

from agentverse.agentverse import AgentVerse

If it still does not work, then you might check if the proxy is correctly set by running curl www.google.com in the command line first.

If you are using clash, you can try to add theses lines at the beginning of main.py .
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

Acatully,I tried prefixing the code with main.py, but the problem was not solved.

OK, I understand, but just a double check, please make sure these lines are added before the agentverse package is imported. It should be organized strictly in the following order.
import os

os.environ["http_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["https_proxy"] = "http://<IP_ADDRESS>:7890"
os.environ["all_proxy"] = "socks5://<IP_ADDRESS>:7890"

from agentverse.agentverse import AgentVerse

If it still does not work, then you might check if the proxy is correctly set by running curl www.google.com in the command line first.
Remember that you need to run
export https_proxy=http://<IP_ADDRESS>:7890 http_proxy=http://<IP_ADDRESS>:7890 all_proxy=socks5://<IP_ADDRESS>:7890

before curl in the command line.

I have the same problem with macos setting up http_proxy as mentioned above and still have the same error, how do I fix this error?

I have the same problem with macos setting up http_proxy as described above and still have the same error, how do I fix this error? @chanchimin

The issue seems to be related to a network connection problem rather than an AgentVerse problem. Before proceeding, it's advisable to test your connection to www.google.com to ensure its functionality. Additionally, you may want to verify if your VPN port matches your http_proxy settings.


Proper Worfklow YAML linting

Currently yaml lint does a bare-bones validation of ensuring the yaml can be unmarshalled properly into the workflow datastructure. We need to do better:

Warn about unrecognized fields
Verify variable scope
Detect duplicate names

We cannot easily detect unknown fields because the package we used to use to do this, mapstructure, does handle some of k8s datatypes which have custom unmarshallers. However, variable scope, and name duplication have been added.


Fix OccurrenceOptions for Terraform

PR summary

PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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


update to maltego chlorine

The fine folks at Paterva decided to :trollface: me a little bit and release a new point version of Maltego a week after submitting a PR for v3.5. I made a couple tweaks based on their usual naming scheme, but it tested well for me.
Thanks for giving it a look! :sparkles:

Should be renamed to maltego-chlorine.rb, not maltego.

@vitorgalvao That's going to lead to a cask name change every single point release. That doesn't seem terribly useful to me and could lead to confusion.
Is there some reason I'm missing?

Ah, that would indeed be annoying. Seems like an acceptable candidate for :target as well (app "Maltego Chlorine v#{version.sub(%r{\.\d+$},'')}.app", :target => 'Maltego.app'), perhaps, but definitely an acceptable exception to the token rules. Notifying @rolandwalker @ndr-qef @phinze.

“Chlorine”, “Carbon”, etc. appear to be codenames in their versioning scheme. I agree with @sroberts' recommendation; in fact, I would also prune name.

Agreed, we don't want the token to cycle with every release.  That looks like my error in #9814 (I merely verified that the string "Carbon" was present across platforms).
As for changing the :target value, as usual, I oppose actually using the feature which I implemented.

I don't think renaming the app with :target will make a big difference. They do have an alternative product called Maltego Casefile and some people do have to run both.
:shipit:?

Seems like we have consensus. @sroberts Could you just change name, then, please?

@vitorgalvao Name changed!

Everything looks fine. Could you please squash your commits?

Thanks, merged as a16c281.

Ahh awesome! I was still trying to figure out how to squash commits. Not used to doing that.


@Async support for Spring Boot on AWS Lambda

I wanted to add asynchronous processing to my spring boot app on AWS Lambda.
The obvious way to do it (spring standard @async as described here https://spring.io/guides/gs/async-method/) did not work. It looks like the Lambda function is stopped as soon as a response is returned and does not even go into the @Async method. Without the Async annotation it works as expected.
Is there a way to make this work?

@sapessi Is @Async supported in the latest version?


index/suffixarray: optimize QSufSort by removing allocated scratch space

Go's implementation of QSufSort allocates scratch space for an intermediate update step.  We can get rid of this scratch space.
In /master/src/index/suffixarray/qsufsort.go, after x.sa[] == sa[pi:pk] has been sorted, with x.inv[x.sa[i] + x.h] as key, updateGroups() updates x.sa[] and x.inv[].  updateGroup() needs to scan x.inv[x.sa[i] + x.h] for "groups", but also writes to x.inv[].  To avoid pollution, current code uses 2 loops, using x.buf[] to store intermediate group results.  x.buf[] is a scratch space that needs allocation.
I propose to optimize updateGroups() by doing the update in 1 pass without x.buf[].  Let
old_group := x.inv[sa[0]] == offset + len(x.sa) - 1
The key idea is to realize that x.inv[x.sa[:]] will always be assigned from old_group to some value in [offset, old_group].  Moreover, nothing in x.inv[] outside x:sa[:] uses these values.  Therefore we can write to x.inv[] as we read x.inv[x:sa[i] + x.h], providing that every time we read x.inv[x:sa[i] + x.h] we undo the change by interpreting [offset, old_group] as old_group
A prototype was implemented in C++ for Chrome's Courgette:
https://codereview.chromium.org/1914303002/diff/1/courgette/third_party/qsufsort.h
Eventually a different solution was used -- but the first solution is useful for optimizing Go's QSufSort implementation.
Edit 2016/05/18: "The key idea is... " x.inv[x.sa[:] + x.h] => x.inv[x.sa[:]]

/cc @griesemer

/cc @dsnet


bundle scss along with app

Apparently would include our scss in the bundle (howto) using the sass-plugin for jspm to further reduce the number of http-requests.
This might cause flashes of unstyled content though, so beware.

another potentially interesting guide: https://ilikekillnerds.com/2016/02/the-definitive-guide-to-bundling-exporting-in-aurelia/

cleaning up old issues


bug: wrong link to redirect to branch of release-1.1 in README

Describe the issue
There are some redirect link in master branch's README which will redirect to release-1.1 branch, it should redirect to the master branch.

To Reproduce
Click the link of here in README, it will redirect to release-1.1 branch.
Expected behavior
Should redirect to master branch which content is always latest
Your Environment
No matter with environment.

How did you install fluent operator?
No response
Additional context
No response

Problem not reproduced.


ceylon.time.Period should be Invertible

The API documentation doesn't mention much on negative Periods, and normalize() does not take them into account (which is probably another issue), but otherwise there doesn't seem to be a restriction concerning negative values for the individual parameters of this class.
So I suggest Period should satisfy Invertible to be able to subtract a Period instance from another.

That sounds like a good idea. It already satisfies Summable and Scalable, so you can already write:
period1 + (-1 ** period2)
To do subtraction. Weird that you can't rewrite that as period1 - period2.

Done. @luolong please check my work :)

Looks good to me.


🐞[bugfix] resource builder without fetcher

The select method of a signal now can take a custom options parameter to customize its behaviour.
Fixed an invalid assert in the ResourceBuilder widget that happens for resources without a fetcher.

Codecov Report

Merging #12 (dc92611) into main (43ad836) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #12   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          426       427    +1
=========================================
+ Hits           426       427    +1

Impacted Files
Coverage Δ

...ackages/solidart/lib/src/core/readable_signal.dart
100.00% <ø> (ø)

...ter_solidart/lib/src/widgets/resource_builder.dart
100.00% <100.00%> (ø)


Rewrite the content of description for all the gates

Update the content
Make it simple to read

Happy to take on this task as well.


Bugfix: DLX parameters aren't updated when the messages is expired

WHAT is this pull request doing?
The effect of this bug is that count on a DLX message is counted up to 2 but never higher. It's set to 1 when the headers are created, we get the frist count and increase that but instead of updating in place the new count is added as a new field in the table.
AMP::Table doesn't support Symbol for it's #delete method which results in when using #merge! the new pairs are added onto the backing IO for each call.
The result is that after three expires the table looks like this:
<EMAIL_ADDRESS>@reason="rejected", @exchange="amq.topic", @count=1, @time=2023-11-27 12:46:51.0 UTC, @routing-keys=["alarms.notify"], @count=2, @time=2023-11-27 12:47:01.0 UTC, @routing-keys=["alarms.notify"], @count=2, @time=2023-11-27 12:47:11.0 UTC, @routing-keys=["alarms.notify"])

If instead each key is set it overrides the previous value as expected.
HOW can this pull request be tested?
Not sure how to write specs for this
It can be tested manually by publish a message to a queue that is setup to when the message is rejected, it ends up in a DLX queue. Setup a TTL on the DLX queue so that when the TTL expires the messages is published back to the original queue, when that happens, look at the messages headers x-death

I can try to create a spec or two for this.
I've working on fix for amq-protocol here: https://github.com/cloudamqp/amq-protocol.cr/pull/16


unable to rekey

Installed a new laptop, revoked the old one. still has access to desktop, paper key, and phone. trying to rekey but it doesn't work or it doesn't remove the warning. any advice?
my log id: 11b764c570d9cca6d7e22e1c

update:
it 4 out of 8 folders have managed to get rekeyed.  not sure what happened

I'm having a similar issue. Also installed another laptop yesterday and now have 5 devices in total (1 desktop, 2 laptops and 2 android devices). The warning at the beginning was that 5 items need to be re-keyed which is now down to 1, my private folder. All the others got rekeyed and all files are still there. But the private personal folder still shows the indicator. Although all files in that folder are present on the new device.
That looks like just a wrong indicator still showing?

@jurgenhaas looks like it worked but it was way too slow.  Can you do a keybase log send?

Thank you and thanks for your help!!

I guess it just does something really slow behind the scenes - but it finally gained access to all the folders from all the devices and the rekeying warning disappears. not sure why this takes more than a few minutes if my devices are online. does it need the other party to be online too?


https://astrea.helio.linkeddata.es/sparql is unavailable

Trying to access https://astrea.helio.linkeddata.es/sparql results in a 503 error, it would be great if this could be up and running again. This looks like the same issue as #19.

Thanks for letting us know, we had some troubles with the servers. Now is up and running.


SUnitBrowser doesn't have debug option, making it not very useful

You can run tests using the SUnit Browser, but you can't debug them so they stop on the error, which takes away most of the value for test development - more effective to run tests the old fashioned way by executing statements.

Add debug buttons to sunit browser.


Setup Account and Password

Hello,
I would like to test tuya BLE but I don't find

Account
Password

Where can I find Account and Password ?

Here you have a guide from tuya website:
https://developer.tuya.com/en/docs/iot/Home-assistant-tuya-intergration?id=Kb0eqjig0utdd
Tuya IoT Access ID and Tuya IoT Access Secret | Go to the Tuya Developer Platform and select your cloud project. Click the Overview tab and find the Access ID and Access Secret in the Authorization Key area.
Account | Your account of the Smart Life app.
Password | Your password for the Smart Life app.


Failed ugoira conversions counted as successful downloads

Description
If a conversion from ugoira to webm, webp or something else fails, this does produce an error, however the download still counts as successful and is written into the database. Ugoira then get deleted (if said entry is enabled in config.ini), you get no files, but you can't re-download either as attempting to do so will check that the file was successfully download in DB.
Steps to Reproduce

remove path to FFMpeg fro config.ini
download any ugoira image
try to re-download it - download is rejected, as the file is counted as successfully downloaded in DB

Versions
PixivUtil2-20220924
"You can get this information from executing PixivUtil2.py --help." - you actually can't, it doesn't list how to find out the version.

Due to this, now I have possibly hundreds of ugoira images missing, but marked as downloaded - how can I fix this?
Re-downloading doesn't work as I mentioned. Removing database check will re-download everything, including the files which were already moved/deleted. Any way to re-downlaod just the missing Ugoira images, ignoring their falsely written DB entries?
pixivutil.log

try this!!
d.manage database~10.Delete image by image_id~(your image id)!!
delete each image DBs separately!! like handicraft!!
20221029 version still skip the webp but It counts successfully in DB , I have no idea!! so I just use 20220804 version!! ffmpeg updating didn't work!! you can use 20220804 version!!


update android onboarding for low touch

#sign-off

https://github.com/MicrosoftDocs/defender-docs-pr/pull/504 replaces this PR.


API for subscription clean up (unsubscribe)

Is your feature request related to a problem?
At the moment there is no clean API to run some cleanup logic, after a subscription is canceled or terminated (I do not mean the subscription connection, for this we could use the ISocketSessionInterceptor, but an individual subscription within a connection).
Lets imagine the following scenario where I might need to do some setup, so my system actually starts to emit events. In this case its just a Console.WriteLine, but it might be something async:
public class Subscription
{
    public ValueTask<ISourceStream<Book>> SubscribeToBook(
        string bookId, [Service] ITopicEventReceiver receiver)
    {
        Console.WriteLine("Subscribe to book: " + bookId);

        return receiver.SubscribeAsync<string, Book>($"BookUpdated_{bookId}", token);
    }

    [Subscribe(With = nameof(SubscribeToBook))]
    public Book OnBookUpdated(string bookId, [EventMessage] Book book)
        => book;
}

Of course I also want to clean up this setup, once the subscription ends - but how would I do that at the moment?
We could register on the CancellationToken:
public ValueTask<ISourceStream<Book>> SubscribeToBook(
      string bookId, [Service] ITopicEventReceiver receiver,
      CancellationToken token)
  {
      Console.WriteLine("Subscribe to book: " + bookId);

      token.Register(() =>
      {
          Console.WriteLine("Unsubscribe from book: " + bookId);
      });

      return receiver.SubscribeAsync<string, Book>($"BookUpdated_{bookId}", token);
  }

But now we have a closure and no convenient way to in turn cleanup the CancellationTokenRegistration.
The best way, and what Michael suggested to me in the past, would be to implement an IAsyncEnumerable and IAsyncEnumerator and do the cleanup in the DisposeAsync of the enumerator.
This might be the way to go if you are already building your own enumerator for subscriptions, but for people wanting to use the Hot Chocolate Pub-Sub system it's not really an option. It's a lot of boilerplate and passing things around, all while basically wrapping the existing Pub-Sub system in an enumerator.
The solution you'd like
I would like a simple API that designates a method that should be run, if an individual subscription ends:
public class Subscription
{
    public ValueTask<ISourceStream<Book>> SubscribeToBook(
        string bookId, [Service] ITopicEventReceiver receiver)
    {
        Console.WriteLine("Subscribe to book: " + bookId);

        return receiver.SubscribeAsync<string, Book>($"BookUpdated_{bookId}", token);
    }

    [Subscribe(With = nameof(SubscribeToBook))]
    // Of course we would also mirror this with Code-first
    [Unsubscribe(With = nameof(CleanupBookSubscription))]
    public Book OnBookUpdated(string bookId, [EventMessage] Book book)
        => book;

    public ValueTask CleanupBookSubscription(string bookId, [Service] ISomeService service)
    {
        Console.WriteLine("Unsubscribe from book: " + bookId);
        return ValueTask.CompletedTask;
    }
}

In this cleanup method you should have access the the subscription arguments and dependency injection services.
I'm not sure how feasible it is to keep the subscription arguments around in memory to invoke the cleanup later, but I'm open for suggestions on this - this is just a proposal.
Product
Hot Chocolate

You actually have this functionality already since you can use the IAsyncEnumerator dispose or more simply add some code after your for each async ...
await foreach(var foo in bar)
{
   yield return foo;
}

// cleanup

Ah nice, totally forgot about that. Will play around with it a bit and update the documentation afterwards.

@michaelstaib
This exception get's thrown before reach the // cleanup, and the code on // cleanup does not get executed.
Exception thrown: 'System.OperationCanceledException' in System.Private.CoreLib.dll

await foreach(var foo in bar)
{
   yield return foo;
}

// cleanup

		symbols ??= Array.Empty<Guid>();
		var symbolSet = new HashSet<Guid>(symbols);
		ISourceStream stream = await receiver.SubscribeAsync<string, Guid>(nameof(SentChatMessageSubscription.OnSendChatMessageAsync), cancellationToken);

		cancellationToken.Register(async () =>
		{
			await queueStorage.SendMessageAsync(new NotificationMessage(
				Description: "Jonathan has sent you a message."
			), default);
		});

		await foreach (Guid symbol in stream.ReadEventsAsync().WithCancellation(cancellationToken))
		{
			if (symbols.Length == 0 || symbolSet.Contains(symbol))
			{
				yield return symbol;
			}
		}

So far this is the only thing that works, but the error keeps being thrown
Exception thrown: 'System.OperationCanceledException' in System.Private.CoreLib.dll

@Jonatthu  this is a cancellation exception. you can catch it or introduce a finally block.

Apart from that V13 has a ton more hooks.

@michaelstaib When I do try catch the compiler is not happy:
Cannot yield a value in the body of a try block with a catch clause [Account.EntryPoint]csharp(CS1626)


Remove Python 2.5 shims, unused files, imports, PEP8

Current coverage is 96.32%

Merging #502 into dev will decrease coverage by -0.01% as of 8cb23f2

@@              dev    #502   diff @@
=====================================
  Files          26      26
  Stmts        2288    2281     -7
  Branches      206     206
  Methods         0       0
=====================================
- Hit          2204    2197     -7
  Partial        35      35
  Missed         49      49

Review entire Coverage Diff as of 8cb23f2

Powered by Codecov. Updated on successful CI builds.

Ahem... I remember writing those getters and setters back in the old days.


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1449 ms

Resolved: Bofrost.be performance has improved in a351af5.


[Feature request] New consumer type: TableView

Motivation
Refer PIP: https://github.com/apache/pulsar/issues/12356
Solution
Depend on CPP client PR release: https://github.com/apache/pulsar-client-cpp/issues/89

Any updates since https://github.com/apache/pulsar-client-cpp/issues/89 has been merged?

We need to wait for the CPP client release first,  then wrap it on the Python side.

Was this feature ever added? I can't find any references in the documentation.

@shibd could you please let me know the status of tableview client?


Doesn't exit (libusb problem?)

Seems antfs-cli doesn't exit properly, even though it's done.
I get this:
Driver available: [<class 'ant.base.driver.USB2Driver'>, <class 'ant.base.driver.USB3Driver'>]
 - Using: <class 'ant.base.driver.USB2Driver'>
Request basic information...
  Capabilities:  array('B', [8, 3, 0, 186, 54, 0])
Starting system...
Key done...
Searching...
Authenticating with Forerunner 610<PHONE_NUMBER>)
 - Passkey: OK
Downloading 0 file(s)
libusb: warning [libusb_close] internal signalling write failed, closing anyway

Emphasis being on the last line. Stalls there. I get that this might be libusb's issue, not antfs-cli, but do you have any idea what might be done to fix it?

I haven't seen that error before. What version of libusb are you using?

1.0.19

What about pyusb?

Probably this issue I think: https://github.com/walac/pyusb/issues/66.

pyusb-1.0.0b2.
OK; thanks. I'll check into #66.

If I understood it correctly, the patch fixing walac/pyusb#66 had been merged into walac/pyusb master, but I'm having the same issue even though having built and installed the latter.

Hm yes, that is weird. if you run python and do:
import usb
usb.__version__

That is the correct version? If it is finding the correct pyusb installation and this still occurs, I'm afraid I have no idea what is wrong.

Python 3.4.1 (default, Oct 12 2014, 18:28:05)
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import usb
>>> usb.__version__
'1.0.0b2'
>>>

@Walac asked for a test script to reproduce the issue (over at pyusb#66). I haven't dabbled in Python before, so instead of trying to scrape your code for tidbits which might make up a test script reproducing this issue, I'll ask you first. Would it be possible for you to make some minimal script which should(n't) lead to the error message above @ comment 61684472?

I think you are using the version built from master you should have version 1.0.0.rc1 of pyusb I think. Perhaps you have a conflict between a version installed by your package manager and the one you installed manually (or with pip or so)?

I had none installed through package manager (portage). When trying to fix this, I installed something that looked related through pip. Removed that now.
$ python
Python 3.4.1 (default, Oct 12 2014, 18:28:05)
[GCC 4.7.3] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import usb
>>> usb.__version__
'1.0.0rc1'
>>>

But, alas,
 $ antfs-cli
Driver available: [<class 'ant.base.driver.USB2Driver'>, <class 'ant.base.driver.USB3Driver'>]
 - Using: <class 'ant.base.driver.USB2Driver'>
Request basic information...
  Capabilities:  array('B', [8, 3, 0, 186, 54, 0])
Starting system...
Key done...
Searching...
Authenticating with Forerunner 610<PHONE_NUMBER>)
 - Passkey: OK
Downloading 0 file(s)
libusb: warning [libusb_close] internal signalling write failed, closing anyway


Remove Syntax Reference and point to Language Reference

Note: links will be broken until the language reference from migration branch is merged into master.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/csharp/index.md
:warning:Warning
View
Details

docs/toc.md
:warning:Warning
View
Details

docs/csharp/index.md

Line 53: [Warning] Invalid file link:(~/docs/csharp/language-reference/index.md).

docs/toc.md

Line Unspecified: [Warning] Invalid file link:(~/docs/csharp/language-reference/index.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

should we add redirect instead of deleting the file? and should we make the changes on the migration branch instead?

I say delete - it was an empty file and there were no other files underneath it.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/csharp/index.md
:white_check_mark:Succeeded
View
Details

docs/toc.md
:white_check_mark:Succeeded
View
Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@BillWagner, look good?

I'm good.  Let's :shipit:
And, I agree that deleting it is OK, because none of the redacted files had been written yet


Feature Request: Use an Outline in an Index Note to Establish Relationships

Use an Outline in an Index Note to Establish Relationships
Instead of using frontmatter, what if we had the option to use dedicated outline files to establish relationships? By using some set of rules, the user can identify the outline as specific to the breadcrumbs plugin (e.g. title prefix, title suffix, tag, frontmatter in the outline file). The user could then rearrange Wiki Links in a strict bulletpoint outline to establish relationships. Add in a hotkey action like "Jump to Index Note" and users update the relationships of their notes as easily as they can update an outline.
Example
Animals Outline

Breadcrumbs for Dog Generated From Outline

Add Pomeranian as a child to Dog

Updated Breadcrumbs for Dog Generated From Outline

Ooooh this is a good idea! I would definitely only implement it for a specific note, as it would require alot more computation to parse the note content versus grabbing the note's metadataCache.
There would be a setting Bullet Point Index Notes: ["Index 1", "Index 2", ...] telling Breadcrumbs to look for this specific type of index on those given notes

lol, and using this feature, you could use the Create Index command to auto generate the existing index, and then get rid of all the breadcrumbs in your notes! Nice and clean

Heaven forbid!
I would not want a “ghost in the machine” having a global impact on the matrix and graph - I like  the “genie in the bottle” to show implied relationships (an incredibly powerful and useful tool) but I am a great believer in a “don’t destroy the data” philosophy and removing the data for the original seems dangerous!
If I have a new note to be “breadcrumbed” I would still want to it to be updated in the index note — but if I needed to regenerate the index note from scratch how would that be possible if the source was removed?
Likewise, if I want to use juggl graphs (labelled edges for the win) I want those shown shoulder to shoulder with the breadcrumb info.
Just my “2 bits worth”  😊
Executive Director
Canadian Lacrosse Hall of Fame
Anvil Centre, 777 Columbia Street,
New Westminster, BC V3M 1B6
E @.***
C<PHONE_NUMBER>
On Aug 18, 2021, 1:16 AM -0500, SkepticMystic @.***>, wrote:

lol, and using this feature, you could use the Create Index command to auto generate the existing index, and then get rid of all the breadcrumbs in your notes! Nice and clean
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Hahaha for sure, it wouldn't be necessary to remove anything, just possible 😋
But I like this idea as a way to create the index in one, separate place

@SkepticMystic I'm glad you like the idea. Thanks for the consideration!
The idea came from trying to make sense of 70+ related links using an outline. Things went from a flat mess to a clear structure pretty quickly, especially using outline shortcuts. Immediately after, I wanted to use breadcrumbs (awesome plugin btw!) to take advantage of this structure. Even with automation and macros, updating each note manually felt slow. It's seems much more natural, simpler, and faster to define relationships in this way.
@BricoleurSoul As SkepticMystic said, I don't think this feature needs to take away existing functionality and could be implemented as an alternative.

Just tossing this in the rising...
How about MOC?  - "Map of Concept" that is used in many, and somewhat different ways, but this proposed  outline of the topic structure feature seems to fit to me.
David
On Aug 19, 2021, 9:01 AM -0500, SkepticMystic @.***>, wrote:

@keithadams what would you call this feature? Given that I already use "index" to refer to a predefined "top" of the hierarchy, as well as the list generated when using the "Create local/global index" command
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@BricoleurSoul I like this. I think I'd brand it specifically as "Breadcrumbs MOC", to avoid ambiguity.
Also, maybe "Reverse Index", "Auto Index", "Breadcrumbs TOC (Table of Contents)"

@keithadams what would you call this feature?

I like the suggestions so far. To add a few candidates:

Hierarchy Note
Note Hierarchy
Hierarchy Outline
Note Hierarchy Outline

@keithadams I'm almost done with this feature, I think.
But one problem is, now that there are multiple hierarchies, which hierarchy do I add these links to?
For example, if I have two hierarchies: ↑: up, →: same, ↓: down and ↑: parent, →: sibling, ↓: child, which type of ↓ should these notes get added to?
I guess there could be a setting to specify which type they are. I think what would be easiest is to require that the type is one of the existing hierarchy's ↓ fields. So in this case, it would have to be down, or child. If you want it to be something else, then make a separate hierarchy for it.
What do you think?
@HEmile @BricoleurSoul your thoughts on this?

I like the approach of choosing the down value for which hierarchy to use,  so  ->  and ^ automatically follow.
I am testing with four hierarchies now, I will  probably not go with one of them but already have another in mind so I think the flexibility of being able to define which used with this feature would be a must for widespread use - not just for me but for anyone who uses the multiple hierarchy feature.
David (aka Bricoleur Soul)
On Aug 20, 2021, 1:39 PM -0500, SkepticMystic @.***>, wrote:

@keithadams I'm almost done with this feature, I think.
But one problem is, now that there are multiple hierarchies, which hierarchy do I add these links to?
For example, if I have two hierarchies: ↑: up, →: same, ↓: down and ↑: parent, →: sibling, ↓: child, which type of ↓ should these notes get added to?
I guess there could be a setting to specify which type they are. I think what would be easiest is to require that the type is one of the existing hierarchy's ↓ fields. So in this case, it would have to be down, or child. If you want it to be something else, then make a separate hierarchy for it.
What do you think?
@HEmile @BricoleurSoul your thoughts on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@BricoleurSoul just pushed the new release, will you work your testing magic and see how it works 😄
So currently, it parses a Hierarchy Note of the form:

Every item has to be a list item - [[Note]].
Use indentation to indicate depth in the hierarchy.
It doesn't matter how much indentation you use, as long as you use the same indentation for each depth. (Basically, try use only tabs, or the same number of spaces each time).
Also, be sure to update your settings for "Hierarchy Note" (the name I've gone with for now), before trying it.
Let me know if there are other things which are unclear

Darnit, push a silly bug. Gimme a sec

Will gladly do - I just recovered from self inflicted error that broke indexing (so in testing mood now 😊) may be next day for you before I have meaningful feedback (grandkids are insisting on special birthday event and dinner out now as I won’t be here for the actual date in 3 months…)
I’ll try to figure what I did that broke indexing yesterday (as I didn’t have time to localize whether my fourth hierarchy was set up incorrectly, whether setting breadcrumbs incorrectly with admonition block, or bad inline yaml field) it is a pain trying to figure out using console for me given lack of knowledge - but if I only change one thing at a time I can muddle through! If it is a real issue I will let you know as well as a results of the near hierarchy index feature.
Cheers,
David
On Aug 20, 2021, 2:07 PM -0500, SkepticMystic @.***>, wrote:

Darnit, push a silly bug. Gimme a sec
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

@BricoleurSoul should be working in latest release 🤞🏼 (it works on my main vault)
One issue I know is that you can't have blank lines in between items, or at the end of the hierarchy... I thought I fixed this, but I guess not. It'll have to do for now.
Hopefully you can give it a small try before going 😅
Enjoy the dinner though, sounds fun!
Also, do let me know if the issue persists. I hope, for my own sake, it is just an error with the fourth hierarchy 😋

Alright, blanks line should be allowed now :)

Lightning fast delivery! Impressive! I'll be trying it very soon.

But one problem is, now that there are multiple hierarchies, which hierarchy do I add these links to?
For example, if I have two hierarchies: ↑: up, →: same, ↓: down and ↑: parent, →: sibling, ↓: child, which type of ↓ should these notes get added to?

Perhaps you could set the desired relationships in the frontmatter of the particular "Hierarchy Note":

And if I had another Hierarchy Note about say a Family Tree, I could specify different relationship labels:

One more alternative, although I don't like this one as much. It seems error prone.
Use a default child relation similar to how you have it now, but user can override the default in the Note Hierarchy with a prefix.
Example

If no prefix, use default

Override default using a prefix

It seems only the first child is being connected to the parent.  It gives the user flexibility to have different hierarchy notes for different hierarchy fields. And because the second option seems complicated to put together :yum:

Gonna close this out. I'll open up another issue for the ability to put the desired relationship into the frontmatter


[Core][Distributed] fix pynccl del error

It is observed from https://github.com/vllm-project/vllm/pull/4488 , that CI actually has errors, although it is ignored. Therefore, essentially the ncclCommDestroy in NCCLCommunicator.__del__ is never called. We can remove the code to avoid the CI error bothering users.

We cannot rely on Python's garbage collection system to work here, because The destruction of modules and objects in modules is done in random order.
The driver process holds a communicator and a handle to ray actor, the worker process holds a communicator.
If the driver process calls del for the communicator first, it will stuck, because it is a collective call, and it need to wait for the other process to delete the communicator as well. However, that worker process will run the main loop to wait for command from the driver process. Thus, we will see a deadlock.
If the driver process calls del for the ray actor first, the worker process will hang in the collective call, until the driver process also called the collective call to destroy the communicator.
Things can go crazy when we have multiple communicators (e.g. PyTorch nccl backend has nccl communicators), because it will require the same destruction order for these communicators, which is essentially impossible for Python.
One possible solution is to add cleanup logic in ray_gpu_executor's __del__ function. That's also questionable, because ray module might also be destroyed before ray_gpu_executor.
The ultimate solution might be to provide some context manager like with vllm.context(), and to ask users place any vllm specific code under that context. This way, we can do something under __exit__ , before the Python's garbage collection system starts to shutdown the Python interpreter.

Per our offline discussion with @zhuohan123 @WoosukKwon @simon-mo @LiuXiaoxuanPKU , we can just skip the destruction to avoid deadlocks.


Native support for Jaeger

Please describe your use case / problem.
It would be helpful if Ambassador supported Jaeger natively.  At the very least it would allow using the "remote" sampling configuration, where the sampling is controlled centrally and clients read the config on startup.
Describe the solution you'd like
Native support for Jaeger.
https://www.jaegertracing.io/docs/1.21/sampling/#collector-sampling-configuration
Describe alternatives you've considered
The current alternative is to use the zipkin backend, which works, but requires:

manual sampling configuration in ambassador
Making sure that the clients behind ambassador are configured to extract Zipkin headers

I should add that the jaeger config allows setting different tracing per service/operation, whereas right now I can only set one sampling strategy for the ambassador service itself.

I should add that the jaeger config allows setting different tracing per service/operation, whereas right now I can only set one sampling strategy for the ambassador service itself.


fix(json): Added REST API endpoint for pinning P2WDB JSON data

:tada: This PR is included in version 2.0.1 :tada:
Your semantic-release bot :package::rocket:


Node debugging does not work after update

Node debugging stopped working after the latest update to version 1.9
Debugger starts listening on port XXX then freezes on the warning message that it is experimental feature. Any help?

VSCode Version: January 2017 (version 1.9)
OS Version: Windows 10 Pro version 1607

launch.json
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "node2",
            "request": "launch",
            "program": "${workspaceRoot}/index.js",
            "stopOnEntry": false,
            "args": [],
            "cwd": "${workspaceRoot}",
            "preLaunchTask": null,
            "runtimeExecutable": null,
            "runtimeArgs": [
                "--nolazy",
                "--preserve-symlinks"
            ],
            "env": {
                "NODE_ENV": "development",
                "NODE_PATH":"dev"
            },
            "sourceMaps": false,
            "outFiles": []
        },
        {
            "name": "Attach",
            "type": "node",
            "request": "attach",
            "port": 5858,
            "address": "localhost",
            "restart": false,
            "sourceMaps": false,
            "outFiles": [],
            "localRoot": "${workspaceRoot}",
            "remoteRoot": null
        },
        {
            "name": "Attach to Process",
            "type": "node",
            "request": "attach",
            "processId": "${command.PickProcess}",
            "port": 5858,
            "sourceMaps": false,
            "outFiles": []
        }
    ]
}

+1
Same problem here.

This looks like the "node2" debugger. For now you can change the type to be "node"
Assigning to @roblourens

Does it help if you change the debug type from node2 to node?

I was using "node" same problem there.
But just downgraded to 1.8.1 and everything is working again.

Changing the type from node2 to node worked for me. Thank you!

@AntonBozhinov probably because node v7.5.0 doesn't support the v8 debugging protocol any more (I think).

That shouldn't be the case yet...
Can someone set "diagnosticLogging": true in their launch config, and upload the log from the path that it prints at the top of the debug console?

Or if the app you're debugging can be shared, I'd like to try it out.

Same problem +1

@renanborgez your problem seems to be unrelated this issue because you needed the opposite workaround to make it work again.

I this this is what I'm seeing too.
attached log with "diagnosticLogging": true
vscode-node-debug2.txt
launch.json  :
{
  "version": "0.2.0",
  "configurations": [{
    "diagnosticLogging": true,
    "type": "node2",
    "request": "launch",
    "name": "bootstrapper",
    "program": "${workspaceRoot}/src/bootstrapper/app.js",
    "cwd": "${workspaceRoot}/src/bootstrapper",
    "sourceMaps": true,
    "outFiles": [ "${workspaceRoot}/src/bootstrapper/**/*.js"
      ,"!${workspaceRoot}/src/bootstrapper/node_modules/**"
     ]
  }],
  "compounds": []
}

other try with simpler launch.json
{
  "version": "0.2.0",
  "configurations": [{
    "diagnosticLogging": true,
    "type": "node2",
    "request": "launch",
    "name": "bootstrapper",
    "program": "${workspaceRoot}/src/bootstrapper/app.js",
    "cwd": "${workspaceRoot}"
  }],
  "compounds": []
}

vscode-node-debug3.txt

@fearthecowboy Your problem doesn't sound like the others, they said it freezes when starting. In your case, the log says you set a breakpoint in gulpfile.iced, but it can't find a file with that name. See if you can use the .scripts command to debug your issue and open a new issue if there's a bug.

Stale issue. If anyone still reproes this using "protocol": "inspector", please share the log file ("trace": true in launch config).


Server Side Logic

Hi. Facing some troubles in understanding the logic....
I understood that, having already an user table in my mysql db, I need to create a "comments" table which can replicate the "Fields" in http://viima.github.io/jquery-comments/#link-4
I understand that the plugin will handle all the retrieved comments as long as they are passed as jsonCOMMENT item.
I can't understand what are the endpoints here and what is the meaning of "customers" in the example...
Sorry, might be obvious but I'm struggling here...

Hi @luigi37! Thanks for the message.
The "customers" part in the documentation refers to the fact that the product where we use this library is multitenant SaaS, meaning that we serve multiple customers with each having their own data. So any customer can basically only see their own data. If you don't have this challenge, you can ignore everything "customer related" from that documentation.
Regarding the endpoints:

.../comments/ lists all available comments (GET request) and allows a user to create a new one (POST)
.../comments/pk shows a single comment (GET) and allows you to update (PUT) it or delete (DELETE) it
.../item/comments/ lists all comments related to a single item, which in our software are "ideas"

We need more information about the expected json response from the server, its the same json for post a comment, upload a image, etc?


Add to section on macOS activation and mention privacy implications

Hey drduh,
Noticed the section on the appearance of activation on the TouchBar MBPs and thought you might be interested in either looking at or linking to this gist I wrote discussing the dangers posed by a potential iOS-ification of macOS, including the risks associated with activation.
https://gist.github.com/iosecure/357e724811fe04167332ef54e736670d
Activation on macOS is a symptom of the secure enclave (sepOS) on the TouchBar which itself runs a stripped down version of iOS and is or is going to be used (among other things) by Apple to enforce a  verified boot policy, meaning that in future disabling services and modifying system launch agents/daemons will likely become impossible unless Apple allows users to disable it in recovery as is the case with SIP. (Note that SIP does not prevent disabling system launch agents/daemons via recovery at the moment, which is the ONLY (except removing/renaming binaries) way to stop Apple's numerous surveillance services from loading).
This is really dangerous of Apple since it completely removes the ability to control what runs on YOUR device and will force you to run their highly intrusive binaries. If Apple actually cared about their users, they would allow them to override this, offer an option to create user self-signed verified boot keys and flash them manually in a revamped and hardened recovery OS. The issue here is about authentication. If the recovery OS were encrypted, and verified, and various sets of credentials could be configured for various levels of privilege in the recovery, then you could theoretically have secure boot that YOU controlled. When updating, the user would have to enter recovery and disable the verification and then flash a new set of keys after. Trammell Hudson's HeadsOS should have been used as inspiration, not Intel Boot Guard (see https://github.com/osresearch/heads).  Some might say that moving most of the root of trust to the user is risky, but a TPM which can have keys flashed to it in an authenticated (local, not online) manner is better than having no form of boot verification at all as is the case on older machines. After all, does Apple have some overlord which tells them what they are allowed to run on their development machines? No? So does that mean maybe Apple internally can do security just fine without having some third party controlling them? Well then, what about end users too? Saying that removing all freedom from a widely used OS is justifiable for security purposes is nonsense.
Activation also allows Apple (and Akamai) to gather an enormous amount of sensitive metadata, and allows Apple (and those Apple cooperates with) to link a device's UUID to your real identity and associated identifiers.
Sorry if this was messy, but I didn't have much time.

These are significant findings definitely worth talking about in the guide, as well as hardware/firmware security and hardening (or lack of ability to thereof) more generally.
Is that gist the final published version of your analysis? I would really like a condensed form of it to appear at the top of the guide, with a link to the rest in detail.

Push Away Your Privacy: Precise User Tracking Based on TLS Client Certificate Authentication (pdf) perhaps a relevant work to your points.

I will see if I can write a condensed version at some point in the future, but I cannot promise anything at this point I'm afraid.
While the article you linked on plaintext CCA is interesting, I don't really see it as relevant to the issue I am highlighting. Plaintext CCA is an issue that plagues many services, not just the push services that the author chose to focus on.
Plaintext CCA issues imho seem more like a design oversight, whereas what I'm trying to highlight is that Apple actively has built iOS in such a fashion that using it requires exchanging a large amount of information with them. It seems a bit strange to focus on CCA issues when APNS (and so many other services) itself uses the UUID of the device (which links directly to device purchase data) to authenticate for push services with Apple.
Beyond that there are many other data confidentiality issues with APNS and any individual or corporation that has no choice but to use iOS devices should disable all notifications since Apple does not let you discern between local and remote notifications. The only realistic way to deal with this is to block access to Apple's servers at the network level and force traffic through a VPN (however, Apple's VPN APIs do not send all network traffic via the VPN, some Apple process traffic will avoid the VPN, which obviously creates issues when using the cellular interface).
The point is Apple is making macOS more like iOS, removing independent end-user configurability, introducing more and more services that send lots of data to them, preventing you from even using the device before you let the device send real identity-linked data to them, and just calling it "security". It is perfectly possible to have just as secure or even more secure devices without having to interact with Apple all the time. I would suggest that it seems suspicious that this is occurring. Some of the links posted in this repo already show how sysadmins in companies trying to maintain independent, secure configurable images for large fleets of devices are concerned by this issue as well. I had a link to a blog post by a sysadmin about this issue at some point, but I can't seem to find it right now.

I have added a somewhat condensed update to the bottom of the gist (https://gist.github.com/iosecure/357e724811fe04167332ef54e736670d) with a TL;DR. Maybe the updated TL;DR is sufficient to place in the guide with a link. Otherwise, if you don't think it is too long, the condensed version below the TL;DR could be used.

Thanks, @iosecure. That is very valuable work.


Playing video and audio at the same time

Hey
I am trying to play a mp4 file and add the background of a MP3 file. Is there  a way to specify an audio source for a video?

@eltoob - alas no, but what you could do is have a second instance and unpause them both at the same time - the start time for both should be the very very close to the same if they're rendered at the same time.


RSS-media multiple params

Hello!
I'm trying to generate an RSS-media feed with multiple media:thumbnails but it is impossible. Also it is related to media:comments, media:embed and a lot of others.
RSS-media reference http://www.rssboard.org/media-rss#media-thumbnails
This issue is similar to #1361

I found a workaround, I moved thumbnails to RSS item description.

Hi, yes cause for the problem you are describing in the same as in #1361, our XML serializer does not support using the same tag multiple times.

I am closing this issue. Please feel free to reopen if you need further assistance!


Incorrect URL to VM creation with accelerated networking

[Enter feedback here]
This page provides a link to "VM creation with accelerated networking using Azure Portal". But when you click on the link, it actually takes you to the regular VM creation wizard. For accelerated networking, the networking screen should show the accelerated networking On/Off option. Perhaps you can fix the link
Portal creation
Though this article provides steps to create a virtual machine with accelerated networking using the Azure CLI, you can also create a virtual machine with accelerated networking using the Azure portal.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f89338c0-968d-c22f-5b0d-ed3870ebc2fa
Version Independent ID: 6daae1cc-f758-1d37-9de3-80a2832c08ef
Content: Create an Azure virtual machine with Accelerated Networking
Content Source: articles/virtual-network/create-vm-accelerated-networking-cli.md
Service: virtual-network
GitHub Login: @gsilva5
Microsoft Alias: gsilva

Nevermind, you already provided the explanation to enable the accelerated networking in the Networking tab. Closing this issue now

@kumarallamraju Glad to know that you have self resolved the issue. Thanks for the update.


GH-2826: Fix KafkaAdmin NPE With Bad Config Name

Resolves https://github.com/spring-projects/spring-kafka/issues/2832
cherry-pick to 3.0.x, 2.9.x

... and cherry-picked to 3.0.x & 2.9.x


[Doc] Update connector guide overall

Fix https://github.com/apache/pulsar/issues/5015

@tuteng could you please help review?


GPU / DirectML support not working

Bug description
Recent versions of WSL 2 support DirectML, a machine-learning GPU accelerated pipeline. NixOS-WSL will require a few changes in order to support GPU detection/access. I'm not familiar with all the specifics, but I'll list my findings in this issue.
To Reproduce
Steps to reproduce the behavior:

~
❯ nix-shell -p conda

~ via ❄  impure (shell)
❯ conda-shell
/etc/profile: line 26: /home/shayne/.conda/etc/profile.d/conda.sh: No such file or directory
bash: /home/shayne/.conda/etc/profile.d/conda.sh: No such file or directory

~ via ❄  impure (shell)
❯ conda-install
...omitted
installation finished.

~ via ❄  impure (shell)
❯ conda create --name directml python=3.6
Collecting package metadata: done
Solving environment: done
...omitted

~ via ❄  impure (shell)
❯ conda activate directml

~ via ❄  impure (shell) via 🅒  directml
❯ pip install tensorflow-directml
Collecting tensorflow-directml
  Using cached tensorflow_directml-1.15.7-cp36-cp36m-manylinux2010_x86_64.whl (109.7 MB)
...omitted

~ via ❄  impure (shell) via 🅒  directml
❯ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/host/usr/lib/wsl/lib

~ via ❄  impure (shell) via 🅒  directml
❯ python
Python 3.6.13 |Anaconda, Inc.| (default, Jun  4 2021, 14:25:59)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow.compat.v1 as tf
>>> tf.enable_eager_execution(tf.ConfigProto(log_device_placement=True))
>>> print(tf.add([1.0, 2.0], [3.0, 4.0]))
2022-05-21 12:05:36.141445: I tensorflow/stream_executor/platform/default/dso_loader.cc:97] Successfully opened dynamic library libdirectml.0de2b4431c6572ee74152a7ee0cd3fb1534e4a95.so
2022-05-21 12:05:36.141533: I tensorflow/stream_executor/platform/default/dso_loader.cc:97] Successfully opened dynamic library libdxcore.so
2022-05-21 12:05:36.154918: I tensorflow/stream_executor/platform/default/dso_loader.cc:97] Successfully opened dynamic library libd3d12.so
2022-05-21 12:05:36.278336: I tensorflow/core/common_runtime/dml/dml_device_cache.cc:250] DirectML device enumeration: found 0 compatible adapters.
2022-05-21 12:05:36.278603: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2022-05-21 12:05:36.281742: I tensorflow/core/common_runtime/eager/execute.cc:571] Executing op Add in device /job:localhost/replica:0/task:0/device:CPU:0
tf.Tensor([4. 6.], shape=(2,), dtype=float32)
>>>

Two things to note:

You must add /host/usr/lib/wsl/lib to the LD_LIBRARY_PATH or the dynamic libraries fails to load
The device enumeration reports found 0 compatible adapters.

Expected behavior

Here's output from running the same tensorflow execution under Ubuntu 20.04

2022-05-21 12:06:28.834960: I tensorflow/stream_executor/platform/default/dso_loader.cc:97] Successfully opened dynamic library libdirectml.0de2b4431c6572ee74152a7ee0cd3fb1534e4a95.so
2022-05-21 12:06:28.835225: I tensorflow/stream_executor/platform/default/dso_loader.cc:97] Successfully opened dynamic library libdxcore.so
2022-05-21 12:06:28.841276: I tensorflow/stream_executor/platform/default/dso_loader.cc:97] Successfully opened dynamic library libd3d12.so
2022-05-21 12:06:30.835907: I tensorflow/core/common_runtime/dml/dml_device_cache.cc:250] DirectML device enumeration: found 1 compatible adapters.
2022-05-21 12:06:30.836634: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2022-05-21 12:06:30.837890: I tensorflow/core/common_runtime/dml/dml_device_cache.cc:186] DirectML: creating device on adapter 0 (NVIDIA GeForce RTX 3090
2022-05-21 12:06:31.451911: I tensorflow/core/common_runtime/eager/execute.cc:571] Executing op Add in device /job:localhost/replica:0/task:0/device:DML:0
tf.Tensor([4. 6.], shape=(2,), dtype=float32)

My first recommendation is to not use conda on NixOS because it downloads pre-compiled binaries which require patching.
Also Python 3.6 is out of support in nixpkgs. Currently only Python 3.9 and 3.10 are supported.

You must add /host/usr/lib/wsl/lib to the LD_LIBRARY_PATH or the dynamic libraries fails to load

That is likely because wsl can't write the ld preload file to /etc. Maybe we can hardcode that. I found the error in the beginning of dmesg.
If you are required to use python 3.6 and conda to get your work done I would recommend to stay on Ubuntu.

PS: I personally wouldn't use conda on any Linux or Windows because the constraint resolver is slow and presents very bad recommendations. Also it usually majorly differs from Linux production environments which requires you to build two setups.

From https://github.com/microsoft/tensorflow-directml:

Note: Python 3.8 or newer is not currently supported. To use the official PyPi packages, the CPython interpreter is required. NumPy 1.19.4 is requires the KB4598291 to properly work on Windows.

So unless Microsoft updates tensorflow-directml to support Python >= 3.9, I don't see a way to get this to work on NixOS without major workarounds like patching conda binaries or using the python derivation from an older NixOS version

So unless Microsoft updates tensorflow-directml to support Python >= 3.9, I don't see a way to get this to work on NixOS without major workarounds like patching conda binaries or using the python derivation from an older NixOS version

Will close for now given that state of things. It's also my experience that the approach Microsoft took here isn't ideal since it not only does it require the specific Python packages, but also code changes. Not being able to easily collaborate with non WSL users or pull in code from GitHub without making extensive changes is unfortunate. I may be wrong or missed something here!
Thanks all!


joaat

port and update article joaat from wiki https://wiki.altv.mp/wiki/Scripting:Joaat to docs.

Added https://github.com/altmp/altv-docs-gta/commit/f06da801934c86ef9581258983c3116c53643890


It would be nice if pinned requests, sticky requests area can be extended with doubled headed arrow vertically

Discussed in https://github.com/Kong/insomnia/discussions/5232

Originally posted by aungthanlwin September 28, 2022
When there are too many requests pinned, I have to scroll up and down to look for the particular request. If I can extend and adjust area vertically, I can see all my pinned requests and that would be nice feature addition. (We already able to extend the pinned area horizontally)

Hi @aungthanlwin, thanks for reporting this1
I'm marking this as a possible improvement internally. Feel free to report other issues or improvements you come across.


map_coordinates doesn't work the same as numpy: 'list' object has no attribute 'shape'

Description
I'm trying to port numpy to cupy and I hit a brick wall where  the same code doesn't work in cupy. I get an error 'list' object has no attribute 'shape' but it works in normal numpy.
To Reproduce
    e_img = np.random.random((3002, 3000))
    coor_y = np.random.random((50, 50, 1))
    coor_x = np.random.random((50, 50, 1))
    order = 1

    x = map_coordinates(e_img, [coor_y, coor_x], order=order, mode='wrap')

Installation
ubuntu 20.04
cuda 11.6
Environment
conda list
numpy                     1.21.2           py39h20f2e39_0
numpy-base                1.21.2           py39h79a1101_0
cupy                      9.6.0            py39ha91d172_0    conda-forge
scipy                     1.7.3                    pypi_0    pypi

Additional Information
No response

coordinates should be of cupy.ndarray type and not a list. We do this to avoid implicit synchronization, but the docs needs to be updated.


Use TravisCI for continuous integration

Resolves #73
Example output: https://travis-ci.org/andrewseidl/gxui/jobs/56396324
I also had to apt-get libxxf86vm-dev, which is required by github.com/go-gl/glfw/v3.1/glfw. Will submit a separate PR to update README.md.

Awesome. Thank you.


Collision and Death/Win zones (NOT urgent)

With the new change in collision, it may not be possible to collide with death or win zones if they're placed on top of a wall/platform. I found this while testing ribbons and will include more levels here that need to be worked on.
Why does this happen now?

The reason it worked before is that the collision would allow the player to go inside the block before realizing that it should not be and pulls it out. The difference now is that the collision is now preventative. If the player is moving and in that moment, were to collide and go inside the block in the next frame, it would be placed adjacent/right up against the block instead and never go inside the block.

In the image below, usually you would collide and die with the death zone, despite it being on top of a wall. Now that collision was made to be mostly exact (right up against each wall/platform), it'll rebound off of the wall.

I'll list more levels below that need reworking

List of levels:

Avoid the red (level 5) - win zone

Mouse (level 7) - win zone

Lava pits (level 13) - win zone

Lava comb (level 14) - win zone

Block maze 5 (level 16) - win zone

Split path (level 17) - top and bottom win zone

Hop Scotch (level 20) - win zone

Ash tray (level 21) - win zone

Staggers (level 30) - win zone

You're getting in my way (level 32) - win zone

Caves (level 33) - win zone

Block maze 1 (level 35) - win zone

Block maze 2 (level 36) - win zone

Letters (level 41) - win zone

Also, a good piece of info is that it took me about 50 minutes to beat all the levels so far. 👍

@slysnivy I'll fix/adjust all the levels mentioned above in due time as I am making more levels and will update you on which ones have been reworked and completed.

Yea no rush. For the level win zones, you can just move the zone just so it sticks out of a wall a little (move x back by like 1 or 2).

I added some check boxes too so you can let me know when you've reworked a level 👍

There are some extra levels that I did notice this issue on before (I didn't get all of them sadly). I managed to deal with most of the ones listed on this list. If there are any other levels worth mentioning about this issue, be sure to either re-open this issue or make a new one, as I will be closing this one shortly.

Sure and thanks! Just letting you know that the next collision update will make it so that this issue occurs every time instead of sometimes.

[ ] Doors (Level 9) is unbeatable due to the player not dropping down, likely due to the new collision update.

got it, this issue on that level will be resolved in the next update.

I believe I checked all the levels and resolved it with #282, so I'm going to close it now.


xeus-sqlite fails to compile with 'cpp-tabulate >=1.3,<2'

While the install from source command probably works because it hard codes cpp-tabulate=1.3, the dependency table is a bit misleading. I found this out, because the current xeus-sqlite conda-forge package seems to be broken and I attempted to compile xeus-sqlite myself. For details see: https://github.com/conda-forge/xeus-sqlite-feedstock/issues/20 (Sorry for cross-posting!)

(Sorry for cross-posting!)

No worries, thanks for investigating this!


Restructured the project, added a React project, and added CORS. (#5)

Restructured the project, added a React project, and added the react project to Docker Compose

Fixed incorrect build directory for backend docker image

Fixed docker compose issue with the frontend container

Co-authored-by: Chase MacDonnell<EMAIL_ADDRESS>

Merging Docker-Compose setup on main into develop


Update typer.css

Description
Made the css responsive for #443, assigned to me via #450
Fixes:  #450

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

you need to add the index.html file of this project too with this PR. Then and only then I would be able to verify the changes

ok


Change size existence check to default value

Using default value for size param in gravatar method is more convenient.

Yeah, that works for me 👍


How to deal with app thats always "latest"

https://www.paprikaapp.com/windows/
The website only provides the "latest" version.  Not sure how to make a manifest for this.

You can set the version to nightly and leave remove all hash properties.


Initial Start and End Time

Is there a way I can set an initial value for start and end time?

use useScheduler hook
https://github.com/aldabil21/react-scheduler#usescheduler-hook