Broken EAP cluster after machine restart

There is broken cluster (in standalone, multivm and vmss template) after restart of machines. Issues seems to be that bind address which is used by clustering and set in JAVA_OPTS in ... -Dboss.bind.address.private=.... is empty after VM is restarted.
The only workaround is to restart the eap7-standalone.service service by:
systemctl restart eap7-standalone.service

Looks like it can be fixed by edit /etc/systemd/system/multi-user.target.wants/eap7-standalone.service and modify those 2 lines:
After=syslog.target network.target NetworkManager-wait-online.service
Wants=NetworkManager-wait-online.service

Tracking jira issue: https://issues.redhat.com/browse/WFWIP-388

hey @mnovak1, I made changes in eap7-standalone.service as you suggested. There was also some bug in the script where the hostname was not getting captured while assigning to bind.address.private. After that, I added the cron job to restart the systemctl service every time RHEL VM restarts. Here are the following PR links which I raise. Please go through it once. I wanted to know which log file are you looking up for getting the broken cluster details or where exactly are you finding this issue. According to EAP documentation, there should be a boot.log file that contains the session binding address details but there is no boot.log file in the RHEL VM which is getting deployed by the template.
• Standalone – BYOS
• Standalone – PAYG
• MultiVM – BYOS
• MultiVM – PAYG
• VMSS – BYOS
• VMSS - PAYG

Hi Adarsh,
thanks for the fixes. I've checked VMSS - PAYG
https://github.com/Azure/rhel-jboss-templates/pull/23 and provided a
review. There is a topic for discussion. Could you take a look, please?
Whether the IP address was assigned to jboss.bind.address,private after VM
restart I was checking by using following command:
$ ps aux | grep java
...  -Djboss.bind.address.private=<IP_ADDRESS> -D....
It must not be empty (at least not in multivm and vmss template, standalone
does not form a cluster).
Otherwise the information that cluster is formed is visible from server.log
(/opt/rh/eap7/root/usr/share/wildfly/standalone/log/server.log). There
should be log message like -
2021-09-29 10:22:40,209 INFO  [org.infinispan.CLUSTER] (MSC service thread
1-3) ISPN000094: Received new cluster view for channel ejb:
[jbosseap-serverserver000001|1] (2) [jbosseap-serverserver000001,
jbosseap-serverserver000000]
Important thing is the list of cluster nodes in
....[jbosseap-serverserver000001, jbosseap-serverserver000000]. If there is
just single server and not the other one then there is something wrong.
Thanks,
Mirek
On Tue, Sep 28, 2021 at 11:56 AM Adarsh Anand @.***>
wrote:

hey @mnovak1 https://github.com/mnovak1, I made changes in
eap7-standalone.service as you suggested. There was also some bug in the
script where the hostname was not getting captured while assigning to
bind.address.private. After that, I added the cron job to restart the
systemctl service every time RHEL VM restarts. Here are the following PR
links which I raise. Please go through it once. I wanted to know which log
file are you looking up for getting the broken cluster details or where
exactly are you finding this issue. According to EAP documentation
https://access.redhat.com/solutions/18664, there should be a boot.log
file that contains the session binding address details but there is no
boot.log file in the RHEL VM which is getting deployed by the template.
• Standalone – BYOS
https://github.com/Azure/rhel-jboss-templates/pull/18
• Standalone – PAYG
https://github.com/Azure/rhel-jboss-templates/pull/19
• MultiVM – BYOS https://github.com/Azure/rhel-jboss-templates/pull/20
• MultiVM – PAYG https://github.com/Azure/rhel-jboss-templates/pull/21
• VMSS – BYOS https://github.com/Azure/rhel-jboss-templates/pull/22
• VMSS - PAYG https://github.com/Azure/rhel-jboss-templates/pull/23
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/rhel-jboss-templates/issues/17#issuecomment-929037788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKOSE3I2MIQ5WLLZVELLJ3UEGGKVANCNFSM5DUHFV6A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@AdarshRazor hi, did you manage to take a look at ^, please?

Hey @mnovak1,  I did that cron job to restart the eap7-standalone.service every time VM restarts. If I remove that then the cluster fails to load. That cron job only works when the VM gets restart. I tried removing the corn job and restarted the VM and it was failing to assign the IP.

Hi @AdarshRazor thanks. I'll give it a try as well. I think restarting the service should be avoided as it causes additional restart of EAP 7 and unavailability/disruption of service. We need to find a way how to start the service after IP address is allocated.

Yaa, I am getting the word @mnovak1 . I will try to find a way around to make this code more efficient. Will keep you posted. Let me know your findings on the script. That will help this case close fast.

@AdarshRazor I'm trying VMSS PAYG template from master and when I restart both of the started server then I see that private address is not assigned and cluster is broken (just a single node is in the list).
I tried to modify /etc/systemd/system/multi-user.target.wants/eap7-standalone.service and change it to:
After=syslog.target network.target NetworkManager-wait-online.service
Wants=NetworkManager-wait-online.service
on both servers. Then I restart the servers and see that private address is assigned and cluster is formed (there are 2 different nodes in the list):
2021-10-05 12:13:46,136 INFO  [org.infinispan.CLUSTER] (MSC service thread 1-1) ISPN000094: Received new cluster view for channel ejb: [jbosseap-serverservers000000|8] (2) [jbosseap-serverservers000000, jbosseap-serverservers000001]
I'll try your branch if possible. I remember it required a manual tweak not to take master branch template and use your branch when deploying it.

hi @AdarshRazor , thanks for the update. We'll trigger our TS against those PRs and let you know.

@istraka , I have raised another commit in which I have changes the codes back to as it was for echoing in the conf file. Please review it.

@istraka any update on the tests? Let me know if there is anything.

Hi @AdarshRazor
There is one unresolved issue on https://github.com/Azure/rhel-jboss-templates/pull/19/files#r735645443.
Tests have shown no error. However we have some issues in out preparation phase with BYOS VMSS template tests.

@istraka , Please check, I have raised the PR with the update. Please test and review it.

Hi @istraka, any update ?? Let me know if there is anything.

@AdarshRazor tests passes. However I have one concern. There is one change https://github.com/Azure/rhel-jboss-templates/pull/19/files#diff-db0f416670fab055559bb152e8e7d8040e9079cbaabf2499148ba0b124138a7aL87 that is basically everywhere except https://github.com/Azure/rhel-jboss-templates/pull/18/files. Can you provide more info why is that?

@istraka , I have removed the double quote from the echo command. Hope it will resolve the issue. If you asking about the deletion of "storageAccountResourceGroup". There is no use of that parameter in the mainTempalte.json file.

I believe this issue has been fixed. @istraka can you confirm?

I tried multivm and vmss template (eap73) and issue is gone in those templates.

I see the same fix is applied to eap74 templates. Closing the issue.


Proxy server configuration to map traffic based on URI

AS A DevOps
I WANT to map traffic based on defined rules
SO THAT I could use different (versions of) components
Acceptance Criteria

[ ] All requests to https://ruuter.test.buerokratt.ee/v1 are processed by Ruuter v1
[ ] All requests to https://ruuter.test.buerokratt.ee/v2 are processed by Ruuter v2
[ ] All requests to https://admin.test.buerokratt.ee/vestlus are processed by Bürokratt Chatbot

Test routing works as intended.
Re-config of nginx required to mirror criteria's

https://github.com/buerokratt/Maintenance/commit/5b0717c2f19672026d7723e53a797ca753754482

@varmoh

[ ] Resolve CORS errors
[ ] Resolve MIME-types

See https://github.com/buerokratt/Buerokratt-Chatbot/blob/main/GUI/nginx/http-nginx.conf for reference

Working at the moment, will move on to using Caddy and HAProxy from this point on.

Chat widget requests between ruuter v1 and ruuter v2 can be routed using nginx server blocks.
When chat widget default endpoint is ruuter v2:

Add under ruuter server block specific location and point it to ruuter v1

          location /custom-jwt-userinfo {
               rewrite ^/v1/?(.*) /$1 break;
               proxy_pass https://IP:PORT; ## Ruuter v1


Better Compose Recomposition Support

I have found that the recomposition support does not include changes to the menu content.
Given the following example:
val running = serviceStatus == ServiceStatus.RUNNING
Tray(
    iconPath = iconPath,
    windowsIconPath =windowsIconPath ,
    tooltip = tooltip,
    primaryAction = openConfiguration,
    primaryActionLinuxLabel = "Open config",
    menuContent = {
        Item(DI.Resources.strings.startService, isEnabled = !running, onClick = startService)
        Item(DI.Resources.strings.stopService, isEnabled = running, onClick = stopService)
        Item(DI.Resources.strings.configuration, isEnabled = running, onClick = openConfiguration)
    }
)

Changes to the running variable are not reflected in the menu content changing.

Thanks for your PR !


inlay hints are sitting too high

The baseline should be lower?

The padding on these is something I've been meaning to fix but nothing I do seemed to remove it. I'm not super familiar with phantom styling to know how to lower the text but it definitely bothered me.

minihtml does't support that much CSS [1] but maybe overriding line-height would work?
[1] http://www.sublimetext.com/docs/minihtml.html

Messing with it a bit, the closest I can get to bringing it down is some cheesy tricks like adding ```css
position: relative;
bottom: -0.15rem;
into the div's rules. Not sure I feel comfortable with it though.

Hi,
I was checking this package and one of the things that I was hoping is that the inlay hints are not displayed in the same way as in VS-Code. I think the hints displayed in that way are a bit too intrusive. However, inlay hints are quite helpful in my opinion.
If I may suggest, I really like the way Coc-nvim implements these hints for rust-analyzer, which are shown at the end of the line. Here it is an example:

Phantoms don't really allow me to set these to the right similar to code lenses as shown there.

I wanted to add some custom padding for inline hints, but extending my color scheme with phantom_css for this is an absolutely terrible experience (it resets the entire default styling to a white background) to the point it would be much easier if LSP-rust-analyzer provided a setting where I could adjust the CSS it uses for positioning etc. for me, setting margin or padding to 0.2em is ideal, for example.
By the way, rust-analyzer.inlayHints.smallerHints doesn't seem to have any effect, unless a restart is required.

This is something that I just noticed and went looking for an issue. Would it be better to just let LSP handle this now that inlays are part of the official LSP?

Now that implementation is on the LSP side I assume this is fixed/changed.
(I guess there still can exist issues with certain line-heights in non-standard setups but it's for ST to resolve)


need programmed control of heater

we need a way to enable and disable the heating element programmatically. i'm not sure how i've overlooked this, heh. i think a power MOSFET is the way to go, as a relay will both make noise and die after far fewer state changes. a triac would be even better, as i believe that would allow us to control the voltage. it would be better to run the heater continuously at a lower voltage than turn it off and on a bunch, if that is possible. but at a bare minimum, we need the ability to turn off the heater once the hotbox reaches the target temperature.

when we figure out what we're going with, be sure to update the BOM.

rather than lofting it above the perfboard in the croom, let's fasten it upside down to the bottom of the hotbox. that'll be much easier to print, and we can solder it to the other hotbox pieces more easily.


Setup Travis CI and PiPy upload

http://docs.travis-ci.com/user/deployment/pypi/

I mentioned these items elsewhere, but I figure it belongs here so interested developers can discuss this. (This was from a post that requested feedback on pain points from using Arturo1 with Travis CI)
I would say the first pain point is dependencies. I think ideally when installing Arturo with Travis CI Arturo should get the Arduino IDE as a git submodule and should install the other PIP dependencies without the need to specify those dependencies in the .travis.yml file.
The second pain point is the default board selection is currently failing on Travis CI builds, forcing the need to specify the board.
The good thing about being able to specify the boards is this allows doing a multi-board environment  for testing on Travis CI (like doing tests for various PHP versions, only it's tests against various supported boards)

@scottdarch Seems there are some issues when trying to test against a custom arduino library and the library example sketch. Error No project found in this directory even though there is an existing .ino file in that directory. See this Travis build

arturo 1.0 still has the odd requirement of a "src" directory. You can get around this using the --source-dir directive. When I tried that I ran into two more issues: first, when building the atmega you need to specify the cpu:
ano build --board-model mega --source-dir . --cpu atmega1280

The next problem for me was missing libraries but I'm assuming these are installed for your environment. Let me know if this works.

I assume the library is installed as the build is the library and test against the examples in the library. So with the changes you mentioned I am also getting a Searching for Arduino user libraries ... FAILED notice
and .build_ano/mega/examples/Test_Motors/Test_Motors.cpp:2:40: fatal error: DualVNH5019MotorShieldMod3.h: No such file or directory from the example's include statement.

Hmm, yeah. I don't think 1.0 was ever designed to build examples properly.
You can open an issue and I'll try to take a look at it this week.
On Sat, May 30, 2015 at 10:36 PM photodude<EMAIL_ADDRESS>wrote:

I assume the library is installed as the build is the library and test
against the examples in the library. So with the changes you mentioned I am
also getting a Searching for Arduino user libraries ... FAILED notice
and .build_ano/mega/examples/Test_Motors/Test_Motors.cpp:2:40: fatal
error: DualVNH5019MotorShieldMod3.h: No such file or directory from the
example's include statement.
—
Reply to this email directly or view it on GitHub
https://github.com/scottdarch/Arturo/issues/33#issuecomment-107129121.

+1 registering on PyPI. I'd love to be able to install via a versioned pip release instead of Github.

I'm reluctant to promote version 1.0 since it's basically deprecated. It doesn't work with the latest Arduino IDEs and is becoming increasingly out of date as a result. If I'm able to find the time and/or attract collaborators to complete v2 we will definitely do this.


Improve scRNAseq with additional data

Description of the issue
Pulling in and displaying additional data on clusters.
Review data on flybase and suggest what to bring in
Cell counts?
More precise info on cell type
See if can find previous discussion
This form is for VFB bug reports and feature requests.
If you need help, please use the forum.
Describe the bug or feature request in detail.
Always include a code snippet, screenshots, and any relevant data to help us understand your issue.
Browser

[ ] All of them
[ ] Chrome
[ ] Firefox
[ ] Internet Explorer

OS

[ ] All of them
[ ] Windows
[ ] macOS
[ ] Linux
[ ] Android
[ ] iOS

Additional metadata - Assay, assay method, cell count, tissue isolated

Damien suggestions:
Cluster size - cell count - this is on FB - more cells may be better
Which study is the data from?
Which method? 10x vs dropseq
Clustering resolution is not in the metadata, annotations are on the cell and FCA have decided which annotation something gets.


Ciam 1597 device auth flow

Reviewed the front end related files and made a few minor suggestions - otherwise it looks good to me.

The backend changes look good here.


Allow null and undefined on maxLength columns

When providing null / undefined, the maxLength check will error on checking length

LGTM, thanks!


Update climate_HassClimateGetTemperature.yaml

Additional commands to request a temperature setting.

Please solve conflicts in order to review and possibly merge this PR.
Please, also get changes to the tests and to the sentence files into the same PR.

All the changes have already been merged in #573 .


Compile for all targets in CI for PRs

Forcing the target to the gfx of the CI node has caused a failure to be missed. This PR restores CI compilation of all targets in PRs

Do we have to do this? No other way?

By forcing the CI to build for the CI node's gfx architecture, we missed a bug that was only caught when the CI attempted to build for all architectures.
This is basically a question of what we value more, catching bugs early or an decrease in CI build time for PRs.

What was the bug, is there a link you can share or email ?   One other option would be to only build all architectures for PRs on the fastest platform, unless you found a platform specific bug in architecture selection?

http://math-ci.rocm.amd.com/blue/organizations/jenkins/hipclang-gfx90a%2Fprecheckin%2FrocPRIM/detail/develop/3/pipeline
The bug was that the include for rocm_check_target_ids was moved after the target check was supposed to occur. Because rocm_check_target_ids was not present, the cmake code fell back to a different list that did not include gfx90a and didn't build for gfx90a.

Thanks @eidenyoshida so yes what I suggested wouldn't help for this bug in the cmake coding.  You would need to run the tests on all cards for the one OS that built all architectures which we don't have either.

Thanks, will close for now. Can re-open if we have further issues in the future


Add tracing headers to be mapped to string

Auto-cherry-pick to 3.2.x & 3.1.x

On merge, please, add Fixed: #3286 to commit message for a proper back-port functionality.


Add inline images in mandrill adapter

This PR adds support to send to mandrill inline images.

Thanks a lot for you @germsvel!! 🍻


UPDATE NUXT

Hi!
I try to update nuxt and it is giving me problems.
npm install<EMAIL_ADDRESS>It is possible to upgrade to version 2.6.3 ?
I have to do some extra configuration?
Thanks

2.0 has been released!


If  encountered on its own on a line put a backslash on the end of the previous line

This would be a convenience.
Consider
* Here is a bullet point \

* Here is another bullet point

It would be nice not to have to put that backslash in. Because I might add another bullet point line in before the
 line.
This could be done in mdpre - because it's not strictly how Markdown does it.
One wrinkle: It would be slightly more useful to allow multiple breaks on that line, not just one. Should be equally doable.

I looked at the code. This is feasible but it would require reworking the code to buffer the data in memory before writing the whole lot out. Fortunately, I/O is sufficiently abstracted that this ought to be possible.
I can't imagine a use case where the data to be written is so huge that buffering the output in its entirety would be a problem. (Even on the smallest (1GB) Raspberry Pi, for instance.)
Will investigate some more and, perhaps, protototype.

Turned out to be a good deal simpler than that. Released as v0.6.7.


Account locked, must save

my company facebook account is locked I don't have the phone that they want to use to unlock it. I think this is completely unfair and am sick of there tyrannical rules and procedure. I need help fixing this without using their rules and procedures.
 Would I be laying this out to ALL of you if I wasn't desperate for help to get my account unlocked??? I mean come on, I sound like a total nimrod, BUT I'm willing to take that on if it means I find someone who can unlock my account or show/tell me how to do it.

I'm currently trying to figure out a back door into my account to change the phone number to my current phone or add myself as a friend that can help me recover my account


no coverage and error

Summary
I get an error (times a lot [])
(11272) ERROR log4js A worker log process hung up unexpectedly { Error: read ECONNRESET     at TCP.onread (net.js:659:25) errno: 'ECONNRESET', code: 'ECONNRESET', syscall: 'read' } and report is bad (like it doesn't test good(?))
function add(a, b) {
    return a + b;
}
module.exports = add;

const add = require("../src/add.js");
describe("add.js", () => {
    it("2 + 4 should equal 6", () => {
        expect(add(2, 4)).toBe(6);
    });
});

Command I run:

node ./node_modules/stryker/bin/stryker run --basePath=C:\Users\19gro\Desktop\hi

Stryker config

const basePath = process.argv[3].replace("--basePath=", "");
const path = require("path");

module.exports = config => {
    config.set({
        "coverageAnalysis": "perTest",
        "files": [
            path.join(basePath, "src/**/*.js"),
            path.join(basePath, "tests/**/*.js")
        ],
        "karma": {
            "config": {
                basePath,
                "browsers": [ "ChromeHeadless" ]
            },
            "configFile": "../../karma.conf.js",
            "project": "custom"
        },
        "mutate": [ path.join(basePath, "src/**/*.js") ],
        "mutator": "javascript",
        "packageManager": "npm",

        "reporter": [ "html", "clear-text" ],
        "testFramework": "jasmine",
        "testRunner": "karma"
    });
};

Karma config
module.exports = config => {
    config.set({
        "basePath": config.basePath || "/",
        "browsers": config.coverage ? [ "ChromeHeadless" ] : [ "Chrome" ],
        "client": { "clearContext": false },
        "colors": true,
        "coverageReporter": {
            "dir": "reports",
            "reporters": [
                {
                    "subdir": "coverage",
                    "type": "html"
                }
            ]
        },
        "failOnEmptyTestSuite": false,
        "files": [
            "./src/**/*.js",
            "./tests/**/*.spec.js"
        ],
        "frameworks": [ "jasmine" ],
        "preprocessors": {
            "./src/**/*.js": [ "webpack", "sourcemap" ],
            "./tests/**/*.spec.js" : [ "webpack", "sourcemap" ]
        },
        "reporters": config.coverage ? [ "progress", "coverage" ] : [ "progress", "kjhtml" ],
        "webpack": {
            "cache": true,
            "devtool": "inline-source-map",
            "module": {
                "rules": [
                    {
                        "enforce": "post",
                        "exclude": /node_modules|\.spec\.js$|tests/,
                        "test": /\.js$/,
                        "use": {
                            "loader": "istanbul-instrumenter-loader",
                            "options": { "esModules": true }
                        }
                    }
                ]
            }
        }
    });
};

Stryker environment

+-- stryker - current
+-- stryker-api - current

+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>
Your Environment

software
version(s)

node
10.6.0

npm
6.1.0

Operating System
win 10

Add stryker.log
stryker.log

Thanks for opening this issue! Could you try to downgrade to Karma 2.0.5? Karma 3.0.0 has been out for two days and we haven't tested our support her.

@simondel standard testing with Karma 3.0.0 seems to be working. But ill try with 2.0.5 too

with karma 2.0.5 does not work again but there is no errors at least

stryker.log
here you have log for 2.0.5

Could you open up C:/Users/19gro/Desktop/front-tools/reports/mutation/html/index.html
In your log file I see that you have one test and Stryker found two mutants

it does created 2 mutants but it seems it doesn't test them properly js function add(a, b) 0{     return 1a + b; }
first
function add(a, b) {}

second
function add(a, b) {
return a - b;
}```

Awesome. This sounds like a small project. Would it be possible to share the sources with me? You could send them to<EMAIL_ADDRESS>or create a repo on GitHub.

I'll send you it this evening I suppose or tomorrow, since on GitHub I have older version.

Sounds good 👍

Thanks! With your example I'm able to run Stryker if I remove your basePath logic, set the basePath in your karma config to "basePath": config.basePath || "", and use the following Stryker config:

module.exports = config => {
    config.set({
        files: [
            'src/**/*',
            'tests/**/*',
            '*.js'
        ],
        "coverageAnalysis": "perTest",
        "karma": {
            "config": {
                "browsers": [ "ChromeHeadless" ]
            },
            "configFile": "karma.conf.js"
        },
        "mutate": [ "src/**/*.js" ],
        "mutator": "javascript",
        "reporter": [ "html", "clear-text" ],
        "testFramework": "jasmine",
        "testRunner": "karma",
    });
};

Note: The files array could probably be removed in your case since you're working with a git repo.
With the settings above, when I run stryker run from the command line I get the following output:

@simondel have you tried running tests from different folder? (not where all these node_modules are)

i have structure like -> front-tools/ (folder with all node_modules, configs, logic stuff etc) and hi/ in completely different directory. I want to run tests from in hi/, have reports there etc

We have an open issue to add the option to specify a project root: https://github.com/stryker-mutator/stryker/issues/650
Because your karma config always points to the hi/ folder in your use case, the tests that contain the mutants and/or are instrumented to collect code coverage are never executed since they are in front-tools/.stryker-tmp/sandboxXXXXXXXXXX.
This is unfortunately not a use case that we support right now.

@simondel do you plan add this feature in the nearest future?

As long as configured paths are relative, we should be able to support it once #650 is solved, right @_simondel?

@nicojs I think we would be able to support this after #650. The basepath "/" indeed points to the root of your disk.
@kmdrGroch I don't expect us to have the feature in the next month or so, but it is definitely something that is important to us and will added in the future.

@nicojs "/" returns current directory, so if it's launched in front-tools it should get front-tools directory. Root of the disc will be obtained with C:/

@kmdrGroch

"/" returns current directory,

Great! I'll add that to #650, we should support that as well.
We can send you a message, but you can also watch the issue itself. You'll get notified as soon as there is an update


[bug]: LND on chain balance stuck pending with 0 confirmations

Background / Repro

I sent about .118 BTC to my lnd wallet address a couple days ago (https://mempool.space/tx/641291b360f31a3e07c14b204989ac1ec2c750151fcf01f1f06a170a72226ed1)
LND wallet appears to have then forwarded these funds here https://mempool.space/address/bc1p07y2czqsh80amtmjqr04kn4dem4lgzghg5z68vclqaw83sd7w8zs4ypdu5
Some additional deposits were made to my LND wallet via LOOP and a channel that mysteriously force closed and now all associated UTXOs are showing as 0 confirmations / pending in my LND wallet.

My environment

LND v0.15.4-beta"
Ubuntu Server 22.04.1 LTS
Neutrino backend
Running LNDg for auto-rebalancing

Expected behavior

Transactions should all be confirmed

Actual behavior

lncli listunspent returns:

{
        "utxos": [
                {
                        "address_type": 4,
                        "address": "bc1p4ceq55su2n4u33lwekpveyu8xv0j29722qyx8sqmkemayrxuexqszyhtll",
                        "amount_sat": 1593279,
                        "pk_script": "5120ae320a521c54ebc8c7eecd82cc9387331f2517ca500863c01bb677d20cdcc981",
                        "outpoint": "a705f0411200305482ce7610819c3c44a5cf75a04d3f3451ce9319a433add9e9:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1pjz6y9ncsxxs3qf2hca6jmwlhxtgalppe0vyhv2dmrk67nyq8mfaqkfs3at",
                        "amount_sat": 125223,
                        "pk_script": "512090b442cf1031a1102557c7752dbbf732d1df84397b097629bb1db5e99007da7a",
                        "outpoint": "9e4821ade556dee2c2a9c3dd1e8a26a061756240618be4430c29ee14dfe3bd57:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1p328h3gxxu366cna5fqwcufn2rpq0t253lhkm935gre5fa4c2r46qkk2va2",
                        "amount_sat": 92506,
                        "pk_script": "51208a8f78a0c6e475ac4fb4481d8e266a1840f5aa91fdedb2c6881e689ed70a1d74",
                        "outpoint": "df37f8cd231d798fda5f1e08839b4fdd40a0ff6616ddedf938a89778db65e2a9:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1pdftwjk8qgp46ly7k92ncgm6cevk9zjqf6h8nhqnf5rtkk0pmhzrsf2ygw6",
                        "amount_sat": 73341,
                        "pk_script": "51206a56e958e0406baf93d62aa7846f58cb2c514809d5cf3b8269a0d76b3c3bb887",
                        "outpoint": "d6ef9af3bf019f25e04de7af4a382cf268d4cdde6aa90cbcbfcb910d50399cb4:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1pg6rm77e3ykmkqljgazy56gn2wqwy725h54p3ukwhk7vrcw2zwfcsfl79kg",
                        "amount_sat": 399759,
                        "pk_script": "51204687bf7b3125b7607e48e8894d226a701c4f2a97a5431e59d7b7983c39427271",
                        "outpoint": "129eb20dea1a3b95a0d35fd4d67319971c6a8353aead577a6a8fb01e79f30df1:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1pdaez8093d6k3wcgvtcjsmxnf699ft4nmc6ey9fnyqafwf7qc0uasgdadea",
                        "amount_sat": 11867670,
                        "pk_script": "51206f7223bcb16ead17610c5e250d9a69d14a95d67bc6b242a6640752e4f8187f3b",
                        "outpoint": "d42ca54981e6c357628f156f1d3aaca78871dce10efb6b871e13bc4ddc4cda89:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1p5qsaevzc2j052mmqjxv4x4s63cex2s3fzvztp554u3gcftd8x44s904puv",
                        "amount_sat": 9998242,
                        "pk_script": "5120a021dcb058549f456f60919953561a8e326542291304b0d295e45184ada7356b",
                        "outpoint": "44b5a55a230d32b35dff7d548ad8cf1943d997ba8007460b10b0e2787b7d9a27:0",
                        "confirmations": 0
                },
                {
                        "address_type": 4,
                        "address": "bc1p228nmtgswztwkknml2309f8cdlyj29c5dl86ueh9nkff5vkqj72sp0qntw",
                        "amount_sat": 7089,
                        "pk_script": "5120528f3dad107096eb5a7bfaa2f2a4f86fc92517146fcfae66e59d929a32c09795",
                        "outpoint": "52a2cde1ebe55b6ee205b7e8901401bd864bdc62d36be094ded8c84556bb80bc:0",
                        "confirmations": 0
                }
        ]
}

lncli getinfo shows

    "synced_to_chain": true,
    "synced_to_graph": true,

Not sure what this means but lnd --reset-wallet-transactions returns error 'input likely spends a taproot output which is not yet supported', example below:

2022-11-17 15:51:29.478 [ERR] BTCN: filter for block<PHONE_NUMBER>0000000004dba192fe1df314f12dd540b58868272afa8554d3d5b3 might be invalid, input 0 of tx 3b84b521c95517f711eea645412eae969da4397e031d0d8a23d7104f75358c92 spends pk script 00205cbfc092fff438f616ce9d4096c93a6881fb0803ca1275645f78fd00cfc55bbe which wasn't matched by filter. The input likely spends a taproot output which is not yetsupported
2022-11-17 15:51:29.480 [INF] BTCN: Lost peer <IP_ADDRESS>:8333 (outbound)
2022-11-17 15:51:29.508 [ERR] BTCN: filter for block<PHONE_NUMBER>0000000004dba192fe1df314f12dd540b58868272afa8554d3d5b3 might be invalid, input 0 of tx c5ce9853d4071dae736bfa89710558be6cd694a3e5e59a7ec31d95697c47828c spends pk script 002078050b9c7e37e9ef4b7267a5adfee99fdb686a7e98436184262fb72c83c1683d which wasn't matched by filter. The input likely spends a taproot output which is not yetsupported

So none of those outpoints actually exist on chain, which is why they show as having zero confirmations.

@cliffpeskin moving this issue to a discussion in case you have further questions. Mempool is really backed up right now which may be the reason why your UTXOs are not confirming, you can choose to wait or bump up the pending transactions via CPFP


Doesn't match the number of contact datas and models

Hi,
I'm using crocoddyl to do nmpc on quadruped robots. I'm trying to switch the gait from standing to trotting and have some trouble with ActionDataAbstract. At standing mode, I use ActionModelAbstract to define a contact model with 4 contacts, while at trotting, it turns to be 2. I allocate data in advance like this:
runningContact_data[nodeNum] = runningContact_model[nodeNum]->createData(&rdata);
and I update runningContact_model every step:
// contact model
  boost::shared_ptr<crocoddyl::ContactModelMultiple> contactModel_temp =
      boost::make_shared<crocoddyl::ContactModelMultiple>(state, nu);
  for (int i = 0; i < 4; ++i) {
    if (legState[i] == 1) {
      boost::shared_ptr<crocoddyl::ContactModelAbstract> supportContactModel =
          boost::make_shared<crocoddyl::ContactModel3D>(
              state, footId[i], Eigen::Vector<double, 3>::Zero(),
              pinocchio::ReferenceFrame::LOCAL_WORLD_ALIGNED, nu,
              gaitParam.baumgarteStabilizationGains);
      contactModel_temp->addContact(rmodel.frames[footId[i]].name + "_contact",
                                    supportContactModel);
    }
  }
  runningContact_model[nodeNum] = contactModel_temp;

I got the error as follow:

I did the same thing at standing, and it runs well as there's no change of contact numbers. Could anyone tell me if crocoddyl allows scrolling optimization as contact number changing and how to correct my code?
Thanks a lot!

Hi @lrchit,
As indicated in the error message, there is a discrepancy in the number of contacts between the model and its associated data, which is not allowed for obvious reasons. Moreover, it is highly inefficient to allocate data each time.
In Crocoddyl, we've prioritized maximum efficiency. Instead of the aforementioned approach, it's advisable to pre-allocate data for all four feet. Subsequently, you can conveniently toggle the activation or deactivation of contact constraints through the provided link https://github.com/loco-3d/crocoddyl/blob/5b415a16138d01cf43118b38f64dbb6ad535b61b/include/crocoddyl/multibody/contacts/multiple-contacts.hpp#L128
Crocoddyl is excellently suited for Model Predictive Control (MPC) applications. I highly recommend reviewing the following videos (and papers) which showcase various MPC methodologies developed in collaboration with colleagues::

https://youtu.be/R8lFti7x5N8
https://youtu.be/NN6RsqJr8ic
https://youtu.be/Z4R6Nmc-83o

Regrettably, due to resource constraints, we are unable to provide further feedback on your current developments. Therefore, I must close this issue at present.


Start an ephemeral database on compilation

I've been playing around with using pg_tmp in my build.rs to automatically start a temporary database on compilation.  This has been with mixed success.  It's not always the case that build.rs will always get recompiled. Also, pg_tmp stops its background postgres process right away.
A better approach is this: have sqlx itself start a temporary database on compilation and create a connection.
The relevant spots in sqlx-macros/src/lib.rs would be modified to suite this flow.
I still want the old flow of course. It's always faster to compile against a background database.
In order to support an ephemeral database, something like sqlx::postgres::TempPgConnection (or MySql as appropriate) that would need to be introduced to cleanup temporary files and kill background processes on Drop.

Here's some nitty-gritties I've been thinking about:

Postgres Socket Connections Postgres connections can use sockets rather than ports. This is nice because opening a temporary port is more error prone than a temporary socket.
You can launch a postgres server on a socket with something like postmaster -D /tmp/sqlx-tmp-database.lTpqg.  Here /tmp/sqlx-tmp-database.lTpqg is a data directory where you've already run initdb. Assuming you've also created a database named temp, you can connect to it with postgresql:///temp?host=%2Ftmp%2Fsqlx-tmp-database.lTpqg as your connection string.
But as far as I know sqlx doesn't support socket connection strings yet for postgres.  If this is the case I can open another issue.
A work-around is to grab an available port like this:
fn get_available_port() -> Result<u16, std::io::Error> {
    let tcp_listener = TcpListener::bind("<IP_ADDRESS>:0")?;
    let socket_addr = tcp_listener.local_addr()?;
    Ok(socket_addr.port())
}

Then launch postgres and specify it to use the port this function returned. But this introduces a race condition and may be buggy on OS X and windows (see here for a discussion).

Database Caching An important optimization is to use a cache of the database.
On my machine, copying a database directory and starting a postgres server on it takes ~.1 seconds. Creating a database data directory from scratch, running initdb and creating a database takes ~.4 seconds.  Starting from scratch takes even longer if you have to load a schema or run migrations.
A strategy might be to keep a cached database in $CARGO_MANIFEST_DIR and update it whenever a specified schema.sql or a migrations directory has changed.

Migrations I've been playing around with migrant, but I'm not sure that if this is a good solution.  Migrant doesn't seem to support unix sockets so that's an issue.

But as far as I know sqlx doesn't support socket connection strings yet for postgres. If this is the case I can open another issue.

Yes please.
However, the core problem with doing any of this in sqlx-macros is that we can't rely on invocation order being deterministic or single-process, so how do we know in which invocation of sqlx_macros::expand_query() to create the database and which one to drop it? We surely don't want to create a new temporary database per macro invocation.
This workflow could be easily integrated into the planned cargo sqlx prepare command being discussed here: https://github.com/launchbadge/sqlx/issues/60
We're also working on our own bespoke migration implementation here: https://github.com/launchbadge/sqlx/pull/86
Can you satisfy my curiosity about why you want to use an ephemeral database? For local development, presumably you'd have a Postgres instance running to develop against. For running in CI, the cargo sqlx prepare workflow would eliminate the hard requirement for a database connection at compile time by allowing you to cache the results of preparing the queries.

Sorry for the delay!  I have been thinking about this problem.
I want to start by saying I respect if the sqlx team doesn't want to support ephemeral databases at compile time.  I recognize this feature is complex. Not all of my answers to your questions below are super great.  And not every developer needs it.
I'm spinning up a temporary database in my build.rs right now. This solution really is fine. But I think we could do better. I argue there's merit to supporting ephemeral databases.

However, the core problem with doing any of this in sqlx-macros is that we can't rely on invocation order being deterministic or single-process, so how do we know in which invocation of sqlx_macros::expand_query() to create the database and which one to drop it? We surely don't want to create a new temporary database per macro invocation.

The best answer I've thought of to this question is to use caching.  I'll discuss this below on my thoughts on cargo sqlx prepare.
Other than that, I haven't figured how to avoid spinning up a new temporary database on the first compilation. One could use a lazy_static!s, but I worry that would leak into application code. So either it looks like we have the following: either there's a ~0.1 second penalty for compiling with an ephemeral database, or there's an additional compilation step as discussed below.

This workflow could be easily integrated into the planned cargo sqlx prepare command being discussed here: #60

Caching is a great idea.
One approach is to build on the cargo sqlx prepare caching machinery into every build.  Here's my thoughts on how this would interop with having a schema.sql file and ephemeral database.
(1) On the first compile, caches are generated and put into env!(CARGO_MANIFEST)/target/sqlx_query_caches/.  Each query cache would be saved to a separate, content addressed file.  For example, suppose we had the query:
sqlx::query!(
        r#"INSERT INTO ih_user (email, password_hash) VALUES ($1, $2) RETURNING email"#,
        email,
        password_hash
    )

The cache for this could be saved to env!(CARGO_MANIFEST)/target/sqlx_query_caches/4e24c9c3297df0a7a60aa8a3a1920aaec29551da84eeaa89d5473c0a750c69ca.json.  That hash is computed with sha256("INSERT INTO ih_user ..."). You could of course use a UUID V5 or some other hash.
(2) Subsequent compiles would hash their query string, and use a cache if present.  If no cache is present, the query is recompiled and a new cache is made.
If a schema.sql is specified (or a migration directory), the timestamps of the cache and the schema could be compared.  If the schema has been updated, the cache is invalidated and compiled again.

Can you satisfy my curiosity about why you want to use an ephemeral database? For local development, presumably you'd have a Postgres instance running to develop against.

I'm not sure I can satisfy your curiosity, but I'll give it a shot.
I believe most developers use local postgres databases for unit testing database code.
That being said, I don't run a local postgres database.  At work we use Jon Fischoff's tmp-postgres package for all our unit testing and integration testing.
I mention this because I'm getting a few optimization ideas from that library.
Here is my reasoning. In testing, I've found temporary databases make tests more deterministic. This should hold for compilation with sqlx as well.  If everyone in a large team is using a local postgres for sqlx development, they must all make sure they've run the migrations prior to building.  You could get build.rs to do this for you, of course, although that's another step. Things can get quite painful if an old migration has to be patched. All the developers have to roll back their database and rerun the migrations.  This happens routinely to our QA environment at work, and it is a struggle. This can also interfere with developers running an app locally.

I am happy to work on this if you find any of this convincing.  But I'm okay with my current build.rs based solution if you feel it's too much of a hassle.  Also, I'm teaching myself rust right now, and I would appreciate collaborating with you and getting your feedback.
On a final note, with ephemeral databases cargo build would work out of the box with the sqlx examples without additional setup.  I think this is gentler to newcomers.  If you are interested, I want to help make getting started as easy as possible since I want this library to find widespread adoption.

This is definitely intriguing to me and I would love to see this be an option. I could even see this as simple as maybe setting a DATABASE_URL of postgres::memory: like SQLite.
To do this properly, we would need

Unix Domain Sockets - https://github.com/launchbadge/sqlx/issues/144
Handle a :memory: URL to handle temporary spin up/down of Postgres. Definitely don't want to introduce a new type.

@xcthulhu Thinking on this, I would definitely want this. I don't think I'll have time to work on this for quite some time but if you want to work on it, we'll support the effort and mentor where needed.

I'm closing this as its not something we're going to prioritize. I'd love to see a crate that could be used in build.rs to make pg_tmp available for SQLx to connect into and then we document the interaction.


Flutter Web Missing Headers

Hello,
I'm making a post-call to my server that returns a "set-cookie" and everything returns perfectly in the chrome console.
This is the server's cors configuration:
exposedHeaders: ["Set-Cookie", 'Content-Type', 'Authorization', "X-Api-Key"],
allowedHeaders: ['Content-Type', 'Authorization', "X-Api-Key"]

This is how I make the request through Flutter
dioLibrary.BaseOptions options = new dioLibrary.BaseOptions(
            baseUrl: this.url,
            headers: {
              "Accept": "application/json",
            },
          );
DioForBrowser _d = DioForBrowser(options);
var adapter = BrowserHttpClientAdapter();
adapter.withCredentials = true;
_d.httpClientAdapter = adapter;
response = await _d.post(
    this.url,
    options: dioLibrary.Options(
              headers: header,
      ),
      data: body,
);

The Chrome browser does not automatically save the token and above all Flutter web not print all the headers available (which are seen in the console).
Is there such a way for me to be able to print all headers in Flutter web?
Thanks in advance

@LucaIaconelli I'm facing the same issue. Did you find the solution?

Well, basically the browser automatically handles the cookie so I can do my HTTP request correctly but no I'm still not able to see the cookie in chrome tab and flutter not print all headers as chrome console does.

@LucaIaconelli Thank you for fast response.
There is a Set-Cookie option in the Response header. I'm trying to figure out why are not cookies written to the browser. I've set the BrowserHttpClientAdapter() withCredentials to true based on the https://github.com/flutterchina/dio/issues/585
Based on your answer I understand the headers printed in Flutter from Dio are limited on a specific set, which is not the issue.

in my case, chrome was blocking the cookies from being saved since i was only testing and running on localhost.
you can unblock it by accessing chrome://flags on chrome see: https://support.google.com/chrome/thread/34237768?hl=en


Error out of version_tag.sh if gsort isn't installed

This prevents version_tag.sh from working on Linux.

elif [ "$(uname)" = "Darwin" ] (or what ever the bash else if syntax is) I guess then?

That seems like a good solution. I suggest changing the point of use from $SORT -v to $SORT--version-sort` as well.


ensure all elements can be identified and map uniquely and easily

even though we have ids, the ids are not stable across compiles. Besides the entrypoint, we don't have a uuid that easily maps from one run of the tool to another.
Note for example that (longName)1 is not unique either under these circumstances:

when info parent links are not connected all the way up to a library (this might be an issue with some closures today)
when there are setter/getter pairs => currently they both have the same long name. Other than some heuristics based on the parameter length, and a prefix of the generated code, we don't have a way to identify them.

also - inlined setters are no longer identifiable that way. One possible solution here is to include the signature of the arguments in the uuid, similar to the unique names we pick in the generated code to invoke that function.


Roll Engine from 1b06885982d7 to 79ead9d2dfda (1 revision)

https://github.com/flutter/engine/compare/1b06885982d7...79ead9d2dfda
2021-12-22<EMAIL_ADDRESS>Roll Dart SDK from 689b7f759012 to 0843ef9af944 (2 revisions) (flutter/engine#30464)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Support running different allocation analyses

Each of the two commits in this PR should be reviewed separately.
08786aca26d5a19f85f14d3148afb8a661ebbc96: To be upstreamed. Extends memory allocation analysis infrastructure so the analysis to use can be configured.
d3fe27bba0254948a877b1ea2e60cfd91224ea58: Downstream. Use an Intel-specific analysis. This is just a copy of the original for now, so, please, do not review the analysis implementation.
96a2e78f1df431a52e989affb95b90c10980c358 should be part of the first commit. Will squash there when upstreaming.

Does this PR solves the issue about the allocation https://github.com/intel/intel-xpu-backend-for-triton/issues/2340

Does this PR solves the issue about the allocation https://github.com/intel/intel-xpu-backend-for-triton/issues/2340

This is a first PR refactoring the code so we can modify freely and fix issues like that one and the ones I'm finding with my current FA work

Allocation.cpp is just a copy for now. No need to review. Rest is ready to upstream.


gmime3: 3.2.0 -> 3.2.1, enable tests, now uses libidn2

NEWS:
https://raw.githubusercontent.com/jstedfast/gmime/87405143bb870a6977b7170706a04d747341b425/NEWS

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

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

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

Success on x86_64-linux (full log)
Attempted: gmime3
Partial log (click to expand)
shrinking /nix/store/lqs9n17dzrhxk9agfhwfk5ssnqh6yfa6-gmime-3.2.1/lib/libgmime-3.0.so.0.201.0
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lqs9n17dzrhxk9agfhwfk5ssnqh6yfa6-gmime-3.2.1/lib
patching script interpreter paths in /nix/store/lqs9n17dzrhxk9agfhwfk5ssnqh6yfa6-gmime-3.2.1
checking for references to /build in /nix/store/lqs9n17dzrhxk9agfhwfk5ssnqh6yfa6-gmime-3.2.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/hfqdls2mniwgpl0z9rzdvvbxf5ylb496-gmime-3.2.1-dev
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hfqdls2mniwgpl0z9rzdvvbxf5ylb496-gmime-3.2.1-dev/lib
patching script interpreter paths in /nix/store/hfqdls2mniwgpl0z9rzdvvbxf5ylb496-gmime-3.2.1-dev
checking for references to /build in /nix/store/hfqdls2mniwgpl0z9rzdvvbxf5ylb496-gmime-3.2.1-dev...

Success on aarch64-linux (full log)
Attempted: gmime3
Partial log (click to expand)
shrinking /nix/store/r2ya09yca7vsyq0i9mx04vs181c9vq0s-gmime-3.2.1/lib/libgmime-3.0.so.0.201.0
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/r2ya09yca7vsyq0i9mx04vs181c9vq0s-gmime-3.2.1/lib
patching script interpreter paths in /nix/store/r2ya09yca7vsyq0i9mx04vs181c9vq0s-gmime-3.2.1
checking for references to /build in /nix/store/r2ya09yca7vsyq0i9mx04vs181c9vq0s-gmime-3.2.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/5ikh4q28z7rvajs6bnpavrpx8qwn90yl-gmime-3.2.1-dev
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5ikh4q28z7rvajs6bnpavrpx8qwn90yl-gmime-3.2.1-dev/lib
patching script interpreter paths in /nix/store/5ikh4q28z7rvajs6bnpavrpx8qwn90yl-gmime-3.2.1-dev
checking for references to /build in /nix/store/5ikh4q28z7rvajs6bnpavrpx8qwn90yl-gmime-3.2.1-dev...

Success on x86_64-darwin (full log)
Attempted: gmime3
Partial log (click to expand)
Patching '/nix/store/fnac1zqs0pgvc9jp6z2rhwjm2rz15fg4-gmime-3.2.1-dev/lib/pkgconfig/gmime-3.0.pc' includedir to output /nix/store/fnac1zqs0pgvc9jp6z2rhwjm2rz15fg4-gmime-3.2.1-dev
Moving /nix/store/rc8bb3llz78sspjv1pw8lk4ac89klbps-gmime-3.2.1/share/gir-1.0 to /nix/store/fnac1zqs0pgvc9jp6z2rhwjm2rz15fg4-gmime-3.2.1-dev/share/gir-1.0
Removing empty /nix/store/rc8bb3llz78sspjv1pw8lk4ac89klbps-gmime-3.2.1/share/ and (possibly) its parents
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/rc8bb3llz78sspjv1pw8lk4ac89klbps-gmime-3.2.1/lib
/nix/store/rc8bb3llz78sspjv1pw8lk4ac89klbps-gmime-3.2.1
patching script interpreter paths in /nix/store/rc8bb3llz78sspjv1pw8lk4ac89klbps-gmime-3.2.1
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/fnac1zqs0pgvc9jp6z2rhwjm2rz15fg4-gmime-3.2.1-dev/lib
patching script interpreter paths in /nix/store/fnac1zqs0pgvc9jp6z2rhwjm2rz15fg4-gmime-3.2.1-dev

@GrahamcOfBorg build notmuch astroid

Success on x86_64-darwin (full log)
Attempted: notmuch
The following builds were skipped because they don't evaluate on x86_64-darwin: astroid
Partial log (click to expand)
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28/lib/libnotmuch.5.2.0.dylib: fixing dylib
/nix/store/9fsk1j2mzdans2pd0xmf0f833h6zj6rk-notmuch-0.28

Success on aarch64-linux (full log)
Attempted: notmuch, astroid
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14
shrinking /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14/bin/..astroid-wrapped-wrapped
shrinking /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14/lib/astroid/web-extensions/libtvextension.so
gzipping man pages under /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14/lib  /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14/bin
patching script interpreter paths in /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14
checking for references to /build in /nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14...
/nix/store/5ns6hkkkm5gkqb470g701562sj8r7w5j-notmuch-0.28
/nix/store/bl64ddh8g99mbmw6cs07b0bs7hwxr8ak-astroid-0.14

Timed out, unknown build status on x86_64-linux (full log)
Attempted: notmuch, astroid
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28
shrinking /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28/bin/notmuch
shrinking /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28/lib/libnotmuch.so.5.2.0
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28/lib  /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28/bin
patching script interpreter paths in /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28
checking for references to /build in /nix/store/vsjgjcrrfc6804ji1nwd78v0v0zffkiz-notmuch-0.28...
cannot build derivation '/nix/store/r5x51b4qlsmcch3rvkqqg3qrjp1w8wf2-astroid-0.14.drv': 1 dependencies couldn't be built
error: build of '/nix/store/r5x51b4qlsmcch3rvkqqg3qrjp1w8wf2-astroid-0.14.drv' failed


Accommodate mechanical power switch in enclosure

What has to be done
Ventilator enclosure must accomodate the mechanical power switch.

there must be a decision on where this switch shall be located
the CAD must correctly provide for mounting of this switch in a way that will not interfere with other internal components

How do you know it has to be done
India build indicated the need for a mechanical power switch
TODO: links
Code pointers
TODO

blocked by #960 (selection of switch)

blocked by #960 (selection of switch)

We will for now model with this one:
https://www.digikey.com/en/products/detail/e-switch/R1966CBLKBLKGF/1805114
as was tentatively decided in #960
Does it need to be recessed to prevent accidental flipping?

We will for now model with this one:
https://www.digikey.com/en/products/detail/e-switch/R1966CBLKBLKGF/1805114
as was tentatively decided in #960
Does it need to be recessed to prevent accidental flipping?

Turns out the barrier type is this one:
https://www.digikey.com/en/products/detail/nkk-switches/JWM11BA1A-A/1058358

But for now, we have already purchased these, so let's model for that and we can adapt it later:
https://www.digikey.com/en/products/detail/nkk-switches/JWMW11RA1A/671485


Provider authentication configuration

Feature Request
Is your feature request related to a problem? Please describe.
I'm currently trying to use the Hashicorp Vault provider. This seems to require me to pass it environment variables. Having a tool to manage environment variables securely requiring environment variables seems somewhat counter-intuitive.
Right now, I seem to need to call teller as such to get my Hashicorp Vault secrets:
$ VAULT_ADDR="https://vault.example.com/" VAULT_TOKEN="mysupersecrettoken" teller show

There are 2 real issues at play here:

I have to remember for each system which Vault instance to talk to (big organisations may use multiple Vault instances), reducing the usefulness of Teller by requiring out-of-Teller sharing of these environment variables
My VAULT_TOKEN is in no way protected by Teller from leakage

Describe the solution you'd like
It would be good if I was able to configure the authentication for providers in Teller at least partially. Something like this:
providers:
  hashicorp_vault:
    env_sync:
      path: secret/data/{{stage}}/services/billing
    config:
      VAULT_ADDR: "https://vault.example.com"

(The above example would fix issue 1 and help make Teller a properer source of truth)
Preferably, this would cause an auth flow to happen if the VAULT_TOKEN is not in the environment or not valid, to further reduce the need to store the VAULT_TOKEN insecurely somehow (would solve issue 2).
Describe alternatives you've considered
I can't really think of any other way to do this personally.

I believe the original idea here was to rely on "what ever people do when they use vault agent", and then end users load https://www.vaultproject.io/docs/agent/autoauth/sinks/file to env before running Teller.
Putting that aside, teller can also read that file itself.
Maybe @kaplanelad can also throw in a few more alternatives and then basically we need to choose between:

Leave as is, solve via Vault tooling but still use env-vars as the last-mile to teller
For the vault provider, add reading from file (the same one + format done by vault agent)
For all providers, add an option to load a dictionary of values, which will serve as configuration and (sadly) secrets -- only then to recommend that the whole teller.yml file should be ephemeral and generated. Also should be generated as close to usage as possible.
An alternative to (3) is to add a config_bin, which is an opaque binary (shell script, program, binary) that teller will run to fetch configuration. This opaque thing can perform ad-hoc authentication, and ultimately need to provide anything that the provider expects implicitly (that is: via env, known-file-locations on disk, or otherwise)

Maybe we need to manage the provider authentication by config "strong" levels (for example, AWS CLI)
For example:
Level 1:
as we have today, keep the environment variable
Level 2:
override level authentication if specified in the provider (Like @TheLastProject  example)
Level 3:
if there is a config file in agreed path like ~/.teller/{provider-name}
level 2+3 is for advanced and allows also to work with save provider type and can be a different "cluster"

I'll be closing this pull request for the time being.


Return self from fulfill and reject

It allows for easier chaining of promise calls

Makes sense to me.  However, please add a test for this to fix CI.

@dylanahsmith I tried to fix tests, but there's one mutation test failing. I cannot figure out what the test should be. Could you take a look?

@dylanahsmith Never mind, I've managed to fix it. Could you squash merge?


[bug] "relation" metadata does not display in the public interface item record (though the metadata does exist somewhere, as indicated by faceting)

https://calisphere.org/collections/26098/?q=&sort=a&rq=brag

Production facet appears to be working
Production facet is drawn from the Relation field (but this metadata line does not appear in the item record)
The underlying data seems to exist (as indicated by the faceting)
This appears to be a visual/display bug?

Other examples:
https://calisphere.org/collections/26943/?rq=1965 Nebula award trophy%2C Tricon
Reported by UCR:
https://help.oac.cdlib.org/a/tickets/139912

Need to add the logic to support the Relation facet (which points to a set of search results).


Update README.md

Related issue

What changes does this PR do?
Screenshots (If any)
Questions

My first open source


check error : package manager has died，How to resolve this question?

check error : package manager has died，How to resolve this question?

Hi, you use npm?


Error: Building package ffmpeg:x64-windows failed with: BUILD_FAILED

Error: Building package ffmpeg:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: ffmpeg:x64-windows
Vcpkg version: 2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35
Additionally, attach any relevant sections from the log files above.
PS C:\Users\prince brahmenia\temp\vcpkg> .\vcpkg update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.

 I can build normally locally：
-- Installing: F:/test2/vcpkg/packages/ffmpeg_x64-windows/share/ffmpeg/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\vzhli17\AppData\Local\vcpkg\archives\01\01bb2c7e11b630248a7735d497ae0ee7197d1d4b.zip
Building package ffmpeg[avcodec,avdevice,avfilter,avformat,avresample,core,gpl,postproc,swresample,swscale]:x64-windows... done
Installing package ffmpeg[avcodec,avdevice,avfilter,avformat,avresample,core,gpl,postproc,swresample,swscale]:x64-windows...
Installing package ffmpeg[avcodec,avdevice,avfilter,avformat,avresample,core,gpl,postproc,swresample,swscale]:x64-windows... done
Elapsed time for package ffmpeg:x64-windows: 16.54 min

Total elapsed time: 16.62 min

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\prince brahmenia> cd temp
PS C:\Users\prince brahmenia\temp> dir
Directory: C:\Users\prince brahmenia\temp

Mode                 LastWriteTime         Length Name

d-----        16-02-2021     21:46                vcpkg
PS C:\Users\prince brahmenia\temp>  git clone https://github.com/microsoft/vcpkg
fatal: destination path 'vcpkg' already exists and is not an empty directory.
PS C:\Users\prince brahmenia\temp> cd vcpkg
PS C:\Users\prince brahmenia\temp\vcpkg> $env:VCPKG_ROOT=$PWD
PS C:\Users\prince brahmenia\temp\vcpkg>  .\bootstrap-vcpkg.bat
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35/vcpkg.exe -> C:\Users\prince brahmenia\temp\vcpkg/vcpkg.exe
Done.
Telemetry
vcpkg collects usage data in order to help us improve your experience.
The data collected by Microsoft is anonymous.
You can opt-out of telemetry by re-running the bootstrap-vcpkg script with -disableMetrics,
passing --disable-metrics to vcpkg on the command line,
or by setting the VCPKG_DISABLE_METRICS environment variable.
Read more about vcpkg telemetry at docs/about/privacy.md
PS C:\Users\prince brahmenia\temp\vcpkg>  .\vcpkg install darknet[opencv-base,cuda,cudnn]:x64-windows
Computing installation plan...
The following packages will be built and installed:
darknet[core,cuda,cudnn,opencv-base]:x64-windows -> 2021-01-21

ffmpeg[avcodec,avdevice,avfilter,avformat,avresample,core,gpl,postproc,swresample,swscale]:x64-windows -> 4.3.1#11
libjpeg-turbo[core]:x64-windows -> 2.0.6
liblzma[core]:x64-windows -> 5.2.5#2
libpng[core]:x64-windows -> 1.6.37#14
libwebp[core,nearlossless,simd,unicode]:x64-windows -> 1.1.0#1
opencv[core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.1
opencv4[core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.1
protobuf[core]:x64-windows -> 3.14.0#1
pthreads[core]:x64-windows -> 3.0.0-6
quirc[core]:x64-windows -> 1.1#2
stb[core]:x64-windows -> 2020-09-14
tiff[core]:x64-windows -> 4.1.0#1
zlib[core]:x64-windows -> 1.2.11#9
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...

-- Using cached C:/Users/prince brahmenia/temp/vcpkg/downloads/ffmpeg-ffmpeg-n4.3.1.tar.gz
-- Cleaning sources at C:/Users/prince brahmenia/temp/vcpkg/buildtrees/ffmpeg/src/n4.3.1-a2a92eb697.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/Users/prince brahmenia/temp/vcpkg/downloads/ffmpeg-ffmpeg-n4.3.1.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-fix-debug-build.patch
-- Applying patch 0005-fix-libvpx-linking.patch
-- Applying patch 0006-fix-StaticFeatures.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0008-Fix-wavpack-detection.patch
-- Applying patch 0009-Fix-fdk-detection.patch
-- Applying patch 0010-Fix-x264-detection.patch
-- Applying patch 0011-Fix-x265-detection.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0014-avfilter-dependency-fix.patch
-- Using source at C:/Users/prince brahmenia/temp/vcpkg/buildtrees/ffmpeg/src/n4.3.1-a2a92eb697.clean
CMake Error at ports/ffmpeg/portfile.cmake:24 (message):
Error: ffmpeg will not build with spaces in the path.  Please use a
directory with no spaces
Call Stack (most recent call first):
scripts/ports.cmake:131 (include)

Error: Building package ffmpeg:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: ffmpeg:x64-windows
Vcpkg version: 2021-01-13-768d8f95c9e752603d2c5901c7a7c7fbdb08af35
Additionally, attach any relevant sections from the log files above.
PS C:\Users\prince brahmenia\temp\vcpkg>

Hi @Prince3141 ,
C:\Users\prince brahmenia\temp\vcpkg
Since building ffmpeg in a path with spaces will cause some errors, please re-clone vcpkg and install ffmpeg in a path that does not contain spaces.
Thanks.

CMake Error at ports/ffmpeg/portfile.cmake:24 (message):
Error: ffmpeg will not build with spaces in the path. Please use a
directory with no spaces

Exactly the same error log, and my understanding is too low for the syntax provided in the error message and the reply here.

@Prince3141 ,Have you tried the advice that @JackBoosY  and I gave you? Has this problem been resolved?

The vcpkg path 'C:/Users/prince brahmenia/temp/vcpkg' contains space, please clone vcpkg without space in path and try again.


Add README_ja.md #610

closed https://github.com/yogeshpaliyal/KeyPass/issues/610
The parts that should be left in English are left in English.

@yogeshpaliyal

Can you add Link to Japanese Readme in main Readme file, that would be helpful for future localised readme files.

Okay! I will do it later!


Benchmark the Lens_Source simulator with lenstronomy

          These tests make sure that the Simulator is not broken. I am fine with this, but I think we should open an issue to remind ourselve to benchmark the simulator with lenstronomy. This should be an easy issue to tackle.

Originally posted by @AlexandreAdam in https://github.com/Ciela-Institute/caustic/pull/88#discussion_r1366392077

Basic comparison done here: https://arxiv.org/abs/2406.15542


sickbeard: fix build

Motivation for this change
See https://github.com/NixOS/nixpkgs/commit/e0e7e86410b9937013f4e87a5c5f04eb6e67e645
Same fix needed for sickbeard
Things done

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

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

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

@GrahamcOfBorg build sickbeard

thanks; please consider adding yourself as a maintainer.

Sure, I actually add myself as a maintainer in #46514. Would it be too much trouble to merge that in? There was a conflict with the ids which is I guess why it sat so long but I just took care of it. Then I can add myself as a maintainer on these

@rembo10 done


Could not connect to development server. Ensure that the packager server is running

I run the AwesomeProject on linux and run the android simulator, an error occurs:

why the packager server is not started automatically?

make sure that in your project root, you do react-native start to start the packager.

@281330 it works, thanks


In the webpack template, the built local native module .node file cannot be imported directly.

Pre-flight checklist

[X] I have read the contribution documentation for this project.
[X] I agree to follow the code of conduct that this project uses.
[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version
6.4.2
Electron version
v27.0.3
Operating system
macOS 13.5.2
Last known working Electron Forge version
No response
Expected behavior
I am a newbie. Don't know how to debug local native module.
Actual behavior
Even if the regular rules of the src directory are added, exception errors will occur. "Error: Module did not self-register".
Steps to reproduce

Webpack cannot find this module.

Additional information
No response

I'm also facing the same issue. Any update?

I'm also facing the same issue. Any update?

Add a directory to the node file.


Added Ladder_Variational_Autoencoders_jax.ipynb

Description
Implemented Ladder_Variational_Autoencoders in Jax.
Colab link
https://colab.research.google.com/drive/11mGSvbrNkfQl6WNODZ44vU40wEP1XhGX?usp=sharing
Issue
https://github.com/probml/pyprobml/issues/681
Checklist:
[✔]Performed a self-review of the code.
[✔]Tested on Google Colab.

Can you please review my code? @murphyk @mjsML @gerdm

Hey @susnato, did you implement ConvTranspose2d or just use nn.ConvTranspose. As per the docs there is notable difference between both.
According to the docs :-
torch.nn.ConvTranspose2d and nn.ConvTranspose are not compatible. nn.ConvTranspose is a wrapper around jax.lax.conv_transpose which computes a fractionally strided convolution, while torch.nn.ConvTranspose2d computes a gradient based transposed convolution.
It is currently an open issue in Flax Issue, so i think we should be aware and when that pr is merged, this code should also be changed.
Let me know what you think about this.

Hey @codeboy5, I used the of nn.ConvTranspose.
Since Flax does not have support for the gradient based transposed convolution I preferred to go with that, btw I will keep an eye on that PR you mentioned and chance the code in future.

It would be useful to add some text comments cells to this notebook to explain what is going on, and perhaps add some diagrams. Also, maybe a toy example in 2d to illustrate bottom up and top down inference would be more enlightening than just generating pixels?


Compile error

Hi:
I use gcc 4.8.5 to compile example but i got this error:
cetcd-test.cpp:15:59: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
cetcd_array_append(&addrs, "http://<IP_ADDRESS>:2379");

@dennisip86 There is no file called etcd-test.cpp  in examples, Is this your own code ?
The errors told that you can not convert from const void to void, you can convert it explicitly
cetcd_array_append(&addrs, (void) "http://<IP_ADDRESS>:2379")

or add -fpermissive when compiles

@shafreeck cetcd-test.cpp is my own code as same as cetcd_get.c
I convert it explicitly:
cetcd_array_append(&addrs, (void *)"http://<IP_ADDRESS>:2379");
But i got the other link error:
g++ -o cetcd-test cetcd-test.cpp -lcetcd
cetcd-test.cpp:(.text+0x18): undefined reference to cetcd_array_init(cetcd_array_t*, unsigned long)' cetcd-test.cpp:(.text+0x29): undefined reference to cetcd_array_append(cetcd_array_t*, void*)'
cetcd-test.cpp:(.text+0x3a): undefined reference to cetcd_array_append(cetcd_array_t*, void*)' cetcd-test.cpp:(.text+0x4b): undefined reference to cetcd_array_append(cetcd_array_t*, void*)'
cetcd-test.cpp:(.text+0x61): undefined reference to cetcd_client_init(cetcd_client_t*, cetcd_array_t*)' cetcd-test.cpp:(.text+0x75): undefined reference to cetcd_get(cetcd_client_t*, char const*)'
cetcd-test.cpp:(.text+0xc1): undefined reference to cetcd_response_print(cetcd_reponse_t*)' cetcd-test.cpp:(.text+0xcd): undefined reference to cetcd_response_release(cetcd_reponse_t*)'
cetcd-test.cpp:(.text+0xd9): undefined reference to cetcd_array_destroy(cetcd_array_t*)' cetcd-test.cpp:(.text+0xe8): undefined reference to cetcd_client_destroy(cetcd_client_t*)'
gcc -o cetcd-test cetcd-test.c -lcetcd
Every thing is ok.

@dennisip86 This is because g++ can not correctly link to libetcd.so. Now fixed. Thanks very much for your feedback!


MS Windows build fails since version 1.9.0

I use the golang IDE under MS Windows and could not compile my projects anymore.
It fails since goawk version 1.9.0 with this error message:
//go:build comment without // +build comment
--> this import line "github.com/benhoyt/goawk/interp"
Werner

Thanks for the report! This isn't actually a Windows issue, but an issue with Go versions before 1.17 (the latest) due to the missing old-style +build constraint in the fuzz tests I added. Fixed in version 1.9.2: https://github.com/benhoyt/goawk/releases/tag/v1.9.2 ... and I also added CI tests on older versions of Go (I support down to 1.13) to catch things like this.


Port extension to Firefox

Still to do:

[ ] Go through the incompatibility list and double-check everything
[ ] executeScript path issue?
[ ] Any other companion reference in the Firefox flavor?
[ ] Solve manifest file bootstrap (FF & Chrome errors)
[ ] Test the changed bits in Chrome
[ ] Fully test everything in Firefox
[ ] Add docs about having to install web-ext


GenClientLibs is generating Api Libs with incorrect ROOT_URL?

whether it's specified in <application> or -h hostname, the DEFAULT_ROOT_URL seems to be generating all wrong in the Java file of the client library (when generating from source directly)
I see
  public static final String DEFAULT_ROOT_URL = "https:///_ah/apimyapp.appspot.com/";

when I expect
  public static final String DEFAULT_ROOT_URL = "https://myapp.appspot.com/_ah/api/";

For reference 2.0.5 is generating the correct values for <application> set.
also, the default for no <application> set, and no -h hostname changed from
2.0.5 - https://myapp.appspot.com/_ah/api
2.0.6 - https://null/_ah/api
when generating client libraries directly from source.

testApi-v1-java.zip
look in zip testApi/src/main/java/com/example/testApi/TestApi.java for DEFAULT_ROOT_URL
here is an example generated from source using the command :
get-client-lib -o /tmp/projects/server/target/client-libs
               -cp [...some jars...]:/tmp/projects/server/target/classes
               -l java
               -bs maven
               -w /tmp/projects/server/src/main/webapp

API client library written to /tmp/projects/server/target/client-libs/testApi-v1-java.zip


Create CONTRIBUTING.md

Added text approved by CR DS approval committee.

cc: @cody-f @billfitzg

Approving  +1
cc @stephtngu-CR @cody-f @mrerecich

Approved


Request: Create Wiki and Discussions sections in this repo

@tot0 Would you please create Wiki and Discussions sections in this repo?
I had started a wiki seed in my fork: https://github.com/ramisedhom/ObsidianPPV/wiki but I would prefer to make it here.
Sorry to create this request as an issue as this is the main way to communicate with you currently.

Doing this now!

Done!

@tot0 Would you like to open the wiki for collaboration or how do you suggest to collaborate together in building it?


Ibnopcit/brownian tree

A solution for brownian tree

Looks good thanks! In the future it'd be really awesome if you could squash your commits for a task together. You can do this with git rebase -i $COMMITID on the commit id where you diverged from master.


Remove #![feature(const_generics)] and #![allow(incomplete_features)]

#![feature(min_const_generics)] has been stabilized, so I removed #![feature(const_generics)] and #![allow(incomplete_features)] (I assume Miri is not built by the beta bootstrap compiler so it's fine to just remove them).
The test tests/run-pass/specialization.rs also has a #![allow(incomplete_features)] for #![feature(specialization)]. I think that can be removed and #![feature(specialization)] can be replaced with #![feature(min_specialization)], but I'm not sure whether I should do that because it's a test. Feel free to ask me to remove it if it's fine to do so.

Thanks. :)
@bors r+
For the test I am fine either way, so if you want to change that as well, go ahead.

Thanks. :)
@bors r+
For the test I am fine either way, so if you want to change that as well, go ahead.

:pushpin: Commit 9949d9e417ff563c3cf7fbadb3ae6d865ab08c53 has been approved by RalfJung

:pushpin: Commit 9949d9e417ff563c3cf7fbadb3ae6d865ab08c53 has been approved by RalfJung

:hourglass: Testing commit 9949d9e417ff563c3cf7fbadb3ae6d865ab08c53 with merge ba244e3e7cb1e7a26eb26894b086bcd645258ed8...

:hourglass: Testing commit 9949d9e417ff563c3cf7fbadb3ae6d865ab08c53 with merge ba244e3e7cb1e7a26eb26894b086bcd645258ed8...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing ba244e3e7cb1e7a26eb26894b086bcd645258ed8 to master...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing ba244e3e7cb1e7a26eb26894b086bcd645258ed8 to master...


Address wrapped templates

This allows to use integration assets dumped by elastic-package as-is, which enclose an outer meta data layer otherwise rejected when sent to Elastisearch.

@elasticmachine run tests

@elasticmachine update branch


Journal content indicator

As suggested by https://gitlab.com/fohswe , having this as an optional display style for thumbnails to indicate whether a journal entry has an image or text or both.
https://gitlab.com/foundrynet/foundryvtt/-/issues/3075
The image icon could display a thumnail of the image when hovered over

Due to FVTT v10 restructuring of a JournalEntry it can now have multiple pages. Therefore it can always be both text and image at the same time


WS.Create User (Modification)

WS.Create User

[x] Create WS spec
[x]  Implement
[x]  Deploy
[ ]  Improve test scenarios

The field priv_settings is empty for new users
If I create new user with 2fa_enable = FALSE, i still have a record in authentication_factors.
according to specs: If $.2fa_enable = FALSE - break

@svetavedmed deployed

fixed
the same

[ ] Please del id from privilege_settings after create user
[ ] Don't work default value (from config) for 2FA

test passed


Update CONTRIBUTING.md

bin/setup runs glide install and bundle install this these need to be installed first

Have confirmation that this resolves #926


Meshync Dynamic Configuration from Meshsync

Description
This PR updates Meshsync to receive configuration for Meshsync CRD
This PR fixes #257
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@Aisuko sorry for the delayed resolutions, I was unwell

Some notes from today's Meshery Build and Release meeting:
A new attribute inside of the meshsync CRD on the order of something like watchList,  which is configurable with both the ability to explicitly name Resources and Event types of interest and explicitly those that are not.
My intuition leans into suggesting that this positive/negative tuple is ideally/conveniently defined in a ConfigMap, which is assigned to the watchList attribute.
Clarification of the terms that I've just used:

positive:whitelist
negative:blacklist
tuple:{"ResourceName":"EventType"}

Some notes from today's Meshery Build and Release meeting:
A new attribute inside of the meshsync CRD on the order of something like watchList, which is configurable with both the ability to explicitly name Resources and Event types of interest and explicitly those that are not.
My intuition leans into suggesting that this positive/negative tuple is ideally/conveniently defined in a ConfigMap, which is assigned to the watchList attribute.
Clarification of the terms that I've just used:
* positive:whitelist

* negative:blacklist

* tuple:`{"ResourceName":"EventType"}`

The recording of today's discussion is an excellent reference - https://discuss.layer5.io/t/meshery-build-release-meeting-oct-26th-2023/4103/3

@MUzairS15 I did not miss your review, it was discussed extensiveley in the above quoted recording , and what I have pushed is an update from the meeting

@MUzairS15 Ideally as a start we support one or the other, so we either blacklist resources(allowing the rest) or whitelist a few and ignore the rest.  Then this validation can be done when creating the CRD, thoughts?.

@KiptoonKipkurui How we handle conflicting values in WhiteList and BlackList. If one has priority over other, do mention it.
Looks good overall.

@MUzairS15 Ideally as a start we support one or the other, so we either blacklist resources(allowing the rest) or whitelist a few and ignore the rest. Then this validation can be done when creating the CRD, thoughts?.

@KiptoonKipkurui How we handle conflicting values in WhiteList and BlackList. If one has priority over other, do mention it.
Looks good overall.

@MUzairS15 Ideally as a start we support one or the other, so we either blacklist resources(allowing the rest) or whitelist a few and ignore the rest. Then this validation can be done when creating the CRD, thoughts?.

Sounds good either way.

Then this validation can be done when creating the CRD,
Only when creating the CRD? Since, the resources would be sourced from ConfigMap, shouldn't we validate at that instant as well? (You can skip the validation part in this PR, so that we can get going with these changes atleast).

Merge Conflicts and a comment to resolve.

@MUzairS15 Finalizing on the fixes, then I think we should have another conversation for the ListenerConfigs,  some of the values are part of the code case in point and also we have ListenerConfigs as in Meshync but mapping to broker.RequestEntity types, Ill explain, from switch case, we are using the switch case on a broker entity type, but mapping to a Listener Config. So for now I would like to remove handling ListenerConfigs until we have a more conversations on how best to handle them

Also, we should look for getting reid of Pipelien configs defined i.e. In this PR we are using blacklist & whitelst and comapring with the CR config based on that watch for the resources.
As Lee also mentioned, we can externalise this configiguration in a ConfigMap. Whenever the configmap is updated we would reconcile the CR and the watch.

Also, we should look for getting reid of Pipelien configs defined i.e. In this PR we are using blacklist & whitelst and comapring with the CR config based on that watch for the resources.
As Lee also mentioned, we can externalise this configiguration in a ConfigMap. Whenever the configmap is updated we would reconcile the CR and the watch.

Sorry Im not understanding well, the whitelist and blacklist here are supplied from a ConfigMap from the CR as from this other PR yet to be approved, the default configurations are maintained here as a backup. In this case the config map is updated together with the CR then the meshsync can watch for changes, Are you speaking along the same lines or something different?

Yes, I am on same line. But I was thinking if we could externalise it, i.e. instead of having an attribute of type ConfigMap in the CR we would have a ConfigMap resource which would contain the configs and instead of updating CR we could update ConfigMap.

Makes sense?

Makes sense?

Yes. +1

Now i get it, in that case, what would the need for having the ConfigMap in the CR? It can work as an independent component that the meshery server can independently configure

Makes sense?

Now i get it, in that case, what would the need for having the ConfigMap in the CR? It can work as an independent component that the meshery server can independently configure it

@MUzairS15 I have resolved the issues, pending extraction of the configs to a ConfigMap independent of the CRD, if in agreement we can scrap off updating the CRD and dealing sorely with an independent config map @leecalcote

Thanks @KiptoonKipkurui 🚀
Is your PR in meshery operator ready?
I am merging this now.


CLI explode function does not preserve permissions.

I have an executable file in a tar.gz in an Artifactory repository. I'm using a spec file with explode=true to download the file (as a stage in a Jenkins pipeline). When I examine the exploded tar contents, my executable file has lost its executable bit.

Actually I think this is duplicate as #438


simplify the chart

This PR contains a number of simplifications.

Since we are using stock Prometheus (at least for the moment), I removed anything from the Makefile having to do with building and pushing a custom Prometheus image. I also removed the corresponding Dockerfile, etc.

I noticed some Grafana files, like the dashboard (brigade.json) really had no need to be rendered as a config map and mounted to the file system as a volume, because some such files are completely static and not parameterized. With this in mind, it's easier and preferable to bake that configuration directly into the Docker image.

Going farther still down the Grafana configuration rabbit hole, I discovered that you can skip dashboard provisioning entirely if all you want to do is customize the home dashboard. You just point it ad your dashboard's JSON and you're done. And the best part is that the home dashboard is not editable-- even by an admin.

Falling farther still down the Grafana configuration rabbit hole, I dicovered quite a bit of guidance in their documentation on how to configure Grafana on Docker and it's strongly recommended to accomplish this with environment variables instead of modifications to grafana.ini. With this in mind, I tossed out the config map for grafana.ini and used env vars for everything instead. For those whose values never need to change, I baked their values right into our Grafana Docker image. For those that do vary based on user options, they're set in the Grafana's deployment.

There's a smattering of other minor changes that all track with this PR's theme of simplification.

LGTM. Thank you for the help with cleanup!


Update cats-effect to 3.3.12

Updates org.typelevel:cats-effect from 3.3.5 to 3.3.12.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.typelevel", artifactId = "cats-effect" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #676.

Superseded by #681.


Data binding breaks for checkboxes nested in anchor tags

In situations like this:

  <input type="checkbox" ng-model="checked" />

data binding seems to break. Upon clicking the checkbox, the model is updated, but the onscreen checkbox remains unchanged, then subsequent clicks no longer update the model. This would appear to be an interaction between the anchor and checkbox, as it can be worked around by either removing the anchor tag:

  <input type="checkbox" ng-model="checked" />

Or by calling stopPropagation() on the input:

  <input type="checkbox" ng-model="checked" ng-click="$event.stopPropagation()" />

A jsfiddle demonstrating the behavior: https://jsfiddle.net/fvdurx56/1/

All that said, wrapping inputs in anchor tags is at best inadvisable, so unless this proves to be a more general problem, it may not warrant further effort.

The reason for this is the htmlAnchorDirective.
It has this bit of code:
element.on('click', function(event){
        // if we have no href url, then don't navigate anywhere.
        if (!element.attr('href')) {
          event.preventDefault();
        }
      });

If you add an href element, things magically work. See https://jsfiddle.net/64kw1x5d/
I'm not sure if it's worth fixing.

This is invalid HTML, see https://github.com/angular/angular.js/issues/12917#issuecomment-142323240


Refresh pan handlers via Actions.refresh

Thanks for the PR! Ops, it conflicts now after I merged your another PR, could you resolve?

Sure, it's ready to merge now :)


Document Updated CMDlets

Many Cmdlet changes are happening based on feedback from the beta - let's cover this:
Document todo list

Remove-UASecretManager
Set-UASecretMAnager

These cmdlets no longer exist in 1.2.


Hibernate dependency upgrades

Upgrades hibernate dependencies for core and validators.
When I bumped the validator version, I ran into this issue:

HV000151 error being thrown - "A method overriding another method must not alter the parameter constraint configuration"

To solve the issue, I added the constraints to the interface method instead of the implementation method.
Ref: https://forum.hibernate.org/viewtopic.php?f=9&t=1026897

+1

+1 (assuming the failures are not related)

I'll take a look at failures in just a sec. Tests do pass locally. Not sure what's missing yet.


New Publisher GetBalAccLocal in Codeunit 5601 FA Insert  G/L Account

Please add a new publisher event OnGetBalAccOnAfterInsertGenJnlLine (In codeunit 5601 FA Insert  G/L Account, function “GetBalAccLocal” as shown below:

New publisher Event:
[IntegrationEvent(false, false)]
local procedure OnGetBalAccOnAfterInsertGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; var TempFAGLPostBuf: Record "FA G/L Posting Buffer" temporary)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


WIP: Make "datalevel" is not required in statistics API

Datalevel is not required now, de to changes in the statistics service.
When using API to retrieve assets, if no data level is provided, you get back assets at the deepest data level this layer is configured for.
Also, change the type of datalevel from string to number (supports levels 0-11) and add one more test to check methods if no datalevel provided.
Resolves OLPSUP-9319
Signed-off-by: Oleksii Zubko<EMAIL_ADDRESS>

Codecov Report

Merging #182 into master will decrease coverage by <.1%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master    #182     +/-   ##
========================================
- Coverage    67.1%   67.1%   -0.1%
========================================
  Files          54      54
  Lines        1452    1450      -2
  Branches      167     166      -1
========================================
- Hits          975     973      -2
  Misses        436     436
  Partials       41      41

Impacted Files
Coverage Δ

@here/olp-sdk-dataservice-api/lib/coverage-api.ts
16.6% <ø> (ø)
:arrow_up:

...k-dataservice-read/lib/client/StatisticsRequest.ts
100% <ø> (ø)
:arrow_up:

...dk-dataservice-read/lib/client/StatisticsClient.ts
89.1% <ø> (-0.6%)
:arrow_down:

Continue to review full report at Codecov.

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


Connection to A*

Link A* to the GitHub project to avoid uploading a ridiculously large amount of files.

@Galaxy25 Do we need to include the .meta files? I'm assuming we do.

@BrandonPacewic If GitHub ignore doesn't ignore it I assume it needs it.


Refresh API documentation for #44 and #45

Update API doc to include #44 and #45

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #46   +/-   ##
=======================================
  Coverage   21.99%   21.99%
=======================================
  Files           5        5
  Lines         291      291
=======================================
  Hits           64       64
  Misses        227      227

Flag
Coverage Δ

#CredentialsFacebook
21.99% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add ability to upload a master_config

Idea is to update a project configuration based on the configuration from another server.

Need button in the GUI

added in 1.0.8


Module "Custom Race".... Information Times event ?

is to remember... how is the event scheduled.

example


Not able to delete logs even with super user permission

Environment

Nautobot version (Docker tag too if applicable):2.2.5
Python version:3.10
Database platform, version:N/A
Middleware(s):N/A

Steps to Reproduce

Login as super user
go to log entries and try to delete
There is no option to delete.

Expected Behavior
Delete log entries

Observed Behavior
Nothing happens. There is no option to delete. I spoke with Joe Wesch in slack channel and he has confirmed that he sees the same.

As a workaround I have provided a shell command that will manually delete the log entries for a specific user:
LogEntry.objects.filter(user__username="my_username").delete()

I don't think its advisable for logs to be deleted 🤷♂ @nautobot/core


Indentation issue with newline in strings

Environment data

VS Code version: 1.31.1
Extension version (available under the Extensions sidebar): 2019.2.5416
OS and version: Manjaro
Python version (& distribution if applicable, e.g. Anaconda): Miniconda 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX

Expected behaviour
No indentation after print("\n").
Actual behaviour & Steps to reproduce:

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Jedi Python language engine.
##########Linting Output - pylint##########

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

Occurs with string that contains .
    '\'
'a\
    t```

Hopefully, this gets solved quickly as escape characters are very common and incorrect indenting is very frustrating.

Why was P1 removed?  This is an incredibly annoying bug.

This is indeed amazingly annoying. It looks like it is related to "fixing" indentation for line-continuation backslashes (which, let's face it, are vastly less common than backslashes within strings).
This is a duplicate of #4241.

This issue can be closed since #4241 was fixed and closed.

I just tested, and yes, it seems fixed.
@DonJayamanne  mind closing this one?


Update scala version and dependencies

Thanks, @nbronson. Any idea when we will get a 0.8 version?

I was hoping to address https://github.com/nbronson/scala-stm/issues/43,
but that is pretty complex to fix properly
On Mon, May 4, 2015 at 9:08 PM, Marcos Silva Pereira <
<EMAIL_ADDRESS>wrote:

Thanks, @nbronson https://github.com/nbronson. Any idea when we will
get a 0.8 version?
—
Reply to this email directly or view it on GitHub
https://github.com/nbronson/scala-stm/pull/46#issuecomment-98942821.