Face reconstruction

Hello. How to get face like this? How to make reconstruction of face?

Whatever image I use with this command python3 main.py -f samples/image.jpg, all faces looks the same:

Should I train first? Could you provide with detailed documentation

I think the ckpt assigned by main.py is already prepared in this repo (and it's trained!!!).

And if you can run main.py, it obvious that the program can find this ckpt.
After running program, you will get these files below. Don't you?

The first and second file is what you need!!
Same outcome?? maybe you should check whether the image assigned is right!!

I think the ckpt assigned by main.py is already prepared in this repo (and it's trained!!!). https://github.com/cleardusk/3DDFA/blob/master/models/phase1_wpdc_vdc.pth.tar And if you can run main.py, it obvious that the program can find this ckpt.

After running program, you will get these files below. Don't you?

Yes, I got these files:

The first and second file is what you need!!
Same outcome?? maybe you should check whether the image assigned is right!!

So, look how the ply and obj looks like, just the same as other outputs. Estimation of pose was correct:

and this is ply file:

What is inside "phase1_wpdc_vdc.pth.tar" ? Should I have the same file for new input?

@ken881015 I also tried for my face, it is the same.
Here are some way I suggest you:

Can you show the rendered mesh from .obj file ? I use MeshLab as platform.

I think the defect of this model is that it doesn't really care about shape parameters...

All the loss function be used is only about 68 keypoints and 132 resample(random sample) vertices

the .ply file can be viewed by any text editor. You can easily check the difference between 2 ply files.

What is inside "phase1_wpdc_vdc.pth.tar" ?
- It records the the parameters of trained model, so of course you should have the same file (trained model) for alignment of face you want.

thank you for your hints!
It turned out, that in cloudCompare obj was rendered without texture.
But look how it looks like:

and your 3d models without textures looks the same both for your face, and face of that celebrity. I needed a facial reconstruction as much close to face on image as possible, like a sculpture.

Are you aware of this? The pose parameter of the 300W-LP dataset is 7 dimensional
However, in the implementation code of the 3DDFA paper, the 12 dimensions of regression are used directly
I don't know the connection, do you know this? There are many people asking this question on github, but I can't find the answer, can you help me

@ZHJNCUT  you have to use these 7 parameters to reconstruct the transform matrix (it's a homogeneous matrix 4x4 element, and only 3x4 is adjustable) which include the scaling, rotation, and translation effect.

@ZHJNCUT 你必须使用这 7 个参数来重建变换矩阵（它是一个 4x4 元素的齐次矩阵，并且只有 3x4 可以调整），其中包括缩放、旋转和平移效果。

Do you have the relevant code? I have tried several methods, but the results are all wrong, which is very upsetting, I hope you can help me
And the other thing is, does the reconstructed transformation matrix have anything to do with the size of the picture, the same picture but the size is different, does it have the same 12 pose parameters? Thank you for your answer

@ZHJNCUT 你必须使用这7个参数来重建变换矩阵（它是一个4x4元素的齐次矩阵，并且只有3x4可以调整），其中包括缩放、旋转和平移效果。

If you have relevant code, I hope you can send it to my email (hjzhang817@163.com), which will be greatly appreciated

It's been a while since I last worked on ClearDusk/3DDFA. Here are some
links to master it:
https://github.com/XingangPan/GAN2Shape.git
https://github.com/barisgecer/facegan.git
https://github.com/microsoft/DiscoFaceGAN.git
https://github.com/microsoft/Deep3DFaceReconstruction.git
Le mar. 16 janv. 2024 à 11:07, ZHJNCUT @.***> a écrit :

@ZHJNCUT https://github.com/ZHJNCUT
你必须使用这7个参数来重建变换矩阵（它是一个4x4元素的齐次矩阵，并且只有3x4可以调整），其中包括缩放、旋转和平移效果。
If you have relevant code, I hope you can send it to my email (
@.***), which will be greatly appreciated
—
Reply to this email directly, view it on GitHub
https://github.com/cleardusk/3DDFA/issues/228#issuecomment-1893428898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUJPCJCW76ACK2M75DFOOK3YOZGNHAVCNFSM6AAAAAA6BTRN7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGQZDQOBZHA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

自从我上次从事 ClearDusk/3DDFA 工作以来已经有一段时间了。以下是一些掌握它的链接： https : //github.com/XingangPan/GAN2Shape.git  https://github.com/barisgecer/facegan.git https://github.com/microsoft/DiscoFaceGAN.git  https://github.com/barisgecer/facegan.git https://github.com/microsoft/DiscoFaceGAN.git https://github.com/barisgecer/facegan.git https://github.com/microsoft/DiscoFaceGAN.git https://github.com/barisgecer/facegan.git  /github.com/microsoft/Deep3DFaceReconstruction.git 三月份。1 月 16 日 2024 年 11:07，ZHJNCUT @.> 一份文件：
……
@ZHJNCUT https://github.com/ZHJNCUT 你必须使用这7个参数来重建变换矩阵（它是一个4x4元素的齐次矩阵，并且只有3x4可以调整），其中包括缩放、旋转和平移效果。 If you have relevant code, I hope you can send it to my email ( @.), which will be greatly appreciated — Reply to this email directly, view it on GitHub <#228 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUJPCJCW76ACK2M75DFOOK3YOZGNHAVCNFSM6AAAAAA6BTRN7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGQZDQOBZHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Okay, thank you. Thank you very much

个4x4元素的

I saw that the code evaluation scheme in 3DDFA only has two-dimensional feature points (NME) error, there is no three-dimensional vertices (NME) error, I learned that the normalization of the calculation of three-dimensional vertices (NME) error is: the three-dimensional outer eye spacing of the face, you know how to find this, its index values are how much?

自从我上次从事 ClearDusk/3DDFA 工作以来已经有一段时间了。以下是一些掌握它的链接： https://github.com/XingangPan/GAN2Shape.git  https://github.com/barisgecer/facegan.git https://github.com/microsoft/DiscoFaceGAN.git  https://github.com/barisgecer/facegan.git https://github.com/microsoft/DiscoFaceGAN.git https://github.com/barisgecer/facegan.git https://github.com/microsoft/DiscoFaceGAN.git  https://github.com/barisgecer/facegan.git /github.com/microsoft/Deep3DFaceReconstruction.git 三月份。1 月 16 日 2024 年 11:07，ZHJNCUT @.> 一份文件：
……
@ZHJNCUT < https://github.com/ZHJNCUT ><EMAIL_ADDRESS>— 直接回复此邮件，在 GitHub 上查看 < #228 (评论） >，或取消订阅 < https://github.com/notifications/unsubscribe-auth/AUJPCJCW76ACK2M75DFOOK3YOZGNHAVCNFSM6AAAAAA6BTRN7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGQZDQOBZHA > 。您收到此消息是因为您订阅了该主题。消息<EMAIL_ADDRESS>
I saw that the code evaluation scheme in 3DDFA only has two-dimensional feature points (NME) error, there is no three-dimensional vertices (NME) error, I learned that the normalization of the calculation of three-dimensional vertices (NME) error is: the three-dimensional outer eye spacing of the face, you know how to find this, its index values are how much?


Use generators and thread pool to yield match results while traversing

Use Generators to achieve lazy (on demand) generation of FieldMatch items.
Also use ThreadPoolExecutor to parallelize traversing the "root" columns.

A further improvement would be to utilize async generators so that psedonymization can be executed as soon as a FieldMatch is emitted.

ThreadPoolExecutor, despite its confusing name, doesn't actually give us multi-threading because of the GIL, and is mostly useful for I/O bound tasks. Perhaps we should use concurrent.futures.ProcessPoolExecutor instead? As far as I remember it uses the same interface
Approving this in any case, could be nice with a performance comparison 👍

@mallport you are right. Tests show that ThreadPoolExecutor doesn't improve the efficiency at all. We might as well remove it. ProcessPoolExecutor wouldn't work either since the processes cannot work on a shared memory object, and would require a lot of de-/serialization of the json object.


ICA Host / Controller integration

Purpose / Abstract
This PR introduces the ICA integration to the Nibiru Chain.

ICA Host allows for remote operations to be triggered on Nibiru side. I've defined an arbitrary set of allowed message URLs, but feel free to add more, or put a wildcard there to allow for everything.
ICA Controller allows to trigger actions locally on a remote ICAHost enabled chain. It's unused for now, but present.
I've added an arbitrary upgrade handler just so we don't forget to run ICA-specific upgrade code (especially adding new store keys) but feel free to target another version.
Last, i've added a make format command to your makefile to clean up the code following Golang principles.

Tests
Unit tests are running fine, but the upgrade must be tested properly by trying to execute ICA operations on Nibiru testnet.

Looks good also clean.


RuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cuda:2

Thanks for sharing your great work
I got some error when run the code
python main.py -m test -i demo

I'd appreciate your advice
Traceback (most recent call last):
  File "main.py", line 180, in <module>
    main()
  File "main.py", line 175, in main
    face_model=config.face_model)
  File "/home/ubuntu/hongiee/MeIn/uv_inpainting.py", line 363, in predict
    image, face_model)
  File "/home/ubuntu/hongiee/MeIn/uv_inpainting.py", line 295, in preprocess
    segments = self.segmenter.segment_torch(images)
  File "/home/ubuntu/hongiee/MeIn/lib/face_segment.py", line 92, in segment_torch
    segments = self.model(images)
  File "/home/ubuntu/anaconda3/envs/MeIn/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/ubuntu/anaconda3/envs/MeIn/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 146, in forward
    "them on device: {}".format(self.src_device_obj, t.device))
RuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cuda:2

Looks like you are using more than one GPU. A possible solution is to change the device from 'cuda' to a specific GPU device, e.g. 'cuda:0'.
https://github.com/FuxiCV/MeInGame/blob/da9cff0251df9cf0378f4e171f55bbd0ed22b04b/main.py#L95


SL Review: Add Department ID

User Story
“As a BI expert I want Department ID of nominees associated with each SL Review submission so I can track and find each nomination and create accurate reliable reports”
Tasks
Steps needed to achieve this feature.
Acceptance Criteria
department ID is identified on each submission to the ODS

Need to add deptId to the employee lookup and also the db.

Tested and confirmed working ✔
Private Zenhub Image

looks good in test - is it showing up in for the data people?
PO'd

@mikeshi-bcgov Looks good in test - is it showing up in the data
PO'd

@mikeshi-bcgov Added one new submission on TEST. Name of employee Ayush Damani and submitted by Bhumin Patel.

@bhumin-fw received record applicationid =2939, but no DepartmentID value

@mikeshi-bcgov
The param we are sending for departmentID is deptid
e.g (recent submission):
deptid :  "100-3539"

@bhumin-fw can you please share with me the submission with JSON format?

@mikeshi-bcgov
Sent full object in JSON form on your email. Please do let me know if you haven't received it.

@bhumin-fw ok, got wrong field name, just aligned with yours "deptid", please test again, thx

@bhumin-fw confirm received, looks good, thx

@Stella-Archer
Ready to be tested on TEST. Please also check with @mikeshi-bcgov to make sure the date is received at ODS (please share applicationId of your submission with him).

Today we received 1 submission applicationid =9810, deptid =100-3547, hope it is the one tested

@ayushdamani
I don't see an SL submission on the test environment.
For testing this ticket and making sure it's production ready, could you please do another round of testing with instruction below:

Submit the form
Go to the Submitted Forms tab and edit your submission, click Resubmit for validation. Make sure it works and check the application in the Camunda making sure there is no error for your submission.
 Make sure it goes through and wait for email to show up in your inbox.
Verify the attachment in the email, make sure pdf has the new depId filed. Also, verify if the first two sections in the PDF (About the senior leadership review process  and Before you begin) are supposed to show up there.
Finally take note of your submission's applicationId and check that with @mikeshi-bcgov - you can get the applicationId when opening your submission in the network tab or find it in the Camunda)

Let me know if need anything else that helps with your testing :)

@mikeshi-bcgov
There will a special case where an SL user starts their application and will send (resubmit/final submit) their application after depId field is added to PROD. In that case, depId will be null. I handle that case on the frontend side by making that field is not required. Could you please make sure this field is nullable on the ODS side - if not already? Thank you

Thank you for the instructions! Everything worked great, but I was just not able to find the applicationId.
Private Zenhub Image
Private Zenhub Image
Private Zenhub Image

@ayushdamani
To find applicationId of a submission, please open that submission under Submitted Forms and then open the network tab of your browser (you can right-click and select inspect) and follow the screenshot below:
Private Zenhub Image

I really appreciate this, @iman-jamali-fw ! Thank you!
I was able to follow the steps you mentioned.

We received 2 submissions this morning, 2964 and 9827, didn't receive 2965.

Thanks @mikeshi-bcgov
I see 2965 is already deleted. @ayushdamani Did you by any chance delete that submission?

Hi Iman,
No, I have not deleted that submission. Would you like me to test with another form?

Tested by Dj team this morning - confirm that dept ID appears in the form as well as the pdfs. Over to Jodi for her team to test. If everything looks good, we can close this ticket

Tested with Jodi who ran a report - she did not see the dept ID.  @Andrew-Vargas-bcgov Andrew to connect with Sarah Miles to make sure the ID shows on a report

@iman-jamali-fw please let us know when you will deploy this feature to prod, so we will deploy changes accordingly. We have CR every Thursday.

@mikeshi-bcgov
Hi Mike
Yes! we deployed this to PROD and new submissions today and on should have a deptId field.

@iman-jamali-fw Thanks, we will deploy the change to Prod tomorrow morning.

Tested this one with the PSA dev team in prod and see the dept ID field on the form and in the PDF - final steps is to confirm with Sarah Miles  that the dept ID shows on the reporting.  We tested with Dodi yesterday and the dept ID field did not show on the report she ran. Andrew to confirm this filed is included in the report by connecting with Sarah to confirm

@JodiLittle<EMAIL_ADDRESS>any new submissions today will have dept. ID, anything else submitted before today will not unless re-submitted. If necessary, reports can be manually updated if the BI team is provided the employees associated with the dept. IDs. Please contact Mike Shi directly.

@mikeshi-bcgov
Yeah, seems like some of the new submissions haven't picked up the deptid. Let me look into this.

@mikeshi-bcgov
I looked into all the submissions that were sent today without deptid. They were started before the fix was deployed to the PROD, and today were simply resubmitted. There are two dates in the submissions,submissionDate that indicates when it was first submitted and validationDate that updates when it is resubmitted.

Submissions that were started before Aug 28, won't have deptid unless manually added.
Submissions that were sent on Aug 28, will get deptid once resubmitted. This is because deptid was added to DGJ but wasn't deployed at ODS.
Submissions that are sent on Aug 29 and later, will have depid.

Dept ID in the ODS as of yesterday. Closing this ticket


ci: Test minimal versions (and bump arbitrary).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
8452

Relevant Lines:
9074

💛  - Coveralls


Kv 12 fix get current div

add date to transcript

https://github.com/KVonGit/quest/tree/kv-13-pertex-add-timedate-stuff


DLedgerController create DLedgerServer not check controllerDLegerPeers and controllerDLegerSelfId result in throw NullPointerException

When start Controller，only set ROCKETMQ_HOME, as following pictrue:

then project throws a  java.lang.NullPointerException :

why? Because ControllerConfig class attribute controllerDLegerPeers  is null, but this attribute cannot be null. in ControllerConfig class has three attributes:

controllerDLegerGroup
controllerDLegerPeers
controllerDLegerSelfId
if not config in file,  they will be null. when we create DLedgerServer controllerDLegerPeers and controllerDLegerSelfId  must have a value. so when we create DLedgerServer  must check.

@mxsm Could you help optimize this issue?

@mxsm Could you help optimize this issue?

I will submit a PR  optimize this issue


Add Conditional Tokens List to tokenlists.org

The Conditional Tokens Framework is the underlying technology that prediction markets like Omen and Polymarket are built on. They are ERC1155 tokens, but we have deployed an ERC20 wrapper so that they can be used with contracts and applications that support ERC20 but do not support ERC1155.
One feature of the ERC20 wrapper is that the name and symbol of each token is identical ("wrapped multi token" and WMT), this is to make it more generally useful.
To remedy this, we have started curating a list of wrapped conditional tokens and would like to add it to the default list at tokenlists.org.
The list can be found here:
https://github.com/gnosis/conditional-tokens-list/blob/main/conditional-token-list.json

https://github.com/Uniswap/token-lists/issues/23#issue-comment-box

hi @auryn-macmillan , please open this issue on https://github.com/Uniswap/tokenlists-org


Cut off text in FancyZones Editor (German)

PowerToys version: 0.25.0
PowerToy Utility: FancyZones
Running PowerToys as Admin: yes
Windows build number: 2004

Language is German (I couldn't find a way to change PowerToys language independent of System language)
When you start FancyZones Editor, the bottom row of options is cut off on the right and there's no way to resize the window.
As a result you cannot read the "distance to highlight adjacent zones" value

Duplicate of #7634. It's fixed in 0.27 and it should be released any moment.

Duplicate of #7634


Korean is not included in metadata

Describe the bug
When I try to input Korean in description an error occurs.
I think I need utf8 encoding to input Korean. What should I do?
To Reproduce

Made the json file (test3.json)

[
{
    "auditHeader": null,
    "entityType": "dataset",
    "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:oracle,한글테스트2,PROD)",
    "entityKeyAspect": null,
    "changeType": "UPSERT",
    "aspectName": "datasetProperties",
    "aspect": {
        "value": "{\"description\": \"한글 설명\"}",
        "contentType": "application/json"
    },
    "systemMetadata": null
}
]

Made the yml file (file_to_datahub.yml)

source:
        type: "file"
        config:
                filename: "./test3.json"
sink:
        type: "datahub-rest"
        config:
                server: "http://localhost:8080"
reporting:
        - type: "datahub"
          config:
                  datahub_api:
                          server: "http://localhost:8080"

Run
datahub ingest -c file_to_datahub.yml

Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04
Datahub Version: 0.8.32

Additional context
I succeeded in putting Korean in urn. When there is no Korean in the description.

However, Korean is not included in metadata. (e.g. description, column name, subtype's typeName, etc.)
And I tried to install v0.8.36 and v0.8.39, but I couldn't use it with a red error window saying "Oops, an error occurred".

#5306

Hi is this still an issue? From our side it looks like Python ingestion does support non utf-8 characters


fix: refactor imports for dbt 1.8.0+

Fix import paths for dbt common and adapter components for dbt 1.8.0.

@ryan-pip Can you pull the latest from the main branch and add dbt 1.8 to the test?

https://github.com/z3z1ma/dbt-osmosis/pull/150/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957fR14

The reason for this addition is to make sure that this pull request works correctly with dbt 1.8 and that dbt 1.7 and below also work fine. FYI @z3z1ma

Did you want me to add dbt-version 1.8.0 to the versions that will be tested as well?

@ryan-pip Yes, I would like you to do so, and to ensure that dbt-osmosis works with multiple dbt-core versions, we would like to add 1.8.0 to our test subject. This would make dbt-osmosis more maintainable.

@syou6162, Tests have been added and are passing. Anything else needed here?

@ryan-pip Thanks for adding the test!
@z3z1ma We have confirmed on CI that it works fine with 1.8 and versions prior to 1.7, so it looked good. Could you please review it?

LGTM thanks, I will cut a new release on PyPI and get the changelog, readme, and docs site updated.

@z3z1ma , when can we expect a new version?


Social-auth

Add facebook & google authentication methods + fetch the user profile picture from the provider's (fb/google) saved picture

was solved #81


Links to article authors profiles

It would be nice to have the author's link in their name or avatar within the post so you can visit their profile to see their publications etc.

I think the author panel on the right side of the post is a bit... weird 😞 It needs more options to display (or hide) IMO.

I think the author panel on the right side of the post is a bit... weird 😞 It needs more options to display (or hide) IMO.


Paginate feed user stories

Added getPaginateFeed and added parameters to retrieve number of media/comments in query. Get paginate feed returns both media and stories. To implement this using hash endpoint in stead of id endpoint (see endpoints USER_FEED (old) and USER_FEED_hash (new).
Added exemple to document and test change.
Note: a call to getFeed() behaves the same as in the old version
changes to endpoint.php:

added endpoint USER_FEED_hash

changes to Instagram.php:

Added method getPaginateFeed($mediaCount=12, $maxId='', $commentCount=6, $likeCount=4)
(note: likeCount should work like this, however does not seem to do anything)
Added parameters to getFeed($mediaCount=12, $maxId='', $commentCount=6, $likeCount=4, $paginateInd=false)
Changed endpoint in getFeed (to be able to return feed+stories in 1 request)
Added function getUserStories that returns userStorie without content (same behaviour as getPaginateFeed)

changes to Model/userStorie

added properties lastMutationData and $expiringAt
added get functions for properties
added initPropertiesCustom to parse properties

Please let me know if these changes are ok or should be implemented differently
Richard

@ricdijk thanks for contribution and great work.
I did not had much time to go through it thoroughly

@ricdijk thanks for contribution and great work.
I did not had much time to go through it thoroughly


Can we remove Reader.len() implementation

The implementation of len was added to support pytorch integration.  The return value can not be calculated correctly due to predicates. Can we work around the need for len?

https://github.com/uber/petastorm/pull/140 has removed it since we are reverting to old metadata


linux: make sure that src/version actually refer to the declaring file

Motivation for this change
Note: the second commit is only here to test whether the workaround does its job.
With this change it's ensured that builtins.unsafeGetAttrPos actually
points to <nixpkgs/pkgs/os-specific/linux/kernel/linux-x.y.nix> when
retrieving the position of src or version of
linuxPackages.kernel.
This is relevant to make sure that ofborg pinging maintainers on kernel updates
actually works[1]. While the underlying issue should be fixed in ofborg
or Nix itself, this is IMHO a pragmatic change to ensure that all kernel
maintainers are automatically notified on updates.
[1] #143113 (comment)
Things done

Built on platform(s)

[x] 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

[x] Fits CONTRIBUTING.md.

Not sure if I missed something else, but @roberth, would you be OK with me merging this now? :)


Allow newlines inside CMD array form or improve error messages  [feature request]

Currently executing something like this
CMD ["java",
	"-version"]

will give you very enigmatic error:
time="2015-05-22T14:19:59+02:00" level=info msg="Unknown instruction: \"-VERSION\"]"

and malformed CMD instruction is silently skipped/ignored(?)
This works, but it's not very intuitive:
CMD ["java",\
	"-version"]

ping @duglin
I don't think the \ is unintuitive, however since it is the json format it's certainly less natural.

First, if you upgrade to a newer Docker it should stop building with an error on an unknown instruction instead of just ignoring it.
Second, knowing that a newline character should be treated like an implicit \ requires that we know we're in the middle of a [ expression.  I know bash has this type of logic but changing our parser to support this would be non-trivial.  Mainly for backwards compatibility reasons, we have a lot of command specific parsing and for the most part everything is line based.  In that mode its easy to know when to continue to the next line because it ends with a \.  But, in order to support what you want we'd need to mix the "reading from the Dockerfile" logic with the "interpret the command" logic and I'm not sure we can do that today - at least not w/o a total rewrite of the parser.
If we had a more consistent Dockerfile syntax, one where we didn't have specialized parsers per command, we might be able to do what you're asking for (and I agree it would be an interesting idea) but given our current code-base I don't see it happening.
There are ideas floating around about how to change things (e.g. moving the Dockerfile processing to the client, a new Dockerfile syntax, support shell scripts, etc...) and if we do change the Dockerfile syntax we'll take this request into account.  But for now I think we'll need to close this.  Thanks for the idea though!

One thing I forgot to mention, which is another pain point in all of this, the presence of [ doesn't necessarily means we're using json. It could be part of a normal shell command. Granted, we might be able to tell that we're missing a ] but my point is that we can't assume its json.

@duglin I use Docker 1.6.2 and it indeed stops building, but don't report that problem is with malformed CMD command from previous line.
Anyway, thanks for comprehensive response!

@kuc yea the error can't be detected (easily) for the previous line because unless we understood all of sh/bash we can't be sure that what's on the line is invalid.  For all we know: ["java", could be a valid command  :-)


Add error message for AMP bind syntax

Since [class]='state.class' can not currently be supported in JSX we add an error message showing them the alternative which is data-amp-bind-class='state.class' currently.
Closes: #6800

Merging since @timneutkens approved while AFK


Node18: fix docker image tags and adds .nvmrc

See title.
Plz review @terrestris/devs

:tada: This PR is included in version 7.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


adding a skip button

i didnt want to select 5 movies but there was no skip , so if we add skip it can improve UX. @daccotta can you assign me this task,

the thing is we need at least 2 movies people like to give them some kind of recommendations that's why we asked for at least two movies.


[Meta] Multipart requests need rework

Describe the bug
Right now, binary multipart/form-data requests almost always fail to work.
Issues:

no way to upload files: https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1825
axios rejecting generated formdata object: https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1989
malformed form data serialization: https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1804
client processing incorrect form fields:

https://github.com/ferdikoomen/openapi-typescript-codegen/pull/1894
https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1941

In my testing, I've used example requests from Swagger documentation and compared the result to the official java-based typescript-axios generator. The official generator correctly inferred the requests were containing files, made the operation input be File instead of Blob and correctly serialized and performed the request.

Thanks for reporting @tajnymag. I've got a number of other issues to prioritise first, can visit this afterwards

+1
I'm working with multipart requests now as well.

Related to: https://github.com/ferdikoomen/openapi-typescript-codegen/issues/1941
see: https://github.com/form-data/form-data/issues/529
The library we are using does not support appending blobs to FormData (axios/node-fetch). We could switch to using build in FormData, but when running axios in node it would be experimental (until node 21) see: here look at history section
cc: @mrlubos

@mrlubos  I think a config option to use File instead of Blob makes the most since (File extends Blob). What are your thoughts and what would you name this option?

@mrlubos I think a config option to use File instead of Blob makes the most since (File extends Blob). What are your thoughts and what would you name this option? Maybe useFileForBlob?

Such option would override form types across the whole spec? That wouldn't allow to support projects with mixed forms.
If the feature should be hidden behind an option, perhaps allowFileType, might be more universal. Or, if the limitation is tied solely to Node.js version, how about useNodeNext, which would probably be useful for other future features depending on new APIs.
Also, is it necessary for all clients to support the same feature set?

@tajnymag we would like to have all clients support this. "File" appears to be supported in node 18+ so no issues there. As that's the minimum version we officially support. The option would make all Blob turn into File. Not sure how exactly we could support it otherwise. I don't think OpenAPI has a way of differing between those.

@jordanshatford You are right, that the spec does not have any explicit file identifier. The codegen internally doesn't even differentiate between binary and file (line from codegen). However, some generators do try make some assumptions. I'll try to go through them and try to understand their logic.
Could the API accept both objects than? And if the given object is an instance of a file (or perhaps even more generally, if the object has a name attribute, to be considered a File) the client would include the filename into the form. It would be spec compliant, not too taxing on implementation and would support mixed projects.
I really think having every binary be exclusively File OR Blob to be quite limiting.

@mrlubos thoughts on changing this to File | Blob? User can narrow the type if they want to check the return value being specifically a file. For sending requests File and Blob are both accepted in the form data

That sounds reasonable @jordanshatford

https://github.com/hey-api/openapi-ts/pull/186 Will use Blob | File for parameter and return typing. The user can narrow the type on there own.

All above issues should be fixed in v0.32.1 of the package. Please test it out and report and issues you find under a new issue. :) Thanks

Amazing work @jordanshatford!

Hi, I am trying this with node v20.x uploading to a remote server.
The generated client uses axios and has multipart formData.
I tried to populate the object with fields and a blob, but server side I got an empty file upload.
This ended up working
    // NOTE *not* using 'form-data' or it fails with 'TypeError: source.on is not a function'
    const formData = new FormData();
    formData.append("file", file);
    for (const key in model) {
      formData.append(key, model[key]);
    }

   await client.ui.saveBackground({
    formData: formData as any,
  }),

@muka can you try with the latest version (released early today) which fixed a few issues with axios. v0.33.2

Thank you, just tried but axios is not happy yet
my client package.json
"axios": "^1.6.8",
"@hey-api/openapi-ts": "^0.33.2",

calling the generated api with a blob (a previously described) result in this. Using a Buffer result in an empty file server side.
          new Blob([await readFile(filename)], {
            type: lookup(filename),
          }),

the error from the client (but seems from axios actually)
 AxiosError: Blob is not supported. Use a Buffer instead.
    at convertValue (.../node_modules/axios/lib/helpers/toFormData.js:124:13)
    at FormData.defaultVisitor (.../node_modules/axios/lib/helpers/toFormData.js:175:49)
    ...

Using a FormData as input still works. Why not just allow FormData type for node+axios ?

@muka can you create a new issue and file out all the bug details. that way it will be easier to reproduce


Spike: Downstream effects of adding characters to dataset titles

Enabler

So that we know more about what 'safe' AWS character, macronated characters and slashes will do in downstream systems, we want to do 1 day's research and testing into what the characters in s3 prefixes that we want to add in #1974 and #1928 will do for typical data analyst downstream users on Windows, Linux and Mac.
See Confluence page for current list of characters that the data managers want on top of what the data managers have asked for, it would be useful to be as permissive as possible with the characters.
They typically use standard file system tools and GIS browsers (QGIS, ArcGIS) and analysis tools (GDAL, ArcGIS) and python for scripting.
Should see if anyone has already tested this somewhere in a blog post etc, or AWS docs.
If still not satisfied that risks are mitigated we could test some things ourselves.
Some resources:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
https://en.wikipedia.org/wiki/Filename
https://stackoverflow.com/questions/4814040/allowed-characters-in-filename
https://en.wikipedia.org/wiki/Filename#Encoding_indication_interoperability
http://handbook.datalad.org/en/0.15/intro/filenaming.html
Acceptance Criteria

[ ] Research and decisions are captured in Confluence page
[ ] Update #1974 and #1928 if needed
[ ] Checking these special characters aren't going to cause problems with DynamoDB entry, lambda, etc..
[ ] Check these special characters aren't going to cause problems with Windows, Mac, Linux typical use cases

Additional context

Tasks

[ ] ...
[ ] ...

Definition of Ready

[ ] This story is ready to work on

[ ] Negotiable (team can decide how to design and implement)
[ ] Valuable (from a user perspective)
[ ] Estimate value applied (agreed by team)
[ ] Small (so as to fit within an iteration)
[ ] Testable (in principle, even if there isn't a test for it yet)
[ ] Environments are ready to meet definition of done
[ ] Resources required to implement will be ready
[ ] Everyone understands and agrees with the tasks to complete the story
[ ] Release value (e.g. Iteration 3) applied
[ ] Sprint value (e.g. Aug 1 - Aug 15) applied

Definition of Done

[ ] This story is done:

[ ] Acceptance criteria completed
[ ] Automated tests are passing
[ ] Code is peer reviewed and pushed to master
[ ] Deployed successfully to test environment
[ ] Checked against
CODING guidelines
[ ] Relevant new tasks are added to backlog and communicated to the team
[ ] Important decisions recorded in the issue ticket
[ ] Readme/Changelog/Diagrams are updated
[ ] Product Owner has approved acceptance criteria as complete
[ ] Meets non-functional requirements:

[ ] Scalability (data): Can scale to 300TB of data and 100,000,000 files and ability to
increase 10% every year
[ ] Scability (users): Can scale to 100 concurrent users
[ ] Cost: Data can be stored at < 0.5 NZD per GB per year
[ ] Performance: A large dataset (500 GB and 50,000 files - e.g. Akl aerial imagery) can be
validated, imported and stored within 24 hours
[ ] Accessibility: Can be used from LINZ networks and the public internet
[ ] Availability: System available 24 hours a day and 7 days a week, this does not include
maintenance windows < 4 hours and does not include operational support
[ ] Recoverability: RPO of fully imported datasets < 4 hours, RTO of a single 3 TB dataset
< 12 hours

Might be worth checking these special characters aren't going to cause problems with DynamoDB entry, lambda, etc...

There is simply way too many caveat to cater for with this approach. Different OS have different rules on what filename and directory name is allowed. While we are able to include / (forward slash) as part of s3 object name, most OS won't allow this, which begs the question - how do user even get to create this in the first place to add to Geostore?
After exploring this, I feel we should further restrict what user is allowed to submit (more so that relaxing the rules here), to prevent unexpected and unforeseen behaviour downstream. Case in point, do we want to allow user to submit Chinese characters and emojis in their dataset title? What happens if they do so? Do we want to tests this across all components?
Perhaps a better approach would be have a list of characters we want to allow (e.g. macrons), and work our way backward to figure out how to cater for these edge cases.
My recommendation after reading this thread is to reconsider and revisit Proposal 4. We would then build an index of some sort that map each unique id to the appropriate dataset. User should be able to browse and search this index and filter down the dataset they are interested in. S3 is built as an object store, not so much file / directory browser. An index also has an added benefit of allowing name change (e.g. Wanganui to Whanganui). This would be a tedious task on S3 as we would need to copy (and rename) then delete each object, which would be a pain since our bucket is versioned enabled. Another benefit with this approach is flexibility and scalability. Once a data set is added e.g. elevation_canterbury_canterbury_2016_dem_1m user can only browse under canterbury. They can't browse for Waitaha or Christchurch.
Perhaps a discussion should be had here. Would appreciate @AmrouEmad and @l0b0 thought on this.

Case in point, do we want to allow user to submit Chinese characters and emojis in their dataset title?

Probably not, but only because we're building this for the needs of Toitū Te Whenua LINZ. But the point is a good one, because this is not really different from allowing macrons. Macrons (like emojis and other characters) even have additional complexities, since they have multiple representations which look and are semantically identical: "a" followed by U+0304 (ā in HTML) is, for human consumption purposes, identical to "ā".

My recommendation after reading this thread is to reconsider and revisit Proposal 4. We would then build an index of some sort that map each unique id to the appropriate dataset. User should be able to browse and search this index and filter down the dataset they are interested in. S3 is built as an object store, not so much file / directory browser. The concept of having a path or directory doesn't even exist on s3. It is merely a façade to make things a bit more user friendly. We probably shouldn't be building on top of this; rather, we should adhere to how it was originally built and intended, by decoupling the concept of storage and index.
Setting up an index also has an added benefit of allowing name change (e.g. Wanganui to Whanganui). This would be a tedious task on S3 as we would need to copy (and rename) then delete each object, which would be a pain since our bucket is versioned enabled. Another benefit with this approach is flexibility and scalability. When a data set is added e.g. elevation_canterbury_canterbury_2016_dem_1m user can only browse under Canterbury. With a proper index (with tagging allowed), user should be able browse for Waitaha (Canterbury) or Christchurch.

Yeah, this is a tricky one. We've gone through several iterations already:

UUIDs only, as recommended by @imincik and myself.
Replaced UUIDs with ULIDs, to make them ordered by time.
Added the dataset title to the ULID, to make it possible to browse the S3 bucket without any index.
Removed the ULID, at which point we're back to where renaming a dataset is a major operation, and we can't allow special characters in dataset names because of filename issues.

IMO we should've stuck with the original idea of using UUIDs to make sure people use the index rather than S3. But we never got to the point where the index was productionised, so we've had to compromise and spend heaps of time rearchitecting, rather than spending time creating a usable index.

spaces should be limited to one (multiple spaces could be problematic with some os or applications)

I should probably edit this for clarity.

do you mean multiple consecutive spaces, like foo[space][space]bar

This.
Example problem. The bug has already been fixed, but we should probably avoid allowing something like this to go through. Escaping this on multiple layers will be a pain to deal with.
I found another thread alerting to this issue, but seem to have lost the url. Will update when I find it again.

IMO we should've stuck with the original idea of using UUIDs to make sure people use the index rather than S3.

I would vote in favour of revisiting this idea again... 😄

Thanks Jim. Closing this for now. And adding a link to the issue to actually make the changes.


Fix absolute paths being extracted outside of destination directory

Fixes https://github.com/OSSystems/compress-tools-rs/issues/84

@rohan-b99 thanks for sending the issue and PR. Please:

[ ] fix the code formatting error
[ ] add a more detailed commit log explaining the issue
[ ] add an entry in CHANGES file

so we can merge it.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 86.305%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
334

Relevant Lines:
387

💛  - Coveralls


"Boardings" Chart on officer dashboard doesn't show the correct number of boardings

Describe the bug
I have an agency administrator user, that has 8 boardings. This shows up properly on the Boardings page (/#/boardings/null). When I go to my personal dashboard at /#/home, the boardings chart says 0 boardings. It should say 8.
To Reproduce
Steps to reproduce the behavior:

Login, go to Boarding Records->Boardings. Confirm the account has at least 1 boarding (check out the "Boarded by" on the right-hand side of the table, as that table shows all the boardings from everyone in that agency.
Click on "Dashboards->MY NAME" or just "My Dashboard"
When "Boardings" loads, it shows 0.

Expected behavior
Boardings should show the proper number of boardings.

It's working now - tested for global admin, agency admin and field officers.


build for docker alpine error

Hi, i have a problem with build app with your package for docker alpine image, because docker alpine needs CGO_ENABLED=0 GOOS=linux go build, but it generate error:
github.com/mattn/go-sqlite3/sqlite3_go18.go:18:10: undefined: SQLiteConn
because for use your package needs build with CGO_ENABLED=1,
i tried to decide this problems for 3 days, thanks for helps.

i just found it and try to build so:
go-sqlite3 is cgo package. If you want to build your app using go-sqlite3, you need gcc. However, if you install go-sqlite3 with go install github.com/mattn/go-sqlite3, you don't need gcc to build your app anymore.


Fix 89899 - improve description of editor.foldingStrategy setting

This PR fixes #89899

The term 'strategy' has been retained. For one thing, it would be complicated to migrate to a new setting ID. For another, the term 'strategy' is widely used for similar things elsewhere in the product.

Thanks @gjsjohnmurray !


Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.chart-name.v20" is invalid: data: Too long: must have at most 1048576 characters

Output of helm version: version.BuildInfo{Version:"v3.0.0", GitCommit:"e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6", GitTreeState:"clean", GoVersion:"go1.13.4"}
Output of kubectl version: Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-18T14:56:51Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.10-eks-afa464", GitCommit:"afa464ce9760bd08a53a207f505b133b93366ea3", GitTreeState:"clean", BuildDate:"2019-10-22T21:42:57Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):  AWS EKS (Kubernetes v1.12)
Today we tried to update our app using helm v3, which we've been using with the betas/rcs, it would not update, because we added a few more fields, which took it beyond this limit, which I understand is a hard limit enforced deep inside kubernetes (at etcd I think?).
For our use-case, we can work-around it by breaking things up into separate charts, there are about 6 configuration maps and secrets contained in the chart, but meanwhile, it would make a lot of sense if helm just overflowed in to another secret object with a pointer at the end of the data to the overflow, so that nobody gets a deploy-surprise. :)

duplicate of https://github.com/helm/helm/issues/6711.


Broken links

List of broken links PR #130

[x] (doc/resources/resources: line  207) broken    ../_images/jcommand_and_state_interfaces.png -
[x] (doc/resources/resources: line  202) broken    ../_images/jcomplex_controllers_and_semantic_components.png -
[x] (doc/resources/resources: line  212) broken    ../_images/jhardware_interface_lifecycle.png -
[x] (doc/resources/resources: line  280) broken    ../_images/jros2_control_mobile_manipulator.png -
[x] (doc/resources/resources: line  220) broken    ../_images/jros2_control_mobile_manipulator_control_arch_admittance_chaining.png -
[x] (doc/resources/resources: line  228) broken    ../_images/jros2_control_mobile_manipulator_control_arch_admittance_without_chaining.png -
[x] (doc/resources/resources: line  232) broken    ../_images/jros2_control_mobile_manipulator_control_arch_base_chaining.png -
[x] (doc/resources/resources: line  240) broken    ../_images/jros2_control_mobile_manipulator_control_arch_base_without_chaining.png -
[x] (doc/resources/resources: line  244) broken    ../_images/jros2_control_mobile_manipulator_control_arch_convoluted_controllers.png -
[x] (doc/resources/resources: line  260) broken    ../_images/jros2_control_mobile_manipulator_control_arch_gripper_through_arm_comms.png -
[x] (doc/resources/resources: line  264) broken    ../_images/jros2_control_mobile_manipulator_control_arch_gripper_through_arm_comms_urdf.png -
[x] (doc/resources/resources: line  252) broken    ../_images/jros2_control_mobile_manipulator_control_arch_independent_hardware.png -
[x] (doc/resources/resources: line  256) broken    ../_images/jros2_control_mobile_manipulator_control_arch_independent_hardware_urdf.png -
[x] (doc/resources/resources: line  268) broken    ../_images/jros2_control_mobile_manipulator_control_arch_monolitic_hardware.png -
[x] (doc/resources/resources: line  272) broken    ../_images/jros2_control_mobile_manipulator_control_arch_monolitic_hardware_urdf.png -
[x] (doc/resources/resources: line  276) broken    ../_images/jros2_control_mobile_manipulator_control_arch_multi_robots_in_one_controller_manager.png -
[x] (doc/resources/resources: line  284) broken    ../_images/jros2_control_mobile_manipulator_controllers.png -
[x] (doc/resources/resources: line  224) broken    ../_images/jros2_control_mobile_manipulator_controllers_admittance_chaining.png -
[x] (doc/resources/resources: line  236) broken    ../_images/jros2_control_mobile_manipulator_controllers_base_chaining.png -
[x] (doc/resources/resources: line  248) broken    ../_images/jros2_control_mobile_manipulator_controllers_convoluted_controllers.png -
[x] (doc/resources/resources: line  197) broken    ../_images/jros2_control_robot_integration_with_moveit2.png -
[x] (doc/resources/resources: line  192) broken    ../_images/ros2_control_overview.png -
[x] (doc/ros2_controllers/joint_trajectory_controller/doc/userdoc: line  330) broken    ../../index.rst -
[x] (doc/ros2_controllers/doc/writing_new_controller: line    8) broken    https://docs.ros.org/en/master/Tutorials/Beginner-Client-Libraries/Pluginlib.html - 404 Client Error: Not Found for url: https://docs.ros.org/en/master/Tutorials/Beginner-Client-Libraries/Pluginlib.html
[x] (doc/supported_robots/supported_robots: line   41) broken    https://github.com/hello-robot/stretch_ros2/blob/galactic/stretch_moveit_config/README.md - 404 Client Error: Not Found for url: https://github.com/hello-robot/stretch_ros2/blob/galactic/stretch_moveit_config/README.md
[ ] (doc/gazebo_ros2_control/doc/index: line  289) broken    https://github.com/ros-controls/gazebo_ros_demos/tree/ahcorde/port/ros2 - 404 Client Error: Not Found for url: https://github.com/ros-controls/gazebo_ros_demos/tree/ahcorde/port/ros2
[x] (doc/differences_to_ros1/differences_to_ros1: line   58) broken    https://github.com/ros-controls/ros2_control_demos/blob/master/ros2_control_demo_hardware/ros2_control_demo_hardware.xml - 404 Client Error: Not Found for url: https://github.com/ros-controls/ros2_control_demos/blob/master/ros2_control_demo_hardware/ros2_control_demo_hardware.xml

The linkchecker complains about anchors on github, not sure how to fix that

https://github.com/sphinx-doc/sphinx/issues/9016

(doc/gazebo_ros2_control/doc/index: line   50) broken    https://github.com/osrf/rocker/#installation - Anchor 'installation' not found
(doc/gz_ros2_control/doc/index: line   51) broken    https://github.com/osrf/rocker/#prerequisites - Anchor 'prerequisites' not found
(doc/ros2_control/controller_manager/doc/controller_chaining: line   15) broken    https://github.com/ros-controls/roadmap/blob/master/design_drafts/controller_chaining.md#input--outputs-of-a-controller - Anchor 'input--outputs-of-a-controller' not found
(doc/ros2_control/controller_manager/doc/controller_chaining: line   15) broken    https://github.com/ros-controls/roadmap/blob/master/design_drafts/controller_chaining.md#controller-group - Anchor 'controller-group' not found
(doc/ros2_control/controller_manager/doc/controller_chaining: line   24) broken    https://github.com/ros-controls/roadmap/blob/master/design_drafts/controller_chaining.md#example-2 - Anchor 'example-2' not found
(doc/ros2_control/hardware_interface/doc/writing_new_hardware_interface: line   93) broken    https://github.com/ros-controls/ros2_control/blob/master/hardware_interface/test/mock_components/test_generic_system.cpp#L402-L407 - Anchor 'L402-L407' not found
(doc/ros2_controllers/diff_drive_controller/doc/userdoc: line   77) broken    https://github.com/ros-controls/ros2_control/blob/master/joint_limits/include/joint_limits/joint_limits_rosparam.hpp#L56-L75 - Anchor 'L56-L75' not found
(doc/ros2_control/hardware_interface/doc/writing_new_hardware_interface: line   41) broken    https://github.com/ros-controls/ros2_control/pull/559/files#diff-2bd171d85b028c1b15b03b27d4e6dcbb87e52f705042bf111840e7a28ab268fc - Anchor 'diff-2bd171d85b028c1b15b03b27d4e6dcbb87e52f705042bf111840e7a28ab268fc' not found

Is there an option for github workflows to allow them to fail, avoiding red CI? It doesn't seem so.

Reopened until https://github.com/ros-controls/gazebo_ros2_control/issues/217 gets closed.


Initial checkin of microprofile-config sample. Hammock updated to 2.1…

This is a new sample for microprofile-config-api usage.
Please review and give me a feedback, if this sample is properly implemented and can be used as a sample for eclipse/microprofile-samples repository.
How to build: mvn clean install -Phammock
How to run:     java -DallowedUsers="het:mypass" -DlistAllConfigAllowed="true"  -jar .\config-1.0.0-SNAPSHOT-hammock.jar
How to access:

http://localhost:8080/list/all
Returns all config sources along with their set configurations, if listAllConfigAllowed configuration property is set to true
http://localhost:8080/list/users
Returns all users provided by allowedUsers configuration property
http://localhost:8080/list/source/<name>
Returns all configurations of the given config source

This is the first draft of the microprofile-sample-config project.
Changes:

Initial check in of new microprofile-sample-config
Update hammock version to 2.1
Had to add additional dependencies to new sample because ClassNotFoundExceptions occurred during startup
Added capsule-maven-plugin (commented out) which could replace maven-shade-plugin

Signed-off-by: Thomas Herzog<EMAIL_ADDRESS>

I have recreated the pull request, because added a new README.adoc for the new sample and performed the changes suggested by Emily Jiang, which were

change year in licenses
remove beans.xml, because not used
signoff the commit

I have signed the commit and created and eclipse account, but still got the ip validation error. Sorry, but this is my first time contributing to eclipse, maybe I still did something wrong :)

Is<EMAIL_ADDRESS>the email associated with your ECA?
Also, it looks like CI failed because of a compile error

Hah, looks like my accidental closing and re-open triggered the IP validation again

Compiles on my local machine :)
Will take a look, when the build is done

The issue with the build is the missing microprofile-config-api dependency for default profile.
But locally I get this error, when building the project with mvn install -DskipTests=true -B -V , which is the command used by Travis CI:

[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default) on project config: Too many files with unapproved license: 5 See RAT report in: C:\Users\herzo\repositories\github\cchet\microprofile-samples\m
icroprofile-sample-config\target\rat-report.txt -> [Help 1]

How can I solve this ?

Can you post what the content of that RAT report is?

Here you go
rat-report.txt

I think the files you've created need copyright/license headers similar to https://github.com/eclipse/microprofile-samples/blob/master/microprofile-sample-canonical/pom.xml

Should work now.
Thanks for the help

The tests fail for canonical, because of incompatibility of hammock provided weld-se-core and arquillian-arquillian-weld-embedded, whereby the test fail because of
Caused by: java.lang.NoSuchMethodError: javax.enterprise.inject.spi.AfterBeanDiscovery.addBean()Ljavax/enterprise/inject/spi/configurator/BeanConfigurator; 	at org.jboss.weld.environment.se.WeldSEBeanRegistrant.registerWeldSEContexts(WeldSEBeanRegistrant.java:67) 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 	at java.lang.reflect.Method.invoke(Method.java:498) 	at org.jboss.weld.injection.StaticMethodInjectionPoint.invoke(StaticMethodInjectionPoint.java:95) 	... 105 more
It seems tho be weld 3.0.3.Final which uses CDI 2.0 API but not seems not to be supported by arquillian-weld-embedded.
I'm not sure how to solve this. Any ideas ?

Ok, the problem is the javaee-api which does not contain cdi 2.0 spec.
Solved it by

        <dependency>
            <groupId>javax.enterprise</groupId>
            <artifactId>cdi-api</artifactId>
            <version>${version.cdi-api}</version>
            <scope>provided</scope>
        </dependency>

        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>${version.javaee}</version>
            <scope>provided</scope>
        </dependency>

Whereby the cdi-api overlays the javax.enterprise classes of the javaee-api, because declared before the javaee-api.
Is there a better solution for solving this ?

I think the first part should be to update the dependencies to a current version, because I ran into some issues.
For instance, the wildfly-swarm tests are failing, because the fractions are not detected automatically anymore, which seems to be caused by the updated arquillian-universe dependency, which is used during compilation.
Therefore I close this PR and will provide the microprofile-config sample after updating the dependencies, as discussed in issue https://github.com/eclipse/microprofile-samples/issues/49.


signal.h & implicitclass.c

backend/implicitclass.c should #include <signal.h> as it uses sigaction, sigset or signal. (ie. I think it is need no matter which combination of HAVE_ autoconf variables are defined.)

hello @prlw1
please note that we are including <sys/wait.h> in backend/implicitclass.c file that itself includes <signal.h> so basically we have indirectly included <signal.h> file in backend/implicitclass.c file too.
please do ask any other query too if you have
Thanks :-)

hello @prlw1
please note that we are including <sys/wait.h> in backend/implicitclass.c file that itself includes <signal.h> so basically we have indirectly included <signal.h> file in backend/implicitclass.c file too.
please do ask any other query too if you have
Thanks :-)

But that is OS dependent and not portable.
$ grep signal.h /usr/include/sys/wait.h
$

Please include the header for the functions you are calling.

But that is OS dependent and not portable.
$ grep signal.h /usr/include/sys/wait.h
$

Please include the header for the functions you are calling.

Fixed in 3511aa92c0.
Thanks for the bug report.

Fixed in 3511aa92c0.
Thanks for the bug report.


Fix auto exposure and autofocus not working properly. Issue 341

The issue here is that when subject area change is detected, we try to do an autofocus on the centre of the image, then we wait for that focus operation to be done to put the camera back in continuous focus/exposure mode. The problem is that the front cam doesn't support that focus mode and the focus operation never completes. In fact, in _applyPointOfInterest:continuousMode:, focusing stays as NO. Now, if we cause the camera to get its exposure really high(by covering the lens for example) the image becomes all white, and no further subject area changes occur and we're now stuck in non-continuous mode.
The proposed fix is to disable this entire piece of logic if the camera is incapable of doing any kind of autofocus anyway. I've tested this change and it works well and I don't think it breaks anything. If it does, I'll be happy to fix it so it can be merged

Tested, it really fixes the problem.
Please merge it :)


Working on Mac OS X Compatibility

Hi,
This project looked very cool indeed and I'd like to get it working on my Mac Mini HTPC.
I followed the standard instructions to build.  Initially I had to satisfy a couple of dependencies using the OS X 'Homebrew' package manager.  I also downloaded the latest SDL Framework for OS X and copied it to /Library/Frameworks as normal.
So, then it at least started compiling.  However, I had to make a couple of changes to the source tree to get things up and running.
The main sticking-point is that I've merely left the methods in VolumeControl.cpp as 'no-ops' rather than #errors for when APPLE is defined.  I'll come to that later when I learn how to use the CoreAudio framework in C++.
I had to make a few changes to cmake's settings to get it to build with clang on OS X.
Anyway, EmulationStation now launches on my Mac.  I just need to configure it and test it to see how much of it actually works as expected.  Thought I'd send this PR over since it might at least act as a basis for further Mac support.

Ok -- just tested it out with a Genesis emulator -- it seems to run fine.  Tested scraping etc. and that's working.  Only tried keyboard so far, but will shortly test with an Xbox 360 controller.
EmulationStation itself has a bits of layout weirdness -- but as I've never seen it before (and the README says it isn't pretty without themes) that might not be a platform bug.
One thing to note is that some OS X emulators don't take command-line arguments for ROMs.  In that case, I set the  option to something like the following:
<command>open -W -a /Applications/SomeEmulator.app %ROM%</command>

That tells OS X to launch %ROM% with the application (-a switch) and wait for the app to exit before returning (-W switch)

Ok - the visual weirdness was because I'd got the Genesis theme name wrong -- it's 'megadrive'.  Even though I'm in the UK (where it was called the Mega Drive), I've been using emulators so long I just presumed it'd be genesis.
ES running and looking great so far on OS X!

Wow did not noticed this ull before, looks like we done twice osx porting effort...xD
https://github.com/Aloshi/EmulationStation/pull/478

is there a build for testing or is this something that will be in the next release?

I got this to build too. We should come up with some build instructions for Mac, as it wasn't intuitive for me. Hey @Aloshi - What's the appetite for merging this PR or others? I think Mac support would be a great feature, and we can collectively come up with some tests to make this maintainable.
What would you need to merge one of these Mac ports?

Any news, guys?

I got this to build too. We should come up with some build instructions for Mac, as it wasn't intuitive for me. Hey @Aloshi - What's the appetite for merging this PR or others? I think Mac support would be a great feature, and we can collectively come up with some tests to make this maintainable.
What would you need to merge one of these Mac ports?
Hi, do you have an xcode project or can you give me some instructions to compile?? Thanks

FYI, I have been working on an EmulationStation fork for quite some time now that has complete macOS support. If you're interested you can check it out at https://es-de.org
The source code repository is hosted on GitLab, you can find the link at the web site mentioned above.

Thanks i saw it a few weeks ago, nice work. In the meanwhile, i've been working on my own app coded in swish, it has all EmulationStation basic features, plus bezel and shader management, and today i achieved on launching games on Netplay as host and joining other lobby rooms plays.
You can check it on: https://github.com/pablormago/RetroMac
If i can help you, count on me
Cheers
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Leon Styhre @.>
Sent: Wednesday, February 23, 2022 10:18:53 PM
To: Aloshi/EmulationStation @.>
Cc: Pablo Jiménez @.>; Comment @.>
Subject: Re: [Aloshi/EmulationStation] Working on Mac OS X Compatibility (#473)
FYI, I have been working on an EmulationStation fork for quite some time now that has complete macOS support. If you're interested you can check it out at https://es-de.org
The source code repository is hosted on GitLab, you can find the link at the web site mentioned above.
—
Reply to this email directly, view it on GitHubhttps://github.com/Aloshi/EmulationStation/pull/473#issuecomment-1049225336, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACLWJIXOSY6SYKEKPDNXRG3U4VFL3ANCNFSM4BK4A6OA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>

@pablormago  Very nice, at some points during my work with ES-DE I've been thinking that it would have been easier to start from scratch instead of working on an existing codebase. But when I started the project I didn't have the skills do to such a thing and there are also many nice things about the original EmulationStation code of course.
If you would be interested in joining the project and work on ES-DE you are very welcome!

I would like to, but im not good at C++!! :)
But if you want to know how to add bezels, shaders or implementing Netplay, just let me know and i would be happy to help you in any way
Cheers
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Leon Styhre @.>
Sent: Saturday, February 26, 2022 10:13:44 AM
To: Aloshi/EmulationStation @.>
Cc: Pablo Jiménez @.>; Mention @.>
Subject: Re: [Aloshi/EmulationStation] Working on Mac OS X Compatibility (#473)
@pablormagohttps://github.com/pablormago Very nice, at some points during my work with ES-DE I've been thinking that it would have been easier to start from scratch instead of working on an existing codebase. But when I started the project I didn't have the skills do to such a thing and there are also many nice things about the original EmulationStation code of course.
If you would be interested in joining the project and work on ES-DE you are very welcome!
—
Reply to this email directly, view it on GitHubhttps://github.com/Aloshi/EmulationStation/pull/473#issuecomment-1051880092, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACLWJIXPMCDKUWVLGEWFTWLU5CKURANCNFSM4BK4A6OA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>

Well C++ is quite a different thing so I can imagine it's a big threshold to get over :)
Do you have any screenshots available for how the bezels look like as I'm not sure exactly what this adds?
GLSL shader support has already been added to ES-DE but Netplay would be very nice to add in a future release.
But it would probably have to wait a while as there are just so many other things planned already.

Yes, im out of home now, when i will send you a few when i come back.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Leon Styhre @.>
Sent: Saturday, February 26, 2022 10:28:33 AM
To: Aloshi/EmulationStation @.>
Cc: Pablo Jiménez @.>; Mention @.>
Subject: Re: [Aloshi/EmulationStation] Working on Mac OS X Compatibility (#473)
Well C++ is quite a different thing so I can imagine it's a big threshold to get over :)
Do you have any screenshots available for how the bezels look like as I'm not sure exactly what this adds?
GLSL shader support has already been added to ES-DE but Netplay would be very nice to add in a future release.
But it would probably have to wait a while as there are just so many other things planned already.
—
Reply to this email directly, view it on GitHubhttps://github.com/Aloshi/EmulationStation/pull/473#issuecomment-1051898201, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACLWJISXCTYP7HIEHXQY5D3U5CMMDANCNFSM4BK4A6OA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>


added emulator quickstarts

I'm not going to submit this yet -- I just want a review
Sam for overall repo format
Tony, Ryan for correctness

New changes ptal


Rename compatibleSwiftVersions to swiftLanguageVersions

This was incorrectly named.

https://bugs.swift.org/browse/SR-4125

@swift-ci please smoke test


refactor respository

move repository from elixir-oslo to neicnordic

Codecov Report

Merging #32 (fa2402d) into master (9738c86) will decrease coverage by 3.28%.
The diff coverage is 1.61%.

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
- Coverage   57.71%   54.43%   -3.29%
==========================================
  Files           6        6
  Lines         998     1060      +62
==========================================
+ Hits          576      577       +1
- Misses        303      364      +61
  Partials      119      119

Flag
Coverage Δ

unittests
54.43% <1.61%> (-3.29%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

keys/keys.go
61.21% <ø> (ø)

model/body/body.go
67.64% <ø> (ø)

model/headers/headers.go
44.44% <ø> (ø)

streaming/in.go
64.03% <ø> (ø)

streaming/out.go
39.59% <1.61%> (-27.07%)
:arrow_down:

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

I will merge this and see if we can do a release


@_MetricWrapper breaks pylint argument checks

@_MetricWrapper changes the call signature of the classes it wraps, breaking pylint argument checks. This causes us to have to annotate every single prometheus object with # pylint: disable-msg=no-value-for-parameter to avoid erroneous lint warnings. This gets rather silly.
If the mandatory arguments in the call signature of the wrapper and the metrics classes (like Histogram, Counter, etc) matched, pylint would no longer raise this warning.
Code pointers:
Wrapper: https://github.com/prometheus/client_python/blob/d858f0d39536c2fe10b78d6e26109272b6b2ea46/prometheus_client/core.py#L544
Histogram __init__(): https://github.com/prometheus/client_python/blob/d858f0d39536c2fe10b78d6e26109272b6b2ea46/prometheus_client/core.py#L847
The linter complains that labelvalues isn't being set because it thinks the two positional arguments I pass are name and labelnames, when in fact I'm passing name and documentation.
Note that this is not a bug with PyLint, which can only be expected to do static analysis. Because decorators are arbitrary Python code, PyLint would have to execute the decorator in order to find the wrapper arguments.

On one hand you say these are erroneous lint warnings, on the other that this is not a bug with PyLint. Only one of those things can be true. This is abstracting labels as designed, so I say this is a bug in PyLint.

This is a direct consequence of dynamically changing the class initialization signature, which is done in prometheus.

What's the problem with doing that?

It means static analysis can't determine the class initialization signature because the signature is potentially non-deterministic. You and I know what the signature is, and it's documented, but an IDE or PyLint can't tell.

What I'm hearing saying is that this is only a problem because of PyLint, and isn't a problem in and of itself.
Is there some particular solution you propose?

Right, it means code completion, etc. can't work with prometheus, either.

I'm happy to consider a PR. I would rather the label stuff didn't leak down to Histogram.


Leaflet can end up in state where it receives document keyboard events even when it's blurred (Firefox)

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
If you append the leaflet container to another node while the map is focused, a blur event isn't sent even though document.activeElement isn't any leaflet node anymore  (it's body). This happens only on Firefox, Chrome sends a blur event correctly.
Steps to reproduce the behavior:

Focus the leaflet map
Append the node containing leaflet to a new node
document.activeElement is body, but a blur even't wasn't sent. If you now e.g. start typing in a text input, '+' and '-' keys will be grabbed by leaflet and will zoom the map since leaflet taps into document keyboard events while the map is considered focused.

Expected behavior
If Leaflet map is focused and later on the document.activeElement is an element that isn't a child of the leaflet container, a blur event should have been fired.
Since this is really a Firefox bug, it's not directly solvable since we can't observe when the container node changes. Maybe we should provide a setRootElem() method, that would send a Leaflet blur event and then change the container?
Environment

Leaflet version: 1.4.0
Browser (with version): Firefox 68.0.2
OS/Platform (with version): Linux 4.15.0-58-generic #64-Ubuntu

Additional context

Minimal example reproducing the issue
Demopage: https://plnkr.co/edit/daARGARUv5SmzsMgyhYh?p=preview
The demo appends a new HTML node to body and appends the leaflet container to the new node after a timeout. focus and blur events are logged to console.

Navigate to the demo on Firefox https://plnkr.co/edit/daARGARUv5SmzsMgyhYh?p=preview

Open console

Click the map within 4 secs in order to focus it, 'focus' is outputted to console

Wait for the timeout (4s)

The active element is outputted, which is 'body'. However, 'blur' isn't in console output.

[x] this example is as simple as possible

[x] this example does not rely on any third party code

Hi,
as you mention, this really sounds like a Firefox bug, not an issue with Leaflet. Have you filed a bug with Firefox?
Also, might I ask what the use case for moving the Leaflet container around in the DOM is? I'm sure there is some cases where the user would want to do that, but it occurs to me as a pretty unusual niche-case that we might not want to build a specific API for, especially to work around what sounds like a browser bug.

this really sounds like a Firefox bug, not an issue with Leaflet

Indeed: https://bugzilla.mozilla.org/show_bug.cgi?id=559561


[Feature Request] Add skip verify to client connections

There is no way to test my drone server from client in a unsecure (test environtment)  instalation.  Should be a way as in any other http tool ( curl --insecure ) or ( git config http.sslVerify false)
When trying with my test server this happened.
vant@myserver:~/$ export DRONE_SERVER=https://drone.mytest.io
vant@myserver:~/$ export DRONE_TOKEN=cEcLmvCOw7bEAVPzZaSRZruBazonbotg
vant@myserver:~/$ drone info
Get https://drone.mytest.io/api/user: x509: certificate is valid for 067476d965c75fd1f384dcb194b5b4a6.b050635ede917c880c5d6953ccfb7c1f.traefik.default, not drone.mytest.io

For the meantime, at least the right domain of the cert should be used. If you are using self-signed certs make sure to create a root cert that is installed on your host, than you are able to work without any insecure flag.

I've found in the code https://github.com/drone/drone-cli/blob/master/drone/main.go#L61 that the flag exist
vant@server:~/$ export DRONE_SERVER=https://drone.myserver.io
vant@server:~/t$ export DRONE_TOKEN=K5wAhpfnRi3vJI9XI60A4iMAJCtVqUDR
vant@server:~/$ export DRONE_SKIP_VERIFY=true
vant@server:~/t$ drone info
User: gitadmin
Email<EMAIL_ADDRESS>


[proposed label: Question] How thread-safe is the jsrt api?

While  I realize that each thread would rightly require its own runtime context, I notice that many of the Jsrt functions require a context to already be set before calling... this is not itself a big problem, but what would happen if in one thread I set the current context before calling one jsrt function, but then after setting the context but before the function could actually execute, the thread gets preempted by another thread which may set a different context before invoking a jsrt function of its own on that thread... when control returns to the original thread, since the context is not passed as a parameter to most jsrt functions, would the first thread be trying to execute the function with the second thread's context?   If so, how can this be mitigated?

Could you be more precise? From what I read, you sound like, if it's possible that a runtime does something on Thread-2 while you've been using the same Thread-2 for another runtime? Not concurrently...
Perhaps others will answer this better but as long as you set the (correct) current context prior to API calls, things should be just fine.

Let's say for simplicity that I have two threads in the same process that both want to make jsrt api calls.
Each thread has its own JsRuntimeHandle and JsContextRef that was created for them.  The first thread goes on to sets its own context correctly and then attempts to invoke a jsrt function that requires a current context to be set.  Assuming, however, that the thread got preempted after it set the context, but before the jsrt function was actually called, and the second thread were to set its own context from its own runtime and invoke a different jsrt function, when the scheduler returns control to the first thread, it will want to continue with doing its own jsrt call, but because the thread got interrupted by another thread which set its own context, wouldn't the current context still be referring to that belonging to the second thread's runtime?    I realize that if I'm always setting the current context correctly before every jsrt api call, the chances of this happening are pretty low at any given time, but over the course of possibly many millions of calls with several different threads running concurrently (each with their own completely separate runtime), the chances it is going to happen seem to asymptotically approach certainty the more time goes by.    The reason this seems to be a problem is that many jsrt functions require a currently set context, and because the context is not a parameter to the functions, it appears like it might be a global variable, and therefore subject to thread contention.

The context is maintained in a thread local variable.  Calling JsSetCurrentContext on each thread will set that thread local variable.  When the OS switches between threads, the context will be maintained and each JsRT method will use the appropriate context.

Would that suggest that I do not even need to call JsSetCurrentContext before doing every API call if I am guaranteed to only have one context per thread?   I can create a context right after making the thread's runtime, call JsSetCurrentContext, and forget about it until the runtime is dispiosed?   That's pretty convenient.

The one gotcha is if the runtimes are allowed to switch threads, for instance if you pick up a runtime from a pool and run code using a thread pool thread.  If you're creating thread/runtime pairs and keeping them consistent then the context will be maintained for the lifetime of the thread.

The context is maintained in a thread local variable. Calling JsSetCurrentContext on each thread will set that thread local variable.

@kfarnung @markt-
Since we talk about multiple threads / contexts / runtimes, there are exceptions and maybe the most important one is that; If there was another context assigned to a particular thread, and that context was active, once you try to alter it, this method(JsSetCurrentContext) will return an error value.

Would that suggest that I do not even need to call JsSetCurrentContext before doing every API call if I am guaranteed to only have one context per thread?

@markt-
Well, maybe not before every single API call but I would reserve a place for JsSetCurrentContext calls and closely watch its return value. In case of a new thread, you should call JsSetCurrentContext prior to everything else (once is enough), especially, if you haven't created the runtime under the actual thread.

@obastemur Thanks for clarifying!

Close as this question seems to be answered already. Feel free to re-open otherwise.


Release/v0.5.1

This PR updates the website to document Lava version 0.5.1 and the corresponding libraries.
Still left to do:

[ ] Fix formatting issues in lava-optimization. (lava-optimization/src/lava/lib/optimization/solvers/bayesian/solver.py and lava-optimization/src/lava/lib/optimization/solvers/bayesian/solver.py have faulty docstrings)
[ ] Check if the 'getting started' section is up to date with the current state of the libraries

I have noticed two things for now:

I would suggest red portion to be collapsed as I would expect to get a summary/table of content of the modules here and this gets distracting

Latex rendering is broken.

I changed the max-depth level to two to comply with @bamsumit request. I also think it's nicer like that. I also added the changes in the current lava-optimization PRs.
The equations will be rendered correctly in CI, just not on the machine I used for preview.

I changed the max-depth level to two to comply with @bamsumit request. I also think it's nicer like that. I also added the changes in the current lava-optimization PRs.
The equations will be rendered correctly in CI, just not on the machine I used for preview.

I think there is one more level that needs change in max-depth level:

Looks like that's only for lava-dl

Oh, sorry, I somehow thought that lava-dl was already formatted correctly. I now reduced the max-depth there, too.


Added headers to type and request return

Added headers explicitly to the request return. Need this as several NetSuite requests (InventoryAdjustment, etc) return path to newly created record as the location key in the headers. The existing spread operation is not returning headers in the response as expected; response.headers was undefined.

Good point, we detect the same issue today ;)
Thanks for the help, sorry for answering so late GitHub is not pushing any notification when a PR is created. I will adjust that.

I have also pushed a new version on NPM https://github.com/julbrs/netsuite-api-client/releases/tag/v1.0.1
Thanks again!


Part 4: Checkstyle issues for azure-common, azure-common-mgmt, azure-common-auth tests

Cannot merge #3370 until all the build breaks are fixed. Azure common reports issues. This PR fixes a subset of them; the whitespace issues.

Adds spaces after typecast
Adds spaces before and after =
Adds space after comma and removes extra space before comma
Removes unnecessary typecast from (String)json.data.

Can one of the admins verify this patch?


Update for stabilized io::Error

As per https://github.com/rust-lang/rust/pull/23919, the last argument was removed from Error::new.

Thanks!


Failed to start dashing container

./run-devel.sh -d dashing
standard_init_linux.go:211: exec user process caused "no such file or directory"

I'll close this one an keep track of it at #12


Initial support for disabling sync of the skew value that will allow adm...

...in to control who is master and who is backup.
This add feature # 2834 ( https://redmine.pfsense.org/issues/2834 )

Appreciate the submission, Robert. Unfortunately, this has so many edge case caveats that it's really not something we can accept at all (we should probably have something other than "needs patch" to close out such feature requests). It's almost never desirable to do that, and adding a button tempting people to press it that'll break virtually every use case in sometimes difficult to troubleshoot ways to accommodate something maybe 2 people all time want, just isn't a good idea.
As a system patch to your own system, this probably isn't bad, as you understand what you're doing with it and I'm sure it works for your specific use case. To accommodate every use case, there are a variety of bugs it would create. It's one of those things that adds technical debt without adding benefit to the project as a whole.

I really need this feature and I have way to many firewall to do it alone.  What approach will you accept for this?

What if I made the checkbox a simple Make this the Backup connection.  That would subtract 100 instead of adding 100.


Make more explicit that {value:r} roundtrips only through similar locales

In section https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings#RFormatString
I know it's implied by describing effects of NumberFormatInfo, but perhaps it should be made very, very explicit that roundtripping is only possible through similar locales (decimal separator . vs. ,).

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

ID: 0ae38fce-fc98-9420-6b0b-ceee4e885f2d
Version Independent ID: f23035e0-f271-b48c-f9a9-8582be80b4ad
Content: Standard numeric format strings
Content Source: docs/standard/base-types/standard-numeric-format-strings.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @adegeo
Microsoft Alias: adegeo

Thank you for opening this issue. I'll add it to the backlog. If you would like to contribute, you can submit a fix by editing the original article. Click on the Content Source link at the bottom of your original comment. To learn how to edit, see the Editing files in a repository article from GitHub.
Thanks again!


golang function deploy fail

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST
What happened:
// helloget.go
package kubeless
import (
	"fmt"
	"github.com/kubeless/kubeless/pkg/functions"
)
func Foo(event functions.Event, context functions.Context) (string, error) {
	fmt.Println(event)
	return event.Data, nil
}

_kubeless function deploy get-go --runtime go1.14 --handler helloget.Foo --from-file helloget.go_

_kubeless function ls_
NAME    NAMESPACE       HANDLER         RUNTIME DEPENDENCIES    STATUS
get-go  kubeless        helloget.Foo    go1.14                  0/1 NOT READY

_kubectl get pod_
NAME                                          READY   STATUS                  RESTARTS   AGE
get-go-8885d7974-9rqn7                        0/1     Init:CrashLoopBackOff   5          4m3s

_kubectl describe pod get-go-8885d7974-9rqn7_
......
Events:
  Type     Reason     Age                    From               Message
  ----     ------     ----                   ----               -------
  Normal   Scheduled  <unknown>              default-scheduler  Successfully assigned kubeless/get-go-8885d7974-9rqn7 to minikube
  Normal   Pulled     5m38s                  kubelet, minikube  Container image "kubeless/unzip@sha256:4863100364496255de9bf8722a220dad7143ab277ac72435876eb8c93936e9d7" already present on machine
  Normal   Created    5m38s                  kubelet, minikube  Created container prepare
  Normal   Started    5m38s                  kubelet, minikube  Started container prepare
  Normal   Pulled     3m39s (x5 over 5m37s)  kubelet, minikube  Container image "kubeless/go-init:1.14@sha256:403164254efabf735e98e73b7f6f65f14333ed792798c7c3d3d9a33ca91acf7a" already present on machine
  Normal   Created    3m39s (x5 over 5m37s)  kubelet, minikube  Created container compile
  Normal   Started    3m39s (x5 over 5m37s)  kubelet, minikube  Started container compile
  Warning  BackOff    26s (x22 over 5m6s)    kubelet, minikube  Back-off restarting failed container

What you expected to happen:
kubectl logs get-go-8885d7974-9rqn7
Error from server (BadRequest): container "get-go" in pod "get-go-8885d7974-9rqn7" is waiting to start: PodInitializing
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
_kubectl get pod get-go-8885d7974-9rqn7 -o yaml_
......
  initContainerStatuses:
  - containerID: docker://fe85fffecba5c6ea7dac975cd18452b4e2e952f562bc56f80ab462615c0d3a37
    image: sha256:abb7a6ac3e05182bb91f84f508f30627fea89a9ee6bbcbd32a00f4bb7a85a66e
    imageID: docker-pullable://kubeless/unzip@sha256:4863100364496255de9bf8722a220dad7143ab277ac72435876eb8c93936e9d7
    lastState: {}
    name: prepare
    ready: true
    restartCount: 0
    state:
      terminated:
        containerID: docker://fe85fffecba5c6ea7dac975cd18452b4e2e952f562bc56f80ab462615c0d3a37
        exitCode: 0
        finishedAt: "2020-12-03T10:27:28Z"
        reason: Completed
        startedAt: "2020-12-03T10:27:28Z"
  - containerID: docker://253c078261ed9608f403382553b88ec18214900801769602851f55c11d3569a5
    image: sha256:fa030871281d1c33698dadd62f802befec57aadfc09c8371385d47f5fb1a3b72
    imageID: docker-pullable://kubeless/go-init@sha256:403164254efabf735e98e73b7f6f65f14333ed792798c7c3d3d9a33ca91acf7a
    lastState:
      terminated:
        containerID: docker://253c078261ed9608f403382553b88ec18214900801769602851f55c11d3569a5
        exitCode: 1
        finishedAt: "2020-12-03T10:30:57Z"
        reason: Error
        startedAt: "2020-12-03T10:30:57Z"
    name: compile
    ready: false
    restartCount: 5
    state:
      waiting:
        message: back-off 2m40s restarting failed container=compile pod=get-go-8885d7974-9rqn7_kubeless(ef941b04-a525-40b4-a2a3-6da5a47fc778)
        reason: CrashLoopBackOff
  phase: Pending

Environment:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:43:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Kubeless version (use kubeless version):
Kubeless version: v1.0.7-dirty

Cloud provider or physical cluster:
minikube version: v1.12.0

@andresmgot thank you, using this method, I found a problem and solved the problem.
kubectl logs get-go-8885d7974-9rqn7 -c compile
rm: cannot remove '/kubeless/go.mod': No such file or directory
need --dependencies when deploy a function.


Updated page weight

Adjusting page weights for 2 child pages to surface a new Ongoing OAuth connections page in the navigation pane. (Page weights determine page order in the nav and can't be the same across pages).
The generated preview shows the page as expected. Let's merge the PR to see if prod also shows the page.

@cwarnermm Still seems that it's not showing here https://developers.mattermost.com/integrate/slash-commands. Not sure what could be the issue. Also, it would be odd that the weights would affect only the production docs and not the preview site right? Have there been any similar discrepancies between the production site and preview sites to your knowledge?

@mickmister - Agreed that the page isn't showing up, and that page weight wasn't the issue. I'm stumped by this one. From the repo side, I'm not seeing a clear reason why the page isn't being published. Could be a production environment issue which would require Delivery Team assistance. I've started a thread internally to discuss further.


Route regular expression is still in the old format

Where is the problem?
https://docs.konghq.com/hub/kong-inc/oas-validation/#tutorial
What happened?
The path for Route is /. *.
 curl -X POST http://localhost:8001/services/Petstore-Service/routes \
     --data name='Petstore-Route' \
     --data paths='/.*'

But now, in order to write a regular expression, the ~ is required at the beginning.
Therefore, it does not work well when we run this plugin according to this tutorial.
What did you expect to happen?
 curl -X POST http://localhost:8001/services/Petstore-Service/routes \
     --data name='Petstore-Route' \
     --data paths='~/.*'

Code of Conduct and Community Expectations

[X] I agree to follow this project's Code of Conduct
[X] I agree to abide by the Community Expectations

In addition to the above, since this tutorial specifies strip_path in Route, all paths are removed in the regular expression and passed to the API Endpoint, so a 404 is always returned even if the request is in the correct format.
$ curl -X GET "http://localhost:8000/pet/findByStatus?status=available"   -H "accept: application/json"

<title>404 Not Found</title>

404 Not Found

nginx


add luke's j project

https://github.com/lukebarnard1/j

@oddvar would you mind?

done https://github.com/matrix-org/matrix-doc/commit/83f58baba26e290d86ab83920637a894d840e20e


Need some help if is posible

What would you like to discuss?
Hello, i dont know what is wrong, can't bypass hcaptcha, just im waiting 1-3 min and nothing
my exemple code
const hooman = require('hooman');
const url= process.argv[2];
  return new Promise((resolve, reject) => {
    hooman.get(url, {
      captchaKey: 'key',
    });
    })
      .catch((error) => {
      console.log(error.message);
      return reject(error.message);
      });
      }

Checklist

[x] I have read the hooman and got documentation.

did you provide real captchaKey from 2captcha?

and did you get any message like [info] Solving hcaptcha at {pageurl}

did you provide real captchaKey from 2captcha?

Yes, i have provide real key, and yes, just console log 'solving hcaptcha etc'' but im waiting up to 3 mins and nothing
Test url : https://habnet.biz/ and https://runo.pw/

maybe captcha workers are busy. for now, use this one. please don't abuse it. it's free btw. and captcha key is really dummy
captchaKey: 'dummy',
captchaRetry: 2,
onCaptcha: async ({ pageurl, sitekey, method }) => {
  try {
    console.log(`[info] Solving ${method} at ${pageurl} for free!`);
    const { body } = await hooman.post('https://harvest.caddy.eu.org/solve', {
      json: {
        sitekey,
        pageurl,
      },
      responseType: 'json',
    });
    return body.generated_pass_UUID;
  } catch (e) {
    console.log(e.message);
  }
},


404 at /docker-for-mac/dashboard/

I found a broken link: https://docs.docker.com/docker-for-mac/dashboard/
I arrived at this page through: http://localhost/tutorial

Thanks for reporting! This will be fixed by https://github.com/docker/docker.github.io/pull/15498, which adds a missing redirect for the page that was moved.
As a workaround until that fix is published on docs.docker.com, you can use;

https://docs.docker.com/desktop/#overview-of-docker-dashboard for an overview of the dashboard
https://docs.docker.com/desktop/use-desktop/container/ and other pages in that same section, which describe the different view within the Dashboard
use the navigation on the left-hand side to discover other documentation for Docker Desktop features.


the verse number is not inside the symbol Please Kindely Fix IT

Try using the default system font for the verse end symbol. Btw, which platform are you working on?

Assalamualaikum warahmatullahi wabarakatuhu
Im using flutter and dart .
Will try ma beloved brother.
On Wed, Feb 9, 2022, 12:53 PM Aqeel @.***> wrote:

Try using the default system font for the verse end symbol. Btw, which
platform are you working on?
—
Reply to this email directly, view it on GitHub
https://github.com/aqeelshamz/quran/issues/5#issuecomment-1033427326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT5MQTREKSTZJTWGMUZFSBTU2II6NANCNFSM5N4OCOQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

TextSpan(
text:
getVerseEndSymbol(
index +
1), still not working it was working few days ago but
when i opened it today it wasn't working correctly
style: TextStyle(
fontSize: 21,
color: themeProvider
.arabicFontColor,
),
)
On Wed, Feb 9, 2022 at 1:13 PM Spicier Ewe @.***> wrote:

Assalamualaikum warahmatullahi wabarakatuhu
Im using flutter and dart .
Will try ma beloved brother.
On Wed, Feb 9, 2022, 12:53 PM Aqeel @.***> wrote:

Try using the default system font for the verse end symbol. Btw, which
platform are you working on?
—
Reply to this email directly, view it on GitHub
https://github.com/aqeelshamz/quran/issues/5#issuecomment-1033427326,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT5MQTREKSTZJTWGMUZFSBTU2II6NANCNFSM5N4OCOQA
.
You are receiving this because you authored the thread.Message ID:
@.***>

in quran.dart
the error is because of
arabicNumeric += "\u06dd";
changing it to
"\u06dd" += arabicNumber
did the trick i.e it fixed it .

Ok. Jazakallahu khairan. I will fix it. Or can you make a pull request?

Ok. Jazakallahu khairan. I will fix it. Or can you make a pull request?

sure

Jazakallahu khairan


Allow For Configurable Project Path

I am trying to install GAM but get an error:
ERROR: {‘name’: ‘operations/cp.8859581450584992924’, ‘metadata’: {‘@type’: ‘type.googleapis.com/google.cloudresourcemanager.v1.ProjectCreationStatus’, ‘ready’: True}, ‘done’: True, ‘error’: {‘code’: 7, ‘message’: “Permission ‘resourcemanager.projects.create’ denied on parent resource ‘organizations/889485787246’.“, ‘details’: [{‘@type’: ‘type.googleapis.com/google.rpc.ResourceInfo’, ‘resourceType’: ‘project’, ‘resourceName’: ‘projects/gam-project-3pb-bvc-1zs’}]}} Project creation failed. Trying again. Say N to skip project creation.
I have the ability to create project only in a directory off my organizaitonal node. It appears we need to configure the project location within the organizational node. How do we do this?

Found the command to do this
`gam create project admin {admin email address} project {project name} parent {parent folder in org node}


Training other languages

Hello, how to train other languages? Thanks

@loretoparisi for faster prototyping, I would suggest using automatic translation to Russian, for example, with translators lib
We used about 120 million pairs of texts and images, deduplicated and filtered, to train the model. We will post the survey soon

It seems to work for at least some english phrases as well, e.g.:

'the quick brown fox jumps over the lazy dog'


Updating instructions for latest Dev Console steps

Just changed my auth email account and noticed the steps have changed from Google Dev Console since you last made the instructions. Figured I'd help out by updating the readme with all the new steps and updating the affected screenshots.

thank you