Win+Ctrl+V is the same shortcut that the audio menu in Windows 11 has

Microsoft PowerToys version
0.68.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Paste as Plain Text
Steps to reproduce
The new paste as plain text has as default shortcut Win+Ctrl+V. The same shortcut is used by the sound output menu.

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

cc: @carlos-zamora @crutkas

/dup https://github.com/microsoft/PowerToys/issues/24491


Enable links to in-app routes from chat messages

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!
cc @marcaaron

Problem
While working on https://github.com/Expensify/Expensify/issues/176355, we have found out there is currently no way how to add a link to chat message, which would navigate to some other view of the App (without reloading or opening new window).
We want to add a link to Concierge message, which would open the RHN with Guide calls for easier setup.
Potentially in future, there could be more usecases, where we will need this option (ie someone sharing a link like new.expensify.com/workspace/foo with someone else).
Solution
As per this Slack thread, we have decided to create a new component for AnchorForCommentsOnly which would be something along the lines of InternalAnchorForCommentsOnly.
Here, we will treat any anchor, whose href attribute starts with / as internal link and prevent default usage of <a> tag (which forces the page to reload) and use in-app system of navigation: Navigation.navigate().

Check if the href starts with /.

If no, process the link as we do now.

If yes, check if the route matches any in app ROUTES
If yes again, make sure to create Pressable Text with same styling as a link which will use Navigation.navigate() on press.

@marcaaron I have added Planning label here for now as we can still think of some improvements. Please free to chime in if you want to specify something a bit more.
I think it should be Internal if we want to have it done faster. Also not sure if External contributor could test this as there are not concierge messages starting with / and they cannot create such a message from chat.

I like the solution - seems pretty straight forward to me. Only I'm not sure we should call this InternalAnchorForCommentsOnly or if we really need a new component. We can just check the href here then return the alternate style of link with a navigate method.

@marcaaron I totally agree with you, we can just check for it without creating a new component and then potentially refactor if it gets more complex over time.

🚀 Deployed to staging by @marcaaron in version: 1.0.95-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.0.96-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


openjfx: respect NIX_BUILD_CORES in nested cmake

Motivation for this change
Building openjfx11 or openjfx12 on a machine with many cores can consume huge amounts of RAM. With 24 cores, the memory usage exceeded 25GB per build for me.
Using NIX_BUILD_CORES to reduce the number of parallel tasks doesn't help, because a script invoking cmake does not respect NIX_BUILD_CORES and passes -j <number of cores>.
Setting NUMBER_OF_PROCESSORS overrides the automatic core count detection in the script.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@abbradar @thiagokokada could either of you check if this is still required? and if it is then could you open a updated PR?

Updated PR https://github.com/NixOS/nixpkgs/pull/261136


Fix typo in package description

pylint --> pycodestyle

Wow, looks like that's been in there since https://github.com/AtomLinter/linter-pycodestyle/pull/8! 😆


Add an include flag to only include certain messages

By adding this option, editors have a way to run gometalinter and only output the results for the file being saved. Of course it also helps other use cases where you only want to check if a specific error/warning is triggered by your code.
Tested this with a customised version of vim-go (will make a PR there as well to use this new functionality) and it works really well.

@alecthomas any thoughts or feedback would be great! Thx!

Thanks!

:+1:

Note that the short flag for this has been changed to -I. It was conflicting with the short flag for --install.


feat: Added custom hex colors for testing workflow

Description
Added workflow to check if there is any custom colors or hex codes is being used. This workflow will be checking for the anomalies in the entire file that has been changed by the developer.
PR fixes following issue(s)
Fixes https://github.com/appsmithorg/appsmith/issues/27839
Type of change

New feature (non-breaking change which adds functionality)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

[ ] Manual
[ ] JUnit
[ ] Jest
[ ] Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

🔴 Below files are not compliant with ADS. Please fix and re-trigger ok-to-test

app/client/src/App.css
app/client/src/index.css
app/client/src/pages/Applications/ApplicationCard.tsx

@nidhi-nair What do you think about making the same message for Quality checks?

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test


Run query scope on eager loaded relationship

I ran into the issue described here and also hoped there might be a shorthand for query scoping an eager loaded relationship (without having to add a method to the Model). I realize this could be done with global scopes but I'd like to be able to use this with more complicated examples as well - not obvious ones like active/visible mentioned below. I have proposed some syntax below for how this could be laid out.
Proposed syntax (according to the models in the issue above):
Box::with('widgets#active')->get()

In this case, the query for widgets would have the active query scope run on it, so only widgets that were active would appear.
Multiple scopes
Box::with('widgets#active#frontPage')->get()

Same as above, with the additional frontPage scope run, so only front page widgets would appear.
Nested relationships
Box::with('widgets#active.parent#visible')->get()

Show only active widgets, and eager load all the parents, scoped by visible. The parent would be null on widgets that did not have a visible parent. The logic at this point would be up to debate - whether or not to filter out widgets with a null parent.

nice :+1:
but for multiple scopes, I will prefer
Box::with('widgets[active, frontPage].parent[visible]');

since I hate to repeat the same '#' sign over and over, well just opinion :smiley:

I agree Antony. I thought of that with parentheses instead but it seemed
hard to read due to the parentheses in the functions as well. That is
definitely cleaner syntax.
On Thu, Aug 27, 2015, 10:37 AM Antony Budianto<EMAIL_ADDRESS>wrote:

nice [image: :+1:]
but for multiple scopes, I will prefer
Box::with('widgets[active, frontPage].parent[visible]');
since I hate to repeat the same '#' sign over and over, well just opinion [image:
:smiley:]
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/framework/issues/10061#issuecomment-135454486
.

What's the problem with doing
Box::with(['widgets' => function ($widget) {
    $widget->active()->frontPage();
}

Or did I misunderstand?

@phroggyy that quickly expands into multiple complex nested groups - it seems like for how simple that would be to emulate by a computer vs. how unnecessarily ugly it is to write every time as a programmer, it's an obvious choice to make it easier.

:+1: I like the idea.
@cabloo You should try to implement a solution and make a PR for this.

Will do when I get some time this weekend.
Does anyone disagree that this format:
Box::with('widgets[active,frontPage].parent[visible]');

is better than this one:
Box::with('widgets#active.parent#visible')->get()

Or have another suggested format? I will precede assuming the first one is best unless someone offers a better one.

nothing was ever implemented for this, eh?


chore: bdd-spring-1576766513 to 0.0.1

chore: Promote bdd-spring-1576766513 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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


fix: negbinom consistency plots now have the correct boundaries

Fixes #236 typo/error in poisson_consistency_test that made negativebinomial critical intervals being reversely assigned, thus creating error with matplotlib.
pyCSEP Pull Request Checklist
Type of change:
Please delete options that are not relevant.

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

Checklist:

[x] I have performed a self-review of my own code
[x] New and existing unit tests pass locally with my changes

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

Comparison is base (1e2badb) 54.95% compared to head (d887da2) 54.95%.

:exclamation: Current head d887da2 differs from pull request most recent head 3101a2f. Consider uploading reports for the commit 3101a2f to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #245   +/-   ##
=======================================
  Coverage   54.95%   54.95%
=======================================
  Files          23       23
  Lines        3963     3963
  Branches      578      578
=======================================
  Hits         2178     2178
  Misses       1648     1648
  Partials      137      137

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


Config colors are not LessCSS color objects?

In my app.less, I tried to use one of the configged colors in a Less function:
  @base_color: config('colors.grey');
  .input[type=text], .input[type=password] {
    background-color: fade(@base_color, 50%);
  }

This resulted in an error Error evaluating function 'fade': color.toHSL is not a function.
Is there a way around this? Am I wrong in expecting the colors array to contain Less color objects?
Here's my Mix config:
mix.js('frontend/assets/js/app.js', 'javascript/')
    .less('frontend/assets/less/app.less', 'style/')
    .options({
        extractVueStyles : true,
        postCss: [
            tailwindcss('tailwind.config.js'),
            require('autoprefixer')
        ]
    })
    .sourceMaps();

Alternatively: Is there another way to get transparent variants of the tailwind colors?
Thanks,
Alex

Hey @aphofstede! The reason this isn't working as you'd expect is that Less processes your CSS before Tailwind does; Tailwind is meant to work on Less' output.
That means that Less is literally trying to run the code fade(config('colors.grey'), 50%), because Tailwind hasn't replaced the config call with the actual color value by the time Less is trying to apply the fade function.
The best way to add transparent variations of colors would be to add them as new colors in your tailwind.js config file.
Another approach that I bet would work is to use the postcss-color-function plugin, which would let you do that sort of alpha channel manipulation in the PostCSS phase:
.input[type=text], .input[type=password] {
    background-color: color(config('colors.grey'), a(50%));
}

I haven't tested it myself but it should work.

Thanks @adamwathan , that makes sense. It takes a bit of getting used to the pipeline I guess. (the PostCSS step is new, for me)
I added 'teal-lightest-half-transparent': 'rgba(232,255,254,0.5)', to the colors array.
In my app.css it appears to have rendered correctly:
.bg-teal-lightest-half-transparent,
.hover\:bg-teal-lightest-half-transparent:hover {
	background-color: rgba(232, 255, 254, 0.5);
}

So I can do:
  input[type=text], input[type=password] {
    @apply .bg-teal-lightest-half-transparent;
  }

Yet I get undefined as a color if I try to do:
  input[type=text], input[type=password] {
    background-color: config('colors.teal-lightest-half-transparent');
  }

the docs imply that that should work?

@aphofstede Can you share a demo repo so I can try it out? Are you sure it's in the colors array and not just the backgroundColors array? Try config('backgroundColors.teal-lightest-half-transparent') and see if that makes a different 👍

Can't reproduce it anymore.. I think you might be right about the backgroundColors array actually, good instinct! 🤭 😄 Thanks


A Transformer approach for Electricity Price Forecasting

What role does this project play in this essay.

None, it was a typo when writing, it is solved now in the last version of the manuscript https://arxiv.org/pdf/2403.16108.pdf. The code is the following repo:
https://github.com/osllogon/epf-transformers
Sorry for the inconvenience, closing this since now it is solved. If you have any other questions ping me or open another issue and I will be happy to help


Add Allocation Service Metrics

Problem: We currently do not have a lot of metrics around Allocations API service in Thundernetes. Reference: Issue #384
Solution:
This PR adds in 6 metrics:

AllocationsTimeTakenDuration
The time taken for a successful allocation to complete.
AllocationsRetriesCounter
The number of retries taken for an allocation to complete.
Allocations429ErrorsCounter
The number of 429 (too many requests) errors during allocation
Allocations404ErrorsCounter
The number of 404 (not found) errors during allocation
Allocations500ErrorsCounter
The number of 500 (internal) errors during allocation
Allocation409ErrorsCounter
The number of 409 (request conflict) errors during allocation

These new metrics can help us monitor the allocation service in ways such as monitoring the performance of allocation service in terms of speed and reliability. The metrics allow us to quickly monitor the errors of allocation service helping us to make quicker inferences/decisions.
Along with the metrics, we have also added a couple of panels in the Grafana dashboard to visualize these events.

Great work! Can you add a small description on the PR? Thanks!

Hi @dgkanatsios, I've added a description of the PR. Also a heads up, we are currently still adding some code changes so currently the PR is in draft status.

hey @abbasahmed, let me know how I can help to land this PR! Appreciate all the hard work, thanks!

@abbasahmed @ghov kind ping, we want to release 0.6 next week and it would be great to include your changes!

thanks @abbasahmed, let me know if you need any help!


[subset] [WIP] second attempt at fixing --no-hinting with CFF

After merging PR #606, we spotted an issue so we decided to revert while investigating.
PR #606 was meant to fix an issue with the subsetter's --no-hinting option, which makes it strip all the advance widths from CFF charstrings.
I tried to fix this by 'drawing' the charstring with a NullPen, which would force setting its width attribute.
However I discovered that, with the above mentioned patch, the --no-hinting option would now throw an error with some fonts -- but not with the (admittedly too simple) 'TestOTF-Regular.otf' which is why I didn't catch this while running the automated tests.
Basically some charstrings have their private attribute set to None, hence have no nominalWidthX or defaultWidthX and the draw() method can't compute their width.
Now, if both --no-hinting and --desubroutinize options are passed, the subsetter completes without error.
I suspect it might be related to https://github.com/fonttools/fonttools/issues/144
But I am not sure how to solve this, so I defer to someone more experienced wih CFF and T2CharStrings.
Here's the traceback
$ python -m fontTools.subset "/Users/cosimolupo/Library/Fonts/AGaramondPro-Regular.otf" --no-hinting --notdef-outline '*'
Traceback (most recent call last):
  [...]
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2967, in main
    subsetter.subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2783, in subset
    self._prune_post_subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2766, in _prune_post_subset
    retain = table.prune_post_subset(self.options)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2212, in prune_post_subset
    charstring.draw(pen)  # this will set the charstring's width
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/psCharStrings.py", line 282, in draw
    self.private.nominalWidthX, self.private.defaultWidthX)
AttributeError: 'NoneType' object has no attribute 'nominalWidthX'

Again, apologies for the revert commit.

What's the status of this?

@behdad status is: the issue with --no-hinting stripping CFF advance widths still remains; and I'm not sure how to fix this, as I explained above

just rebased on upstream master and fixed the merge conflict.

it would be nice to have this fixed before the next 3.5.0 release.
To replicate the issue, check out this PR branch, then take for example Adobe Caslon Regular and run the subsetter with --no-hinting option (but without --desubroutinize):
$ pyftsubset ~/Library/Fonts/ACaslonPro-Regular.otf --no-hinting '*'
Traceback (most recent call last):
  File "/usr/local/var/pyenv/versions/fonttools360/bin/pyftsubset", line 11, in <module>
    load_entry_point('fonttools', 'console_scripts', 'pyftsubset')()
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2973, in main
    subsetter.subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2789, in subset
    self._prune_post_subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2772, in _prune_post_subset
    retain = table.prune_post_subset(self.options)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2216, in prune_post_subset
    charstring.draw(pen)  # this will set the charstring's width
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/psCharStrings.py", line 282, in draw
    self.private.nominalWidthX, self.private.defaultWidthX)
AttributeError: 'NoneType' object has no attribute 'nominalWidthX'

Note that if you also pass --desubroutinize option, it seems to work fine.

Humm.  I don't have Adobe Caslon Regular.  But, nominalWidthX and defaultWidthX both default to zero.  Can you adjust the code to use zero if private is not available perhaps?

Thanks. I'll try and let you know how it goes.
(btw, I just sent you a copy via email)

$ pyftsubset ~/Library/Fonts/ACaslonPro-Regular.otf --no-hinting '*'

This works for me with the font you sent.

I tried applying the following patch to fallback to 0 when self.private has no nominalWidthX or defaultWidthX attributes, because it's None:
diff --git a/Lib/fontTools/misc/psCharStrings.py b/Lib/fontTools/misc/psCharStrings.py
index a75b433..fc5e3a4 100644
--- a/Lib/fontTools/misc/psCharStrings.py
+++ b/Lib/fontTools/misc/psCharStrings.py
@@ -279,7 +279,8 @@ class T2CharString(ByteCodeBase):
        def draw(self, pen):
                subrs = getattr(self.private, "Subrs", [])
                extractor = T2OutlineExtractor(pen, subrs, self.globalSubrs,
-                               self.private.nominalWidthX, self.private.defaultWidthX)
+                               getattr(self.private, "nominalWidthX", 0),
+                               getattr(self.private, "defaultWidthX", 0))
                extractor.execute(self)
                self.width = extractor.width

However, now I get a different error, using the same file I sent you:
$ pyftsubset "/Users/cosimolupo/Downloads/ACaslonPro-Regular.otf" --no-hinting '*'
Traceback (most recent call last):
  File "/usr/local/var/pyenv/versions/fonttools360/bin/pyftsubset", line 11, in <module>
    load_entry_point('fonttools', 'console_scripts', 'pyftsubset')()
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2973, in main
    subsetter.subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2789, in subset
    self._prune_post_subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2772, in _prune_post_subset
    retain = table.prune_post_subset(self.options)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2216, in prune_post_subset
    charstring.draw(pen)  # this will set the charstring's width
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/psCharStrings.py", line 284, in draw
    extractor.execute(self)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/psCharStrings.py", line 530, in execute
    rv = handler(index)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/psCharStrings.py", line 575, in op_callgsubr
    subr = self.globalSubrs[subrIndex+self.globalBias]
IndexError: list index out of range

I'm sorry, CFF is a bit over my head. I'll leave it to you :(

I'm sorry, CFF is a bit over my head. I'll leave it to you :(

As I said, the subset command that you said reproduces the issue, works for me.  It's extremely broken if private is None.  So let's dig deeper into why you are seeing this.

For example, load the font and make sure that before subsetting private is NOT none.  Then see where it's disappearing.
I have had seen unusual things happening in that part of the subsetter.  Garret reported something broken with some version of Noto Sans JP, and I could reproduce it and it was a very confused state of renumbering subroutines.  While not the same, it does suggest that there are things badly broken there, so don't trust it.

As I said, the subset command that you said reproduces the issue, works for me. It's extremely broken if private is None.

so you say it's working on your side without applying any patch at all, on current master?
This is super weird...

so you say it's working on your side without applying any patch at all, on current master?
This is super weird...

Yes.

Behdad, when you say it works from current master, you mean the command completes without errors. However the generated CFF charsrrings are stripped of all advance widths.
Which is the issue this PR is trying to address.
You have to check out my PR branch to see the error when doing --no-hinting with Adobe Caslon. Master does not have the patch as we reverted #606 because of the issue with private.
I hope this is clear now.

Behdad, when you say it works from current master, you mean the command completes without errors. However the generated CFF charsrrings are stripped of all advance widths.
Which is the issue this PR is trying to address.
You have to check out my PR branch to see the error when doing --no-hinting with Adobe Caslon. Master does not have the patch as we reverted #606 because of the issue with private.

I see.  Thanks for the clarification.  I'll check.

This subroutinized and hinted OTF file contains a single glyph and reproduces the issue:
Lobster_B_subroutinized_and_hinted.otf.zip
Steps to reproduce:

checkout my PR branch cff-dehint-2
unzip the attached file
run the following command:

$ fonttools subset Lobster_B_subroutinized_and_hinted.otf --no-hinting '*'

You should get this traceback:
Traceback (most recent call last):
  File "/usr/local/var/pyenv/versions/fonttools2/bin/fonttools", line 11, in <module>
    load_entry_point('fonttools', 'console_scripts', 'fonttools')()
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/__main__.py", line 29, in main
    runpy.run_module(mod, run_name='__main__')
  File "/usr/local/var/pyenv/versions/2.7.10/lib/python2.7/runpy.py", line 180, in run_module
    fname, loader, pkg_name)
  File "/usr/local/var/pyenv/versions/2.7.10/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__main__.py", line 7, in <module>
    sys.exit(main())
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/loggingTools.py", line 372, in wrapper
    return func(*args, **kwds)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2976, in main
    subsetter.subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2790, in subset
    self._prune_post_subset(font)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2773, in _prune_post_subset
    retain = table.prune_post_subset(self.options)
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/subset/__init__.py", line 2216, in prune_post_subset
    charstring.draw(pen)  # this will set the charstring's width
  File "/Users/cosimolupo/Documents/Github/fonttools/Lib/fontTools/misc/psCharStrings.py", line 282, in draw
    self.private.nominalWidthX, self.private.defaultWidthX)
AttributeError: 'NoneType' object has no attribute 'nominalWidthX'

I updated the tests and expected test data in 23e3107 (I'm now using a subset of Lobster).
If I use the NullPen to draw the charstrings before stripping the hints (in order to set the width attribute), then the test_no_hinting_CFF fails with AttributeError: 'nominalWidthX':
https://travis-ci.org/fonttools/fonttools/jobs/191919899
If you run the same tests against current master (revert 0eca9b0), you will see they also reproduce the original issue -- the charstrings' advance widths are being stripped along with the hints. (OSX reads the widths from the CFF charstrings instead of hmtx...)
In the Lobster.subset.ttx, the AttributeError issue only arises with the charstrings "B" and "B.salt". These both call the subroutine index=2 (-105 callsubr).
Now, it seems that this subroutine contains one of those "tricky" hintmasks, as @behdad describes them in an inline comment:

A hintmask right after hints and a few numbers will act as an implicit vstemhm.

I have no clue how to fix this, so I'll tag v3.5.0 without this patch.

I rebased the PR on master to accommodate the changes in the test folders layout.
The CI failure for commit 722328d clearly reveals the bug in the current implementation of --no-hinting, which also strips the charstrings' advance widths:
https://travis-ci.org/fonttools/fonttools/jobs/192764045#L1305
The following commit (6185a9f), which is meant to fix the previous bug, also fails but for a different reason, i.e. the above mentioned AttributeError:
https://travis-ci.org/fonttools/fonttools/jobs/192765664#L1310

This patch makes the test pass! 🎉
diff --git a/Lib/fontTools/subset/__init__.py b/Lib/fontTools/subset/__init__.py
index b05bd48..b6e9ccc 100644
--- a/Lib/fontTools/subset/__init__.py
+++ b/Lib/fontTools/subset/__init__.py
@@ -2048,7 +2048,7 @@ class _DehintingT2Decompiler(psCharStrings.SimpleT2Decompiler):
         cs = self.callingStack[-1]
         hints = cs._hints
         hints.has_hintmask = True
-        if hints.status != 2 and hints.has_hint:
+        if hints.status != 2:
             # Check from last_check, see if we may be an implicit vstem
             for i in range(hints.last_checked, index - 1):
                 if isinstance(cs.program[i], str):
@@ -2056,6 +2056,7 @@ class _DehintingT2Decompiler(psCharStrings.SimpleT2Decompiler):
                     break
             if hints.status != 2:
                 # We are an implicit vstem
+                hints.has_hint = True
                 hints.last_hint = index + 1
                 hints.status = 0
         hints.last_checked = index + 1
@@ -2205,15 +2206,17 @@ def prune_post_subset(self, options):
             #     we have seen any non-hint operators so far and do the right
             #     thing, recursively... Good luck understanding that :(
             css = set()
+            pen = NullPen()
             for g in font.charset:
                 c,sel = cs.getItemAndSelector(g)
                 c.decompile()
+                # this will set the charstring's width
+                c.draw(pen)
                 subrs = getattr(c.private, "Subrs", [])
                 decompiler = _DehintingT2Decompiler(css, subrs, c.globalSubrs)
                 decompiler.execute(c)
-            pen = NullPen()
+                c.draw(pen)  # this will set the charstring's width
             for charstring in css:
-                charstring.draw(pen)  # this will set the charstring's width
                 charstring.drop_hints()
             del css

however... it's stll not clear to me why this works! 😁
Well, I'll investigate tomorrow -- too tired of Type2 charstrings.

@behdad could you have a quick look at this?
I think I've identified the root of the issue, with the hintmask operator acting as an implicit vstem but from inside a subroutine.
The patch above applied on this branch seems to fix things, that is I finally seem to be able to strip the hinting and keep the charsrrings width, without also needing to desubroutinize at the same time to work around it.

Thanks. Will check tomorrow.

OK, the tests now pass!
The subsetter now correctly keeps the advance widths when doing --no-hinting (dcaf27d), and doesn't leave behind vstemhm hints when hintmask occurs inside a subroutine (2b76efb).
I'll release 3.6.0 now without this one to give @behdad some time to review it.
We can always release 3.6.x later.

@anthrotype and @behdad, what to do with this pull request?


Master ryan update

Hi Cameron, I'm not sure what happened here but I meant to push and merge changes into my forked copy of RM-tools. Just ignore this pull request.


beer-song:  verify ordering of actual/expected

In the Jasmine testing framework, it is convention to:
expect(actual).fn(expected)

But some test suites have the following:
expect(expected).fn(actual)

This causes the error messages to be confusing.
Please verify the beer-song exercise to make sure that the expectations are ordered correctly. If they are, then this can be closed.
This issue will help to close #111

I've got this one

This one is OK and can be closed

I'm running out of compliments :smile_cat:
Thank you so much.


inline comments

having worked with the inline comments with a new line.  Not sure this is necessary and there seems to be a preference for "descriptive" inline comments at the end of the line

So we remove the whole "single line comment" bit? I'm okay with that.
Should we take out the FIXME stuff as well? IIRC we came to agree that the wording of that isn't really appropriate, but that TODO is fine as long as we clarify that nothing "todo" should ever be shipped.

Have made changes to the inline comments, should we simple leave in the last block
Use //TODO  to annotate solutions to problems (but should not be shipped to production)

:+1:
That seems fine to me.


Still can't install.

          Thank you for the quick response.

Unfortunately, your response, although quick, does not solve the problem. Those are the instructions I was carefully following when I ran into this problem.
The instructions you link to tell me to add an integration that does not appear on the list, with or without refreshing my browser cache.
"Or manually copy sonoff folder from latest release to custom_components folder in your config folder." but as a new user of Home Assistant Operating system, I have no idea how to transfer files into my config folder.
And I still don't have an address for  valid repository for this addon. Is there one?
Originally posted by @hairy-dog in https://github.com/AlexxIT/SonoffLAN/issues/1344#issuecomment-1943583716

This is not addon. This is custom component. You need to learn more about Hass.
Just search lessons how to install custom component.
This repository is not related to teaching the basics of Hass.

Clearly, installing this would be a mistake in any case: it is developed by someone with an attitude problem, who refuses to offer help or realise when he has made a mistake.

You just didn't read the instructions carefully enough. HACS is a link to Home Assistant Community Store
https://github.com/AlexxIT/SonoffLAN#installation

HACS > Integrations > Plus > SonoffLAN

Yes, that link takes me to
"Installation
HACS  >  Integrations  >  Plus  >  SonoffLAN"
which does not exist.
That's the issue I'm reporting and the issue you are ignoring.

On 14 Feb 2024 at 15:03, Alex X  @.***>  wrote:
You just didn't read the instructions carefully enough. HACS is a link to Home Assistant Community Store
https://github.com/AlexxIT/SonoffLAN#installation

HACS   >  Integrations  >  Plus  >  SonoffLAN

—
Reply to this email directly,   view it on GitHub, or   unsubscribe.
You are receiving this because you authored the thread.Message ID:  @.***>

SonoffLAN third popular default integration in the HACS. So can't confirm your words.


PlatformIO Extension Does Not Complete Installation

VSCode Version: 1.27.2
OS Version: macOS 10.13.6

The issue occurs when in a new VSCode installation the Git update modal dialog appears in the lower right-hand corner. This prevents the PlatformIO extension to not fully install until the Git update modal dialog is closed. However, the dialog appears as just a notification panel and is not suspected as a dialog that prevents other processes to finish.
This causes the user to wonder why the PlatformIO extension UI elements and functionality is not present in VSCode.
Steps to Reproduce:

Install VSCode
Install a new extension
If Git update notification modal dialog appears, don't confirm or close it

Does this issue occur when all extensions are disabled?: No

@jurgenbeck May I know if you are getting a native dialog like this one

or a prompt like

It was the second (dark) prompt sitting in the lower right-hand corner, thus the confusion. If it had been a native dialog, it would have been clear what to do, as the application would not have let me continue. With the second dialog, it appeared to give me a choice whether to complete it now or at another time and not something that interfered with the successful install completion of the PIO extension.

@jurgenbeck Can you please let me know what dialog from Git it is? Also set the log level to trace and get the logs (shared process) from output channel while you are doing it.


Support for UDP ports?

It appears that this agent currently only support setting up forwards for TCP listeners. Would it be possible to detect and support UDP ports as well?
The iptables lookup entries already include whether the port is TCP/UDP, so hopefully it is as simple as checking the flag and opening the listener in a different mode.
Thoughts?

hopefully it is as simple as checking the flag and opening the listener in a different mode.

I don't think the network bridge between Windows and WSL support UDP port forwarding, but am not sure.
We'll eventually implement our own port forwarding code to also allow listening on external interfaces, and not just on localhost.
@Nino-K should have more details.

Yeah, it looks like this is a limitation of WSL. They've been using this issue as the basis point for several UDP-related problems, but it doesn't look like there's much activity on that issue specifically. There's a lot more discussion about supporting bridge networking with WSL (and even some support for it in the WSL Preview), but it is unclear what that would do for UDP networking or even if it is an acceptable solution.

We have a plan to tunnel all traffic through a vsock so it looks like it originates from and terminates on the host, and not inside WSL2. That should also help with proxy settings and other problems, and we will be decoupled from whatever WSL2 is doing. But it will take a while to get implemented.


PackageId:CPython39.Exe.x64;PackageAction:Install;ReturnCode:1603;

This issue has been moved from a ticket on Developer Community.

[severity:I'm unable to use this version]
Describe your issue here
Any attempt to install or reinstall this package always fails. I removed everything and reinstalled but the error persists. My Windows has all the latest updates installed.
===DO NOT EDIT BELOW THIS LINE===
PackageId:CPython39.Exe.x64;PackageAction:Install;ReturnCode:1603;

Original Comments
Feedback Bot on 12/20/2022, 06:50 PM:
(private comment, text removed)

Original Solutions
(no solutions)

duplicate of #7320


Recreate the Forms engine in Figma

We currently use https://digitalspace.github.io/ngds-toolkit/forms as our form engine, which is based on bootstrap.
Acceptance criteria:

Figma form components match the styling of the form engine we use

https://www.figma.com/file/3Zthj9Ci5QoJOAz6p3TcLP/BC-Parks---Admin-Library?type=design&node-id=174-4394&mode=design

looks good - moving to done


Update to use official cloud builders and AR urls

Once the https://github.com/bendory/cloud-builders/pull/7 gets merged, will update the gke-windows-builder to use official cloud builders.

/hold

LGTM pending merge of https://github.com/bendory/cloud-builders/pull/7 and publish to us-docker.pkg.dev/cloud-builders/preview/gke-windows-builder:latest.

bendory/cloud-builders#7 is merged, and us-docker.pkg.dev/cloud-builders/preview/gke-windows-builder:latest has been created.


Search is not appearing

When i am uploading this theme search  bar is not showing , what am i missing

you can see demo here .
https://www.datadiscuss.com

@veshitala Hi! To enable the search feature you have to follow these steps:
https://github.com/eddiesigner/liebling/wiki/How-to-enable-search

Thank you so much now it is working fine


Resolve the open questions about Spring Messaging Service Bus / Event Hubs

[ ] ~1. Value of having APIs like ServiceBusTemplate/EventHubsTemplate/StorageQueueTemplate instead of using the SDK sender client directly.~
[ ] ~2. For package name like com.azure.spring.<service-name>.core., if core has to be removed.~
[ ] ~3. If some factory abstraction such as ServiceBusProducerFactory should be replaced by using SDK client builder directly.~
[ ] ~4. For some factory implementation class such as DefaultServiceBusNamespaceProducerFactory, if namespace has to be removed and mark as private class.~
[x] 5. If properties of Service Bus such as ConsumerProperties, ProducerProperties should be align with the SDK terminology, like receive and sender.

We have discussed this in the auto-configuration properties, and we'd like to follow the Spring Messaging convention and unify these to be Consumer and Producer.

[x] 6. For the message converter, if we need to use ObjectSerializer instead of ObjectMapper.

For a MessageConverter to use Jackson or ObjectSerializer:
This is implementation detail and will not bring any breaking change if we change it later.
Spring has one convert framework to support converting between different types.
Considering these two points, this will not be a blocker for GA. We agreed that we can improve this after GA.

[x] 7. Should accept Iterable or Collection for EventHubsTemplate#sendAsync.

In the Event Hubs producer API EventHubProducerClient.send(Iterable<EventData> events), if the size of events exceeds the maximum size of a single batch, an exception will be triggered and the send will fail. So this API doesn't support an unlimited collection. The Spring implementation doesn't support either, but when the size of events exceeds the maximum, exception won't be thrown and events will be split into several batches automatically. That's why we choose Collection instead of Iterable.

[x] 8. Usage of DefaultStorageQueueClientFactory and StorageQueueClientFactory.
[x] 9. To move internal classes to impl package, including EventDataHelper and StorageQueueHelper.
[ ] 10. Should we implement the abstraction of MessagingTemplate instead of Template.   -- Nice to have.
[ ] 11. If StorageQueueTemplate should implement a ReceiveOperation interface given it has a receiving API.  --  ReceiveOperation has been removed.
[x] 12. Should we move all DefaultxxFactories be moved into impl package given it has autoconfiguration and is a final class? Or we provide samples of customized autoconfiguration of it.
[ ] 13. Should ServiceBusTemplate implement a ReceiveOperation interface to follow KafkaTemplate?  --  ReceiveOperation has been removed.
[x] 14. Should the implementations of EventCheckpointManager should be set as package scope or moved to impl package?

Close this issue for all questions has been solved.


Create ali-siddiqui-bmc-interview.md

Enclosed is the content approved by the interviewee of the first interview in the series.
Please feel free to suggest improvements in style and formatting.

@Oshratn can you also add the header for the blog info like

title: "Making Inclusion Part of Your Business is Better for Business. Period."
date: 2021-06-01
slug: inclusive-good-for-business
author: Wendy Rentschler, Shahed Alqadi

it just needs --- around the header. If you want to see a preview, you can it on the last part of netlify to check how it looks

Ready to be published on August 11th 2021

Thanks @xmulligan I was OOO today and had planned to do it tonight.


Issue while downloading Docker Image

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...Open Kinematic and Search Spring boot image
...Select Spring Boot base image and click create

Unable to replicate - I can download the https://hub.docker.com/r/bankmonitor/spring-boot/ without issues.
Please provide the error received.


[Intel MKL] Replace redundant attribute function with a generic function.

In MKL layout pass, use an iterator to get all attributes from original node, and copy them to the node builder instead of specific function. It helps to remove redundant code.
TF will throw an error if the two nodes have different attributes, so it can be easily found when copied wrong attributes.
modified:

tensorflow/core/graph/mkl_layout_pass.cc

Signed-off-by: Lu Teng<EMAIL_ADDRESS>

@Zantares Could you please resolve the conflicts? Thanks!

@Zantares Could you please help resolve the conflicts? Thank you!

@Zantares Could you please help resolve the conflicts? Thank you!

Sorry for the delay, I was on a vacation few days ago. I have merged the master to this branch and fixed the conflict, please take a review again, thanks!

This PR helps me to find redundant attributes in UT,  I removed them and made a new commit.


Get real architecture of M1 Mac regardless of Rosetta

Get real architecture of M1 Mac regardless of Rosetta or node version, see #3239

Logging added and docs updated via commit https://github.com/lovell/sharp/commit/5be36c2deb735577fc76fa52242836d40df276bd


🐞[Bug]: The contents of navbar are hidden.

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
Users don't see anything on the navbar because the contents are hidden due to 'hidden' tailwind class. The navigation bar needs to be visible.
Expected behavior
The contents of navbar should be visible to users.
Add ScreenShots

What browsers are you seeing the problem on?
Chrome
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Thank you for creating this issue! 🎉 We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.

Kindly assign this issue to me

I can see the navbar. I do not understand what you are saying. explain in detail the problem.


'Disable linter x' == 'enable every linter except x'?

I'm trying to figure out how to disable a linter. The FAQ makes it look like to disable a linter I have to tell ALE which linters to run rather than just telling it which not to run:

By default, all available tools for all supported languages will be run. If you want to only select a subset of the tools, simply create a g:ale_linters dictionary in your vimrc file mapping filetypes to lists of linters to run.

Am I reading that correctly? proselint and alex are both very opinionated, eg. If I do not want to use them it looks like I need to construct a multiline dictionary and manually keep it up to date with the list of linters ALE supports by default.
It seems more natural to me in this case (though perhaps not generally) to have an option to tell it which not to use, rather than tell it which to use. Is there a way to do this?
My apologies if I've misread something or failed to find an existing issue addressing this. I found a pointer back to the FAQ in an issue but not a more detailed answer to this question.

Duplicate of #1453


gcrs_to_j2000() transfromed in the wrong direction

This also affected place(), when the desired output system was a dynamical system of the old type.

HOTFIX on main branch at 759f720


feat: add fn body for 'process_participation_record_updates'

@ralexstokes before I merge this -- since you were just creating skeletons, should I remove _context from the fn parameters if it's unused? Or, are you trying to keep everything sorta consistent with state and context always being passed?

should I remove _context from the fn parameters if it's unused?

yes please!


Remove/Replace Updater

Current implementation only works for AppImages or Setup but still sends notifications on the portable versions on every startup.
It should instead only show a notification once for portables and give better feedback for updating on the other versions.
Either gonna find a way to give better feedback or just remove it completely.

Removed for now maybe will find a better alternative in the future


Deployment of CosmosDB Account takes a lot of time

The bicep deployment time of the bicep file below is really high (westeurope). Even if it's already exists. Can this be investigated?

param location string
param cosmosDbAccountName string
param accountOfferType string

var locations = [
  {
    locationName: location
    failoverPriority: 0
    isZoneRedundant: false
  }
]

resource cosmosDbAccount 'Microsoft.DocumentDB/databaseAccounts@2023-04-15' = {
  location: location
  name: cosmosDbAccountName
  kind: 'GlobalDocumentDB'
  properties: {
    disableKeyBasedMetadataWriteAccess: true
    databaseAccountOfferType: 'Standard'
    consistencyPolicy: {
      defaultConsistencyLevel: 'Session'
      maxIntervalInSeconds: 5
      maxStalenessPrefix: 100
    }
    backupPolicy: {
      type: 'Continuous'
    }
    locations: locations
    enableAutomaticFailover: true
  }
  tags: {
    defaultExperience: 'DocumentDB'
  }
}

That's not necessarily a Bicep issue (as this is just the DSL for ARM templates) and likely more of an Azure resource issue. If you have a support subscription, I'd recommend filing a support ticket and asking there as they'd be more able to assist with deployments.


Receiving multiple webhook notifications for outlook calendar event

I have posted issue details here.
https://stackoverflow.com/questions/59910083/receiving-multiple-webhook-notifications-for-outlook-calendar-event

the answer has been provided on stack, closing


TileMap NormalMap behaves incorrectly for transposed tiles

Godot version:
v3.2.2.stable.official
OS/device including version:
Ubuntu 18.04.4.LTS
Issue description:
When using a TileMap with a normal map and a Light2D, transposed cells do not take the light correctly.
Using the following cell texture, normal map, and Light2D:

The following behaviour is observed:

Steps to reproduce:

Create a TileSet with a normal map
Draw transposed cells in a TileMap (e.g. rotate 90 degrees, in either direction, with or without a single flip)
Add a Light2D
Enable the Light2D, place near the tiles, adjust height and energy until effects are seen.

Minimal reproduction project:
Bug demo.zip

Note this demo is GLES3. Out of interest I tried it in GLES2. It turns out the legacy renderer does the same as GLES3 (incorrect according to this issue), but the batching renderer does it correctly (i.e. flips the normal map).
We'll have to decide on what the correct behaviour should be, I'll have look at the shader and see if I can work out why the legacy renderer is not flipping (perhaps this is intentional).


No contents in v2.30.7

In newest version, v2.30.7, all contents in editor window is cleared. Left is:

.
Contents is set with setContents().

The "setContents()" is change all contents of the editor.
Whats problem?

I use setContents() function to load the contents into Suneditor. Nothing seem to load.
If I open Suneditor, edit contents, save the data and exit the edit mode, contents is visible. If I then try to edit this contents (fetched and set with setContents), I end up with an empty edit area. Worked fine up till version 2.30.7.

I will notify you after modifying the code regarding the editor's loading.
Please use this code:
editor.onload = (core, reload) => {
 editor.setContents("contents");
}

Hi,
"value" option has been added.
It is a initial value of the editor.
It can be used from the next version.

The 2.31.0 version has been updated.
Thank you.


report problems

see: https://github.com/dolthub/swiss/blob/c0064a04cd348d5e57676225b6d34a27c56c6700/bits_amd64.go#L34
The group size is 8, but when use simd, it convert to 16.
If the locate is the last one, programe might be coredump, or result not correct.

compare with https://github.com/rust-lang/hashbrown, group size should be 16.

group count should be one more.
when the locate is ths last one, and use unalign load, the last one more group can avoid out of range.

Sorry, I think this library still has a lot of bugs and is far from reaching a level that can be actually used.

As far as I know, for amd64 with simd, groupSize is 16. See https://github.com/dolthub/swiss/blob/c0064a04cd348d5e57676225b6d34a27c56c6700/bits_amd64.go#L27 .

For number 3, is the claim that numGroups computes a slice that is too small? Can you provide an example of input that performs a load off the end of the allocated slice?

Thanks for your interest in the project and your report :).

Thank you so much, I will test it again.


Fix for deploying the bot to an existing resource group

Description
Updated first call to msbot clone to use the groupName parameter.
Updated the second call to use $groupName instead of $name
Related Issue
Using deploy_bot.ps1 with -groupName doesn't use the resource group name when executing msbot clone.
Testing Steps
Precreate a resource group in azure with any name, i.e. TestResourceGroup
execute
debloy_bot.ps1 -name MyTestBot -groupName TestResourceGroup
The bot should be created in the provided resource group (before it as created a resource group with the bot name and creating the resources there rather than using the resource group parameter)

@lauren-mills, I added a default to the parameter, let me know what you thing.
Sorry it took so long.


Where is Microsoft Hello data stored?

This should read 'Where is Windows Hello data stored?'

@andrewwillett - May we know which Microsoft document link you used in reference to this issue?
Please share it with us so we can investigate further. Thank you.

@officedocsbot assign @mypil

https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-biometrics-in-enterprise#where-is-microsoft-hello-data-stored

@andrewwillett - Thank you for submitting feedback.
I will get this issue over to the Win10 ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@andrewwillett - PR #4559 has been created to fix and close this issue once the PR is merged.
Thank you for your contribution to make the docs better! Much appreciated!


While training PARTA2_free or PVRCNN

maxoverlaps:(min=nan, max=nan)
ERROR: FG=0, BG=0
epochs:   0%|
File "/OpenPCDet/tools/../pcdet/models/roi_heads/target_assigner/proposal_target_layer.py", line 159, in subsample_rois
raise NotImplementedError
NotImplementedError
Why I am getting this error?

@kbratsy
May I ask if you've solved it? I had the same problem.


How to Get Selected Dropdown Value in Dialog

Hi,
i created a function to transfer data from one user to another user.  And destination user is selected in a popup dialog below.

I have copied how the BulkAction is done and below is my code.
My question is, how to I return the selected user in ContactsTransferDialog.ts to be sent back to the ContactsGrid.ts?
ContactsGrid.ts
protected getButtons() {
   var buttons = super.getButtons();

   buttons.push({
      title: "Transfer",
      hint: "Transfer Contacts",
      onClick: () => { this.transferData();},
      icon: 'fa-exchange'
   });

   transferData() {
      let self = this;
      jQuery(function () {
          var dlg = new Moby.Inquiry.ContactsTransferDialog();
         dlg.element.bind('dialogclose', () => {

         if (!self.onViewSubmit()) {
            return;
         }

         var action = new ContactsBulkAction();
             action.done = () => self.rowSelection.resetCheckedAndRefresh();
             action.execute(self.rowSelection.getSelectedKeys());
          });

          dlg.loadNewAndOpenDialog();
          dlg.dialogTitle = "Transfer Contacts";
      });
   }

ContactsTransferDialog.cs
  [FormScript("Inquiry.ContactsTransfer"), DisplayName("Transfer Contacts")]
    public class ContactsTransferForm {
        [DisplayName("Transfer to"), LookupEditor(typeof(UsersRow))]
        public Int32 UserId { get; set; }
    }

ContactsTransferDialog.ts
protected getToolbarButtons(): Serenity.ToolButton[] {
            let buttons = super.getToolbarButtons();

            buttons.push({
                title: Q.text('Transfer'),
                cssClass: 'transfer-button',
                icon: 'fa-exchange text-blue',
                onClick: () => { _ ### _this.form.UserId = how to return selected data to ContactGrid.ts?__ }
            });
}

Thank You in advance..

// parent dialog
export class ParentDialog extends Serenity.EntityDialog<ParentRow, any> {

   methodToOpenChildDialog() {
       let dialog = new ChildDialog();
       dialog.returnData = (dataList) => {
           // assign the returned value to the field on the parent form.
           this.form.dummyfield.value = dataList[0];
           ...
       };
       dialog.Open();
   }
}

// child dialog
export class ChildDialog extends Serenity.EntityDialog<ChildRow, any> {
   public returnData = (dataList: number[]) => void;

   protected onDialogClose() {
      // here's where you invoke to return simple array to parent
      this.returnData([1, 2, 3, 4]);
      ...
   }
}

Read more here https://github.com/volkanceylan/Serenity/issues/3274#issuecomment-374404174

Hi minhhungit,
Thanks for the prompt response.  I only have one issue, typescript is trowing error when i'm trying to add this anonymous function returnData:

Hi,
Not sure whats going on, but it works when I changed it to below:
public returndata: (dataList: string) => void;
I will close this issue now.


Check if Jenkinsfile is read correctly

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest

please retest


Building avr-gcc-libc fails

Issue description
Building avr-gcc-libc fails.
I try to install with the command
$ nix-env -iA nixos.avrgcclibc

The output this produces is very long and terminates with
g++ -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp -I../../gcc -I../../gcc/cp -I../../gcc/../include -I../../gcc/../libcpp/include  -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace   -o cp/except.o
-MT cp/except.o -MMD -MP -MF cp/.deps/except.TPo ../../gcc/cp/except.c
In file included from ./tm.h:18:0,
                 from ../../gcc/cp/except.c:27:
../../gcc/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
    fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\
                     ^
../../gcc/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
       fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",  \
                        ^
In file included from ../../gcc/cp/except.c:1023:0:
cfns.gperf: In function 'const char* libc_name_p(const char*, unsigned int)':
cfns.gperf:101:1: error: 'const char* libc_name_p(const char*, unsigned int)' redeclared inline with 'gnu_inline' attribute
cfns.gperf:26:14: note: 'const char* libc_name_p(const char*, unsigned int)' previously declared here
cfns.gperf: At global scope:
cfns.gperf:26:14: warning: inline function 'const char* libc_name_p(const char*, unsigned int)' used but never defined
make[2]: *** [Makefile:1064: cp/except.o] Error 1
make[2]: Leaving directory '/tmp/nix-build-avr-gcc-libc.drv-0/gcc-5.3.0/obj-avr/gcc'
make[1]: *** [Makefile:4094: all-gcc] Error 2
make[1]: Leaving directory '/tmp/nix-build-avr-gcc-libc.drv-0/gcc-5.3.0/obj-avr'
make: *** [Makefile:852: all] Error 2
builder for ‘/nix/store/0ypaa4x9x0lsyygciasw9m1v4jswgm49-avr-gcc-libc.drv’ failed with exit code 2
error: build of ‘/nix/store/0ypaa4x9x0lsyygciasw9m1v4jswgm49-avr-gcc-libc.drv’ failed

Steps to reproduce
$ nix-env -iA nixos.avrgcclibc

Technical details

System:

$ nixos-version
17.03.1775.56da88a298 (Gorilla)

Nix version:

$ nix-env --version
nix-env (Nix) 1.11.13

Nixpkgs version:

$ nix-instantiate --eval '' -A lib.nixpkgsVersion
"17.03.1775.56da88a298"

Sandboxing (not) enabled:

$ grep build-use-sandbox /etc/nix/nix.conf
build-use-sandbox = false

Fixed in https://github.com/NixOS/nixpkgs/commit/2d77958271ad6beeeb082635eb3e1cb508189d8d


Problem

How did you manage to compile if the sketch has a problem?

It's because of the library file issue with OLED, as it supports a wide range, you need to modify it to a working mode suitable for BW16

Hello, and what would be the working mode for OLED 1306?

即便是修复好了攻击也没有效果，聪明的已经自己构建代码了。

Can you pass the fixed sketch?

share the code

分享代码

No, this is a closed source firmware from another author


Extract the babeljs plugin

Hi,
I found your repo, that looks really efficient to generate prop-types.
I saw that the inject method does inject prop-types into a file content, but the file content need to be a JS file, not a TS one.
The Javascript reality is that build is really complex and babel does really simplify it.
As a matter of facte, I saw that you do have a babel plugin that injects proptypes into the AST, that is called by the inject method. But it has it's own configuration, of babel.
Do you think it would be possible to externalize this plugin to make a "real" babel plugin ?
The idea behind that is to have a babel config like that:
module.exports = {
  presets: [
    '@babel/typescript',
    '@babel/react',
    [
      '@babel/env',
    ],
  ],
  plugins: [
    // ...
    'your-babel-plugin',
  ]
};

thank you !

I saw that the inject method does inject prop-types into a file content, but the file content need to be a JS file, not a TS one.

It can be any valid source code, you just need to provide it the babel plugins to be able to understand it
https://github.com/merceyz/typescript-to-proptypes/blob/d02a08a7f4c7a25e08c786fa8b625d838613c8b5/src/injector.ts#L45-L48

Do you think it would be possible to externalize this plugin to make a "real" babel plugin ?

Sure, that should be possible


Add arm_64 platform

Add arm build assets as a separate platform, to avoid overwriting x64.

@leo I have updated with requested changes


b/374639328 #3 30 sec delay added for bgp and isis to come up

Pull Request Functional Test Report for #3552 / 7b604c56bf5c674168bdfd88f81f3e6e88b86569
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.34: BGP route-distance configuration
b131c2ce
Log

Cisco 8000E

RT-1.34: BGP route-distance configuration
8e44332e
Log

Cisco XRd

RT-1.34: BGP route-distance configuration
0b1ef54a
Log

Juniper ncPTX

RT-1.34: BGP route-distance configuration
fdb61551
Log

Nokia SR Linux

RT-1.34: BGP route-distance configuration
a625fc25
Log

Openconfig Lemming

RT-1.34: BGP route-distance configuration
946169bb
Log

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.34: BGP route-distance configuration

Cisco 8808

RT-1.34: BGP route-distance configuration

Juniper PTX10008

RT-1.34: BGP route-distance configuration

Nokia 7250 IXR-10e

RT-1.34: BGP route-distance configuration

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.268%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


Fixes for Windows "Comparable Build" scripts to functioning correctly using cygpath's

Some cygpath conversions were missing from comparable_patch.sh
processModuleInfo duplicate removed, as in correct impl is in repro_common.sh
Updated doc to correctly state how to setup Windows environment for comparable_patch.sh

dragonwell 11 failure looks like an upstream dragonwell failure


Auditor 20 not working on Pixel 3a (RP1A.200720.009.2<IP_ADDRESS>)

I am running Graphene OS build number RP1A.200720.009.2<IP_ADDRESS>. I upgraded it from RP1A.200720.009.2<IP_ADDRESS>
Both local and remote scheduled verification do not seem to work.

Scheduled remote verification does not work. When I scan the QR code on attestation.app my phone says:

Failed to submit remote attestation

Local verification does not work. My phone says:

Error encountered generating attestation: Failed to verify certificate Certificate

Data:

Version: 3 (0x2)

Serial Number 1(0x1)

Signature Algorithm: ecdsa-with-SHA256

Issuer: serialNumber=90e8da3cadfc7820/

title=StrongBox

Validity

Not Before: Dec 29 15:31:03 2021 GMT

Not After: May 23 23:59:59 2029 GMT

Subject: CN=Android Keystore Key

Actually the error message is longer than this (I copied it by hand, and I do not know how to copy and past it from the phone, sorry).
I am using Auditor 20 either on Pixel 3a and on the device performing verification. Before testing the new Auditor version I have:

Cleared Auditor pairings.
Cleared Auditee pairings.
Disabled remote verification.
Cleared Auditor's cache and data on both pones.
Reboot both the devices.

None of these was helpful.

Can confirm that since the latest update (2<IP_ADDRESS>).
Until build 2<IP_ADDRESS> (Auditor 19) it works

@thestinger This is what I get after turning on remote verification on RP1A.200720.009.2<IP_ADDRESS>:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: remote verify failure
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: java.security.GeneralSecurityException: Failed to verify certificate Certificate:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:     Data:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         Version: 3 (0x2)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         Serial Number: 1 (0x1)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:     Signature Algorithm: ecdsa-with-SHA256
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         Issuer: serialNumber=90e8da3cadfc7820/title=StrongBox
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         Validity
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:             Not Before: Jan  8 13:04:51 2022 GMT
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:             Not After : May 23 23:59:59 2028 GMT
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         Subject: CN=Android Keystore Key
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         Subject Public Key Info:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:             Public Key Algorithm: id-ecPublicKey
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 Public-Key: (256 bit)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 00000000  04 5d a3 00 97 65 7f 7a  aa 25 f0 83 db 79 12 a8  |.]...e.z.%...y..|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 00000010  33 d9 0b 08 18 2e b1 0a  9c 58 4d 01 03 49 56 9a  |3........XM..IV.|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 00000020  7a f7 dd b8 75 f9 fc 42  03 ae e0 77 e1 e2 e3 93  |z...u..B...w....|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 00000030  ef a1 95 43 a7 fa 74 99  d1 20 9c 91 a5 d7 c1 6d  |...C..t.. .....m|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 00000040  81                                                |.|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:         X509v3 extensions:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:             X509v3 Key Usage: critical
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 Digital Signature
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:             <IP_ADDRESS>.4.1.11<IP_ADDRESS>:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:                 0..8...
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: ....)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: ... Mma....5?..=s....G#V.E.......E7...0d.......t......=....t......EH.F0D1.0...app.attestation.auditor...1". .....K..O...2.......Z"....D*Jb.,0....1....................1......w.....>......@L0J. ?6.H...).WeR.O........#.4...-).....
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: ... ...^}Q...~.r.....vi.?W.....m.v.v..A........B........N....4=...O....4=.
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:     Signature Algorithm: ecdsa-with-SHA256
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:          30:46:02:21:00:a6:b7:b9:97:5c:4a:52:85:ef:97:75:d9:ad:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:          3a:70:2b:ce:24:f8:76:42:0e:a2:ab:85:b7:2e:08:57:5b:24:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:          a8:02:21:00:fc:d3:6c:2d:99:b5:c2:5e:e0:c2:46:70:6e:7b:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:          36:22:20:94:18:ec:3b:83:98:fd:71:1f:0d:f2:b9:7b:47:39
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:  with public key Public-Key: (256 bit)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 00000000  04 e4 57 44 c2 b1 9f af  70 8a 17 2b 40 4b 7b 8a<EMAIL_ADDRESS>10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 00000010  b8 b1 0d 6f 78 13 c4 db  6f 0b aa 57 50 09 03 c2  |...ox...o..WP...|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 00000020  6f a2 01 0a 93 3b ac 70  e0 2a 6b 1a be 25 ad b0  |o....;.p.*k..%..|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 00000030  0d 1a 9c 9c 94 a5 71 d3  56 2c 74 99 d2 32 f5 77  |......q.V,t..2.w|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 00000040  27                                                |'|
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob:
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at c.a.a.d.n(:1)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at c.a.a.d.h(:4)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at app.attestation.auditor.RemoteVerifyJob$a.doInBackground(:1)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at android.os.AsyncTask$3.call(AsyncTask.java:394)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at java.lang.Thread.run(Thread.java:923)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: Caused by: java.security.cert.CertificateNotYetValidException: Certificate not valid until Sat Jan 08 05:04:51 PST 2022 (compared to Thu Oct 01 12:05:09 PDT 2020)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at com.android.org.conscrypt.OpenSSLX509Certificate.checkValidity(OpenSSLX509Certificate.java:264)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at com.android.org.conscrypt.OpenSSLX509Certificate.checkValidity(OpenSSLX509Certificate.java:256)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	at android.security.keystore.DelegatingX509Certificate.checkValidity(DelegatingX509Certificate.java:69)
10-01 12:05:09.217  4843  5039 E RemoteVerifyJob: 	... 9 more

Auditor is correctly producing an error due to the Titan M creating the public key certificate with a Not Before date in 2022. You can see the problem in the output. This is the error message from above:
Caused by: java.security.cert.CertificateNotYetValidException: Certificate not valid until Sat Jan 08 05:04:51 PST 2022 (compared to Thu Oct 01 12:05:09 PDT 2020)

The reason this bug was uncovered by the latest release is because we didn't yet have network time sync working on Android 11 until the most recent release. It appears that when the time is synced, the Titan M ends up with the wrong time. Auditor checks the validity dates of the certificates, not really for any particular reason, but because it's good practice, and it errors out because the certificate says it isn't valid until 2022. The only way I could really address this right now is by removing the time validity check for the attestation certificate. It can be left in place for the others.

So, this isn't a bug in Auditor. It can potentially be worked around here, but this is Auditor working as designed. It's a bug in either the OS (in how it syncs time to secure elements) or in the secure element firmware.

https://github.com/GrapheneOS/Auditor/commit/47c7c7257287c5f649aec47d0563fa0de4900f56 works around this.

Thank you beerisgood for linking to this thread. I am afraid I am very new to all of this and I am not clear on what I need to do in order to get Auditor to resume attestation. Could someone help?


2d/3d array index enumerable

I want to have an enumerable that gives a tuple of index for 2d array and 3d arrays
Should allow configuring whether to use row major or column major ordering

[x] Index2dEnumerable
[ ] Index3dEnumerable

Added 2d array index enumerable


Express Session Store Wrapper

express-session stores sessions in memory by default for dev and supports a store option for persisting sessions in production. They list some popular stores here however many of these are poor quality or unmaintained.
The API for implementing an express-session store is very similar to Keyv's API. Docs are here: https://github.com/expressjs/session#session-store-implementation
It should be pretty straight forward to implement a keyv-express-session-store wrapper that allows any Keyv storage adapter to be used to back an Express apps session store.
The API could be something like:
import express from 'express'
import session from 'express-session'
import Keyv from 'keyv'
import KeyvExpressSessionStore from '@keyv/express-session-store'

// One of the following
const keyv = new Keyv();
const keyv = new Keyv('redis://user:pass@localhost:6379');
const keyv = new Keyv('mongodb://user:pass@localhost:27017/dbname');
const keyv = new Keyv('sqlite://path/to/database.sqlite');
const keyv = new Keyv('postgresql://user:pass@localhost:5432/dbname');
const keyv = new Keyv('mysql://user:pass@localhost:3306/dbname');
const keyv = new Keyv('etcd://localhost:2379');

const app = express()
app.use(session({
  secret: 'correct horse battery staple',
  store: new KeyvExpressSessionStore(keyv),
}))

This would be really neat because then Express users can benefit from all the high quality well maintained Keyv storage adapters for free.
I'm not able to dedicate time towards working on this right now but the idea just popped into my head so I wanted to throw it out there incase anyone thinks it's worth working on.

@lukechilds - thanks for adding this in and will get some voting going.

that would be great!

@lukechilds and @stanislavnastasiu-dev - I will be adding you to a new project that will handle this problem specifically in the next 60 days. Closing this as it wouldnt be with Keyv but more of a module above this.

Came here to see if someone else had asked the same question / found an answer… doesn't look like it exists though? I'd prefer to not write this myself! :upside_down_face:

@tsibley - we will be working on this in the new year under cacheable project.

Ah, ok, thanks for the update!


Fix link to custom metadata page

Signed-off-by: Andrew Jandacek<EMAIL_ADDRESS>Your checklist for this pull request
🚨Please review the guidelines for contributing to this repository.

[ ] If the changes in this PR is part of the next future release, make this pull request against the docs-staging branch which will be published at the next release boundary. If the changes in this PR are part of the current release, use the default base branch, master. For more information about branches, see https://github.com/zowe/docs-site/tree/master#understanding-the-doc-branches.

[ ] If this PR relates to GitHub issues in docs-site or other repositories, please list in Description, prefixed with close, fix or resolve keywords.

Description (including links to related git issues)
Please describe your pull request.
:heart:Thank you!

Hi Ashley,
Yes, I would like to add this in the sidebar. If I understand correctly, I
can add this as the following under Developing for API Mediation Layer:
"extend/extend-apiml/custom-metadata",
If this is correct, I will add this to this PR.
On Tue, Aug 31, 2021 at 5:44 AM nannanli @.***> wrote:

@.**** requested changes on this pull request.
@janan07 https://github.com/janan07 The link looks good. For this
custom metadata topic (custom-metadata.md), it's not in the sidebar so not
avaibale for navigation now. Do you want to add it to the sidebar?
https://github.com/zowe/docs-site/blob/rip/janan07/custom-metadata-link/sidebars.js
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zowe/docs-site/pull/1808#pullrequestreview-742249144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJESEGYKUAJ7MEOYYVFOJXLT7RFZHANCNFSM5DB5744Q
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Andrew Jandacek
Technical Writer | Mainframe Software Division
Easytrieve, Pan/SQL, Telon, CA Brightside, Zowe API Mediation Layer
Broadcom
V Parku 2308/8 | Prague, 148 00 | Czech Republic
broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

Hi Ashley, Yes, I would like to add this in the sidebar. If I understand correctly, I can add this as the following under Developing for API Mediation Layer: "extend/extend-apiml/custom-metadata", If this is correct, I will add this to this PR.

Yes, that would be the best place to add this topic. : )

I've added the path to sidebars.js.
On Tue, Aug 31, 2021 at 11:55 AM nannanli @.***> wrote:

Hi Ashley, Yes, I would like to add this in the sidebar. If I understand
correctly, I can add this as the following under Developing for API
Mediation Layer: "extend/extend-apiml/custom-metadata", If this is correct,
I will add this to this PR.
Yes, that would be the best place to add this topic. : )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/zowe/docs-site/pull/1808#issuecomment-909083911, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJESEG5QRB43XU24JTKZJ43T7SRKHANCNFSM5DB5744Q
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Andrew Jandacek
Technical Writer | Mainframe Software Division
Easytrieve, Pan/SQL, Telon, CA Brightside, Zowe API Mediation Layer
Broadcom
V Parku 2308/8 | Prague, 148 00 | Czech Republic
broadcom.com
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.

Tested on local build and all is good. However, the netlify build failed with the following message. @idontknowjs Wondering if you have any insights into this issue?
Error [ERR_STREAM_DESTROYED]: Cannot call write after a stream was destroyed
5:46:49 PM:     at doWrite (_stream_writable.js:399:19)
5:46:49 PM:     at writeOrBuffer (_stream_writable.js:387:5)
5:46:49 PM:     at Socket.Writable.write (_stream_writable.js:318:11)
5:46:49 PM:     at Object.writeToStdin (/opt/build/repo/node_modules/esbuild/lib/main.js:1711:19)
5:46:49 PM:     at sendResponse (/opt/build/repo/node_modules/esbuild/lib/main.js:619:14)
5:46:49 PM:     at handleRequest (/opt/build/repo/node_modules/esbuild/lib/main.js:681:7)
5:46:49 PM:     at handleIncomingPacket (/opt/build/repo/node_modules/esbuild/lib/main.js:696:7)
5:46:49 PM:     at Socket.readFromStdout (/opt/build/repo/node_modules/esbuild/lib/main.js:573:7)
5:46:49 PM:     at Socket.emit (events.js:315:20)
5:46:49 PM:     at addChunk (_stream_readable.js:295:12)
5:46:49 PM:     at readableAddChunk (_stream_readable.js:271:9)
5:46:49 PM:     at Socket.Readable.push (_stream_readable.js:212:10)
5:46:49 PM:     at Pipe.onStreamRead (internal/stream_base_commons.js:186:23)

@nannanli I deployed the same branch successfully on a diff URL. I've been trying to push some commits on this branch. Can you please look into this. I think I'm not having permission to push on rip/janan07/custom-metadata-link branch.

@nannanli I deployed the same branch successfully on a diff URL. I've been trying to push some commits on this branch. Can you please look into this. I think I'm not having permission to push on rip/janan07/custom-metadata-link branch.

@idontknowjs I've changed persimission. Give it another try.


Hover no longer works

Edited the ensouled heads JSON to be updated to the new rune requirements and somehow broke it. Deleted it and redownloaded the one you have as an example and now no hover text appears at all. Created new JSON files, uninstalled and reinstalled plugin making sure it deleted it correctly, not sure what else the issue can be. Doesn't show the text for other things like the farming example either. Not sure if you still actively monitor this.

Strange; the plugin is still working just fine for me.
I've attached the contents of my customitemhovers folder. Could you please extract it (deleting / moving elsewhere any files that are presently in that folder*)?
Assuming you're using Windows, these .json files go in a folder located at:
C:/Users/{YourWindowsUsername}/.runelite/customitemhovers/
(You seem to already know where this folder is, but just to make sure)

Just realized I never actually attached anything... my bad.
customitemhovers.zip


Assert arrays debug

Help users debug why the arrays are not equal. Printing the placements should help to determine whether there was an undesirable shuffle vs a shift

If this is better to put in feedback in the google doc, let me know.

@RylieWeaver That's a good effort! A few things:

It's weird to see assert() inside try. What do you think?
Why does v2 start from the 2nd item? assert np.array_equal(v1, v2[2:])
Have you tested this assertion? Does it throw appropriate messages when vectors are shuffled?

Thanks for the encouragement! As you know I'm still learning, hopefully I continue to get better with your feedback.

This could be, I'm not sure of the normal programming manners with this. I could do this structure below
This was for testing to get output even when the arrays were equal and should be fixed now
Yes, tested to the best of my abilities. Output looks like this and will be up to the model curator to interpret:

Other Implementation:
if not np.array_equal(v1, v2):
    print("Loaded y data vector is not equal to the true vector")
    # Print positions of the first 10 values of v1 in v2 to help with debugging
    for i, value in enumerate(v1[:10]):
        if value in v2:
            positions = np.where(v2 == value)[0]
            print(f"Value {value} from v1 (index {i}) is found at positions {positions} in v2")
        else:
            print(f"Value {value} from v1 (index {i}) is not found in v2")
    raise ValueError("v1 is not equal to v2")

Output:
Loaded y data vector is not equal to the true vector
Value 0.4724000096321106 from v1 (index 0) is found at positions [337] in v2
Value 0.7627999782562256 from v1 (index 1) is found at positions [3] in v2
Value 0.8429999947547913 from v1 (index 2) is found at positions [53] in v2
Value 0.7447999715805054 from v1 (index 3) is found at positions [161] in v2
Value 0.6991000175476074 from v1 (index 4) is found at positions [77] in v2
Value 0.802299976348877 from v1 (index 5) is found at positions [421] in v2
Value 0.6606000065803528 from v1 (index 6) is found at positions [332] in v2
Value 0.6740999817848206 from v1 (index 7) is found at positions [32] in v2
Value 0.5396999716758728 from v1 (index 8) is found at positions [120] in v2
Value 0.5291000008583069 from v1 (index 9) is found at positions [136] in v2
Exiting due to assertion failure.

As always don't feel forced to respond during my unconventional student working hours haha

@RylieWeaver I just pushed an alternative version for the assertion script. Let me know if it's more clear now.

Yes, I think that's clear and a very efficient way to do it, thanks.


Betterdiscord won't install on windows 7

Hello i try to install betterdiscord on my computer under windows 7 and it's say that it's not a windows application. i  really need help. please.

well got some news now it gat stck on Downloading BetterDiscord package.


Create new action type INIT_ROUTES for initial route loading

This should finally fix IE9 (#125) and all the extraneous replaceState on initial load. See #107 for more info.
@Scarysize let me know if you need me to clear anything up. There's a test there to confirm that we don't trigger replaceState more than necessary.
I ended up creating a new action because modifying REPLACE_ROUTES to handle both cases seemed like it would be way too brittle and heavy-handed.

@apapirovski wow nice. I actually had a similar solution "in progress" as it was a major issue. Also good job including a test!


Help needed Building Cups on CentOS

Hi All,
I am new to Linux and new to Cups
I want to build libcups for CentOS as we do not have any rpm installer for CentOS. when i went to cups folder and run make i get this error
cups]$ make
Makefile:18: ../Makedefs: No such file or directory
make: *** No rule to make target `../Makedefs'.  Stop.

Can Someone help me with instructions how to build cups on CentOS?
I could not find anything on google

Start by reading the file "INSTALL.md" that is included with the CUPS sources.
Note that most Linux distributions include many patches to the stock CUPS, and you'll also need the current versions of things like Ghostscript and cups-filters installed as well.

Do we need cups client to install cups 2.2.4?


Question on the use of "as" in v0.12.16

Noticed some expressions stop being valid (using "as") in v0.12.16 and was having trouble tracking down the commit that causes this between v0.12.15->v0.12.16. Was hoping someone could shed light on if this is a regression or expected change:
Note the container versions:
% echo '{"foo": {"bar": "thisIsSilly"}}' | docker run -i --rm itchyny/gojq:0.12.15 '.foo | .bar + "bat" as $baz | $baz'
"thisIsSillybat"

% echo '{"foo": {"bar": "thisIsSilly"}}' | docker run -i --rm itchyny/gojq:0.12.16 '.foo | .bar + "bat" as $baz | $baz'
gojq: invalid query: .foo | .bar + "bat" as $baz | $baz
    .foo | .bar + "bat" as $baz | $baz
                        ^  unexpected token "as"

% echo '{"foo": {"bar": "thisIsSilly"}}' | docker run -i --rm itchyny/gojq:0.12.16 '.foo | (.bar + "bat") as $baz | $baz'
"thisIsSillybat"

Figured out the exact commit:
go: downloading github.com/itchyny/gojq v0.12.16-0.20240519045059-a41a5f82f601
"thisIsSillybat"
%  echo '{"foo": {"bar": "thisIsSilly"}}' | go run github.com/itchyny/gojq/cmd/gojq@01355e9509c093fa4d7e18bb15315d6acf4dfa19 '.foo | .bar + "bat" as $baz | $baz'
go: downloading github.com/itchyny/gojq v0.12.16-0.20240521102931-01355e9509c0
gojq: invalid query: .foo | .bar + "bat" as $baz | $baz
    .foo | .bar + "bat" as $baz | $baz
                        ^  unexpected token "as"
exit status 3

This is an unintentional side effect of extending the syntax, however pretty reasonable change, so I'm closing this issue. The query is confusing because the binary operator precedence is lower than the pipe operator only when the right hand side is bound. For example, 1 + 1 | -. is (1 + 1) | -. but 1 + 1 as $x | -$x is 1 + (1 as $x | -$x). Your examples ironically prove this complexity; .foo | .bar + "bat" as $baz | $baz in v0.12.15 is not interpreted as .foo | (.bar + "bat") as $baz | $baz. Please use parenthesis to resolve the ambiguity.

Thanks for the quick response. That parenthetical addition to remove ambiguity is what I did. Just noticed the issue and wanted to ensure it was intended.


log changes for shallow copy volume

Pull request checklist
Please check the type of change your PR introduces:

[ x] Bugfix
[ ] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Community Operator listing
[ ] Other (please describe):

What is the new behavior?

Log changes for shallow copy volume
log for old/static snapshot:
"creating shallow copy volume is not supported for static volume or old snapshot handle"
log for shallow copy volume expansion
"volume expansion is not supported for shallow copy volume"

How risky is this change?

[x ] Small, isolated change
[ ] Medium, requires regression testing
[ ] Large, requires functional and regression testing

This fix is required for CSI 2.11.0 as we need to specify that creation of shallow copy volume is not supported for old/static snapshot. volume expansion is also not supported for shallow copy volume.

Image: quay.io/hemalatha_gajendran/log_improvement:latest


The result of ShallowReadonly() on a reactive object can't be spreaded on some iOS device

Vue version
3.2.34
Link to minimal reproduction
https://codesandbox.io/s/vuejs-ios-props-shallowreadonly-issue-lkksug?file=/src/App.vue
Steps to reproduce
import { reactive, shallowReadonly } from 'vue';

const foo = reactive({
    a: 1,
});

const spreadedFoo = {
    ...foo,
};

const spreadedBar = { ...shallowReadonly(foo) };
// results are not same on some iOS device (eg. iOS 12.5 / iOS 11.3)
console.log(spreadedFoo, spreadedBar);

What is expected?
These results are same.
What is actually happening?
results are not same on iOS device below iOS 12.5
Unexpected results:
iOS 12.5 / iOS 11.3

expected results:
Chrome 100

iOS 15.3

System Info
This issues can be reproduced on iOS 12.5 / iOS 11.3.
iOS 15.3 / Chrome 100 is expected result.

Any additional comments?
No.

@yyx990803 What can I help?
Can you give me some hints to solve this problem?
It seems not safe to do some UA detection, but I only get this solution in my head now.


Az login before pulumi new in tutorial-container

Move the instruction to 'Az login' before 'pulumi new' in file tutorial-container-webs

Thanks, Andrew, but we'll leave this one as-is for now. We're planning some improvements across all tutorials.


add package version

Hi Zayfod,
thanks for release 0.2.0. I start adapting my generator that it works with the new release.
It will take some time because currently there is a lot of trouble and I can't spend so much time as I want.
But there is one important thing I miss in the release. There is no version defined. I need this to handle different version  of pyfranca in my python scripts.
I am not so familiar with the python developing guidelines. I follow the classic approach of PEP 396. Is ok if you prefer another one.
Please could you merge this request to the next release. Thanking you in anticipation

I like your proposal and am willing to pull it. Let me just figure out why the builds stopped working...

OK. This is finalized with v0.2.1 (e859f34)


UNOMI-225: add documentation on ES7 authentication and ssl support

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/unomi-pr/85/

Thanks for the contribution !

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/unomi-pr/86/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/unomi-pr/87/Failed Tests: 1unomi-pr/org.apache.unomi:unomi-persistence-elasticsearch-core: 1org.apache.unomi.persistence.elasticsearch.ElasticsearchPersistenceTest.org.apache.unomi.persistence.elasticsearch.ElasticsearchPersistenceTest


Need for disabling sdc timing constraint

Why do we need the timing constraints named as "disable_routing_multiplexer_outputs" and "disable_sb_outputs" in SDC folder?

@msaideroglu It is not mandatory. It is used to break combinational loops for some architecture when doing synthesis.

Thanks.


Passive Rings ANT Passive Workshop

Function Verification fix and DRC checked, only warnings.

It is a beautiful thing!

Merging...


bug: Comment reply button

Clicking on the reply button in the comment section of videos redirects to the home page.

Issue seems to be in this part of code in Comments.tsx file:

(Attaching image for reference)

One solution could be to create a reply component which handles the replies. So that when the user clicks on reply icon/text, a new component is opened(similar to the public comment component) which gives user ability add a reply to the comment.
The reply component should have same properties as the comments component ( i.e. can be upvoted/downvoted and can also be replied further, creating a conversation chain)

Here, we will have to take care as to how will we be handling the comment text data behind the scenes.
Possible Solution:

so the reply button should act as a toggle for showing the reply comment component.

Yes. Similar to how reddit comments work

@Azzam1503 This issue is already fixed in PR #751 #742, if it is same issue you can close this issue.

@Azzam1503 This issue is already fixed in PR #751 #742, if it is same issue you can close this issue.

Stop gate keeping.

@Azzam1503 This issue is already fixed in PR #751 #742, if it is same issue you can close this issue.

Stop gate keeping.

Ok Rahul


Zabbix returning a Value should be a JSON object

Hi,
I have downloaded and uploaded your script to our zabbix server. The script runs fine from command line but when i uploaded the template and created the item/MSA to monitor. Zabbix comes back with the following error against the discovery rules "Value should be a JSON object".
Could you give me some guidance that I have set up the item correctly? I will uploaded screenshots of the item properties and the error message i see.
Thanks,
James

Hi, @jwatsonuk,
Please, read Wiki page "Requirements and Installation".
https://github.com/asand3r/zbx-hpmsa/wiki/Requirements-and-Installation

but if you ran the utility first time under another account (e.g. root), directory was created with his owns and 777 (755 before v0.5.x) permissions. So you must redefine the rights or delete the directory and the utility will create it self.

It should be your case.

Hi @asand3r,
Thank you for your response.
I have realised that i have missed a step in your guide. It regarding the folder that the utility creates on the first run. I have changed the permission of that folder to 777.
I'm just retrying the item on zabbix. I will keep you updated.
James

You can just delete it and script will create it self with all needed permissions. I'll add permissions checking in next version, because I'm receiving there are a lot of messages about it. =)

Hi,
I did delete that file and the script recreated with the correct permissions for zabbix:zabbix but im still getting "Value should be a JSON Object" on the discovery rules.
Here is the screenshot from the terminal;

Thanks,
James

OK.  So, it's LLD and to debug it you must check Zabbix server log (3 or 4 level shows LLD messages). But! If in console you can get right data and Zabbix shows 'Value should be a JSON object', I think it's old meesage. Try to change update interval to 1m or similar and wait.

I have fixed the issue.
I noticed that password for the MSA had some special characters. So i created another user for zabbix and made a simple password for it.
It is now discovering the items.
Thanks for your help.

Here is an example of the password that was used previously; !SEfZQW4Yn=PSwBAc
Also I forgot to mention that I did re added the script (zbx-hpmsa.py).