Suggested feature: antsSaveAll

It would be extremely useful to have a function that can save the entire workspace in a single line. Right now is very difficult to keep track of what is a pointer and what is not, then save them separately, then write code again to load them on new session. A save-all function can take this burden away, create cleaner code with one-line saving, and offer to restart at different levels of a script. Of course, this should be complemented with a load function.

That's a good idea.  Shouldn't be too hard to do.  I almost never save my
workspace, but this would be helpful to have around.  I'll try to get to
this tomorrow.
2015-03-03 9:55 GMT-05:00 dorianps<EMAIL_ADDRESS>
It would be extremely useful to have a function that can save the entire
workspace in a single line. Right now is very difficult to keep track of
what is a pointer and what is not, then save them separately, then write
code again to load them on new session. A save-all function can take this
burden away, create cleaner code with one-line saving, and offer to restart
at different levels of a script.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16.

There are multiple benefits:

You can restart at any point you left with days in between.
You can save in one window, and load another window to proceed with a different parameter (no need to run all the code until that point).
You can avoid having hours lost by unexpected events (blackouts, connection problems).
Will make the software more usable.

Last night there were multiple network interruptions, so Rstudio died. I spent 2 hours this morning just to reach the same state I had when I started the analysis last night.

Just as a practical matter--do you mount the cluster drive?  Mounting the
cluster and then running R/Rstudio on your local machine is much less
sensitive to network blips than running R on the cluster.
2015-03-03 10:18 GMT-05:00 dorianps<EMAIL_ADDRESS>
There are multiple benefits:

You can restart at any point you left with days in between.
You can save in one window, and load another window to proceed with a
different parameter (no need to run all the code until that point).
You can avoid having hours lost by unexpected events (blackouts,
connection problems).
Will make the software more usable.

Last night there were multiple network interruptions, so Rstudio died. I
spent 2 hours this morning just to reach the same state I had when I
started the analysis last night.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-76964652.

Hmmm, I only mount it as external drive. You mean I might be able to point my Windows Rstudio to the cluster R in linux and make it work? That would be great. Let me know if you do that.

Hmm...no, that would probably be worse.  I'm a bit surprised then that
Rstudio died when the cluster connection failed.  I guess it tried to read
or write and couldn't and then hung?
2015-03-03 10:36 GMT-05:00 dorianps<EMAIL_ADDRESS>
Hmmm, I only mount it as external drive. You mean I might be able to point
my Windows Rstudio to the cluster R in linux and make it work? That would
be great. Let me know if you do that.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-76968309.

Yes, off topic, but the way I use it is by calling Rstudio from cluster in an X-server. If the connection to the cluster breaks, Rstudio can't push the display, so it dies. There is an rstudio-server supposed to be better, I am waiting for Michael to install it. Nevertheless, a save function for antsR will be necessary sooner or later.

Ah, OK.  So what I was suggesting was to run RStudio on your local machine,
and then just point it to the (mounted) cluster drive to read whenever it
has to load data.  That way if the connection gets lost, Rstudio will be
fine and if need be you can save your work locally to continue later.
2015-03-03 11:07 GMT-05:00 dorianps<EMAIL_ADDRESS>
Yes, off topic, but the way I use it is by calling Rstudio from cluster in
an X-server. If the connection to the cluster breaks, Rstudio can't push
the display, so it dies. There is an rstudio-server supposed to be better,
I am waiting for Michael to install it. Nevertheless, a save function for
antsR will be necessary sooner or later.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-76974960.

Problem is there is no antsR in Windows, haven't figured out a way to install it.

Just pushed save.ANTsR and load.ANTsR, which should solve this problem.  It works for my test cases, but if you could make sure it works for you that would be helpful.  Ended up being a little trickier than I thought it would be.

generated a new warning from R CMD check

checking R code for possible problems ... NOTE

load.ANTsR: no visible binding for global variable ‘ANTsRImageData’
Found the following assignments to the global environment:
File ‘ANTsR/R/save.ANTsR.R’:
assign(as.character(ANTsRImageData$names[ii]),
antsImageRead(file.path(filename,
paste(as.character(ANTsRImageData$names[ii], ".nii.gz", sep = ""))),

ANTsRImageData$dims[ii], ANTsRImageData$pixeltypes[ii]),

envir = .GlobalEnv)

checking Rd files ... OK

brian
On Thu, Mar 5, 2015 at 10:58 PM, bkandel<EMAIL_ADDRESS>wrote:

Just pushed save.ANTsR and load.ANTsR, which should solve this problem. It
works for my test cases, but if you could make sure it works for you that
would be helpful. Ended up being a little trickier than I thought it would
be.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-77503086.

Shoot.  Sorry about that.  Should be fixed now.
2015-03-06 16:14 GMT-05:00 stnava<EMAIL_ADDRESS>
generated a new warning from R CMD check

checking R code for possible problems ... NOTE

load.ANTsR: no visible binding for global variable ‘ANTsRImageData’
Found the following assignments to the global environment:
File ‘ANTsR/R/save.ANTsR.R’:
assign(as.character(ANTsRImageData$names[ii]),
antsImageRead(file.path(filename,
paste(as.character(ANTsRImageData$names[ii], ".nii.gz", sep = ""))),
ANTsRImageData$dims[ii], ANTsRImageData$pixeltypes[ii]),
envir = .GlobalEnv)

checking Rd files ... OK

brian
On Thu, Mar 5, 2015 at 10:58 PM, bkandel<EMAIL_ADDRESS>wrote:

Just pushed save.ANTsR and load.ANTsR, which should solve this problem.
It
works for my test cases, but if you could make sure it works for you that
would be helpful. Ended up being a little trickier than I thought it
would
be.
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-77503086.

—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-77637041.

still seeing:
Found the following assignments to the global environment:
File ‘ANTsR/R/save.ANTsR.R’:
assign(as.character(ANTsRImageData$names[ii]), antsImageRead(file.path(filename,
paste(as.character(ANTsRImageData$names[ii], ".nii.gz", sep = ""))),
ANTsRImageData$dims[ii], as.character(ANTsRImageData$pixeltypes[ii])),
envir = .GlobalEnv)

i think you need something like this:
http://www.talkstats.com/showthread.php/38050-CRAN-submission-problem-help-brainstorming

Ah, that's a good idea.  Should've realized that would be considered
"anti-social" by CRAN.
2015-03-08 13:02 GMT-04:00 stnava<EMAIL_ADDRESS>
i think you need something like this:
http://www.talkstats.com/showthread.php/38050-CRAN-submission-problem-help-brainstorming
—
Reply to this email directly or view it on GitHub
https://github.com/stnava/ANTsR/issues/16#issuecomment-77761340.


Add a review to a PR instead of a comment (issue #14)

For this issue: https://github.com/google/code-review-bot/issues/14
When PR is not compliant, instead of just leaving a comment, the bot would leave a "REQUEST_CHANGES" review with a message of the non-compliance.

@mbrukman
Yes your response about the all checks on the issue makes sense. I will keep that in mind when I work on that part that you mentioned above about resolving its own issues.
I will also give the testing a try. Thanks!

@mbrukman finally got the tests working. Let me know what you think.

@mbrukman Thanks for the feedback! Sorry it took me a while to get back to you.
Your feedback makes sense. I will get working on them soon and tag you once I'm done. Thank you!


Change deps.bzl and bazelrc for grpc to build on linux

grpc pulls incompatible versions of absl and boring ssl this commit
frontruns the dependency chain, loading compatible version to allow
compilation on linux with gcc and clang.

Windows build still failing but it now compiles on old and new linux.


Added Secret Manager support

Closes #105
Closes #206
Description
Added two new configuration options:

ELASTIC_APM_SECRET_MANAGER_SECRET_TOKEN_ID
ELASTIC_APM_SECRET_MANAGER_API_KEY_ID

If a secret manager id is provided through the above config options, the extension retrieves the corresponding secret from the AWS Secret manager. The secret must be in the same AWS region.
If both, a plain text secret is provided (i.e. ELASTIC_APM_SECRET_TOKEN) and the ELASTIC_APM_SECRET_MANAGER_SECRET_TOKEN_ID, then the value from the Secret Manager takes precedence.
Retrieving the secret from the Secret Manager happens once at the cold start of the extension.
Steps for end to end testing:
Step 1: Create a secret in the AWS Secret Manager.

The secret must be in the same AWS region as the target lambda function
Create the secret either for the APM secret token OR the APM API key
The secret type must be Plain Text
Optionally, you can select a custom KMS key for encryption (Note: in this case you will need additional key permissions on your Lambda functions)

Otherwise: use the key provided by AWS: aws/secretsmanager (No additional key permissions needed for this)

Step 2: Create and setup the Lambda function

Follow these docs for general setup of the Lambda function with Elastic APM
However, create and use a custom extension layer based on this PR
In the environment variables configuration instead of providing the ELASTIC_APM_SECRET_TOKEN or ELASTIC_APM_API_KEY specify the ELASTIC_APM_SECRET_MANAGER_SECRET_TOKEN_ID or ELASTIC_APM_SECRET_MANAGER_API_KEY_ID variables. Use the secret-name as the value.

Step 3: Add permissions

Under Configuration > Permissions > Execution Role click on the execution role to edit the permissions
Add a new inline policy with the following JSON-based permission definition:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "secretsmanager:GetSecretValue",
                "secretsmanager:DescribeSecret",
                "secretsmanager:ListSecretVersionIds"
            ],
            "Resource": [
                "HERE_GOES_THE_ARN_OF_THE_SECRET"
            ]
        },
        // The following is only needed if a custom key is used
        {
            "Effect": "Allow",
            "Action": [
                "kms:Decrypt"
            ],
            "Resource": [
                "HERE_GOES_THE_ARN_OF_THE_CUSTOM_KEY"
            ]
        }
    ]
}

Step 4: Invoke the lambda function and validate data in Elastic APM UI

:broken_heart: Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-06-03T09:05:36.986+0000

Duration: 9 min 6 sec

Test stats :test_tube:

Test
Results

Failed
1

Passed
188

Skipped
4

Total
193

Test errors
Expand to view the tests failures
Test / Matrix - PLATFORM = 'macosx && x86_64', GO_VERSION = '1.18' / Test / Test_handleIntakeV2EventsNoQueryParam – elastic/apm-lambda-extension/extension

Expand to view the error details
 Failed

Expand to view the stacktrace
 === RUN   Test_handleIntakeV2EventsNoQueryParam
panic: Fail in goroutine after Test_handleIntakeV2EventsQueryParam has completed

goroutine 129 [running]:
testing.(*common).Fail(0xc000112b60)
	/var/lib/jenkins/workspace/ibrary_apm-aws-lambda-mbp_PR-208/.gvm/versions/go1.18.darwin.amd64/src/testing/testing.go:817 +0xe5
elastic/apm-lambda-extension/extension.Test_handleIntakeV2EventsQueryParam.func2()
	/private/var/lib/jenkins/workspace/ibrary_apm-aws-lambda-mbp_PR-208/src/github.com/elastic/apm-aws-lambda/apm-lambda-extension/extension/http_server_test.go:242 +0xd2
created by elastic/apm-lambda-extension/extension.Test_handleIntakeV2EventsQueryParam
	/private/var/lib/jenkins/workspace/ibrary_apm-aws-lambda-mbp_PR-208/src/github.com/elastic/apm-aws-lambda/apm-lambda-extension/extension/http_server_test.go:239 +0x3fa

Steps errors
Expand to view the steps failures

Running Go tests

Took 2 min 42 sec . View more details here
Description: gotestsum --format testname --junitfile junit-report.xml -- -v ./...

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@elastic/apm-server could you please help pushing this over the finish line; I suggest for this PR rather than only reviewing, commit small code improvements directly to free up @AlexanderWert.
Thanks Alex for this contribution.


AppCenterDistributeV3 getting 404

Question
Is the underlying API for this task still supported?
Enter Task Name: AppCenterDistribute@3
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks](https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/AppCenterDistributeV3)
Environment

Server - TFS on-premises
Agent - Private Agent v2.153.1, MacOS 11.6

Issue Description
Im using the oob App Center Distribute task from the marketplace to upload. Getting a 404 error while trying to upload an .ipa binary to App Center. My connection token is valid. I haven't made any changes to this task in a while. This just occurred out of nowhere.
Error Message

Looks to be fixed after updating the extension to 3.173.0.


Add support for override depth and adding test in overriding depth

This change would allow to override depth on deploy.
include_recipe 'deploy'
r = resources('deploy[/srv/www/simpleapp]')
r.depth 1

this also would allow to set depth when creating a deploy resource.
deploy 'test repo with depth' do
  repo 'https://github.com/renanvicente/lab_ecommerce_simple'
  user 'root'
  depth 1
  deploy_to '/tmp/test_with_depth'
  action :deploy
end

why we need that?
Some times you may have a git repo with a large .git and you do not want to clone everything because it will take to long. We have shallow_clone but it only allow changing it to 5.

this LGTM :+1:

we need another :+1: from @chef/client-core

:+1:


inconsistency in quaternion representation and _error_orientation_quaternion function requirement

https://github.com/tpark94/spnv2/blob/dbcf0de8813da56529bb7467a87c6cdacfc46d23/core/engine/inference.py#L116C1-L116C78
hello, I think here q_pr is in format [qw, qx, qy, qz] as returned by pnp function which reorders the elements of the quaternion array and  it is passed to the following function which requires q_pr to be [qx, qy, qz, qw]
def  _error_orientation_quaternion(q_pr, q_gt):
# q must be [qvec, qcos]
?

Hello,
The comment is not updated. Both q_pr and q_gt are in [qw, qx, qy, qz].


Devise v3.1.0 requires config.secret_key on asset precompilation, but Heroku precompiles without environmental variables

Forgive me if this is has already been answered,
It's common open-source security practice to store sensitive data (eg., security keys) in environmental variables to prevent them from being checked into source control.  A nice Ruby example of this is the figaro gem.  Upon updating Devise from a ~v3.0 version to v3.1.1, when I try to deploy my app to Heroku, when Heroku tries to precompile my assets Devise complains that config.secret_key is not set in my devise initializer.  My devise initializer DOES set the config.secret_key variable, but it sets it to a Heroku config:variable that is not present during asset precompilation.  Is there any work around this?

I have this problem on a non heroku machine. I'm deploying using capistrano and This same problem prevents my deploy. I Think this should be fixed.


Be certain to clear our marshalled representation before reloading it

Be certain to clear our marshalled representation before reloading it
Fixes #2153

Could you change the base branch of the PR from master to 1.4 ?

@gozer do you need help ?

@ldez sorry about the PR spam, been having issues rebasing against v1.4.
I've succeded now, but couldn't figure out how to keep this PR open, so I've had to open this one to replace it #2165


Download/compute does not honor infinite approval

We use ocean.pool.buyDt() and that will always do a specific amount approval leading to the infinite amount user preference introduced with #640 being ignored.
Example use case when infinite approval is activated:

user buys download asset which has a timeout set
approves OCEAN once
user buys same asset again after expired timeout, and then does NOT have to approve OCEAN again

Most likely needs some changes in ocean.js and over here in market we need to apply same logic as we use for Pool & Trade.

Does it make sense to do this? Didn't we say we are freezing the market? Why focus on current version of ocean.js and not the next one? And yes this feature should exist in v4

Is this still an issue? From my memory this works ok. Plus we don't have pools anymore sooo...


"Custom" Profile Fields are Weird

So some of the default "custom" profile fields do odd things in 1.1 based on default values.
Personal text  gets saved as "Default Personal Text" or something like that and then shows up that way all over the forum if you don't set a value but update something else like setting an avatar.  The annoyingly when you change the default (to say nothing like it should be) it doesn't update all the people who got assigned the default value through updating some other part of the profile.
Gender shows up in the profile area (even when viewed by guests) even if the user doesn't set because it defaults to undisclosed.  Then if you modify it to have no default value it literally gets a default of "no default" which again causes it to show up everywhere with a value of "no default" which doesn't have an icon.  Manually deleting the "no default" from the databases fixed an empty/broken gender field from showing up in every profile.

https://www.elkarte.net/community/index.php?topic=4755.0

I have a "fix" for this locally.
It's not nice (IMO), but seems to work (the one I posted in the topic is not complete).

Weird bugs require weird intervention 💃

And now the weirdest thing is that I don't remember if I ever pushed the fix...

Found and pushed! :D


Monitoring widgets

Don't merge yet, I'm just making the PR for the sake of reviewing.

Progress

✔ Widget based on price task
✔ Widget based on metapool task
✔ Widget based on token task

Some changes to lookout on the branch:

There is a new src/contracts.ts with a connectedContracts function that takes care of loading all the changes; which was previously done on the _connect function at components/common.tsx.
There is the new contracts: Contracts context variable, where all the loaded contracts reside.

type Contracts = {
  manager: UbiquityAlgorithmicDollarManager;
  uad: UbiquityAlgorithmicDollar;
  curvePool: ICurveFactory;
  metaPool: IMetaPool;
  twapOracle: TWAPOracle;
  dollarMintCalc: DollarMintingCalculator;
  uar: UbiquityAutoRedeem;
  ugov: UbiquityGovernance;
  crvToken: ERC20;
  bondingToken: ERC1155Ubiquity;
  debtCouponToken: DebtCoupon;
  debtCouponManager: DebtCouponManager;
};

I tried to parallelize as much as possible the asynchronous calls to smart contracts by using Promise.all. This is used mostly on the loading of the addresses from the manager contracts, and the account balance.
For the price widget I used utility-first CSS, automatically generated by the WindiCSS utility. It has many advantages in terms of code maintainability, and allows of theming and variables. See if you like it. If you do I can integrate it further on the yarn dev command so we don't also gotta use yarn watch:css, if you don't, I can just write the regular CSS. Also by using this we can remove the CSS of the code altogether, as Windi just generates it on build, we don't need to commit it.

yarn watch:css
WindiCSS watches all the classes used on components/**/*.tsx and generates the utility.css.

WindiCSS added as a Webpack plugin. Runs automatically and generates the CSS on build.
The initial context state values were changed from undefined to null, for the sake of representing intentional absence of value. Ended up having to make a lot of changes over a lot of components because of type check, which made me a little anxious, because it was outside the scope of adding the monitoring widgets 😄. But the good thing is that Vercel got it and the day was saved!
Added yarn ts and yarn ts:watch to keep a watch on TypeScript type errors while developing, because Next.js doesn't run TS type checks during development, only during build.
Created widget UI primitives at ui/widget.tsx. So most of the style can be changed on that file.
Added another page at/monitor where all the new widgets can be seen and developed.

What do you think about the UI? You can access this at /monitor. I'm thinking maybe we can merge all the separate widgets into a single element with information about each smart contract.

I extracted the currentRedeemableBalance of the Token Widget from getting the uad.balanceOf(debtCouponManagerAddress), I got that from reading the DebtCouponManager.sol. Is that the right number @pavlovcik?

Merged latest changes from main! This is because I touched those files when I changed the context  values from undefined to null 😅

I extracted the currentRedeemableBalance of the Token Widget from getting the uad.balanceOf(debtCouponManagerAddress), I got that from reading the DebtCouponManager.sol. Is that the right number @pavlovcik?

All of the Solidity related details are @zgorizzo69's territory. I pinged him but I recommend you also ask him directly in a direct message.

@Zequez I totally overlooked to merge this earlier my apologies. It looks like there is a build error. Let me know on Telegram when you get a chance to fix this!

Oh man, now I've gotta change a lot of stuff here haha.
I like the contracts.ts architecture for connecting all the contracts on the same place and just using them on each widget, without having to load them once and again.
I can still make this branch work 😆

I've gotta integrate the changes from the BondingV2 migration onto this branch.

Let's connect on a call today or tomorrow!


Inconsistent behavior or two ways of adding breakpoints: with mouse and with F9

Trying to add a breakpoint with mouse (it's appear in a wrong place), then successfully add/remove/add it with F9:

Unsure if this is a regression, but it's definitely not the right behavior.

So the cause of this behavior seems to be the GetBreakpointLocation being called twice.
With this as the only code in a scrip file:
let asyncGetString (s: string) = async {
    return s
}

let foo() =
    async {
        let! str1 = asyncGetString "hello"
        let! str2 = asyncGetString "world"
        let! str3 = asyncGetString "hey"

        match (str1, str2, str3) with
        | ("hello", "world", "hey") ->
            return str1 + str2 + str3
        | _ ->
            return str1 + str2 + str3 + "otherstuff"
    } |> Async.StartAsTask

If I set a breakpoint at any line within the async { } block,  GetBreakpointLocation will be called for the first time and determine that the correct line (after offsetting by 1 to account for Roslyn lines being 0-based).  But then it gets called again and always reports 6 as the line (again, after offsetting by 1).  This second call determines where the breakpoint is set.

Also of note - ResolveBreakpointAsync is called three times if you set a breakpoint with f9.  But it resolves the line number correctly each time.

wow. pure magic :(

Okay spoke with @cyrusnajmabadi about this, and this is indeed a bug in our code!  Yay!
The result of this line when called the first time produces a TextSpan that incorrectly represents the entire async { } block instead of the line which was clicked.  This is then given back to the debugger, which uses that value the next time it invokes us.  There are many reasons why the debugger can invoke us multiple times (and they are good reasons), but so long as we report the correct TextSpan back, that's good behavior.

Okay, root cause found:
Clicking to set a breakpoint at line 13 in my repro produces a pos object with {Line = 13, Column = 13}.  This makes sense, because it's at line 13 in the editor and it's in the margin.
When walking the parse tree in this call to validate the breakpoint location, two calls are made to checkRange.  The {Line,Column} range of the parse tree has the same line number as the pos object generated from the breakpoint twice while walking.
This call fails both times, because the pos object created by setting the breakpoint fails to meet the condition that its Column value is greater than or equal to the Start column value of the range it is being checked against.
This consistently causes f9 to fail as well.  This is a more general problem, and not limited to computation expressions starting on their own, tabbed-over line.  I can repeat this behavior in a number of places, such as hitting f9 anywhere outside the columnar range on this line and others like it.
Since the history of this code goes back to when VisualFSharp was first on GitHub, I have no context for the code which does this check.  @dsyme or @latkin, anything you can recollect?

@v2m might have background. Breakpoint ranges have always been flaky/bad in my recollection, so it might be best to just fix it however you see fit and not worry too much about the historical reasons it's flaky.

I think it's worth to take a look at how c# editor handle clicking on the margin and F9 out of any symbol, maybe it's as simple as looking ahead / back the line to peek the first one.

It's strange, I cannot reproduce it on hello world project on current master (the first breakpoint was set with F9, all the others - with mouse):

I've narrowed down this to a minimal repro:

OK

Fail

So it seems a bug in one specific branch of AST traversing.

The AST for the first binding is:
Binding
(null,NormalBinding,false,false,[],
 PreXmlDoc
   (Microsoft.FSharp.Compiler.Range+pos,
    Microsoft.FSharp.Compiler.Ast+XmlDocCollector),
 SynValData
   (null,SynValInfo ([],SynArgInfo ([],false,null)),
    null),
 Named
   (Wild Program.fs (5,8--5,9) IsSynthetic=false,x,
    false,null,
    Program.fs (5,8--5,9) IsSynthetic=false),null,
 App
   (NonAtomic,false,Ident async,
    CompExpr
      (false,{contents = false;},
       YieldOrReturn
         ((false, true),
          Const
            (Unit,
             Program.fs (8,23--8,25) IsSynthetic=false),
          Program.fs (8,16--8,25) IsSynthetic=false),
       Program.fs (7,18--9,13) IsSynthetic=false),
    Program.fs (7,12--9,13) IsSynthetic=false),
 Program.fs (5,8--5,9) IsSynthetic=false,
 NoSequencePointAtLetBinding)

for the second (failed)
Binding
(null,NormalBinding,false,false,[],
 PreXmlDoc
   (Microsoft.FSharp.Compiler.Range+pos,
    Microsoft.FSharp.Compiler.Ast+XmlDocCollector),
 SynValData
   (null,SynValInfo ([],SynArgInfo ([],false,null)),
    null),
 Named
   (Wild Program.fs (5,8--5,9) IsSynthetic=false,x,
    false,null,
    Program.fs (5,8--5,9) IsSynthetic=false),null,
 App
   (NonAtomic,false,Ident ignore,
    Paren
      (App
         (NonAtomic,false,Ident async,
          CompExpr
            (false,{contents = false;},
             YieldOrReturn
               ((false, true),
                Const
                  (Unit,
                   Program.fs (8,23--8,25) IsSynthetic=false),
                Program.fs (8,16--8,25) IsSynthetic=false),
             Program.fs (7,18--9,13) IsSynthetic=false),
          Program.fs (7,12--9,13) IsSynthetic=false),
       Program.fs (6,15--6,16) IsSynthetic=false,
       Some Program.fs (9,13--9,14) IsSynthetic=false,
       Program.fs (6,15--9,14) IsSynthetic=false),
    Program.fs (6,8--9,14) IsSynthetic=false),
 Program.fs (5,8--5,9) IsSynthetic=false,
 SequencePointAtBinding
   Program.fs (5,4--9,14) IsSynthetic=false)


"intelligent" parsing of exp_per_hour

only supporting "kk" exp/h may be rather limiting for low-level players, and OT players. a lvl 100 mage doesn't make nearly 1kk exp/h (or at least didn't back in 2010, when i retired from tibia)
it may also be rather limiting for OT players, I am currently playing an OT where i get ~1.4 billion exp/h, and yes i can write "1400kk" to get 1.4b, but it would be nice if i can just write 1.4b, and with this parser, i can 👍

I disagree. For 'low' levels you can use fractional values, nobody in the game makes less than 100k/h so they can easily just input 0.1.
Yes, in theory if every user was "intelligent" and read instructions and knew to enter k/kk/m/b/t or whatever, then this implementation in theory would be the 'cleaner' and more optimal solution, but the reality is that the average user is not "intelligent" and for vast majority of users and cases the simple default of 'kk' will be more useful. Expecting every user to enter the k/kk/m/b/t is unrealistic, even if it would be slightly better for a small minority of users (like yourself, who has values in B or T).
Thank you anyway but I strongly prefer current implementation for probably 95% of users/cases.
Also, while it doesn't make a difference in practice due to the return statements, I would prefer the implemetation to be 'else ifs' instead of just a bunch of 'ifs'.


Create a website using only HTML, CSS & JS.

Create a website that contains all the JS projects displayed in an ordered box.
something like this,

what kind of js project.  can you plz elaborate

You can check it out in the readme file.

do i have to arrange them like the above picture .

if yes then assign it to me ..

yes, make a redirection link to the host website and leave it blank.

Assigned, go ahead and make a good contribution

yes of course thank you.

Can I add a calculator project to it?

@Korak-Sengupta yes you can.

@KIET7UKE Can I add Random Colour Generator to the project?

@Geeky-Sam01 Yes, It is beginners friendly repository. You can add any of your JS projects. Go for it

There's already some projects in Javascript folder. Do we need to submit different one?

@harshk-codes Yes, you can submit any other projects which are not listed here.

@KIET7UKE okay, thanks

Can you please tell the reason or the problem related with this?
Thanks
Korak Sengupta
On Sat, 1 Oct, 2022, 1:37 pm Harsh Kumar, @.***> wrote:

@KIET7UKE https://github.com/KIET7UKE okay, thanks
—
Reply to this email directly, view it on GitHub
https://github.com/KIET7UKE/Hacktoberfest-2K22/issues/18#issuecomment-1264286061,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLRBLX36B4SK63BLUOZKATWA7WKVANCNFSM6AAAAAAQ2C5V2U
.
You are receiving this because you were mentioned.Message ID:
@.***>

@Korak-Sengupta Be specific on what you wanted to say.

@mehraankush any progress?

Sry, it got resolved, thank you.

@KIET7UKE  yeah i'm working on it

Any updates @mehraankush

can you explain which type of nav bar you wish for..

@mehraankush Any one of your choice.

any name you recommend for the web.

@mehraankush Hey, Why this is taking so long? Let me know if you having any issues.

haven't i made a PR alraedy ..

@mehraankush Yes, got it.


Call image handler when image is drag and dropped into the editor

Use the below code, then try drag and dropping an image into editor
const quill = new Quill('#editor', {
  toolbar: {
    handlers: {
      image: function() {
        console.log("called")
        let fileInput = this.container.querySelector('input.ql-image[type=file]');
        if (fileInput == null) {
          fileInput = document.createElement('input');
          fileInput.setAttribute('type', 'file');
          fileInput.setAttribute(
            'accept',
            'image/png, image/gif, image/jpeg, image/bmp, image/x-icon'
          );
          fileInput.classList.add('ql-image');
          fileInput.addEventListener('change', () => {
            if (fileInput.files != null && fileInput.files[0] != null) {
              // Do your own stuff here
            }
          });
          this.container.appendChild(fileInput);
        }
        fileInput.click();
      }
    }
  }
});

Expected behavior:
The image handler should be called, even if the image is dragged and dropped into the editor
Actual behavior:
The image handler is not  called,  if the image is dragged and dropped into the editor
Quill Version:
2.0.0-dev.4

Ok while I haven't found a direct solution. So as a workaround, I modified the uploader handler to call the image handler.
Eg:
editor.getModule('uploader').options.handler = (range, files) => {

    files.forEach((file) => {
        if (/^image\//.test(file.type)) { // Check if the file is an image
            uploadBlogImage(file)
        } else {
            // something else
        }
    });
}
editor.getModule('uploader').options.mimetypes = ['image/png', 'image/jpeg', 'image/gif', 'image/svg']

This does work to override the native handler, but how would you use it to run in addition to the native handler?
==> Meaning you still want the image to show up in the editor, but want other programmatic things to happen in addition.

@mark8044 you'll have to get uploaded image URL from server and then insert the image problematically.
Something like shown below
const range = editor.getSelection(true)
editor.insertText(range.index, '\n')
editor.insertEmbed(range.index + 1, 'image', {src: `${url}`, 'imgid': imgid})

That does work and does not actually need to be uploaded to the server first programmatically.  It inserts the encoded image perfectly.  thanks


all states go to "no data state" for 2015

So, we let people select it, but get all states rendered as "no data"

related to #53 this can be fixed if JSON has 2015 but all states are missing

in #101

call this done?


Fix a typo in khr cooperative matrix shader

I discovered the matrix shader have some issues under KHR. According to the glsl
specification, operands of matrix multiplication must be same of the
corresponding type.

The dimensions of A, B, and C, must form a valid matrix multiply (e.g.
the number of columns of A must match the number of rows of B). A, B,
and C must have the same scope. A's type must use gl_MatrixUseA.
B's type must use gl_MatrixUseB. C's type must use gl_MatrixUseAccumulator.
The type of the result matches the type of C.

This is not required for extensions under Nv. But
glsl_fp16_matrix_khr_8_8_16_data is correct, I believe it's a typo.

In master branch, 16x16x16 matrix shader is invalid:
spirv-val --target-env vulkan1.3 comp.spv
error: line 143: Cooperative matrix type must be B Type: CooperativeMatrixMulAddKHR
  %81 = OpCooperativeMatrixMulAddKHR %59 %78 %79 %80

After change, can pass spirv-val.

Thanks for your contribution !


Resolve build errors flagged by GCC 6.2

With GCC 6.2 compiler, more C undefined behaviour is being flagged as
warnings, which result in build errors in ARM TF build.
The specific issue that this patch resolves is the use of (1 << 31),
which is predominantly used in case statements, where 1 is represented
as a signed int. When shifted to msb the behaviour is undefined.
The resolution is to specify 1 as an unsigned int using a convenience
macro ULL(). A duplicate macro MAKE_ULL() is replaced.
Fixes ARM-software/tf-issues#438
Change-Id: I08e3053bbcf4c022ee2be33a75bd0056da4073e1
Signed-off-by: David Cunado<EMAIL_ADDRESS>(cherry picked from commit 9edac0479d562a5cb62b57961ad6288d0537e9f1)

Same problem with round_up() here as in https://github.com/linaro-swg/arm-trusted-firmware/pull/2, but I suppose we can ignore it.
Reviewed-by: Jens Wiklander<EMAIL_ADDRESS>

Squashed, rebased and tag(s) applied (should be) ready for merge! Thanks!


Comment out empty patches key

What this PR does / why we need it:
Fixes issues with running kustomize against config/default
Release note:
NONE

/assign @chuckha

@chuckha should be good to go now

/lgtm


Reworking tasks check to automatically grab tasks

@surma thoughts on this?

Cool stuff, @gauntface. LGTM. Rebase plox?


Cambios de traducción y mejoras (Improvements in Translations)

Distintas mejoras de traducción. Sobretodo el continuo uso de "Cuerdas" en vez de "Cadena" para el término de String.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@droxine Thank you for  creating this PR.  However, since it was created, the underlying document has changed.  Can you please review and resolve the current merge conflicts?  It could be the changes to the underlying document are so significant that your changes are no longer relevant.  If the latter is the case, it might be easier to just close this PR and create a new PR with any changes you still feel are important to make.
If you need any assistance or have questions about resolving the merge conflicts, please reply back or contact someone in the Contributors Room on Gitter.
Thank you

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Fix dataset id for MNIST

Attempting to load the MNIST dataset currently results in a somewhat confusing error Api error: Header etag is missing, which seems to be a symptom of the dataset simply not existing.
This can be reproduced with
use candle_datasets::vision::mnist;

fn main() {
    mnist::load().unwrap();
}

Thanks!


mysqlclient 9.0 not able to load mysql_native_password.so

Using mysqlclient 9.0 against old server using mysql_native_password fails.

According to the release note, mysql client will be backward compatible and the auth plugin change to a dynamic library.

Can you try v1.36.2?

@shogo82148 thanks for the fix. I've tested and it now succeeds on Ubuntu. But still fails with the same error on macOS. https://github.com/tidbcloud/ecosystem-integrations/actions/runs/9903666135/job/27359916603

@zhangyangyu try https://github.com/shogo82148/actions-setup-mysql/releases/tag/v1.36.3 please

@shogo82148 succeed on macos and ubuntu now. The last Windows has failure yet. https://github.com/tidbcloud/ecosystem-integrations/actions/runs/9922030023/job/27410766278

hmm, I looks that https://github.com/shogo82148/actions-setup-mysql/releases/download/v1.36.3/mysql-9.0.0-win32-x64.zip has "lib\plugin\mysql_native_password.ddl".
I don't know why it doesn't work :(

I know nothing about Windows, but I confirm the dynamic lib exists in the path. The only thing I suspect is powershell not able to correctly load the dll. So I tried LIBMYSQL_PLUGIN_DIR and seems it could work. See https://github.com/tidbcloud/ecosystem-integrations/actions/runs/9978219401/job/27574615014.

I hard code the dir for test. Setting it to $ToolPath/lib/plugin might be a choice.

Good news.
Let’s change actions-setup-mysql to set the LIBMYSQL_PLUGIN_DIR environment variable.

https://github.com/shogo82148/actions-setup-mysql/pull/1098

released https://github.com/shogo82148/actions-setup-mysql/releases/tag/v1.36.4

nice! everything works successfully now.

👍🏼


Shortcut Clarification

This updated removes the acceptable behavior of using conflicting paths for shortcuts by removing hierarchy IDs between nested resources. It also provides further clarification on shorcutting resources with inherit or default filters from the hierarchy.

@alexander-ivakhnenko I know you had some thoughts on this. Will wait for your feedback before merging.


FHEM devices after import not working

After successfull installation of ha-bridge i've configured my FHEM-server within the config of ha-bridge. I can see all devices under the "FHEM Devices" tab. When i import a device, it's not working. No test ist positive and it seems that ha-bridge doesn't contact the FHEM-server to set any value.
Defined HTTP-Devices work well with the FHEM server and ha-bridge.
How have i to import FHEM devices to not use HTTP devices?

Are there any errors in your log?

There were no errors. Don't know why, but after 24 hours now it works without restart or reboot? Thank you for your investigation.


Add Azure Active Directory as preconfigured auth provider to Saturn.Extensions.Authentication

This PR adds a default and customizable way to integrate Azure AD Auth into Saturn apps, like it already exists for GitHub and Google. Additionally a sample application is provided.

Awesome, thanks a lot!


Wrong attached storage device name in OpenStack

When we attach a volume as "/dev/vdb" (for example) it may appear on the guest machine with any other name (for example, "/dev/vdc"). That "slighlty" breaks our playbooks.
bug description https://bugs.launchpad.net/nova/+bug/1217874

@rida4 Could you please provide more info on what we're trying to do in which playbook? Usually so far it's been just adding everything as /dev/vdb if we run in from CLI

If you are adding an external volume like "/dev/vdb" (either via nova or Horizon), there is a high chance that it will be added exactly like "/dev/vdb".  But there is still a small chance that it will be added like "/dev/vdc" or something else.  In other words, nobody can guarantee you an exact path on the guest machine.  There is a bug for OpenStack already: https://bugs.launchpad.net/nova/+bug/1217874 .  It's a very old issue and I'm not sure it will be ever fixed.

Let's do a workaround and main thing - test it with TF - if it gets fixed
in latest openstack, it still might get a while for that fix to get to our
infra.
On Mon, Jun 1, 2015 at 3:44 AM, OleksandrBerchenko<EMAIL_ADDRESS>
wrote:

If you are adding an external volume like "/dev/vdb" (either via nova or
Horizon), there is a high chance that it will be added exactly like
"/dev/vdb". But there is still a small chance that it will be added like
"/dev/vdc" or something else. In other words, nobody can guarantee you an
exact path on the guest machine. There is a bug for OpenStack already:
https://bugs.launchpad.net/nova/+bug/1217874 . It's a very old issue and
I'm not sure it will be ever fixed.
—
Reply to this email directly or view it on GitHub
https://github.com/CiscoCloud/microservices-infrastructure/issues/399#issuecomment-107395943
.

You can use the following command to set the required device name (docs):
nova volume-attach <server> <volume> [<device>]

with Terraform it's possible to go this way:
provider "openstack" {
    user_name  = "admin"
    tenant_name = "admin"
    password  = "pwd"
    auth_url  = "http://myauthurl:5000/v2.0"
}

resource "openstack_blockstorage_volume_v1" "volume_1" {
  region = "my_region"
  name = "tf-test-volume"
  description = "first test volume"
  size = 1
}

resource "openstack_compute_instance_v2" "test-server" {
  name = "tf-test"
  image_id = "image_id"
  flavor_id = "flavor_id"
  key_pair = "my_key_pair_name"
  security_groups = ["test-group-1"]
  volume {
    volume_id = "${ openstack_blockstorage_volume_v1.volume_1.id }"
    device = "/dev/vdd"
  }
}

Run usual terraform plan and terraform apply and check the instance attachments:
cinder show tf-test-volume|grep device

It should be /dev/vdd as to this example.

This is likely caused by UUID, or path changing due to how the hypervisor handles the drives. RHEL7 variants really should not suffer from this anymore...
If we could verify cause on a server this occurs on we could guarantee a persistent naming method using udev rules.
In the interim we could just slap a label on the disks, or force the naming to be by path.
If we do this via TF i think the remote_exec provisioner may be ideal for it.. something like;
`
resource "openstack_compute_instance_v2" "test-server" {
name = "tf-test"
image_id = "image_id"
flavor_id = "flavor_id"
key_pair = "my_key_pair_name"
security_groups = ["test-group-1"]
volume {
volume_id = "${ openstack_blockstorage_volume_v1.volume_1.id }"
device = "/dev/vdd"
}
provisioner "remote-exec" {
inline = [
"(lsblk -I 8 -o NAME,UUID -> array; for x in array[@]; do echo
KERNEL==”sd?1″, SUBSYSTEM==”block”, PROGRAM==”/bin/lsblk -o UUID /dev/$parent | grep -v -e UUID -e '^$'”, RESULT==”$(array[UUID]) ″, SYMLINK+=”vdd%n" >> /etc/udev/rules.d/25-persistent-vdisknames-conf)"
]
}
}
The above is far from correct or even close - but just wanted to get a pseudo though out there.
References:
https://dbakerber.wordpress.com/2014/08/08/udev-rules/ (the above theory more or less)
https://wiki.archlinux.org/index.php/Persistent_block_device_naming
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/persistent_naming.html

Workarounded in qa/features-master-integration branch (https://github.com/CiscoCloud/microservices-infrastructure/pull/513).
Closing.


Support right-to-left text and layout rendering

Mostly realized this as I was about to put a translation label left of the data for it and thought about adding functionality to the template helpers so that we can use placeholders in the translation strings.
aka:
{{i18n Welcome "Name" $name}} can be use with  Welcome = "Hello .Name" translations
but I wasn't sure how to prioritize because I was unsure about the layout supporting it or not.


Intermittently, node enters phase NotReady

Intermittent node enters phase NotReady
Kubelet of one of the nodes in cluster on Packet has entered following state where it gets into NotReady intermittently. Here are the kubelet logs which shows the multiple retries that kubelet does to update status of the node with apiserver.
Errors like these are seen: Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?timeout=10s: context deadline exceeded.
And after error: failed to update lease using latest lease, fallback to ensure lease, err: failed 5 attempts to update node lease I think it reports the node to be NotReady by applying following taint:
[FIRING:1] Monitoring Event Notification
Alert:  - warning
 Description:
 Details:
  • alertname: KubeNodeUnreachable
  • effect: NoSchedule
  • endpoint: http
  • instance: <IP_ADDRESS>:8080
  • job: kube-state-metrics
  • key: node.kubernetes.io/unreachable
  • namespace: monitoring
  • node: worker-2
  • pod: prometheus-operator-kube-state-metrics-74f47948f9-js5gb
  • prometheus: monitoring/prometheus-operator-prometheus
  • service: prometheus-operator-kube-state-metrics
  • severity: warning

Snippet of logs from kubelet on the node.
May 19 10:32:16 worker-2 sh[1239]: E0519 10:32:16.351269    1244 controller.go:178] failed to update node lease, error: Put https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
May 19 10:32:16 worker-2 sh[1239]: E0519 10:32:16.802493    1244 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?resourceVersion=0&timeout=10s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
May 19 10:32:26 worker-2 sh[1239]: E0519 10:32:26.351497    1244 controller.go:178] failed to update node lease, error: Put https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
May 19 10:32:26 worker-2 sh[1239]: E0519 10:32:26.351606    1244 event.go:269] Unable to write event: 'Patch https://foobar-private.lokomotive.io:6443/api/v1/namespaces/projectcontour/events/contour-78cd9f64f-79r44.161056bed4b390d7: read tcp <IP_ADDRESS>:50876-><IP_ADDRESS>:6443: use of closed network connection' (may retry after sleeping)
May 19 10:32:27 worker-2 sh[1239]: E0519 10:32:27.352027    1244 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?timeout=10s: context deadline exceeded
May 19 10:32:36 worker-2 sh[1239]: E0519 10:32:36.351862    1244 controller.go:178] failed to update node lease, error: Put https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
May 19 10:32:37 worker-2 sh[1239]: E0519 10:32:37.352425    1244 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
May 19 10:32:46 worker-2 sh[1239]: E0519 10:32:46.352115    1244 controller.go:178] failed to update node lease, error: Put https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
May 19 10:32:47 worker-2 sh[1239]: E0519 10:32:47.352796    1244 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
May 19 10:32:56 worker-2 sh[1239]: E0519 10:32:56.352254    1244 controller.go:178] failed to update node lease, error: Put https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: context deadline exceeded
May 19 10:32:56 worker-2 sh[1239]: I0519 10:32:56.352272    1244 controller.go:106] failed to update lease using latest lease, fallback to ensure lease, err: failed 5 attempts to update node lease
May 19 10:32:56 worker-2 sh[1239]: I0519 10:32:56.755538    1244 topology_manager.go:219] [topologymanager] RemoveContainer - Container ID: 56d0e2fcb122513010b2d95240f3cfbb8047725d909b55e698cfa65a969edd81
May 19 10:32:57 worker-2 sh[1239]: E0519 10:32:57.353282    1244 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
May 19 10:32:57 worker-2 sh[1239]: E0519 10:32:57.353304    1244 kubelet_node_status.go:389] Unable to update node status: update node status exceeds retry count
May 19 10:32:59 worker-2 sh[1239]: E0519 10:32:59.643880    1244 event.go:269] Unable to write event: 'Patch https://foobar-private.lokomotive.io:6443/api/v1/namespaces/projectcontour/events/contour-78cd9f64f-79r44.161056bed4b390d7: dial tcp <IP_ADDRESS>:6443: i/o timeout' (may retry after sleeping)
May 19 10:33:06 worker-2 sh[1239]: E0519 10:33:06.352450    1244 controller.go:136] failed to ensure node lease exists, will retry in 200ms, error: Get https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
May 19 10:33:16 worker-2 sh[1239]: E0519 10:33:16.553154    1244 controller.go:136] failed to ensure node lease exists, will retry in 400ms, error: Get https://foobar-private.lokomotive.io:6443/apis/coordination.k8s.io/v1/namespaces/kube-node-lease/leases/worker-2?timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
May 19 10:33:16 worker-2 sh[1239]: W0519 10:33:16.911359    1244 status_manager.go:556] Failed to get status for pod "contour-78cd9f64f-79r44_projectcontour(a5dbbb38-0cce-4517-ab26-116e8e197e5a)": Get https://foobar-private.lokomotive.io:6443/api/v1/namespaces/projectcontour/pods/contour-78cd9f64f-79r44: dial tcp <IP_ADDRESS>:6443: i/o timeout
May 19 10:33:17 worker-2 sh[1239]: E0519 10:33:17.354068    1244 kubelet_node_status.go:402] Error updating node status, will retry: error getting node "worker-2": Get https://foobar-private.lokomotive.io:6443/api/v1/nodes/worker-2?resourceVersion=0&timeout=10s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

These errors show up after a specific time period. And they are consistent.

The root cause was not discovered, but we believe that it could have been some networking issue on the machine or switch, so we simply recreated those machines and things seem fine.


Multi-line labels

I can't find any info about creating multi-line text. Is that possible?

Not yet! Pull requests welcome :smile:


Error while installing sigploit requirements from requirements.txt file .

Unable to install sigploit . It's showing error . Here is the screenshot of the full log . Please help to install it .

Youse python 2.7 and install modules from sources

While installing requirements manually I found that the problem is in pysctp library . it's showing error while installing pysctp using pip . so what to do now ????? please help .

If you installed it via pip, some how its not finding it, so please install it from source


image "ghcr.io/kvaps/linstor-stork:v1.12.5" not found

Trying out this project, as it ought to be simpler in comparison with piraeus,
looks like values.yml version of stork should be v1.12.3 to me
thanks,

Okay, there is some problems with the building, there is no changes so I just retaged previous image.
Thank you for the report!


response header issue

response header is not Headers object, but a plain js object.
headers from server:
Set-Cookie →main[UTMPUSERID]=xxx; path=/; domain=.xxx.net
Set-Cookie →main[UTMPKEY]=19112781; path=/; domain=.xxx.net
Set-Cookie →main[UTMPNUM]=10376; path=/; domain=.xxx.net
Set-Cookie →main[PASSWORD]=b%2525uW%257EB%2502%257C%2505zXPY%255Cu%257Fw%252B%2528%253C%255E%2506%255E_; path=/; domain=.xxx.net
and  header object from rn-fetch-blob response:
{
'Set-Cookie': 'main[PASSWORD]=b%2525uW%257EB%2502%257C%2505zXPY%255Cu%257Fw%252B%2528%253C%255E%2506%255E_; path=/; domain=.xxx.net'
}
the correct header should be
{
'Set-Cookie': 'main[UTMPUSERID]=xxx; path=/; domain=.xxx.net,main[UTMPKEY]=19112781; path=/; domain=.xxx.net,main[UTMPNUM]=10376; path=/; domain=.xxx.net,main[PASSWORD]=b%2525uW%257EB%2502%257C%2505zXPY%255Cu%257Fw%252B%2528%253C%255E%2506%255E_; path=/; domain=.xxx.net'
}
any idea?

Having this same issue, according to https://developer.mozilla.org/en-US/docs/Web/API/Headers there should be at least a getter/setter for the response.headers but it does not exist. This makes it hard to use react-native-fetch-blob as a drop-in replacement for the Fetch API in React Native.


Update README.md

"android:allowBackup" isn't the replacement value. it should be "android:label"

@SrilalS Your Pull Request has been merged successfully. Thank you for the contributions!


[Try] Failed to access console.

#263 I also ran into this problem.
environment
Os: Arch Linux (5.15.12-arch1-1)
Shell: fish (3.3.1-1)
WM: bspwm (0.9.10-1)
ly Version: (0.5.3-0 ly install and run through AUR )
I make sure that the .xinitrc file has execute permissions and #!/bin/sh.
My .xinitrc file content:
#!/bin/sh

...(Ignore the contents of the X11 default startup script)...

export _JAVA_AWT_WM_NONREPAPENTING=1
export GDK_BACKEND=X11
exec bspwm

The following is the information of "journalctl --user --follow"
ly[3965]: pam_systemd_home(ly:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
ly[3965]: pam_unix(ly:session): session opened for user xiaoqi(uid=1000) by xiaoqi(uid=1000)
ly[3965]: pam_systemd(ly:session): Failed to create session: Access denied
ly[3965]: pam_env(ly:session): deprecated reading of user environment enabled
ly[3965]: pam_unix(ly:session): session closed for user xiaoqi

What should i do to get him back to normal?

All my "journalctl" execution information:
https://gist.github.com/wwxiaoqi/b9a7a64f744b89fb517ed2f2afa3f8f4

All my "journalctl" execution information:
https://gist.github.com/wwxiaoqi/b9a7a64f744b89fb517ed2f2afa3f8f4

I'm having the same issue with openbox.

Same issue here, seems to still be an issue. Setup my arch from scratch and ly doesn't work, on another laptop that I setup with archinstall it does run perfectly fine

I had this issue with Make Run, but when i did the rest of the steps (with the modification of doing sudo to install systemd stuff) it worked nicely. (Had to do a command to be able to have SELinux play nicely but it works so *shrugs)

anyone has a solution for this?
Ran into the same problem, falling back to gdm service for now.
Ly compiled from source
OS: Fedora Linux 39 (Workstation Edition) x86_64
Kernel: 6.6.13-200.fc39.x86_64
Ly version v0.6.0.r4.g4ee2b3e

anyone has a solution for this?
Ran into the same problem, falling back to gdm service for now.
Ly compiled from source OS: Fedora Linux 39 (Workstation Edition) x86_64 Kernel: 6.6.13-200.fc39.x86_64 Ly version v0.6.0.r4.g4ee2b3e

It may appear, you can try to reinstall it


Validation scope for filter and per page inputs

Thanks a lot for you work. I looked into it and there will have to be actualy more changes needed. For example:
Validation scope can be set only on submit button. All ajax actions and autosubmits are called on the form, not on some button - there is no general submit. So I will have to add a submit button that will be displayed all the time. I also changed the assets, so the autosubmits are calling submit on these buttons. But! I am now stuck on validating the InlineEdit/Add. It does not throw an validation error even with correct validation scope set. :D I will dive into it tomorrow.
Appreciate your work though :)

Just for info, I pushed this working version into the branch validation-scope-fixes.


Cannot fetch multi-container pod logs by selector

kubectl version:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.1", GitCommit:"b0b7a323cc5a4a2019b2e9520c21c7830b7f708e", GitTreeState:"clean", BuildDate:"2017-04-03T20:44:38Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.1", GitCommit:"b0b7a323cc5a4a2019b2e9520c21c7830b7f708e", GitTreeState:"clean", BuildDate:"2017-04-03T20:33:27Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}

What happened:
When attempting to fetch the logs of a pod using a selector kubectl seems to demand a container name, but then does not allow a container name to be passed.
$ kubectl logs --selector app=kube-dns
Error from server (BadRequest): a container name must be specified for pod kube-dns-2325730542-99bh1, choose one of: [kubedns dnsmasq dnsmasq-metrics healthz]
$ kubectl logs --selector app=kube-dns --container  kubedns
error: a container cannot be specified when using a selector (-l)

What you expected to happen:

With kubectl logs --selector app=kube-dns I expected to see the logs for all containers in all my kube-dns labeled pods.
With kubectl logs --selector app=kube-dns --container  kubedns I expected to see the logs for all the kubedns containers in all my pod kube-dns labeled pods.

Also acceptable would be if one of those two commands failed with one of the above errors, but then the other command worked.
How to reproduce it:
Attempt to get logs for a multi-pod container using a selector.

@shiywang IIRC you implement this feature, can you look into this?

/assign

FYI https://github.com/kubernetes/kubernetes/pull/45275

Yeap, please review https://github.com/kubernetes/kubernetes/pull/45275

For anyone else looking at this issue, it seems https://github.com/kubernetes/kubernetes/pull/44282 will resolve this, and https://github.com/kubernetes/kubernetes/pull/45275 will also be really helpful. Given that seems https://github.com/kubernetes/kubernetes/pull/44282 has been merged, I'm going to close this issue.

@mnussbaum Since PR https://github.com/kubernetes/kubernetes/pull/45275 was abandoned by its author, I created https://github.com/kubernetes/kubectl/issues/371 to track it separately.


tests require a pytest version > 4.6.11

Haven't check which are the deciding parts and when they were introduced, but with pytest 4.6.11 make check fails early, while it passes fine with 6.2.2. That requirement isn't documented or checked anywhere as far as I can tell.
The log below is with python-3.9 but it's the same with 3.8:
make test
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.9.2, pytest-4.6.11, py-1.10.0, pluggy-0.13.1
benchmark: 3.2.3 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /var/tmp/paludis/build/dev-python-Pygments-2.8.1/work/PYTHON_ABIS/3.9/Pygments-2.8.1
plugins: cov-2.7.1, forked-1.0.1, flake8-1.0.0, xdist-1.26.0, expect-1.1.0, requests-mock-1.7.0, localserver-0.4.1, flaky-3.7.0, benchmark-3.2.3, isort-0.2.0, codestyle-2.0.1, hypothesis-4.51.0, pyfakefs-4.4.0
collecting ... ^Mcollected 0 items / 1 errors

================================================================================== ERRORS ==================================================================================
______________________________________________________________________ ERROR collecting test session _______________________________________________________________________
/usr/lib/python3.9/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.9/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
tests/examplefiles/conftest.py:26: in pytest_collect_file
    return LexerTestFile.from_parent(parent, fspath=path)
E   AttributeError: type object 'LexerTestFile' has no attribute 'from_parent'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================================= 1 error in 0.35 seconds ==========================================================================
make: *** [Makefile:51: test] Error 2

Good catch. I'm running it with 6.0, so I've bumped it in the requirements.txt. Is that enough for you?

Yes, thanks!


Keyword page: remove LTER Controlled Vocabulary description

remove "or select one from the LTER ...."

Outdated part of the string has been removed.


Suggestion: add the ability not to hide other Obsidian windows

Hi,
thank you very much for your plugin, very useful when too many tabs open !
I'm often working with two obsidian windows open on different monitors. But, since this plugin is hiding others tabs, it hides other windows as well, whereas it may be useful to see multiple tabs in the same time.
Do you think it's possible to fix it ?
Thanks again,

Thank you for your feedback! I’m glad to hear that you find the plugin useful.
I understand the issue. I’ll look into this, but it might take some time to find a solution. I appreciate your patience, and I’ll keep you updated on any progress.

@sql99
I've implemented support for multi-window in version v0.6.0 (#27).
Could you please check if this resolves the issue on your end?

Thank you! Work Great!
Il giorno dom 15 set 2024 alle ore 10:19 o02c @.***> ha
scritto:

@Trebuchosaure https://github.com/Trebuchosaure
I've implemented support for multi-window in version v0.6.0 (#27
https://github.com/o02c/obsidian-tab-navigator/pull/27).
Could you please check if this resolves the issue on your end?
—
Reply to this email directly, view it on GitHub
https://github.com/o02c/obsidian-tab-navigator/issues/24#issuecomment-2351459928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKMYQYPQHNE6OXFLJCDTY73ZWU7JLAVCNFSM6AAAAABMVYGTHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRGQ2TSOJSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[WIP] refactor(Prowler): Main logic refactor

Context
Please include relevant motivation and context for this PR.
Description
Please include a summary of the change and which issue is fixed. List any dependencies that are required for this change.
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.


 And can u tell me where can i configure it? I download the mod in r2modman and my English is not very well,thank you!

The configuration I'm talking about is configuring this mod. I don't know where to configure it.

The configuration I'm talking about is configuring this mod. I don't know where to configure it.

I do not use r2modman so I could not tell you sorry but it is the same place as other configs. Mine is GoldenKitten.GetLootForKIlls.cfg

我说的配置就是配置这个mod。我不知道在哪里配置它。

我不使用 r2modman，所以我无法告诉你抱歉，但它与其他配置是相同的地方。

我说的配置就是配置这个mod。我不知道在哪里配置它。

我不使用 r2modman，所以我无法告诉你抱歉，但它与其他配置是相同的地方。

Let me fix that then thank you for letting me know

我说的配置就是配置这个mod。我不知道在哪里配置它。

我不使用 r2modman，所以我无法告诉你抱歉，但它与其他配置是相同的位置。我是GoldenKitten.GetLootForKIlls.cfg

但我无法杀死重击者。它是不朽的！

让我解决这个问题，然后谢谢你告诉我

Did the mod you updated today fix anything?Yesterday I  encountered the same problem that person encountered before, which was that dogs were immoptal and dropped unlimited loot.

我说的配置就是配置这个mod。我不知道在哪里配置它。

我不使用 r2modman，所以我无法告诉你抱歉，但它与其他配置是相同的位置。我是GoldenKitten.GetLootForKIlls.cfg

但我无法杀死重击者。它是不朽的！

让我解决这个问题，然后谢谢你告诉我

Did the mod you updated today fix anything?Yesterday I encountered the same problem that person encountered before, which was that dogs were immoptal and dropped unlimited loot.

Hmm I have no clue why my mod would cause this but I will have to look more into it. I thought I fixed it with todays update but it is hard to test when I mainly test myself. Will get back to you on this

Fully tested this new update by myself in lan and it seems to work fine. Do not be alarmed by the values not showing correctly for clients the values are correct when selling them.


using dperf to test bandwidth on ARM and x86 server

1.Compile dperf/dpdk on arm/x86 servers with 100GB cx5/cx6 network cards.
2.Guide and configuration for bandwidth test with dperf.

You are welcome to write your name and email on your article, if you like

Thanks, a pull request(https://github.com/baidu/dperf/pull/155) for this.


create ca_riverside_county_sheriff

Additional details
Related pull request(s)

#00

ca_riverside_sheriff_rapid.zip
Riverside done as a one-off, single-time run with non-conformant code.


How can I monkey patch Slick ?

When loaded as a module, window.Slick isn't accessible.
How can I change the prototype of Slick without editing the lib ?

Hey I'm closing this because it's a support request but I've done stuff like  $(element)[0].slick.changeSlide = function(a){...yada...} which might be in the ballpark of what you're looking for.

@leggomuhgreggo do you have a working way to do handle this? $(element)[0].slick.changeSlide = function(a){...yada...} isn't working, also don't understand how it would work.

Depends on what you're trying to do; that was just an example, the full version of which can be found here.

Trying to manually change the slide of the slider outside of clicking the dots, arrows, etc... Is that possible?

Check out the public methods


Shorten nox virtualenv names to avoid hashing.

w00t! LGTM once CI goes green. (I also want to make sure CircleCI runs all the packages, which might keep it from going green, boo.)
/cc @jonparrott

Just curious, since I use nox in another repo, can you explain what "avoid hashing" means here?  What were the old dirnames and why were they bad?

@duggelz It'd be easier to just have @jonparrott explain, but I'll try. AFAIK, on Unix (or maybe just in Bash?) there is a limit on the length of a shebang line. So, when nox creates a directory /my/path/.nox/my-kind-of-long-test-name-param-3.1, it checks if the total length of that path is "too long". If it is "too long", then nox will automatically replace my-kind-of-long-test-name-param-3.1 with some shortened hash.

@dhermes is right, see https://github.com/pypa/pip/issues/1773 and https://github.com/jonparrott/nox/commit/b9a6af03f08d88e23466ce474a27cbf9a598da24


Wrong enum declaration for CGEventType

Problem
CGEvent::new_mouse_event is not working
Reason
The values for CGEventType are denoted as
// Mouse events.
    LeftMouseDown = 1 << 1,
    LeftMouseUp = 1 << 2,
    RightMouseDown = 1 << 3,
    RightMouseUp = 1 << 4,
    MouseMoved = 1 << 5,
    LeftMouseDragged = 1 << 6,
    RightMouseDragged = 1 << 7,

etc.
which seems to be wrong. I think the declaration for e.g. NX_MOUSEMOVED was confused with NX_MOUSEMOVEDMASK
If i look at like CGEventCreateMouseEvent from CGEvent.h it takes a CGEventType and CGEventType in CGEventTypes.his declared like this
typedef CF_ENUM(uint32_t, CGEventType) {
  ...
  /* Mouse events. */
  ...
  kCGEventMouseMoved = NX_MOUSEMOVED,
  ...
}

not NX_MOUSEMOVEDMASK
a minimal program shows the effect. If i use 5 for mousemoved – the value of NX_MOUSEMOVED –  instead of the values that is declared in CGEventType 1<<5 it works
extern crate core_graphics;
extern crate libc;

use self::core_graphics::display::*;
use self::core_graphics::event::*;
use self::core_graphics::geometry::*;
use self::core_graphics::event_source::*;

use std::ptr;
use libc::*;

#[link(name = "ApplicationServices", kind = "framework")]
extern {
    fn CGEventCreateMouseEvent( source: CGEventSourceRef,
                                mouseType: uint32_t,//mouseType: CGEventType,
                                mouseCursorPosition: CGPoint,
                                mouseButton: CGMouseButton) -> CGEventRef;

    fn CGEventPost(tapLocation: CGEventTapLocation, event: CGEventRef);
}

fn main() {

    let x = 100.0;
    let y = 100.0;

    let MouseMoved = 5;

    unsafe {
        let mouse_ev = CGEventCreateMouseEvent(
            ptr::null(),
            MouseMoved, //CGEventType::MouseMoved,
            CGPoint::new(x, y),
            CGMouseButton::Left
        );

        if mouse_ev.is_null() {
            println!("ref null");
        }

        CGEventPost(CGEventTapLocation::HID, mouse_ev);
    }
}

I agree. Want to make a PR to fix that enum?

Sure!

As the PR regarding this issue is merged into master i guess we should close it? Just as a side question, do you consider a release to crates.io anytime soon? I am interested in the functionality added by https://github.com/servo/core-graphics-rs/commit/52952115c1ddb103ebe5986de7ba5f39709fbfe0 ... you guys have quite some gap since the last one.
best regards.

Sorry! It's really easy to forget about cargo releases. We often release whenever someone asks us for a new one.

what is the right way to ask for .. just create a new issue or just on #servo @irc.mozilla.org
? Don't want to pollute the issues here.  ... and i hereby ask for a new one ;)

Filing an issue is fine. In this case I've already opened #84 and I'll publish once it's merged.

(for the record, this was fixed by #74.)

Published.


Events time not displaying as expected and inconsistenly

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Events that span multiple days but are not all day events do not display their time in a consistent manner in events view.
For instance, Upcoming events show ', until  ' as expected, but ongoing events just display 'Until ' and if it's the end day of the event it's ' - ' which doesn't make sense!
Expected behaviour
Upcoming events are working as expected, ongoing events should do one of the following for the duration
For events that continue past the current day
My preferred:
Until
Current:
Until
Mult-day events that end at a specific time today should be listed as:
00:00 -
Or
Until
Steps To Reproduce
Create events on a calendar that span multiple days with start and end times (that is, not marked as All-Day events)
Card Version
v7.0.1
Home Assistant Version
2022.10.0
Configuration
type: custom:atomic-calendar-revive
name: 7925 Downstairs Calendar
enableModeChange: true
entities:
  - entity: calendar.rental_control_h4_7925_downstairs
    color: cyan
    icon: mdi:home-floor-a
    name: Rental Control H4 - 7925 (downstairs)
  - entity: calendar.rental_control_h4_7925_upstairs
    color: purple
    icon: mdi:home-floor-b
    name: Rental Control H4 - 7925 (upstairs)
  - entity: calendar.rental_control_h4_7925_r21
    color: magenta
    icon: mdi:home-floor-g
    name: Rental Control H4 - 7925 (R21)
firstDayOfWeek: 1
maxDaysToShow: 60
refreshInterval: 60
sortByStartTime: false
showCurrentEventLine: false
showMonth: true
showWeekDay: true
showFullDayProgress: true
showEventIcon: true
showNoEventsForToday: true
disableCalLink: true
disableCalEventLink: true
disableLocationLink: true
disableEventLink: true
showHiddenText: false
showDate: true
hideFinishedEvents: false
showRelativeTime: true
showLocation: true
dimFinishedEvents: true
showProgressBar: true
disableCalLocationLink: true
showWeekNumber: false
showCalendarName: false

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Example of what I'm seeing

Checked this and it is working in my latest build, hoping to get that released today.


Update sign in and create account partials

Update the sign in and create account partials to look like the wireframe: https://h90c3m.axshare.com/#g=1&p=home__email_primary_
Do not add the 'Recovery email' at this time.

@briri I discussed with @stephaniesimms that we need some more contextual information in the drop down sign in menu. We'll create a new wireframe for you.

issue created for new wireframe in UX column on board #62
for this issu:

add the "Show password" tickbox to Create Account only, just below the pw field and above the box to accept terms (screenshot 1).
add a space between the Forgot email? and Forgot pw? links, or maybe try stacking them instead for the Sign In tab (screenshot 2)

is it possible to add the Show password tickbox to the Create account modal @briri ? If so please do. Sign In links look good.
add the "Show password" tickbox to Create Account only, just below the pw field and above the box to accept terms (screenshot 1 above)

looks good. closing issue.


Improve error handling in Provider.

Log impl loading results.
Fall back to default only if class not found, which is considered a
normal case.  If the class does exist, it is intended to be loaded
successfuly, thus other exceptions should be treated as error and thrown
to the caller.

@dinooliva


📊 Epoch AI datasets on large-scale AI models

Looks good! This is a new dataset, not an update, right?

It's a new dataset but with very similar code to another dataset that I've decided not to use (hence the question on slack). No related published charts yet!


refactor(discussions): optimize graphql queries

This PR covers a few optimization items

combine graphql queries for discussion state and discussion url
extract function to perform filtering of results to a specific discussion node (reduce code duplication)
combine types
use client-side include directive to skip over-fetching comments/replies when not required
use graphql query variables instead of inline string building - closes #830

coveralls does it again 😅

@afonsojramos - would you mind re-reviewing this when you get a chance please.  I've incorporated your previous feedback.


Implemented field square root op via Tonelli-Shanks

Closes #13

Codecov Report

Merging #16 (c5add28) into main (d633c6c) will decrease coverage by 0.18%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
- Coverage   90.28%   90.11%   -0.18%
==========================================
  Files          40       41       +1
  Lines        5272     5282      +10
==========================================
  Hits         4760     4760
- Misses        512      522      +10

Impacted Files
Coverage Δ

src/math/field/sqrt.rs
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

closed in favor of https://github.com/lambdaclass/lambdaworks/pull/290


Update version to 1.0.90-3 on staging

Update version to 1.0.90-3

🚀 Deployed to staging by @OSBotify in version: 1.0.90-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

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

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Fix lib.rs link format

Fix wrong links format.
Currently, when performing: cargo doc, the next warnings are raised:
warning: this URL is not a hyperlink
   --> src/lib.rs:322:35
    |
322 | /// V1 maximum size is 263 bytes: https://mavlink.io/en/guide/serialization.html
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://mavlink.io/en/guide/serialization.html>`
    |
    = note: bare URLs are not automatically turned into clickable links
    = note: `#[warn(rustdoc::bare_urls)]` on by default

warning: this URL is not a hyperlink
   --> src/lib.rs:508:35
    |
508 | /// V2 maximum size is 280 bytes: https://mavlink.io/en/guide/serialization.html
    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://mavlink.io/en/guide/serialization.html>`
    |
    = note: bare URLs are not automatically turned into clickable links

@antonio-sc66 can you squash the commits ?

It's squashed now


Simplify default database resolution in sqlite

This greatly simplifies how labels are resolved to connection creators in factor-sqlite.
Instead of treating default labels as something special, the factor loses all knowledge of "default" labels. The label to connection creator mapping resides entirely inside of the factor's runtime config. The sqlite factor's runtime config was previously responsible for label to connection creator mapping for all database labels except for the default one. Now it handles the default one as well.
This removes the very notion of a "default" labeled database from the factor and instead moves that to a higher level concern (how the runtime configures each factors runtime config).
The tests for the sqlite factor have also be massively simplified as they no longer use the Spin CLI's notion of runtime config toml and instead just supply the runtime config directly. This makes it much easier to understand the what the test is actually testing.
If you're happy with this approach, I'd like to also do the same thing for key-value.

@rylev Just to confirm I'm reading the code right: this doesn't change the user experience, right?  It's solely moving the implementation of that user experience to a different part of the code.

@itowlson correct if by "user" you mean "user of the Spin CLI" - this is purely a library change so it will change the experience for those using Spin as a library building their own Spin compliant runtime.

@rylev Yes, sorry, I should have been clearer.  Thanks for clarifying - sounds good!


Zed process off the charts after running code from terminal

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
Whenever I run the app I'm currently developing on Zed from the terminal, Zed process goes out of control. All the files related to my project are opened, including large json files, which I suspect could be the cause of Zed's erratic behaviour. Could be related to #1944 or #480.

Environment
Zed: v0.100.1 (stable)
OS: macOS 13.5.1
Memory: 16 GiB
Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

cc @mikayla-maki


CLI 1.5.0 Live Reload Issues When Using Reverse Proxy

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [x] feature request

Versions.

Angular CLI: 1.5.0
Node: 6.11.2
OS: darwin x64
Angular: 5.0.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cdk: 2.0.0-beta.12
@angular/cli: 1.5.0
@angular/material: 2.0.0-beta.12
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.0
typescript: 2.4.2
webpack: 3.8.1

Repro steps.

I have a tomcat on port 8080 serving the API the angular app (running  on 4200) feeds from. I have an apache running on port 8888 with a reverse proxy like configured as shown below:
ProxyRequests On
ProxyVia On

ProxyPreserveHost On

    ProxyPass /app http://localhost:4200/
    ProxyPassReverse /app http://localhost:4200/

    ProxyPass /guest http://localhost:3000/
    ProxyPassReverse /guest http://localhost:3000/

    ProxyPass / http://localhost:8080/
    ProxyPassReverse / http://localhost:8080/

Essentially, I have set up to access the angular app on localhost:8888/app.
Prior to upgrading to Angular 5 and cli 1.5.0 it was all working fine. Now, the live reload stopped working. The rest of the app and processes keep working as expected.
Prior to upgrading, I ran angular with ng serve --host=<IP_ADDRESS> --deploy-url=/app/ --base-href=/app. As mentioned that stopped working and I've tried a number of command/param configurations without success. Here are some of my attempts to have it working...

ng serve --host '<IP_ADDRESS>' --deploy-url '/app' --base-href '/app' --serve-path '/app'
ng serve --host <IP_ADDRESS> --deploy-url /app --base-href /app --serve-path /app
ng serve --host <IP_ADDRESS> --deploy-url /app --base-href /app --public-host http://localhost:8888/app
ng serve --host <IP_ADDRESS> --deploy-url /app --base-href /app --public-host http://<IP_ADDRESS>:8888/app
ng serve --host <IP_ADDRESS> --deploy-url /app --base-href /app --live-reload-client http://localhost:8888/app
ng serve --deploy-url /app --base-href /app --live-reload-client http://localhost:8888
ng serve --host=<IP_ADDRESS> --deploy-url=/app --base-href=/app --public-host=http://localhost:8888/app --disable-host-check --aot

I believe the issue to be related to cli 1.5, since it was working correctly just before upgrading.
The log given by the failure.

Browser's (chrome, in this case) console shows the following:
http://localhost:8888/sockjs-node/info?t=1509897420616 404 (Not Found) (zone.js:2933)
[WDS] Disconnected! (client:164)

Changing files no longer refreshes the browser
Desired functionality.

The server and live reload to continue to work regardless of proxying or for the params to help configure the server to work through the proxy correctly.
Mention any other details that might be useful.

FYI. Mainly — but not exclusively — use this setup to avoid CORS issues and so that the app serving the API (running on 8080) writes the auth cookie and the angular app requests go through as authenticated.
This seems somehow related to #6440 but that one continues unsolved, the issue is not exactly the same and is on an older version of cli. I actually had the proxy working fine prior to upgrading to cli 1.5.0

Thanks.

Try ng serve --base-href /app --serve-path / --public-host http://localhost:8888/app
serve-path represents the path that the dev server itself will serve the app.  It defaults to a combination of the base HREF and deploy URL.
public-host represents the URL that a web browser will use to access the app.
A deploy URL and base HREF of the same root-relative value is redundant.  Setting only base-href should be sufficient.  Also, it appears that the dev server is only being access from localhost so the host option should not be necessary.

Hi, @clydin. Thanks for your input. I tried your suggestion and it fails in a different way.
Visiting http://localhost:8888/app, the index.html file doesn't fetch the bundle files at the correct path. I see this at the console.
 Only specifying one didn't work. All the more pointer that there's one or more than one bug here somewhere.
I used exactly what you suggested: ng serve --base-href /app --serve-path / --public-host http://localhost:8888/app
FYI. I use the --host <IP_ADDRESS> to be able to test from mobile devices and access from other devices through the network.

I finally got it working using the command like
ng serve --deploy-url /app/ --base-href /app --public-host http://localhost:4200/sockjs-node

At this point, i'm not sure if this is a bug or not. What's curious is that prior to upgrading to 1.5.0 ng serve --deploy-url=/app/ --base-href=/app worked fine with my proxy setting. After the upgrade I need to specify the public-host (AKA live-reload-client) for the exact same env to work.
Observations

Without the / at the end of the deploy-url some paths brake.
ng serve --help states that --live-reload-client is an alias for public-host. Based on how it works I'd argue that public-host as the name for that param doesn't make sense. live-reload-client makes more sense.
The explanation that @clydin provided here on serve-path it's clearer than what the serve --help explains. I think most of those on the --help could use better explanations.

I gave you the wrong base href.  It needs to end in a slash.  The web browser will remove the ending segment of the path if it doesn’t end in one.  (It is treated as a filename without the slash).  With that change you can drop the deploy url.
As to deploy url itself,  the string value is appended directly to the asset urls by webpack.  The CLI simply passes this option through.
The public host option does several things one of which is provide information to the live reload client script in the event it cannot automatically determine the publicly accessible connection address.

Glad this is working for you... closing.


[Feature Request] The coupon can be individually set for each order in the shopping cart.

Is your feature request related to a problem? Please describe.
I have configured the coupon to be used only once per user. However, the coupon is currently being applied to all identical items in a single order. Consequently, when a user adds multiple identical products to their cart and applies the discount code, all of these products receive the discount.
Describe the solution you'd like
The Coupon should only apply to one of the identical products in the order, while the remaining identical products should be charged at their original price. This ensures that the discount is only applied once per user, as intended.
Describe alternatives you've considered
The coupon can be individually set for each order in the shopping cart.
Additional context
Debug Step with version v0.6.22:

Management: Add a test coupon for domain registration with Once per Client Option.
Customer: Order - Domain Registration - add a domain  - Click Choose Product - Domain Registration - add another domain  - now you cart has two domains - input the coupon - you'll see all domains with discount now.

I dont think the option "Once per Client" works. After set it to true, i'm able to reuse the coupon

my bad, it works


[backport] Suppress warning in caffe test

Backport of #6402

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit ef730b4c0918e5ce070ac1f21e0405cd1004dd73, target branch v5) succeeded!

LGTM!


[doc] Expose CUDA and Metal HAL driver doc to the website

https://www.lei.chat/iree/developers/design-docs/cuda-hal-driver/
https://www.lei.chat/iree/developers/design-docs/metal-hal-driver/
rendered pages


Update the Eliom ecosystem to 2016-01

Motivation for this change
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

I believe that the claim in your last commit does not hold: eliom can work without PPX and with OCaml-4.01. That being said, I am not convinced that maintaining two eliom configurations (with and without PPX) is worth the trouble; so enabling eliom only on 4.02 may be the right choice.


'BraintreeCore.h' file not found

Hi EveryOne , on building app in xcode , i got this error , can anybody suggest ('BraintreeCore.h' file not found)

Hi, sorry for the late reply. have you followed the readme? Could you please post the content of your Podfile?

closing this, feel free to re-open if you have more details.


Question: How can this project work without jetifier?

Hi, quick question, from gradle.properties it seems you are not using jetifier. However, you are including dagger-android 2.19, which has dependency on the old package support-annotations.
+--- com.google.dagger:dagger-android:2.19
|    +--- com.google.dagger:dagger:2.19 (*)
|    +--- com.android.support:support-annotations:25.0.0 -> 26.1.0
|    \--- javax.inject:javax.inject:1

How come?

It doesn't use any old dependencies

The annotations are just double packaged in the old namespace and the new one.


Durable Entities support?

Congrats on 1.0!
The readme calls out some missing features:

There are also several features that aren't yet available:
- Durable Entities is not yet supported.
- APIs for calling HTTP endpoints are not yet available.
- Several instance management APIs are not yet implemented.

Are these still missing in 1.0? Or is the documentation perhaps out of date?

These are still missing in 1.0. We are working on implementing them here though.

Tracked by #19


Starter project for Node and Express lessons uses Node.js 4

Describe your problem and - if possible - how to reproduce it
https://glitch.com/#!/import/github/freeCodeCamp/boilerplate-express/
The boilerplate for these lessons has node engine explicitly set at 4.4.5 which reached eol in April and thus is no longer available within glitch.
Add a Link to the page with the problem
https://learn.freecodecamp.org/apis-and-microservices/basic-node-and-express
Tell us about your browser and operating system

Browser Name:
Browser Version:
Operating System:

If possible, add a screenshot here

Can confirm I noticed that while going through the project.
Glitch automatically uses 8.11.2 though (see screenshot), so nothing breaking on Glitch. Yet it can be potentially a bit risky if someone uses the boilerplate on their local machine, as the version is un-maintained.
But I think that this isn't the correct repo for this issue.
I have opened an issue and a PR on the repo that contains the boilerplate


Remove multitarget from -Zhelp

What does this PR try to resolve?
That was an oversight when stabilizing multitarget.
How should we test and review this PR?
Check there is no -Z multitarget in the output of cargo -Zhelp.

r? @ehuss
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit b1b7a409173273c4e6a27478d6369550eb1f749b has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit b1b7a409173273c4e6a27478d6369550eb1f749b with merge d900b673452c7f0199727933a1cc08da2f19901a...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing d900b673452c7f0199727933a1cc08da2f19901a to master...


removed earthcoin.rb

I see no direct link to the app on the website. If someone can point me to where it is officially said that is a valid link, we then need to add a # amazonaws.com is the official download host per the vendor homepage comment above url; otherwise, the cask should be removed.

Download link is also from their own S3 bucket.


PowerShell Script Error

Running the commands posted on this page, results in a script error but it looks like the command took successfully.
i.e.
PS C:\WINDOWS\system32> $settingsCopy = Get-AzureADDirectorySetting -Id $settingsObjectID
PS C:\WINDOWS\system32> $settingsCopy["EnableGroupCreation"] = $AllowGroupCreation
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> if($GroupName)

{
$settingsCopy["GroupCreationAllowedGroupId"] = (Get-AzureADGroup -Filter "DisplayName eq '$GroupName'").objectId
}
PS C:\WINDOWS\system32>  else {
$settingsCopy["GroupCreationAllowedGroupId"] = $GroupName
}
**else : The term 'else' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:2

else {

 + CategoryInfo          : ObjectNotFound: (else:String) [], CommandNotFoundException
 + FullyQualifiedErrorId : CommandNotFoundException**

PS C:\WINDOWS\system32> Set-AzureADDirectorySetting -Id $settingsObjectID -DirectorySetting $settingsCopy
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> (Get-AzureADDirectorySetting -Id $settingsObjectID).Values

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

ID: e935bd03-8b2a-2271-b886-5643f5c7ea51
Version Independent ID: 82a7b468-c1b6-ac74-3600-e96f274bbe89
Content: Manage who can create groups - Microsoft 365 admin
Content Source: microsoft-365/admin/create-groups/manage-creation-of-groups.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

If you save the script as a PS1 file and run it, the error doesn't happen. Closing.


typo: Double word "and"

@nschonni : Thanks for your contribution! The author, @KumudD, has been notified to review your proposed change.

verified editorial correction


Parameter Description Improvement

Can you please indicate whether the parameters (primarily DataFactoryName and ResourceGroupName) are for the source or the destination? (both for the pre and post-deployment scripts)

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

ID: 36b2d75a-07c4-75b6-32d3-6e7dd78683f7
Version Independent ID: 57d29c39-e05f-b95d-de80-d81686935fc0
Content: Continuous integration and delivery pre- and post-deployment scripts - Azure Data Factory
Content Source: articles/data-factory/continuous-integration-delivery-sample-script.md
Service: data-factory
Sub-service: ci-cd
GitHub Login: @nabhishek
Microsoft Alias: abnarain

Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@OMGUSED : We are assigning this to the author , they will update the doc if they think its appropiate .

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Update docs at https://hugopl.github.io/gtk4.cr/

I'm seeing awesome progress on this shard <3. I would like to continue my Crystal & GUI app-dev journey and I was thinking if you could update the docs in your site. I see 0.5.0v and looks like it's on 0.7.0 now. Thanks!

Oops, I forgot to do it.
Ideally would be nice to have a github actions to do this task automatically, i.e.
git checkout gh-pages
git merge master
make doc
git add doc
git push origin gh-pages

But deal of github actions is boring, hehe, so I prefer do fun stuff like work on the shard itself. However I would appreciate if someone create a PR adding a github action to run the tests and/or generate the docs every time a new tag is created.


Pull components of Coda_base out into Coda_spec

See guide for details: https://gist.github.com/nholland94/d33525333f69348dd5ae859c5f529653

No longer relevant


Link to documentation does not work

The link to "documentation" in the README.md points to
https://pythonhosted.org/guidata/
which returns a 404 error:
$ curl -I https://pythonhosted.org/guidata/
HTTP/1.1 404 Not Found

Same for the link to the image:
<img src="http://pythonhosted.org/guidata/_images/editgroupbox.png">

Doc links fixed by 4799bbfc2f0dfe1ccfa4fc0b104f44e91eb608d3


Issue 9306: Fixed object parser to support multi-dimensional array for viewer

#9306

Thanks!
We'll to add unit tests for PG structs/arrays parser. It become too complicated.

Hi, @serge-rider This issue will be resolved by yourself?
if that is right, I will try to find other issues for contribution.

I'll merge this PR after we'll add several unit tests. And then close #9306

@serge-rider Thank you for your reply.

We did it in a bit different way in #9398


Cover removed functionality properly

We need to return back the functionality that got disabled because they were connected to the very specific implementation of our framework.

Languages
Physical device (installation of the frameworks + find the device IP)
Build Picker

We can split up this ticket into multiple tickets if we feel like that would make sense.

Split the first part of this ticket: https://github.com/JoeSSS/calabash-launcher/issues/17

New settings section was added for physical device support: