darken front view when rear view is open

is there any way to do this? ( if there is code i would prefer swift if possible.. thanks)

Yes, create a view: (here I am in a subclass of SWRevealViewController)
    var coverView: UIView?

    override func viewDidLoad() {
        super.viewDidLoad()

        self.delegate = self

        self.tapGestureRecognizer()
        self.panGestureRecognizer()

        coverView = UIView(frame: UIScreen.mainScreen().bounds)
        coverView?.backgroundColor = UIColor.lightGrayColor().colorWithAlphaComponent(0.25)
    }

...

    //MARK: - SWRevealViewControllerDelegate

    func revealController(revealController: SWRevealViewController!, willMoveToPosition position: FrontViewPosition) {
        if position == FrontViewPosition.Right {
            self.frontViewController.view.userInteractionEnabled = false
            self.frontViewController.view.addSubview(coverView!)
        }
        else {
            self.frontViewController.view.userInteractionEnabled = true
            coverView!.removeFromSuperview()
        }
    }

You are a GOD!
thank you

Thanks, I forgot for the rotation:
    coverView?.autoresizingMask = [.FlexibleWidth, .FlexibleHeight]

thanks
it is helpful~~~~


Enters infinite loop when parsing expressions with non-ASCII characters

At least the asterisk+non-ASCII combo seems to trigger this. For example, the diff
diff --git a/vendor/github.com/gobwas/glob/glob_test.go b/vendor/github.com/gobwas/glob/glob_test.go
index 6fe73a6..706e2dd 100644
--- a/vendor/github.com/gobwas/glob/glob_test.go
+++ b/vendor/github.com/gobwas/glob/glob_test.go
@@ -64,6 +64,7 @@ func TestGlob(t *testing.T) {
        for _, test := range []test{
                glob(true, "* ?at * eyes", "my cat has very bright eyes"),

+               glob(true, "*ä", "åä"),
                glob(true, "abc", "abc"),
                glob(true, "a*c", "abc"),
                glob(true, "a*c", "a12345c"),

will cause the test suite to never complete and attempt to allocate infinite memory in the process.

The problem appears to be that the stateFn does a read(), sees a char_any, does a lookahead() which in turn does read() and unread(), and then finally does an unread() before returning the state lexAny. There is a nested read(), read(), unread(), unread() sequence here but those functions aren't reentrant since they depend on l.width being set. l.width becomes 2 at the second read, so the second unreads rewinds all the way to -1.
It seems l.width needs to be a stack, or nested calls to read/unread can never be made, or some other mechanism must be used to track it.
This is above my paygrade to fix. :)

Hey @calmh!
Thanks your for such deep digging the problem and reporting this.
I've reimplemented lexer in a little bit simpler (as seems to me) form.
It is in a newlexer branch.
It would be cool if you could easy check the glob from this branch. Anyway I have added test case from the diff above and it passes the tests.
In few days I will merge it in master, if there no bugs or some questions.
🍻

Thanks, looks good to me. I'll adopt that branch for the time being and report if there is anything weird.

Thanks!

Hi @calmh!
Just finished refactoring. It is in master now. If you fill uncomfortable with the new version, I've tagged previous (with just refactoring of lexer) with 0.1.0. And current is 0.2.0.
Thanks!


Contract call execution not completing.

Environment information

OS: macOS
Python Version: x.x.x
ape and plugin versions:

❯ ape --version
0.6.27

What went wrong?
Fork execution is producing unexpected results. But same contract interactions work as expected in Brownie.
It has to do with contract call execution when using a specific modifier (edit: with additional tests, I proved it does not require a modifier).
You can notice that the token approval call setTokenApproval should produce an Approved event from the token but never does.
Yet we get success when calling setTokenApproval2.
Reproduction Steps

clone this repo: https://github.com/wavey0x/ape-repo/
install plugins
run test ape test tests/test_fee_receiver.py --network ::foundry -sI

How can it be fixed?
The contract call must fully complete. Right now it does not update state nor emit an expected event.
Fill this in if you have ideas on how the bug could be fixed.

Some things learned so far:

The transaction is failing, meaning it is coming back with a failed status but didnt use all the gas. Web3.py has no decoded any contract logic error so nothing gets raises in that sense, and replaying the tx also does not yield any useful reasoning as to why it failed.
Ape should not have let the receipt through. Given this context, the expected behavior of Ape is to raise a transaction error. I have opened PRs in core and ape-foundry so far to resolve this.
When I analyze the source traceback, the failing PC is 2060. ape-solidity does not support source-tracing yet so it won't tell me which lines in the contract that correspond to, but i can dig to try and find out.

the trace looks like this:
tx.origin=0x90be6DFEa8C80c184C442a36e17cB2439AAE25a7
YearnPrismaFeeReceiver.setTokenApproval(
  token=yPRISMA,
  spender=0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266,
  amount=200000000000000000000
) [760 gas]
└── tx.origin.proxy() -> ""

OK crazy stuff here, but I was able to get it to work but I am not sure if there is a bug in Ape or not.
So the .proxy() call is what is failing somehow, not how that is possible but that is what is happening.
Here is your modifier:
 function isAuthenticated(address _caller) public view returns (bool) {
        if (
            _caller == LOCKER.proxy() ||
            _caller == LOCKER.governance() ||
            _caller == address(LOCKER)
        ) return true;

        return false;
    }

To fix it, what I did is change the order of the checks to this:
    function isAuthenticated(address _caller) public view returns (bool) {
        if (
            _caller == address(LOCKER) ||
            _caller == LOCKER.proxy() ||
            _caller == LOCKER.governance()
        ) return true;

        return false;
    }

So now address(LOCKER) is checked first and in the case of the tests, proxy() is never called.
I am not sure why proxy() is failing though, that is something else to look into I suppose.

or the equality check against proxy() causes a revert rather than False? Solidity-ism?

Another clue: I have noticed that it actually fails intermittently!! Wow....
I am not sure how that can happen but sometimes it passes, sometimes it fails


LS for rust is not startup automatically.

OS: Arch LInux.
Nvim version: NVIM v0.9.0-dev
I just follow the document and install this config, and open rust-tools plugin, but the rust-analyzer is not start up automatically, but it can start if i input LspStart.maybe there are some mistake in file type detection.

is your rust project git managed?

is your rust project git managed?

Yes.

can you directly open a rust file? ( instead of using telescope) do you get any errors?
lvim src/main.rs

I tried too, it is same result. But i found TS is broken, and find https://github.com/nvim-treesitter/nvim-treesitter-textobjects/issues/316 is here, i not sure is this TS issue make LS broken.

yep that is the issue, i just did a commit, please get that and run :PackerInstall


Translations for issue #542

I added the translations for issue #542.
There is no proper translation for Pull Request and f.ex. Bitbucket also uses Pull Request in their german translation:
https://www.atlassian.com/de/git/tutorials/making-a-pull-request

There is no proper translation for Pull Request and f.ex. Bitbucket also uses Pull Request in their german translation:
https://www.atlassian.com/de/git/tutorials/making-a-pull-request

It's alright, many languages don't have one.
I assume because you reviewed other string as well that I can also check de.json as done on #493.
Thanks!


Fix pong type in Pool Events list?

Another simple one.  I think this was supposed to be pong, since pong isn't in the list, and ping is there twice.

Coverage remained the same at 91.92% when pulling 730d08d24d22734cdda0ab4f03382740e0948061 on throughnothing:pong-event into 88dbbd60e29fc7584c21dd2dfba6bc0d3988185b on bitpay:master.

ACK


Redundant box-sizing content

Bootstrap 4's box-sizing inheritance block looks like this:
*,
*::before,
*::after {
  box-sizing: inherit;
}

The one in base includes an addition input element.  I believe that the * selects that element.

It was added because of https://github.com/suitcss/base/pull/29

Read up on it some more.  Itt may be wise to separate it out.  Bootstrap does it like this:
input[type="search"] {
  // Undo Normalize's default here to match our global overrides.
  box-sizing: inherit;
  // This overrides the extra rounded corners on search inputs in iOS so that our
  // `.form-control` class can properly style them. Note that this cannot simply
  // be added to `.form-control` as it's not specific enough. For details, see
  // https://github.com/twbs/bootstrap/issues/11586.
  -webkit-appearance: none;
}

Although it's in a different ruleset the code is effectively the same. I believe the reason is because they already had some styles applied to input[type=search] so it makes sense for their files to have that layout. See - https://github.com/twbs/bootstrap/commit/468a9d9359a1008675b2c19a1fae1d9016a7686d

K - Just FYI I opened a request with Normalize.css to adopt border-box instead of content box:
https://github.com/necolas/normalize.css/issues/486


Autofocus issue

Hi,
I have a separate thread for calling autofocus on android, the only problem is that autofocus only starts working after i have or enabled torch or manual focused one time. Anybody any clue how to fix this?
Code:
        public void autoFocusSystem()
        {
            do
            {
                Thread.Sleep(2000);
                scanner.AutoFocus();
                Console.WriteLine("Autofocus");
            } while ( scanResults == null && isScanning );
        }

        public async Task<string> ScanAsync()
        {
            Console.WriteLine("Start Scanning");
            Thread focusThread = new Thread(new Runnable(autoFocusSystem));
            isScanning = true;
            focusThread.Start();
            scanResults = await scanner.Scan(setOptions);
            isScanning = false;
            if (scanResults != null)
            {
                return scanResults.Text;
            } else {
                return null;
            }
        }

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


Partner logo link

Should the partner logo on the opportunity page link to the partner's web site, or to a search for that partner's opportunities?

I think it's a fantastic idea to have the partner logo go to a search for that partner's opportunities.  Ideally the partner itself would be listed as a distinct opportunity, whose URL would go to their homepage.  That will likely happen once ASTC's API is hooked up.


React.createClass is deprecated

Errors in the console with<EMAIL_ADDRESS>
Warning: WindowResizeListener: React.createClass is deprecated and will be removed in version 16. Use plain JavaScript classes instead. If you're not yet ready to migrate, create-react-class is available on npm as a drop-in replacement.

I've created a pullrequest with a refactor to resolve this issue

#6

Guys, will this pull request be pulled and published or is fork required?

Any particular blockers on this one?

Guys while waiting for pull request to resolve, here usable is ES6 rewrite of this package: npm: react-window-size-listener

Guys while we are waiting for pull request, here is ES6 rewritten package ready to be installed via npm: https://www.npmjs.com/package/react-window-size-listener


Trying to get in touch regarding a security issue

Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)

@sentsin - just a heads up that the report can be found here:
https://www.huntr.dev/bounties/a499c41b-f541-4b6e-a855-b787215067a5/
It is private and only accessible to maintainers with repository write permissions! ❤


[Feature Request] Add "magnifier view" for more accurate selections

Hi there! … I love Kap, it's great. Thank you for making it.
if you guys have the time and want to add a meaningful feature, I suggest the "magnifier view" feature used by Xnip — (see attached screenshot gif). When you are making your selection it offers a zoomed in view for pixel perfect selections.
cheers.

I wouldn't want that by default, but maybe we could show it if the user holds the Option key.

Any interest in this feature?  … Xnip uses a color picking tool that handles the magnification.

I'd also really like such a feature, maybe with an option in the settings to enable or disable it.

Just from an implementation perspective, would it be ok to have a static image of the screen and use that for magnification? Or would it be important the magnification be live if something is animating/moving in the screen below?

Just from an implementation perspective, would it be ok to have a static image of the screen and use that for magnification? Or would it be important the magnification be live if something is animating/moving in the screen below?

I think live would be way better and the only solution but for a first version, a static image is absolutely sufficient, I think.

xnip makes the screen static (stopping animations) when the app is invoked. Seems acceptable from UX perspective.
I like @sindresorhus idea of having the option key show the magnifier.

Static is totally fine.


Where can we download the beta Android app to test?

This is answered in the project README: https://github.com/zulip/zulip-flutter?tab=readme-ov-file#using-zulip
If you have more questions, please ask in the Zulip development community. This is the issue tracker for bugs and features.

Great, thanks @chrisbobbe! The beta app is looking awesome, far better than the current official mobile app. I'll ping on the chat stream to confirm a few issues.


Build SDK quickstart tooling

Creating a tool based on templating and various input for service team, in order to create a perfectly viable project in one call. The only acceptable input is : a Swagger and a clone of the language repo.
For instance “dotnet new sdk swagger.json –name=MyServiceName” (dotnet is an example, pick what is idiomatic to your repo). This will create:

A compilable/shippable package in the right folder
A sample test (simple test with assert True)
A sample of sample (placeholder for a sample)
A basic Readme
Of course the LLC code 😊

Beware of the update scenario (package exists already): it maybe be necessary to make either the tooling smart, or to have second option like “dotnet update sdk swagger.json”.

Probably similar thing as https://github.com/Azure/azure-sdk-for-java/tree/main/eng/mgmt/automation, which is used for swagger integration and mgmt release automation.

Tasks

pom.xml https://github.com/Azure/autorest.java/pull/1223
readme.md
blank test
convenient script

Sample generated module from the script https://github.com/Azure/azure-sdk-for-java/pull/25233


rename prefix of extended resource

Signed-off-by: 佑祎<EMAIL_ADDRESS>Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/lgtm
/approve


Deprecate/Remove unused function createCallback

I noticed recently that there is a util-like method, createCallback that is not currently used within the main OSD codebase.
It seems it was last touched 11 years ago, and it doesn't look to be something that would be needed currently. Even back then, it seems it was hardly used (I checked for usages as of 3bfb693872668cdc8386022a1660f6031c2023c1) A search for any discussion or issues related to it also turned up empty (aside from the one reference in the source)
As it is not used in the main OSD codebase, might it be worth at least deprecating it for future removal? That would give plugin authors a chance to migrate away, on the off chance they are using the method. (Unless there's high enough confidence to remove it already?)

Nice! Good to spot these cleanup opportunities.
Since it is officially documented, I think deprecating it first would be the way to go, just to be safe.

Hey @AndrewADev
Can I work on this issue?

Hey @AndrewADev
Can I work on this issue?

Sure!

Hey @AndrewADev,
I'm a beginner and would like to contribute to this issue regarding the createCallback method. Could you please let me know if someone is already assigned to this issue? If not, I would like to work on it. Are there any specific steps or guidelines I should follow?

@shrutisingh17 Looks like @akansjain is already working on it. I believe that there are other issues you could tackle. Here are some: https://github.com/openseadragon/openseadragon/labels/good first issue
@akansjain Let me know if you have any questions, and also if you end up deciding not to work on it.

Hey @iangilman , I am still working on this.

Hi, @AndrewADev
I hope you are doing well.
I'm just starting to try to contribute to open source, and I would like to support solving this issue. However, I saw that I few people tackled it already in the past. Is it still open? If it is, can I give it a go?

Hi @kakashi2020, welcome!
Indeed someone picked up the issue earlier, and the associated PR has since been merged: https://github.com/openseadragon/openseadragon/pull/2367
I'm not sure how many good first issues there are at the moment, but feel free to take a look around! Note that there are also a number of plugins for OSD. I'm not sure if there are any good first issues for them either, but the plugin codebases might be easier to understand to start with.

Awesome, @AndrewADev ! Defo will look around. I've been learning to code for about a year formally now and it seems that syntax knowledge doesn't fully cut it for real-life programming haha.  But I'll give it a go to anything that doesn't seem too far from my knowledge gap. Thanks!


Fix #15

fixes #15

Add a new field swipeFlags to control the available swipe directions. But the SwipeEnable field is now internal and not forward compatible.


clickable steps

Hi, Is there a way to make steps clickable.

What do you mean with clickable? Do you want to be able to select the steps in the navigation bar of the wizard? If yes, which steps should be selectable?
Currently it's possible to select all completed wizard steps in the navigation bar. This will transition the wizard to the selected step.

Thanks for the response. Clickable being completed works as well, it
doesn't defeat the validation purpose.
On 8 Sep 2017 10:35 am, "madoar"<EMAIL_ADDRESS>wrote:

What do you mean with clickable? Do you want to be able to select the
steps in the navigation bar of the wizard? If yes, which steps should be
selectable?
Currently it's possible to select all completed wizard steps in the
navigation bar. This will transition the wizard to the selected step.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/madoar/ng2-archwizard/issues/30#issuecomment-328055129,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbkfSQ3xtnLqBcqbrocoN3EKtVcM_Gjks5sgQpFgaJpZM4PPuBA
.

I'm currently working on the implementation of different navigation modes (see #7). This enables you to remove some limitations when doing a step transition.
The problem when using the navigation bar for navigation purposes is, that you don't have a finalize callback available, like you have when using the nextStep, goToStep and previousStep directives.
I'm currently thinking about how to solve this problem.


Update Plugins' CI to Support Apple Silicon Builds

Rewrite CI and check them if they work correctly on Apple Silicon without Rosetta2

[x] KAGParser
[x] wuvorbis
[ ] krkrrel-ng
[ ] json
[ ] fstat
[ ] krglhwebp
[ ] varfile
[ ] ncbind
[ ] SamplePlugin
[ ] krkrsdl2-env-example

@uyjulian
Fix for CI mistake
Sorry,There is a mistake in the CI I wrote and I would like them to be merged.
https://github.com/krkrsdl2/krkrsdl2/pull/124
https://github.com/krkrsdl2/wuvorbis/pull/2
https://github.com/krkrsdl2/KAGParser/pull/2
krkrkrel-NG Universal Build PR
https://github.com/krkrsdl2/krkrrel-ng/pull/8

json plugin Unviersal Build PR
https://github.com/krkrsdl2/krkrrel-ng/pull/8

krglhwebp(WebP)
https://github.com/krkrsdl2/krglhwebp/pull/1


UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 75: ordinal not in range(128)

[#] Scanning area for objects (1 / 25)
[#] Walking from (4XXXXXXX, -1XXXXXXX) to (4XXXXXXX, -1XXXXXXX) for approx. 0.0 seconds
[#] Finished walking
(4XXXXXXX, -1XXXXXXX, 0)
2016-07-22 06:35:50,187 [    pgoapi] [ INFO] Create new request...
2016-07-22 06:35:50,187 [    pgoapi] [ INFO] Adding 'GET_MAP_OBJECTS' to RPC request including arguments
2016-07-22 06:35:50,187 [    pgoapi] [ INFO] Execution of RPC
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/init.py", line 884, in emit
stream.write(fs % msg.encode("UTF-8"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 75: ordinal not in range(128)
Logged from file rpc_api.py, line 160

same problem

I had the same error.
I just added in the second line of file:
# - * - coding: utf-8 - *

In what file?

This should be fixed now.  Sorry about that!


AttributeError: 'SSMKernelDPLR' object has no attribute 'kernel'

This seems to be a typo in the standalone S4 implementation (models/s4/s4.py) in class SSMKernelDPLR, at Line 1378.
Code runs when self.kernel is renamed to self.backend (so that it is consistent with SSMKernelDiag)

Fixed in https://github.com/state-spaces/s4/commit/e757cef57d89e448c413de7325ed5601aceaac13


Increase instance memory from 256MB to 1GB

The instances were crashing due to out of memory exceptions. This
occurs when trying to view the new frontend pages (records and
entry timeline) for large registers such as school. I tested
increasing to 512MB but out of memory exceptions still occurred.

Yes it is definitely a bug to be. I want to do some analysis to see how big memory could get with upcoming registers etc. And also, long term, how it could require less memory. I also wonder whether PaaS has any way of monitoring instance memory.

@michaelabenyohai Some other teams are using this to get their metrics out: https://github.com/alphagov/paas-cf-apps-statsd we should implement this at some point.


Standalone Installer

Is your feature request related to a problem? Please describe.
Create a standalone CLI or installer for copier, independent of pip.
Describe the solution you'd like
Either a standalone CLI or installer based on PyInstaller
Describe alternatives you've considered
N/A
Additional context
Howdy! I really love the concept of copier, but almost no one on our team or company uses Python, as we're mostly a JavaScript/C# team. I'd love to recommend using copier to them, however having to install and go through python is extra steps that they'd rather avoid 😅. Would be great to be able to have a simple installer or executable would make it a lot simpler for devs and CI.
However, I recognize that the setup and CI required to do so may be complex, so this is more of a "nice to have" request.

Duplicate of #457.

@sisp ah, apologies! I searched and somehow that issue didn't come up 😅


London Class8/Laleh Koupaei/Full-Stack-Project-Week2

Level 250 completed

View rendered server/node_modules/fsevents/README.md

Overall, this is some amazing work @lalehkoupa!!!
I know changing between Node, Express, and the backend, back to React, HTML, CSS, and the frontend can be super confusing, and we feel like we forget a lot of what we learned.
But you are doing such a good job and this is some really really good code!!! I am being very annoying and picky, just because I feel very comfortable pushing you very hard as you are doing so well! So when you see my comments just know it's not because you are doing anything wrong, you are doing great! I just want you to get even better!
As always, you should be very proud of this amazing work, and I hope my comments help 🥳

@Awyssa Thank you so much Michael,I tried to apply all of the changes into my code, many thanks for reviewing my code and your helpful comment


Figure out why it needs a refresh sometimes

The extension works fine for few articles, but we need to reload the page to unlock others. Figure out the root cause of this!

Cookies maybe?


Specification: rework to have section on Cardano, discuss builtins

This reworks the specification to put all the discussion of Cardano-specific stuff into a chapter of its own. I also attempted to explain protocol versions and ledger langauges, and specify what ledger languages have what implications.
I've made a stab at explaining the "builtin version" also, which I've called the "builtin semantics variant", which might be a better name. Thoughts welcome!

Could you add cardano/*.tex to SRC near the top of the Makefile?  I know  we don't really need that, but I find it convenient for quickly rebuilding the PDF when I'm working on the document.


Components with curated license data not displaying license

Some components that have curations on their license data are not displaying that data in the UI.
Example:
https://github.com/clearlydefined/curated-data/pull/600
https://github.com/clearlydefined/curated-data/blob/master/curations/nuget/nuget/-/Microsoft.Extensions.Logging.Abstractions.yaml

@capfei @dabutvin @jeffmcaffer

I see it now ...

This is weird 👀

Just got another one today:
https://github.com/clearlydefined/curated-data/pull/681
https://github.com/clearlydefined/curated-data/blob/master/curations/nuget/nuget/-/Edge.js.yaml

@dabutvin @jeffmcaffer Were you able to identify this problem and find a resolution?

@dabutvin @jeffmcaffer I got the impression that this issue was solved by https://github.com/clearlydefined/service/pull/297
Is that true, or is there further work here needed? Can you verify this is fixed?

Well we have a syncing mechanism now, but it is not any kind of schedule as of yet.
Additionally, there is definitely a bug with the way the definitions are getting invalidated as demonstrated by curations 847 + 848.  Need to dig into it a little deeper to track it down.
Also, the sync is having to work more than I expected it to - it seems like there is another bug in our webhooks somewhere that needs to be tracked down

this is running on a schedule now every hour it will clean up.
Please re-activate if you see curations not showing up in the UI over an hour after being merged.


<EMAIL_ADDRESS>decompress error

Command line output
Extracting idafree70_windows.exe ... ERROR Exit code was 1!
Failed to extract files from C:\Users\****\scoop\apps\ida-free\7.0\idafree70_windows.exe.
Log file:
  ~\scoop\apps\ida-free\7.0\innounp.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=ida-free%407.0%3a+decompress+error

innounp.log
The setup files are corrupted or made by incompatible version. Maybe it's not an Inno Setup installation at all.
(00491A8A)

More

It is an installation exe. I think that is why the innounp process throw exception.
Maybe the ida change their exe to installation one instead of the previous zip one if the previous versions worked.

They changed from innosetup to some proprietary installed based on InstallShield.

It need admin privileges
There is GUI spawn while copying

I also found it by idaxxx.exe --help.

But I am not sure if we should provide the uninstall section.


Unable register with Registry because of the failure of core-consul

The log of core-consul:
Installing redis health checks
cp: can't create '/consul/scripts/consul-svc-healthy.sh': Read-only file system
cp: can't create '/consul/scripts/health': Read-only file system
cp: can't create '/consul/scripts/kong-db-checker.sh': Read-only file system
cp: can't create '/consul/scripts/kong-migrations-checker.sh': Read-only file system
cp: can't create '/consul/scripts/security-secrets-setup-checker.sh': Read-only file system
cp: can't create '/consul/scripts/security-secretstore-setup-checker.sh': Read-only file system

This issue blocks all the edgex services start up normally

Need more information about the failure, specifically: which docker-compose is failing?
Specifically, the add-security docker-compose files explicitly mount a writable volume there (abbreviated) specifically for this reason?
Please try a "make build" to recompose the compose file if it differs from what is in version control.
volumes:
  consul-scripts:

services:
  consul:
    volumes:
      - consul-scripts:/consul/scripts:z

Blocking all blackbox tests?  Ginny to confirm/with Cloud

The failed blackbox tests on Jenkins use nightly-build no security compose files (docker-compose-nexus-no-secty.yml and docker-compose-nexus-no-secty-arm64.yml).  I recomposed the compose files, but there was no difference.
For the blackbox-testing security-enabled tests, only app-service-configurable testcases fail, so I'm investigating it.

The failure has to do with this line
if [ "$Secure_Check" = 'true' ]; then
which is inexplicably executing when Secure_Check = false

Specifically, the add-security docker-compose files explicitly mounts a writable volume there (abbreviated) just for this reason:

I added the volume, and the consul and all edgex services started up normally.

I added the volume, and the consul and all edgex services started up normally.

Yep, that's the fix.  Do you want to put together the PR or should I?

I added the volume, and the consul and all edgex services started up normally.

There's something off about the cp statement in the consul container as well.  Let me work on the PR.

PR submitted. Please validate.  Consul container is OK after all -- it was intended that the health checking utilities (/consul/scripts/health) be available in all configurations just in case so that containers can check other service dependencies.


[compliance] Use the "cereal" library for scan jobs

:nut_and_bolt: Description
To facilitate multi-node operations, this moves us to using the cereal library to run compliance scan jobs.  With this change, scan job tasks will

Run across multiple compliance-service instances talking to the same database, and
Safe to resume after restart

To do this, the scan job process, has to be re-formulated into a set of tasks.  In doing this, we've attempted to change as little of the core scan jobs logics as possible.
Currently, we are not yet using the built-in scheduler in the cereal library.  We've done this to avoid a data migration for now.  Rather we rely on the fact that the library prevents two instances of the same workflow from running at once.  Thus, even if two nodes try to independently schedule a job only one should win.  Since the scheduled_time of the workflow is modified as part of the workflow, we think that this is also safe against cases that would otherwise result in duplicate scans.  There is still a window where we could end up with a duplicate job:

Thread A gets Job 1
Thread B gets Job 1
Thread A pushes and finishes Job 1
Thread B pushes and finished Job 1

But the existing code already has a number of bugs where a job can get run twice so we are defering working on this for the moment.
:+1: Definition of Done
We should not merge this until we are comfortable that the workflow library is ready for production use.
When done, the compliance service should be able to:

Run multiple instances against the same database without a scheduled scan being run more than expected.
Run multiple instances against the same database and have the inspec scan work spread out across all instances.

:athletic_shoe: Demo Script / Repro Steps
:chains: Related Resources
:white_check_mark: Checklist

[ ] Necessary tests added/updated?
[ ] Necessary docs added/updated?
[ ] Code actually executed?
[ ] Vetting performed (unit tests, lint, etc.)?

I think we'll need a sane way for people to cancel running scan jobs as restarting services won't do it anymore

a few things:
in today's world, if a user starts a scan job that is scheduled to run agains 100 nodes, and then chooses they do not want to run the scan job anymore about halfway through execution, and delete the scan job, we would allow all current inspec processes to complete but prevent any more inspec processes from being triggered. in other words, if 40 nodes have already executed inspec, 10 more nodes are in the process of being executing inspec, and 50 more have not started to execute inspec, we would end up with 50 node results from that scan job.
if we introduce a cancel functionality that stops currently running inspec processes, that should probably be a new "button"/action?  cc @jonong1972

Yup, looking at the new designs, i have a place for this.  But for existing designs, it would be just another button on the list row.

my next question for everyone is, if we support a cancel functionality/api/button, should that be a new auth "action"? https://github.com/chef/automate/blob/master/components/automate-gateway/api/compliance/scanner/jobs/jobs.proto#L65
as in, does this fall under the delete action or should it be a new "cancel" action.

i would expect that if i can start a scan job, i should be able to cancel. Could it be part of that permission?

a few things:
in today's world, if a user starts a scan job that is scheduled to run agains 100 nodes, and then chooses they do not want to run the scan job anymore about halfway through execution, and delete the scan job, we would allow all current inspec processes to complete but prevent any more inspec processes from being triggered. in other words, if 40 nodes have already executed inspec, 10 more nodes are in the process of being executing inspec, and 50 more have not started to execute inspec, we would end up with 50 node results from that scan job.
if we introduce a cancel functionality that stops currently running inspec processes, that should probably be a new "button"/action? cc @jonong1972

Also, i don't think we need to block on a UI redesign if there is a way to stop things that are running. Once we get the new UI going, it should all be fairly easy to wire up

"i would expect that if i can start a scan job, i should be able to cancel. Could it be part of that permission?"  you mean the create action? we'll have to coordinate with auth/ @susanev on this

hi folks, @jonong1972 @vjeffrey @jaym could someone schedule a meeting for next week for us all to get on the same page? id also like some clear descriptions of delete and cancel from a user's perspective. that should help us identify if there may be users with cancel permission but not delete permission or vice versa 🤷♀.
also, are create and start the same thing? or are those separate actions?

pulled this down locally to test it out.
i rebuilt compliance and nodemanager service
started a bunch of jobs and watched them complete
started a new scan job and the restarted services immediately.
a bit after restart, i saw [2019-08-12T18:48:57+00:00] compliance-service.default(O): time="2019-08-12T18:48:57Z" level=error msg="scan-job failed with abnormal error" error="task lost before reporting its status" in the logs
the job was set to failed, but no error was reported in the ui:

so it looks that error msg is not being propagated all the way through..

it also might be useful if that "scan-job failed with abnormal error" error msg included some reference to the scan job id/other identifying information

tested a second time to ensure it wasn't a fluke and same deal - failed scan job with no error msgs

Are we sure we want to fail the job on process restart or should we handle the lost worker case in the workflow and re-enqueue the job?

Are we sure we want to fail the job on process restart or should we handle the lost worker case in the workflow and re-enqueue the job?

if it's possible, sure!

i think we should hold off on handling lost workers. It'll add more complexity as we'd have to deal with backoff and keeping track of retries to make sure we dont run forever


HTML Assistant can't close after losing the focus

Technical
WATT/ VSCode
Description
HTML Assistant can't close after losing the focus
Steps to reproduce

Create a new project in Design Editor
Drag&Drop the Text and Open the HTML Assistant
Mouse focus elsewhere except on HTML Assistant and Template and click
Again "HTML Assistant" button for close the HTML Assistant window

Expected behaviour
Close the HTML Assistant window
Actual behaviour
HTML Assistant can't close after click the mouse outside the HTML Assistant or Template

Issue is done.

Dear Korrnelia
Would you check HTML Assistant and JavaScript Assistant after apply the https://github.sec.samsung.net/HighPerformanceWeb/VSC-Design-Editor/pull/75, please?
It looks Some feature is not working after merge the VSC-Design-Editor/pull/75.

Dear Hwang,
I can't reproduce this issue. Please check that your VSC Design Editor is up to date git pull and then check its submodule is up to date. Then it works for me.

ok. The HTML Assistant is good working.
We can be close issue.


feat(wip): override subquery/result limits

@rpalakkal Need to fix merge conflicts because we moved circuit/js to circuit

@rpalakkal is this still WIP or ready to merge?


Selecting the query input requires multiple taps (focus on first tap).

From @melissacline on July 29, 2016 18:33
Copied from original issue: BD2KGenomics/brca-exchange#34

tied to #149


re-schedule sts pods after node deletion/failure

What would you like to be added:
An opt-in feature for Statefulset pods, where if a pod is stuck to be scheduled in a node.
Operator users can opt-in for automated clean re-scheduling of the pod after a configured timeout or triggered through a manual request.
Why is this needed:
When using Deployment and ReplicaSets, if a node failure happens the pods are re-scheduled to another node. This is not true for Statefulsets.
In the case of a Statefulset a manual node deletion is required. But in case if it's using local storage, it gets stuck in Pending with because of local volume taint. Which in case of permanent node loss could never be filled.
issues/PRs to check:
https://github.com/kubernetes/enhancements/pull/719
https://github.com/kubernetes/kubernetes/issues/54368
https://github.com/kubernetes/kubernetes/issues/74947
The feature could be part of KUDO deployment or an independent kudobuilder project to opt-in to help operators fix known issues, to help run their stateful workloads on Kubernetes using KUDO.

One thought that springs to mind of something we'll have to solve:
This likely needs to be able to run a plan, especially in instances where the replaced STS node is treated as a "new" node from a UUID perspective.
Something like https://github.com/kudobuilder/kudo/issues/1338?

that's correct, to make sure that it can be triggered through a manual request I had plans in my mind.
In the case of automated recovery, KUDO detects that pod meets recovery conditions and triggers a plan. Another case is when Operator (user) classifies a pod condition opt for recovery and manually triggers that plan.
In both automated/manual cases, the plan should cover the base-tech reconcile, which would be different for each operator. And that should be up to operator developers to which tasks to run when triggering the recovery plan. And KUDO(or helper operator) should help with cluster-wide kubernetes operations which are beyond the scope of base-tech.  For example, detecting if the node is down or gone. Fixing the PVC etc.

I'm not sure it needs to trigger a plan. I think that would be nice to have, but generally it would work without:

The recovery controller detects a node deletion/failure
It solves the invalid local volume constraint by removing the pvc
In our PoC, we need to delete stuck pod manually, as it needs rescheduling from the sts. This may be solved with a plan trigger, i'm not sure if that would work. A change to the pod template spec's attributes will trigger a restart of all pods, which could work, but we may not want to restart all other pods in the sts.
The sts reschedules the pod on a different node - no KUDO plan execution is required here.

Triggering a plan still would be a good addition and nice to have, i'm just not sure if it's a requirement for this feature.

I'm not sure it needs to trigger a plan

what if the user wants to manually run these steps for some other reason that isn't deletion/failure scenario. Deletion and Failure are just two cases where we are 100% certain to take action after a configured timeout. But there might be other cases where the user wants to trigger it, so by design, it should allow this manual trigger, and one way is a plan but any other ideas are also welcome. KUDO already has the concept of plans.

Yes, that scenario is fully valid, but that's not what the linked #1338 is talking about:

The recovery-controller detects a node deletion/failure and triggers a KUDO plan
The user triggers a plan manually that executes the executes the pvc/pv disconnect so that the pod can be rescheduled.

I fully agree that a user should be able to trigger a plan that allows this action to happen. Maybe a custom Task DisconnectPVC or something similar would work.


unknwon reference causing AxesTooltip functionality

          @brianlagunas

There is no repro step or required repro link provided.

https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/tooltip/AxesTooltip.js#L175
cannot find keyword anno used nor created looks like a typo
Originally posted by @ccppoo in https://github.com/apexcharts/apexcharts.js/issues/4346#issuecomment-2016444575
version : 3.48.0
default (annotation on)

edit) reason why it was tricky to find
this reference error is raised because anno isn't binded to this,
so when building package, webpack automaticaly binded anno to this
variable name anno is in a function scope, and its value are passed by values
so it was impossible to traceback finding this.anno via search because there was no such code like that
tooltip option off

passing reference of anno starting from
https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/annotations/Annotations.js#L246
then
https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/annotations/Annotations.js#L253
then
https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/annotations/Annotations.js#L91-L93
which is created from
https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/annotations/Annotations.js#L26
and
https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/annotations/YAxisAnnotations.js#L4-L12
the problem 'AxesTooltip' instance is created as attribute of class Tooltip
https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/tooltip/Tooltip.js#L30
Tooltip is use at

https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/tooltip/AxesTooltip.js#L173-L176
fixing like this works as I expected
      let seriesIndex = w.globals.seriesYAxisMap[index][0]

@rosco54 could you check that it works as you intended?

If index is the yaxis index then your fix odds probably correct, but I
would like to check it on context of the calling code and test, in the
morning my time, in about 8 hours.
Yes, a sloppy cut and paste most likely.
On Sat, 23 Mar 2024, 11:00 pm ccppoo, @.***> wrote:

https://github.com/apexcharts/apexcharts.js/blob/e03e8cbab71b1da386b5e73dbfb759360f1928f9/src/modules/tooltip/AxesTooltip.js#L173-L176
fixing like this works as I expected
  let seriesIndex = w.globals.seriesYAxisMap[index][0]

@rosco54 https://github.com/rosco54 could you check that it works as
you intended?
—
Reply to this email directly, view it on GitHub
https://github.com/apexcharts/apexcharts.js/issues/4353#issuecomment-2016470185,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGBUF46ODT5JEGO5F3VO7ETYZVVHRAVCNFSM6AAAAABFER5MC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWGQ3TAMJYGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@rosco54 Thanks!


Add ASCII bell (\u0007) character

This character is outside of the valid characters for XML (and rejected by some parsers)
See https://www.w3.org/TR/REC-xml/#charsets

Where in the linked article does it discuss \u0007? I did a brief search (it's a long article) and did not see mention to that specific character.

The doc sates #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
So any character bellow \x09 isn't in the range

All of the C0 and C1 controls should really be represented in this file somewhere.

Definitely needs some character outside of valid XML characters.
These can be met in wild, e.g. when pasting from some old word document.

Note that the Bell character (^G) is already included at the end of the file:
The quic^H^H^H^H^H^Hk brown fo^G^G^G^G^G^G^G^G^G^G^Gx... [Beeeep]

The doc sates valid characters are #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
So any character bellow \x09 isn't in the range

I prefer to use \v (#xB, vertical tab) and \f (#xC, form feed)  since, not only are they outside the valid ranges, they've got escapes which most common languages implement, so it's easy to mistakenly conclude that they should be valid and easy for someone to include in something you may encounter.
For example, to quote Eevee:

All the way back in humble ASCII, U+000C FORM FEED can be used to encode a page break in plain text. veekun’s database uses form feeds to mark where the Pokédex flavor text in Gold, Silver, and Crystal breaks across two pages.
-- https://eev.ee/blog/2015/09/12/dark-corners-of-unicode/

OK.... I need to follow this up.

Issue fixed. (TIL how blocking on GitHub works)


out of disk space during gcc build

It looks, to the extent that I understand the gcc-build.sh script, like it is supposed to figure out whether there is sufficient disk space for it to execute.
I think that this is supposed to happen with the line:
check_disk_space 5000
It seems that perhaps that number is too small. I just tried to run the script in a VM with about 6GB free, building gcc 14.2, and after an hour or so it halted with an error message stating that it had run out of disk space.

Hmmm... I re-tried the build, with 14GB free, and it again ran out of space. So perhaps I am wrong and the script does not attempt to warn if there is insufficient disk space?
I am currently trying again with 24GB free.

With 24GB free, the script did not run out of space, but then it hit issue #13.


Ease release versioning

use a github action to extract the version from the release tag while building the pip release.

fixed by using poetry version and __version__ = importlib.metadata.version("pysolarfocus")


[Question]how to render routable tab component using import keyword

I saw the example in this repository had showed the tab functionality with content option, that works well, but if  the tab content using another vue component file by component option provided by framework7, it seems that it had not rendered the dynamic vue page ,like the below code:
   mode: 'history',
    themeColor: 'green',
    darkTheme: false,
    mdIcons: false,
    invertNav: false,
    disableContextMenu: true,
    disableSelect: true,
    routes: {
      'index': {
        tabs: [
          { path: '/', id: 'home', component:  import('../layouts/MobileTabLayout/tabs/Home.vue').then(m => m.default) },
          { path: '/ucenter', id: 'usercenter', component: 'import('../layouts/MobileTabLayout/tabs/Ucenter.vue').then(m => m.default) }
        ]
      }
    }

could you help me taking a review this issue and how can I solve it ?
appreciated that very much if you can help me.  @pi0  @clarkdo @zoosky

Hi. I've added routable-tabs example: https://github.com/nuxt-community/nuxt7/tree/master/examples/routable-tabs


docs: CloudWatch and X-Ray integration tutorial

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

https://github.com/kyma-project/telemetry-manager/issues/552

closing in favour of #759


updated ncbi container

Updating ncbi datasets container.

The linting is failing because the CI uses nf-core 2.9 and the pipeline template is 2.8. Either we update the CI or ignore the error.

The CI will be updated in https://github.com/sanger-tol/genomenote/pull/74/files#diff-717013d02a8afac81852f25ba8ecd3cc0ca53a7f1fe25bedebfd66d6f518d21c


[plot] Glitch on image rendering

There is a difference of rendering between a pure matplotlib image and the silx plot. The silx plot introduce artefact.

Here is the matplotlib code
import fabio
im = fabio.open("mynicedata.edf").data
imshow(log(im), cmap=cm.inferno, interpolation="nearest")

Maybe it come from ModestImage. As ModestImage was updated on the master, this issue have to be checked again.
Feedback from Jon Wright.

I try to reproduce the problem

I can reproduce the problem on the 0.8
I can reproduce the problem on 0.9 master
If i disable ModestImage the glitches disappear

Then, there a rendering problem somehow on ModestImage

Here we can see something with a synthetic image. The mpl rendering looks better.
%pylab qt5
import numpy
from silx import sx
from silx.gui import colors

lookup = numpy.array([<PHONE_NUMBER>5,<PHONE_NUMBER>5,   184.        ,<PHONE_NUMBER>5,
<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>5,   213.        ,
<PHONE_NUMBER>5,<PHONE_NUMBER>5,<PHONE_NUMBER>9,<PHONE_NUMBER>9,
<PHONE_NUMBER>9,<PHONE_NUMBER>9,   544.        ,   674.        ,
         965.        ,  1360.        ,  1880.        ,  2811.33325195,
        4373.33349609,  4921.33349609,  3849.33325195,  2772.33325195,
        1676.66662598,  1171.        ,<PHONE_NUMBER>1,   624.        ,
<PHONE_NUMBER>1,<PHONE_NUMBER>9,<PHONE_NUMBER>1,   303.        ,
         264.        ,<PHONE_NUMBER>5,   223.        ,   207.        ,
<PHONE_NUMBER>5,<PHONE_NUMBER>5,   181.        ,   173.        ])

yy, xx = numpy.ogrid[-1000:1000, -1000:1000]
distance = numpy.sqrt(xx*xx + yy*yy)
distance = ((distance / distance[1000, 0]) * 1000).astype(uint)
d = distance.copy()
d = d % 40
d2 = lookup[d]

imshow(log(d2), cmap=cm.jet, interpolation="nearest")
plot = sx.imshow(d2)
plot.getActiveImage().setColormap(colors.Colormap(name="jet", normalization="log"))
plot.setKeepDataAspectRatio(True)

@t20100 tried the silx OpenGL backend. Minification and magnification filters applied on the image uses no interpolation, but the result is as good as matplotlib. Then we suppose there is a bug in ModestImage somewhere.

For the record, here is the patch I did to ModestImage (which looks OK but I don't expect to be correct):
--- a/silx/third_party/modest_image.py
+++ b/silx/third_party/modest_image.py
@@ -162,7 +162,9 @@ class ModestImage(mi.AxesImage):

         # Slice the array using the slices determined previously to optimally
         # match the display
-        self._A = self._full_res[y0:y1:sy, x0:x1:sx]
+        y = np.linspace(y0, y1, int(np.round(abs(y1 - y0)/sy)), endpoint=False).astype('int')
+        x = np.linspace(x0, x1, int(np.round(abs(x1 - x0)/sx)), endpoint=False).astype('int')
+        self._A = self._full_res[y[:, None], x]
         self._A = cbook.safe_masked_invalid(self._A)

         # We now determine the extent of the subset of the image, by determining
@@ -312,8 +314,8 @@ def extract_matched_slices(axes=None, shape=None, extent=None,
     x1 = _clip(ind1[0] + 5, 1, shape[1])

     # Determine the strides that can be used when extracting the array
-    sy = int(max(1, min((y1 - y0) / 5., np.ceil(abs((ind1[1] - ind0[1]) / ext[1])))))
-    sx = int(max(1, min((x1 - x0) / 5., np.ceil(abs((ind1[0] - ind0[0]) / ext[0])))))
+    sy = max(1, min((y1 - y0) / 5., abs((ind1[1] - ind0[1]) / ext[1])))
+    sx = max(1, min((x1 - x0) / 5., abs((ind1[0] - ind0[0]) / ext[0])))

     return x0, x1, sx, y0, y1, sy


How do get Gihub Pages working with the .build folder?

I'm deploying my Cactus site to Github Pages. How do I handle this considering that Cactus seems to clear all the .git files and folders from the build folder on every build?

Hi there,
Did you consider just having your GitHub pages root outside of build, and simply copying the built files over to the repo after a build is complete?
Cheers,

I have it outside of the build folder @krallin. I have to because Github Pages require a CNAME file for custom domains, which Cactus wipes clean every build. So I am coping all the files after every change at the moment, which seems so prehistoric. I just figured there must be some automated way around this?

You could write a plugin that creates / copies the file after the build. Would that work for you?
Cheers,

It certainly would. I've looked at default.py in the plugins folder but python is beyond me.

I'm dealing with the exact same setup. I'm gonna try writing something up and stick it here when I'm done.

Here ya go: https://gist.github.com/moomoohk/f3b114c392aae03f0cd2
Enjoy!


Comment, Reply count singular/plural labels

This PR updates the Comment and ItemInfo components to render comment/reply counts using the appropriate singular/plural label, based on the number of comments/replies.
Apparently this has bothered me enough to fix it :)

Thank you! Please give me a lightning address to send some sats to

Thank you! Please give me a lightning address to send some sats to

You're welcome! Does this work?
lnurl1dp68gurn8ghj7ampd3kx2ar0veekzar0wd5xjtnrdakj7tnhv4kxctttdehhwm30d3h82unvwqhhymm4va58qunfwdhkudfhzfar3r


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1180 ms

Resolved: Bofrost.be performance has improved in db818cb after 19 minutes.


Refactor ItemSetService(updateSet Item) and ConfigChangeContentBuilder a little bit

What's the purpose of this PR
Refactor ItemSetService(updateSet Item) and ConfigChangeContentBuilder a little bit.
Brief changelog
Refactor ItemSetService(updateSet Item) and ConfigChangeContentBuilder a little bit.
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Read the Contributing Guide before making this pull request.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit tests to verify the code.
[x] Run mvn clean test to make sure this pull request doesn't break anything.
[ ] Update the CHANGES log.

Codecov Report

Merging #4515 (f2fc44d) into master (4ca9739) will decrease coverage by 0.02%.
The diff coverage is 12.19%.

@@             Coverage Diff              @@
##             master    #4515      +/-   ##
============================================
- Coverage     53.46%   53.44%   -0.03%
+ Complexity     2703     2702       -1
============================================
  Files           490      490
  Lines         15347    15351       +4
  Branches       1598     1595       -3
============================================
- Hits           8205     8204       -1
- Misses         6585     6589       +4
- Partials        557      558       +1

Impacted Files
Coverage Δ

...apollo/adminservice/controller/ItemController.java
7.29% <0.00%> (+0.14%)
:arrow_up:

...p/framework/apollo/biz/service/ItemSetService.java
8.95% <0.00%> (-0.89%)
:arrow_down:

...k/apollo/biz/utils/ConfigChangeContentBuilder.java
100.00% <100.00%> (ø)

...ervice/service/ReleaseMessageServiceWithCache.java
84.70% <0.00%> (-1.18%)
:arrow_down:

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


[HW] Clayton Landry

Name: Clayton Landry
Email<EMAIL_ADDRESS>Linkedin Profile: linked-in
Attach the homework step I screenshots below:

Attach the homework step II screenshots below:

Hey Clayton Landry, great job! Congrats! Here is your badge! https://api.badgr.io/public/assertions/v44B4vQpRG2ZKAMTWdMqHg


[BUG] When i click install, nothing happens

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] My answer given in the checkbox above is a lie.

What problem did you encounter?
When i click install on bloxstrap, nothing happen. i try to locate where bloxstrap will be install and theres nothing.

oh yeah and i find one folder that said "AppCrash_bloxstrap".

Did you read https://github.com/pizzaboxer/bloxstrap/wiki/Bloxstrap-doesn't-run-when-opening-it?

Issue has stale for over a month, and will be reopened if further information is given.


Q: why the "meteor" package need to be in externals? Don't they also need to be bundled together?

I'm trying to get my head around the sharing code on both client and server. In the blog, you mentioned to add one external configuration to webpack config file:
  externals: function (context, request, callback) {
    var match = request.match(/^meteor\/(.+)$/);
    var pack = match && match[1];
    if (pack) {
      callback(null, ‘Package[“‘ + pack + ‘“]’);
    }
  }

Does this mean that the meteor packages won't be bundled into the client bundle.js? then how the client can run without these code available in the browser?

This is just an alias to Meteor packages, so they can be loaded like so:
import { Mongo } from 'meteor/mongo';

The reason why we do this is because we use our own custom bundler rather than relying on Meteor's bundler, where this logic already exists. I'm closing this issue, since it's not really an issue. If you have further questions you can ask, but please don't open a new issue


Revise content for the "Take Action" subpages

Change Take Action" page to have subpages: "Get Access" and "Transform a Property". The "Get Access" subpage will cover the legal/practical aspects of getting property access, and the "Transform a Property" page will contain recommendations for how to actually intervene.

@all-contributors please add @willonabike for research and UX design

Two Aspects to be implemented:

Navigation design: Tabbed view in FIgma

Content design - in progress
Take Action

Get Access
Transform a Property

Original task completed by Nissim, adding first pass pages for Get Access and Transform a Property.


Kind regard, Nils

There is a mistake in the example config in the README.
Try to move the size option into the config block. E.g.:
     module: "MMM-TomTomTraffic",
     position: "bottom_left",
     config: {
       location: [... , ... ],
       zoomLevel: 14,
       size: 500,
       tomtom: {
         apiToken: "...",
         thickness: 4,
       },


copr, json: support json path range selection

Signed-off-by: YangKeao<EMAIL_ADDRESS>What is changed and how it works?
Issue Number: Close #13644
What's Changed:
Support json array range selection, and use nom to refractor the json path parser (it looks more convincing now).
Really regret that I didn't use nom last time :cry: :facepalm:
Check List
Tests

[x] Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Release note
Support array range selection and array index from last

/run-test

/cc @sticnarf
/cc @AndreMouche
PTAL

/merge

/run-test

/merge


Merge option chain and other option functions in the same file

Would be better to have all option related functions in the same file (chain is separated now)

Added the option related functions into an Option class.


width of section is too small

@rultor release, tag is 0.0.28

@rultor release, tag is 0.0.28

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.0.28

@yegor256 Done! FYI, the full log is here (took me 1min)


RootHide Manager and Choicy not working

Device Model
iPhone 13, A15
iOS Version
17.0
Bootstrap Version
1.2.1
Serotonin Version
No response
What happened
Tried installing Choicy and RootHide Manager from the official RootHide repository. Both of them are not working for me.
Choicy has a problem with the preferences. Specifically, ChoicyPrefs.bundle.

RootHide Manager installs, but crashes when I try to open it.
https://github.com/roothide/Bootstrap/assets/54655460/16c4f798-f632-4122-be8f-c367452a3bec
Log output
No response
Acknowledgement of README and FAQ

[X] I have read both the README and the FAQ.

Odd, looks like thinks aren't going too well. Does reinstalling the tweaks not fix it? If that doesn't work, you can try uninstalling the Bootstrap (according to the FAQ in this GitHub's README.md and reinstalling the bootstrap. You can export your source and tweak list to make things easier.

try to reinstall the packages

As this issue is not easily reproducible, this issue will be closed.
It should be noted that you should steer clear from repositories that host pirated content. Pirated content involves content that may either,

Redistribute content without the owners explicit permission, or do not abide by licensing, or
Provide paid content for free

No, these tweaks work fine on 17.0.


bugfix; ImportError: cannot import name build_ext

I tried to install/compile PJON-python without success.

If I try to clone it from git I get this:

osboxes@osboxes:~$ git clone https://github.com/xlfe/PJON-cython
Cloning into 'PJON-cython'...
remote: Counting objects: 99, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 99 (delta 33), reused 92 (delta 28), pack-reused 0
Unpacking objects: 100% (99/99), done.
Checking connectivity... done.
osboxes@osboxes:~$ cd PJON-cython/
osboxes@osboxes:~/PJON-cython$ python setup.py build_ext --inplace
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from Cython.Build import build_ext
ImportError: cannot import name build_ext
osboxes@osboxes:~/PJON-cython$ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from Cython.Build import build_ext
ImportError: cannot import name build_ext
osboxes@osboxes:~/PJON-cython$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 2, in <module>
    from Cython.Build import build_ext
ImportError: cannot import name build_ext

If I try it via pip:

osboxes@osboxes:~/PJON-cython$ sudo pip install pjon-cython
Downloading/unpacking pjon-cython
  Downloading pjon_cython-11.1.0.tar.gz (466kB): 466kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pjon-cython/setup.py) egg_info for package pjon-cython
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/pjon-cython/setup.py", line 2, in <module>
        from Cython.Build import build_ext
    ImportError: cannot import name build_ext
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/pjon-cython/setup.py", line 2, in <module>

    from Cython.Build import build_ext

ImportError: cannot import name build_ext

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/pjon-cython
Storing debug log for failure in /home/osboxes/.pip/pip.log

Further if I replace setup.py with this one:
from distutils.core import setup
from Cython.Build import cythonize

std_args =['-std=c++11', '-DLINUX']

setup(
    ext_modules = cythonize("pjon_cython/pjon_cython.pyx")
)

it starts complaining about c++: pjon_cython/pjon_cython.pyx:78:23: Operation only allowed in c++ etc.
This was all done using Python 2.7.6.

@drtrigon I've just pushed a bugfix 11.1.1 to pip and to master - would you mind trying again please?
Thanks

Thanks @drtrigon  - bugfix pushed to repo and pypi - please try again thanks!

Thanks @xlfe it works from git repo now - I did not test the pip install assuming this will work too then. Thanks a lot for your work, however I found a few things that would be good to have (please):

can you add the constants as they are missing, e.g.: PJON_ACK, PJON_NAK, PJON_BUSY, PJON_FAIL, PJON_BROADCATS, etc.
can you add bus.update() and ret = bus.receive(1000)
can you add support for the error handler
can you add a note that this current release works with PJON 11.1 only - as it does not compile with older code (@gioblu can we integrate PJON-cython into PJON codebase directly?)

Ciao @drtrigon thank you for your support to the PJON and PJON-cython project.
By my side there is no problem to add it to the original PJON repo, although the decision is of @xlfe , and also being different languages we should consider if it has sense and how to organize the project structure to eventually host other languages implementations and tools.

I agree @xlfe has to decide too. I my opinion - as a user - it would be great to have "officially supported" bindings to other languages (namely python in this case) included with the PJON distribution. That would also follow the python philosophy of "batteries included" (see e.g. PEP 2, 206, etc).

@drtrigon @gioblu I've just uploaded 11.1.4 - which has much better consistency with PJON in terms of how it operates. I have added heaps of additional tests and updated the README.md with examples of how (@drtrigon) you can access the various return values, exceptions, etc...
In terms of moving this code into the main PJON repo I am happy maintaining it here for now - as it is open source @gioblu is of course welcome to do with it as he wishes, including fork it himself (as is anyone).
just my 2c
As always, thanks for the feedback / suggestions!

Ciao @xlfe compliments for the great work and your support catching those bugs 🥇. I think clear and visible links to this repo in the PJON README headers and wiki will be the way to go. I do agree that it is for you more handy and in general a more consistent choice (being different languages) to maintain it separately.
Will push your last suggested change and run the examples.
Thank you :)

Thanks @xlfe for your work! The constants work now very nicely!
However the test results in:

.../PJON-cython$ python setup.py nosetests --with-doctest --doctest-extension=md
/usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'compiler_directives'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running nosetests
running egg_info
creating pjon_cython.egg-info
writing pjon_cython.egg-info/PKG-INFO
writing top-level names to pjon_cython.egg-info/top_level.txt
writing dependency_links to pjon_cython.egg-info/dependency_links.txt
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'PJON'
no previously-included directories found matching 'PJON/examples'
no previously-included directories found matching 'PJON/devices'
no previously-included directories found matching 'PJON/documentation'
no previously-included directories found matching 'PJON/specification'
no previously-included directories found matching 'PJON/trademark'
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
skipping 'pjon_cython/_pjon_cython.cpp' Cython extension (up-to-date)

and freezes at this point...

Hmm - that's odd. Here's what I get - it looks like yours is stopping at the build step.
What's the output you get when you do a pip install (which presumably runs the build step successfully)?
$ python setup.py nosetests
...python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'compiler_directives'
  warnings.warn(msg)
running nosetests
running egg_info
writing pjon_cython.egg-info/PKG-INFO
writing top-level names to pjon_cython.egg-info/top_level.txt
writing dependency_links to pjon_cython.egg-info/dependency_links.txt
reading manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'PJON/examples'
no previously-included directories found matching 'PJON/devices'
no previously-included directories found matching 'PJON/documentation'
no previously-included directories found matching 'PJON/specification'
no previously-included directories found matching 'PJON/trademark'
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
skipping 'pjon_cython/_pjon_cython.cpp' Cython extension (up-to-date)
building 'pjon_cython._pjon_cython' extension
creating build
...
clang ...
clang++ ...
............
----------------------------------------------------------------------
Ran 12 tests in 4.910s

OK

I'll test this as soon as I can ... might it be related to files (.py, .sh) created in the same dir as setup.py resides?
Am 26. September 2018 03:36:22 MESZ schrieb Felix<EMAIL_ADDRESS>
Hmm - that's odd. Here's what I get - it looks like yours is stopping
at the build step.
What's the output you get when you do a pip install (which presumably
runs the build step successfully)?
$ python setup.py nosetests
....python2.7/distutils/extension.py:133: UserWarning: Unknown
Extension options: 'compiler_directives'
 warnings.warn(msg)
running nosetests
running egg_info
writing pjon_cython.egg-info/PKG-INFO
writing top-level names to pjon_cython.egg-info/top_level.txt
writing dependency_links to pjon_cython.egg-info/dependency_links.txt
reading manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'PJON/examples'
no previously-included directories found matching 'PJON/devices'
no previously-included directories found matching 'PJON/documentation'
no previously-included directories found matching 'PJON/specification'
no previously-included directories found matching 'PJON/trademark'
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
skipping 'pjon_cython/_pjon_cython.cpp' Cython extension (up-to-date)
building 'pjon_cython._pjon_cython' extension
creating build
....
clang ...
clang++ ...
.............
----------------------------------------------------------------------
Ran 12 tests in 4.910s

OK

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/xlfe/PJON-cython/issues/2#issuecomment-424555458

@drtrigon not sure sorry - I run the tests across python versions with and without Cython before each release - see attached
log-e2f77910-9234-4b37-93ec-1e0f1992d901.txt

Ah ok I'll look into that problem with the doc test. Thanks.
Try upgrading to the latest version as I've fixed a few bugs in the past
few days (including the assertion error you're getting there)
On Sat., 29 Sep. 2018, 22:24 drtrigon<EMAIL_ADDRESS>wrote:

$ python setup.py nosetests
/usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'compiler_directives'
warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running nosetests
running egg_info
creating pjon_cython.egg-info
writing pjon_cython.egg-info/PKG-INFO
writing top-level names to pjon_cython.egg-info/top_level.txt
writing dependency_links to pjon_cython.egg-info/dependency_links.txt
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'PJON'
no previously-included directories found matching 'PJON/examples'
no previously-included directories found matching 'PJON/devices'
no previously-included directories found matching 'PJON/documentation'
no previously-included directories found matching 'PJON/specification'
no previously-included directories found matching 'PJON/trademark'
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
skipping 'pjon_cython/_pjon_cython.cpp' Cython extension (up-to-date)
..F...F.....
FAIL: Test ThroughSerial and send_repeatedly
Traceback (most recent call last):
File "/home/osboxes/sketchbook/OWPJON/PJON-cython/nose-1.3.7-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/osboxes/sketchbook/OWPJON/PJON-cython/test/test.py", line 43, in test_throughserial
ts = ThroughSerial(44, b"/dev/null", 115200)
File "pjon_cython/_pjon_cython.pyx", line 310, in pjon_cython._pjon_cython.ThroughSerial.init
assert self.bus.strategy.can_start()
AssertionError
======================================================================
FAIL: Check that we get PACKET_BUFFER_FULL error in ThroughSerial
Traceback (most recent call last):
File "/home/osboxes/sketchbook/OWPJON/PJON-cython/nose-1.3.7-py2.7.egg/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/osboxes/sketchbook/OWPJON/PJON-cython/nose-1.3.7-py2.7.egg/nose/tools/nontrivial.py", line 60, in newfunc
func(*arg, **kw)
File "/home/osboxes/sketchbook/OWPJON/PJON-cython/test/test.py", line 88, in test_ts_raises_packet_buffer_full
ts = ThroughSerial(44, b"/dev/null", 115200)
File "pjon_cython/_pjon_cython.pyx", line 310, in pjon_cython._pjon_cython.ThroughSerial.init
assert self.bus.strategy.can_start()
AssertionError

Ran 12 tests in 54.039s
FAILED (failures=2)
the tests run now - my issue was your suggestion here
https://github.com/xlfe/PJON-cython#testing as I used:
$ python setup.py nosetests --with-doctest --doctest-extension=md
in more detail using --with-doctest freezes the tests for me. Hope this
helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xlfe/PJON-cython/issues/2#issuecomment-425649088, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABH4u13pR46wfkZYymVdanO8avr4iAiwks5uf4K1gaJpZM4WXD-l
.

$ python setup.py nosetests
/usr/lib/python2.7/distutils/extension.py:133: UserWarning: Unknown Extension options: 'compiler_directives'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
  warnings.warn(msg)
running nosetests
running egg_info
creating pjon_cython.egg-info
writing pjon_cython.egg-info/PKG-INFO
writing top-level names to pjon_cython.egg-info/top_level.txt
writing dependency_links to pjon_cython.egg-info/dependency_links.txt
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest file 'pjon_cython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*' under directory 'PJON'
no previously-included directories found matching 'PJON/examples'
no previously-included directories found matching 'PJON/devices'
no previously-included directories found matching 'PJON/documentation'
no previously-included directories found matching 'PJON/specification'
no previously-included directories found matching 'PJON/trademark'
writing manifest file 'pjon_cython.egg-info/SOURCES.txt'
skipping 'pjon_cython/_pjon_cython.cpp' Cython extension (up-to-date)
..................
----------------------------------------------------------------------
Ran 18 tests in 55.426s

OK

Nice! So finally I was able to port my original c++ code to python:

c++: https://github.com/drtrigon/sketchbook/blob/master/OWPJON/LINUX/Local/LocalUDP/RemoteWorker/DeviceGeneric/DeviceGeneric.cpp
python: https://github.com/drtrigon/sketchbook/blob/master/OWPJON/PJON-cython/DeviceGeneric.py


Better to keep a consistent format for the filter string on the address bar between blob containers and file shares

Storage Explorer Version: 1.28.0
Build Number: 20230209.2
Branch: rel/1.28.0
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Ventura 13.2 (Apple M1 Pro)
Architecture: ia32/x64/arm64
How Found: From running test cases
Regression From: Not a regression
Steps to Reproduce

Expand one storage account -> Blob Containers.
Open one blob container -> Type 's' into the filter by prefix box.
Observe the filter string on the address bar.
Open one file share -> Type 's' into the filter by prefix box.
Observe the filter string on the address bar.
Check whether the filter string format is consistent.

Expected Experience
The filter string format is consistent.
Actual Experience
The filter string format is inconsistent.

Shipping with 1.29.0.

Verified this issue on the main build 20230217.3. Reproduce.
So, we are going to re-open it and verify it on a newer build. Will close it once it got fixed.

Verified this issue on the build main 20230226.1. Fixed.
The string for the regular blob container has been updated. So, we are going to close it.


Feature/run empty

here's the PR to the correct branch

uhoh.  i think something is wrong here .. my branch of pyll is contaminated.   do you want to just remove the orrelevant code when you merge or do you want me to start with a clear branch off of use_pyll and redo the PR?

@yamins81 this PR is a mess, it has all kinds of unrelated stuff, and no test of the new functionality you added, and it breaks interface compatibility with MongoTrials I think. Bottom line: I don't think this PR is ready for merge.

I've been saying:

i closed this PR
i submitted a new one without the extra stuff

let's work on comments on the new PR
On Wed, Feb 22, 2012 at 9:39 AM, James Bergstra <
<EMAIL_ADDRESS>
wrote:

@yamins81 this PR is a mess, it has all kinds of unrelated stuff, and no
test of the new functionality you added, and it breaks interface
compatibility with MongoTrials I think. Bottom line: I don't think this PR
is ready for merge.

Reply to this email directly or view it on GitHub:
https://github.com/jaberg/hyperopt/pull/82#issuecomment-4105077


[Application.OAuth2Client.HttpRequests] Http Requests Items metrics should be tagged with client id

[Application.OAuth2Client.HttpRequests] Http Requests Items meters should by tagged with client id for grouping

Need to allow items to be assigned tags at runtime or use a convention to retrieve item tags from the item names
e.g. client_id:client5|http_status_code:200 could be used to set tags when reporting as client_id=5, http_status_code=200


Fix broken build & clean

Need to add npm-run-all with build and clean to ensure the CI test completes successfully.

@dpyro could you fix the conflicts? Will take a look then.

Will close this as we started working on v2.


Make APIM Alert Email More User Friendly

Description:
Currently the email that getting when triggered a APIM alert it not much user friendly. Better to use more meaningful subject with html email body. I believe we can use siddhi email template support for this.

By @harsha89 from https://wso2.org/jira/browse/ANLYAPIM-130

this can be done by chaning "EmailNotificationStream" in APIM_ALERT_EMAIL_NOTIFICATION.siddhi app. Hence closing.


[SPARK-18871][SQL][TESTS] New test cases for IN/NOT IN subquery 4th batch

What changes were proposed in this pull request?
This is 4th batch of test case for IN/NOT IN subquery. In this PR, it has these test files:
in-set-operations.sql
in-with-cte.sql
not-in-joins.sql
Here are the queries and results from running on DB2.
in-set-operations DB2 version
Output of in-set-operations
in-with-cte DB2 version
Output of in-with-cte
not-in-joins DB2 version
Output of not-in-joins
How was this patch tested?
This pr is adding new test cases. We compare the result from spark with the result from another RDBMS(We used DB2 LUW). If the results are the same, we assume the result is correct.

Can one of the admins verify this patch?

OK to test

ok to test

Merged build triggered.

Merged build started.

Test build #72846 has started for PR 16915 at commit 3dd57fd.

Test build #72846 has finished for PR 16915 at commit 3dd57fd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72846/
Test PASSed.

@kevinyu98 @nsyca @dilipbiswal could someone confirm that these results match DB2?
I also think that this PR is almost too large.

It's larger than typical test PRs we submitted for the subquery JIRA but since it's the last test PR, we think we wanted to avoid an additional round of administrative work.

retest this please

Test build #72952 has started for PR 16915 at commit 3dd57fd.

Test build #72952 has finished for PR 16915 at commit 3dd57fd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72952/
Test PASSed.

LGTM. Merging to master.

@gatorsmile thanks a lot.


Async virtual field in nested block sometimes does not work

Link to reproduction
No response
Describe the Bug
I have a nested structure with blocks field. One of my blocks has virtual reference field which I populate in afterRead.
The resulting promise of virtual field's afterRead hook is sometimes ignored.
The reason for that is the way how async traversal is implemented - it populates fieldPromises and populationPromises and then awaits them with Promise.all. But because population is itself async, some of nested structures push their promises too late (after await Promise.all(fieldPromises). So even though afterRead hook is called, its result is ignored.
Bug is located here
  await Promise.all(fieldPromises)
  await Promise.all(populationPromises)

The easiest (but not perfect) solution would be something like:
while (fieldPromises.length > 0 || populationPromises.length > 0) {
  await Promise.all(fieldPromises.unshift())
  await Promise.all(populationPromises.unshift())
}

or
while (fieldPromises.length > 0 || populationPromises.length > 0) {
  const allPromises = [...fieldPromises, ...populationPromises]
  fieldPromises.splice(0)
  populationPromises.splice(0)
  await Promise.all(allPromises)
}

Since some of the promises are added too late, we can await them in the loop. We need to make sure that all the promises which were added to those arrays in current cycle are resolved.
Mutations are evil. Instead of pushing promises from nested fields to the root level array, parent promise could resolve only after its children's promises are resolved.
To Reproduce
Create nested structure with blocks field that contains any async virtual field.
Note that afterRead hook has to have some delay await wait(100), otherwise it will work in ~50% times.
Example structure:
{
  name: 'blocks',
  type: 'blocks',
  defaultValue: [{ blockType: 'blockWithVirtualRelationField' }],
  blocks: [
    {
      slug: 'blockWithVirtualRelationField',
      fields: [
        {
          name: 'shouldPopulateVirtual',
          type: 'relationship',
          relationTo: relationsSlug,
          hasMany: true,
          hooks: {
            beforeChange: [
              ({ siblingData }) => {
                delete siblingData.shouldPopulateVirtual
              },
            ],
            afterRead: [
              async ({ req }) => {
                await wait(200)
                const { docs } = await req.payload.find({
                  collection: relationsSlug,
                })
                return docs
              },
            ],
          },
        },
      ],
    },
  ],
},

Payload Version
2.11.2
Adapters and Plugins
No response
Proof
all_categories are sometimes an empty array.
https://github.com/payloadcms/payload/assets/18438911/d5629a16-19a7-4e7d-bd16-9f1edd63cb6e

I have created a PR which fixes the issue #5506. The fix is not ideal, but it works and shows where the problem lies.

For those experiencing experiencing the same issue, my temporary quick solution is to save a child's promise in context and then await it in parent's afterRead hook.
// Child - Block virtual async field-level hook
afterRead: [
    async function ({ context, req: { payload } }) {
        const promise = payload
            .find({
                collection: 'example-category',
                limit: 10000,
                context: { ignoreFields: ['layout'] },
            })
            .then((a) => a.docs);

        context.promises = [promise];
        return promise;
    },
]

// Parent - collection level hook

afterRead: [
    async ({ context }) => {
        await Promise.all((context as any).promises ?? []);
    },
],


Adsk Contrib - tests/cpu/CMakeLists.txt Fix

Signed-off-by: Patrick Hodoul<EMAIL_ADDRESS>Quick fix to include a missing unit test.

Added the fix for #1325

Being such a simple pull request, can someone review the pull request so I can merge it soon?


102 reading of data that is solved with cvode not possible

Closes #69
Closes #102

@BenaniZ : Could you review this pull request? :) If not, no worries!

Thanks for finding it :)


Dev Home Lags ( or not )

Dev Home version
0.801.344.0
Windows build number
10.0.22621.2861
Other software
OS Build Version: 10.0.22621.2861.amd64fre.ni_release.220506-1250
.NET Version: .NET 6.0.25
Steps to reproduce the bug
Go to Dashboard>Add New Widget>Issues>Type a valid URL.
Expected result
Have to show the widget.
Actual result
The cursor was moving, but nothing happened.
Included System Information
CPU: Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz
Physical Memory: 11.89GB (3.2GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHomeGitHubExtension_0.800.344.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHome_0.801.344.0_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeAzureExtension_0.300.344.0_x64__8wekyb3d8bbwe

I cloned the project and i will work on the bugs

Logs:
https://1drv.ms/f/s!Aqq-Je19xlrfhFh8beR0rTcSiR_z?e=jMdQx2

If you create a GitHub widget with a query that hasn't been used before, it makes sense that it would take some time to bring down the data. Would a message indicating that the widget is loading information help?

How?

What... How?

Asking the question again, would a "loading" message be helpful here?

Dev Home lags for some time.

Closing, since there's not enough information here to do anything.


Feature request: Add security-related headers/cookie attributes

Thanks for the software. Hoping you can help with adding some security-related headers to the server responses.
The following headers in particular:

X-Frame-Options: DENY

As per MDN docs, "Sites can use this to avoid click-jacking attacks, by ensuring that their content is not embedded into other sites."

Cache-Control: no-store

Prevents caching of pages (e.g. ones that require authentication)

Pragma: no-cache

HTTP 1.0 version of Cache-Control (HTTP 1.1)

Regarding cookies, the httpOnly attribute could be added to the mokey-sessck cookie. This prevents JavaScript from reading the cookie.

@arcuses Thanks for submitting this. Will take a look and get these added.

@arcuses If you get a chance, please review #59


Update to allow pytorch (and functorch) 1.13.1

Note that for existing installations, the following is recommended due to complications with older versions of functorch:

pip uninstall torch torchvision functorch
install the correct pytorch 1.13.1 version for your CUDA installation from https://pytorch.org/get-started/locally/ but add functorch to the command -- for example, CUDA 11.7 would be pip3 install torch torchvision functorch --extra-index-url https://download.pytorch.org/whl/cu117
reinstall tinycudann torch bindings e.g. pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
reinstall nerfstudio e.g. pip install -e . from the source directory

(Need corresponding updates to docs.)

(Not sure what the readthedocs failure is from, the details link goes to 404)

(Not sure what the readthedocs failure is from, the details link goes to 404)

The error is
/home/docs/checkouts/readthedocs.org/user_builds/plenoptix-nerfstudio/checkouts/1390/docs/quickstart/installation.md:162: WARNING: 'myst' reference target not found: #pytorch

Thx - weird, because it is a local anchor reference that works fine e.g.
https://github.com/nerfstudio-project/nerfstudio/blob/d0fe3677a460a1e467f2765c7842b16a0b2ea15f/docs/quickstart/installation.md#pytorch

You can run python scripts/docs/build_docs.py --clean-cache to see the error locally.
If you add (pytorch)= at line 20 and remove the #, it should work.

Ok, although that breaks usage of the MD files as-is on github.


Does not work if App.js is in a folder

Describe the bug
I'm trying to use nativewind package, I have my App.js in /src/ folder, and Tailwind does not work at all.
To Reproduce
Steps to reproduce the behavior:

Create a fresh project using npx create-react-native-app
Install nativewind package
Put App.js in a new directory called src
Initialize Tailwind configuration file
Put content to ["./src/**/*.{js,jsx,ts,tsx}"]
Launch the app using yarn android

Expected behavior
Simply working example as the docs.

Can you please publish a public repo demonstrating your issue. Note that tailwind content globs are relative to the current working directory, not the config file.

I'm unable to replicate your issue. Can you try clearing your babel cache yarn start -c


Error when no FORMAT/GQ field in VCF

Describe the bug
Error if no FORMAT/GQ info
To Reproduce
Steps to reproduce the behavior:

VCF with no FORMAT/GQ
time variantplaner vcf2parquet -i example.vcf -v variants.parquet -g genotypes.parquet
Error

Traceback (most recent call last):
  File "/usr/local/Caskroom/miniconda/base/bin/variantplaner", line 8, in <module>
    sys.exit(main())
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/variantplaner/cli.py", line 105, in vcf2parquet
    genotypes_lf = extract.genotypes(lf, io.vcf.format2expr(vcf_header, input_path), format_string)
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/variantplaner/extract.py", line 103, in genotypes
    [polars.col("value").arr.get(index).pipe(function=col2expr[col], name=col) for col, index in col_index.items()],  # type: ignore # noqa: PGH003
  File "/usr/local/Caskroom/miniconda/base/lib/python3.9/site-packages/variantplaner/extract.py", line 103, in <listcomp>
    [polars.col("value").arr.get(index).pipe(function=col2expr[col], name=col) for col, index in col_index.items()],  # type: ignore # noqa: PGH003
KeyError: 'GQ'

Expected behavior
No error, and genotype.parquet with FORMAT fields within VCF.
Mandatory fields (such as GQ for example), can be filled as None
Screenshots
Nope.
System (please complete the following information):

VariantPlanner version: main
Python version: 3.9
OS: MacOS

Additional context

As indicated in the variantplaner vcf2parquet --help help message all variants must have the same format field (lines that don't have this format are ignored) the default format field is GT:AD:DP:GQ, default values which can be discussed.
Command line you may use should look like:

Just another point performance isn't yet the main target of project, so don't be very conclusive in your benchmark ?


[unit test] improve unit test coverage for yurt-tunnel

What would you like to be added:
improve unit test coverage for yurt-tunnel:

current coverage: 29%
https://app.codecov.io/gh/openyurtio/openyurt/compare/911/tree/pkg/yurttunnel

target coverage: 70%

Why is this needed:
improve unit test coverage for OpenYurt project.
others
/kind feature

/assign @rambohe-ch


InjectDispatcher shouldn't fire on secondary constructor usage of dispatcher

Expected Behavior

class MyRepository(val dispatcher: CoroutineDispatcher) {
    @Inject // mark this constructor as the one used by guice at runtime, tests can still inject a TestDispatcher using the primary constructor
    constructor() : this(Dispatchers.IO)
}

is equivalent to
class MyRepository(dispatcher: CoroutineDispatcher = Dispatchers.IO)

so should not trigger the InjectDispatcher rule to fire
Observed Behavior

the above code fails detekt with InjectDispatcher
Steps to Reproduce

see above code
Context

We want to mark the secondary constructor for Guice to use at runtime to construct the Repository with the IO dispatcher.  We do still want tests to be able to use a TestDispatcher etc.
Your Environment

Version of detekt used: 1.21.0
Version of Gradle used (if applicable): n/a
Gradle scan link (add --scan option when running the gradle task): n/a
Operating System and version: ubuntu 22.04
Link to your project (if it's a public repository):

Yup this looks like a false-positive to me 👍 It's up for grab


Diktat 2.0 changes newlines

After applying the diktatFix , the following changes are in source code:
warning: in the working copy of 'save-sandbox/src/main/kotlin/com/saveourtool/save/sandbox/storage/SandboxStorage.kt', LF will be replaced by CRLF the next time Git touches it

Looks like ktlint relates on .editorconfig as a source for endOfLine and lf is value by default.
Probably we should configure .editorconfig instead of checking end lines in formatted code


chore: prepare 4.7.0-emqx-1 version + appup instructions

EMQX-8562

sorry, approved too fast. the -emqx-1 is perhaps going to cause some troubles in release handler (which may complain that it's not a semver or something, cant recall the exact error).


Discuss selection of Template engine used by Open-CMSIS-Pack tools

In the context of #12 the requirement for a template engine was raised.
Identify available open-source template engines which are suitable for generating

source modules (C/C++/asm, ...)
header files (C/C++, ...)
linker scripts
other ?

Engines

Freemarker - e.g. STM32CubeMX, CMSIS-Zone
handlebars
other?

Create a list of Pros and Cons, discuss and agree and create ADR

You can find here a comparison matrix of a log of engines: https://en.wikipedia.org/wiki/Comparison_of_web_template_engines
Even if not strictly true, we can take the first assumption that handlebars is like mustache.

@ReinhardKeil  do you mean: "the language that it is written in is not important"  ?

I am closing this issue, as we have concluded to focus on using Handlebars for now.


[TICKET] - booking via sms

Using Twilio to send and receive SMS messages.
Disable registration form, it is no longer available for clients. Only staff will be able to register via link that provided by admin.
On the main page with calendar when click on available slot a pop-up with form appears.
Form:

pick service
add message
enter phone number
enter name
reCaptcha
terms and conditions about SMS
buttons 'cancel' and 'book'

phone input:
https://www.twilio.com/en-us/blog/international-phone-number-input-html-javascript
https://github.com/jackocnr/intl-tel-input
https://app2.simpletexting.com/web-forms/terms/654d65258f51cb55a9016540?_gl=1*tn22zb*_gcl_au*NjI5NDkwMjUzLjE3MzI4Mzk3NjA.*_ga*MzkyMzgwNjI1LjE3MzI4Mzk3NjA.*_ga_29BK081ZTH*MTczMzM2ODAxMi4zLjAuMTczMzM2ODAxMi42MC4wLjE5OTMwMjEzNzg.
https://www.usehatchapp.com/blog/terms-and-conditions-examples
logic :

client clicks send form to book appointment
get the form, validate inputs
using 'From' phone number find or create a 'User' in database
create an 'Appointment'
login the client
create confirmation code, put it in database (add to 'Appointment' model new fields: 'confirmation_code', 'phone_confirmed')
send the code as SMS to the client. Include welcome message and how to opt-out.
render template with confirmation code input and hidden inputs with appointment info
client enters the code from SMS
rendere template "appointment request was sent. We process your booking as soon as possible."
send SMS to the client that appointment was requested

route that receives inbound SMS should seek for keywords:

STOP
START
HELP
YES
NO

create database table (model) to store Consents

https://intl-tel-input.com/


Ubuntu 12.04 container error

while adding 19gig directory called freesurfer (a neuroscience tool) to a newly building container using a Dockerfile i got this weird message.
Step 5 : ADD freesurfer /freesurfer
INFO[0221] Untar exit status 1 write /bin/swi_preprocess: no space left on device
is this a similar error to the mac boos2docker 20gig limit problem?
is there a similar procedure documented for Ubuntu?
jeff

@mrjeffs this is likely because you are using the devicemapper storage backend (which is default for kernel's without AUFS support) which has a default size.
See https://github.com/docker/docker/tree/master/daemon/graphdriver/devmapper for adjusting your devicemapper settings to fit your needs...
Or use a patched kernel that supports aufs (which you can get from ubuntu backports).
Also, if you need additional help, please check out #docker on freenode, docker-user mailing list, or forums.docker.com
Thanks!


Check in lai_pci_route{_pin} if the bus is a root bus

otherwise panic stating that lai_iterate_prt should be used

Since the function is deprecated and noone uses it it's probably better to remove it


In the Taskbar or On the Taskbar

I would like to see an explanation about the preposition used with Taskbar.
I like In, but I see a lot of On.
So, what's the answer?

I'd say 'on', because items are on it, not inside it.