Create prefixes for tag helpers

This will involve modifying the @taghelper "assemblyname" directive to be something like @taghelper "assemblyname" "prefix".
This in turn will enforce certain restrictions on generating/understanding tag helpers.
Ex: If you do @taghelper "MyAssembly" "r-" that means that all tag helpers in _MyAssembly_ must be prefixed with _r-_.
<r-my-taghelper />

Should discuss if we want to support prefixes at the C# tag helper level.

+1 for adding @ to the attribute.
Razor uses the @ symbol to tell the developer that server side code follows so it makes sense to follow this standard.

I would suggest that a prefix that does not fit within standard HTML (including the upcoming Web Components) would be the best way to implement a feature like this.
I would also vote against making the syntax resemble the syntax of either razor or html elements too closely for a number of reasons. Most of which have probably been mentioned before in other comments, but which I'll state to reinforce them.

Home

This form is extremely ambiguous and even if it is created without clashes with current attribute names, there is no guarantee that future HTML specifications won't cause it to clash with valid client-side HTML.

<@a controller="Home" action="Index">Home</@a>

This form is better for having a non-standard element name, but I think you could then confuse it for (or it be indistinguishable from) a razor breakout into C#. Still suffers from potential HTML attribute clashes too.

Home

This form stops the standard attribute clash, though there is still a potential confusion with custom-attributes, but that's much less likely.
I'd have to agree with the first portion of the post by @glen-84 , the feature really only seems to be removing the need for the slightly ugly anonymous object/dictionary of attribute-value pairs in the HTML helpers and solutions to that of the form he suggested Link would seem to me to be the most useful and least troublesome/confusing option.

adding @ for attributes is perfect .. easy to implement and being noticed

My two cents is:
Make prefixes optional. This shouldn't be a zero sum feature.
My time is valuable.  Prefixes require extra keystrokes even with intellisense / code completion. It will take extra keystrokes that current tag helpers would not require. If you know the ins and outs of html, it won't be that hard to simply view tag helpers as a server side version of web components.  Keystrokes and time are a finite resource.  So as someone who has a degree in design, I prefer the current simplicity of the tag helpers.
That said, some people would prefer easy-to-scan code clarity over time spent on keystrokes. Making the prefix optional would sate both needs.
This feature was targeted towards teams that have designers that only work with photoshop and markup.
Ensure that designers are part of the feedback for this.  It would interesting to see how many of the comments in this list are from developers and how many are from people that are strictly designers that work with markup.

I think there should be some clear indication that an attribute is an ASP.Net attribute. A prefix convention seems like the simplest solution. The solution should not rely on Visual Studio syntax highlighting.

+1 for @ prefix for tags, not attributes
I agree with @glen-84, this whole thing looks and smells an awful lot like webforms.

I agree with @michaelherndon's comment.  Prefixes on both the html element (tag) and attribute level should be optional and left up to the designer/coder.
Personally I like the syntax that has no prefixes.
I definitely hate the data- prefix.  Server-side and client-side should never "see" each other.  If you force the data- syntax (e.g. data-action) then there would be no way to specify that data- attribute for the client.  As data- attributes are part of the HTML 5 spec (a client-side technology) it would be very confusing for people to start seeing it in the context of server-side code.  Especially when data- tags are mixed:  (  ).  Can you tell what is server-side and what is client side just by looking at that?

+1 for prefixes
If I write a plain attribute, I expect it to show up on the client side.
Doesn't matter if it's @, asp: or data-my-increadible-helper-attribute :)
But there has to be something that is illegal in plain HTML so it's crystal clear that it is server side.

After giving this some more thought - I believe TagHelpers are a terrible feature.

You will never find a syntax that makes designers AND developers happy.
We already have these kinds of helper tools via @Html and @Url helpers.
a.  If @Html and @Url helpers don't have what you need, write an extension method that suits you.
The potential for absolute mayhem is very high with this feature.  It dilutes the MVC/Razor framework.
It doesn't add anything to Razor.  I would think this would be much more appropriate in the WebForms engine rather than the Razor engine.

I, apparently, fail to see what problem TagHelpers is trying to solve.  Is there a legitimate need for this or is it just someone's idea of a fun syntactic sugar?
Instead of TagHelpers I would think making the Razor engine extensible so that things like TagHelpers can be plugged into the engine would be a better use of Team Razor's time.  Make Razor extensible and then write TagHelpers as an example optional plugin that can be loaded via NuGet.

Instead of TagHelpers I would think making the Razor engine extensible so that things like TagHelpers can be plugged into the engine would be a better use of Team Razor's time. Make Razor extensible and then write TagHelpers as an example optional plugin that can be loaded via NuGet

I agree 100%.
@DamianEdwards Is it too late for a change like this?

@danwalkerak and @glen-84,

Instead of TagHelpers I would think making the Razor engine extensible so that things like TagHelpers can be plugged into the engine would be a better use of Team Razor's time.

Now, based on your points, you apparently don't understand what it is and what it can do, even though you provided many arguments on why it shouldn't be done.

I, apparently, fail to see what problem TagHelpers is trying to solve.

There you go.

Is there a legitimate need for this or is it just someone's idea of a fun syntactic sugar?

They make the code more readable, allow better tooling and also allow certain tag and attribute manipulation that are not currently possible unless you code the entire thing into a method, which again makes the code harder to understand. It's a good problem to solve.
There are some articles you can google for and the Community Standup on @shanselman's youtube channel gives some of explanations on why it was built and what they are planning to do with it.
Personally I think it is great that Razor is getting a better way to parse and generate html. This idea works great for angular and web components, worked great for asp.net webforms for years, there is no reason it wouldn't work for razor. People are completely used to this concept of translating a tag or attribute to something else.

Make Razor extensible and then write TagHelpers as an example optional plugin that can be loaded via NuGet

It doesn't make sense to provide a separate dll for it because it is part of the compilation process. It makes as much sense as saying the C# compiler should require a nuget package to be able to parse "switch/case" statements.
You are probably confusing the tag helper as a "razor feature" that is being discussed here with the tag helpers that will be provided by default with MVC 6 for inputs and things like that. Those will come in nuget packages as part of mvc6 but that is a different project.
Also I'm amazed that the only point of this issue is to decide if tag helpers should have configurable prefixes or not. But very few people actually answered that.

@nvivo,
I shouldn't have quoted the "better use of Team Razor's time" part, I was just agreeing with the opinion that TagHelpers would be better suited as a plug-in. I have a huge amount of respect for Damian and the rest of the team.
I also watch all of the Community Standup videos, but I can't remember anything (apart from the @Html.ActionLink example) that explained why TagHelpers are an improvement over HTML helpers.
As for being more readable:
Link

Is "action" a client or server attribute? How do you know?
Anyway, you're right about the fact that this is not the correct place to discuss this. In fact, there's no reason to discuss it at all anymore, as it's very unlikely that anything will change at this late stage.

@glen-84, no problem, the answer was also more target at the author.

Is "action" a client or server attribute? How do you know?

I think this is exactly the point of this discussion. One way is to add something like a prefix. They are proposing set the prefix at the top of the page, so you can do whatever you want to identify them.
@taghelper "System.Web.Mvc.MvcDefaultHelpers" "asp-"
@taghelper "Telerik.PurchasedComponent.Helpers" "telerik-"
@taghelper "MyProject.MyHelpers" "myproject-"
...

This is very similar to how web controls were registered in asp.net, and that worked fine. In the end, you will probably have one or two prefixes registered in the web.config/config.json and get used to it. Visual Studio will have some syntax highlighting to differentiate registered server tags, and if you don't use VS, you can just lookup in the config file.
With Angular for example, you add a single ["module"] to your config file, and suddenly a lot of tags that have nothing to do with the name of the module become valid in your html. You don't have any way to identify them, and you need to look at the documentation to know that an attribute "allow-select-row" will be valid if you add the ["ngsmartgrid"] to your app, and people seem fine with that. Razor is going in a much better path allowing you to add prefixes in my opinion.
Also there are some interesting uses. Imagine you could do something like:


✨  Make additional button actions more discoverable

Overview of design need

Also link to any specific comments or threads where the problem to be solved by design is mentioned
Comment from Nick about how this relates to autoscaling work by Talley + Photoshop example

In a sentence or two, describe the problem to be solved for users
A few action buttons in the viewer have additional / "advanced" functionality beyond the initial function activated when user (left) clicks the button. This is currently surface in these places by right-clicking. However (especially since this is not a consistent action and only applies to a couple buttons), this is not discoverable. Users need to clearly know which actions have "advanced" additional actions.

There may be more instances, but so far this applies to:

the autoscale instance linked above, and
the play button for multi-dims sliders @ppwadhwa worked on earlier
(@ppwadhwa I know it is closed now, but do you know what that GH issue was? Then I can look at it for more context!)

What level of design is needed? (Choose all that apply)
This section may be updated by the designer / UX researcher working on this issue

[X] Maybe User experience research:  high-level recommendation/exploration of user needs, design heuristics, and / or best practices to inform a design experience
(Use this option when you feel there’s a challenge to be solved, but you’re curious about what the experience should be — may involve research studies to understand challenges/opportunities for design)
[ ] information flow / conceptual: organizing and structuring of information flow and content, including layout on screen or across multiple steps
[X] Visual: creating mockups, icons, etc
(If choosing this level alone, it means that the content to be mocked up and its organization is already known and specified)

Is design a blocker?

[ ] Yes: engineering cannot proceed without a design first
[X] No: engineering can create a first version, and design can come in later to iterate and refine

T-shirt size

[ ] ●○○○○ XS: able to be done in a typical workday or two
[X] ●●○○○ S: able to do within one sprint, if also working on other things in the sprint
[ ] ●●●○○ M: able to do within one sprint, if it is the sole focus
[ ] ●●●●○ L: will likely take more than one sprint to complete, but less than two
[ ] ●●●●● XL: a very large experience to be determined or overhauled, will need to be broken down further

@liaprins-czi The issue for the playback button is here: https://github.com/napari/napari/issues/2765
The PR merged has a video that shows the button in action: https://github.com/napari/napari/pull/2933#issuecomment-872738573
There is another button with a right click pop up--- the grid button that we just completed recently (with stride, widget, height).   Here is the PR that merged that new pop up: https://github.com/napari/napari/pull/3084
Let me know if I can help in any other way!

Wow thank you so much! This is so helpful!
On Fri, Aug 20, 2021 at 10:51 AM Pam @.***> wrote:

@liaprins-czi https://github.com/liaprins-czi The issue for the
playback button is here: #2765
https://github.com/napari/napari/issues/2765
The PR merged has a video that shows the button in action: #2933 (comment)
https://github.com/napari/napari/pull/2933#issuecomment-872738573
There is another button with a right click pop up--- the grid button that
we just completed recently (with stride, widget, height). Here is the PR
that merged that new pop up: #3084
https://github.com/napari/napari/pull/3084
Let me know if I can help in any other way!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/napari/napari/issues/3198#issuecomment-902857893, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AMWPDSCMLFXGAGDKWXLDXNTT52IYXANCNFSM5CK4ATNA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Lia Prins
Senior Data Visualization Designer
(650) 422-1750
chanzuckerberg.com


[Request] AutoSmelt Enchant in the Farming Station

It would be nice to see the autosmelt enchant from ttCore usable in the farming station. Early game it would be a nice avenue to go down to get some power without smelting wood into charcoal.
Enchant works manually with the Dark Steel axe, just not in the station.

can do.
However, there are some pitfalls: (1) Much(!) more code to run. (2) Axe damage is controlled by axe. (3) Special harvesting code of axes could run and interact with harvesting. (4) Energy use would be off for non-standard axes or if, we compensate, different than now for all axes.
(reminder for me: captureDrops(true); harvestBlock(); captureDrops(false); )

Bump plz

It looks like someone else shares the same dream of swimming in crap tons of charcoal as I do.  :')
—
Reply to this email directly or view it on GitHub.


Fix Docker High Memory Issue

Type
enhancement, documentation

Description

Added a .dockerignore file to optimize the Docker build context by excluding unnecessary files and directories.
Updated the Dockerfile to use a more stable Dart SDK version and included steps for fetching dependencies and running tests within the Docker build process.
Enhanced the melos.yaml configuration to include a new script for pre-fetching dependencies and improved the test script for more efficient execution.
Updated the README.md in the packages/polkadart directory with instructions for running an example, improving the documentation for new users.

Changes walkthrough
Relevant filesEnhancement

.dockerignoreAdd .dockerignore to Optimize Docker Build Context

.dockerignore
Added .dockerignore file to exclude unnecessary files and directories from the Docker build context, such as Dockerfile, build/, .dart_tool/, .git/, .github/, .gitignore, and .packages.

+8/-0

DockerfileOptimize Dockerfile for Better Dependency Management and Testing

docker/Dockerfile
Changed the base image from dart:stable-sdk to dart:stable to use a more stable version of the Dart SDK.  Added commands to fetch dependencies and run tests directly in the Dockerfile, improving the Docker image build process.

+3/-2

melos.yamlEnhance Melos Configuration for Improved Dependency Management and Testing

melos.yaml
Added a new script fetch_dependencies to pre-fetch all packages, improving the setup process for development and CI environments.  Modified the test script to include flags --no-chain-stack-traces, --ignore-timeouts, and --concurrency=1 for more efficient and focused test execution.

+7/-1

Documentation

README.mdUpdate README with Example Running Instructions

packages/polkadart/README.md
Added a new section "Running Example" with instructions on how to fetch dependencies and run an example Dart script, enhancing the documentation for new users.

+8/-0

✨ PR-Agent usage:
Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

@leonardocustodio
Can you please merge it?


Nick: Watch topgrademakers.com

Nick requests the watch of the watch_keyword topgrademakers\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

topgrademakers\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


Add RBIs for some URI methods (take two)

Motivation
Now version of #2154 with a more permissive signature for encode_www_form_component.
The previous PR was suggesting this signature:
  sig do
    params(
      str: String,
      enc: T.nilable(Encoding)
    ).returns(String)
  end
  def self.encode_www_form_component(str, enc=nil); end

While both the documentation and the parameter name hint for str to be a String, the signature was in fact too restrictive for Stripe codebase and got reverted.
As discussed with @elliottt, str can actually be an Object so it accepts nilable.
Hence here the new signature:
  sig do
    params(
      str: Object, # So we accept things like `URIf.encode_www_form_component(nil)`
      enc: T.nilable(Encoding)
    ).returns(String)
  end
  def self.encode_www_form_component(str, enc=nil); end

Test plan
See included automated tests.

cc. @elliottt, @paracycle


BUG: --all may result in recaps overwriting the previous episode

Program version
3.0.7
Operating System
Linux
Type
Cli
Service
Crunchyroll
Command used
./aniDL --s GREX1K2GY --all
Show ID
GRE5K3NQ6
Episode
GRZJ2DNG6
Console Output
=== Multi Downloader NX 3.0.7 ===
[INFO] USER: jurobei0<EMAIL_ADDRESS>[INFO] Your Country: US
[INFO] Requested object ID: GRZJ2DNG6
✓[S:GREX1K2GY|E:GRZJ2DNG6|EPI.778618] 91 Days (English Dub) - 7.5 - Brief Candle [24m33s, DUB, STREAM]
- Subtitles: en
[INFO] Requesting: [E:GRZJ2DNG6] 91 Days (English Dub) - 7.5 - Brief Candle
[INFO] Selecting raw stream
[INFO] Full stream found! (✓1: adaptive_hls/eng/- )
[INFO] Full stream found! ( 2: download_hls/eng/- )
[INFO] Full stream found! ( 3: vo_adaptive_hls/eng/- )
[INFO] Downloading video...
[INFO] Playlists URL: https://pl.crunchyroll.com/evs3/0589955771563e14017c8e61ad9094ae/assets/abafa33f3c9e2368878d1ed81f82004b_,3573577.mp4,3573578.mp4,3573576.mp4,3573574.mp4,3573575.mp4,3573573.mp4,.urlset/master.m3u8?Expires=1656771879&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9wbC5jcnVuY2h5cm9sbC5jb20vZXZzMy8wNTg5OTU1NzcxNTYzZTE0MDE3YzhlNjFhZDkwOTRhZS9hc3NldHMvYWJhZmEzM2YzYzllMjM2ODg3OGQxZWQ4MWY4MjAwNGJfLDM1NzM1NzcubXA0LDM1NzM1NzgubXA0LDM1NzM1NzYubXA0LDM1NzM1NzQubXA0LDM1NzM1NzUubXA0LDM1NzM1NzMubXA0LC51cmxzZXQvbWFzdGVyLm0zdTgiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NTY3NzE4Nzl9fX1dfQ__&Signature=gQB79w24eLrZ-GykNKNSf2B0GzseQpROiNcIdO6fCyYttQbM5UK0tHyKQdNeUnbD36qo5s~o~sn3kJ5OLhpqVCg979C5faSioZcbc8ErpDnAqtXZsx5Ucks6CeuctgbusySIJdvuVHxosd5PWdslC6RDIydPBc7krrQl20KckaDO~P-TrAc9n3STg~rzZsH5FFJOLZ9fZXRv-FDBBxIt-gn6FvCpoLaqP-OxT~b-EAg0IZYfUD8D974fEc8wcfkKPvDoZ3jdgs~n8yLD2~Y2FmDS-gj~ESsDrZKuYeEyR9NjtT4mMtLLkdf9szw7lecQLMwcquBYN74KQ-FQezNTcQ__&Key-Pair-Id=APKAJMWSQ5S7ZB3MF5VA (adaptive_hls/eng/-)
[INFO] Servers available:
pl.crunchyroll.com (ll-prod)
pl.crunchyroll.com (akamai-prod)
[INFO] Available qualities:
[1] 144x80 (83KiB/s)
[2] 428x240 (333KiB/s)
[3] 640x360 (480KiB/s)
[4] 848x480 (773KiB/s)
[5] 1280x720 (2274KiB/s)
[6] 1920x1080 (5990KiB/s)
[INFO] Selected quality: 1920x1080 @ pl.crunchyroll.com (ll-prod)
[INFO] Stream URL: https://pl.crunchyroll.com/evs3/0589955771563e14017c8e61ad9094ae/assets/abafa33f3c9e2368878d1ed81f82004b_3573578.mp4/index-v1-a1.m3u8?Expires=1656771880&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9wbC5jcnVuY2h5cm9sbC5jb20vZXZzMy8wNTg5OTU1NzcxNTYzZTE0MDE3YzhlNjFhZDkwOTRhZS9hc3NldHMvYWJhZmEzM2YzYzllMjM2ODg3OGQxZWQ4MWY4MjAwNGJfKi5tM3U4PyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2NTY3NzE4ODB9fX1dfQ__&Signature=FsV2N2v-Y8V27Z7y98OADloUBXAx2Y9zB7OXH3bnOYqzujWu0NiR1BAxYXp4QjdmR6GMhDJB5Elh22B5okkgld8o3NXYhMQK-5lIjdNDZ7u9dLWGifOlyDOaIPM3hRrChXQDGS9ynU~g4sa26RC2TGvEwvpr~KBFRQSUcJVr5bijZLyccuLQ5~MTxzwZakr19hWmEXeteG4CMiZrMuyZ01CRmqJTva00sacnGRnZqvcqv5mlpOsNTlku0-UpbDpDESezfSDI3jCz-PZnkxK9O7CF3bAStGGmrta7ThUdYx4MZ1FN-6o6nxyy06y2NPFGwjlv9d7juOog5sYp3jSGww__&Key-Pair-Id=APKAJMWSQ5S7ZB3MF5VA&cdn=ll-prod
[INFO] Output filename: 91 Days (English Dub) [1080p]/E07.English
[INFO] Total parts in stream: 369 (37*10)
[INFO] Saving stream to «/home/shinji/multi-downloader-nx/videos/91 Days (English Dub) [1080p]/E07.English.ts»...
[INFO] 10 of 369 parts downloaded [3%] (26s | 33Mb/s)
[INFO] 20 of 369 parts downloaded [5%] (21s | 42Mb/s)
[INFO] 30 of 369 parts downloaded [8%] (19s | 46Mb/s)
[INFO] 40 of 369 parts downloaded [11%] (17s | 47Mb/s)
[INFO] 50 of 369 parts downloaded [14%] (16s | 48Mb/s)
[INFO] 60 of 369 parts downloaded [16%] (15s | 49Mb/s)
[INFO] 70 of 369 parts downloaded [19%] (15s | 49Mb/s)
(snip remaining)
Additional Information
Special episodes usually are listed on the website as Episode 7.5 or as SP.  In the case of the latter it seems to name them properly but in this instance it is marked as 7.5 and the output of --srz just mentioned it as S01.  I'm not tagging in season number normally but I did try once and it said undefined for it.  I guess in that case it would have ended up unique.  Is there any way we can somehow catch that?

In most cases it seems to overwrite without prompting at all.

I just realized that I believe this is the same as #324

It might be, but until I investigate further, it's not clear. Therefor, I will leave this issue open until further notice.


How to pass arguments (@ARGV) to a perl script

When I use perl-debug-adapter in neovim, I find that there is no place to add args. How can I modify the configuration file in the Readme to pass the parameters?

这是我的nvim的dap.configuration文件配置

You can set the arguments using the launch.json. For example:

You can find all possible parameters defined inside the package.json of the project.

Closing this issue as it appears to be resolved based on the previous guidance. If you need further assistance, please feel free to reopen the issue. You might also find additional support in the nvim-dap documentation, which provides guidance on configuring the client side when working with debug adapters in general using neovim.


WIP: Redesign of consent screen

TODO:

[ ] Slide-ins as described in pivotal
[ ] Fix failing SSO behat test
[ ] Show logo for aggregation sources (currently showing a placeholder)

Closing, see final version in PR #458.


native base v2.13.8 floatingLabel don't work in production

Hi,
I'm using nativebase v2.13.8 in my react native using exp app, but stuck with floatingLabel. It don't work when init value. This is what displayed when set initial value for input with floatingLabel.

Here is my sdk version:
"expo-font": "~7.0.0",
"formik": "^1.5.8",
"lodash": "^4.17.15",
"native-base": "2.13.8",
"react": "16.8.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz"
Run well in development but fail in production !

Me too, doesn't work that!


handleSubscriberException() consumes all Throwables, even java.lang.Error

When throwSubscriberExceptions flag is not set, Error thrown in subscriber method will be consumed. Even with flag sendSubscriberExceptionEvent there is no way to propagate error, because any Throwable thrown in handler of SubscriberExceptionEvent would be also consumed.
Subclasses of java.lang.Error should not be consumed, because it can leave the app in inconsistent state.
https://github.com/greenrobot/EventBus/blob/master/EventBus/src/de/greenrobot/event/EventBus.java#L523

According to docs an Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.
https://docs.oracle.com/javase/7/docs/api/java/lang/Error.html
Maybe there are some usecases where it can be handled, but in my opinion default behavior should be not to consume such throwables.


Single-number

Related Issue
Closes: #824
Describe the changes you've made
Added folder and c file
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
C
Checklist:

[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 documented the code.
[x] New and existing unit tests pass locally with my changes.

@bharth-stack You are not following Contribution Guidelines.  Please make changes accordingly.


Inference with FlowPSAM+FlowISAM

The paper mentions "layering the motion segmentation masks behind RGB-based
segmentation masks." I don't see any layering in the eval script. How/where do you perform inference for  FlowP-SAM + FlowI-SAM?

Hi, thanks for your interest in our work.
This is L66-68 in seq_level_postprocess.py

I'm assuming pred_dir should have the RGB/FlowPSAM-based segmentations and the flow_pred_dir should have the flow/FlowISAM based ones? Thanks

That is correct — we will clarify this in the code/md shortly to make this clearer

Thanks so much!

Another question: In the dataset directory structure:
{data_name}/
├── JPEGImages/
│   └── {category_name}/
│       ├── 00000.jpg
│       └── ......
├── FlowImages_gap1/
│   └── {category_name}/
│       ├── 00000.png
│       └── ......
├── ...... (More flow images)
Is it assumed that flow images gap 1 is between JPEG images 00000 and 00001 and gap 2 would be between 00000 and 00002?

That's correct, more precisely flowimages_gap_1/00000.png is from JPEG images 00000.jpg to 00001.jpg

Leaving it as None defaults to evaluating on the entire validation set. You may put in your list of sub-sequences instead if you're debugging something and don't want to evaluate on all sequences, but otherwise just leave it as such.
L35-52 of data/dataloaders/ytvos_loader.py should reflect this example

It looks like seq_loevel_postprocess is missing a read import- where does that come from?

Hi, sorry -- we'll add to the main version soon, but meanwhile this is the function.
def read(file):
	assert type(file) is str, "file is not str %r" % str(file)
	assert os.path.isfile(file) is True, "file does not exist %r" % str(file)
	assert file[-4:] == '.flo', "file ending is not .flo %r" % file[-4:]
	f = open(file,'rb')
	flo_number = np.fromfile(f, np.float32, count=1)[0]
	assert flo_number == TAG_FLOAT, 'Flow number %r incorrect. Invalid .flo file' % flo_number
	w = np.fromfile(f, np.int32, count=1)
	h = np.fromfile(f, np.int32, count=1)
	data = np.fromfile(f, np.float32, count=2*w[0]*h[0])
	#data = np.fromfile(f, np.float32, count=2*w*h)
	# Reshape data into 3D array (columns, rows, bands)
	flow = np.resize(data, (int(h), int(w), 2))
	f.close()

	return flow

Is seq_level_postprocess how you generated the figures on the website? As in the segmentation overlaid with the RGB?

The overlay code uses the mask output together with cv2.addWeighted

My flowisam and flowpsam predictions on the DAVIS16 black swan seem noisier than the ones that you all have on your site. I ran the flow prediction script from this repo and then flowisam and flowpsam inference with evaluation.py. Is that how you all produced the segmentations for those figures or was there additional post-processing?

Oh the swan one was FlowPSAM+FlowISAM, were the segmentations noisier when you ran each method individually on that one?

Another question, in some of the figures on the website, it says flowISAM (sequential), does that mean the sequential post processing script was used to generate it? Thanks!

For single-object cases we just use the first mask for all frames, no need to run. For multi-object, yes.

How do you filter out just the first mask?

Also, where does the sum function used here come from?
def iou(masks, gt, thres=0.5):
    """ IoU predictions """
    masks = (masks>thres).float()
    gt = (gt>thres).float()
    intersect = (masks * gt).sum(dim=[-2, -1])
    union = masks.sum(dim=[-2, -1]) + gt.sum(dim=[-2, -1]) - intersect
    empty = (union < 1e-6).float()
    iou = torch.clip(intersect/(union + 1e-12) + empty, 0., 1.)
    return iou

I got this error:
/flowsam/utils.py", line 21, in iou
    intersect = (masks * gt).sum(dim=[-2, -1])
TypeError: _sum() got an unexpected keyword argument 'dim'

I also got an error about floats in iou. Is that version of the iou function up to date?
And just to double check, the flow_dir directories should point to Flows_gapX directories, right? With the .flo files? Thanks!

I think in seq_level_postprocess.py the masks are being np.stacked together, and it seems like they should be torch.stacked together, if iou assumes that masks is a tensor?

How do you filter out just the first mask?
As in, just do f = processMultiSeg(...)[0:1] -- this picks the first one (the one with highest predicted score)
it seems like they should be torch.stacked
Very likely the case. If this doesn't work let me know and I'll find a fix, otherwise I'll update it shortly.
the flow_dir directories should point to Flows_gapX directories, right? With the .flo files?
Yes this is correct.

When you specify the number of objects in the eval, does that correspond to the number of masks in the segmentation?

That might be in the GT seg? so single object would be 1 and multi object will be max in that dataset

Very likely the case. If this doesn't work let me know and I'll find a fix, otherwise I'll update it shortly.

In terms of seq_level_postprocess.py I haven't been able to get it to produce good masks. They're really pixelated for some reason. The only thing I modified was converting between numpy arrays and torch tensors to resolve errors.

Would you mind updating the sequential post processing script to match whatever it was when it worked? I would love to be able to reproduce your results. Thank you!

I'll likely have time this weekend to update.
Meanwhile could you check whether the individual masks are correct i.e. frame-wise score matches the table?

I've updated the iou in utils.py -- I uploaded the wrong version initially. The emp is just a tiny consistency on how to deal with empty masks (to be consistent with previous literature).
If your masks look pixelated -- could you check your initial individual masks prediction whether they look reasonable?

I have one question: What should I set to the "gap"?


Improve docs for Input and Form and friends.

Fixes https://github.com/flutter/flutter/issues/7017

This is great. LGTM with the above changes.


UI API called from the background thread.

SVProgressHUD.m -- sharedView class method,
Code snippet here:
static SVProgressHUD *sharedView;
#if !defined(SV_APP_EXTENSIONS)
dispatch_once(&once, ^{ sharedView = [[self alloc] initWithFrame:[[[UIApplication sharedApplication] delegate] window].bounds]; });
#else
dispatch_once(&once, ^{ sharedView = [[self alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; });
#endif

I had the same problem.
dispatch_async(dispatch_get_main_queue(), ^{
            [SVProgressHUD show];
});

This does not eliminate the Main Thread Checker warning.

Yes, I had the same problem.

I have the same problem.

It's 2019 and the issue still exists.

I had the same problem.
dispatch_async(dispatch_get_main_queue(), ^{
            [SVProgressHUD show];
});

This does not eliminate the Main Thread Checker warning.

Looks like a CoreMotion bug , I only encountered this situation in XR / XS /XSM and new iPad Pro.

Is there anything we can do to work around this? Any insight/input is appreciated. Just started testing my app on a new XR and I'm getting this issue pretty frequently.

I have the same problem.Xcode 10.2 iOS12.1 iPhone XR

Same here. Iphone Xs xcode 10.2.

Same here. iPhone XS Max, Xcode 10.2, Swift 5.0

The same issue, and app not crashed, it occurred in my iPhone XR ,not occurred in my iPhone 6

Same here. iPhone XS, Xcode 10.2, Swift 5.0.

Same here. iPhone XR, Xcode 10.2, Swift 5.0.

it's May 2019 and I'm still facing this problem with Swift 5 and Xcode 10.2, iPhone XS Max

Same problem here. iPhone XSM, Xcode 10.2, Swift 5.0.

Same here.

Same issue here.

same issue here.
The problem existed over 1 years.

Hey guys, it seems that this issue concerns CoreMotion on iPhone X/Xs/Xr, the behavior is the same, I don't have any problem with SVProgressHud's animation when my device is not running from Xcode
Radars are opened for this and only happens in Debug mode
https://openradar.appspot.com/46210367
https://openradar.appspot.com/45003816
An other topic with same issue :
https://github.com/Instabug/Instabug-iOS/issues/298
PS : I really don't why CoreMotion is involved in here but my console references to it, same as yours I guess..


IRCCloud logo pushed outside of top of page.

Having the header margin at 0 was pushing the logo outside of the top of the screen. Changing it to 10px aligns the logo to sit vertically in the middle of the header section.

I do remember adding a line of margin-top: 0 for h1#title a few days ago (here : 2cb2b0de2323437b8eed71c0509028223012907a) because it suddenly was pushed down 10 pixels. I've tested on both FF and Chrome and is looking fine for me with the latest code I've pushed to userstyles. Looking at the screenshots it seems like you've modified the default fonts, could there by any other place you might have changed?

I have changed the default font locally on my machine since I do prefer monospaced fonts for IRC. I reverted my installation of Aquamarine to be what is on userstyles.org and this is the end result:

The logo is still being pushed outside of the top of the screen. Inspecting the CSS on the page shows that IRCCloud applies a margin-top of 10px that is overwritten by Aquamarine to be 0. Reverting it back to the 10px aligns the logo properly.

I could not reproduce this problem on my end as reverting the 0px override to 10px pushes down the logo. Instead I just rewrote all the code with static height values and all to reposition everything in the latest commit 9b5f53e6b3522be5f16e7c6730d6b5540fbf27f4. Try updating and let me know how it goes.


JAMES-1607 move MailboxCopier to api to make it available in mailbox-…

…adapter

merged some time ago


Remove CallInfo from vtgate

@guoliang100 @alainjobart

I wish we could keep it, but let's do this for now and see later what we can do...
LGTM


Support for Load Balancer diagnostics in National Clouds

The diagnostics blade is not visible in Load Balancers in national clouds neither do ARM template deployments. I get the following exception: { "code": "BadRequest", "message": "Category 'LoadBalancerAlertEvent' is not supported." }
Is there any plan to support this in national clouds?

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

ID: d797fa9d-3a8c-6775-978d-c4e9420872c2
Version Independent ID: 8770fb75-b8fd-af32-10a8-5d1391217333
Content: Monitor operations, events, and counters for public Basic Load Balancer
Content Source: articles/load-balancer/load-balancer-monitor-log.md
Service: load-balancer
GitHub Login: @KumudD
Microsoft Alias: kumud

@johnthcall , I will check with the Product Group and get back to you.

@johnthcall , Can you provide me following info?

What errors do you see with ARM template deployment in national clouds?
Which national cloud is it?
Do you only see this error with LB, or ARM template in general?

@msrini-MSFT

I get the follow error for the LB diagnostic resource: { "code": "BadRequest", "message": "Category 'LoadBalancerAlertEvent' is not supported." }
I see this in both Fairfax and Mooncake
In the deployment view I see it as failing the individual LB diagnostic resource, all other resources deploy successfully so it's not an ARM level validation error but an error with the specific RP.

StartTime: 05/15/2019 16:56:46 UTC Resource Name:   LB-gov-art-mcn2-nt-a-nt/Microsoft.Insights/gov-art-mcn2-nt-a-nt-LBDiagnostics,   Type: Microsoft.Network/loadBalancers/providers/diagnosticSettings   OperationId:C1DE6A60D43CFCE1,   CorrelationId: 615fa703-e0ed-4457-88e9-ba09e171b257,   State:Failed, StatusCode: BadRequest   StatusMessage: { "code": "BadRequest",   "message": "Category 'LoadBalancerAlertEvent' is not   supported." }

@johnthcall , thank you for your inputs. Will get back to you once I get an update.

@johnthcall , what is the LB SKU you are trying to deploy?
If it is basic SKU, it might not be available in National cloud

The load balancer is Standard SKU
From: KARTHIK SRINIVAS<EMAIL_ADDRESS>Sent: Friday, May 17, 2019 9:26 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: John Call<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Support for Load Balancer diagnostics in National Clouds (#31298)
@johnthcallhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjohnthcall&data=02|01|johncall%40microsoft.com|152ac40ff1494b83f38008d6dae46385|72f988bf86f141af91ab2d7cd011db47|1|0|636937071788732958&sdata=81lFRMebMpsVZF7NzR%2BUvM0LDM1QAOA9xUV5CMI24Ag%3D&reserved=0 , what is the LB SKU you are trying to deploy?
If it is basic SKU, it might not be available in National cloud
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F31298%3Femail_source%3Dnotifications%26email_token%3DAFRF6BS4LJO4OIODHBVWM7LPV3MCPA5CNFSM4HNFJCVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVVHCUI%23issuecomment-493515089&data=02|01|johncall%40microsoft.com|152ac40ff1494b83f38008d6dae46385|72f988bf86f141af91ab2d7cd011db47|1|0|636937071788743079&sdata=AtQXsVTo%2FV2%2Bmh38KnyvQvasa7pLrxuHbnAC%2B43PG5A%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFRF6BQ3Z65RDXURVS37KB3PV3MCPANCNFSM4HNFJCVA&data=02|01|johncall%40microsoft.com|152ac40ff1494b83f38008d6dae46385|72f988bf86f141af91ab2d7cd011db47|1|0|636937071788743079&sdata=N6djl9I3P3DvBOme%2BVpVarTDhQfKAuVty6bKAmjJR3E%3D&reserved=0.

@johnthcall , Diagnostic logs are not supported in National clouds. This is apparently in the backlog. ETA cannot be shared in this Forum.


Request to get new refreshToken is not working in GraphQL

What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What steps can reproduce the bug?

Login into the app
Wait for 15 min for the access token to get expired
Refresh page to test refresh token fetching

What is the expected behavior?
It should use the refreshToken route to get the new accessToken
What do you see instead?
It fails the request and logouts the user
Additional information
No response

Hi @anandkm629 ,
This has been fixed in patch 0.1.6


parallelize some build steps

Use waitFor in cloud build to avoid unnecessarily waiting on prior steps.

/gcbrun

/gcbrun

/gcbrun

/gcbrun


Update README.md

tet

Scan submitted to Checkmarx

asd

Scan not submitted to Checkmarx due to existing Active scan for the same project.

Checkmarx SAST - Scan Summary & Details
Cx-SAST Summary
Total of 95 vulnerabilities 2 High 5 Medium 88 Low 0 Info
Violation Summary
 2 High 5 Medium
View more details on Checkmarx UI
Cx-SAST Details

Lines
Severity
Category
File
Link

42 50
Medium
Privacy_Violation
src/main/java/com/appsecco/dvja/controllers/UserAction.java
Checkmarx

34
Medium
Privacy_Violation
src/main/java/com/appsecco/dvja/controllers/Login.java
Checkmarx

42
Medium
Privacy_Violation
src/main/java/com/appsecco/dvja/controllers/Register.java
Checkmarx

1
Medium
HttpOnlyCookies_In_Config
src/main/webapp/WEB-INF/web.xml
Checkmarx

22
High
SQL_Injection
src/main/webapp/WEB-INF/dvja/UserSearch.jsp
Checkmarx

63
High
SQL_Injection
src/main/webapp/WEB-INF/dvja/ProductList.jsp
Checkmarx


Change recipe system

Move most if not all recipes from the way they are now, to IRecipeContainer methods in the correct blocks and item classes.

We might be switching to a property system using JSON soon if you are willing to wait. https://github.com/BuiltBrokenModding/VoltzEngine/issues/66

Hmmm, any ETA on that? Might just wait, seeing as how there is a minuscule amount of recipes that need moving. and it's not confusing, yet.

I'm hoping to get it done in the next week or two so I can start porting mods over to 1.8+

Sounds good. I'll probably just wait then, JSON FTW!


renew letsencrypt certificate with nginx client-certificate turning on

Our websites is now using nginx-proxy + lets encrypt-nginx-proxy-companion, with nginx client-certificate turning on: ssl_verify_client on;
One issue comes when certificate expired and LE agent tries to renew the certificate.
The request from LE tries to GET /.well-known and gets redirected to HTTPS, and then fails as LE does't have a client certificate.
Similar issue was asked here: https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion/issues/299
The final solution was to override the nginx.tmpl, which seems a bit hacky.
I wonder if there would be some environment variables for me to set and cover this situation?

This PR would solve the issue: https://github.com/jwilder/nginx-proxy/pull/1338


Return responses in corresponding request order

Changed

Return responses in corresponding request order, following the advice of https://github.com/microsoft/language-server-protocol/issues/306.

While the server implementation is free to process incoming requests concurrently in whatever order it wants, it is generally preferred for servers to send responses back to the client in the same order the requests were sent, for the sake of convenience on the client side.
To ensure we don't stall the executor in cases of exceptionally high bidirectional traffic, we also increase the minimum buffer size for processing stdin messages from 1 to 16. In practice, typing extremely quickly in my own editor, this seemed to be a pretty reasonable threshold.

After waiting a while and pondering the implications of this change, I think this should be okay to merge. We can always easily revert to the old behavior should issues arise, and it should not constitute a semver breaking change (request/response ordering isn't strictly defined in either JSON-RPC nor LSP; the change this PR lands is purely advisory).


Configuration file issue, plugin folder key name not specified in configuration file.

###System details:
Description:	Ubuntu 15.04
Linux my-pc 3.19.0-21-generic #21-Ubuntu SMP Sun Jun 14 18:31:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
###Steps to reproduce:
I cloned the repo and tried the quick start steps : http://pythonhosted.org/airflow/start.html
got error at the following step:
$ airflow initdb
Traceback (most recent call last):
File "/usr/local/bin/airflow", line 3, in
from airflow.bin.cli import get_parser
File "/usr/local/lib/python2.7/dist-packages/airflow/init.py", line 10, in
from airflow.configuration import conf
File "/usr/local/lib/python2.7/dist-packages/airflow/configuration.py", line 276, in
conf.read(AIRFLOW_CONFIG)
File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
self._read(fp, filename)
File "/usr/lib/python2.7/ConfigParser.py", line 546, in _read
raise e
ConfigParser.ParsingError: File contains parsing errors: /home/viki/airflow/airflow.cfg
[line 32]: '/home/viki/airflow/plugins\n'
The error seems to be because the configuration file is like this
# Where your Airflow plugins are stored
/home/viki/airflow/plugins
i changed it to
# Where your Airflow plugins are stored
plugins_folder = /home/viki/airflow/plugins
and it worked.

good catch, v1.1.1 is coming to fix this

v1.1.1 is out here and addresses this bug:
https://pypi.python.org/pypi/airflow/1.1.1
I'll need to add a unit test to parse the default cfg ...


Abilitiy to limit network bandwidth

How can I limit network bandwidth and disk I/O bandwidth in docker? I can see options for cpu and memory . I tried --lxc-conf command but not getting the desired results.

closing as duplicate of https://github.com/docker/docker/issues/4763


✨ Add Databricks support

Description & motivation
Adds support for Databricks.
Ideally this should be tested more thoroughly and refactored a bit so that the get_profile macro doesn't have as much code duplication but at least it seems to be working.
Checklist

[ ] I have verified that these changes work locally on the following warehouses (Note: it's okay if you do not have access to all warehouses, this helps us understand what has been covered):

[ ] Postgres
[ ] BigQuery
[ ] Snowflake
[ ] Redshift
[x] Databricks (tested on a small table with only a subset of the data types)

[ ] I have written tests for new macros (either as dbt schema tests in integration_tests/models, dbt data tests in integration_tests/tests or integration tests in the CI workflow)
[x] I have updated the README.md (if applicable)

Thanks for implementing this @Trymzet ! ❤ I'll merge it right away and deal with the code duplication later.

Thank you! If there's any issue with this adapter, feel free to tag me and I can support.


Cannot upgrade vela cli from 1.8.2 to 1.9.1

Describe the bug
I have installed the kube-vela cli of version 1.8.2 .
[root@xy-5-server14 resources]# vela version
CLI Version: 1.8.2
Core Version: 1.9.1
GitRevision: git-360f69be
GolangVersion: go1.19.9

I want to upgrade kube-vela cli from the version of 1.8.2 to 1.9.1 refer to the the document https://kubevela.io/zh/docs/platform-engineers/advanced-install. I failed .
[root@xy-5-server14 resources]# curl -fsSl https://kubevela.io/script/install.sh | bash
Your system is linux_amd64

Vela CLI is detected:
CLI Version: 1.8.2
Core Version: 1.9.1
GitRevision: git-360f69be
GolangVersion: go1.19.9
Reinstalling Vela CLI - /usr/local/bin/vela...

Getting the latest Vela CLI...
Installing v1.8.2 Vela CLI...
Downloading https://static.kubevela.net/binary/vela/v1.8.2/vela-v1.8.2-linux-amd64.tar.gz ...
vela installed into /usr/local/bin successfully.
CLI Version: 1.8.2
Core Version: 1.9.1
GitRevision: git-360f69be
GolangVersion: go1.19.9

To get started with KubeVela, please visit https://kubevela.io
[root@xy-5-server14 resources]# vela version
CLI Version: 1.8.2
Core Version: 1.9.1
GitRevision: git-360f69be
GolangVersion: go1.19.9

the version of kubeVela cli is still 1.8.2 ,not change.
Cluster information

Kubernetes Version 1.24.10

Sorry, due to the binary registry migration, you need to upgrade the CLI from downloading the binary in the release page: https://github.com/kubevela/kubevela/releases/tag/v1.9.2

Sorry, due to the binary registry migration, you need to upgrade the CLI from downloading the binary in the release page: https://github.com/kubevela/kubevela/releases/tag/v1.9.2

I download vela cli and replace my local /usr/local/bin/vela .
[root@xy-5-server14 addons]# vela version
CLI Version: 1.9.2
Core Version:
GitRevision: git-48cf6fb1
GolangVersion: go1.19.10

Then I install vela again,the error happen:
[root@xy-5-server14 addons]# vela install
Check Requirements ...
Installing KubeVela Core ...
Helm Chart used for KubeVela control plane installation: https://kubevela.github.io/charts/vela-core-1.9.2.tgz
Start upgrading Helm Chart kubevela in namespace vela-system
getting history for release kubevela
ERR  Couldn't get resource list for cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
ERR  Couldn't get resource list for cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
creating 1 resource(s)
CRD applicationrevisions.core.oam.dev is already present. Skipping.
ERR  Couldn't get resource list for cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
ERR  Couldn't get resource list for cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
creating 1 resource(s)
CRD applications.core.oam.dev is already present. Skipping.
ERR  Couldn't get resource list for cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
ERR  Couldn't get resource list for cluster.core.oam.dev/v1alpha1: the server is currently unable to handle the request
creating 1 resource(s)

it means the installation above failed by vela cli.
Then I try to install vela core by helm charts. and it suc.
[root@xy-5-server14 tmp]# helm pull kubevela/vela-core --version 1.9.2
[root@xy-5-server14 tmp]# ls
vela-core-1.9.2.tgz
[root@xy-5-server14 tmp]# tar -zxvf vela-core-1.9.2.tgz
[root@xy-5-server14 vela-core]# helm install kubevela . -n vela-system --create-namespace
NAME: kubevela
LAST DEPLOYED: Fri Jun 30 16:38:11 2023
NAMESPACE: vela-system
STATUS: deployed
REVISION: 1
NOTES:
Welcome to use the KubeVela! Enjoy your shipping application journey!

                                   ,
                                   //,
                                   ////
                               ./  /////*
                             ,///  ///////
                           ./////  ////////
                          ///////  /////////
                         ////////  //////////
                       ,/////////  ///////////
                      ,//////////  ///////////.
                     .///////////  ////////////
                     ////////////  ////////////.
                    *////////////  ////////////*
       #@@@@@@@@@@@*     ..,,***/  /////////////
        /@@@@@@@@@@@#
         *@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&
          .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@.

              @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
                .&@@@*    *@@@&    ,@@@&.

       _  __       _          __     __     _
      | |/ /_   _ | |__    ___\ \   / /___ | |  __ _
      | ' /| | | || '_ \  / _ \\ \ / // _ \| | / _` |
      | . \| |_| || |_) ||  __/ \ V /|  __/| || (_| |
      |_|\_\\__,_||_.__/  \___|  \_/  \___||_| \__,_|

You can refer to https://kubevela.io for more details.

then I vela addon enable fluxcd.some error happend
[root@xy-5-server14 addons]# kubectl -n flux-system get pods
NAME                                                 READY   STATUS             RESTARTS      AGE
fluxcd-helm-controller-5995f59c4b-bb8dj              0/1     CrashLoopBackOff   4 (40s ago)   2m19s
fluxcd-image-automation-controller-58dbf5c55-tk46r   0/1     CrashLoopBackOff   4 (48s ago)   2m19s
fluxcd-image-reflector-controller-b8cbbb9b8-d57df    1/1     Running            1 (15s ago)   2m19s
fluxcd-kustomize-controller-79b8d99d-lvfn6           0/1     CrashLoopBackOff   4 (37s ago)   2m19s
fluxcd-source-controller-57cd756865-dtnxn            0/1     CrashLoopBackOff   4 (38s ago)   2m20s
[root@xy-5-server14 addons]#
[root@xy-5-server14 addons]#
[root@xy-5-server14 addons]# kubectl -n flux-system logs fluxcd-helm-controller-5995f59c4b-bb8dj
{"level":"info","ts":"2023-06-30T08:50:31.849Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":":8080"}
{"level":"error","ts":"2023-06-30T08:50:31.887Z","logger":"setup","msg":"unable to create controller","controller":"HelmRelease","error":"no matches for kind \"HelmRelease\" in version \"helm.toolkit.fluxcd.io/v2beta1\"","stacktrace":"main.main\n\t./main.go:183\nruntime.main\n\truntime/proc.go:250"}
[root@xy-5-server14 addons]# kubectl -n flux-system logs fluxcd-image-automation-controller-58dbf5c55-tk46r
{"level":"info","ts":"2023-06-30T08:50:23.845Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":":8080"}
{"level":"error","ts":"2023-06-30T08:50:23.881Z","logger":"setup","msg":"unable to create controller","controller":"ImageUpdateAutomation","error":"no matches for kind \"ImageUpdateAutomation\" in version \"image.toolkit.fluxcd.io/v1beta1\"","stacktrace":"main.main\n\t./main.go:160\nruntime.main\n\truntime/proc.go:250"}
[root@xy-5-server14 addons]# kubectl -n flux-system logs fluxcd-kustomize-controller-79b8d99d-lvfn6
{"level":"info","ts":"2023-06-30T08:50:34.823Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":":8080"}
{"level":"error","ts":"2023-06-30T08:50:34.861Z","logger":"setup","msg":"unable to create controller","controller":"kustomize-controller","error":"failed setting index fields: no matches for kind \"Kustomization\" in version \"kustomize.toolkit.fluxcd.io/v1beta2\"","stacktrace":"main.main\n\t./main.go:161\nruntime.main\n\truntime/proc.go:250"}
[root@xy-5-server14 addons]# kubectl -n flux-system logs fluxcd-source-controller-57cd756865-dtnxn
{"level":"info","ts":"2023-06-30T08:50:33.765Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":":8080"}
{"level":"error","ts":"2023-06-30T08:50:33.798Z","logger":"setup","msg":"unable to create controller","controller":"HelmChart","error":"failed setting index fields: no matches for kind \"HelmRepository\" in version \"source.toolkit.fluxcd.io/v1beta2\"","stacktrace":"main.main\n\t./main.go:289\nruntime.main\n\truntime/proc.go:250"}

you can use vela 1.9.3 to fix it or using the latest fluxcd addon.


oauth-authorization-server related issue,  not able to reach the correct endpoint

Hi, I think there might be an issue that cause reference wallet related to “.well-known/oauth-authorization-server”.
The behaviour of current reference wallet appending “.well-known/oauth-authorization-server” to a url with path components different with what specs have been stated.
Let's say we have https://example.com/path1/path2
Current behaviour of reference wallet is appending it right behind the url like :https://example.com/path1/path2/.well-known/oauth-authorization-server
According to the spec https://www.rfc-editor.org/rfc/rfc8414.html#section-3
“.well-known/oauth-authorization-server” need to be inserted after removing the path components first. e.g : https://example.com/.well-known/oauth-authorization-server/path1/path2

Big thanks, @cindy-chin , for flagging this. I've moved it to this repository since it seems like a better fit for functions related to specifications.

Hi @cindy-chin
Clearly, you are right. This is a bug that will be addressed.
FYI:

Some popular libraries (for instance Nimbus) resolves not in a compliant way the OAUTH2/OIDC metadata
Some popular IdP servers also expose their metadata endpoint at then end of their issuer claim

So, it is not uncommon to have to deal with not strictly compliant cases.
For this reason, we will implement some fallback logic
That is, for a IdP having an issuer claim http://foo.bar/path1/path2
Library will check

http://foo.bar/.well-known/openid-configuration/path1/path2  (compliant)
http://foo.bar/path1/path2/.well-known/openid-configuration  (not compliant, but common)
http://foo.bar/.well-known/oauth-authorization-server/path1/path2 (compliant)
http://foo.bar/path1/path2/.well-known/oauth-authorization-server (not compliant, but common)

@dtsiflit Please schedule a similar fix for iOS
By the way:

The metadata of the Credential Issuer DON'T use the same convention.
The metadata of a  SD-JWT-VC issuer DO use the same convention.


Low fps from Arducam-IMX219

Hello,
I am using a Jetson Xavier NX development board for my project. The power mode I set is "Mode 20W 6Core". I am using Arducam-IMX219, which are natively supported. I have built and run the docker successfully and then cloned and built "isaac_ros_argus_camera" without any error. When camera is seen at /dev/video0, i run the following command to launch the node:
ros2 run isaac_ros_argus_camera_mono isaac_ros_argus_camera_mono --ros-args -p device:=0 -p sensor:=4 -p output_encoding:="mono8"
which corresponds to 1280x720 resolution for my camera and it should run at 60fps according to v4l2-ctl --dev?dev/video0 --list-format-ext
However, I can get at most 24-26 fps when i check the topic /image_raw. What could be the possible reason? Do I need to activate any GPU related settings (CUDA)?  Can the nvpmodel be the issue? Are the other parameters that I can set for this node? Thank you in advance.

 But it would be nice to reach this rate with GPU implementation as well since I need CPU for other tasks.

Please see also link to maximize Jetson NX performance.

Hello again,
Here are my output when I run first sudo /usr/bin/jetson_clocks and sudo /usr/bin/jetson_clocks --show
SOC family:tegra194  Machine:NVIDIA Jetson Xavier NX Developer Kit
Online CPUs: 0-5
cpu0: Online=1 Governor=schedutil MinFreq=1907200 MaxFreq=1907200 CurrentFreq=1907200 IdleStates: C1=0 c6=0
cpu1: Online=1 Governor=schedutil MinFreq=1907200 MaxFreq=1907200 CurrentFreq=1907200 IdleStates: C1=0 c6=0
cpu2: Online=1 Governor=schedutil MinFreq=1907200 MaxFreq=1907200 CurrentFreq=1907200 IdleStates: C1=0 c6=0
cpu3: Online=1 Governor=schedutil MinFreq=1907200 MaxFreq=1907200 CurrentFreq=1907200 IdleStates: C1=0 c6=0
cpu4: Online=1 Governor=schedutil MinFreq=1907200 MaxFreq=1907200 CurrentFreq=1907200 IdleStates: C1=0 c6=0
cpu5: Online=1 Governor=schedutil MinFreq=1907200 MaxFreq=1907200 CurrentFreq=1907200 IdleStates: C1=0 c6=0
GPU MinFreq=1109250000 MaxFreq=1109250000 CurrentFreq=1109250000
EMC MinFreq=204000000 MaxFreq=1866000000 CurrentFreq=1866000000 FreqOverride=1
Fan: PWM=0
NV Power Mode: MODE_20W_6CORE_MAX

I think I already use the max power from cpu and gpu's. However I am still getting around 20fps with "isaac_ros_argus_camera". I have found two things strange. First, while the camera package running, the gpu is nearly not used and one of the cpu's are 100% this is a shot from jtop:

Second, I can get more fps with gscam_node. I think this is fully cpu implementation. I suprised that hardware accelerated version (argus_cam) is slower than this. Still I am not sure if my hardware settings are correct.
Do you have any more suggestions? How much fps/resolution you can get from your setup? Thank you.

Note: I know that this power settings might not be recommended for a healthy operation (due to temp increase) but I set this to see how much fps I can get.

I can reproduce the low fps with IMX219 on Jetson NX. With 60fps@720p sensor mode, outputting messages run less than 20fps. I will try to profile the latency and see what could be the delay.

@glonv could you reproduce this with more recent version of Isaac ROS?

Hello, not sure if relevant, but i can reproduce this on a Jetson Nano Devkit running ROS Noetic and gscam 1.0.1.
My GSCAM_CONFIG export is identical to kaganerunsal's.  I'd be very happy about a solution for the mediocre performance in ROS.


Release v1.2

@JuliaRegistrator register
Release notes:
What's Changed

Initial docs setup by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/8
Add support for matching IDs to RME's reef list position index by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/9
Add api page by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/10
Tidy up doc links by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/11

Full Changelog: https://github.com/open-AIMS/ReefModEngine.jl/compare/v1.1...v1.2

Registration pull request created: JuliaRegistries/General/104231
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.2.0 -m "<description of version>" 2fb7d61b8cc8b2939ed721231736c3c4d9311463
git push origin v1.2.0

@JuliaRegistrator register
Release notes:
What's Changed

Initial docs setup by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/8
Add support for matching IDs to RME's reef list position index by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/9
Add api page by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/10
Tidy up doc links by @ConnectedSystems in https://github.com/open-AIMS/ReefModEngine.jl/pull/11

Full Changelog: https://github.com/open-AIMS/ReefModEngine.jl/compare/v1.1...v1.2

Registration pull request updated: JuliaRegistries/General/104231
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.2.0 -m "<description of version>" e28891d7afa7d639fe124a70e5f29c181a3bd891
git push origin v1.2.0


🌐 Add Japanese translation for Deployment - Manually

This PR translates deployment/manually.md in Japanese.
To all reviewers. This section is only separated from #1948 (with few changes), but please review it.

@delhi09 Thank you for review!
I updated translation. please check it again.

Thank you very much for updating all this @tokusumi :bow: :cake:
And as always, thanks @komtaki and @delhi09 for the reviews :mag: :coffee:

Thank you very much for updating all this @tokusumi :bow: :cake:
And as always, thanks @komtaki and @delhi09 for the reviews :mag: :coffee:


Skip doctests on fewer builds

Now that this is fixed in astropy we can run the full tests for that build. Also I think things may actually have worked with Python 2, so trying to re-enable those.

Coverage remained the same at 97.786% when pulling a3e3b2cc566063ab60393ca6a352b7b65c8eeb5e on astrofrog:doc-skipping into d51dea27e449c4c8a41e217ba361c69a5b5f6291 on cdeil:master.


running a bash script in a multi-module project by not placing the script in each module's /src/main/jib

I'm looking forward to customize my entrypoint on a spring boot multi-module project and in order to do that, i did choose to run this bash script from the root of the project (parent), but to make the script executable we should use the "extraDirectories" to add it. the thing is i don't want to add the script in each module /src/main/jib because that's what "extraDirectories" does.
So how can I try to achieve this from parent without going through each module?

You can configure extraDirectories.path to your liking.

You can configure extraDirectories.path to your liking.

that's it.


Restrict related feature geometry editing

The JS team implemented the ability to edit feature-to-feature related records. This is available out of the box in the Editor widget, which we are using in Manager.
https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/55676
In Manager, we do not currently support editing features geometries in the map, but the current behavior when adding a related feature in Manager allows you to sketch on the map. It's also possible to change a related feature's geometry when accessing it through the parent layer.
Since we do not support editing the geometry of features for feature layers, we should also block the ability to edit the geometry of features for related feature layers.
For the first release we should:

[ ] Support creating and updating related records.
[ ] Support updating the attributes of related features.
[ ] Not support creating new related features.
[ ] Not support updating the geometry of related features.

@jmhauck I'm not sure how much flexibility we have in restricting editing related features.
cc @azizaparveen @chris-fox

@avezina edit geometry is blocked via LayerInfo object geometryUpdatesEnabled when we create the editor

@avezina looks like we can add a LayerInfo object with geometryUpdatesEnabled for all layers in the map when we create the editor and it will handle the no geom edits side of this issue.
However, if I pass addEnabled = false with each as LayerInfo the "Add feature" button still shows below the related records. Seems like we will need to discuss this with the Editor folks.
Also seems like it only highlights the related features when you hover over the related records in some situations. I'd guess if the first selection is on the parent it would show the kids but not the other way around.

@jmhauck If you have the time, could you put together a code sample to repro the issues you described above so we can easily log issues in the JS repo?

Got a workaround for the add issue from the Editor team.
Only remaining issue that I'm aware of is when you are editing a related record and click the back button the editor is closed.

PR is in and will be on devext tomorrow

The current fix watches related record callbacks and sets it to null. Right now it does not distinguish between related records (tables) and related features (feature layer).
This means that we will not support adding related features, but also we will not support adding related records at this time.
@chris-fox @azizaparveen are we OK with this limitation for this release?

@avezina, no I would rather have support back for both if that is the case. Having support for related table records is critical to most manager workflows today.


Unable to use Transcrypted file

Heya, I'm trying to run a generated python file in a GraalJS environment but get this error:
Exception in thread "main" SyntaxError: Unnamed:1:13 Expected an operand but found import
'use strict';import{AssertionError,AttributeError,BaseException,DeprecationWarning,Exception,IndexError,IterableError,KeyError,NotImplementedError,RuntimeWarning,StopIteration,UserWarning,ValueError,Warning,__JsIterator__,__PyIterator__,__Terminal__,__add__,__and__,__call__,__class__,__envir__,__eq__,__floordiv__,__ge__,__get__,__getcm__,__getitem__,__getslice__,__getsm__,__gt__,__i__,__iadd__,__iand__,__idiv__,__ijsmod__,__ilshift__,__imatmul__,__imod__,__imul__,__in__,__init__,__ior__,__ipow__,
             ^
Unnamed:3:207 Expected eof but found }
hasattr,input,int,isinstance,issubclass,len,list,map,max,min,object,ord,pow,print,property,py_TypeError,py_iter,py_metatype,py_next,py_reversed,py_typeof,range,repr,round,set,setattr,sorted,str,sum,tuple,zip}from"./org.transcrypt.__runtime__.js";var __name__="__main__";print("Ara ara~");

The code of the python file is simply print("Ara ara~") (don't ask why xD) but it for some reason doesn't work
On a side note, is it possible to make Transcrypt use require instead of import?

What version of Python and Transcrypt are you using?

I'm using python 3.10 and the latest version of Transcrypt available from PyPi

The code works in NodeJS so i have no idea what the issue could be

Because Transcrypt uses the AST module, it is important to make sure that the version of Python being used matches the version of Transcrypt. Even though it doesn't make any difference with you're Python source code, the implementation details of the Python language itself affect the structure of the AST. As such, it may need to be parsed in a different way between versions.
The latest version of Transcrypt (3.9.0) expects a Python version 3.9 AST. Can you try running Transcrypt using Python 3.9 and see if that makes any difference?

But the code runs on NodeJS perfectly fine? But yeah I'll try that

Ah, I'm unable to install a Python 3.9 distribution currently, sorry

I've just attached a screenshot of the code being ran in Python and NodeJS successfully, but failing in GraalJS (I've made a program to run JS code from GraalJS in the stock JVM)

There is a chance it may not make a difference, but it's the first thing to try. The mismatch of Python/Transcrypt versions can cause unpredictable transpilation errors to creep in. Node may be more forgiving with generated JavaScript that is malformed.
If you happen to have Python 3.7 available, you can try that as well. You would just need to use Transcrypt==3.7.16 in that case. You only need the right Python version for transpiling to JS, so even a cloud instance or docker container running the matching Python version would work.

Ah okay then, I'll try using GitHub actions then on a test repo

I've done it with Replit before, but that platform currently has Python 3.8 as a default so there a few extra steps to get 3.9 installed there that you may not want to hassle with. I have a demo repl available with the required setup if you want to play around with it though.

Ah that'll be useful, thanks!

Now that I look at the error in more detail, while the Python version is still an issue I'd address, you may be right in that it has more to do with graaljs and the handling of the transcrypt runtime import.

I've also now ran it in a GitHub action (can be found here: https://github.com/Mythical-Forest-Collective/test-repo/runs/5339470717)
Also yeah, i have no idea why it's an issue with graal... Is there a way to make Transcrypt use require instead of import?

I use require in my own Python code to import JS libraries, but in this case I don't think so.  It looks like it's the actual import for the transpiled Transcrypt JS runtime and that is likely baked in to Transcrypt.
I'm not a JS expert (which is why I like Transcrypt so much!), but is there anything in graaljs related to ES6 support that might need to be turned on?

Ah okay, and no I don't think so, GraalJS should support ES6 already?

It does support ES6 for sure, i double checked that, so i have no idea what the issue could possibly be now, but no matter what I'm getting a syntax error despite me trying other options

I've managed to figure it out now!

What did the issue end up being?  How did you solve it?


Updating members

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/6157
@MikePlumleyMSFT can you confirm that the naming policy of groups in Teams is now GA ? Thank you

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@MikePlumleyMSFT PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

@mikemcleanlive can you review?

@ArunMSFT can you review?

@ArunMSFT can you review?

@ArunMSFT can you review?

@MikePlumleyMSFT - This is related to the MS Teams feature, we should loop in their PMs.

@ArunMSFT can you review?

@MikePlumleyMSFT - This is related to the MS Teams feature, we should loop in their PMs.

@abgupta @MikePlumleyMSFT Can you kindly review and merge? Thanks

@abgupta @MikePlumleyMSFT Can you kindly review and merge? Thanks

via email Abhishek Gupta (TEAMS<EMAIL_ADDRESS>: Looks good!

via email Abhishek Gupta (TEAMS<EMAIL_ADDRESS>: Looks good!


Port VAST components to data views

Port SOURCE, IMPORTER, ARCHIVE, and INDEX to the new table slice API. The source now streams table_slice_ptr to the importer and the importer streams const_table_slice_ptr to all other components after assigning IDs.

@mavam I still prefer namespace bf = format::bro; over repeating format::bro::reader twice or renaming the variable. Other than that I've addressed all your feedback except the /// Returns, since I would make this a refactoring task to harmonize all 44 occurrences in the code base.


Document follower reads

Follower reads allow non-leaseholder replicas to serve reads under certain conditions that maintain consistency guarantees and stuff.
Estimated scope of docs work:

Add a bit to the transaction layer docs where reads from the leaseholder are mentioned
Maybe a separate page with some diagrams to assist with understanding
???

See also:

Cockroach RFC

Cockroach PR

Dup of https://github.com/cockroachdb/docs/issues/2962.


Avoid deprecation warning in reproduction template

A tiny fix to remove a deprecation warning about an eager() call in the reproduction template

Coverage remained the same at 97.061% when pulling a8b5bef53704a0333a28533c816d229b1dace3f3 on lehni:fix/deprecation-warning-in-reproduction-template into fc4190942a8926609925db42a547fb498b116149 on Vincit:master.


chore(release): 2.28.0

See CHANGELOG

Test Run of release kickoff

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 42a01ec4fce233f4ced049009220b7394896c166
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


[WIP] Fix API docs link

https://doc.scrapinghub.com/api.html yields a 404

There are a few other places with old links.

Thanks @redapple!

Codecov Report

Merging #65 into master will decrease coverage by 0.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
- Coverage   92.81%   92.55%   -0.27%
==========================================
  Files          28       28
  Lines        1866     1866
==========================================
- Hits         1732     1727       -5
- Misses        134      139       +5

Impacted Files
Coverage Δ

scrapinghub/legacy.py
97.22% <0%> (-1.2%)
:arrow_down:

scrapinghub/hubstorage/resourcetype.py
96.17% <0%> (-1.1%)
:arrow_down:

Continue to review full report at Codecov.

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


How to handle deployments on Macs running old python versions?

I have a standalone Bitbar app with a single plugin containing python code. This worked great until I had to start using https (instead of http) to download some files using urllib. It turns out that the built-in python included in Mac OS (2.7.10 and its 0.9.8xx openssl ) is too old to support the ssl handshake in a modern website. I can't change how the http server works and I can hardly expect the user to upgrade their version of python or have to pip install some packages to get it to work.
My question is, how do I handle the case where I want to my app to run python 2.7.11 or greater on client machines that have older python installed? Am I just out of luck?

Well I found a workaround and that is to use Mac's built-incurl command. Apparently Apple updates the corresponding openssl library so I can use it to download from an https web server.
Something like this:
DEVNULL = open(os.devnull, 'wb')

proc = subprocess.Popen(["curl", "-f", "-k", "-o", list_path, CONTACTS_URL], stdout=DEVNULL, stderr=DEVNULL)


Bundle arithmetics does not exclude everything

I've set up a small test repo with two source files,
src/main.js
src/template.hbs

You can see it in full here: https://github.com/ineentho/jspm-hbs-test
When running the bundle command
$ jspm bundle src/main.js - [src/**/*]

I would expect none of my code to end up in the bundle, just JSPM helper stuff. It does exclude my .js file, but for some reason the .hbs file is included into the bundle.
I don't think the problem is the handlebars plugin, it's very simple (a few lines of code) and does everything according to the documentation as far as I can tell:
'use strict';

import Handlebars from 'handlebars';

const handlebarsRuntimePath = System.normalizeSync('handlebars/handlebars.runtime', __moduleName);

export function translate(load) {
  var precompiled = Handlebars.precompile(load.source);
  load.source = `module.exports = require('${handlebarsRuntimePath}').template(${precompiled});`;
}

https://github.com/davis/plugin-hbs/blob/master/hbs.js
@davis

This is because the file is loaded with plugin syntax. If you use loader configuration to load the handlebars template it would be excluded.
If you use the arithmetic - jspm bundle src/main.js - [src/**/*!hbs] that will exclude the syntax plugin version. The reason for this is that a given file could in theory be loaded many times by different plugins - so plugin syntax forms a difference space in the module naming system.


Integratge CEM into run_experiment

Implement CEM and CEM-VAE into run_experiments.py and fix output of cem for issue #61

@indyfree could you have a look into that?
run_experiment.py looks a bit ugly now with this whole session stuff, but I didn't find another way to prevent duplicate variable initialization. CEM forces us to initialize all variables in between sessions, while this causes errors for the remaining methods.

Hmm such a pity. Curious though, I remember in the last project we wrapped all the things in tf sessions, why does it error here for the other models?

Hmm such a pity. Curious though, I remember in the last project we wrapped all the things in tf sessions, why does it error here for the other models?

Wouldn't this mean, that we have to start using all these different sessions again? I'm definetly no expert on this whole tensorflow session thin 😅  It could also be, that I'm doing something wrong


SES docs are outdated

SES docs suggest using javax.mail which is not going to work since the package moved to Jakarta namespace

https://docs.awspring.io/spring-cloud-aws/docs/3.0.0-RC2/reference/html/index.html#sending-attachments

More context: https://github.com/awspring/spring-cloud-aws/issues/743

@maciejwalkowiak I'll update the docs


When renamed in ewelink - not propagated to HB

What issue do you have? Please be as thorough and explicit as possible.
When I rename device in ewelink it is not propagated to HomeBridge.
Details of your setup.

Do you use (1) Homebridge (+ config-ui), (2) Homebridge (CLI) or (3) HOOBS?

Homebridge + config-ui

Which version of Homebridge/HOOBS do you have?

1.3.4

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

Raspberry Pi 4B
Node.js  v14.17.0
Npm v6.14.13

Which version of this plugin (homebridge-ewelink) do you have? Has the issue started since upgrading from a previous version?
v6.7.1

Which eWeLink devices do you have that are causing issues? Please include product models if applicable.

Sonoff Basic
Please paste any relevant logs below.

I'm not sure I would want such propagation.
I like the ability to name devices separately for each service, EWeLINK, HomeBridge, and HomeKit. I can use all three in different ways and for different reasons. It is only the Device ID should propagate in my opinion.

Hi @kremik
This isn’t something that is wrong with the plugin, this is expected behaviour.
Renaming a device in ewelink app will not reflect in homebridge/homekit.
The way to get around this is to remove any accessory from the homebridge cache and when it is then re-added it will take such new name from the ewelink app.

Hello @bwp91,
I understand that it might be wanted behaviour. It is strange because it is taken from ewelink when you add the device. Clearing the cache might be good solution - but can you give me a hint how to do that? Thank you.

You can use the homebridge-ui to remove a single accessory from the cache, this will do the job.
Or you can enter the device id in the “ignored devices” config option and restart homebridge, this will remove the accessory from the cache, then you can remove the device id and restart homebridge and the device will be readded with the updated name.
Do bear in mind that either way, the accessory will be added to homekit back in the default homekit room, and any scenes/automations involving this accessory will be removed.

Witam,
ten adres e-mail z racji na niesamowita ilosc wiadomosci typu SPAM zostaje WY��CZONY.
Pozdrawiamy serdecznie!


Embedded font subset needs to be sharded to support pdf file with more than 127 glyphs

When the embedded character glyph‘s id grows over 127 (the @next variable in Subset.coffee), Adobe Reader and Okular will not read the glyph(a character indicating glyph missing is displayed). Foxit Reader and Google Chrome will display the glyph correctly but have problem calculating width of character (the width of the glyph is ignored and the following character will overlay on this character). The character with id = 127 will not display in all readers.
I found that there are many pdf file have several subset to same FontFamily. Maybe there is a limit in the Subset and PDFKit should implement a sharding in font subsetting.

any new about this?

I did make some fixes in a forked repo. You might want to check https://github.com/menway/pdfkit

thank you.
But I am not familiar to coffee, even node.js.  I just want to use pdfmake.js to generate PDF file on client browser side. I found CJK text can't show in pdf, then see pdfmake use pdkkit as its core, then found the root cause.
i need more times to learn coffee and node.js. thank you again.

You can look into https://github.com/bpampuch/pdfmake/pull/221 which makes a hack on pdfmake.

What is the status on this? Is this still an issue?

@devongovett We're using pdfkit to generate certificates etc, but have been running into various issues related to the above when using Japanese. I've tried the fontkit branch and that works pretty well. The issue is that for the browser, we'd like to avoid having the user download a Japanese font every time just to get it to work.
I like pdfkit, but want to avoid the need to register/embed a font and just rely on a user's built in fonts for non Roman character.  My understanding of Adobe's handling of CID fonts makes me think that this is possible. I'm getting a little lost between reading Adobe docs and pdfkit source code. Could you point me in the right direction(or provide some thoughts) if I wanted to add this capability to pdfkit?
Thank you

This should be fixed in v0.8.0, which uses CID fonts.

hello, I like pdfkit, but I can't understand how can I avoid Chinese can't display. Do you have any example code? thanks very much.

@devongovett hello, I like pdfkit, but I can't understand how can I avoid Chinese can't display. Do you have any example code or solution for how to display Chinese? thanks very much.

i'm still seeing issues with japanese characters after upgrading to the latest.  is there a particular font I should specify you think to handle asian characters?

@kelly-tock I had the best luck with Arial.

so I still think there are some issues. with the interactive browser demo linked to from the docs, you can't render asian characters. is there some other metadata needed to set to handle this case?

just as a simple repro, the interactive browser demo does not display correctly if you enter japanese characters in it.

I had fixed asian character rendering in my own fork
https://github.com/nirajp/pdfkit. You may want to try it out. That was more
than 4 year ago, so not sure if those will still hold. You might have to
merge my changes with latest devongovett/pdfkit.
My changes were not compatible with devongovett/pdfkit, hence I could not
submit a pull request, but nevertheless the changes did serve my purpose
well at the time.
Best luck.
On Fri, 13 Jul 2018 at 21:23, Kelly<EMAIL_ADDRESS>wrote:

just as a simple repro, the interactive browser demo does not display
correctly if you enter japanese characters in it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/devongovett/pdfkit/issues/114#issuecomment-404874802,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABiNheBZQ_pA7E-ebwY-rXnozvalIfbCks5uGMKWgaJpZM4Acnoo
.


A comprehensive reference guide to all functionality is required...

...and needs to be made easily accessible. I can't believe there is not such a document anywhere on the internet. Do people have to waste time figuring it all out?

what's missing from https://getbootstrap.com/docs/4.1/ that you'd like to see?

Something like this?
https://hackerthemes.com/bootstrap-cheatsheet/
There are other results when searching the Web for Bootstrap4 cheatsheet

Thank you for mentioning my cheat sheet @herbalite.
FWIW I think the official documentation is pretty damn good. It fits the description "comprehensive reference guide" better than my cheat sheet.

really ? the BS doc seems me better than numerous project on internet with long, dark and dry api list without any example ... Even if is not totally complete i agree with @arechsteiner the BS doc is good ! and cheat sheet is another useful tool  !


⚠ Jenkins Plugins Artifactory has degraded performance

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

HTTP code: 200
Response time: 1278 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 56e35f4 after 12 minutes.


add support for directional border shorthands

Thanks for the PR!
I held off this because of the lack of support for setting the border style of just one side. I'd worry with this we'd get bug reports of people saying it set the border style of all sides

I get that. We get bug reports for the other side too though in that people
are confused the shorthand only works for border.
On Sat, Oct 13, 2018 at 1:11 PM Jacob Parker<EMAIL_ADDRESS>wrote:

Thanks for the PR!
I held off this because of the lack of support for setting the border
style of just one side. I'd worry with this we'd get bug reports of people
saying it set the border style of all sides
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/styled-components/css-to-react-native/pull/95#issuecomment-429563242,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiy1mnSFiVXjZ2nEaTiATEqwKvFWxq8ks5ukizBgaJpZM4XasSp
.

We could definitely give a better error message when they try to use it

My gut feeling is that we don't add it, or just don't allow setting the border style (and warn if they do). But if everybody else is happy with this as-is, I'm happy for it to be merged.
@kristerkari what do you think?

Hmm.. this is tricky one because I guess that the idea is to only support properties that we can make work the same way than in CSS.
If I understood correctly supporting this would give a different result if you use the React Native CSS in the browser? If that's the case then I vote against merging it.

just don't allow setting the border style (and warn if they do).

I guess that this is something that we could do instead.

Although if your argument was it should match web 100%, omitting the border style is a syntax error, so wouldn’t match web

Although if your argument was it should match web 100%, omitting the border style is a syntax error, so wouldn’t match web

Oh yeah I did not think about that. In that case my opinion is that let's not support it if it's not compatible with Web. RN might anyway add support in the future for setting border style for different sides.

So I looked at this in a bit more detail
We could never allow border-right: 2px solid dashed, as this would not work in RN.
But we could allow border-right: 2px red, and throw if they try to define a border style. However, that could never be web compatible, as on RN, the border style would be inherited, and on web, it would default to none, so show no border
I also noticed we allow border: 2px red currently, and this is not compatible on web
(And lastly, I the border shorthand did not output directional properties like margin and padding do)
So I opened up two PRs

We fix the web compatibility issue on border (#126)
We accept the web incompatibility, and extend it to border shorthands too (#125)

I feel like the first option is the more pure version, but it is breaking change. It's also consistent with what we do in other places. If you use a unitless line-height in a font shorthand, you define multiple box-shadows, and percentage widths on border widths
What do other people think?

I feel like the first option is the more pure version, but it is breaking change. It's also consistent with what we do in other places. If you use a unitless line-height in a font shorthand, you define multiple box-shadows, and percentage widths on border widths

My opinion is the same as before: to keep Web compatibility. If we make exceptions to that, then we break the universal (Web/RN) rendering of styles. I think that with being a bit strict about the styles we can provide a much better experience for all users.


Buy or rent crank stands

Can you take a look at the "ST-B2" model on http://www.lighttruss.cn/elevatortower.htm and tell me what you think? I can get six of them for about $1400 (including freight).  I'll bug High Output about a price for rentals, but I want to see if these will even suit our purposes or I should get a quote on one of the heavier duty models.

the "ST-C2" is what i would prefer but the "ST-C1" Might be enough. The "B" ones are not designed to lift truss.
the info on the sight feels a bit lacking but they claim to make stuff to an acceptable standard.

I just saw a pair of these on Craiglist for $150 each which is a gret price -- if they work for us.  Do they?
http://globaltruss.com/ProductDetails.aspx?ItemNumber=227&MainId=4&Category=41


Entity.getRiding returns wrong number

In the example code below, a cow should spawn when you load a world. The chat spams the entity you get from Entity.getRiding(getPlayerEnt()) and the entity you look at. If you look down at the cow, they don't match. I haven't tested Entity.getRider() yet.
function newLevel () {
cow = Level.spawnMob(getPlayerX(),getPlayerY(),getPlayerZ(),EntityType.COW);
Entity.rideAnimal(getPlayerEnt(),cow);
}
function modTick () {
clientMessage("Riding: "+Entity.getRiding(getPlayerEnt()));
clientMessage("Pointed: "+Player.getPointedEntity());
}

Same here.


What is the advised way to read?

This is a very basic question, I'm a Rust newbie but I found it hard to get an answer by looking through existing examples, tests or docs.
When my socket is ready how should I read from it? Almost all of the examples I saw are using try_read_buf() or try_read() but these not seem to be public methods. It looks like 0.5 had a TryRead trait but that isn't available in 0.6. Was it replaced with something else?
The TcPStream struct docs tells me that TcPStream implements std::io::Read. Based on that I considered just looping over read() to consume all available data (as I'm in edge triggered mode) how you might do when dealing epoll() in C
if event.readiness().contains(Ready::readable()) {

    let mut buff = [0; 1024];

    loop {
        match tcp_stream.read(&mut buff) {
            Ok(n) if n > 0 => {
                println!("DEBUG: {:?} Read {} bytes", event.token(), n);
            }
            _ => break,
        }
    }
}

This seems to work fine but is there some more Rusty or mio blessed way to do this? Also is it worth documenting it (maybe it is but I couldn't find it). I'm happy to open a PR on the docs if so.

That is the correct way 👍


fix: example flake syntax error

The example flake had at least two syntax errors which have been fixed. The example flake cannot be ran by itself so there might be more syntax errors.
I can replace it with a flake that actually works and can just be copied and pasted into a project if that is preferred.
The syntax errors were that the parenthesis were in the incorrect place.

Great spot! Thanks

No worries took me embarrassingly long to realize....


Split out jck ansible config into jckservices and execution playbooks

Perhaps we could do a run on the jckservices machine to set it up/confirm this playbook is fully working?


Add a link to the Salesforce Apex implementation of the same.

Added a link to Apex Jexl for Salesforce server-side usage (to match the client-side LWC possibility).

Hey, have had a need for this in my own work.  I love that there is such a library with an open enough license - hoping to share the benefits in a very closed SF ecosystem.


How to configure BYOSA?

"Power BI can be configured to store dataflow data in your organization’s Azure Data Lake Storage Gen2 account." -> Where do you set that up? I don't see anything letting you select your own ADLSG2 account from Power BI's Admin Portal > Tenant settings in the Dataflow settings section.

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

ID: 1d4e74b8-9f4a-a195-7347-cf6732ffeab5
Version Independent ID: a1513d50-f098-9b75-2b48-94e08ee34751
Content: Learn about dataflows in Power BI - Power BI
Content Source: powerbi-docs/service-dataflows-overview.md
Service: powerbi
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @otravers. Note that dataflows are in preview, so features are being refined and expanded upon during the preview. You might find more information in the Power BI Community, found at https://community.powerbi.com.


Change to default authorization behaviour

Is your feature request related to a problem?
HC makes it really easy for people used working with asp .net identity to implement auth as it doesn't introduce almost no new concepts maybe just accessing IResolverContext within an AuthorizationHandler and thats it.
But it changes one of the fundamental concepts of .net authorization requiring authenticated user for all policies.
This is not how asp .net authorization works based on my testing and existence of this test
    [Fact]
    public async Task AuthorizeSucceedsEvenIfAuthenticationFails()
    {
        // Arrange
        var evaluator = BuildEvaluator();
        var context = new DefaultHttpContext();
        var policy = new AuthorizationPolicyBuilder().RequireAssertion(_ => true).Build();

        // Act
        var result = await evaluator.AuthorizeAsync(policy, AuthenticateResult.Fail("Nooo"), context, resource: null);

        // Assert
        Assert.True(result.Succeeded);
        Assert.False(result.Challenged);
        Assert.False(result.Forbidden);
    }

I think checking policies even for unauthenticated user is less surprising behavior because that is how authors of asp authorization decided to implement policies and HC should just provide thin layer on top of their code.
Where I might be wrong
I am no expert in this area I am just making my best guess I might be completely wrong.
In docs it says

Authorization is orthogonal and independent from authentication. However, authorization requires an authentication mechanism. Authentication is the process of ascertaining who a user is. Authentication may create one or more identities for the current user.

It might be interpreted that authorization requires authenticated user but they chose word mechanism. I think reason for that is you wouldn't be able to write authorization for specific user but nothing forbids you from creating policy for no user in particular.
The solution you'd like
I am not sure how many ways are to achieve this but maybe removing AuthorizeResult.NotAuthenticated and have just Allowed and NotAllowed and leave it up to policies to decide if user allowed or not something like DenyAnonymousAuthorizationRequirement
I know you are free to swap default handler with your own btw.
Product
Hot Chocolate

I wanted to create PR for my proposal but I think I will be unable to. I am still very new to how all of asp and hc auth works in depth. I might keep trying if this is accepted and nobody wants to work on it but I will need help when I am stuck.
Here are questions I have after digging through code:

Why IsInAnyRole returns true if roles are empty or null?
https://github.com/ChilliCream/hotchocolate/blob/6077e82a97780a3fa232dcb6f23900f43eaa9578/src/HotChocolate/AspNetCore/src/AspNetCore.Authorization/DefaultAuthorizationHandler.cs#L75-L82
Shouldn't the roles == null || roles.Count == 0 check be either in IsInAnyRole or NeedsPolicyValidation but not both?
Why are policies checked only if principal is in any role?
https://github.com/ChilliCream/hotchocolate/blob/6077e82a97780a3fa232dcb6f23900f43eaa9578/src/HotChocolate/AspNetCore/src/AspNetCore.Authorization/DefaultAuthorizationHandler.cs#L37-L47
What is the significance of whitespace policy?
https://github.com/ChilliCream/hotchocolate/blob/6077e82a97780a3fa232dcb6f23900f43eaa9578/src/HotChocolate/AspNetCore/src/AspNetCore.Authorization/DefaultAuthorizationHandler.cs#L124-L125

Why IsInAnyRole returns true if roles are empty or null?

roles are kind of how you did auth before.... if roles is not sed we do not require roles auth.

Closing as I am not sure if what I am proposing is good idea anymore.


Handle unexpected diagnostics that aren't in "detail message" format.

Otherwise they were getting swallowed and never emitted even in details mode.

Thanks. I've updated the title to be less misparseable.


Werkzeug and socket.setdefaulttimeout incompatibility

One of my Flask servers was throwing errors in the middle of serving a 2.5MB file and aborting the response.
A stray test fixture was being imported that called socket.setdefaulttimeout(5). As a side-effect this sets all new sockets to be non-blocking in Python's socketmodule. The machine in question was being slow with some context-switching latency, and the nginx reverse proxy was not reading from flask as fast as flask was sending data out, and at some point flask hit EAGAIN (which is synonymous with EWOULDBLOCK) when attempting to write to the socket, an error werkzeug doesn't handle:
2017-06-06 13:57:04 werkzeug INFO     <IP_ADDRESS> - - [06/Jun/2017 13:57:04] "GET /cdc/wa/common.af157487.js HTTP/1.1" 200 -
2017-06-06 13:57:04 werkzeug ERROR    Error on request:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 205, in run_wsgi
    execute(self.server.app)
  File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 196, in execute
    write(data)
  File "/usr/local/lib/python2.7/site-packages/werkzeug/serving.py", line 177, in write
    self.wfile.write(data)
IOError: [Errno 11] Resource temporarily unavailable

The fix would be to catch the exception, run select() on the socket to wait until it is ready to write to, then resume the call. Or alternatively document the incompatibility.

Do not use the dev server in production.

I also have this issue, but during local development.

This seems familiar: it's the error diagnosed by @mihaibivol of which I talk about here: https://github.com/coleifer/micawber/issues/59#issuecomment-226430266
In fact, we were seeing that error in development when running with DEBUG=True, which made us use gunicorn in development as well.


Fix/node kit

Overview
As of rc9 changes, we change:

Supply keyring to OpenStore
Replace HeaderService.IsSyncing with new API syncState.Finished()

Thanks for the PR!
It was already covered and merged as part of #188