Unable to mount host volume to externalize data using Windows

I am trying to mount a host volume to a Docker container for MongoDB. The Dockerfile contains the following.
# Create the MongoDB data directory
RUN mkdir -p /data/db
# Identify mount point
VOLUME /data/db

--> The docker image has a name called mongo.
But when i try to start the image and mount a local Windows folder using:

docker run -d -v /c/Users/310145787/Desktop/mongo:/data/db mongo

I get an error message saying:

invalid value "c:\Users\310145787\Desktop\mongo;C:\Program Files (x86)\Git\data\db" for flag -v: \Users\310145787\Desktop\mongo;C:\Program Files (x86)\Git\data\db is not an absolute path

I checked with boot2docker ssh if the path is accessible and it seems ok.
docker@boot2docker:/c/Users/310145787/Desktop/mongo
Using Boot2Docker 1.6.0

I have the same problem. I guess the root directory / is not actually exist in the Git bash environment. Insead, it refers to the Git Home directory which has usr, etc and bin so on. So if any path start with the root path /, it will be translated to the relative path to the Git Home.
But still have no idea how to fix it.

The current work-around seems to be to create a docker volume, and then share that between docker and your native OS. Here is where I found that solution:
https://github.com/boot2docker/boot2docker/blob/master/README.md
Having said that, I'd really like to just be able to -v /c/path:/someplace

That's ture. I can also use boot2docker ssh to login the VM and then mount the disk to docker. But, eh, I  also like to just be able to -v /c/path:/someplace.
It seems it is a bug of Git Bash. Does anyone tried boot2docker under cygwin? Is that possible to mount the disk? Git Bash will translate all / path to it's installation path so that all unix tool can be used inside the env. Eh, but it is really...not that good.

I was pointed out to a work around in issue https://github.com/docker/docker/issues/12590 using a double slash seems to work. I checked it locally and it works.
docker run -d -v //c/Users/marco/Desktop/data:/data <image name>
Using the double slash the host volume is mounted correctly

@mpas Nice! it also works with docker run -v /$(pwd):/data

$pwd: Even better! Thanks for sharing, having to use a static name was another nuisance in the syntax.

This does not seem to work for an interactive session (using winpty). Any ideas?

//c/Users/... worked in my case as well.
OS: Window 10

docker run -p 88:80 -it -v //g/test.conf:/etc/nginx/conf.d/test.conf
it is not work, because "conf.d" , i dont known how to fix it, help!

@sunhaolin note that by default, only the c:\users directory is shared with the boot2docker virtual machine, any other directory is not shared with the VM by default, so doesn't exist inside the VM. See the README.md for more information

Hello @thaJeztah
I'm not sure I understand what you mean. So, only subdirectories of C:\Users are shared with boot2docker? Despite what you specify using -v? For example, if I run:
docker run -v //h:/data -w /data --rm -it node bash

I can only see directories under the path from where I have launched that command, and no files inside it. This means that, inside the docker container I can navigate to /data/some/folder if I have launched the command from /h/some/folder.  Is that the intended behavior?
Regards

@danielo515 correct; you need to understand that the -v /some/path:/container/path option mounts /some/path from the host that the docker daemon runs on. When using boot2docker, that host is the Virtual Machine. Your c:\ and h:\ drive are on your Windows host, not in the Virtual Machine, so when mounting those, the docker daemon creates an empty directory (because the path you're mounting doesn't exist), and mounts that inside the container;  as a result, you get an empty directory mounted in the container.
Because you sometimes want to mount files from the Windows host inside a container, boot2docker uses a "trick"; the c:\Users directory is mounted inside the Virtual Machine (at the /c/Users directory) using "VirtualBox guest additions". So when you use -v c:\Users\something:/container/path, you're actually bind-mounting /c/Users/something from the Virtual Machine. That path happens to be mounted from the Windows machine into the Virtual Machine, so you'll see your Windows files there.
It's a bit complicated, so, hope it's clear what's happening :smile:

Hello @thaJeztah
It sounds a bit twisted, but hey, every workaround is. From your description I understand that theorically I could use virtual box addons to make another folder visible to the virtual machine and be able to mount them. But I'm not sure if that will work with the -v parameter.

@danielo515 yes, you can add additional paths, but that has to be done manually, some instructions can be found here; https://github.com/boot2docker/boot2docker/#virtualbox-guest-additions
Also, you may be interested in the Docker for Windows beta; https://beta.docker.com

https://forums.docker.com/t/volume-mounts-in-windows-does-not-work/10693/71

@thaJeztah thanks for explanation. Interesting - while running Windows 10, it appears that mounting a directory this way actually creates a copy of the directory and contents. After running a container, if I change the contents of a file or directory on my local machine it is not reflected in the container. Is this correct, expected behavior?

If, for some reason, you're mounting a volume, not a bind-mounted directory, then the contents of the container image is copied to the volume on first use (if the volume is empty). If you're running boot2docker / Docker ToolBox, syncing should be handled by VirtualBox sharing (if properly configured); not sure what could case syncing to not work with the current information.


Not a bug, but a future fix

I develop and maintain theming for steam and I remembered this project and just wanted to drop this repository as the Steam Beta update changes all the class names and you would have to rewrite your theme without using this.

https://github.com/SteamClientHomebrew/ClassMapper
create an issue if something arises.

Cheers,
Shadow

Thanks. The next branch is already updated using a class map from https://api.deckthemes.com/beta.json, but this may be useful in the future if Valve decides to change classnames again.

perfect! just wanted to make sure this theme wasn't just left to rot.
Have a good one.


Multiple maps over the same area

How to add multiple layers on the maps. I used multiple maps but i got issues with tiles fetching of overlapping area.

Hello
You are experiencing some z-fighting there, what you can do to solve the issue is to adjust the height of the map or instead disable drawing to the zbuffer on the bottom layer,
Thanks in advance

Thanks, It works but the below layer is not rendering, I set the material to transparent to show the below layer.


DataGrid text column filtering broken as of v4.25.0

Problem only since v4.25.0
When filtering is applied to a datagrid, the automatic filtering texboxes on just text columns, no longer allows the cursor to be put into the textbox and subsequently anything typed into it. Behaviour is as if the filter textbox is readonly.

OS: Windows 10
Browser:  Microsoft Edge (Version 121.0.2277.128 (Official build) (64-bit))
Radzen.Blazor Version: 4.25.0 onwards

Described problem was not present on previous version of v4.24.7

Works normally on our demos:
https://blazor.radzen.com/datagrid-simple-filter


Error with inline comments: Missing required parameter "title"

Category
bug

What is the current behavior?
Error with inline comments: Missing required parameter "title"

What is the desired behavior?

Additional information

It was a temporary issue with our CDN, it has been fixed and should work as expected.


Update ripgrep to 0.6.0+

#35236 depends on --quiet working with --files. We'll also need the fix for --files performance that is not in any release yet only in master.

I'm hoping to do a patch release of ripgrep soonish. I might not get to it until the weekend however.

@BurntSushi That would be great, thanks!

Thanks @roblourens !


Support quasi Monte Carlo

It looks like currently only RNG -based sampling is supported. As discussed in https://github.com/SciML/Integrals.jl/issues/11 Cuba supports using QMC. It is also supported in https://github.com/ranjanan/MonteCarloIntegration.jl . Would it be possible to integrate this into MCIntegration.jl too?
You can use e.g. https://github.com/SciML/QuasiMonteCarlo.jl for a generic interface to different low-discrepancy sequences.

Thank you for bringing it up. We will look into it. How urgent do you need it?

Thanks for your attention and for asking! I don't have an exact schedule for the need, but I am likely to at least integrate this package via Integrals.jl for my package ComputerAdaptiveTesting.jl. The benefit would be mainly to offer more options to users of my package.
MonteCarloIntegration.jl already support QMC, but no longer supports newer versions of QuasiMonteCarlo.jl, which my package also uses directly for non-adaptive integration and to allow specific optimisations and caching, so it would be nice to use this package instead so I could.
More generally, this may be the thing to bring things up to feature parity with MonteCarloIntegration.jl, which will allow it to be deprecated since it is not being actively developed at the moment. Hopefully this helps prioritise.
Happy holidays!


[WIP] Support Postgis GeoJson and ST_contains

#262

This is actually fewer lines of code than I expected.

@lampercy @rickmak This pull request is merged into https://github.com/SkygearIO/skygear-server/tree/geojson. New work on #262 will be committed/merged into this feature branch and a separate pull request will be created so that the feature branch can be merged into master.


AttributeError: 'str' object has no attribute 'type'` in graph.py

I'm trying to load an ffcv dataset but I get this weird error.
 AttributeError: 'str' object has no attribute 'type' at line 333 of ffcv/pipeline/graph.py which goes something like this
 if next_state.device.type != 'cuda' and isinstance(operation,                     ModuleWrapper):
Not sure why it is of string type when it probably should be something else

This error usually occurs when you specify a device with a string like "cuda:0" instead of a torch.device (e.g., torch.device('cuda:0')

Thanks for the response Andrew! I fixed this issue but I still get the same error.


CR: Add "x Files added to your cart" to cart modal after new items added to cart

[ ] Display cart pop-up after animation for a little time
[ ] Add "x Files added to your cart" on top

@ranzwertig @webholics @dreampulse This ticket is currently in user acceptance test. Last update I received was that it would take approx. one day to do.
Is it still in development or is there something ready?

Hm no its not done yet, "automation" moved it to to user acceptance test, whatever that is :(

When an issue is closed (e.g. bei merging a linked PR or by manually closing it as @Dansken did 5 days ago) the card will be moved to the User acceptancve Test list.


Fixed #27604 -- Used the cookie signer to sign message cookies.

Thanks Craig Anderson for the initial patch.

@claudep Thanks :+1: I added deprecation notes, added comments that will help us when deprecation ends, and pushed minor edits.
@craiga Thanks for the initial patch :+1: Welcome aboard :boat:

Great polishing! Looks good to go.


[BUG]

Describe the bug
When using the GoalForm component in the project, there is an issue with the text color in the input field. The text entered by the user is displayed in white, making it difficult to read against the background.
To Reproduce
1.Navigate to the page/component where the GoalForm is used.
2.Focus on the input field.
3.Enter some text.
Expected Behavior
I expect that the user would be able to enter the goal with a clear input text
Screenshot/ Video

Code of Conduct

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

@Saifmagouri Thanks that you found such a bug. Would you like to fix it?

yes i would be glad to do so


Part of the PBR model of glTF 2.0 is displayed in black

I tried to display the following model with glTF 2.0 Loader of Grimoire.js.
https://github.com/cx20/gltf-test/tree/2.0/tutorialModels/MetalRoughSpheres
However, in reality some are black.

This is considered to be a problem with shaders.

I think the following places are suspicious.
https://github.com/GrimoireGL/grimoirejs-forward-shading/blob/0414b89831b88a0ca7f1f8a7bad404eb3980ca7e/src/Shaders/ShadingChunk.sort#L201
//vec3 lI = lambert(fragNormal, -_dLightDir[i]) * _dLightColor[i];
vec3 lI = lambert(_dLightDir[i], fragNormal) * _dLightColor[i];

I corrected it to trial and the black part disappeared.


which SSD model you have used to train the model

Hey Great work...
i want to know which SSD model you have used to train the model

Hi @deamonDevs ,
It is mobilenet SSD.
Yeephycho


Adding import auth documentation

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

To be published on July 6th


Error with importing tensorflow after running trackgesture.py

Here is my console when i run trackgesture on visual studio with anaconda (have tensorflow 1.13.1)

I haven't used Visual Studio for python. Not sure if you found the solution to your issue, but if you have then it would be good if you post it here. It would be good to know info for others.

I am closing this issue. Basically you need to have tensorflow module installed. Let me know if you still face issue after installing tensorflow package.

I have solved it, it is exactly that keras has malfunction with interacting
python 3.7 so i downgraded it and it works. thank you for spending time
Vào 18:40, Th 3, 19 thg 11, 2019 Abhishek Singh<EMAIL_ADDRESS>đã viết:

Closed #47 https://github.com/asingh33/CNNGestureRecognizer/issues/47.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/asingh33/CNNGestureRecognizer/issues/47?email_source=notifications&email_token=AML2XCBS5Q3XYQSJVQH66V3QUPGCVA5CNFSM4IKZ25F2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOU6G4J5Y#event-2811086071,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AML2XCDEFJFAE5BWNSTJEH3QUPGCVANCNFSM4IKZ25FQ
.


Support for structure types in write_list_by_name

As follow-up to #187, I'd like to add support for structured types in write_list_by_name.
The implementation should be quite straightforward, yet the unit test fails when I try to verify the written data by reading it again. Or could it be a limitation of the testserver?

I believe this is a limititation of the test server, I learnt recently that the test server on read is set ony to return given values, so is more used to validate the read happened. On write, if the write happends you get back the reposnse you are testing for, i.e. "no error", I dont believe it keeps in memory any values written to it. The tests therefore make the assumption that if the test server says the write happened, it happened. Or at least this is the case for other write tests.

As @chrisbeardy already wrote the TestServer is very basic. There is an AdvancedHandler that allows to store values and return them on read operations. But this only supports basic datatypes.

Sorry it seems I just merged that PR before proper review. To prevent further confusion I'll keep it in master and fix the tests in a separate PR. Thanks @pylipp for the nice work.


Set Up Business Rules for Determining Equipment

Tutorial URL: https://developers.sap.com/tutorials/cp-starter-ibpm-employeeonboarding-2-businessrules.html
Please specify the step you are referring to:
Step 2:   Import business rules
(1)Click Design icon and select Import Project from API Business API Hub.
(2)In the popup, do the following:
In the System field, select APIHub or the name you entered while configuring the system.
From the options shown in the Content Package Name dropdown, choose Equipment Determination Business Rules.
Choose Go.
Select the latest version of the project named Equipment Determination Rules.
Choose Import.
Actual Result :
After import, i am getting " Bad Gateway error" even after trying couple of times .
This issue is specific to "US" region in trial account

Can you check this again. I tried in US sub-account and it works fine for me. May be some temporary issues with US trial.

@mounikat987 - can you try this again. I able to import the the business rules. May be some temporary issue with US trial.

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


UEFI Support on CloudStack

Description
To Enable UEFI Support for Guest VM's deployed on Hypervisors[ KVM, VMware] in Cloud Stack.

Refer below doc for more information.
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enable+UEFI+booting+for+Instance

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):
KVM Host configuration

Install OVMF package by following instruction from the link here
Create uefi.properties file at location /etc/cloudstack/agent/uefi.properties
insert loader details with respective to the ovmf package would like to integrate. for example

How Has This Been Tested?

KVM

Prepared KVM [ RHEL 8 ] host UEFI enabled by installing OVMF package and configuring libvirt with nvram params
Installed cloud stack agent rpm on KVM host.
Created & updated uefi.properties configuration file with UEFI params as describe above in "KVM Host Configuration".
Added KVM Host to a Cluster in Cloud Stack.
Prepared & registered 'Windows Server 2016' & 'Cent OS 7.x'  [KVM] templates on to CloudStack. i.e UEFI enabled.
Deployed a VM [ boot options  as UEFI -> Secure , UEFI -> Legacy ]with Windows Server 2016
template and verified the UEFI boot information.
Deployed a VM [ boot options  as UEFI -> Secure , UEFI -> Legacy ]with Cent OS 7.x template and verified the UEFI boot information.

Note: brctl-utils package is deprecated in RHEL 8. We have force installed epel7 rpm in RHEL 8 and configured KVM agent.
VM Booting with UEFI firmware

Windows Server 2016 VM Secure boot enabled

Windows Server 2016 VM  Secure boot disabled

Cent OS 7 Linux : Secure boot enabled

VMware

Added VMware ESXi[6.5] Host  in Cloud Stack Vmware Cluster
Prepared & registered 'Windows Server 2016' [Vmware] templates on to CloudStack. i.e UEFI
enabled.
Deployed a VM [ boot options  as UEFI -> Secure , UEFI -> Legacy ]with Windows Server 2016
template and verified the UEFI boot information.

Windows Server 2106 VM Secure boot disabled

Windows Server 2106 VM Secure boot enabled

UEFI Enabled Host

Guest VM Uefi Boot Details

Hi @nathanejohnson are you planning to test this PR?

@nvazquez I'm going to test on kvm.  would be good to get a volunteer for vmware as well

@nathanejohnson sure, I can manually test it on Vmware once the PR is complete
@pavanaravapalli please let us know when this is complete, afaik it is still in progress right?

@nvazquez   I am working on it.  I will address your review comments given in the PR#3643.  I have created another PR#3643 for the same branch due to some forking issue.
@nathanejohnson @nvazquez
Please refer the PR#3643 for future reference.
I am closing this PR

@pavanaravapalli you do not need to create new pull request.
you can push your new commits (or force-push to overwrite existing commit) to your github.

Since PR#3643's forked branch been obsoleted, re-opening this PR.

Thanks @pavanaravapalli. I left some code review comments. Can you also add documentation? For example for KVM it seems to need some properties set in order to work properly

Updated Description with KVM related uefi.properties information.
Also refer to the Design doc for more information.

@nvazquez @nathanejohnson
PR is in good shape now, Can you test functionality and provide review comments.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-435

@sureshanaparti, review comments addressed as suggested

@nathanejohnson @nvazquez @rhtyd Please review.

@rhtyd
Jenkins job is getting failed with timed out error , can you please look on the same. I ran several times ended up with same exception.  And this error is not because of code changes pushed.

@blueorangutan package

@andrijapanicsb a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@nathanejohnson @pavanaravapalli - is this ready for final testing now?  /cc @nvazquez

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-529

Hi @andrijapanicsb
PR is in good shape can be picked and tested, I am waiting for review comments and Dev Testing find outs from @nvazquez @nathanejohnson @rhtyd

I'm afraid we need to resolve conflicts - but nice to see this ready @pavanaravapalli
@nathanejohnson @kiwiflyer - do you guys want to test this one?

@andrijapanicsb thanks for pointing out. Conflicts resolved now.

@nvazquez @nathanejohnson @rhtyd @radu-todirica @kiwiflyer
It's been long time i am waiting for the approval. Can you please take some time to review it.
PR got one LGTM , and waiting for another LGTM.

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-982

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-1170)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27905 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3638-t1170-kvm-centos7.zip
Smoke tests completed. 80 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

@nvazquez @nathanejohnson can you test, now?
@andrijapanicsb and/or you?
regression passes and two lgtm, an extra ok on testing would be nice.

@pavanaravapalli you might have to address the 'changes requested', that's an old one and you probably already addressed it.

@harikrishna-patnala
Yes i have already addressed. those changes need to get approved by @nathanejohnson. I see no pending actions from my UI view.

ping @nathanejohnson , is this ok by you?
@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1039

@blueorangutan test matrix

@DaanHoogland a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware67, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@nvazquez @nathanejohnson can you test, now?
@andrijapanicsb and/or you?
regression passes and two lgtm, an extra ok on testing would be nice.

@nvazquez @nathanejohnson
Can you please take some time to test and review it.

Trillian test result (tid-1231)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 43543 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3638-t1231-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Smoke tests completed. 83 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

Trillian test result (tid-1230)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 44299 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3638-t1230-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Smoke tests completed. 82 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_01_scale_vm
Failure
15.78
test_scale_vm.py

Hi @pavanaravapalli, there are some conflicts in this PR, can you please resolve them?

Hi @pavanaravapalli, there are some conflicts in this PR, can you please resolve them?
@nvazquez
I would like resolve the conflicts in One Go, after addressing all review suggestions. Are there any review comments from you as merge conflicts are smaller ones.

It's been long time , i am waiting for review comments. I have done several code rebase's  and resolved merge conflicts each iteration, Since PR is raised.

code looks generally good. a lot of complexity added to already complex methods though. functionality looks sane but have not tested. some comments on (the usability of) log messages.

I will check the changes suggested and update here.

@DaanHoogland
I will check the changes suggested and update here.

@pavanaravapalli it would be nice if you can make it today (code freeze by end of day UTC)

I see no open comment (except my own, which apart from log messages are style) but: I do not see any test report on this by a third party!
@nvazquez @nathanejohnson can you give this some attention, please?

@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✔centos7 ✔debian. JID-1047

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

As this is functionaly ready and approved by parties all over the world I'm moving this back to the 4.14 milestone

I would love to see this in 4.14, and apologies if I missed something - has this been tested by anyone (except the author)
@nathanejohnson?

@andrijapanicsb @nathanejohnson had said he would test and than LGTM'd so I'm assuming that is on the basis of his tests (and also I spoke him on other media where he confirmed this. ;)

@DaanHoogland
I will check the changes suggested and update here.

@pavanaravapalli it would be nice if you can make it today (code freeze by end of day UTC)

@DaanHoogland
I am unable to push the review changes[amend] in to branch as a single commit, since master is merged with this branch.

@pavanaravapalli that sounds strange. maybe you can check out again and than cherry-pick your changes and push?
git branch -m uefisupport uefisupport-old
git checkout -b uefisupport pavanaravapalli/uefisupport
git cherry-pick
git push

@pavanaravapalli I don't think you had anymore functional changes to make so it is fine by me to leave thos fixes for a new PR after this one.

@pavanaravapalli I don't think you had anymore functional changes to make so it is fine by me to leave thos fixes for a new PR after this one.

Ok.

Blue monkey, where are the results on this one???

Trillian test result (tid-1241)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 33201 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3638-t1241-kvm-centos7.zip
Smoke tests completed. 83 look OK, 0 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

3 x Approvals, regression tests went fine.
Merging

@pavanaravapalli please have a look at @rhtyd 's concerns and at #3978 as this PR seems to cause issue. We'll need to fix before release or revert!
cc @davidjumani @rhtyd @andrijapanicsb

cc @nathanejohnson @kiwiflyer , hate to escalate but please see my prior comment.

@pavanaravapalli please have a look at @rhtyd 's concerns and at #3978 as this PR seems to cause issue. We'll need to fix before release or revert!
cc @davidjumani @rhtyd @andrijapanicsb

@DaanHoogland
I will check for the exception #3978 cause and update.
For addressing @rhtyd concern i need some more time as i am occupied with other activities.

@pavanaravapalli could est. when would you be able to do this, preferably before 4.14 RC1?

@pavanaravapalli could est. when would you be able to do this, preferably before 4.14 RC1?

@rhtyd it may take time to address all the review comments provided.  I am hoping to give fix for NPE #3978 soon. And i need some one to test it as i don't have VMware setup with me present.

@pavanaravapalli I can take care of the test required to validate that #3978 is solved. Please add your update A.S.A.P.

@pavanaravapalli please add your improvements and suggestions as PR to #3983.

@pavanaravapalli please add your improvements and suggestions as PR to #3983.

Raised PR #3985 for the fix . @DaanHoogland  please verify the fix and approve it.

@pavanaravapalli please review #4088 we need to fix this to be able to release.

@pavanaravapalli Can you update the actual UEFI functionality (with boot mode & type) supported for VMware and KVM, in CloudStack, with this PR changes.

@pavanaravapalli Can you update the actual UEFI functionality (with boot mode & type) supported for VMware and KVM, in CloudStack, with this PR changes.

Updated Description with info.

@pavanaravapalli please review #4088 we need to fix this to be able to release.

Verified code, looks good to me.


Enabled table functions generation scripts on windows

Remove conditions that prevent running table generation scripts on windows

The only necessary change was to remove all of if(NOT MSVC) conditions. Initially I left some of them in place and build failed. Possibly it doesn't build on windows without some of other patches that were done before it, but it shouldn't affect Linux anyway.


Fix path for not found sloth.

Changes
Fixes the "not found sloth" placeholder image... I missed updating this constant when I was cleaning up the asset path stuff in #5373. Whoops. :grimacing:
Screenshots
Before:

After:

For review: @DoSomething/front-end

:100:

The game has officially been changed! :video_game: :+1:


singleMarkerMode with disableClusteringAtZoom

Hi there,
everything is working fine so far. Problem is that I want to use singleMarkerMode but at the same time want the clusters to be invisible at a given zoom level with disableClusteringAtZoom. Unfortunately setting singleMarkerMode disables the disableClusteringAtZoom. Would it be possible to make it so that it respects both?
Regards,
Chris

can anyone give me a example code . i am not able solve this problem

I know this is an old thread.  But can someone show how to handle having a cluster of 1 until a certain zoom level?

If you can track zoom level it would look something like this...
if (zoom > threshold)
   return LayerGroup with markers
else
   return MarkerClusterGroup with singleMarkerMode


Bump plugins and use new utils.

No codegen to migrate here since we're using dynamic objects.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@582fcb0). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #9   +/-   ##
=========================================
  Coverage          ?   61.76%
=========================================
  Files             ?        1
  Lines             ?       68
  Branches          ?        1
=========================================
  Hits              ?       42
  Misses            ?       26
  Partials          ?        0

Impacted Files
Coverage Δ

...roadinstitute/monster/hca/HcaPipelineBuilder.scala
61.76% <ø> (ø)

Continue to review full report at Codecov.

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


Typo "Jupyter notebook"→"Jupyter Notebook"

https://docs.microsoft.com/en-us/azure/hdinsight/spark/apache-spark-jupyter-notebook-install-locally

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Note that the product name is Jupyter Notebook. Referring to multiple instances of the product would seem to be "Jupyter Notebook files" or similar. Although the organization refers both to "a Jupyter Notebook," "Jupyter notebooks," and "Jupyter Notebooks" on its website.

#sign-off


bug: home page (app.ardrive.io) crashes after clicking "< go back" window

Open https://app.ardrive.io/ -> select Don't have a wallet? Get one here! -> come back to home page -> click "< go back" window
The result:

Thanks for the feedback, @akhileshthite !
I can reproduce and we'll create a ticket to address this issue. Any updates on this we'll keep you posted.

Fixed on redesign, closing it.


bug display last 1000 pages...

I have a bug when I click on : "Display last 1000 pages".
Usage: user/data/page-data.sqlite (18.4 MB)
This is where it happens: "admin/page-stats/recently-viewed-pages"
And I've got a blank page with information but not complete without my site's theme, so the information is unreadable...
Server Error
Sorry, something went terribly wrong!
E_ERROR - Maximum execution time of 30 seconds exceeded
For further details please review your logs/ folder, or enable displaying of errors in your system configuration.
June 2nd at 4:57am	CRITICAL	Maximum execution time of 30 seconds exceeded

Feels like we are showing too much data, I will look into adding pagination

yes, I think it would be good, I tried to make changes to not lose too much data but it bug completely, so I came to you, if you do that it would be cool!


Add update info

The purpose of this PR is to implement the designs and close https://github.com/aqualinkorg/aqualink-app/issues/390.

[x] Satellite observation card
[x] Sensor observation card
[x] Heat stress card
[x] Wind/Waves card
[ ]  Add links

Designs:

desktop
iPad
iPhone 6/7/8

@tleraj for the last card (wind waves), we either have a spotter and use the "live" tooltip, or we don't have a spotter and use the GFSS one. We should never need both at the same time.

@tleraj for the last card (wind waves), we either have a spotter and use the "live" tooltip, or we don't have a spotter and use the GFSS one. We should never need both at the same time.

@tleraj - for the links let's use this for now:
NOAA SST -> https://coralreefwatch.noaa.gov/
NOAA CRW -> https://coralreefwatch.noaa.gov/product/5km/index_5km_baa_max_r07d.php
GFS -> https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/global-forcast-system-gfs

@tleraj - for the links let's use this for now:
NOAA SST -> https://coralreefwatch.noaa.gov/
NOAA CRW -> https://coralreefwatch.noaa.gov/product/5km/index_5km_baa_max_r07d.php
GFS -> https://www.ncdc.noaa.gov/data-access/model-data/model-datasets/global-forcast-system-gfs

Let's improve the spacing in and around the grey buttons
Let's make sure the button always stays on the right side, I think you should make a row grid with the text on the left and the button on the right.
The clock icon should be more to the right
Let's avoid having 3 lines (I think moving the clock icon should fix this, otherwise make the text a bit smaller)

Let's improve the spacing in and around the grey buttons
Let's make sure the button always stays on the right side, I think you should make a row grid with the text on the left and the button on the right.
The clock icon should be more to the right
Let's avoid having 3 lines (I think moving the clock icon should fix this, otherwise make the text a bit smaller)

When there is no spotter, let's move the yellow button into the same new info box at the bottom, a bit like this:

When there is no spotter, let's move the yellow button into the same new info box at the bottom, a bit like this:


New command: logs

Pretty print logs from a lambda
npx logs src/http/get-index

Woo! A shorthand version for regular request/response routes would be cool too npx logs get-index

like that idea; shipped the verbose version and will leave this open to remind myself (or someone!) to tackle

(closing for now but have at it if you wanna tackle!)


Ingest OTP secrets with LastPass Migration Script

Currently the LastPass Migration Script does not ingest OTP secrets.
Ideally OTP secrets present in the LastPass export would be imported as part of their item.

closed by #17


Split out manpages into new *-man-pages packages

https://github.com/toltec-dev/toltec/pull/182#issuecomment-761693034
All packages that include man pages should be split so that man-pages can be installed separately. These separate packages should depend on man-pages.

Do you mean man-db instead of man-pages?

Do you mean man-db instead of man-pages?

Perhaps, not sure which one is which

Perhaps, not sure which one is which


Change config.php

Change config to utilise the env() function to lookup the exec path from the .env file to bring in line with latest Laravel.

Thanks for this! Merged now.


Defining the number of timesteps

First of all, congratulations on the great work, and thanks for making it open-source!
I'm in doubt about how to set the number of time steps.
On the provided config file for I2I translation (brats_linear.yml) the number of time steps under the diffusion: num_diffusion_timesteps is set to 1000, is this supposed to be for regular DDPM or Fast-DDPM?
If it is for regular DDPM training, should I set the same parameter as 100 to train Fast-DDPM?
And how does this diffusion: num_diffusion_timesteps relate to the --timesteps argument when calling fast_ddpm_main.py?
I really appreciate any help you can provide.
Thanks!

Ok, I understand now!
Thank you :)

.


🐛 IntelliJ Format Action - Exception on exec

Environment information
CLI:
  Version:                      1.4.1
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v16.18.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

What happened?
Using the Biome IntelliJ Plugin with format-on-save.
IntelliJ Plugin Settings
Biome CLI Path
/home/jp-kcf/.local/share/pnpm/biome

biome.json Directory Path
/home/jp-kcf/kcf/Odyssey-Frontend/figma_tokens_formatter/

IntelliJ-Reported Exception
This occurs on-save. (I have Reformat on Save enabled)
No formatting occurs.
Formatting error
/home/my_user/.local/share/pnpm/biome:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
^^^^^^^ SyntaxError: missing ) after argument list at internalCompileFunction (node:internal/vm:77:18) at wrapSafe (node:internal/modules/cjs/loader:1288:20)
at Module._compile (node:internal/modules/cjs/loader:1340:27) at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32) at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49 Node.js v21.4.0

Expected result
It should not throw an error. Formatting should occur.
Code of Conduct

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

@John-Paul-R Thank you for reporting!
All other functionalities are working except for the reformat on save? (like linting)

@victor-teles It's hard to tell. I definitely am getting no linting, but there are no observable error messages with respect to that.
I am uncertain if there is additional configuration I am missing... Going through the plugin page, ALT+Enter also does nothing. (though maybe that requires the linter to be active)
Running biome lint ./*.ts via cli explicitly does yield the expected linting results, however:
  ✖ The assignment should not be in an expression.

    68 │     idx = 0,
    69 │ ): PathTree<TVal> {
  > 70 │     const target = (obj[path[idx]] = obj[path[idx]] ?? {});
       │                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    71 │     if (idx >= path.length - 2) {
    72 │         return target;

  ℹ The use of assignments in expressions is confusing.
    Expressions are often considered as side-effect free.

./figma_tokens_formatter.ts lint ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ The file contains diagnostics that needs to be addressed.

for good measure, using the exact same specified binary, explicitly: /home/jp-kcf/.local/share/pnpm/biome lint ./*.ts does indeed yield the correct results via the CLI.

@John-Paul-R Thank you for the extra informations!
I'll investigate it


Downloadserver: HTTPs server overhaul, Certificate setup

~WIP:~
~- [ ] Provide a working setup with firmware simulation.~ -> Will be fixed in a future PR.
OTA Updates have been validated with a nRF9160 client.
Setup the HTTPs download server for the firmware images via Nginx. The download server is hosted under a subdomain dl.flownexus.org. This allows to use self-signed certificates with a longer validity. The same self-signed certificates can be used in leshan for the LwM2M connection later.
The dashboard on the other hand continues to use Let's Enrypt Certificates.
The validation if an update was successful is done by comparing the firmware version string after a reboot with the firmware version string of the firmware item in the database. If mcuboot fails to apply the firmware update for some reason, the endpoint boots the old firmware and connects to flownexus. In that case the comparison with the firmware version in the database fails and the update is marked as failed.

@jonas-rem it seems that there is an unused import of .html in admin.py , that is making the compliance check fail.

The compliance check should be fixed now.


Do we need to grant any permissions to the token when using inside Github actions

Hi @hectcastro , I am getting am empty table in the result,

I am wondering if any of the perm listed below - would need to be added to the github token ( I am running the gh metrics command inside github action workflow)
https://docs.github.com/en/rest/overview/permissions-required-for-github-apps

Hm. This may be dependent on the repository you are trying to interact with (e.g., if it is private, but not the same repository you're running the workflow from).
I assembled the following test workflow, and it appears to be working as expected:
name: Test

on:
    push:
        branches:
            - gh-actions-test

jobs:
    build:
        runs-on: ubuntu-latest
        steps:
        - run: |
            gh extension install hectcastro/gh-metrics
            gh metrics --owner cli --repo cli
          env:
            GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

See: https://github.com/hectcastro/gh-metrics/compare/gh-actions-test

Also if I run locally on my mac, the results returned. so because I am using the GHA token, I am wondering what permission I need to assign.
https://docs.github.com/en/rest/overview/permissions-required-for-github-apps
What permission did you assign to  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} in the example above ?

Of course, we cant give it admin because of security issue, we give read for most and in some cases write

all good, thanks.  I have added a bunch of reads , for pull-requests and issues and seemed working, thanks for your quick response.  Much appreciated 🚀  👍


fix(trace): adjust tracing span level

Description:

closes https://github.com/swc-project/swc/issues/3863.

I tried various approach to preserve compile time trace level but only enable Level::TRACE for span only. However, it simply not seems possible. The reason I choose trace level at the moment is I was under assumption it's the only level tracing spans will try to use and would possible to enable it selectively. Both seems incorrect - first, trace level can be used for logging any span-less event, or other places. Secondly, as said above we can't opt in to enable span's trace level.
PR changes span's level into info. This is not a regression or defeating back: https://tracing.rs/tracing_attributes/attr.instrument.html# If we didn't choose level intentionally it would been info all the time and we won't hit this problem from beginning.

instruments a function to create and enter a tracing span every time the function is called.
Unless overriden, a span with info level will be generated.

WIth this PR, only tracing spans will be recorded as info. Any other traces, logs, or events can use TRACE | DEBUG level and @swc/core release binary will not emit those at all.
BREAKING CHANGE:

Related issue (if exists):

I profiled it locally.

What do you think? Go vs no-go?
Personally, I think it's acceptable as likely we'll optimize / remove unnecessary spans by improving this. Currently we eagerly expands across every transform visitor, but based on real codebase observation we can cut some obvious paths.
It'll still add overheads to runtime always, tradeoff to giving user level profiling features to end users.

But I think it's too much to go with. Maybe we can use swcx binary for profiling instead

In current number I agree it's somewhat lot. My expectation is we can reduce those number by optimizing spans.
Not supporting trace in @swc/core means all of programattic access cannot profile, like swc-loader or jest or anything else.

I got curious about numbers, so ran it locally:
Main
test full_es2015                  ... bench: 222,920,918 ns/iter (+/- 8,316,859)
test full_es2016                  ... bench: 222,653,579 ns/iter (+/- 6,525,643)
test full_es2017                  ... bench: 225,245,446 ns/iter (+/- 7,668,584)
test full_es2018                  ... bench: 220,806,417 ns/iter (+/- 6,522,804)
test full_es2019                  ... bench: 223,732,250 ns/iter (+/- 11,723,803)
test full_es2020                  ... bench: 140,139,454 ns/iter (+/- 5,810,154)
test full_es3                     ... bench: 252,597,317 ns/iter (+/- 12,477,837)
test full_es5                     ... bench: 246,717,748 ns/iter (+/- 11,739,469)
test parser                       ... bench:     419,726 ns/iter (+/- 26,972)

PR
test full_es2015                  ... bench: 220,594,474 ns/iter (+/- 5,399,636)
test full_es2016                  ... bench: 220,703,386 ns/iter (+/- 11,409,377)
test full_es2017                  ... bench: 220,279,684 ns/iter (+/- 7,768,127)
test full_es2018                  ... bench: 219,599,446 ns/iter (+/- 13,968,280)
test full_es2019                  ... bench: 217,291,666 ns/iter (+/- 9,412,638)
test full_es2020                  ... bench: 134,070,813 ns/iter (+/- 4,670,114)
test full_es3                     ... bench: 250,844,650 ns/iter (+/- 7,959,047)
test full_es5                     ... bench: 244,216,406 ns/iter (+/- 7,729,769)
test parser                       ... bench:     415,734 ns/iter (+/- 20,809)

For both of cases, cpu utilization doesn't go over 20~25% in general. I'm curious how does benchmark intenrally works and if we could have some deterministic numbers.
For optimization side, along with my above suggestion to optimize span itself, the part I'm hoping to get is  upstream support for sampling (https://github.com/tokio-rs/tracing/discussions/1474#discussioncomment-1022805) . I believe having both will allow reasonable overhead to runtime

For cpu core, cargo bench intentionally uses only one cpu core, so it can't go high

Rebased to use latest tracing, may need to run numbers again to see if it gives suffecient gains for us.

Seems like it's quite better.


Fix log file names for release build script

Currently:
[root@build-lasker manageiq-appliance-build]# /build/manageiq-appliance-build/bin/release-build.sh lasker-1-beta1
lasker-1-beta1 release build kicked off, see logs @ /build/logs/lasker-1-beta1*.log ...

But in the log directory:
-rw-r--r--.  1 root root   135657 Apr 20 17:28 _rpm.log

Oops.. sorry, I introduced this bug in https://github.com/ManageIQ/manageiq-appliance-build/pull/457...

Backported to lasker in commit 7ef3f29a090eb1506372805d4ff566ac9978356f.
commit 7ef3f29a090eb1506372805d4ff566ac9978356f
Author: Keenan Brock<EMAIL_ADDRESS>Date:   Tue Apr 20 14:00:27 2021 -0400

    Merge pull request #478 from bdunne/fix_log_names

    Fix log file names for release build script

    (cherry picked from commit 8f5b3d77e32c8310a6c4211f361ae472d17303b8)


About provide apk/dex path from PackageLoadedParam

Sometimes developers want to know the apk/dex path when loading, like /data/app/xxxxxx/base.apk or /data/user/0/xxxxx/files/dymload.dex, or it is a memory dex.
So could you please add some new methods to PackageLoadedParam class in LSPosed new API, such as getDexPath() and isMemoryDex?
P.S. We can get this information from DexFile_openDexFileNative and DexFile_openInMemoryDexFilesNative function in  dalvik_system_DexFile.cc.

PackageLoadedParam.getAppInfo() should have provided enough information?

OK you are right, but ApplicationInfo does not directly provide the information about is memory dex or not. So please add isMemoryDex() API if possible?
And another thing is the API named isFirstPackage() may be confused, because many applications use split apk or user will hook the system_server itself.

This is an example to check if a dex is a base apk or a hotfix binary in my hook framework project.
#define FS_DATA_PATH "/data"
#define FS_STORAGE_PATH "/storage"
#define FS_DATA_APP_PATH "/data/app"

bool isHotfixDexPath(const char *sourceName) {
    if (sourceName == nullptr) {
        return false;
    }
    // Dex file in read-only partition should not be a hot patch.
    if (!( strstart(sourceName, FS_DATA_PATH)
        || strstart(sourceName, FS_STORAGE_PATH) )) {
        return false;
    }
    // Dex file in system default apk path should not be a hot patch.
    // TODO: On some Android system apk can be installed to sdcard.
    if (strstart(sourceName, FS_DATA_APP_PATH)) {
        return false;
    }
    // Otherwise should be a hot patch (like /data/user/0, /data/data, /sdcard or /storage/emulated/0).
    return true;
}

What is isMemoryDex used for? Could you provide a valid scenario?
When hooking system_server, you won't get isFirstPackage because you will get a SystemServerLoadedParam, which does not have isFirstPackage.

I think isMemoryDex() or isHotfixDexPath() can be used for app protection hooking.

Aha, I got you. But unfortunately, those hotfixes won't trigger OnPackageLoaded.

Basically, OnPackageLoaded is for a package. Hotfixes are not even a package. Technically,  OnPackageLoaded only triggers whenever a LoadedApk creates a ClassLoader.

Ok I got it.


chore: 11ty configuration enhancements

11ty build and config changes from epic/redesign branch

Replace highlightjs with the prismjs library due to more suitable code-blocks support (bash)
Add separate prismjs config file and njk code shortcode
Fix linter settings to have better ootb support by IDEs
Extend sort filters
FIx *.md watch targets

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Work around missed srcipts

This should fix missed scrips in previous pull request.
It preserves any script attributes so defer in not important in my opinion.

I will look at this :)
What concerns me is scripts like:
How can jsdom handle it?

It'll be "regular" jQuery code (with some node fs api here and there... that's what is fun!) so I guess this will be addressed with something like
<script data-build-to="something" data-build-fallback="true">window.jQuery || document.write('<script src="js/libs/jquery-1.6.2.min.js"><\/script>')</script>

The whole idea is to use data-* attributes to drives the output of the build script, or inline html comments to reduce down the configuration. Ideally, this should be something that you run on a bunch of html files (or other extension) and the script should guess what to do from the html markup.
See #1 or h5bp/html5-boilerplate#831 for the original idea / discussion.

I must think about it :)
I am watching backbone-boilerplate and they just use require.js for all of this ;-)
But without usemin.
In those repo I dont like:

not reving
not usemin (this disables in my opinion using cache)
concatenation of almost all scripts (if only one use "strict mode" app will crash)

In proposal I like:


Fixes and improvements to Share files article

What's changed, or what was fixed?
In the article "Share files with Web Share",

Fixed some typos
Made all references to navigator.canShare() and navigator.share() explicit rather than just canShare() and share() which may lead to confusion
Improved wording in a sentence
Changed files to filesArray since that is how the files array is referred to in all previous instances
Added a new line which improves code indentation

CC: @petele

Thank you.

:tada: This has been pushed live to https://developers.google.com/web/


Updated manifest for Doomsday.Doomsday

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Shouldn't take this long.


Moving some of storage config from command line to config file - #9115

#8974 introduced a storage section in the config file and also added a mechanism to reload the config in TSDB without needing a restart. I think we can (and should) move some of the CLI flags to the config file so that it can be reloaded without having to restart Prometheus (hence the WAL replay).
The config file would take precedence over the CLI flags, and deprecate the CLI flags in favor of the config file.
Some of the flags that I am proposing to move to file (not including any hidden flags here):
--storage.tsdb.retention.time=STORAGE.TSDB.RETENTION.TIME
--storage.tsdb.retention.size=STORAGE.TSDB.RETENTION.SIZE
--storage.tsdb.allow-overlapping-blocks - this only allows overlapping blocks if it is disabled. If it's already allowed, config reloads should not disable it again. Have to restart Prometheus to disable so that overlapping blocks fail to startup if disabled.
It's related to #9115

@nicolastakashi friendly ping, do you plan to continue work on this? :)

Hi Folks!
Sorry for the late reply.
@codesome I would like, yeah.
I'm on holiday the next week, I will try to review what is missing to close that, and If I've doubts, I'll ping you.
Is it Ok?

@nicolastakashi Thanks! Enjoy your holidays :) this can wait until 2022

Hi @nicolastakashi, I see that you requested review few days ago. Could you please make sure the CI (especially build, lint, Go unit tests, but ideally all) is green? Thanks

Hi @codesome sorry for the late reply, I was on holiday this week.
I'll look at that.

@nicolastakashi I don't know what happens, but it looks like the diff is not accurate anymore.
Could you rebase your PR based on the main branch of Prometheus please ? Probably it will fix the current issue

Hi, @codesome sorry for the delay to get back with some news.
Can you take a look again?

Hi @codesome, sorry for bothering you, but do you have any news about that?

Apologies for the delay in reviews. It is in my TODOs!


MATELCLI: Implement pledge(2) support such that non-OpenBSD operating systems can still compile and run MATELCLI.

MATELCLI might be written for and on OpenBSD, but saying "no, you have to move your stuff to this non-Linux thing" is a bit crappy.

Got 'em!
e3cccc55fb1579f4280fabf9e1c1aa897373d21f


Environment variables are not honored by ./build.sh

env variables to third party libs are not honored
$env |grep METIS

PARMETISHOME=/sciclone/home20/clemmen/devel/schism/schism/src/ParMetis-4.0.3/build/Linux-x86_64
METISHOME=/sciclone/home20/clemmen/devel/schism/schism/src/ParMetis-4.0.3/build/Linux-x86_64

$ ./build.sh -tp "metis parmetis"

   METISHOME      = /sciclone/home20/clemmen/devel/noaa/CoastalApp/THIRDPARTY_INSTALL
    PARMETISHOME   = /sciclone/home20/clemmen/devel/noaa/CoastalApp/THIRDPARTY_INSTALL

The third party components that are supported are datetime and parmetis.
the script scripts/download_parmetis.sh downloads parmetis, metis and GKlib into
thirdparty_open/parmetis.
The script and the models (WW3) look into $PARMETISHOME/lib and $PARMETISHOME/include to find the relevant files.

The third party components that are supported are datetime and parmetis.
the script scripts/download_parmetis.sh downloads parmetis, metis and GKlib into
thirdparty_open/parmetis.
The script and the models (WW3) look into $PARMETISHOME/lib and $PARMETISHOME/include to find the relevant files.

Does not work for me, see #127

I got it to PARMETIS env variables to work by updating everything.   There is still a minor issue with  ESMFMKFILE environment variable @pvelissariou1
$> env |grep ESMFMKFILE
ESMFMKFILE=/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default/esmf.mk

$> n./build.sh -plat femto -component "SCHISM"  -compiler intel
...

    ESMFMKFILE     = UNDEF

And subsequently
make[1]: Entering directory `/sciclone/home20/clemmen/devel/noaa/CoastalApp/SCHISM/schism-esmf'
src/include/Rules.mk:142: *** ESMF Makefile snippet variable not defined.  Schluss.

Hi Carsten,
Is esmf loaded as a module? If yes this is the issue when running the build
script for femto (envmodules_intel.femto):
module purge <--
module load intel/2018
module load openmpi/3.1.4/intel-2018
module load netcdf/<IP_ADDRESS>/intel-2018
module load netcdf-fortran/4.4.4/intel-2018
module load cmake/3.14.4
"module purge" removes all previously loaded modules and then the script
loads from scratch
all required modules.
Takis
Panagiotis Velissariou, Ph.D., P.E.
UCAR Scientist
National Ocean and Atmospheric Administration
National Ocean Service
Office of Coast Survey CSDL/CMMB
Project Lead - Coastal Coupling
cell:<PHONE_NUMBER>
email: @.***
On Wed, Sep 7, 2022 at 1:40 AM Carsten Lemmen @.***>
wrote:

I got it to PARMETIS env variables to work by updating everything. There
is still a minor issue with ESMFMKFILE environment variable @pvelissariou1
https://github.com/pvelissariou1
$> env |grep ESMFMKFILE
ESMFMKFILE=/usr/local/skylake/esmf-8.2.0-openmpi/lib/libO/Linux.intel.64.openmpi.default/esmf.mk
$> n./build.sh -plat femto -component "SCHISM"  -compiler intel
...
ESMFMKFILE     = UNDEF

And subsequently
make[1]: Entering directory `/sciclone/home20/clemmen/devel/noaa/CoastalApp/SCHISM/schism-esmf'
src/include/Rules.mk:142: *** ESMF Makefile snippet variable not defined.  Schluss.
—
Reply to this email directly, view it on GitHub
https://github.com/noaa-ocs-modeling/CoastalApp/issues/126#issuecomment-1238971031,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APC7TPYC6353VGLKGV6HLRDV5A2FPANCNFSM6AAAAAAQGC2TAY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@pvelissariou1 I will look into this.  There might be an interference between a manually set ESMFMKFILE in the environment and the module commands.

I fixed this in 38c3e0f0b9bd3de443b67721166b8fe2ae247a66


web-eid-app: init at 2.2.0

This adds web-eid-app, which is the native companion to the "Web eID" browser extension.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Thanks!


Pixelify module disables on boot

Device name: Xiaomi Redmi Note 9 Pro (EU)
Rom name: LineageOS 21
Android version: 14
Pixelify version: 3.0 or 3.1-alpha

Bug Description:
After installing Pixelify, the phone boots with Pixelify enabled (seeing the pixel boot screen), but from the boot screen it immediately reboots and boots normally with Pixelify disabled. I've tried installing several times (v3.0 and/or 3.1-alpha) with the same outcome. I have only spotted a hint of the cause in some log file, stating that boot time was exceeded, but was not able to reproduce it again. Magisk logs do not show Pixelify starting, only mention PixelifyUninstall service.sh executing.
Here's some logs from installation and the installation config:
logs.txt
flaglogs.txt
boot_logs.txt
config.prop
(EDIT: Added boot_logs.txt from recent boot)

I'm having the same issue. After installing Pixelify, the phone boots with Pixelify enabled (seeing the pixel boot screen), but from the boot screen it immediately reboots and boots normally with Pixelify disabled.
Device name: Galaxy s10 Exynos
Rom name: LineageOS 21
Android version: 14
Pixelify version: 3.0

It seems to be a problem with the Pixel launcher, if you disable it while installing everything else seems to work fine.

Same thing on Xiaomi Redmi Note 9S with LineageOS 21 Official.

Same thing on Xiaomi Redmi Note 9S with LineageOS 21 Official.

Did it work without the pixel launcher and live wallpapers for you?

@HuseynBakhshaliyev

Same thing on Xiaomi Redmi Note 9S with LineageOS 21 Official.

Did it work without the pixel launcher and live wallpapers for you?

I'm not tested now.


Shell log improvements

Shell log backend was enabled to early, before shell thread was up and running. That could lead to failure if log thread passes log message to shell log backend.
Additionally, modified algorithm for multiplexing log output with shell prompt. In case of logs flood prompt was unreadable because it was deleted immediately after being printed. Added k_sleep after printing prompt if any character was typed. This ensures that shell prompt is readable if user uses it.
Fixed the case when TXDONE signal was not cleared. Bug was unnoticed because UART backend was synchronous.

Codecov Report

Merging #10924 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10924      +/-   ##
==========================================
+ Coverage    53.3%   53.32%   +0.01%
==========================================
  Files         215      215
  Lines       25900    25900
  Branches     5708     5708
==========================================
+ Hits        13805    13810       +5
+ Misses       9776     9771       -5
  Partials     2319     2319

Impacted Files
Coverage Δ

subsys/logging/log_core.c
78.4% <0%> (+2.34%)
:arrow_up:

Continue to review full report at Codecov.

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


Pass onNextMonthClick and onPrevMonthClick handlers down to SDP ctrl

Passing the  props: onNextMonthClick and onPrevMonthClick down to the DayPickerSingleDateController  to reflect the functionality of  DateRangePicker which passes them down to DayPickerRangeController
Resolves #631

Coverage remained the same at 86.243% when pulling 24bca5e3ffd38ffb2dcef56cf07efc949709ecc9 on gunnigylfa:add-on-next-and-prev-month-click-handlers-to-sdp-controller into d32e9b32b9b4ed50703c705f6ff7a88d0bc1ab1f on airbnb:master.


⚠ SkipTheCommericals has degraded performance

In 0eb71fe, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 9667 ms

Resolved: SkipTheCommericals performance has improved in 555959c.


Adding missing test that will fail in KubernetesManifest

There is an edge case which is not tested for, and that is when the deployment YAML has an image without a tag, for example:
- name: untagged
        image: mysql

As of now, this image will not be tagged when you call utils.substituteImageNameInSpecFile(deploymentFile, 'mysql', 'mysql:8.0');
If that's the intended behavior, that not intuitive and it isn't documented. Otherwise, it is a bug.

@bansalaseem PTAL.

I believe this bug was introduced by #10643

@sabbour the test seems to be failing, you might need to update the logic as well maybe.

@ds-ms I added the test and it is failing intentionally, because the current code path introduced a bug that wasn't covered by this test case.

@sabbour Thank you for taking the time to find this bug and raising this PR. :)
Would you be willing to take up the fix for this as well?

So the tests are passing, but I'm still getting the wrong behavior of not tagging untagged images.

@sabbour does your image section have any comments next to it?

@ds-ms yes that's the case indeed

And it just failed with a test case

This would need to be fixed in the replacement logic, i.e. here: https://github.com/microsoft/azure-pipelines-tasks/blob/d440337b573063f7d5635879ac5c2da7a0d1d6ea/Tasks/KubernetesManifestV0/src/utils/DeploymentHelper.ts#L95

Fixed it in the referenced PR


github actions

Let me ping @henryiii - we should ensure we modernise all CIs. This should probably be merged before https://github.com/scikit-hep/formulate/pull/27.

I think Travis is dragging and we can ignore it. To be removed, actually.
Maybe @chrisburr has comment as well, as package author?

yep, agree

Morning @mayou36. I would suggest that you merge this by the end of the day unless there's feedback. Having the actions running is far better than not ;-). I believe you're not totally following the examples/guidelines in scikit-hep.org but that can be adjusted later if you prefer. As said, at least we get a running CI again.

Agree! Yep, it was an ad-hoc thing, I'll give it an updat
and then I'll merge

Agree, we need to remove Travis from all of our packages - it will be turned off for OSS on Dec 31.

I would avoid "Python Package" unless it's actually making Python packages; "CI" or something like that should be used for tests. (It shows up in the badge).


Improvements to documentation and examples

General improvements to the readability of the documentation, added an additional in-line example for instancing, and general changes to camera controls for all examples regarding zooming.

@dsaffo


Clippy lints fixes for latest code

Proposed changes
clippy lints mainly:

remove redundant references
remove unnecessary clone() calls
redundant Error in error variants names

Types of changes
What types of changes does your code introduce to thin-edge.io?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Codecov Report

Merging #433 (9d150a6) into main (2ab0a7c) will decrease coverage by 0.04%.
The diff coverage is 62.31%.

@@            Coverage Diff             @@
##             main     #433      +/-   ##
==========================================
- Coverage   62.73%   62.68%   -0.05%
==========================================
  Files         106      106
  Lines        6732     6718      -14
==========================================
- Hits         4223     4211      -12
+ Misses       2509     2507       -2

Impacted Files
Coverage Δ

mapper/tedge_mapper/src/collectd_mapper/batcher.rs
72.00% <0.00%> (ø)

mapper/thin_edge_json/examples/validate.rs
0.00% <ø> (ø)

sm/plugin_sm/src/plugin.rs
54.70% <0.00%> (ø)

sm/plugins/tedge_apt_plugin/src/main.rs
0.00% <0.00%> (ø)

sm/tedge_agent/src/agent.rs
0.00% <0.00%> (ø)

tedge/src/cli/certificate/cli.rs
0.00% <0.00%> (ø)

tedge/src/cli/connect/command.rs
0.00% <0.00%> (ø)

tedge/src/cli/mqtt/subscribe.rs
0.00% <0.00%> (ø)

tedge/src/system_services/managers/bsd.rs
0.00% <ø> (ø)

tedge/src/system_services/managers/null.rs
0.00% <ø> (ø)

... and 19 more

Continue to review full report at Codecov.

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


Mobile Safari invalid character '#'

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version: Safari IOS 15.5
Operating system and its version: IOS 15.5
PDF.js version: 2.13.105
Is a browser extension: No

Steps to reproduce the problem:

Open a PDF with PDF.js on safari
There is only the loading and nothing is happen

What is the expected behavior? (add screenshot)
The PDF preview
What went wrong? (add screenshot)
There are 2 JS errors on web page loading:

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

PDF.js version: 2.13.105

That version is no longer supported, please find the latest releases at https://mozilla.github.io/pdf.js/getting_started/#download
Furthermore, note the two different versions listed there and that as mentioned in the FAQ you need to use a legacy-version for anything except the latest browsers.


BUG: fix bugs with service-status-to-influx script

update script to latest version on prod
fix not adding statustext to hv when nova-compute service found

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8d1d32f) 98.24% compared to head (a722c37) 99.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #131      +/-   ##
==========================================
+ Coverage   98.24%   99.03%   +0.78%
==========================================
  Files          60       10      -50
  Lines        2560      722    -1838
==========================================
- Hits         2515      715    -1800
+ Misses         45        7      -38

Flag
Coverage Δ

rabbit_consumer
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Updated unanswered questions

Two questions answered. They are short and to the point.

I checked out the other commits and came to know this is a personal repository, where you don't merge changes. I would suggest you mention that in your readme somewhere, since there would be other people who would do the same. Feel free to close this issue when possible.

Thank you for your contribution! Yes, I should mention it somewhere in README.


BUG: AttributeError: 'IterableStream' object has no attribute 'mul'

Thanks for the wonderful library.
Dependencies:
ray==0.8.7
python3.7
All of my other dependent packages are as per your requirements.txt
I am running the following code:
cdd = CryptoDataDownload()
btc_data = cdd.fetch("Bitfinex", "USD", "BTC", "1h").add_prefix("BTC:")
price_stream =  Stream.source(list(btc_data['BTC:close']), dtype="float").rename("USD-BTC")
exch_opts = ExchangeOptions( commission = 0.015 )
myEx = Exchange("myEx", service=execute_order, options=exch_opts)(price_stream)
ta.add_all_ta_features(
btc_data,
colprefix="BTC:",
**{k: "BTC:" + k for k in ['open', 'high', 'low', 'close', 'volume']}, fillna=True
)
feed = DataFeed([Stream.source(list(btc_data[c]), dtype="float").rename(c) for c in btc_data.columns])
cash = Wallet(myEx, 200 * USD)
asset = Wallet(myEx, 0 * BTC)
portfolio = Portfolio(USD, [
cash,
asset ])
reward_scheme = PBR( price = price_stream )
action_scheme = BSH(
cash = cash,
asset = asset
).attach( reward_scheme )
renderer_feed = DataFeed([
Stream.source(list(btc_data['BTC:close']), dtype="float").rename("price"),
Stream.sensor(action_scheme, lambda s: s.action, dtype="float").rename("action")
])
def create_env(config):
environment = default.create(
    feed=feed,
    portfolio=portfolio,
    action_scheme=action_scheme,
    reward_scheme=reward_scheme,
    renderer_feed=renderer_feed,
    renderer='screen-log',
    window_size=config["window_size"],
    max_allowed_loss=0.6
)
return environment

register_env("TradingEnv", create_env)
After i run training of the agent, i get the following error:
(pid=1285) WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/compat/v2_compat.py:101: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
(pid=1285) Instructions for updating:
(pid=1285) non-resource variables are not supported in the long term
2021-11-02 06:53:47,105	ERROR trial_runner.py:523 -- Trial PPO_TradingEnv_9d6d9_00000: Error processing event.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/ray/tune/trial_runner.py", line 471, in _process_trial
result = self.trial_executor.fetch_result(trial)
File "/usr/local/lib/python3.7/dist-packages/ray/tune/ray_trial_executor.py", line 430, in fetch_result
result = ray.get(trial_future[0], DEFAULT_GET_TIMEOUT)
File "/usr/local/lib/python3.7/dist-packages/ray/worker.py", line 1538, in get
raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(AttributeError): ray::PPO.train() (pid=1285, ip=<IP_ADDRESS>)
File "python/ray/_raylet.pyx", line 439, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 474, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 478, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 479, in ray._raylet.execute_task
File "python/ray/_raylet.pyx", line 432, in ray._raylet.execute_task.function_executor
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer_template.py", line 88, in init
Trainer.init(self, config, env, logger_creator)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer.py", line 479, in init
super().init(config, logger_creator)
File "/usr/local/lib/python3.7/dist-packages/ray/tune/trainable.py", line 245, in init
self.setup(copy.deepcopy(self.config))
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer.py", line 643, in setup
self._init(self.config, self.env_creator)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer_template.py", line 102, in _init
env_creator, self._policy, config, self.config["num_workers"])
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/agents/trainer.py", line 713, in _make_workers
logdir=self.logdir)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/evaluation/worker_set.py", line 67, in init
RolloutWorker, env_creator, policy, 0, self._local_config)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/evaluation/worker_set.py", line 296, in _make_worker
extra_python_environs=extra_python_environs)
File "/usr/local/lib/python3.7/dist-packages/ray/rllib/evaluation/rollout_worker.py", line 324, in init
self.env = _validate_env(env_creator(env_context))
File "", line 11, in create_env
File "/usr/local/lib/python3.7/dist-packages/tensortrade/env/default/init.py", line 61, in create
min_periods=min_periods
File "/usr/local/lib/python3.7/dist-packages/tensortrade/core/component.py", line 41, in call
instance.init(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/tensortrade/env/default/observers.py", line 194, in init
internal_group = Stream.group(_create_internal_streams(portfolio)).rename("internal")
File "/usr/local/lib/python3.7/dist-packages/tensortrade/env/default/observers.py", line 75, in _create_internal_streams
sources += _create_wallet_source(wallet, include_worth=(symbol != base_symbol))
File "/usr/local/lib/python3.7/dist-packages/tensortrade/env/default/observers.py", line 50, in _create_wallet_source
worth = price.mul(total_balance).rename('worth')
AttributeError: 'IterableStream' object has no attribute 'mul'
I made sure that my data does NOT contain NaN in the price stream.
I checked your code in observer.py and the line generating the error:
worth = price.mul(total_balance).rename('worth')
i placed a print before this line (print (type(price))
It looks like the price object that was passed here was of type <class 'types.IterableStream'> which does NOT include the mul function, instead the price type should be <class 'tensortrade.feed.core.base.IterableStream'>
when taking the line :
price = Stream.select(wallet.exchange.streams(), lambda node: node.name.endswith(symbol))
to an outside block it correctly returns class 'tensortrade.feed.core.base.IterableStream object.
I wonder what is causing this behavior in your code?

it turns out that all of the above code should be inside "def create_env(config):" block to be able to run.

I'm getting the same error, with the code inside create_env and using IntradayObserver.


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for koytak processing.

Name
Link

🔨 Latest commit
fda154584a605fe259a3bc03d779e4dba3e5894c

🔍 Latest deploy log
https://app.netlify.com/sites/koytak/deploys/66a11e68f5c49d00088cec23


Hi3518CV100: I²C not working

Hey guys!
I have an old ZMODO ZP-IBH15-S camera with a 3518CV100 and (possibly) a JXH22
Running ipctool on the original firmware shows this output:
# ./ipctool
---
chip:
  vendor: HiSilicon
  model: 3518CV100
board:
  possible-IR-cut-GPIO: 18
...
firmware:
  u-boot: "2010.06 (Nov 15 2013 - 19:54:17)"
  kernel: "3.0.8 (Wed Apr 10 15:47:48 CST 2013)"
  toolchain: gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_<IP_ADDRESS>+eabi+linuxpthread))
  libc: uClibc <IP_ADDRESS>
  sdk: "Hi3518_MPP_V<IP_ADDRESS> Debug (Sep 23 2013, 17:48:02)"
  main-app: ./App3518
sensors:
- vendor: Silicon Optronics
  model: JXH22
  control:
    bus: 0
    type: i2c
    addr: 0x60
  data:
    type: DC
  clock: 24MHz

# ./ipctool i2cdump 0x60 0x00 0xff
       0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F
    : 00 F6 00 FF FF FF FF FF  FF FF A0 22 40 00 1D 0B  |<EMAIL_ADDRESS>  10: 26 80 30 87 80 25 80 20  D5 10 80 4F 21 FF 9F 00  |  &.0..%. ...O!...
  20: 72 06 FF 02 00 E0 25 E9  0D 00 D4 10 00 08 C4 20  |  r.....%........
  30: 90 10 10 10 32 00 40 4A  70 70 70 70 70 70 70 70  |  ....2.@Jpppppppp
  40: 70 70 70 70 70 70 70 10  40 1A 03 E3 E1 E1 E3 55  |<EMAIL_ADDRESS>  50: 55 55 55 55 55 55 55 55  55 55 55 55 55 55 55 55  |  UUUUUUUUUUUUUUUU
  60: 28 00 11 00 15 40 A0 31  0C 74 41 00 90 02 80 80  |<EMAIL_ADDRESS>  70: 49 8A 68 33 B8 2B 40 06  14 14 14 14 14 14 14 14  |<EMAIL_ADDRESS>  80: 01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |  ................
  90: 01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |  ................
  a0: 01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |  ................
  b0: 01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |  ................
  c0: 0A 0A 0A 0A 0A 0A 0A 0A  0A 0A 0A 0A 0A 0A 0A 0A  |  ................
  d0: 0A 0A 0A 0A 0A 0A 0A 0A  0A 0A 0A 0A 0A 0A 0A 0A  |  ................
  e0: 0A 0A 0A 0A 0A 0A 0A 0A  0A 0A 0A 0A 0A 0A 0A 0A  |  ................
  f0: 0A 0A 0A 0A 0A 0A 0A 0A  0A 0A 0A 0A 0A 0A 0A     |  ...............

After flashing the OpenIPC firmware it shows
---
chip:
  vendor: HiSilicon
  model: 3518CV100
board:
  vendor: OpenIPC
  version: <IP_ADDRESS>
...
firmware:
  u-boot: "2010.06 (Nov 14 2022 - 19:25:29)"
  kernel: "3.0.8 (Sat Mar 16 13:49:40 UTC 2024)"
  toolchain: buildroot-gcc-12.3.0
  sdk: "Hi3518_MPP_V1.0.B.0  (Nov 19 2015, 16:37:04)"
sensors:
- vendor: TechPoint
  model: TPffff
  control:
    bus: 0
    type: i2c
    addr: 0x88
  vicap-state: down

So now the sensor points to i2c address 0x88 instead of 0x60 !?

FF  |  ................

i2cdetect -l only shows i2cdetect: can't open '/sys/class/i2c-dev': No such file or directory
The only place I can find something with i2c is in /dev/hi_i2c.
And here is the output of lsmod:
lsmod
Module                  Size  Used by    Tainted: P
gpioi2c_ex              5926  0
gpioi2c                 3018  0
hi3518_isp             26916  1
hi3518_base            44314  1 hi3518_isp
mmz                    19773  1 hi3518_base
vfat                    8052  0
fat                    40796  1 vfat

All in all, majestic is not working and reports the following error continously:
20:46:54  <       majestic> [     sdk] venc_read@903                 Timeout get any data from venc channel 0
20:46:54  <       majestic> [     sdk] venc_read@923                 NOTE: Current frame is NULL!

Are there any ideas, what the problem is or are there any suggestions for further debugging?
Thanks!

I was having same issue with goke I had t change BlkCNT to 4 mine was set to 1 for some reason and 1 only works for ingenics. 4 is for Hisi/Goke

had t change BlkCNT to 4 mine was set to 1 for some reason and 1 only works for ingenics

@impala3525 Where can I set the BlkCNT value?

Majestic>ISP>Block Count

I have a similar problem. I tried BlkCnt from 1 to 10 and no result. How can I find out the correct value?

The original firmware was damaged and the camera did not start. After installing OpenIpc, the ipctool utility produced the following result
`root@openipc-hi3518cv100:~# ipctool
The ipctool installed as remote GitHub plugin
chip:
vendor: HiSilicon
model: 3518CV100
board:
vendor: OpenIPC
version: <IP_ADDRESS>
possible-IR-cut-GPIO: 0,1
ethernet:
mac: "36:bd:b7:f5:94:8d"
u-mdio-phyaddr: 1
phy-id: 0xffffffff
d-mdio-phyaddr: 0
phy-mode: mii
rom:

type: nor
block: 64K
partitions:

name: boot
size: 0x40000
sha1: d359fac3
name: env
size: 0x10000
sha1: 31f83bef
contains:

name: uboot-env
offset: 0x0

name: kernel
size: 0x300000
sha1: 357bb792
name: rootfs
size: 0xa00000
path: /,squashfs
sha1: ae52dfdc
name: rootfs_data
size: 0x2b0000
path: /overlay,jffs2,rw
size: 16M
addr-mode: 3-byte
ram:
total: 128M
media: 89M
firmware:
u-boot: "2010.06 (Nov 14 2022 - 19:25:29)"
kernel: "3.0.8 (Wed Apr 24 02:16:32 UTC 2024)"
toolchain: buildroot-gcc-13.2.0
sdk: "Hi3518_MPP_V1.0.B.0  (Nov 19 2015, 16:37:04)"
sensors:

vendor: ON Semiconductor
model: AR0130
control:
bus: 0
type: i2c
addr: 0x20
vicap-state: down
`

at address 0x20 this is the result
root@openipc-hi3518cv100:~# /utils/ipctool i2cdump 0x20 0x00 0xff        0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F     : 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   10: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   20: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   30: 00 1F 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   40: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   50: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   60: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   70: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   80: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   90: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   a0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   b0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   c0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   d0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   e0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................   f0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |  ................


SR-794 pass supplied subpath through to URLForResource rather than nil

SR-794 reports an issue with NSBundle.pathForResource() whereby it returns nil instead of the expected resource.
It looks like this is cause because the supplied subpath value isn't passed down to the underlying URLForResource() call.
I've fixed that and added an implementation of the test case to TestNSBundle. I've done that under the existing test_URLsForResourcesWithExtension() test as a separate call and check as its a similar test and reuses the same bundle setup/teardown. I can spin it off as a separate test though if it makes sense.

Looks good. Will run through tests then we can merge.

@swift-ci please test


possible obsoletion GO:0052047   symbiotic process mediated by secreted substance

I found this term today
GO:0052047   symbiotic process mediated by secreted substance
An interaction with a second organism mediated by a substance secreted by the first organism, where the two organisms are in a symbiotic interaction.
I thought I had seen the entire branch by now, but I still find new things.
It is possible that this term was created for secreted pathogen effectors? It's difficult  to know. I would suggest obsoletion on the grounds that "first" and "second" organism are not specified. I'll check  the existing annotations first to see If I can figure out what process  it is intended for....

It definitely isn't what I thought it was for....
2 EXP annotations:
UniProtKB:P02751 | FN1 | involved_in | GO:0052047    symbiotic process mediated by secreted substance | ECO:0000314   IDA | PMID:17849409 |   | 9606 Homo sapiens | CAFA |
UniProtKB:Q8K0C5 | Zg16 | acts_upstream_of_or_within | GO:0052047    symbiotic process mediated by secreted substance | ECO:0000315   IMP | PMID:27849619 | MGI:MGI:3529206 | 10090 Mus musculus | MGI

PMID:27849619
Gram-positive bacteria are held at a distance in the colon mucus by the lectin-like protein ZG16.
The mouse annotation looks OK, but. could the term be refined  to
" symbiotic process mediated by secreted  host substance"
The human annotation is a bit confusing but from the abstract:
Together these results show that M. tuberculosis posses several Plg receptors suggesting that bound Plg to bacteria surface, can be activated to Plm, endowing bacteria with the ability to break down ECM and basal membranes proteins contributing to tissue injury in tuberculosis.
plasminogen receptors involved in GO:0044542    plasminogen activation in other organism
(this should be under
GO:0044068   modulation by symbiont of host cellular process)
but. this would be an annotation for the Tuberculosis protein.
This isn't an evolved function of fibronectin (plasminogen inhibitor)  (i.e it's not mutualism)

MGI:1916286  (Q8K0C5) Zg16 | zymogen granule protein 16
PMID: 27849619 Gram-positive bacteria are held at a distance in the colon mucus by the lectin-like protein ZG16.
is annotated to  'negative regulation by organism of entry into other organism involved in symbiotic interaction', which should be relabeled as 'suppression of symbiont entry into host by host'
This annotation is sufficient and we don't need 'GO:0052047 symbiotic process mediated by secreted substance'

Fibronectin UniProtKB:P02751
Identification of novel bacterial plasminogen-binding proteins in the human pathogen Mycobacterium tuberculosis.
-> We are not clear what is being annotated here
@pgarmiri any thoughts ?

In any case, the term 'GO:0052047 symbiotic process mediated by secreted substance' should be obsoleted because it's too vague.
Thanks, Pascale

Indeed, this annotation does look very strange.  I have just deleted it.
Thanks,
Penelope

No mappings, not in any subsets

Consider:  GO:0140418 effector-mediated modulation of host process by symbiont

Dear all,
The proposal has been made to obsolete: GO:0052047 symbiotic process mediated by secreted substance.
The reason for obsoletion is that this term has been misused to annotate host proteins.
There is one EXP annotation to this term (MGI) (the other by CAFA has been deleted). There are no mappings to this term. This term is not present in any subsets.
Any comment may be added to the ticket: https://github.com/geneontology/go-ontology/issues/18764
We are opening a comment period for this proposed obsoletion. Since there are a few annotations we’d like to proceed and obsolete this term on February 17th, 2020. Unless objections are received by February 17th, 2020, we will assume that you agree to this change.
Thanks, Pascale

@hdrabkin Do you want to delete the mouse annotation:

MGI:1916286 (Q8K0C5) Zg16 | zymogen granule protein 16
PMID: 27849619 Gram-positive bacteria are held at a distance in the colon mucus by the lectin-like protein ZG16.
is annotated to 'negative regulation by organism of entry into other organism involved in symbiotic interaction', which should be relabeled as 'suppression of symbiont entry into host by host'
This annotation is sufficient and we don't need 'GO:0052047 symbiotic process mediated by secreted substance'

I don't think we should recommend
GO:0140418 effector-mediated modulation of host process by symbiont
here. It does not fit any of the existing manual annotations which are all to hosts

Right it does not fit the current annotations (that's why I don't want to do a merge), but this is the closest term. 'Consider' are different from 'replace by'. But I dont need to put that.

Do you need to add a consider term? I guess  this is  for if people look at the obsolete term in future? I think the meaning is so vague  I wouldn't add any "consider" unless absolutely necessary?
and the existing annotations don't need this particular "consider"

No, 'consider' is not necessary. I don't usually add any.

done


Add nodeSelector to driver attacher and prvisioner

Closes https://github.com/cernops/cvmfs-csi/issues/30

Hi @isantospardo! Could you please also take the time to implement tolerations and priorityClassName they would be useful ;)
/assign @rochaporto

Sorry for the delay here. I'll pick this up asap (along with the other MRs).

Hi, I have opened https://github.com/cernops/cvmfs-csi/issues/32 to address those changes @JoaoBraveCoding


renameFrom in AlterTableMigration is giving an SQLiteException

DBFlow Version: 4.1.2
Bug or Feature Request:
renameFrom is causing exception in basic application.
Link for code before migration: Before Migration
Link for code after migration: After Migration

Description:
Following error received when running renameFrom:
android.database.sqlite.SQLiteException: there is already another table or index with this name: DiaryLogEntry (code 1): , while compiling: ALTER TABLE 'LogEntry' RENAME TO 'DiaryLogEntry'
Relevant code below or in the Github link provided
Database Before Migration
@Database(name = MainDB.NAME, version = MainDB.VERSION)
object MainDB {
    const val NAME = "MainDB"
    const val VERSION = 1
}

Table Before Migration
@Table(database = MainDB::class, allFields = true)
class LogEntry {

    @PrimaryKey
    lateinit var entryId: String

    lateinit var entryTitle: String
}

Database After Migration
@Database(name = MainDB.NAME, version = MainDB.VERSION)
object MainDB {
    const val NAME = "MainDB"
    const val VERSION = 2
}

@Migration(version = MainDB.VERSION, database = MainDB::class)
internal class MainDBMigration1 : AlterTableMigration<DiaryLogEntry>((DiaryLogEntry::class.java)) {

    init {
        renameFrom("LogEntry")
        Timber.d("New name given to LogEntry. It is now DiaryLogEntry.")
    }
}

Table After Migration
@Table(database = MainDB::class, name = "DiaryLogEntry", allFields = true)
class DiaryLogEntry {

    @PrimaryKey
    lateinit var entryId: String

    lateinit var entryTitle: String
}

I am dealing with the same problem. Basically DBFlow adds new Tables in onUpgrade . As we need to change the table name in the Class representing the Table DBFlow sees this class as a new table entry and creates a new table. That is why the rename failing.
The rename has to take place before DBFLow checks for new tables. However I haven yet found  a way to achieve that.

I see what you mean. the tables are created pre-migrations. as of 5.0.0-alpha1 it is not correct. One thing you could do is:

make a dummy table that contains old name and proper fields
Create rename migration
Make a @Table(createWithDatabase = false) mirroring said table that has the new name.
that should fix your issue, even though its not ideal. I will think of a better mechanism.

Thanks, for your tip. I will try that.

Note it might have issues on new installs, so its not perfect.

Any progress on this?


Stop Python Interactive Pane from always snaping to bottom

Issue Type: Bug
One of the recent updates causes the Python Interactive pane to always snap the scroll to the bottom of the Interactive pane whenever I try to select text in one of the output 'cells'.  I then have to re-scroll up to where I wanted to select the text, then I can select the text in one of the output 'cells'.  However, the same problem occurs again whenever I change the focus away from the Python Interactive pane and back again.
Currently, I have the latest insider's build installed (2019.4.6419-alpha), but this was a problem before with Extension version: 2019.3.6352.
Extension version: 2019.4.6419-alpha
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz (4 x 2496)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.88GB (5.75GB free)

Process Argv
O:_Projects\RCM_CPM\CPM_.code-workspace

Screen Reader
no

VM
0%

might be related to the problem I noted with the latest insider's build.
https://github.com/Microsoft/vscode-python/issues/5076#issuecomment-480373224

Hmm. I don't get the snap text problem. But I do get the scrolling issue.
So you do something like print('hello') and try to select the 'hello' and the window scrolls?

@clayms I submitted a fix for the scrolling issue. If you can try out the next insider's build
(about an ten minutes from now I think) that would be great.
This build task is what generates the new build. When it finishes, the new build will be ready.
https://travis-ci.org/Microsoft/vscode-python/jobs/516408535

@rchiodo  Sorry if I was not clear, it is just a scrolling issue.
What I meant by 'snap' was the Interactive pane scrolls to the very bottom very quickly when try and select text in an output 'cell' the first time after the focus was switched to the Interactive pane.  After that, if the focus stays on the Interactive pane, the scrolling issue does not occur again.

@rchiodo  I installed the next insider's build you linked to above.   The scrolling problem persists.
I can duplicate the issue by:

running a bunch of 'cells' from the editor pane so that the Python Interactive pane fills up with output enough that the Interactive pane must scroll vertically,
then move the mouse over the Interactive pane but do not click in the Interactive pane,
then use the mouse scroll wheel to scroll up to some output far enough up the Interactive pane that the bottom of the Interactive pane is out of view,
then click on one of the output cells in the Interactive pane.

After following these steps, the cursor will not be where you put it in the Interactive pane.  The entire Interactive pane will scroll very quickly to the very bottom and the cursor will appear at the bottom of the Interactive pane in the next input prompt >>>.

Ah okay that makes more sense. We force focus into the input prompt if you click on the window. I wonder if we can do that without causing it to scroll.

Hmm. I'm not reproing the scrolling. Forgive the crappy gif, but is this basically what you're doing?

Yes.  Strange indeed.   I just did the exact same thing and it jerks the scroll bar down to the bottom every time.

Could it be other extensions?
Extensions (8)

Extension
Author (truncated)
Version

macros
ged
1.2.1

chat
kar
0.12.0

sftp
lix
1.12.2

python
ms-
2019.4.6458-alpha

Go
ms-
0.9.2

vsliveshare
ms-
1.0.18

vsliveshare-audio
ms-
0.1.48

vsliveshare-pack
ms-
0.2.10

(1 theme extensions excluded)

I don't think it would be the other extensions. Don't see how they can interfere with our webview panel.
Might be your version of VS Code? I'm on 1.33.0

Just updated from 1.32.3 to 1.33.0 and the problem persists.

Being tracked and fixed via #6580


">" key  replacing  "win+ > "will move windows always

Microsoft PowerToys version
v0.56.2
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
once press ">”, current windows will move to right side, fancy zones will be activated....and the real funciton of “>“ missed...
this bug or just my setting problem ,  but i did not find the way to restore it ., please do have a look at this ..
thanks.
✔ Expected Behavior
">"key perform its real function, just move my cusor to right side...
❌ Actual Behavior
it move current windows to right side which defined in fancy zones
Other Software
No response

Can you confirm this issue is still relevant in v0.73? /needinfo


merge id key

merge_id key in merge fields response is not correct, should be merge_id not id

Already fixed with PR #79.


feat: Support specifying custom outDir

This gives the developer the option to specify a custom "outDir" (like build.outDir in vite.config.*) rather than relying on the hard-coded 'dist'.

What is your use case for wanting to change the output directory?

Closing this, let me know if and why you need to change the output dirs.

I would like to use bazel with vite-plugin-ssr.
Great glad to hear you are open to a PR on this!