bug in RCTLocationObserver.m

Environment

React Native Environment Info:
System:
OS: macOS 10.14.2
CPU: (8) x64 Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
Memory: 1.01 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.7.0 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 25, 27, 28
Build Tools: 27.0.3, 28.0.3
System Images: android-28 | Google Play Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.7.0 => 16.7.0
react-native: 0.58 => 0.58
npmGlobalPackages:
react-native-cli: 2.0.1
Description

Hi,
related to https://github.com/facebook/react-native/issues/17145?_pjax=%23js-repo-pjax-container
The part if (ABS(_locationManager.desiredAccuracy - RCT_DEFAULT_LOCATION_ACCURACY) > 0.000001) { on line ~ 360 of RCTLocationObserver.m always resets the location accuracy to the default value.
It should rather check if _observingLocation is true and use _observerOptions.accuracy instead, like this:
  if (_observingLocation  && ABS(_locationManager.desiredAccuracy - _observerOptions.accuracy) > 0.000001) {     _locationManager.desiredAccuracy = _observerOptions.accuracy;   }   if (!_observingLocation && ABS(_locationManager.desiredAccuracy - RCT_DEFAULT_LOCATION_ACCURACY) > 0.000001) {     _locationManager.desiredAccuracy = RCT_DEFAULT_LOCATION_ACCURACY;   }
Cheers and thanks for the great work!
Reproducible Demo

n/a

Hey there 👋 Thanks for taking the time to create a patch! However, seeing as you did create a PR for this that ended up not being merged, and in an effort to reduce the noise in the issue tracker, I’m going to close this issue as well. When/if somebody else runs into the same issue, they can champion it through.


Error Message When Installing

I upgraded my Ender 3 V1 to the silent V4.2.7 board. Upon reboot I received the error "Warning: Firmware Broken" that lead me to this fix. When I run the command I receive this error:
pip install "https://github.com/SimplyPrint/OctoPrint-Creality2xTemperatureReportingFix/archive/master.zip"
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/SimplyPrint/OctoPrint-Creality2xTemperatureReportingFix/archive/master.zip
Using cached https://github.com/SimplyPrint/OctoPrint-Creality2xTemperatureReportingFix/archive/master.zip
Complete output from command python setup.py egg_info:
Could not import OctoPrint's setuptools, are you sure you are running that under the same python installation that OctoPrint is installed under?
----------------------------------------

Command "python setup.py egg_info" failed with error code 255 in /tmp/pip-req-build-NhrWZH/

You're using the wrong pip :) You have to use OctoPrint's. Use the plugin manager instead; go to the OctoPrint settings by clicking the wrench in the navbar, go to "Plugin manager", click "Get more" in the bottom and search for "Creality (...)" > click install.

Thanks. I appreciate it.


Investigate bootc usage

Tracking issue for: https://github.com/cgwalters/bootc-examples
Add bootc to https://github.com/ublue-os/main for all image builds in base.

Testing this in Bluefin, once the package is in Fedora we'll add it, or maybe we should use the repo from upstream.

https://github.com/containers/bootc

There is an issue which prevents its use for me.
If the initramfs gets regenerated by rpm-ostree, then bootc doesn't like it and fails. This is a problem if using TPM or FIDO2 for LUKS unlocking.

Testing this in Bluefin, once the package is in Fedora we'll add it, or maybe we should use the repo from upstream.

This is currently added to main in PR https://github.com/ublue-os/main/pull/367 to keep track if we change our minds.

There is an issue which prevents its use for me.

Can you file this upstream? https://github.com/containers/bootc/issues

Also let's leave it along side rpm-ostree for a while, I tried the symlink thing and while that's fine for me bootc can't upgrade layered packages so that's probably a bridge to far for everyone else.

bootc is in all the images, closing.


Using rails + polymer how to root in rails

Hello all,
I am using rails till now for fronted. but now i have to use polymer + rails. I already bundle emcee. but don't know how to use in application. Is there any start guide that help me to start  with polymer + rails
( set-up + start-up guide )
Scenario:
I have a polymer project all I just need is that how can I use that polymer project with rails and call the polymer page from rails as root.

@pwnall  @datapimp  @pex  @rastyagaev
can you please help us in this, I am facing same issue. ( need to integrate polymer (created app)  into rails app )


Rebuild docker images for broken examples and excutors

@YueLiu-jina is this issue solved? or what is missing, let's put some TODO-list which check-boxes in the description so that we can track the evolution of these issues

Now that lots of docker images are broken, this issue is aiming to checkout the validity of all exsiting dockerfile of example/executor, and re-build&&push docker images

Now that lots of docker images are broken, this issue is aiming to checkout the validity of all exsiting dockerfile of example/executor, and re-build&&push docker images

Let's put this in the description


After updating ( 1.1 to 2.0 )  the StaticFiles can't be found in the root path.

Question:
1、
project:    webapi core1.1
nuget:     Microsoft.AspNetCore.StaticFiles
file:          wwwroot/Index.html
ok:          "http://xxxxx/Index.html" return "hello world"
operation: right-click "Controller Folder" --> "Add(D)" --> "controller(T)" --> select any and "Add".
error:       "http://xxxxx/Index.html" return "http://xxxxx/Index.html/".
2、
project:   webapi core 1.1
nuget:     Microsoft.AspNetCore.StaticFiles
file:          wwwroot/Index.html
ok:          "http://xxxxx/Index.html" return "hello world"
operation: update to core2.0
error:       "http://xxxxx/Index.html" return "http://xxxxx/Index.html/".

Can you provide a sample that worked before that now fails?  Preferably a github repository.

Hi David:
Here is the github repository.  #6665.

Just for future reference so you know how to diagnose these issues. Turn logging on to a high verbosity level like trace or debug:
Change this line
https://github.com/NMSLanX/WebApi_6665/blob/3f2a5c8603e0803efa6c328a8b8d878a4d189d59/Error/Actual/WebApiOne/WebApiOne/Startup.cs#L46
To:
loggerFactory.AddConsole(LogLevel.Trace);

The log immediately shows the problem:
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://localhost:64780/Index.html/
dbug: Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware[5]
      The request path /Index.html/index.html does not match an existing file

I ran the WebApiOne project under Error. It seems like it 404s without the upgrade to 2.0, are you sure it's related?
Also, I'm not sure this has anything to do with MVC.

This issue was moved to aspnet/StaticFiles#210


[WFRP4e System] Please help

Hi. I hope you can help. I cannot Create any Actors. I keep getting the {name} could not be found messageFrom<EMAIL_ADDRESS>11.299wfrp4e: 6.5.3Active Modules:

Update the system


test: Update test commands

Reason for Change

#TICKET_NUMBER
If the reason for this PR's code changes are not clear in the issue, state value/impact

Changes

After updating the test commands in GHA, I forgot to add back commands needed to test deployed environments from local machine!

Testing steps

Either list QA steps or reasoning you feel QA is unnecessary
Describe how you made sure to know that your changes worked. Should allow someone else to go verify your code without in depth knowledge.
"Unit tested only", "tested in rdev by a, b, c, verifying feature worked by... ", "manually ran pipeline locally with these results: ..."

Notes for Reviewer

In favor of #5851


Zed and Mail.app are no longer part of the window tree

I'm not sure what changed here. I think Zed is definitely fiddling around with their rendering, but no idea why Mail.app would suddenly not be caught anymore.

Blind guess: if you try to run aerospace -v in CLI you will see that CLI client and AeroSpace.app versions are different. Which means that you updated aerospace package via brew but didn't do AeroSpace.app restart.
In that case, macOS ax API stops notifying AeroSpace about newly appeared windows 🤷
Related: https://github.com/nikitabobko/AeroSpace/issues/237#issuecomment-2184114928

Can the tray icon pop a red bubble when this happens?
Can it be prevented entirely?

I don't know if it can be reliably detected, but I will think about it

@nikitabobko If we could get proper launchd integration working (see #479) you could restart the service when it's executable changes using WatchPaths.
There are some docs for WatchPath here, but you'll have to navigate to configuration and scroll to WatchPaths. The site doesn't really have any way to link to things.

@jakenvac do you mean that we could rerun AeroSpace.app if it changes? Well, right now, tiling tree structure and windows workspace assignment is not resistant to AeroSpace.app restarts

That's what I meant, yeah. But you raise a good point. I hadn't thought of that.


Set all presubmits to always run

Presubmit jobs currently only run when manually triggering them through the /test ... command. This pull request aims to automatically start presubmit jobs given they have been authored by a member of the aws-controllers-k8s organisation or a member of the organisation has provided an /ok-to-test command.
This option is used as the default for all AWS tests running as part of the kubeflow/kubeflow repository, which also requires this same functionality - see here

/ok-to-test

/approve
/lgtm


Add endpointslice list permission

MGDSTRM-6827

Please create this using the testJob endpoint
Not sure if you are awatlre these permissions have been modified 3 times already
(Currently I have no access to JIRA to give exact commands)

#43 #42 #41

I guess this is stuck for a while without changes so it's good
so
/lgtm

/approved

/approve


Requirements for one certificate for 2 SBCs would be useful

A common deployment scenario is to have two SBCs for redundancy. It would be useful to have details on how one certificate can have the SN be the FQDN of one SBC, with the FQDNs for both SANs listed. I've seen a couple of people stuck with this issue, because they didn't know how to build the CSR for the cert for this scenario.

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

ID: e26faf8c-529e-b317-5934-cd41cfe8fa24
Version Independent ID: 3ddd5d0a-6dbb-4940-1814-8346e293701b
Content: Plan Direct Routing - Microsoft Teams
Content Source: Teams/direct-routing-plan.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

@TorrenManson Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @TorrenManson, thank you for your feedback and help us to improve docs.microsoft.com.
You can use a wildcard in the SAN to cover more than 1 SBC:
"Alternatively, Direct Routing supports a wildcard in SAN, and the wildcard needs to conform to standard RFC HTTP Over TLS. An example would be using *.contoso.com in the SAN, which would match the SBC FQDN sbc.contoso.com, but wouldn't match with sbc.test.contoso.com."

That is true, however a number of organizations have very explicit policies against wildcard certificates. Further, a wildcard often costs more than a 2 SAN cert does.
2 (or more) SAN certs work, but the article has no practical guidance on this.
From: Dario Woitasen<EMAIL_ADDRESS>Sent: Monday, June 29, 2020 11:20 AM
To: MicrosoftDocs/OfficeDocs-SkypeForBusiness<EMAIL_ADDRESS>Cc: Torren Manson<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-SkypeForBusiness] Requirements for one certificate for 2 SBCs would be useful (#5150)
Hi @TorrenMansonhttps://github.com/TorrenManson, thank you for your feedback and help us to improve docs.microsoft.com.
You can use a wildcard in the SAN to cover more than 1 SBC:
"Alternatively, Direct Routing supports a wildcard in SAN, and the wildcard needs to conform to standard RFC HTTP Over TLS. An example would be using *.contoso.com in the SAN, which would match the SBC FQDN sbc.contoso.com, but wouldn't match with sbc.test.contoso.com."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/5150#issuecomment-651282288, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABPN3P5LOQSRE7F7HLAAQ5LRZDLN5ANCNFSM4N6XZCIA.

Thanks @TorrenManson, I know that SAN works, I'm trying to get the approval from the product manager to add some information here.

Hi @TorrenManson, sorry for the delay. SAN support was added 3 months ago in the following Pull Request:
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/pull/6537
@scanum please close this issue.


Add sovrn analytics adapter information

I think I just added that as well, thanks for the heads up @bretg

released with 2.13


Refactoring scrape.go

scrape/scrape.go is currently a really big file (1800 loc), so I am refactoring it and splitting it up.
This is a draft, I will upgrade it to a pr if its ready.

What do you think of this? Any suggestions? If it's alright I would squash the commits...

Thank you for your pull request. We have discussed this during our bug scrub and decided to close this pull request and the cost of refactoring exceeds the maintenance cost (like cherry-picking, backporting, etc). Especially since most IDE's / Editors allow you to move easily in the files.


How do you plan on keeping up with new rules/fixes in core ?

This is more a general question rather than a feature request/bug report:
How do you plan on keeping up to date with evolving projects you reimplemented in core, like pyupgrade for example?

The goal is to maintain parity as those projects evolve, to the degree that we can. We've already reimplemented some upstream fixes from flake8-bugbear, for example.
Many of the plugins we've reimplemented, though, are pretty "stable", in that they tend not to add many additional rules. E.g., many of them haven't seen new releases in the past few years. That's not true of all of them, but at least a handful.
pyupgrade is maybe an interesting case, because we don't really support pre-Python 3.7 code. So I'd probably not prioritize anything that was added to pyupgrade that was focused on 2-to-3 conversions. (We do have some of that, like six import removal, but in hindsight I wouldn't have prioritized adding it.) On the other hand, there's a lot of stuff in pyupgrade that's useful for the ongoing maintenance of Python 3 code, like the type annotation rules. So I would pull in new rules of that nature.

Hopefully that answers your question, but obviously happy to field any follow-ups :)

Great! Thanks for your answer 😊
Yeah my question about pyupgrade was more focused on the ongoing development for new Python versions as I don’t see this tool be « finished » like maybe isort or some other could be (I mean once you’ve sorted your imports everything else is bug fixing, … right ? 😁)
And thanks for ruff! It’s an amazing piece of software 😊 I incorporated it in my own projects coming from flakeheaven and the transition was smooth. I don’t have large codebases but it feels a lot snappier already.

Amazing, so glad to hear that it's working for you :)


Image shape changed to 352 from 360 in FRRN camvid

In Frrn for camvid, the size of the input image is 360. This is changed to 352 after up sampling at the end of encoder part mainly because it pools an image of size 45 to 22 and then upsamples it. This gives an error while adding the z of shape 360 with y having shape 352 in FRRU layer.
I guess the input dimension should be a multiple of 16

I'm also trying to work with CamVid. Have you also been having trouble with the transform method?
I'm trying to use the DataLoader but it gives me this error:
Traceback (most recent call last):
  File "train.py", line 229, in <module>
    train(cfg, writer, logger)
  File "train.py", line 118, in train
    for (images, labels) in trainloader:
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 336, in __next__
    return self._process_next_batch(batch)
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
    raise batch.exc_type(batch.exc_msg)
TypeError: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 106, in <listcomp>
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/content/pytorch-semseg/ptsemseg/loader/camvid_loader.py", line 57, in __getitem__
    img, lbl = self.transform(img, lbl)
  File "/content/pytorch-semseg/ptsemseg/loader/camvid_loader.py", line 74, in transform
    lbl = torch.from_numpy(lbl).long()
TypeError: can't convert np.ndarray of type numpy.int8. The only supported types are: double, float, float16, int64, int32, and uint8.

I'm also trying to work with CamVid. Have you also been having trouble with the transform method?
I'm trying to use the DataLoader but it gives me this error:
Traceback (most recent call last):
  File "train.py", line 229, in <module>
    train(cfg, writer, logger)
  File "train.py", line 118, in train
    for (images, labels) in trainloader:
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 336, in __next__
    return self._process_next_batch(batch)
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch
    raise batch.exc_type(batch.exc_msg)
TypeError: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 106, in <listcomp>
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/content/pytorch-semseg/ptsemseg/loader/camvid_loader.py", line 57, in __getitem__
    img, lbl = self.transform(img, lbl)
  File "/content/pytorch-semseg/ptsemseg/loader/camvid_loader.py", line 74, in transform
    lbl = torch.from_numpy(lbl).long()
TypeError: can't convert np.ndarray of type numpy.int8. The only supported types are: double, float, float16, int64, int32, and uint8.

Yeah there were some issues. I rewrote the code and now it works fine. I also used opencv to load the image. It saves me some computation and eleminated the error. I am not sure how you are loading the image. the scipy method is taken down so i used opencv. You can check out my reposetory fot the code that i wrote.
https://github.com/akshatgarg99/FRR-Net/blob/master/utils/dataLoader.py

Yeah there were some issues. I rewrote the code and now it works fine. I also used opencv to load the image. It saves me some computation and eleminated the error. I am not sure how you are loading the image. the scipy method is taken down so i used opencv. You can check out my reposetory fot the code that i wrote.
https://github.com/akshatgarg99/FRR-Net/blob/master/utils/dataLoader.py

Thanks a lot! That's exactly what I was looking for.

Thanks a lot! That's exactly what I was looking for.


Adding Trendline chart

Adding a Trendline chart to superset.

Confused?

Codecov Report

Merging #5235 into master will decrease coverage by 0.35%.
The diff coverage is 9.77%.

@@            Coverage Diff             @@
##           master    #5235      +/-   ##
==========================================
- Coverage   63.45%   63.09%   -0.36%
==========================================
  Files         261      262       +1
  Lines       19842    19975     +133
  Branches     1998     2012      +14
==========================================
+ Hits        12591    12604      +13
- Misses       7242     7362     +120
  Partials        9        9

Impacted Files
Coverage Δ

superset/assets/src/explore/visTypes.js
62.5% <ø> (ø)
:arrow_up:

superset/assets/src/visualizations/trendline.js
0% <0%> (ø)

superset/viz.py
81.34% <81.25%> (-0.01%)
:arrow_down:

Continue to review full report at Codecov.

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

Personally would prefer if we could make this an option to the existing line chart.

@mistercrunch I agree with you. Will work on that

@VinodLouis Great work here. Have you considered making this an annotation, so that it can be overlaid on top of an existing series?

We were thinking of having it as part of annotation layer, providing options for linear, exponential, polynomial, etc. using a library (R^2 square and equation not shown but it's easy to implement). I guess it could be just a trendline option in line chart as well if you desire.

@EvelynTurner is this a mock up or something you have in your fork?

@mistercrunch It's just something that I worked on internally for fun(?); the code is not public.  @VinodLouis I see that you started working on it 10 days ago; do you have an almost completed solution? Otherwise I can share my code with you; you can improve upon it and commit. You are good at visualization and there is some useful improvements we can make in my solution. I don't mind at all if you already have something planned. My previous comment was just to show another option.

@EvelynTurner I have this complete solution of trendline as independent chart. But this makes more sense in annotation as in that case we would be leveraging the existing line chart less code more productivity. I have not yet started working on trendline as annotation not sure will start at least till this week (engaged in exams). If you have done it proceed with that to integrate in superset that would be an awesome addition.

Cool, I'll put up a PR this upcoming weekend

This is an awesome feature that I'd like to see merged :)


docker compose not working due to file structure change in image

$ docker run --rm avaplatform/avalanchego:latest pwd
/avalanchego/build

$ docker run --rm avaplatform/avalanchego:latest ls
avalanchego
plugins

Description of problem
<REPO>/docker-compose/files/start-nodeX.sh runs build/avalanchego in container which does not exist. Latest avalanchego image build has moved PWD from /avalanchego to /avalanchego/build.
Description of problem 2
--db-enabled flag has been deprecated / removed

wrong repo mb


Usage with React suspense boundaries (Next.js app router loading pages)

Hey there,
Is there any way of using the loaders with server components? Specifically, Next.js app router loading.tsx files. The web component structure seems to be making this impossible.
I like the one-for-all frameworks aspect of this library; but we might actually need an RSC compatible version of this; unless I'm missing something.
By the way, thank you for this amazing library.

For this case, copy/pasting the HTML and CSS is probably the best way to go. I've gotten enough of these questions that I probably will create react components to live alongside the web components at some point. SSR really is a challenge.


[Feature] Allow Bucket Destruction via Code

Description
User will end up with the following error message when attempting to destroy presently...
│ Error: Instance cannot be destroyed
│
│   on .terraform/modules/coralogix_s3/modules/provisioning/s3-archive/main.tf line 16:
│   16: resource "aws_s3_bucket" "logs_bucket_name" {
│
│ Resource module.coralogix_s3.aws_s3_bucket.logs_bucket_name[0] has lifecycle.prevent_destroy set, but the plan calls for this resource to be destroyed. To avoid this error and continue with the plan, either
│ disable lifecycle.prevent_destroy or reduce the scope of the plan using the -target flag.

How Has This Been Tested?
Setting lifecycle to false and running code manually after downloading the module w/ terraform init and then running a terraform destroy.
Checklist:

[x] I have updated the relevant example in the examples directory for the module.
[ ] I have updated the relevant test file for the module.
[ ] This change does not affect module (e.g. it's readme file change)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hey @guyrenny / @royfur,
This feature is very important because currently we have to delete the S3 buckets manually, which causes a drift in Terraform.
Could you please add this?

Hi @ShironB and @hikerspath because there was no update on this PR, I have merged a PR with the changes to fix this issue. You can now force destroy the S3 buckets using the variables logs_bucket_force_destroy and metrics_bucket_force_destroy

Thanks @guyrenny !


[Bug report] Doris table operation integration test failed occasionally

Version
PR: https://github.com/datastrato/gravitino/pull/3307
Describe what's wrong
doris table operation failed in ci occasionally, seems the state of doris is not healthy.
Failed ci: https://github.com/datastrato/gravitino/actions/runs/9025764657/job/24801995236.
Error message and/or stacktrace
DorisTableOperationsIT > testAlterTable() FAILED
    com.datastrato.gravitino.exceptions.GravitinoRuntimeException: errCode = 2, detailMessage = Table[doris_alter_test_table_9de02715]'s state is not NORMAL. Do not allow doing ALTER ops
        at app//com.datastrato.gravitino.catalog.doris.converter.DorisExceptionConverter.toGravitinoException(DorisExceptionConverter.java:66)
        at app//com.datastrato.gravitino.catalog.jdbc.operation.JdbcTableOperations.alterTable(JdbcTableOperations.java:247)
        at app//com.datastrato.gravitino.catalog.doris.integration.test.DorisTableOperationsIT.testAlterTable(DorisTableOperationsIT.java:184)

        Caused by:
        java.sql.SQLException: errCode = 2, detailMessage = Table[doris_alter_test_table_9de02715]'s state is not NORMAL. Do not allow doing ALTER ops
            at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)
            at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
            at com.mysql.cj.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1333)
            at com.mysql.cj.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2106)
            at com.mysql.cj.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1243)
            at org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:330)
            at org.apache.commons.dbcp2.DelegatingStatement.executeUpdate(DelegatingStatement.java:330)
            at com.datastrato.gravitino.catalog.jdbc.utils.JdbcConnectorUtils.executeUpdate(JdbcConnectorUtils.java:28)
            at com.datastrato.gravitino.catalog.jdbc.operation.JdbcTableOperations.alterTable(JdbcTableOperations.java:244)

How to reproduce
CI
Additional context
No response

seems couldn't reproduce on main branch, but easy to reproduce on PR: https://github.com/datastrato/gravitino/pull/3307

This bug is a known bug that occasionally occurs, but not frequently. The core reason is that alter operation in Doris is asynchronous and increasing the wait time will alleviate the problem, but it can't completely eliminate it.
The following are related similar cases:
https://github.com/datastrato/gravitino/actions/runs/9013450467/job/24764301966?pr=3100
https://github.com/datastrato/gravitino/actions/runs/9013889875/job/24765516186

seems not the same problem, the problem you mentioned is alter operation does not takes affect. but in this case, alter operation is not allowed for state is not NORMAL

I will track this issue.


Priorities are being ignored

#[derive(Debug, Logos, PartialEq, Copy, Clone)]
pub enum Token {
	#[regex("[0-9]+", literal::<i32>)]
	#[regex(r"(\d+[.]\d*f)", literal::<f32>)]
	Literal(LLConstant),

	#[regex("[a-zA-Z_][a-zA-Z_0-9]*",  parse_str)]
	Ident(String),

	#[token(".", priority = 100)]
	Dot,
        ...
}

input:

a.<IP_ADDRESS>

expected output :

Ident("a"), Dot, Literal(i32(0)), Dot, Literal(i32(0)), Dot, Literal(i32(0)), Dot, Literal(i32(0))

output:

Ident("a"), Dot, Error, Dot, Error

literal::f32 isnt even being called back. What am i missing here?

What happens if you change it to #[regex(r"\.", priority = 100)]? All of the examples I see in the codebase seem to set priority for regexes, so maybe there's a bug with setting it for tokens.

I'd have to check to make sure, but I think the issue is your regex and the fact that logos doesn't do backtracking, once it reads 0.0 for the second token it expects f to follow. You might be able to fix it by making the segment optional:
\d+([.]\d*f)?
This might cause a conflict between integer and float, in which case you might want to give the integer a higher priority than the float (you can set priorities on different definitions applying to the same enum variant).

I'd have to check to make sure, but I think the issue is your regex and the fact that logos doesn't do backtracking, once it reads 0.0 for the second token it expects f to follow. You might be able to fix it by making the segment optional:
\d+([.]\d*f)?
This might cause a conflict between integer and float, in which case you might want to give the integer a higher priority than the float (you can set priorities on different definitions applying to the same enum variant).

@maciejhirsz Token priorities do indeed appear to be completely ignored. This is what I get on 0.12.0 right now:
use logos::Logos;

#[derive(Debug, Logos)]
enum Token {
    #[token("ab", priority = 0)]
    Ab,
    #[token("a", priority = 10000)]
    A,
    #[token("b", priority = 10000)]
    B,
    #[error]
    Error,
}

fn main() {
    let mut lexer = Token::lexer("abab");
    dbg!(lexer.collect::<Vec<_>>());
}

Output:
[examples\logos.rs:18] lexer.collect::<Vec<_>>() = [
    Ab,
    Ab,
]

@udoprog: this is working as intended. Priority is only used to remove ambiguity between conflicting patterns at compile time: for example if you had token("ab") and regex("[ab]+") which could both match on input "ab". There is no ambiguity in the example you provided, if shorter patterns could take priority over longer patterns, then longer patterns would never produce a match.

@udoprog: this is working as intended. Priority is only used to remove ambiguity between conflicting patterns at compile time: for example if you had token("ab") and regex("[ab]+") which could both match on input "ab". There is no ambiguity in the example you provided, if shorter patterns could take priority over longer patterns, then longer patterns would never produce a match.

All right! I see what you mean. The above example would certainly never match the longer pattern. What I'm actually interested in is (and what caused me to comment on this issue) is a form of "backtracking":
use logos::Logos;

#[derive(Debug, Logos)]
enum Token {
    #[token("ab")]
    Ab,
    #[token("a")]
    A,
    #[token("bolo")]
    Bolo,
    #[error]
    Error,
}

fn main() {
    let mut lexer = Token::lexer("aabolo");
    dbg!(lexer.collect::<Vec<_>>());
}

I'm not entirely sure how the state machine is structured internally but given the current behavior I think I have a better idea. The above produced [A, Ab, Error, Error, Error] while it could produce [A, A, Bolo] validly. In my mind I expected logos to match the latter. I reached for tweaking priorities to get better matches, but this might simply not be possible.

The above produced [A, Ab, Error, Error, Error] while it could validly produce [A, A, Bolo]. In my mind I expected logos to match the latter.

That's because you are smart and computers are dumb :)
It would require not backtracking (you can't backtrack an iterator after it yields a result), but looking ahead for all possible permutations of tokens to avoid errors. Couple problems:

You'd have to read and check every byte of input multiple times, which is anathema to performance.
Even if this was implemented, it would break expectations for other people who depend on current strategy for producing errors.
You'd have to check and disambiguate between different sequences of all tokens. For example when lexing !=> in JavaScript the lexer would match not equals != followed by greater than >, but it could also match negation ! followed by fat arrow =>. The latter is wrong, so now you need a different priority system that's orthogonal to the current disambiguation priority, and I can't even begin to think how you'd mark that for sequences of more than two tokens.
Imagine you have another variant with pattern olol, and input aabololo. Should the token stream be: a, ab, olol, err; or should it be a, a, bolo, err, err?

If you don't have any separators between your lexemes, or your lexemes aren't using different byte ranges for tokens that don't need separators, then chances are you are in need of a more specific parser rather than a lexer. If you run into issues with the current systems in a non-synthetic scenario please let me know, in most cases there is a simple solution to those.

@udoprog thanks for asking this, I was struggling with priority too until realizing one of my regexs was a longer pattern!
That seems to be the resolution, good topic.


Implement Riak TimeSeries support for PB

Can we have TS support in both this and the riak client finalized? Tried to run with it using the branches but then it fails miserably here:
basho/riak-pb dev-ts requires allegro/protobuf dev-master -> no matching package found.

Yep, I have been working on it the last day or so. Should have it cleaned up and released today.

Great news, thanks for the update. Saw the post about Riak TS and dove into it, banging my head against a couple roadblocks like this. Anything I could help you with?

Ok, this is ready for testing.
Time series tests can be run via phpunit:
./vendor/bin/phpunit TimeSeriesOperationsTest vendor/basho/riak/tests/functional/TimeSeriesOperationsTest.php
@ChristianRiesen I am thinking your issue with composer is a min stability issue, since this is a dev branch. Try add min stability flag to your composer.json and running composer update again, like this:
{
  "minimum-stability": "dev",
  "require": {
    "basho/riak-pb": "dev-ts"
  }
}

@christophermancini - I built 5.6 from source and get this when trying to run the tests:
lbakken@brahms ~/Projects/basho/riak-phppb-client (ts=)
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing nette/utils (v2.2.8)
  - Installing nette/utils (v2.3.8)
    Loading from cache

  - Removing nette/neon (v2.2.0)
  - Installing nette/neon (v2.3.4)
    Downloading: 100%

  - Removing nette/di (v2.2.6)
  - Installing nette/di (v2.3.10)
    Downloading: 100%

  - Removing kdyby/events (v2.3.2)
  - Installing kdyby/events (v2.4.1)
    Downloading: 100%

  - Removing nette/bootstrap (v2.2.6)
  - Installing nette/bootstrap (v2.3.4)
    Downloading: 100%

  - Removing nette/mail (v2.2.0)
  - Installing nette/mail (v2.3.5)
    Downloading: 100%

  - Removing nette/component-model (v2.2.3)
  - Installing nette/component-model (v2.2.4)
    Loading from cache

Writing lock file
Generating autoload files

lbakken@brahms ~/Projects/basho/riak-phppb-client (ts=)
$ ./vendor/bin/phpunit TimeSeriesOperationsTest vendor/basho/riak/tests/functional/TimeSeriesOperationsTest.php
PHPUnit 4.5.1 by Sebastian Bergmann and contributors.

Configuration read from /home/lbakken/Projects/basho/riak-phppb-client/phpunit.xml

This is a stub file for IDEs, don't use it directly!

lbakken@brahms ~/Projects/basho/riak-phppb-client (ts=)
$ php --version
PHP 5.6.21 (cli) (built: May 12 2016 17:13:00)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

lbakken@brahms ~/Projects/basho/riak-phppb-client (ts=)
$ fgrep -r 'This is a stub file for IDEs, don'\''t use it directly' *
vendor/allegro/protobuf/stubs/ProtobufMessage.php:die("This is a stub file for IDEs, don't use it directly!");

@lukebakken you have to build and install the extension for PB as well. Thats why I have them separate is this extra dependency. Full instructions are in the readme.
cd vendor/allegro/protobuf
phpize
./configure
make
make install

Got it, I'm surprised that doesn't happen automatically. Any way to put all this stuff into a Makefile?

Its part of the downside of PB on PHP. The most common way extensions are installed for PHP is via package manager. We could explore that as an option going forward, e.g. sudo yum install -y php-pb. Extensions are C modules that are referenced at runtime time and not part of the source code dependencies.

FYI, I had to do the following:
pushd vendor/allegro/protobuf
phpize
./configure --prefix=$HOME/opt/php-5.6
make install
popd

protobuf.so installed to$HOME/opt/php-5.6/lib/php/extensions/no-debug-non-zts-20131226
There is no php.ini created by make install, so do the following:
cp ~/tmp/php-5.6.21/php.ini-development ~/opt/php-5.6/lib/php.ini

Edit php.ini to include the following lines:
extension_dir = "/home/lbakken/opt/php-5.6/lib/php/extensions/no-debug-non-zts-20131226"
extension=protobuf.so

After doing the install rigmarole, tests pass:
./vendor/bin/phpunit TimeSeriesOperationsTest vendor/basho/riak/tests/functional/TimeSeriesOperationsTest.php
PHPUnit 4.5.1 by Sebastian Bergmann and contributors.

Configuration read from /home/lbakken/Projects/basho/riak-phppb-client/phpunit.xml

..........

Time: 2.4 seconds, Memory: 4.50MB


Add more ambient sounds

Off the top of my head stuff that could use it:

SMES
Generators (when active)
Singulo (though I think it has its own sound already so just needs converting)
Arcade machines
ReagentDispensers
Computers (in command)
Potentially stuff like stun batons when on

Just ping me if you need help making it sound nice when looping

I'm taking care of this one.


Documentation update for boot2docker users

Boot2docker will only map volumes located under /Users (mac) or c:\Users (Windows) by default.  Added a note to the readme (both static and generated) with warnings about this.
Created similar PR for the connect project also (since most people would likely be referencing that README.md) - https://github.com/anvilresearch/connect/pull/232

boot2docker has been deprecated, and in the docs repository, we have started to refer people to Docker Toolbox, which, if I'm not mistaken, uses docker-machine.
I'm on my phone, so pardon my unhelpfully brief response, but is this behaviour the same with the new instructions? They should be in connect-docs.
@christiansmith, we need to link to connect-docs for documentation in the other repositories so that our docs don't become fragmented and unmanageable

@vsimonian  - Docker-toolbox just includes docker-machine which in turn still uses the boot2docker.iso and has all the same issues...I'm actually running via a docker-toolbox install and I see this issue.  Had to move my project folder to get Connect running correctly.
Perhaps the text should be edited to refer to docker-toolbox or docker-machine instead then?  Docker did not leave us a single clean phrase to use here :(

Ah, the internals are the same? No kidding. Had no idea.
I think we should link to connect-docs and make sure the instructions there reflect behaviour accurately.

@msamblanet – we thought this through a little further and the consensus is that this addition should actually go in the Running in Docker Containers section of the Getting Started guide in the anvilresearch/connect-docs repo.
We plan to replace the getting started content in these READMEs with links to that set of documentation.
Would you mind submitting a PR with these instructions to the docs repository?
Thanks for this contribution!

Moved - see https://github.com/anvilresearch/connect-docs/pull/34

Merged https://github.com/anvilresearch/connect-docs/pull/34


Addedd JSON Data to Model

@stickymike111  Added JSON data, please check to see if you should merge.

@cnngraphics Make sure you have an additional nested object block in JSON Data


Sharing to Zulip hangs at send

Hello,
For some time members of our organization (self- hosted) can't share their photos using the mobile app. It won't upload.  Using desktop is no problem. Is this a software bug? Can it be solved?
Greetz, Rob

Thanks for the report! Do you and the others in your org notice this happening equally on Android and iOS? That could be a clue toward a diagnosis.
Also, could you say a bit about what symptom you're seeing that shows a problem with the upload? (For example, does the app become unresponsive with the camera or media library still open, or something else?) A screenshot or video recording of the screen would be helpful.
Thanks!

Hi Chris, thanjs for your reply. I've recorded an attempt to post a photo. I don't know if ios has the same issue, I'll ask someone and ket you know

Recording is too big, I assume. I try something else

https://user-images.githubusercontent.com/101175889/218861970-29e03fc1-97ce-4efd-910c-fc1bfebc3985.mp4

A member with an iOs posted a photo just now

Fyi: the photo I wanted to post is 4,26 mb

A member with an iOs posted a photo just now

It's likely that they're using the other way to send images from your phone in the Zulip app:

Go to the conversation, the same as you would for just reading it.
At the bottom, below the text box for typing a message, note the row of icons.
Hit the "picture" icon (between "paperclip"/"file" and "camera".)
Select an image from the resulting gallery, and send.

So that could be a useful workaround for you until this is fixed.

Hi Greg, thans for your replay. I tried your work around, but still no upload.
https://user-images.githubusercontent.com/101175889/218992048-04bb4a0e-d2a3-40ce-816f-6aca25a925fb.mp4

Should it be solved regarding the comments above?

Hmm, could you try upgrading your installation of the mobile app to v27.201 and see if it gives you any useful feedback when you try to share a photo?

I have the v27.201. When I try to upload a photo now I get the message that the file is too big. When I downsize the photo to 20% of the original it works well. But downsizing every photo taken by my mobile camera shouldn't be necessary, I think.

But downsizing every photo taken by my mobile camera shouldn't be necessary, I think.

Hmm, yeah, I agree.
Which of these is a match for the error message:

"The server said the file is too large."
"The server said: […]"
(or something else)

?
If it's one of the first two, you should contact your server administrator. If you're seeing the first error message I quoted, then the server is giving an HTTP response with status code 413 Payload Too Large. If you're seeing the second error message, then the server is saying that the file is larger than MAX_FILE_UPLOAD_SIZE in the server settings (/etc/zulip/settings.py). If your server admin needs help figuring out what's going on, please direct them to the #production help stream in the Zulip development community.

Thanks, Chris. I'll contact the server administrator, because "the server said he file is too large" is what is prompted. I'll let you know.

Hello, the server admin here. Thanks for helping out. We had a similar problem in the web version of Zulip (https://github.com/zulip/zulip/issues/21978). I will find out what the current maximum file size is.
Regarding the changes made recently, isn't it possible to notice the user what the maximum file size is according to the sever settings and also what size the uploaded file had?
Thanks in advance

The mobile app has an open issue #5148 for doing a client-side check of the file against MAX_FILE_UPLOAD_SIZE before attempting an upload. I agree that would be good to do.
From observation, I'd expect a failed check against the server setting to give a 4xx response with details like
{"result":"error","msg":"Uploaded file is larger than the allowed limit of 25 MiB","code":"BAD_REQUEST"}

And with #5663 (released in v27.201), the mobile app will now show that message (msg) when we get it.
In this case, that's not what we got: the server gave an HTTP response with status 413 Payload Too Large. I think the upload is being rejected at a different layer that doesn't handle MAX_FILE_UPLOAD_SIZE. I don't know details of what layers might give that response, beyond what my colleague has mentioned:

The 413 will come from nginx if the upload is larger than 80MB, or some other intermediate proxy if it has a lower limit.

Is there such an intermediate proxy in your setup? I'd recommend starting a topic in #production help in the Zulip development community. You'll find people with more knowledge than I have of server configurations, where to look in the server logs, etc.

I use NGINX as reverse proxy. I will take a look at the configuration.


Extend ID Regex to support escaped quotes

Address https://github.com/coreruleset/coreruleset/issues/3239.
This PR proposes to extend the regex looking for IDs to support also IDs coming with escaped quotes.
JSON log lines such as the following one are not supported:
{"time":"2024-12-06T11:13:12.250069+01:00","level":"ERROR","msg":"[client \"<IP_ADDRESS>\"] Coraza: Warning. Request content type charset is not allowed by policy [file<EMAIL_ADDRESS>[line \"2753\"] [id \"920480\"] [rev \"\"] [msg \"Request content type charset is not allowed by policy\"] [data \"|garbage|\"] [severity \"critical\"] [ver \"OWASP_CRS/4.7.0\"] [maturity \"0\"] [accuracy \"0\"] [tag \"application-multi\"] [tag \"language-multi\"] [tag \"platform-multi\"] [tag \"attack-protocol\"] [tag \"paranoia-level/1\"] [tag \"OWASP_CRS\"] [tag \"capec/1000/255/153\"] [tag \"PCI/12.1\"] [hostname \"<IP_ADDRESS>\"] [uri \"/\"] [unique_id \"UGAYIvYnOAtQVNqhxNg\"]","severity":"critical"}

As described in the original issue, the problem is [id \"920480\"], but now as mentioned in https://github.com/coreruleset/coreruleset/issues/3239#issuecomment-2096775153, we can just extend the regex to make it flexible enough to support also this case.

Perfect, thanks!


implement datatable ingest directly into lightgbm

https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/core.py#L277-L322
￼￼￼￼￼
9:26 PM
https://github.com/dmlc/xgboost/blob/master/python-package/xgboost/core.py#L490-L515
9:27 PM
https://github.com/dmlc/xgboost/blob/master/tests/python/test_dt.py
9:28 PM
https://github.com/dmlc/xgboost/blob/master/include/xgboost/c_api.h#L231-L246
9:29 PM
https://github.com/dmlc/xgboost/blob/master/src/c_api/c_api.cc#L627-L693
9:30 PM
https://github.com/dmlc/xgboost/blob/master/tests/cpp/c_api/test_c_api.cc#L6-L31

Closed in favor of being in #2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.


Error occurred while parsing an SNMP message

Not sure what is causing this. I am doing a fair few SNMP requests per 5 sec and 60 sec. Let me know if you need more information. I should also add this happens infrequently but enough to be annoying.
Woops! An error occurred while parsing an SNMP message. :(
To have this problem corrected, please report the information below verbatim
via email to<EMAIL_ADDRESS>or by creating a GitHub issue at
https://github.com/calmh/node-snmp-native/issues
Thanks!
AssertionError: 48 == 66
at parse (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:228:12)
at EventEmitter.msgReceived (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:410:15)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:548:8)
Message data:
42 00 00 00 05 33 f0 2c d1 1f c5 41 00 97 b0 32
e2 1d 10 5b a4 c0 a8 40 80 ca 6f 01 00 00 00 0f
00 57 00 49 00 4e 00 2d 00 43 00 4c 00 36 00 35
00 33 00 32 00 47 00 45 00 44 00 42 00 48
events.js:160
throw er; // Unhandled 'error' event
^
AssertionError: 48 == 66
at parse (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:228:12)
at EventEmitter.msgReceived (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:410:15)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:548:8)

Another one:
Woops! An error occurred while parsing an SNMP message. :(
To have this problem corrected, please report the information below verbatim
via email to<EMAIL_ADDRESS>or by creating a GitHub issue at
https://github.com/calmh/node-snmp-native/issues
Thanks!
AssertionError: 48 == 83
at parse (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:228:12)
at EventEmitter.msgReceived (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:426:15)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:548:8)
Message data:
53 70 6f 74 55 64 70 30 3b 42 e7 c7 16 0a 89 c7
00 01 00 04 48 95 c2 03 54 94 14 6e f1 c2 ec f7
60 92 ae a5 45 46 04 76 74 b5 ae 8b
events.js:160
throw er; // Unhandled 'error' event
^
AssertionError: 48 == 83
at parse (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:228:12)
at EventEmitter.msgReceived (C:\Users\crb\Desktop\snmp\node_modules\snmp-native\lib\snmp.js:426:15)
at emitTwo (events.js:106:13)
at Socket.emit (events.js:191:7)
at UDP.onMessage (dgram.js:548:8)

Handle the error event and you can choose what to do with these errors, including ignoring them. They siginify an incoming packet that is not valid SNMP

I am handling the event now which works great for keeping the app running. But it still prints the entire error message each time which I don't want. Is there a way to stop this?

No, and that's a bug we should fix.


[INLONG-2699][Manager] Rename field ext_props to ext_params in table data_proxy_cluster

Title Name: [INLONG-XYZ][component] Title of the pull request
where XYZ should be replaced by the actual issue number.
Fixes #2699
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Resolved in https://github.com/apache/incubator-inlong/pull/2708


Add auto merge

Current dependencies on/for this PR:

main

PR #19   👈

This comment was auto-generated by Graphite.


Add functional test infrastructure in CI

Add a CI pipeline that run e2e functional test of the script generation
The functional test use the dry-run mode and compare the output with an expected output.
The test
The test receives two parameters:

The path to the scenario that need to be executed
The path to the expected output directory, this directory should be the same as the result directory written by the dry-run execution of the scenario

It executes the scenario in dry-run mode and compare the results folder with the expected output folder, if any difference is found in one of the files, the test fails.
Note that the empty lines and commented lines (the ones that start with #) are not taken into account when computing the difference.
The workflow
The workflow uses a strategy matrix to define the tests it should run, every tests run in parallel.
Note that the python setup is cached and therefore will run only if the requirements-dev.txt file is changed.
Add a new test
To add a new test:

Create the desired scenario
Create a folder under ci_tools/functional_tests/scenarios_expected_outputs/ named after the name of this test and fill it with the expected output of the scenario (you can copy the output of a valid dry run)
In the pipeline file (.github/workflows/functional_test.yml), add your new test in jobs.test.strategy.matrix.include (see the comment saying "Add your new test here"), follow the syntax of the other tests

Thanks for your PR, @x41lakazam. Closing this as per offline discussion.


How do we handle loading JS/CSS in PhantomJS?

Some thoughts:
For JS, we can have an additional script tag that lets us know when the previous script has finished since script tags are blocking. We might need one beforehand as well to make sure we catch any potential errors thrown by the script though.
For CSS, we can poll the sheet/styleSheet property to check how many rules are defined. Alternatively, we can use the <img> onerror hack, but this loses the ability to between loads and errors.
In general, JS onload/onerror support is solid while CSS onload/onerror support is kind of spotty:

https://pie.gd/test/script-link-events/
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#Browser_compatibility

Closed via #7.


Mobile - Account Summary - Open markets

Figma:
https://www.figma.com/file/bZh7tOiLm6Ls9Hl4RL6qMC5X/Augur-Redesign?node-id=6626%3A193084

Percentage change:

Have we implemented the colors for increase/decrease along with icons (See design)

I haven't seen them in my build yet but likely because they just haven't triggered, possible to get a screen shot of that?

IF 0, format as 0.00%

Design on the left, build on the right:

dupe https://github.com/AugurProject/augur/issues/1524


Refactor child mapping & scope boundary detection

This is a refactor with no intended semantic changes. It addresses some "TODO" comments in the source by creating a generic fmap-like facility for mapping over child nodes.
I also factored out scope boundary detection. In addition to helping readability, this makes it easier to safely introduce future constructs (like ES6 arrow function expressions) that are also scope boundaries.

:heart:


Setup container based development process

The main objective is to mitigate issues arise from developers working with different operating systems.
We are using Docker for now due to the wide adoption.
Prequisites
Having Docker Desktop or Docker Engine + Docker CLI + Docker Compose installed
Workflow

Update sources: git pull
Spin up the container: docker compose up
Doing stuff
Commit and push your work: git commitand git push

Setup

Sources on the host machine are mounted into the container.
The skohub-vocabs app is running in develop mode inside the container with a debian OS.
You can view skohub-vocabs in the browser on the host at http://localhost:8000/index.de.html

Hot reloading aka fast refresh seems to be working well. At least for changes in the /src folder.


How to generate a float  frequency?

How to generate a float  frequency by modifying the code, such as 24.12HZ

read the source code,
uint32_t oscillator = 12543; // Oscillator initial frequency - 12543 Hz
In case you want fractional 24.12Hz, it is better to uses different approach as such Humm frequency was very low but quite easy with software delay from MHz xtal divided. c/c++ standard time library or Arduino delayMicroseconds will do a very good job while iO toggling at your desired frequency.


build-support/rust: Organize

Motivation for this change

toRustTarget and friends pulled out from rust tools into rust
library. Since they don't depend on any packages they can be more
widely useable.

build-rust-package gets its own directory

fetch-cargo-tarball gets its own directory

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Eval error looks legit.

this created a merge conflict in #144730

@figsoda OK I will fix

On the command line, it was conveniently not a conflict! Fixed.

Thanks!


Getting Client not authenticated to send anonymous mail during Email Notification through Jenkins

Objective:- I want to trigger the Email Notification through jenkins as a post build action. I have made some research that after It migrates to O365 Accounts. SMTP Server is also updated, because I am getting an Error Message earlier when I am trying to test config the Email using SMTP Server and Port Name within my office.
I get something here https://superuser.com/questions/879361/how-to-configure-jenkins-email-notifications-through-outlook
Here is the Email Notification Configuration screenshot from Jenkins.

I am creating a VSTS Build and running the Jenkins from there . Here is the Jenkins Build Error Log. Please ignore the Unstable Build Error. The Second Error is what I am facing for Email Notification.
3_Queue Jenkins Job Vision_Smoke_Phase2.txt
Jenkins Console Output Error:-
com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [AM5PR06CA0015.eurprd06.prod.outlook.com]
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2057)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1580)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1097)
at javax.mail.Transport.send0(Transport.java:195)
at javax.mail.Transport.send(Transport.java:124)
at hudson.tasks.MailSender.run(MailSender.java:131)
at hudson.tasks.Mailer.perform(Mailer.java:170)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1749)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)

@DavidStaheli  can you please look into this or assign to somebody :+1:


[develop] Stop linearizing optional gate selectors

This is #1116 against develop. This PR builds upon https://github.com/o1-labs/proof-systems/pull/1146.

Diff approved in #1116. Force-merging.


🐛 BUG: Build cascading with pages dev

Which Cloudflare product(s) does this pertain to?
Pages, Wrangler
What version of Wrangler are you using?
3.0.0
What operating system are you using?
Mac
Describe the Bug
Setup:

Create a simple pages deployment
Create a placeholder _worker.js inside the public directory (I used export default () => {}; but anything works)
Run wrangler pages dev ./public. Wrangler pages will run and print ✨ Compiled Worker successfully.
Add a space to the _worker.js file

Now, wrangler will print ✨ Compiled Worker successfully twice. If another space is added, it will be printed three times, and so on.
On such a small project this has little impact, but on big projects with big worker files, dev seems to get slower and slower on every build, eventually crashing. There also seems to exist some race condition, as the server shut down / start message is sometimes printed between the success messages.
This is not as easy to repro when using pages functions, but I believe something similar is happening, with less feedback.
I've tested versions 2.20.0 and 3.0.0, and the issue exists on both.

Here's an example. I had already piled up a bunch of rebuilds, the screenshot shows the logs after changing the file twice.

Created this simple repo for repro: https://github.com/tiagoad/wrangler-pages-3258-repro


Users must acknowledge that site is in beta - click through required

Problem - Users must be alerted that site is in beta BEFORE being able to browse site. This warning should not be skippable. Adding this dialogue on page load will make it easier to share POA site within legal circles during beta stage
Formatting if possible - grey out background to highlight dialogue
Draft messaging : This site is presently available as a public beta. During this time changes may occur without warning. Legal and technology professionals that wish to contribute their time and expertise can reach out to the project at https://github.com/code-for-nashville/power-of-attorney
@lgonzo1105 - Can you please review the copy above and make changes you see fit
Examples :

https://material-ui.com/demos/dialogs/#responsive-full-screen

@CoreyAR - please review this request - thanks

Ideally, we wouldn't show the user two modals one right after another. If we could add information about the site being in BETA added to the disclaimer modal that would be ideal.

This is great as is!
Lori G.
Sent via the Samsung Galaxy S9+, an AT&T 4G LTE smartphone
-------- Original message --------
From: aaronpinch<EMAIL_ADDRESS>Date: 9/4/18 7:22 PM (GMT-06:00)
To: code-for-nashville/power-of-attorney<EMAIL_ADDRESS>Cc: Lori Gonzalez<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [code-for-nashville/power-of-attorney] Users must acknowledge that site is in beta - click through required (#73)
Agreed, 2 modals right after another is bad form. We could/should add it to the existing model
@lgonzo1105https://github.com/lgonzo1105 any comments on the copy before I revise the request?
This site is presently available as a public beta. During this time changes may occur without warning. Legal and technology professionals that wish to contribute their time and expertise can reach out to the project at https://github.com/code-for-nashville/power-of-attorney
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/code-for-nashville/power-of-attorney/issues/73#issuecomment-418559044, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Akmnr8XYsl_o6v-E7zH0-VYW6W1bjMJ_ks5uXxlLgaJpZM4ViLFP.

I have one more change to the initial modal.  Can we add the sentence by itself (perhaps right below the sentence "A copy of the Tennessee Code (T.C.A. 2017) can be found here." that says "This website does not track, keep or otherwise monitor the information inputted."  Security concerns and data tracking came up this weekend again so adding it to the initial modal might help alleviate this.  @CoreyAR

Breaking out the above request - valid but somewhat buried here. Lori - I will tag you

created https://github.com/code-for-nashville/power-of-attorney/issues/98 for lori's issue


Add sqlc to the Homebrew core tap

While you can install sqlc using brew (#233), it requires using a custom tap. What I'd really like is the following command to work:
brew install sqlc

Follow the basic instructions to get this working:

[x] meets all our Acceptable Formulae requirements
[x] isn’t already in Homebrew (check brew search )
[x] isn’t already waiting to be merged (check the issue tracker)
[x] is still supported by upstream (i.e. doesn’t require extensive patching)
[x] has a stable, tagged version (i.e. not just a GitHub repository with no versions)
[ ] passes all brew audit --new-formula  tests

Done! https://github.com/Homebrew/homebrew-core/pull/67448


fix azure GetSecretMap

Change Azure GetSecretMap to be similar to GCP implementation. Unit tests are not working for GetSecretMap - to be fixed in a future pull request. Closes #263

Oh, also we should return an error if they use other types like cert and key.

/ok-to-test sha=b01497c

I think this LGTM, but since I helped Joey with this one, wait for another set of eyes

/approve

Looks good to me, thank you for the fix :tada:! reminder: for the release notes we should add a note at the top to inform users that this particular functionality has changed.

/merge


Update how we deal with type checking

After looking at how complex nested type checking is going to be combined with decimal type checking in #1063 @jlowe and I decided that we needed a more complete solution.  This is hopefully that solution.  It is a little bit ugly but it provides a fairly clean and consistent way to cover all of our existing checks and also updates it for decimal, Array, Struct, and Map support.
It does not prevent users from overriding the type check and doing it all themselves, but that should be very rare instead of common like it is now.

build

@sperlingxx does this change look good to you?

@sperlingxx does this change look good to you?

LGTM!


Revert faiss back to v1.6.5

Signed-off-by: John Mazanec<EMAIL_ADDRESS>Description
This PR reverts #155. Running into failure compiling on centos 7 arm with g++ 4.8:
/usr/share/opensearch/k-NN/jni/external/faiss/faiss/utils/simdlib_neon.h: In instantiation of 'faiss::simd8uint32::simd8uint32(const T&) [with T = faiss::simd32uint8; typename std::enable_if<faiss::detail::simdlib::is_simd256bit<T>::value, std::nullptr_t>::type <anonymous> = nullptr]':
/usr/share/opensearch/k-NN/jni/external/faiss/faiss/utils/simdlib_neon.h:667:72:   required from here
/usr/share/opensearch/k-NN/jni/external/faiss/faiss/utils/simdlib_neon.h:665:60: error: cannot convert 'uint32x4x2_t' to '__builtin_aarch64_simd_usi' in **initialization**

I will investigate this, but for the time being, we should just revert.
Check List

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #165 (6710910) into main (d8c2ff4) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #165   +/-   ##
=========================================
  Coverage     82.82%   82.82%
  Complexity      801      801
=========================================
  Files           117      117
  Lines          3580     3580
  Branches        339      339
=========================================
  Hits           2965     2965
  Misses          461      461
  Partials        154      154

Continue to review full report at Codecov.

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


Unable to connect after disconnect media router

HI,
I working on demo project. Where i am trying to connect a chromecast with my application.In my demo app,I am not using action bar.  I need to discover or select the chromecast device manually. I am able to connect with chromecast device on selection a item on list. but when i disconnect the device .. and trying to connect again . but its not working ...I am sharing a code with u. please let me know where i am wrong

Here is code sample :-
https://github.com/sachinbhanot/Chromecast/tree/master/ChromecastSample

Your question doesn't seem to have anything to do with this project; if you have questions on Cast, please ask on StackOverflow.


File contains a virus on Windows

Running Win11, and the built-in A/V is blocking the file saying it contains a virus and Brave blocked the download which I had to turn off safe browsing.  Any ideas if this file is safe?

See #12 and #16.


fix typo and remove unnecessary code

Why is this closed? These look like good changes at a glance.

NVM, there's another PR. I see it now.


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 4fb20b6:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch e641c9d1-ec7b-4cef-aef2-8a4f3dab6486 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Unable to build my Project after upgrading flutter to the latest stable version

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Upgrade Flutter to the latest stable version
Clean the project, invalidate the cache, restart Android Studio, restart the computer (Mac)
Update SDK in the pubspec.yaml: sdk: '>=3.0.3 <4.0.0'
Run the Flutter App

Actual results
It fails to run with the below error:

What went wrong:
A problem occurred evaluating project ':file_picker'.

No signature of method: build_cw9uae13pcm84ofwp546zr6jg.android() is applicable for argument types: (build_cw9uae13pcm84ofwp546zr6jg$_run_closure2) values: [build_cw9uae13pcm84ofwp546zr6jg$_run_closure2@14d5b234]

Logs

Logs

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/puneetpandey/.pub-cache/hosted/pub.dev/file_picker-5.3.2/android/build.gradle' line: 24

* What went wrong:
A problem occurred evaluating project ':file_picker'.
> No signature of method: build_cw9uae13pcm84ofwp546zr6jg.android() is applicable for argument types: (build_cw9uae13pcm84ofwp546zr6jg$_run_closure2) values: [build_cw9uae13pcm84ofwp546zr6jg$_run_closure2@14d5b234]

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Application finished.

Flutter Doctor output

Doctor output

[✓] Flutter (Channel stable, 3.10.4, on macOS 13.4 22F66 darwin-x64, locale en-IN)
    • Flutter version 3.10.4 on channel stable at /Users/puneetpandey/Documents/Software/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 682aa387cf (6 days ago), 2023-06-05 18:04:56 -0500
    • Engine revision 2a3401c9bb
    • Dart version 3.0.3
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/puneetpandey/Library/Android/sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.79.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] VS Code (version 1.56.2)
    • VS Code at /Users/puneetpandey/Documents/Software/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • SM A125F (mobile) • RZ8R924RGJJ • android-arm64  • Android 12 (API 31)
    • macOS (desktop)   • macos       • darwin-x64     • macOS 13.4 22F66 darwin-x64
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 114.0.5735.106

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@lifehetu
It seems to be related to file_picker package which is third party, and issues with third-party packages need to be reported to the package authors, rather than the Flutter project.
Closing from here.


fix  function update_config in run.py

Must be:
def update_config(config, file):
_config = sth.load_config(file)
try:
for key in _config:
config[key] = _config[key]
except Exception as e:
print(e)
sys.exit()
return config

Hi,
Thx for your correction.I wasn't aware of the mistake because there was no error in running this sentence.
I've fix this, thank you very much.
next time maybe you can submit a PR. so that I can merge it.

Ok!

Feel free to reopen this issue if still have questions.


Can I used the class from Objective-C code ?

Hi Mmisiek - I'm not sure. I've bridged from Swift to Objective-C before, but not the other way around. Try searching in your favorite search engine for "How to use Swift library in Objective-C" - if it's possible to access Swift from Objective-C, then you should be able to use CloudKitSyncMonitor. You might need to modify the library to do so (e.g. adding @objc before methods). If you do so, please submit a pull request so others can benefit!

I will look into it.
From: Grant Grueninger<EMAIL_ADDRESS>Reply-To: ggruen/CloudKitSyncMonitor<EMAIL_ADDRESS>Date: Tuesday, March 2, 2021 at 11:00
To: ggruen/CloudKitSyncMonitor<EMAIL_ADDRESS>Cc: Mmisiek<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ggruen/CloudKitSyncMonitor] Can I used the class from Objective-C code ? (#2)
Hi Mmisiek - I'm not sure. I've bridged from Swift to Objective-C before, but not the other way around. Try searching in your favorite search engine for "How to use Swift library in Objective-C" - if it's possible to access Swift from Objective-C, then you should be able to use CloudKitSyncMonitor. You might need to modify the library to do so (e.g. adding @objc before methods). If you do so, please submit a pull request so others can benefit!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Did you manage to get CloudKitSyncMonitor working from Objective-C? If so, can you give us a code snippet? If not, I'll just close this issue.

Honestly I gave up on Cloud Kit, the updates to cloud are very slow and unreliable. Your tool is a must.

Thank you - good luck with whatever sync solution you came up with. :)


Prevent location object mutation

history object is shared between many libraries like connected-react-router and mutating this object may cause bugs.
Currently redux-location-state mutates location object inside history here:  https://github.com/spotify/redux-location-state/blob/f7c32571d43bb69cb9318ccbf02d92aa118e5c39/src/createReduxLocationActions.js#L50
PR: https://github.com/spotify/redux-location-state/pull/41

is in version 2.8.0


Add refresh token functionality

Simple functionality to implement refresh token.

Hey @jmlaya! Thanks for the contribution.
I think this functionality would add something to the interface of this module that is not required. I believe a separate module that is composed with this one and performs this operation would be a better alternative.
Thanks!

I agree with @dschenkelman. I think this adds unnecessary complexity to the library for a feature that's simple to implement for most cases, which is just signing the same payload with a different expiration date.


Update SMP/E PTF information in v1.10

Signed-off-by: nannanli<EMAIL_ADDRESS>
Is there a related issue for this PR?
Issue number: #1193
Developer's Certificate of Origin (DCO)

Same fix as in #1217

@nannanli - this PR seems to overlap with https://github.com/zowe/docs-site/pull/1217.  If you add 1.11 details to your one then I'm happy for that to merge and also close my https://github.com/zowe/docs-site/pull/1217 (after you do a diff in case there is anything else that might be interesting).   Tks

@Joe-Winchester This PR is to fix the 1.10 doc. The PR you created will fix the 1.11 doc, so they won't overlap. Sorry for the confusion.


Update devenv-sift-and-sql-server.md

Updated code formatting

Thanks for your contribution - much appreciated!


ECL elf-library example build fails

The ECL elf-library build is failing like so:
;;; Note:
;;;   Invoking external command:
;;;   gcc -o /home/ma/.cache/common-lisp/ecl-16.1.3-7fd97549-linux-x64/home/ma/opt/quicklisp/dists/quicklisp/software/cffi_0.20.0/cffi-grovel.fasb -L/home/ma/opt/ecl-rigetti/lib/ /tmp/eclinitTJVuPI.o /home/ma/.cache/common-lisp/ecl-16.1.3-7fd97549-linux-x64/home/ma/opt/quicklisp/dists/quicklisp/software/cffi_0.20.0/grovel/package.o /home/ma/.cache/common-lisp/ecl-16.1.3-7fd97549-linux-x64/home/ma/opt/quicklisp/dists/quicklisp/software/cffi_0.20.0/grovel/grovel.o /home/ma/.cache/common-lisp/ecl-16.1.3-7fd97549-linux-x64/home/ma/opt/quicklisp/dists/quicklisp/software/cffi_0.20.0/grovel/asdf.o -Wl,--rpath,/home/ma/opt/ecl-rigetti/lib/ -shared -lecl -lgmp -lgc -lgc -lgc -lpthread -ldl -lm An error occurred during initialization:
NAME-SUFFIX is not a slot of #<monolithic-dll-op :INIT-NAME "quil_init" :PROLOGUE-CODE (PROGN
                                                                                (REQUIRE
                                                                                "ASDF")
                                                                                (PRINC
                                                                                ";;; Initializing QUILC dependencies.")
                                                                                (TERPRI))>.
make: *** [Makefile:23: cl-quil--all-systems.so] Error 1

According to out-of-band conversation with dkochmanski, probably fixed by his recent cffi commit:
https://github.com/cffi/cffi/commit/86836561ffd173cfa7a9ea2d9bd26dd6aa49b614

This appears to be resolved when compiling with the latest ECL. See also #426. Closing.


Allow specifying single-character long option names

Sometimes you want to automatically specify a bunch of long options using some strings that you're getting - but some of them are one-character-long. cxxopts will treat them as short option names, not long ones. It should at least support a: ",c" syntax for specifying single-characters as long option names.

This is sad. I need a single-character long option for a school assignment, and the assignment is automatically rated. So I can't use the whole library because of this...

very sad that this is not implemented. Without this simple option i cannot use your library.


Looking forward to your pc version~~~~~~

Looking forward to your pc version
Thanks very much

Hi, this library works in anywhere platform, only need appropriated font installed :)

Hi, this library works in anywhere platform, only need appropriated font installed :)


Change config and system name

Change the config and system names to eventyay.

Recommended for beginners who are new to open-source contributions! Anyone?

Taking It Since No one is there!

I don't think he Submitted a PR. So I'm on it

@NaviRocker  @mariobehling I would like to take this issue up, please assist me as to what is to be done.

Go ahead. There is no need to announce you are taking it up. Just go ahead and make a PR.


fix: parsing arn with multiple slashes when importing auth

Description of changes
Allow more than 1 forward slash in role arns for authenticated and unauthenticated roles when importing auth

Issue #, if available
Fixes https://github.com/aws-amplify/amplify-cli/issues/12817

Description of how you validated changes
Manually imported auth (Cognito User Pool and Identity Pool) with multiple slashes in the IAM role names for auth and unauth. Created test web app to confirm account creation and sign-in/sign-out.
These steps fail with 12.2.0 CLI, but succeed with PR changes.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[x] Pull request labels are added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #12987 (93d1e3d) into dev (ec9a2ba) will increase coverage by 48.43%.
Report is 259 commits behind head on dev.
The diff coverage is 55.55%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@             Coverage Diff             @@
##              dev   #12987       +/-   ##
===========================================
+ Coverage    0.00%   48.43%   +48.43%
===========================================
  Files        1296      841      -455
  Lines      149743    38074   -111669
  Branches     1296     7787     +6491
===========================================
+ Hits            0    18443    +18443
+ Misses     148447    18040   -130407
- Partials     1296     1591      +295

Files Changed
Coverage Δ

...rmation/auth-stack-builder/auth-stack-transform.ts
89.22% <ø> (+89.22%)
:arrow_up:

.../src/provider-utils/awscloudformation/constants.ts
100.00% <ø> (+100.00%)
:arrow_up:

...e-walkthrough-types/awsCognito-user-input-types.ts
100.00% <ø> (+100.00%)
:arrow_up:

...vice-walkthrough-types/cognito-user-input-types.ts
100.00% <ø> (+100.00%)
:arrow_up:

...y-category-function/src/commands/function/build.ts
0.00% <0.00%> (ø)

...ify-category-function/src/events/prePushHandler.ts
33.33% <0.00%> (+33.33%)
:arrow_up:

...ider-utils/awscloudformation/utils/layerHelpers.ts
21.80% <0.00%> (+21.80%)
:arrow_up:

...er-utils/awscloudformation/utils/storeResources.ts
30.38% <ø> (+30.38%)
:arrow_up:

...ib/S3AndCloudFront/helpers/configure-CloudFront.js
87.06% <ø> (+87.06%)
:arrow_up:

...lify-category-hosting/lib/S3AndCloudFront/index.js
89.65% <ø> (+89.65%)
:arrow_up:

... and 61 more

... and 1237 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Closing as unnecessary because #13009 was merged to the hotfix branch


Release 3.0.0 missing from forge

There is a release version 3.0.0 available trough github, but the latest version on forge is still 2.5.3.
Is that intentional?

Indeed. It seems the build that deploys to the forge failed. I've just restarted it to see if it will pass now.

Well that seems to have fixed it.


Fix/sidebar anchor links

@subnetmarco I've put together a different approach for caching the documentation page images. I've tested it in multiple major browsers and it works. Safari seems to be the exception and I'm not sure why. I'm using a method that has been around for a long time. If this doesn't do the trick, I'll have to instead open an issue with the VuePress team and see if they can shine some light on it.
https://deploy-preview-36--kuma.netlify.com/
In the meantime, I have a fix on the live site that works 100%, but is not ideal because of the manual work required on my part. I would prefer to have it automated, which is what I've done with this new method.
I can explain why it happens. The short version is that it's caused by images above the anchor not being completely loaded yet. Once they load and render their height into the browser, content is pushed down and the "shift" occurs. The anchor navigation when going to a page like "DPs and Data Model" is happening faster than the initial image loading.


Cannot Snapshot test.

I tried to do snapshot test.
But, errror occurs.
https://github.com/fumiyasac/LikeCustomTransition
(I want to do snapshot test about common directory)
ENOENT: no such file or directory, stat '/Users/sakaifumiya/Desktop/reactNativeApp/LikeCustomTransition/node_modules/react-native-router-flux/node_modules/react-native/Libraries/Renderer/src/renderers/shared/stack/event/eventPlugins/ResponderSyntheticEvent.js'

Invalid. Related to RNRF


Implement minimal ContainerDef

Extracted this from #4465 to demonstrate the idea without the overhead of Started state + only one state field (for now)

Superseded by https://github.com/testcontainers/testcontainers-java/pull/7714


Jest.mock cannot find request module error

I got error of Cannot find module '../request' from 'CrudList.spec.js'
I followed the async example, I've no clue what's the problem. My file structure look like this
https://i.stack.imgur.com/dMvjt.png

../__mocks__/request

@thymikee Just curious why it worked here https://github.com/facebook/jest/blob/master/examples/async/tests/user-test.js
the mocks and test folder are in the same level too.

Tried your suggestion, didn't work too
http://imgur.com/a/7x7Hz

Is request.js adjacent to __mocks__ directory? If not, it should have. Then you'll be able to call it just with ../request. More on manual mocks: http://facebook.github.io/jest/docs/manual-mocks.html#content

@thymikee they are siblings to each other, why in the jest example it worked by doing jest.mock('../request'); I just don't get it.
Look https://github.com/facebook/jest/tree/master/examples/async

It works, because if you have directory structure like this:
src
├── __mocks__
│   └── left-pad.js
├── __tests__
│   └── left-pad.test.js
└── left-pad.js # we require this

Jest knows, that whenever something is calling src/left-pad.js file, and from src/left-pad.test.js you're calling jest.mock('../left-pad), if there's a src/__mocks__/left-pad.js file present, it will be used as implementation of src/left-pad.js module.
Please read the docs more thoroughly.


Update from beta 19 to 20 select order by issue

I upgraded the library and my unit tests break just here, nothing is returned, rows 5 , offset 5
ReQuery.getInstance().getDataStore().select(DocumentEntity.class)
        .orderBy(DocumentEntity.UPLOAD_DATE.desc())
        .limit(rows)
        .offset(offset)
        .get().toObservable()
        .toList()

Are you sure the data for your selection is in the database? What is the raw sql that is executed (and does that return any results)?

I have a test that gets all the data and it returns all data from db.

Double checked the test output of https://github.com/requery/requery/blob/master/requery-test/src/main/java/io/requery/test/FunctionalTest.java#L717 and didn't see any problems with the generated sql
select id, address, age, birthday, email, homepage, name, picture, uuid from Person where name = ? limit 5 offset 5
if you an example or the sql output that reproduces please provide


Events id sequence started at 50

Somehow got created and set to start at 50. Check first migration and maybe the sequence definition on the id property of the vent entity.
Delete all existing events and put new fake ones in when fixed.

Did'nt really find why that way didn't work.  The default allocation size for a hibernate sequence is 50.  might be related to that.
Either way, this way is easier to type in the java world. But it may not be validating correctly.....


Fix nested tests where only the last nested test was printed #26

Fixes #26, the new reports simply had to be added to the existing reports

Hey @blutorange, thanks for your PR.
I just ran it against this test scenario and it still miss some Nested tests, can you try as well?

No problem, it's my pleasure. Regarding the nested tests, are you certain you've been using the right version? I tried it like this:

git checkout blutorange/fix-nested-tests
edit pom.xml, set version to something like 1.1.0+FixNestedTests
mvn clean install -Dmaven.javadoc.skip -Dgpg.skip
cd ..
git clone https://github.com/rkraneis/tree-reporter
git checkout 2a656ebb9e4c5c39371b5fd4e849c326641437fb
edit pom.xml, set version to 1.1.0+FixNestedTests
mvn test

This gives me the following output

Which should be all test cases (although in a different order)

No problem, it's my pleasure. Regarding the nested tests, are you certain you've been using the right version? I tried it like this:
git remote add https://github.com/blutorange/maven-surefire-junit5-tree-reporter
git fetch blutorange
git checkout blutorange/fix-nested-tests
 # edit pom.xml, set version to something like 1.1.0+FixNestedTests
mvn clean install -Dmaven.javadoc.skip -Dgpg.skip
cd ..
git clone https://github.com/rkraneis/tree-reporter
cd tree-reporter
git checkout 2a656ebb9e4c5c39371b5fd4e849c326641437fb
# edit pom.xml, set version to 1.1.0+FixNestedTests
mvn test

This gives me the following output

Which should be all test cases (although in a different order)

Thanks for trying, it was my bad! I got the wrong version :P
Thanks for fixing this issue!


Work with Custom NuGet Simple Servers

The verifier can work against Nuget.Server and anything that builds off of it (like Chocolatey.Server), however it doesn't appear to work against other simple servers like Nexus.

https://gitter.im/chocolatey/chocolatey.org?at=5720ecbc4ba1347709b596aa

@GnstheGrain:

well, unless one is running choco as a self-hosted server

@ferventcoder:

then you would just set up the service on a Windows machine somewhere and run it
you would point it to your self-hosted server
the one issue is that you would need to build into that server the smarts of recording the results

https://gitter.im/chocolatey/choco?at=5721e5ea4da16e7d13d993c2 (Nexus-OSS)

@timbrown5:

We are using nexus-oss to host our internal packages, when I try to point chocolatey-verifier at our dev repo it fails to find the repo. It seems to be looking for '/api/v2/submitted/Packages()', but our repo is 'http://..../nexus/service/local/nuget/choco-sn-dev/'. Chocolatey is able to install package from this repo, we get the follow error with validator:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>

HTTP ERROR: 404

Problem accessing /api/v2/submitted/Packages(). Reason:

 Not Found

Powered by Jetty://

Just wondering, if it possible to point choco-verifier at a nuget repository?

@ferventcoder

While it may be possible, it is not tested against artifactory or nexus. It sounds like it may need some tweaks to work properly. The other issue is that your server needs some way of recording that a package has been tested and works properly so it doesn't continually retest the same packages.

Perhaps the verifier could alternatively have a way of recording itself.

The verifier does serve as a bit of a CI type of tool, I've always thought of it as an integration tester


Date  should honour Logseq   date format settings

Again, many thanks for making/porting this plugin!
My request: date format should depend from Logseq EDN settings
currently, when I use the template <%Today%> I am getting  [[Jan 26th, 2022]], but I am expecting  [[2022-01-26]]
In my config.edn I have
 :date-formatter "yyyy-MM-dd"

I would propose for the plugin to inherit those settings for date format

It  should ideally already be doing that. it doesn’t use the config.edn value but rather the value that you deifned in the in built settings. Date formatter is not the official or recommended approach to setting the date format. Could you try setting this in config.edn :journal/page-title-format "MMM do, yyyy”or perhaps setting the date format from settings? It creates a slightly different config.edn entry and that’s what’s taken as input
On 27 Jan 2022, 3:02 AM +0400, Daniel Borek @.***>, wrote:

Again, many thanks for making/porting this plugin!
My request: date format should depend from Logseq EDN settings
currently, when I use the template <%Today%> I am getting [[Jan 26th, 2022]], but I am expecting [[2022-01-26]]
In my config.edn I have
:date-formatter "yyyy-MM-dd"
I would propose for the plugin to inherit those settings for date format
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

That seems like a bug then. I'll be investigating it
On 27 Jan 2022, 5:25 PM +0400, sawhney17/logseq-smartblocks @.***>, wrote:

:journal/page-title-format "yyyy-MM-dd"
:journal/file-name-format "yyyy-MM-dd"
:date-formatter "yyyy-MM-dd"
I would like to have this ISO format of dates due to interoperability with other apps

Found the cause. Looks like the date format is getting stuck in cache. It's an issue when changing the date format after the plugin has already been installed. Try reinstalling the plugin.

Yes, reinstalling the plugin solved it! Thanks!
But I didnt change the format after I installed the plugin. I will mark it as solved anyway.

today {{renderer :smartblock, today-date,Today, true}} it was  back displaying [[Jan 30th, 2022]] format, after reinstall it come back to [[2022-01-30]]

I believe this new release should solve it for good. Looks like the date format was not staying in sync with Logseq's and only refreshed once the whole plugin was refreshed.


Fix unsoundsess bug in AtomicPtr::compare_exchange_*

Implements #36 and adds a test to check for its correctness.
EDIT: The following is all wrong. Thanks @Dr-Emann
There could be another very subtle issue with the compare_exchange_weak variant and our Pointer trait.
With compare_exchange (strong) the outcome is binary:
a. The swap succeeded so new is now stored into (and owned exclusively) by the data structure
b. The swap failed, and the caller gets ownership of new back
With compare_exchange_weak, this gets a bit muddy:
a. The swap succeeded, this is reported back successfully so new is now stored into (and owned exclusively) by the data structure -- easy
b. The swap failed, this is reported successfully, the caller gets ownership of new back -- easy
c. The swap actually succeeded, but the inner call to std::sync::atomic::AtomicPtr::compare_exchange_weak spuriously fails:
Imagine the following happens:
0. The failure path runs, and Box::from_raw is called on new which is now, actually, in the datastructure
1. The calling thread is now preempted by the OS for a while
2. A different thread swaps new out of the AtomicPtr and naively retires it because its no longer accessible right?
3. There are no active hazard pointers to it currently, so it is dropped immediately
4. The original thread comes alive again, holding a nuclear potato, a Box that think it owns freed memory
To be more rigorous, I believe the break in the safety chain that allows this is here:
https://github.com/jonhoo/haphazard/blob/e0e18f60f78652a63aba235be854f87d106c1a1b/src/lib.rs#L612-L616
Because new may be shared if the exchange spuriously failed.
Also this may not be a problem for haphazard, as the haphazard::AtomicPtr docs state:
https://github.com/jonhoo/haphazard/blob/e0e18f60f78652a63aba235be854f87d106c1a1b/src/lib.rs#L227-L229
But its a nice assumption to make when creating a data structure, because if the haphazard::AtomicPtr buckets in your concurrent hashmap don't own their pointees, who does?
I think we can fix this by simply checking if compare_exchange_weak_ptr failed but returned current.
Some questions:

Is this correct for the semantics of std's AtomicPtr::compare_exchange_weak?
If we do this check for spurious failure doesn't the semantics of compare_exchange_weak become the same as compare_exchange for callers (we catch spurious failures now)?

Codecov Report

Merging #38 (0f061c9) into main (e0e18f6) will increase coverage by 1.15%.
The diff coverage is 83.33%.

@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
+ Coverage   83.83%   84.99%   +1.15%
==========================================
  Files           8        8
  Lines         823      833      +10
==========================================
+ Hits          690      708      +18
+ Misses        133      125       -8

Impacted Files
Coverage Δ

src/lib.rs
43.67% <50.00%> (+10.73%)
:arrow_up:

tests/lib.rs
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

My understanding of compare_exchange_weak is that it may spuriously fail to swap, even if the current value is equal to the passed current value, not that it may swap, but spuriously return that it did not.
The rust docs for compare_exchange_weak say:

Unlike AtomicUsize::compare_exchange, this function is allowed to spuriously fail even when the comparison succeeds, [...].
The return value is a result indicating whether the new value was written and containing the previous value

Notably, it says the result indicates whether or not the value was written, not whether or not the comparison succeeded.
Therefore, I believe the outcome in c is impossible: the failure path will never be executed if new was actually inserted.

Ah, good catch, that makes things a lot nicer than what I misunderstood.

Next pass is in! Excited to have this fix out!
Just one more question about the AtomicPtr alias in the new test

Fixed the import in the test! Looks like there is a token issue in coverage ci blocking this

Should be good to go! Looks like the coverage is unhappy about a github token though

CI fixed in https://github.com/jonhoo/haphazard/pull/44

Released in 0.1.5 :tada: Thanks for sticking with it :)