DHARMA and dharmalekha.info beyond ERC funding

I would like to conceive of dharmalekha.info as a long-term platform, only connected with ERC-project DHARMA in its initial phase. If we all agree on this, then it has some consequences for how @michaelnmmeyer continues to develop dharmalekha.info.

I would like the ERC to be mentioned only in specific acknowledgements of our funding sources, but not in places that will be displayed in the long run. Indeed, I already regretted way back ion 2019 that Axelle included "ERC" in setting up names for our Zotero Group and Github organisation way back in 2019 — @michaelnmmeyer: I hope we can get rid of these letters in due course, as we continue to use the github organisation and the zotero group beyond the end of the project.

At screen-bottom, we currently have an indication "© ERC-DHARMA Project, 2019-2024", underlyingly
© [ERC-DHARMA Project](https://dharma.hypotheses.org/), 2019-2024. Since the pages at https://dharma.hypotheses.org have never really come alive, and we may never have the time to dress them up to last as long as the sun and the moon, it may be better not to refer to them too often and too prominently on dharmalekha.info.

Moreover, it has never been correct that ERC-project DHARMA ends in 2024 (it was 2025 and has become 2026), and these statements seem contradictory to the © claims made in the xml files for individual inscriptions. Anyhow, at screen-bottom, I suggest we can replace "© ERC-DHARMA Project, 2019-2024" either by nothing at all, or if we need something then a phrase like "dharmalekha.info is the publication platform of the DHARMA consortium" — this could then link to a page where the past, present and future of the DHARMA consortium are explained with due mention of ERC funding but without suggesting limitation to the ERC project.

I agree on dharmalekha.info as a long-term platform, only connected with ERC-project DHARMA in its initial phase.
As for Arlo's suggestions.

Why not? If easy and smooth operation.
In the same vein, what about "DHARMA" in
<idno type="filename">DHARMA_INSTamilNadu00200</idno>

and 3.
Fine with me.

@arlogriffiths
As for the domain name, which was acquired by EFEO through Vincent Paillusson (who has left EFEO, if am right), you should make sure that we can renew our acquisition. I do not know how it works. I guess some email address receives an alert before expiration.

As for Manu's response to my point 1: indeed, I have been feeling that URL's like https://dharmalekha.info/texts/DHARMA_INSCIC00041 are annoyingly redundant (dharma/DHARMA) and uglier than they need to be with mix of upper and lower case. As I recall, when we made the FNC, it was considered essential to have a prefix for the ERC project. If that is still deemed essential, then it may nevertheless be possible for @michaelnmmeyer to suppress the prefix DHARMA_ in generating URLs. He may please give us a recommendation on what is technically possible and what seems advisable in terms of best practices.
Among the following three, the first is what we have now and the last would be the maximal change:

https://dharmalekha.info/texts/DHARMA_INSCIC00041
https://dharmalekha.info/texts/INSCIC00041
https://dharmalekha.info/texts/inscic00041

Actually, the middle option looks fine to me, so pending Michaël's recommendations, that might have my preference.
@manufrancis : I will discuss this point with Michaël in due course. I don't remember exactly what we did with Vincent P. but he still answers emails and I am sure he'd be happy to refresh my memory. Anyhow, I am rather optimistic that EFEO would be happy to pay keep paying for the domain name even in the longer term.

@arlogriffiths

It is possible to rename the organization both on github and on zotero. This will require people to update their setup, though.
OK.
OK, I will add an extra page.

@manufrancis @arlogriffiths
Currently, the DHARMA_ prefix is used to distinguish files that are supposed to appear in the database from other files people might store into their repositories. If we can agree on a convention that would allow the same distinction to be made (for instance, having a "dharma" folder that contains all the files), I am fine with this.
In any case, I can systematically remove the DHARMA_ prefix in URIs and in identifiers. Having case-insensitive identifiers might cause issues, though.

@michaelnmmeyer

can you explain what you mean by people updating their set up?
let us know when this is done
same

As for the DHARMA_ prefix, I have no real objection to keeping it in our file names: the use of the prefix to distinguish between files to be processed and files not to be processed is clearly of long-term relevance. If I understand correctly, file names and identifiers are essentially the same thing (see issue #266) and I have no problem with keeping these case-sensitive. So I'd simply wish us to consider the exclusion of prefix DHARMA_ from URIs.

I have no strong opinions about Arlo's original three points; I essentially agree but feel that giving more credit to the ERC is better than giving less. It costs us nothing and may win goodwill in the long run.
On filenames and URIs, I think that now that the FNC and our file and folder structure are in place, it would be better not to change anything. We had better keep IDs case sensitive; this is not so evident for repositories like CIC, but we also have repositories like DaksinaKosala etc, where upper/lower case also conveys some human-readable information. I also think that it may be best if the permanent URI of a resource would remain https://dharmalekha.info/texts/DHARMA_INSCIC00041, and if we want to allow https://dharmalekha.info/texts/INSCIC00041, this sort of URL be set up as an alias that points to the above.

It seems to me that <idno type="filename"> has been inherited from the generic EpiDoc template, but I find no explanation in the EpiDoc guidelines about why this type should be used, and I do now know why we have opted to type our idnos as filenames but omit the extension. Looking at some examples of idno type usage in TEI, I think it would be perfectly ok to use <idno type="dharma"> instead. But I'm OK with any other token we decide on for type, and also OK with adding the extension here.


update troubleshooting docs

fix for "unrecognized command-line option" error

Thanks for the PR!
We are currently thinking of how we fixing it upstream in the build system itself. Setting this env var by the user should hopefully only be a short term workaround that is necessary and not something we want to do for the long term

@Vollbrecht Ok that makes sense, will close the PR then.


Please make sure libcudnn_ops_infer.so.8 is in your library path

Trying to run the demo and docker container but getting this error:
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.1.3. To apply the upgrade to your files permanently, run python -m pytorch_lightning.utilities.upgrade_checkpoint ../../../root/.cache/torch/pyannote/models--pyannote--segmentation/snapshots/2ffce0501d0aecad81b43a06d538186e292d0070/pytorch_model.bin Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory Please make sure libcudnn_ops_infer.so.8 is in your library path!
Do you know how to resolve this?

This is a good issue, we should reopen and fix it.

I will create a new issue and fix it, just FYI: https://github.com/alesaccoia/VoiceStreamAI/issues/17


When integrating with the Xiaomi Multi-Mode Gateway 2 using the plugin, the error "Invalid Gateway Token" is returned.

Well error pretty clear. Token wrong. Try to get it with another way.

Both the tokens I obtained automatically and manually are incorrect, and cannot be integrated.
However, I was able to integrate successfully using the following method:

Use the Xiaomi account to integrate XiaomiGateway3
Delete XiaomiGateway3
Re-integrate XiaomiGateway3, but this time select the Multi-Mode Gateway 2 option, and it will be successful.

As I can understand it, the problem is solved


What cheatsheets should we port over from Crypto?

Brought up in #614 -- There are a few valuable reference sheets that still live in crypto, so as part of our effort to completely get out of crypto by the end of the year, it would be awesome to port these over.
@NerdyGirl537 and @lwaldsc can you log the types of information in there, if there's anything besides clinic info and contact for other funds we work with?

The CM guide is in Crypto.  I don't reference it often anymore, but I think
it's a critical tool for the new CMs.
On Wed, Oct 5, 2016 at 12:46 AM, Colin<EMAIL_ADDRESS>wrote:

Brought up in #614
https://github.com/colinxfleming/dcaf_case_management/issues/614 --
There are a few valuable reference sheets that still live in crypto, so as
part of our effort to completely get out of crypto by the end of the year,
it would be awesome to port these over.
@NerdyGirl537 https://github.com/NerdyGirl537 and @lwaldsc
https://github.com/lwaldsc can you log the types of information in
there, if there's anything besides clinic info and contact for other funds
we work with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/658, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AOi8mZZ2fB7z7vUfUpm8ibK7c2TUhLo0ks5qwyuKgaJpZM4KOalG
.

Numbers to NAF and other East Coast funds (as well as our own #) would be
very useful to have as well. Maybe the sheet with contacts to other support
nonprofits in the DMV (homeless shelters, dv assistance, etc)?
On Wed, Oct 5, 2016 at 12:59 PM, NerdyGirl537<EMAIL_ADDRESS>wrote:

The CM guide is in Crypto. I don't reference it often anymore, but I think
it's a critical tool for the new CMs.
On Wed, Oct 5, 2016 at 12:46 AM, Colin<EMAIL_ADDRESS>wrote:

Brought up in #614
https://github.com/colinxfleming/dcaf_case_management/issues/614 --
There are a few valuable reference sheets that still live in crypto, so
as
part of our effort to completely get out of crypto by the end of the
year,
it would be awesome to port these over.
@NerdyGirl537 https://github.com/NerdyGirl537 and @lwaldsc
https://github.com/lwaldsc can you log the types of information in
there, if there's anything besides clinic info and contact for other
funds
we work with?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/658, or
mute
the thread
<https://github.com/notifications/unsubscribe-auth/
AOi8mZZ2fB7z7vUfUpm8ibK7c2TUhLo0ks5qwyuKgaJpZM4KOalG>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/658#issuecomment-251734420,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFqsBwxZXffm-Ot7GR8yVmXuzUgwHtsks5qw9dzgaJpZM4KOalG
.

So the action items here are:

Get the CM guide, clinic info, other fund contact info, and other support nonprofit documents out of crypto
and into a private but accessible-from-within-the-system place TK
Once we've done that, create a UX ticket to make them discoverable

@lwaldsc step one is pulling these down. Can you assemble and email to me?

( @lwaldsc did this. So the rest of this is on me to figure out where to put them, and then on ux to make it discoverable.)
Unmarking question.

Given the following:

we need to account for N of these, where N is more than one but less than, like, ten
they're going to vary from fund to fund
we don't want to check them into version control
we don't want to be the people who have to update them when there are changes
they're sensitive but not Capital-P-Private (the stuff in this thread is, like, our CM training playbooks plus services info)

I think that, as with so much other stuff, the answer might be Google Driving these, and then we can link to them remotely. (I think having them available in a separate tab gets us the bulk of the way here, and the return to effort ratio goes way down after that).
Here's my proposal for how to solve:

we ask team CM to create a google drive folder with shared resources (this might have already been done by Lisa), and make it accessible to people with the link
we take a link to that directory and save it as an env var, called something like FUND_RESOURCES_URL defaulting to, like, google.com or something
we throw a link to it in the navbar

Interested in @lwaldsc @vtmeghan @NerdyGirl537 's thoughts on whether or not this is a viable path.

I don't think this is an ideal answer, but it's by far the easiest,
quickest, and most adaptable for other funds' use.
On Wed, Mar 22, 2017 at 12:08 AM, Colin<EMAIL_ADDRESS>wrote:

Given the following:

we need to account for N of these, where N is more than one but less
than, like, ten
they're going to vary from fund to fund
we don't want to check them into version control
we don't want to be the people who have to update them when there
are changes
they're sensitive but not Capital-P-Private (the stuff in this
thread is, like, our CM training playbooks plus services info)

I think that, as with so much other stuff, the answer might be Google
Driving these, and then we can link to them remotely. (I think having them
available in a separate tab gets us the bulk of the way here, and the
return to effort ratio goes way down after that).
Here's my proposal for how to solve:

we ask team CM to create a google drive folder with shared resources
(this might have already been done by Lisa), and make it accessible to
people with the link
we take a link to that directory and save it as an env var, called
something like FUND_RESOURCES_URL defaulting to, like, google.com or
something
we throw a link to it in the navbar

Interested in @lwaldsc https://github.com/lwaldsc @vtmeghan
https://github.com/vtmeghan @NerdyGirl537
https://github.com/NerdyGirl537 's thoughts on whether or not this is a
viable path.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/658#issuecomment-288293232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFqsMHdDDLXi15XvSmTdxMNubBUHpcyks5roJ62gaJpZM4KOalG
.

I think the dev task here is to work with a DCAF stakeholder on porting these documents over to an accessible and reasonably secure place in google drive, and then adding the link up top. Probably this gets us 95% of the way there and that last 5% involves more design/frontend coding than it's worth.

( @lwaldsc and @vtmeghan please weigh in if there's sensitive information you feel we should NOT be putting in google drive in there.)

The only thing I can think of currently in Crypto that is sensitive is the
pledge tracker, but once the budget bar and audit systems are in place,
that should take care of the need for one.
I would say, we should envision something that will take its place so to
speak (an automated list of everyone that was marked 'pledged' this week so
CMs can check if a pledge was actually made if a clinic calls to confirm a
missing pledge).
On Thu, Mar 23, 2017 at 12:10 PM, Colin<EMAIL_ADDRESS>wrote:

( @lwaldsc https://github.com/lwaldsc and @vtmeghan
https://github.com/vtmeghan please weigh in if there's sensitive
information you feel we should NOT be putting in google drive in there.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/658#issuecomment-288771283,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKFqsA7yk1wz8Fm0ecXyJuzbg56ihT7Lks5ropmQgaJpZM4KOalG
.

I had a thought, about putting a link to the Google docs in DARIA. What do
y'all think?
On Thu, Mar 23, 2017 at 12:48 PM, Lisa<EMAIL_ADDRESS>wrote:

The only thing I can think of currently in Crypto that is sensitive is the
pledge tracker, but once the budget bar and audit systems are in place,
that should take care of the need for one.
I would say, we should envision something that will take its place so to
speak (an automated list of everyone that was marked 'pledged' this week so
CMs can check if a pledge was actually made if a clinic calls to confirm a
missing pledge).
On Thu, Mar 23, 2017 at 12:10 PM, Colin<EMAIL_ADDRESS>wrote:

( @lwaldsc https://github.com/lwaldsc and @vtmeghan
https://github.com/vtmeghan please weigh in if there's sensitive
information you feel we should NOT be putting in google drive in there.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/colinxfleming/dcaf_case_management/issues/658#
issuecomment-288771283>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AKFqsA7yk1wz8Fm0ecXyJuzbg56ihT7Lks5ropmQgaJpZM4KOalG>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/colinxfleming/dcaf_case_management/issues/658#issuecomment-288784180,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AOi8mUhvvUu1-lUQF6gJogI5ZrSVETYtks5roqJvgaJpZM4KOalG
.


ASP.NET  Dockerfile does not build

i am trying to build my docker using command docker build  .
but i keep getting this error

then i switched to use windows container and i ran same command i got the error below however the .targets exist in the path mentioned correctly

[Triage] @NadaBotros, can you share you project and Dockerfile with us?  If that's not possible can you create a simplified repo?  The more details you can provide us, the more likely we can help resolve your issue quickly.


Cleaning code to remove some errors on console

Summary
Fixes 2 errors on the console:
Trying to check if the script is running as root ... ok
Trying to resolve instance-id ... /usr/local/bin/ecs-logs-collector.sh: line 175: /usr/local/bin/collect/i-0873c22d6476fe6d3/system/instance-id.txt: No such file or directory
ok
Trying to collect system information ... ok
Trying to check disk space usage ... ok
Trying to collect common operating system logs ... ok
Trying to collect kernel logs ... ok
Trying to get mount points and volume information ... ok
Trying to check SELinux status ... ok
Trying to get iptables list ... ok
Trying to detect installed packages ... ok
Trying to detect active system services list ... ok
Trying to gather Docker daemon information ... ok
Trying to inspect all Docker containers ... ok
Trying to collect Docker daemon logs ... ok
Trying to collect Amazon ECS Container Agent logs ... ok
Trying to collect Amazon ECS Container Agent state and config ... ok
Trying to collect Amazon ECS Container Agent engine data ... ok
Trying to collect Amazon ECS init logs ... cp: cannot stat '/var/log/ecs/ecs-init.log*': No such file or directory
ok
Trying to archive gathered log information ... ok
Implementation details
Creating folder to copy instance id and using a redirect instead of pipe to echo.
ECS init logs are optional and not necessarily present when not running and Amazon AMI.
Testing

[X] Works properly on Amazon Linux
[X] Works properly on RHEL 7
[X] Works properly on Debian 8
[X] Works properly on Ubuntu 14.04

New tests cover the changes: no
Licensing
This contribution is under the terms of the Apache 2.0 License: yes

Rebased with master. Applied your suggestion.


xdot: disable for python 2.x

Motivation for this change
It just fails at runtime otherwise.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

@Mic92 could you also backport this? Thanks!


General: Use same height if no statistics are available in course card

Checklist
General

[x] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server

Client

[x] I followed the coding and design guidelines.

Motivation and Context

Fixes a styling issue on the start page of Artemis (see screenshots)
Steps for Testing

Prerequisites:

Log in to Artemis
Have/create two courses, one has graded exercises the other one does not (may be completely empty)
Check that the height of the course cards is the same on the start page

Review Progress

Code Review

[ ] Review 1
[ ] Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Screenshots

Old styling:

Correct styling:

Seems to be fixed in another PR


"Submit a Resource" button - add to every page in the Hub

We need to ensure that the "Submit a Resource" button is on every page in the Hub.
Consider making this standard in the header or incorporating elsewhere.

This is now in a tab on every page.


div "tab-content" is badly positioned

hi,
@mikejacobson
the div with class "tab-content" is positioned badly, this is causing some weird behavior with the inner content of tabs.
in order to see this clearly you can simple add this css:
.tab-content{
background-color: orange;
}
you will see that this div (with orange color) top is the same as the top of the tab headers.
if you compare this with the original tabset you'll see that the top of this div is the bottom of the headers.

Hi Shemesh,
v0.0.18 should fix this issue. The .tab-content just needed to clear the float. Thanks for letting me know about it.
I'm still trying to figure out a solution for your Issue #11. It's a pretty tricky one. I hope I can come up with something for you soon.
Thanks for using my little project!
Mike


[MCTF] causes segmentation fault when using hwupload in ffmpeg-qsv

MCTF needs reference frame and will return MFX_ERR_MORE_DATA when the first frame comes. This leads to the vpp failures in sample_vpp when only processing 1 frame.
In msdk:
/sample_vpp -i /home/linjiefu/Videos/sourceVideo/1920x1080.nv12 -o msdk.yuv -lib hw -sw 1920 -sh 1080 -dw 1920 -dh 1080 -scc nv12 -dcc nv12 -mctf 5 -iopattern d3d_to_sys -async 1 -n 1
will report:
[ERROR], sts=MFX_ERR_UNDEFINED_BEHAVIOR(-16), main, Unexpected error at /home/linjiefu/Documents/git/msdk/samples/sample_vpp/src/sample_vpp.cpp:1105
in FFmpeg qsv:
https://patchwork.ffmpeg.org/patch/11739/
https://patchwork.ffmpeg.org/patch/11740/
ffmpeg -init_hw_device qsv=foo -filter_hw_device foo -v verbose -f rawvideo -pix_fmt nv12 -s:v 352x288 -i /home/linjiefu/Videos/sourceVideo/MOBILE_352x288_30_orig_01.yuv -vf 'hwupload=extra_hw_frames=64,format=qsv,vpp_qsv=mctf=5' -f rawvideo -pix_fmt nv12 -an -vframes 4 -y ./vpp_mctf_4frame.yuv
MCTF works after applying the MCTF patch set.
But it's a work around way to av_usleep(100000) for the release:
[VP]: EXIT - Render:3525: Exit VEBOX with CSC output.
[VP]: NORMAL - VpHal_RndrRenderVebox:3975: VPOutputPipe = 2, VEFeatureInUse = 1
[VP]: NORMAL - RenderSingleStream:840: VEBOX/SFC modified Render Target, skipping further processing.
if drop the av_usleep, segmentation fault will occurs.
It happens when hwupload the second frame and calls MFXVideoCORE_SyncOperation.
However, deinterlace needs reference too, but returns MFX_ERR_NONE when the input contains only one frame.
@fulinjie , this is full copy of https://github.com/intel/media-driver/issues/498

Error returns here:
https://github.com/Intel-Media-SDK/MediaSDK/blob/089296a90c83ed54e95b20597437a6839406e10b/_studio/mfx_lib/vpp/src/mfx_vpp_hw.cpp#L3085

// this is the case when its not flushing but input is null; the situation when MCTF is not ready,
// but an application already asks it to finalize must be correctly processed.
if (!input)
{
if (!m_taskMngr.GetMCTFSurfacesInQueue())
return MFX_ERR_MORE_DATA;
else if ((TWO_REFERENCES == m_pMCTFilter->MCTF_GetReferenceNumber() && m_taskMngr.GetMCTFSurfacesInQueue() <= 1) ||
(FOUR_REFERENCES == m_pMCTFilter->MCTF_GetReferenceNumber() && m_taskMngr.GetMCTFSurfacesInQueue() <= 2))
return MFX_ERR_UNDEFINED_BEHAVIOR;
}

As far as I understand, the following scenario leads to this :

Sample_vpp runs with -n 1
Since mctf need one more frame, its returns err_more_data, we read one more frame, but dont submit it to vpp. Because exit condition after read, but before sumbit frame and it`s strange…
Then we try to flush frames from vpp (null input), and get error which mentioned above, because we have 1 frame in MCTF queue.

But I stiil can`t understand how usleep affect the pipeline, because ffmpeg have another code structure.
If we move exit condition to the end of main loop, seems that all works correctly, and stream contains one VPP`s frames

@spossos I submited a possible fix for sample_vpp, but it`s not cover a situation, when input file contains only one frame - we still get undefined behavior error.


fix bug & add methods

fix queryView Rest Api Path
add modifyDocuments/updateDocument

Nice work @iwater . Can you also update the api to the readme file?

more doc

Great work! @iwater


Obtain/Create a hilbert-related account/organization/repositories on DockerHub?

NOTE: Currently we are using a single DockerHub repository 'malex984/dockapp'...

I was able to transfer the ownership of the account
https://hub.docker.com/u/hilbert/
to us.


[api] Add optional database param for /execute public API

What changes were proposed in this pull request?

It is required because only one statement gets executed via the API call. So, queries like show tables; gets executed but since no database is mentioned so it always picks the default database.

Therefore, with this optional param, we can mention specific database for similar queries like above.

How was this patch tested?

Manually tested

The unit test is skipped for Py3: https://github.com/cloudera/hue/blob/3373cfe403196cefcd5382b2b86c3ae16fa9c6df/desktop/core/src/desktop/api_public_tests.py#L64-L65


install kube components without hyperkube for k8s 1.17+

updates to kubelet/kubectl/kube-proxy baking in VHD

for k8s version < 1.17, no change
for k8s version >= 1.17,
extract kubelet/kubectl binary from https://kubernetesartifacts.azureedge.net/kubernetes/v${KUBERNETES_VERSION}/binaries/kubernetes-node-linux-amd64.tar.gz instead of hyperkube image
for k8s version > 1.18, download kube-proxy image mcr.microsoft.com/oss/kubernetes/kube-proxy:v${KUBERNETES_VERSION} directly, no need to keep hyperkube image in VHD as it's not needed

Does this mean we can remove 1.17+ hyperkube image from VHD?
Also is this change included:
"for k8s version > 1.18, download kube-proxy image mcr.microsoft.com/oss/kubernetes/kube-proxy:v${KUBERNETES_VERSION} directly"

Does this mean we can remove 1.17+ hyperkube image from VHD?
Also is this change included?:
"for k8s version > 1.18, download kube-proxy image mcr.microsoft.com/oss/kubernetes/kube-proxy:v${KUBERNETES_VERSION} directly"

Yes we can remove ti 1.17+ onwards,
Yes this change Also included getting kube-proxy directly.
in L447 of install-dependencies.sh
        if (( $(echo ${KUBERNETES_VERSION} | cut -d"." -f2) > 17 )); then
            CONTAINER_IMAGE="mcr.microsoft.com/oss/kubernetes/kube-proxy:v${KUBERNETES_VERSION}"
            pullContainerImage "docker" ${CONTAINER_IMAGE}
            echo "  - ${CONTAINER_IMAGE}" >> ${VHD_LOGS_FILEPATH}
        fi


add role assumption parameter to boto3 driver

For the boto3 driver, it would be useful to add a role to the EF headers that the Lambda will assume before fulfilling the EF request. That way, the author of the EF can limit requests to a single role without needing to re-create multiple GEFF deployments.
https://aws.amazon.com/premiumsupport/knowledge-center/lambda-function-assume-iam-role/

fixed in #40


Draft: fix(CodeModal): Restyle to match updated design

A decision was made to stick to the original design rather than PF6, so I'm attempting to match here. One exception is the copy to clipboard icon - PF does not easily let me swap this, and forking it is more involved/code-heavy. We can file an issue and address this as a follow-on. The dark modal background also seems a little too dark in context, and I'm having a tough time changing the margins on the Monaco editor. It's third-party with a lot of absolute positioning.

Preview: https://virtual-assistant-pr-virtual-assistant-89.surge.sh


Finalizing findArtifacts function

Steps to finalize the find Artifacts function
Multi-sample functionality

[X] Fix multi-sample runs so they only run one sample at a time instead of using the data from all samples to detect samples

Automatic detection of samples with artifacts

[ ] detectArtifactSamples function.

Currently does not work like my test code. Need to make sure the log normalization is working. May be due to localVariance not regressing out the mean-var relationship. I should incorporate the robust regression to the localVariance function to solve this.

[x] In localVariance, incorporate option to remove mean-var relationship with IRLS. Replace this function in findArtifacts.

Detecting artifacts by checking for bimodal distributions in lognormalized QC metric doesn't work well. The function is complete for now.


Fill by grid overflows hex

The area filled when using the grid fill tool is quite a bit larger than one grid hex.

Oof. Yes, it is much larger.

Should be fixed in v0.1.0.


ARM support need

Hi there,
I have an arm PC that runs windows11, as microsoft wrote in his documents, wsl2 supports arm structure natively, I have tested it on ubuntu, and it really works well.  Therefore, I think it will have a better performance if my computer can run archlinuxarm instead of x86 version. Hope you can take it consideration and give me a reply at leisure.
I'm Chinese and my English is not very well, if there are anything not so proper or even worse , please tell me about it, thank you.

I haven't built an ARM version because haven't thought anyone would use it, since you want to use it ill build it for ARM as well

Thanks a miilion! If there is anything I can help, please contact me at your earliest convenience. I will get into a very busy period of time after 8th this month and may not capable to reply on time.
Thanks again for building!

Yes, that would be great. It would be useful to make Arch Linux for the Surface Pro X instead of using a docker.

It seems that Arch Linux doesn't provide an Arm64 version for their docker images nor do they officially provide ARM64 ISOs to install on a VM so it would be difficult to provide regular builds from my side so I am closing the issue for now. I will try to build it if get my hands on a raspberry pi or some other ARM SBC.

Hi there, would you like to tell me about how to do that?  I have an arm pc on my hand and maybe I can provide some help.
(Archlinux arm official link: https://archlinuxarm.org/platforms/armv8, there is a link for Raspberry Pi 4;
there is a image for ARMv8 AArch64 Multi-platform devices at the link  https://archlinuxarm.org/about/downloads)
Please forgive my inappropriate expressions, English is not my native language and I'm learning it.
Thanks for building again.

Those are chipset specific images they can't be booted directly on other hardware but if you can do so, you can install it on your system and you extract the rootfs image from the instructions given here https://gitlab.archlinux.org/archlinux/archlinux-docker and publish a docker image, i think I can build from there

well, linux surface did a docker in order to build arm for the spx : https://github.com/linux-surface/aarch64-arch-mkimg
the rootfs is : https://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz

cool, I will try with this

i'm also trying a github action to build a arch docker image for multiple architecture

better i found one that seems to work : https://hub.docker.com/r/menci/archlinuxarm
launched on podman on my surface and it seems fine

This is working as well using it

well, linux surface did a docker in order to build arm for the spx : https://github.com/linux-surface/aarch64-arch-mkimg
the rootfs is : https://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz

oh cool

yup, i built my one and it is working fine 👍

I made a pull request in order to build the image properly.
With that, we can probably do the same with Fedora

added on #21


Unable to stream with RTMP and codec H265/VP9/AV1

Which version are you using?
v1.6.0
Which operating system are you using?

[x] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Due to new AMF0 parser in RTMP . AMF0 Strict Array type is not supported producing this error:
closed: unsupported marker 0x0a

AMF0 documentation to implement Strict Array:
https://rtmp.veriskope.com/pdf/amf0-file-format-specification.pdf
According with RTMP enhanced in connect command you need include a property called fourCcList which is a Strict Array:
https://veovera.org/docs/enhanced/enhanced-rtmp-v1#extending-netconnection-connect-command
This was working on version 1.5.1 so I think the error is in the new AMF0 parser.
Also, I checked that if you send AMF0 types not implemented in this method, the connection fail. I think that the server should at least ignore not implemented types instead of refuse connection if it is a valid type.
I did a PR to fix this error:
https://github.com/bluenviron/mediamtx/pull/3189
Describe how to replicate the issue

Download the Android apk attached (this apk is a compilation of this project modified to work with H265 codec as default in rotation example)

app-debug.zip
...
2. Unzip and install the apk in an Android device
3. Open app
4. Open Rotation (include filters) example
5. Type a rtmp url in the textbox
6. Press center button to start stream
7. The connection fail and the app try reconnect.
Did you attach the server logs?

Yes
Did you attach a network dump?

No

fixed by #3189


Very long delay for replies to register on reddit.

Describe the bug
Not sure on what exactly the bug is but there is a huge delay (>50 minutes) in replies registering (displaying in the post comments, displaying in inbox, displaying in overview, etc) on reddit. This occurs within 5 minutes of starting the streams. There is also a delay in saving comments and submissions. This is not affecting retrieving comments.
To Reproduce
Run this code, let it sit for around 5 or more minutes, then trigger the streams with comments or posts.
const client: Snoowrap = new Snoowrap({
    userAgent: process.env.USER_AGENT,
    clientId: process.env.CLIENT_ID,
    clientSecret: process.env.CLIENT_SECRET,
    username: process.env.REDDIT_USER,
    password: process.env.REDDIT_PASS
});
client.config({ continueAfterRatelimitError: true, requestDelay: 2000 });

const comments: CommentStream = new CommentStream(client, { subreddit: '<name>', limit: 100 });
comments.on('item', (comment: Comment): void => {
    if (!comment.saved && comment.author.name !== BOT_NAME) {
        // Just constructs a string for the reply and could just be const reply: string = 'foo';.
        const reply: string = getReply(comment);
        if (reply) {
            comment.reply(reply);
            comment.save();
        }
    }
});

const submissions: SubmissionStream = new SubmissionStream(client, { subreddit: '<name>', limit: 100 });
submissions.on('item', (submission: Submission) => { // Same as CommentStream. });

Expected behavior
The replies later in the streams' uptimes registering on reddit as quickly as in the beginning.
System Configuration:
TypeScript - 3.6.4
Node Version - 12.13.0
Snoostorm Version - 1.2.2
Snoowrap Version - 1.20.0
Additional context
I have this running on both a Linux EC2 instance and a personal Windows 7 machine. The delays occur on both machines. As for snoowrap config options and snoostorm stream options, I tried continueAfterRatelimitError and requestDelay with various combinations of  limit and pollTime.

Cannot replicate. Make sure that you're not being ratelimited, as snoowrap will automatically respect ratelimits.


feature request: make exported map images georeferenced

The feature to export the map image would be greatly improved if the image exported could either be a GeoTIFF or even better, a georeferenced PDF (as opposed to a GeoPDF which TerraGo owns).  Often I work with people who do field work where there is no internet, so an easy way to utilize CartoDB maps offline would be to select the map view in while the office, export it to a Georef'd PDF, and then drop it into a tablet/phone app like Avenza's PDF Maps to use it to navigate in the field.
Our clients would use that feature all the time if available from their online dataset.
Thanks for listening.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


CS0234, CS0246, Does not show up in Unity Editor

Installed UdonSharp, VRChatAPITools 0.2.1 through Unity Package Manager, then this. Result: no VRBuildHelper shows up in 'Window"
Errors in the console:
Library\PackageCache\com.bocud.vrbuildhelper@7eff5f620a\BuildHelper\Runtime\BuildHelperToolsMenu.cs(79,13): error CS0103: The name 'NativeFilePicker' does not exist in the current context
My project was originally created using the legacy sdk but was since migrated to using VRC Creator Companion.

The package manager versions of VRCApiTools and BuildHelper only work with the package manager versions of the SDK. Did you already upgrade your project with the Creator Companion? If not you might need to install those first. If you do have those installed i'll need to look into this more i suppose :)

Just tried on a fresh blank world project created with VRC Creator Companion, with UdonSharp installed via creator companion, then adding VRCApiTools through the package manager, and then VRBuildHelper using the package manager. Same issue:
Library\PackageCache\com.bocud.vrbuildhelper@7eff5f620a\BuildHelper\Runtime\BuildHelperToolsMenu.cs(79,13): error CS0103: The name 'NativeFilePicker' does not exist in the current context

I also had this same issue with a brand new project and installing with the package manager.
I think the Plugins/NativeFilePicker folder isn't included with v1.0.0 rc6.
Managed to get that missing folder by:

Installing rc4 openbeta
Deleting BocuD folder
Installing rc6 via the package manager

Seems to work fine now.

Oh that might be the case.. I guess stuff like this shows why it's not fully publicly released :)
I'll (hopefully) fix this with a small patch within the next few hours, should be a small change.

This issue was fixed in https://github.com/BocuD/VRBuildHelper/releases/tag/v1.0.0rc7

Yep that's sorted it :)
Thanks for making this though, it's super handy!

Thanks :)
I hope to do an actual "release" version soon! Sadly i don't have that much time to spend on this lately, otherwise I would've done that a while back already.. If you have any feedback or suggestions feel free to let me know though, I'm always looking for new things to add to this 👍


Revert "lib: newlib: Add workaround for #38258"

Revert "lib: newlib: Add workaround for #38258"

The commit 9bd1483afeb18f4225ec7b0340b0d4e20efb7d01 was added as a
workaround for the Xtensa initial malloc failure bug.

This bug has been fixed in the Zephyr SDK 0.13.1 release and therefore
this workaround is no longer needed.

Fixes #38258
NOTE: This PR also contains a commit to update the minimum required Zephyr SDK version to 0.13.1, which is required to support this.

this will break CI environments, please send an announcement and let people update their installed SDK first.

why do we need to worry about downstream CIs in this way??  where would you make such an annoucement

@stephanosio we could split the commits in the PR so we could merge the revert while waiting on the SDK version bump.

why do we need to worry about downstream CIs in this way?? where would you make such an annoucement

@galak I had a brief discussion with @nashif about this in #toolchain. We can further discuss this in the TSC meeting today.

this will break CI environments, please send an announcement and let people update their installed SDK first.

@nashif I have sent out an announcement.
p.s. As discussed in the TSC meeting today, a formal process regarding these breaking changes will be discussed in the Process WG later.

why do we need to worry about downstream CIs in this way??

Should downstream never test Zephyr's main branch?

where would you make such an annoucement

In the usual Zephyr communication channels.


Can't resolve 'next-translate/appWithI18n' on 2.7.0-canary.1

What version of this package are you using?
2.7.0-canary.1
What operating system, Node.js, and npm version?
macOS 12.2.1, NodeJS version: 20.9.0, npm version: 10.1.0. NextJS: 13.5.6 (not app folder)
What happened?
Running the app (building or with dev server) throws the error on the title.
What did you expect to happen?
Not to throw
Are you willing to submit a pull request to fix this bug?
With some clues as to where to look, yes

I can't reproduce it @acidfernando . Can you try with 3.0.0-canary.1 in both (next-translate & next-translate-plugin) ? Thanks

With that version I'm getting Module not found: Can't resolve 'next-translate-plugin/loader'. I'll try to create a repro

Here's a repro: https://codesandbox.io/p/devbox/next-translate-build-hk9t38
Maybe I'm doing something wrong? Same code works correctly on v2.6.2
Also, this repro uses app router, but the project I first reported the bug was on pages router.
Hope it helps!

Ok, looks like a problem generating the tarball of npm that avoids adding some necessary files. Thanks to report

Yes, that did it. Thanks for the fix!


Build breadcrumbs from routes

Hi.
I'm trying to come up with a way to get a breadcrumb navigation implemented.
At this line I want to have a list of URL's leading up to the current route, where the last part isn't a link but does display a text.
I've put this text as the title property on the prototype of the PageComponent class, so all of the pages in the Router have at least the value "Page". That should give me a breadcrumb with the link texts all being Page. I'll worry about the correct texts later.
How do I get a list of complete URL's and the title properties of the page components leading up to the current route?

For questions and support, please visit our channel on Reactiflux or Stack Overflow. The issue tracker is exclusively for bug reports and feature requests.


Add prettier or other such formatter

Hello i can help you with this issue.
Please assign me this,

@anshul137 go ahead.


code added for medical records

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

changes for this are done in another branch


Is it possible to generate the language-contribution.ts file?

I am using this project as template for my own xtext dsl theia extension.
In order to do so i am currently facing the problem that the keyword auto suggestion is not working.
Maybe i have something done wrong in the ./xtext-dsl-extension/src/browser/language-contribution.ts file?
Is it possible to generate the language-contribution.ts file?

there is no fragment yet but its possible for sure (if you find good conventions)


[DO NOT REVIEW] Type definitions in DocSite

#1274

Closing for housekeeping.
We have already improved types in docs and will continue this work soon.


Fix TypeScript errors

@mruwnik aah, most APIs don't have Status field in the response, so I'm removing assigning the Unknown value by default, keeping it undefined, so that we display action buttons
feel free to investigate in Coda, if more of the APIs need that column added

this is why I dislike strict static typing - it tends to be over restrictive :D


Option audio focus

I noticed that ToroVideoView always requests the AudioFocus of the device.
This is a simplistic approach to allow background audio.

Hi there, thanks for your PR. I'm AKF for now. Please wait for the review, I'll check out ASAP.

No problem found. I understand that you would like to allow this VideoView to have background playback. This sounds non-sense for Toro since it will play Video only on foreground. But for a wider usage, I support this PR. Please review my comment, make the fix so I could merge it. Thanks.

Updated according to comments

Thanks @wemped , I would like to wait for response from another issue which may relates to this PR in one day then I will merge this.


Consider refactoring factories for increased extensibility

Is your feature request related to a specific problem?
When attempting to extend the fidesops masking framework outside of the core fidesops repo, it became clear that the existing framework made this difficult to do cleanly - in order to register one's "custom" MaskingStrategy subclass in the central masking_strategy_factory, one had to make code updates to the masking_strategy_factory file/class. https://github.com/ethyca/fidesops/issues/547 (and corresponding PR https://github.com/ethyca/fidesops/pull/560) refactored the masking_strategy_factory to provide a more extensible framework.
This feature request is to consider implementing a similar strategy for other factory-like frameworks (is there a more precise term for this?) within fidesops, if they may benefit from improved extensibility.
Impact
Will make it much easier to add connectors because currently any changes that have to be done have to be implemented on core and this ticket will allow us to work outside of core.
Describe the solution you'd like
The decorator-based registration that was implemented for masking strategies in https://github.com/ethyca/fidesops/pull/560 seems to provide an extensible framework that's not burdensome on developers who wish to extend with more implementations (all that's needed is a simple and concise decorator on the extending subclass), while also providing for indexed lookups of subclasses (rather than iterating through a base class's .__subclasses__(), for example). The approach also seems relatively transparent and clear to a developer who wants to extend with their own subclass.
Note that with this approach, any extending subclasses will need to be loaded/imported, e.g. via an __init__.py -- in the existing frameworks, the import is necessarily done when the subclasses are explicitly referenced in the "registry" enums.
A quick overview of the current fidesops codebase points to these frameworks as potential targets of this enhancement:

authentication strategies (base class: AuthenticationStrategy)
connectors (base class: BaseConnector) -- note they're not actually registered in a factory, but src/fidesops/service/connectors/__init__.py has constructs that essentially function as a factory
pagination strategies (base class: PaginationStrategy)
postprocessor strategies (base class: PostProcessorStrategy)

Describe alternatives you've considered, if any
In some relatively brief research, I came across some other approaches for implementing the factory pattern with dynamic registries that can be extended without modifying the core factory code:

Using metaclasses to register subclasses in a central registry (e.g. as suggested by this SO answer). This may make things a bit easier for the extending developer (i don't think they'd need to do anything beyond just inheriting from the base class), but I think it comes at the expense of making the framework less transparent. But it seems like a viable alternative.
Using the python builtin .__subclasses__() method on the base class to look up a requested subclass. This approach feels the most "built in," but I believe this will require linear look up times (attribute look up on elements in a list). It'd also likely require an extending developer to define a standard method or variable in their subclass that provides a name/id by which the subclass is identified and looked up, which feels clunkier than the decorator-based registration.

Additional context

This article provided some inspiration for the implementation, and it provides a nice walkthrough/example.
Consider breaking down this work to implement one at a time to identify patterns that are common between and help identify if there are any dependencies/conflicts with other teams work.

Aha! Link: https://ethyca.aha.io/features/OPS-40

noting that in implementation, we actually decided to use the "python builtin .subclasses() method" listed as an alternative. we chose this because it was a simpler implementation that relied more on builtin functionality.
that being said, the major tradeoff is that it incurs a linear lookup time for a given strategy, where the scale factor is the number of strategy subclasses of the strategy type that's being looked up. at this point, we expect that number to be trivial, but it may need to be re-examined if the number of strategy subclasses we've got in the system grows dramatically.


Implement the app bar "About DroidKaigi" in the About list screen

Issue

close #223

Overview (Required)

Implement the app bar "About DroidKaigi" in the About list screen using TopAppBar

Links

figma https://www.figma.com/design/XUk8WMbKCeIdWD5cz9P9JC/DroidKaigi-2024-App-UI?node-id=54982-75342&t=k4TShQboqq07iWl6-0

Screenshot (Optional if screenshot test is present or unrelated to UI)

Before
After (Japanase)
After (English)

question
According to this figma, the "About Droidkaigi" text in the App Bar seems to be fixed in the center when scrolling the screen.
Should this feature be resolved in this PR? Should it be separated into a different issue?

I think it's better than nothing! If you don't mind, could
you make an issue for this?

If you don't mind, could you make an issue for centering the toolbar?

Of course! I'll take care of it!


E2E test

Integrations require e2e test to make sure basic functionality and that this won't break from the beginning. This checks must run on every PR to ensure no regressions.
One good example is https://github.com/corazawaf/coraza-proxy-wasm/tree/main/e2e which spins up an envoy with the proxy wasm plugin and runs basic checks about blocking.

I added e2e tests similar to proxy-wasm. An example run is here: https://github.com/corazawaf/coraza-spoa/actions/runs/3795854054/jobs/6455386316


Implement route conditional middleware.

This takes inspiration from:
https://stackoverflow.com/a/19337607
https://stackoverflow.com/a/40418065
This works, but I'm looking for ideas for how to make it performant.  see todos.

I don't really understand the server._router part so pardon if I'm missing something.  I think setting this up with the main config could lead to confusion.
I'll present a slightly different solution that would be implemented as setting up per-route options at the route definition site and use that with conditional middleware wrappers.  The setup could be like what bedrock-docs annotate does with methods, routes, and doc options.  I think checks will have to happen every request, so middleware could be used to always get any defined route options.  Would certainly need to optimize the route option lookup.  I'm not sure how this compares to the router stack scan code.  It would only be run once per request in case you had multiple conditionals.
bedrock-express setup would always setup route options on the request and could have conditional middleware wrappers:
      // always setup per-route options
      server.use(_routeOptions)
      // ...
      if(bedrock.config.express.useSession) {
        server.use(_routeConditionalMiddleware({
          default: true,
          test: req => req.routeOptions.useSession !== false,
          fn: api.middleware['express-session'](bedrock.config.express.session)
        }));
      }
      // ...

_routeOptions would run every request and setup a request var based on req.route.path and req.route.methods(?).  Could probably optimize so that best case overhead is one req.route.path lookup in a map.
function _routeOptions(req) {
  if(...) {
    req.routeOptions = ...;
  }
}

The conditional code can be generic:
function _routeConditionalMiddleware({default, test, fn}) {
  return function(req, res, next) {
    if((!req.routeOptions && default) || (req.routeOptions && test(req))) {
      fn(req, res, next);
    } else {
      next();
    }
  }
}

bedrock-express would need a method+route+options api simlar to bedrock-docs.annotate for .all, .get, .post, etc:
api.routeOptions.XXX = function(route, options) { ... };

Then apps could setup per-route options as needed:
const brExpress = require('bedrock-express');
brExpress.routeOptions.get('/foo/:id', {useSession: false});
app.get('/foo/:id', function(req, res, next) { ... });

A drawback is if you override a route you'd have to know how to override the options too.
This all does involve some plumbing and overhead but seems like a fairly generic solution to get options to middleware that's run early.
Unfortunate that the express API doesn't just have a way for routes to run early middleware to set flags for later middleware.


How to update the variable list for which the optimizer need to train in tensorflow?

How to update the list of variables for the optimizer to train in tensorflow? In other words, if we have the following optimizer:
optimizer = tf.train.AdamOptimizer(learning_rate).minimize(cost_scalar, var_list=my_var_list)
I need to update my_var_list for example while fine tuning the network. That is, I am going to remove the variable which I no longer need to train and keep the others. Example, fine tuning the dense layer in a convolutional neural network.
Any help is much appreciated!!

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!
However, one thing you could do is just make a new optimizer op that contains a changed set of var_list.


fix corner case error in loss_bbox function within gfl_head

if not torch.any(weight_targets) > 0
invoke GIoULoss forward function,
if weight is not None and not torch.any(weight > 0): return (pred * weight).sum()  # 0
in this situation, weight_targets ndim is 1, and pos_decode_bbox_pred ndim is 2
they can not multiply

Fixing iou_loss.py may be better to avoid similar issues in other heads.
E.g., replacing 5 lines
return (pred * weight).sum()  # 0

with
if pred.dim() == weight.dim() + 1:
    weight = weight.unsqueeze(1)
return (pred * weight).sum()  # 0

Fixing iou_loss.py may be better to avoid similar issues in other heads.
E.g., replacing 5 lines
return (pred * weight).sum()  # 0

with
if pred.dim() == weight.dim() + 1:
    weight = weight.unsqueeze(1)
return (pred * weight).sum()  # 0

agree with you

agree with you

agree with you
maybe i should create an issue

agree with you
maybe i should create an issue


✨ feat: Adding Podman Support

/kind feature

capd will not run on podman. So we should try to use k3s instead.
There is a control-plane and bootstrap provider for it. Not yet sure, how we can built upon this kind of infrastructure another localy kubernetes cluster.
I need to do some testing 👍

Closed as not needed.


Made some minor correction in the program

Previously in the program, the value of n was fixed.
Now the user can input any value for n and check whether that number is a perfect number or not

Made some minor changes


Hi ,I have set images dynamically from API Response, getting preview image in black color and also when I scroll the images there is a random crash when I click on preview image. I have checked css code also but nowhere I have given black color to image View .Crash is on android device version is 5.1

Actually the crash was due to heavy image size we were setting to image View.After compressing the images ,the crash issue is resolved


Provide a minimal version to get started

We need to provide a basic example which simply servers our webdav api in the context of the ownCloud Infinite Scale project.

This is an old issue that was transferred from the archived ocis-webdav repo a few weeks ago.
@butonic @micbar or anyone - please close if no longer relevant.


[SPARK-8995][SQL] cast date strings like '2015-01-01 12:15:31' to date

Jira https://issues.apache.org/jira/browse/SPARK-8995
In PR #6981we noticed that we cannot cast date strings that contains a time, like '2015-03-18 12:39:40' to date. Besides it's not possible to cast a string like '18:03:20' to a timestamp.
If a time is passed without a date, today is inferred as date.

Can one of the admins verify this patch?

This was by intentional as hive doesn't support it. However, our new design about date time says we should support cast string yyyy-mm-dd * to date, which means your case should be supported.
It would be better if you can fix the string to date cast completely, i.e. including all the formats defined in the design doc :)

Okay, yes I'm going to extend it. What Hive does support is parsing the minute from 13:20:08. Our minute method requires a TimeStamp. Either we don't support the minute expression on pure time information or we define a cast from a time string to timestamp. But even if we do that, we are still not compatible with Hive. Because we would parse a pure date like 2015-10-20 to 2015-10-20 00:00:00 and we could extract the minute 0, Hive would return null

@cloud-fan
The following strings can be parsed now: (String --> Date)
yyyy, yyyy-[m]m, yyyy-[m]m-[d]d, yyyy-[m]m-[d]d , yyyy-[m]m-[d]d *, yyyy-[m]m-[d]dT*
(String -> Timestamp)
yyyy, yyyy-[m]m, yyyy-[m]m-[d]d, yyyy-[m]m-[d]d , yyyy-[m]m-[d]d [h]h:[m]m:[s]s.[ms][ms][ms][ms], yyyy-[m]m-[d]d [h]h:[m]m:[s]s.[ms][ms][ms][ms]Z, yyyy-[m]m-[d]d [h]h:[m]m:[s]s.[ms][ms][ms][ms]-[h]h:[m]m, yyyy-[m]m-[d]d [h]h:[m]m:[s]s.[ms][ms][ms][ms]+[h]h:[m]m, yyyy-[m]m-[d]dT[h]h:[m]m:[s]s.[ms][ms][ms][ms], yyyy-[m]m-[d]dT[h]h:[m]m:[s]s.[ms][ms][ms][ms]Z, yyyy-[m]m-[d]dT[h]h:[m]m:[s]s.[ms][ms][ms][ms]-[h]h:[m]m, yyyy-[m]m-[d]dT[h]h:[m]m:[s]s.[ms][ms][ms][ms]+[h]h:[m]m

ok to test

Merged build triggered.

Merged build started.

Test build #37124 has started for   PR 7353 at commit 71f89c1.

Test build #37124 has finished for   PR 7353 at commit 71f89c1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test build #1051 has started for   PR 7353 at commit 71f89c1.

Test build #1051 has finished for   PR 7353 at commit 71f89c1.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build triggered.

Merged build started.

Test build #37129 has started for   PR 7353 at commit cfbaed7.

Test build #37129 has finished for   PR 7353 at commit cfbaed7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

@tarekauel Thanks for working on this, it's in a good shape, just a few comments.
As you mentioned in the description, 18:03:20 could be parsed as timestamp, but it's still not done yet?

@davies thanks for all your good comments. I'm going to incorporate your suggestions.
I don't accept 18:03:20 , yet. The design document doesn't allow this. I think we should parse a pure time string to today + time. But I wanted to double check this with you guys.

Can one of the admins verify this patch?

Merged build triggered.

Merged build started.

Test build #37168 has started for   PR 7353 at commit 71622c0.

Test build #37168 has finished for   PR 7353 at commit 71622c0.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Merged build triggered.

Merged build started.

Test build #37171 has started for   PR 7353 at commit 34ec573.

Merged build triggered.

Merged build started.

Test build #37177 has started for   PR 7353 at commit 01c9ff3.

Test build #37171 has finished for   PR 7353 at commit 34ec573.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

@davies How should we deal with this? I don't know the value of 'value, but it seems to be something that the parser can parse can be parsed to 1.1.1970.
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/37171/testReport/org.apache.spark.sql.hive.execution/HiveQuerySuite/Cast_Timestamp_to_Timestamp_in_UDF/

Test build #37177 has finished for   PR 7353 at commit 01c9ff3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

In master, we can't cast '238' as timestamp,
spark-sql> select DATEDIFF(CAST(238 AS timestamp), CAST('2002-03-21 00:00:00' AS timestamp));
-11767
Time taken: 0.171 seconds, Fetched 1 row(s)
spark-sql> select DATEDIFF(CAST('238' AS timestamp), CAST('2002-03-21 00:00:00' AS timestamp));
NULL
Time taken: 0.1 seconds, Fetched 1 row(s)

I think you should check that the year is larger than 1000.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

@davies somehow Jenkins wasn't able to fetch from GitHub. Could you trigger Jenkins, again?

Test build #1075 has started for   PR 7353 at commit ef05753.

Test build #1075 has finished for   PR 7353 at commit ef05753.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build triggered.

Merged build started.

Test build #37415 has started for   PR 7353 at commit d20b8b4.

Test build #37415 has finished for   PR 7353 at commit d20b8b4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #37454 has started for   PR 7353 at commit ca1ae69.

Test build #37454 has finished for   PR 7353 at commit ca1ae69.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

LGTM, just some minor comments.

Merged build triggered.

Merged build started.

Test build #37476 has started for   PR 7353 at commit 14f333b.

Test build #37476 has finished for   PR 7353 at commit 14f333b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Thanks for the update, merging this into master!


Kubernetes service discovery intermittently not populating the pod IP into __address__

What did you do?
Notes before reading:

I've not been able to replicate this issue reliably as I think it might be a race condition of some kind.
In the example below the pod was removed before Prometheus had time to fix the address, however we do see an eventual reconciliation. If needed I can track down more examples. We see this happen >20 times a day on some of our Prometheus servers.

In the graph below we can see that this pod has the address :9090 for the prometheus_build_info. This trigger-campaigns pod does not publish this metric and is in fact from the Prometheus server scraping itself.

In the graph below we can see that for the whole lifetime of this pod it's IP is <IP_ADDRESS>

I've done some digging into this already and my current suspicion is something along the lines of

Prometheus receives an update from the endpoints watch
Prometheus receives an incomplete, or otherwise not quite correct update from the pods watch
pe.pod.Status.PodIP from this line (indicating an issue with the endpoint reflector?) or this line (indicating an issue with the pod reflector? Because we have the container label on this metric I'm assuming it must be reaching this stage.) is an empty string, causing the :9090.

I've done some experimenting with using the k8s discovery directly but haven't been able to replicate the issue. I've included the code I've used for this below.
package main

import (
	"context"
	"os"

	"github.com/go-kit/log"
	"github.com/prometheus/prometheus/discovery"
	"github.com/prometheus/prometheus/discovery/kubernetes"
	"github.com/prometheus/prometheus/discovery/targetgroup"
	"go.uber.org/zap"
)

func main() {
	il, _ := zap.NewProduction()
	logger := il.Sugar()
	logger.Info("Testing")
	sdConfig := kubernetes.SDConfig{
		KubeConfig: os.Getenv("KUBECONFIG"),
		Role:       "endpoints",
	}
	d, err := sdConfig.NewDiscoverer(discovery.DiscovererOptions{
		Logger: log.NewJSONLogger(os.Stdout),
	})
	if err != nil {
		logger.Fatalw("could not create discoverer", "error", err)
	}
	tchan := make(chan []*targetgroup.Group)
	go func() {
		d.Run(context.Background(), tchan)
	}()
	for {
		targets := <-tchan
		for _, targetGroup := range targets {
			targetAddresses := make([]string, 0)
			for _, target := range targetGroup.Targets {
				address := target["__address__"]
				if address[0:1] == ":" {
					targetAddresses = append(targetAddresses, string(address))
				}
			}
			if len(targetAddresses) != 0 {
				logger.Infow("Found targets", "group", targetGroup.Source, "adresses", targetAddresses)
			}
		}
	}
}

We only see this issue on 4 of our 8 Prometheus servers running in production.
Unforunately we cannot replicate this behaviour as reliably in our test environments (one occurrence in the last 2 weeks) so I believe it is in some way related to load.
My first thought is to add a if !pe.pod.Status.PodIP { continue } statement and see if that still has the issue to confirm my suspicion from earlier.
Eventually the address does get corrected to the right value if the pod is in the service discovery for long enough. I suspect it is when the sync interval comes around however I've not been able to confirm this as I don't know how to see when this sync is triggered.
What did you expect to see?
The address label as <IP_ADDRESS>:9090 and metrics from the pod being scraped by Prometheus.
What did you see instead? Under which circumstances?
The address label as :9090 and metrics from the Prometheus server doing the scrape being scraped.
System information
Amazon Linux 2 5.4.219-126.411.amzn2.x86_64 on AWS EKS 1.21
Prometheus version
Build Information
version	2.34.0
revision	881111fec4332c33094a6fb2680c71fffc427275
branch	HEAD
buildUser	root@121ad7ea5487
buildDate	20220315-15:18:00
goVersion	go1.17.8

Prometheus configuration file
Generated by Prometheus operator

- job_name: serviceMonitor/prod/trigger-campaigns-welcome-processor-low-priority/0
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  relabel_configs:
  - source_labels: [job]
    separator: ;
    regex: (.*)
    target_label: __tmp_prometheus_job_name
    replacement: $1
    action: replace
  - source_labels: [__meta_kubernetes_service_label_app_kubernetes_io_instance, __meta_kubernetes_service_labelpresent_app_kubernetes_io_instance]
    separator: ;
    regex: (trigger-campaigns-welcome-processor-low-priority);true
    replacement: $1
    action: keep
  - source_labels: [__meta_kubernetes_service_label_app_kubernetes_io_name, __meta_kubernetes_service_labelpresent_app_kubernetes_io_name]
    separator: ;
    regex: (trigger-campaigns);true
    replacement: $1
    action: keep
  - source_labels: [__meta_kubernetes_pod_container_port_number]
    separator: ;
    regex: "9090"
    replacement: $1
    action: keep
  - source_labels: [__meta_kubernetes_endpoint_address_target_kind, __meta_kubernetes_endpoint_address_target_name]
    separator: ;
    regex: Node;(.*)
    target_label: node
    replacement: ${1}
    action: replace
  - source_labels: [__meta_kubernetes_endpoint_address_target_kind, __meta_kubernetes_endpoint_address_target_name]
    separator: ;
    regex: Pod;(.*)
    target_label: pod
    replacement: ${1}
    action: replace
  - source_labels: [__meta_kubernetes_namespace]
    separator: ;
    regex: (.*)
    target_label: namespace
    replacement: $1
    action: replace
  - source_labels: [__meta_kubernetes_service_name]
    separator: ;
    regex: (.*)
    target_label: service
    replacement: $1
    action: replace
  - source_labels: [__meta_kubernetes_pod_name]
    separator: ;
    regex: (.*)
    target_label: pod
    replacement: $1
    action: replace
  - source_labels: [__meta_kubernetes_pod_container_name]
    separator: ;
    regex: (.*)
    target_label: container
    replacement: $1
    action: replace
  - source_labels: [__meta_kubernetes_service_name]
    separator: ;
    regex: (.*)
    target_label: job
    replacement: ${1}
    action: replace
  - separator: ;
    regex: (.*)
    target_label: endpoint
    replacement: "9090"
    action: replace
  - source_labels: [__meta_kubernetes_pod_label_ometria_com_tribe]
    separator: ;
    regex: (.*)
    target_label: tribe
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: rule_namespace
    replacement: prod
    action: replace
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    modulus: 1
    target_label: __tmp_hash
    replacement: $1
    action: hashmod
  - source_labels: [__tmp_hash]
    separator: ;
    regex: "0"
    replacement: $1
    action: keep
  metric_relabel_configs:
  - separator: ;
    regex: (.*)
    target_label: rule_namespace
    replacement: prod
    action: replace
  kubernetes_sd_configs:
  - role: endpoints
    kubeconfig_file: ""
    follow_redirects: true
    namespaces:
      own_namespace: false
      names:
      - prod

### Alertmanager version

_No response_

### Alertmanager configuration file

_No response_

### Logs

_No response_

Some following steps we're going to try on our side once we are out of code freeze (start of December)

Upgrade Prometheus to the latest version, we're running the latest in our test and internal tooling environment at the moment to see if we see this happening, although as mentioned in the ticket there are significantly fewer instances in those clusters anyway
Run a modified version of Prometheus with extra logging or a reduced refresh interval to force sync SD configs faster

Should we close this as fixed by https://github.com/prometheus/prometheus/pull/11642?

Should we close this as fixed by #11642?

I don't work at the company that was affected by this bug anymore so I'm unable to validate it directly

Thanks for your response.
I think the tests you added are sufficient to validate this.
I think we can close this as fixed by https://github.com/prometheus/prometheus/pull/11642 @roidelapluie


Elaborate instructions for Email configuration and Cron

Thanks for the script. it has helped me a lot.
I am Designer, and i just understand code at the high level.
Can easily follow instructions and i am aware of how to execute CLI commands.
For a user like me, it will be helpful if the documentation has some more steps mentioned.
For example.
I receive the following error when executing the command:
sendmail: recipient address<EMAIL_ADDRESS>not accepted by the server sendmail: server message: 554 5.7.1<EMAIL_ADDRESS>Sender address rejected: Please use Gmail's SMTP servers sendmail: could not send mail (account default from dummy) sendmail: recipient address<EMAIL_ADDRESS>not accepted by the server sendmail: server message: 554 5.7.1<EMAIL_ADDRESS>Sender address rejected: Please use Gmail's SMTP servers sendmail: could not send mail (account default from dummy)
I know its regarding server unable to use Gmail to send email (to me and webfaction) and you have already found a solution towards it mentioned here https://github.com/will-in-wi/letsencrypt-webfaction#custom-email-configuration
Doesn't help much to me as a Designer.
What would help :

Where to find this file OR is it to be created new
Where to save this file.
Some more clear instructions on how to use the cron.

You may decide to keep this script as dev oriented, However, a little more documentation will open it to more users.
My Setup:
All WordPress sites.
Thanks.

Thanks for your comments! I'm also working on some documentation improvements in https://github.com/will-in-wi/letsencrypt-webfaction/issues/30 as well.
The trouble with step by step directions is that there is such a diversity of application setup that there is no one way to do it. Honestly, if there was one way to do it, I would have automated the steps so that you wouldn't need them. I'll keep trying to find ways to simplify. I hope that the WebFaction developers roll this type of thing into their own control panel so that scripts like mine become obsolete. That would provide a much better user experience for non-developers.
Per your specific points:

Where to find this file OR is it to be created new
Where to save this file.

I'll make a note to say that a good default place for this file is your home directory. You do need to create it yourself.

Some more clear instructions on how to use the cron.

That's being addressed in https://github.com/will-in-wi/letsencrypt-webfaction/issues/30
Thanks again!

The specific gmail documentation improvement is being tracked in https://github.com/will-in-wi/letsencrypt-webfaction/issues/33 now.
Closing.

Thanks for the clarifications. Yes, hoping that WF will have similar stuff in their control panel, but they don't have an ETA yet.


Markdown in Action Out editor

I'm supporting an instructor who would like to write their feedback as markdown. The current editor (Summernote) doesn't support markdown summernote/summernote#158.
Would it be possible to support multiple editors in OnTask? Or, a different editor that supports both wysiwyg and markdown?
Are there other users who would like to write in markdown?

At the moment we only use Summernote. If we find an alternative editor with similar functionality and Markdown rendering, we will explore the integration. However, the introduction of markdown will add an extra processing layer, as under the hood, OnTask takes the text from the editor and process it as a Django template.


USHIFT-1516: Fix build.sh to properly pick up embedded container references

Also, fix Makefile to allow build.sh command line override when running make iso commands.
Closes USHIFT-1516

/lgtm

/test images


async-23: Cleanup and bug fixes [WIP]

Description

So far just bug fixes and cleanup:

Fix QtMinimap to fit weird aspect images, in either direction.
Fix "digits" test image to show same-spaced digits for any sized test image.
Refactor framerate to use vectorized-numpy for color compute.

Type of change

[x] Bug-fixes and refactoring in experimental code

Files

How has this been tested?

[x] Manual testing, existing unit tests.

Marking this ready to review. Just 3 small fixes/refactorings. No reason to lump this in with the next changes.


JSON chunked decoder throws an exception when closed without any added values

Would have expected the following to be a no-op:
import 'dart:async';
import 'dart:convert';

void main() {
  final controller = StreamController<Object>();
  final sink = json.decoder.startChunkedConversion(controller.sink);

  // Uncommenting these lines makes the error go away.
  // sink.add('{');
  // sink.add('}');

  sink.close();
}

But the following exception is thrown:

Web
Uncaught Error: FormatException: SyntaxError: Unexpected end of JSON input

VM
Unhandled exception:
FormatException: Unexpected end of input (at character 1)

^

#0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1404:5)
#1      _ChunkedJsonParser.close (dart:convert-patch/convert_patch.dart:522:7)
#2      _JsonStringDecoderSink.close (dart:convert-patch/convert_patch.dart:1503:13)
#3      _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:81:18)
#4      _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:132:24)
#5      _RootZone.runGuarded (dart:async/zone.dart:1534:10)
#6      _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:394:13)
#7      _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:404:15)
#8      _BufferingStreamSubscription._close (dart:async/stream_impl.dart:291:7)
#9      _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:741:19)
#10     _StreamController._closeUnchecked (dart:async/stream_controller.dart:596:7)
#11     _StreamController.close (dart:async/stream_controller.dart:589:5)
#12     _StreamTransformerWrapperSink.close (package:async/src/stream_sink_transformer/stream_transformer_wrapper.dart:62:17)
#13     DelegatingStreamSink.close (package:async/src/delegate/stream_sink.dart:47:27)
#14     _CloseGuaranteeSink.close (package:stream_channel/src/close_guarantee_channel.dart:81:22)
#15     Stream.pipe.<anonymous closure> (dart:async/stream.dart:698:70)
<asynchronous suspension>

https://dart-review.googlesource.com/c/sdk/+/183540 should help to fix this, but I'm not sure if it's the right fix. Please advise if otherwise 🙂
SDK version:<PHONE_NUMBER>9846b9b9ddc524d3da9a975d91d66a

The JSON decoder expects to see precisely one JSON value. Seeing zero is an error, so that's working as intended.
It would be nice-to-have if the decoder could also parse multiple (or zero) concatenated JSON values. That's occasionally useful.
It currently can't.
I'll keep this issue as an enhancement request for allowing that.


Can I use the Xiaomi CyberGear motor? It's more affordable.

Can I use the Xiaomi CyberGear motor? It's more affordable.

Hello, have you turned him into a reality? How difficult is he, thank you


sharp library is killing the node-red process

Hello
I tried using this module with my own flow and the provided example ones and all I get is an idling status, no error, no output.
My deepstack server is working because I can get appropriate responses using an http request.

Ok I found the problem.
The sharp library is triggering a core dump (probably because a memory leak) when It tries to read the image in any way, killing the node process, triggering a restart node-red and making impossible any kind of error handling, because the entire node process dies.
As a workaround, if you just not use the write shapes on the image the integration works fine. Please consider switching to a more reliable library, this never happened to me before, and I used several image processing libraries

That's unfortunate. What kind of images are you working with?
Maybe you can file a bug report to the Sharp project to get them to look into it, I'm sure they'll appreciate it?

What kind of images are you working with?

Normal security camera images. They are 2.048 x 1.536 in size, but just a couple of kilobytes in weight. The sharp library seems to have a lot of stupid issues about this, and I am not sure I'm going to contribute with just another problem to their list, but I'll try

Too bad, I've always liked libvips.

This issue has been reported against sharp at https://github.com/lovell/sharp/issues/2595 and it looks like a conflict between two different versions of sharp.
If possible, please can you upgrade the version of sharp used by this package to v0.28.0 as it provides statically-built binaries to help avoid this entire class of problem. Thank you!

I can confirm that the problem is not conflicting versions, because this was happening before I installed a different version of sharp to reproduce this problem and it persist after I removed it.
I will, however, try with sharp 0.28.0

Tried with 0.28.0 and still fails:

Repro:
outlines = [{x: 0, y: 10, height: 50, width: 50}]
image = '/config/www/cam_captures/kitchen.jpg'
buffer = fs.readFileSync(image)
sharp = require('node-red-contrib-deepstack/node_modules/sharp')

const outline = function(buffer, outlines, outlineColor) {
        return sharp(buffer).metadata().then(meta => {
              let svgOverlay = '';

            outlines.forEach(o => {
                svgOverlay += '<rect x="' + o.x + '" y="' + o.y + '" width="' + o.width + '" height="' + o.height + '" ' +
                    'style="fill:none;stroke:' + outlineColor + ';stroke-width:3;" />';
            });
            return '<svg width="' + meta.width + '" height="' + meta.height + '">' + svgOverlay + '</svg>';
        }).then(overlay => {
            return sharp(buffer).composite([{
                input: Buffer.from(overlay),
                blend: 'over'
            }]).toBuffer();
        });
    }

outline(buffer, outlines, '#fff')

Oh, stupid me, I installed latest sharp but I was still requiring the one from the library.
I just updated the library sharp version (but going into the npm folder and updating it) and I can confirm that the above code no longer fails and produces the desired image with a white rectangle at the desired coords

456cedd should do it.
Huge thanks @danielo515 for all the help & @lovell for an amazing module!


Small fix to ble_gap_unpair_oldest_peer to avoid writing to invalid memory

There was a recent change to ble_gap_unpair_oldest_peer that fixed how ble_store_util_bonded_pairs was called. However that fix did not increase the size of the buffer, so the call to ble_store_util_bonded_pairs would result in writing past the buffer passed in. This small change fixes that behavior.

Change is part of IDF


Updating semantic-release

https://github.ibm.com/security-services/security-advisor-project-management/issues/8384
Secret disclosure when containing characters that become URI encoded
https://github.com/advisories/GHSA-r2j6-p67h-q639
Checklist

[ ] npm test passes (tip: npm run autofix can correct most style issues)
[ ] tests are included
[ ] documentation is changed or added
[x] link to public docs when adding new a service or new features for an existing service

Superseded by https://github.com/ibm-cloud-security/security-advisor-sdk-node/pull/18


Use absolute paths when reporting errors

Expected behavior and actual behavior.
This morning I accidentally re-discovered that Path('.').parent != Path('..'). This is not a problem caused by Fiona; however, it took an hour longer to debug than it would have if Fiona reported absolute paths in error messages rather relative paths.
The project layout l was dealing with looks like this:
.
├── data
│  ├── zip2d
│  └── zip2d-complete.tar.gz
├── lazy-install.sh
├── pyproject.toml
├── README.md
├── requirements.txt
└── src
   └── zip2d.py

The current behavior, reporting erroneous paths as relative, made it ambiguous as to whether the path was relative to the script that was being executed or if it was relative to the current working directory. Furthermore, I initially believed that this might be a bug in Fiona's relative path handling (not realizing that pathlib had such an unintuitive behavior.) An absolute path- or even making the relative path unambiguous by prefixing the relative path with the one that it is relative to- would have cut this hours-long debug session down to minutes.
Expected: error messages contain absolute paths so that they are unambiguous.
Actual: fiona.errors.DriverIOError: Failed to create file ../data/zip2d/zip2d.shp: No such file or directory
Steps to reproduce the problem.
$ cat lazy-install.sh
#!/bin/sh

set -eu

/usr/bin/python3 -m venv venv
. venv/bin/activate
pip install -U pip setuptools wheel
pip install -r requirements.txt
wget https://www2.census.gov/geo/tiger/TIGER2019/ZCTA5/tl_2019_us_zcta510.zip -O data/tiger.zip
unzip data/tiger.zip -d data/tl_2019_us_zcta510
./src/zip2d.py

$ cat requirements.txt
Fiona
Shapely

Operating system
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.4 LTS
Release:	20.04
Codename:	focal

Fiona and GDAL version and provenance
$ . venv/bin/activate && pip list | grep Fiona && pip --version | sed -e "s/$(whoami)/ubuntu_user/g" -e "s/$(hostname)/ubuntu_host/g"
Fiona         1.8.21
pip 22.1.2 from /mnt/ubuntu_host.1/home/ubuntu_user/dev/zip2d/venv/lib/python3.8/site-packages/pip (python 3.8)

For example: the 1.7.10.post1 manylinux1 wheel installed from PyPI using pip version 9.0.1.
For example: GDAL 2.1.0 installed via Homebrew

Closing. These particular error messages are provided by GDAL. It's an upstream issue.

Closing. These particular error messages are provided by GDAL. It's an upstream issue.

Hey sorry I didn't respond to your previous comment! A series of life events pulled me away from GitHub. In any case, closing seems very appropriate and just wanted to say thank you for looking into this.


US18704 support acr values

First part of https://rally1.rallydev.com/#/62195369248d/detail/userstory/63499783712

LGTM, simple and sweet, merging.


[Narwhal] Add a min_header_delay parameter

Currently we are trying to use the header batches threshold to determine the speed of generating headers, which depends on the rate of batch creations, which in turn depends on the write rate. Instead, adding a new min_header_delay parameter, which allows proposing headers before reaching batch threshold, would make the header propose latency more predictable especially under lower TPS.
For now, the min_header_delay is set to 1.8s, only slightly below max_header_delay, to separate behavior change from this PR. We will run experiments on different values. One possibility as @arun-koshy proposed is to set min_header_delay to 1s and max_header_delay to 5s.
Also, ensure leader only needs to wait for parent stakes and nothing else.

Awesome! Just curious what are the effects to dag performance if we hit the min timeout eventually and add empty headers?

If this happens, the network must have very low load. Generating headers at 1/s ~ 2/s should be ok. And the benefit would be lower latencies.

If this happens, the network must have very low load. Generating headers at 1/s ~ 2/s should be ok. And the benefit would be lower latencies.

Spoke with Mingwei offline about this, but in the case we do under tune this parameter it is possible we will generate empty headers. Just something to monitor for the future


Cleanup sql projects tree

Splitting this out from the drag and drop changes to make it easier to review. A couple small cleanup tasks for the projects tree:

Remove MessageTreeItem - this was originally added for SpacerTreeItems, but those haven't been used for a couple years when Data Workspace changed the project tree loading to load each project separately
Rename projectUri to relativeProjectUri

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 18 (66.67%)  changed or added relevant lines in 6 files are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.002%) to 41.937%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/models/tree/projectTreeItem.ts
0
1
0.0%

extensions/sql-database-projects/src/models/tree/sqlcmdVariableTreeItem.ts
3
4
75.0%

extensions/sql-database-projects/src/controllers/projectController.ts
1
5
20.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/book/bookTreeView.ts
1
37.72%

extensions/notebook/src/common/ports.ts
4
74.14%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
28649

Relevant Lines:
63448

💛  - Coveralls


Roll engine 7f7250f47636..e0a24d636928 (1 commits)

git@github.com:flutter/engine.git/compare/7f7250f47636...e0a24d636928
git log 7f7250f47636..e0a24d636928 --no-merges --oneline
2019-09-19<EMAIL_ADDRESS>[flutter_runner] Remove usages of shared snapshots from CC sources (flutter/engine#12343)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5603880781479936

Commit queue failed; closing this roll.


no output when run against esx host

Hi
I trying to use pyvinga plugin under ubuntu 14.04 but when i run it against esxi host i don't see any output
maybe i use wrong argument ,
please advice
Thanks
command
./pyvinga.py --host <IP_ADDRESS>  -u usr -p xxx123 -n host -e <IP_ADDRESS> -r cpu.usage -w 5 -c 10

Hi,
Command looks OK - the only things I'd note on is the host name for -e, it must be the full host name (usually displayed in the top left of the VI client - left window frame).
For example, mine might say esxi1.lab.com so I have to use this after the '-e'.  The IP address or the host name only won't work.
$ ./pyvinga.py --host <IP_ADDRESS> -u root -n host -e esxi1.lab.com -r cpu.usage -w 5 -c 10
Enter password for host <IP_ADDRESS> and user root:
OK - CPU Usage is 0.6%  | 'CPU Usage'=0.6%;5.0;10.0;0;100
IP address is OK for the '-s' / '--host' parameter
Hope this helps.  Please keep me updated.

Works like charm thanks
just another question can i get health status and temperature with this plugin?
Thanks

Great news, thanks for getting back to me :)
The plugin doesn't currently look at temperature or health of hardware.

Thanks a lot  :-)
any plan to extend it for health metrics?

Unfortunately, not right now - other projects are taking up a lot of my time.  I haven't even started to investigate how these can be pulled out of vCenter / Hosts and in what format they'd be.


Upgrade to Chart.js 3.x

We are currently using 2.9.4, which is the latest 2.x version. To benefit from the very latest changes to the library, we should consider upgrading to 3.x. However, I assume there have been breaking changes, so the upgrade will probably take non-trivial refactoring effort.

I'm having a look at the migration and I'll note which things have to be changed/which I have changed:

[x] default colors: https://www.chartjs.org/docs/latest/getting-started/v3-migration.html#defaults
[ ] Chart-tpye removed: https://www.chartjs.org/docs/latest/getting-started/v3-migration.html#defaults

Done with #236


How soon can we expect tableau server docker.

How soon can we expect tableau server docker ?

Checking in on this...
@Tuatan, @james-baker - Any ideas on when we will be able to run dockerized tableau-server. Is this possible today, or are there some known blockers?
There seem to be some hacky ways posted on forums, but nothing looks official & stable.


[bug] [v2] trayIcon set_visible(true) method is not working

Describe the bug
set_visible method does not seem to work on tauri v2.
It works well when visible is false, but the icon is not exposed when it is true again.
Reproduction
https://github.com/gusxodnjs/tauri-issues/tree/bug/tray_icon_set_visible
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 13.5.2 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.17.0
    - yarn: 1.22.21
    - npm: 9.6.7

[-] Packages
    - tauri [RUST]: 2.0.0-beta.22
    - tauri-build [RUST]: 2.0.0-beta.17
    - wry [RUST]: 0.40.1
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 2.0.0-alpha.18
    - @tauri-apps/api [NPM]: 2.0.0-beta.13
    - @tauri-apps/cli [NPM]: 2.0.0-beta.20

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

Stack trace
No response
Additional context
No response

@pewsheen could you take a look at this

Show/Hide tray icon in that reproduction repo works on my macOS 14. I'll try running it on a macOS 13.

It also works on my macOS 13.5.2 VM. 🤔
@gusxodnjs Did you get any error messages when showing or hiding?

I am facing the same issue. The cloned repo from the OP did not work. New project did not work either.
There are no error in the HTML log

I just realised the issue is with the notch on latest mac, when there are many tray icons, the tauri icon get placed under the notch.


Beyond Breach Map

Can you make an update for this one? I really want to use the map. Well, I tried to make one by myself but I don't know how to add the "new_law" and "chain_info". What I know is "is_breached" and "disable_over" is boolean. Hope you can make an example for this one. Thank you!

new_law: "over100_step50" | "frag50" | "lowlevel" | "antiheroism" | None is just a string.
I am not sure whether chain_info: dict works or not. It is {"id": <chain_id: str>, "index": <1, 2, 3, ...>}

How I suppose to know for others? Like the chain_info. I found it in IDA when decompile Arcaea library. So, chain_info will look like this
{"id": "chain_id": test, "index": 1, 2, 3} ? Or something else? Can you explain more to me about this? I want to know about this. So I can do it by myself later.

For example, {"id": "test", "index": 1} is for the first map of the chain.

Ah I see, thank you. Btw will you add this for the server?. I hope you add it. I still need an example for this, in case if I forgot about it.

OK. I will add a breached map example at next version.

Thank you!


Suggestion: .zip extension (autosplit)

In the autosplit readme it says I can use -m/--mode but in the -h command it outputs that that parameter is not a thing anymore. is it possible that it can come back and have it work for zipped .zip volumes too? Unless it already works and I'm doing something wrong please tell me. Thank you for your work.

For now I could just rename all file extensions, but it would still be nice to have it in the autosplit command.


Give more helpful error message for stack.Peep() exceptions when stack is empty

Hi @kbrimble, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

Thank you for the contribution!


doc: remove typos, fix stylistic errors

Description
This PR provides stylistic errors fixes and removes typos of the documentation.
Fixes # (issue)
Type of change
N/A
How Has This Been Tested?
N/A
Checklist
N/A

Codecov Report

Merging #437 (fcab576) into develop (49fc312) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head fcab576 differs from pull request most recent head 5aa888b. Consider uploading reports for the commit 5aa888b to get more accurate results

@@           Coverage Diff            @@
##           develop     #437   +/-   ##
========================================
  Coverage    86.99%   86.99%
========================================
  Files           23       23
  Lines         1423     1423
========================================
  Hits          1238     1238
  Misses         185      185

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 49fc312...5aa888b. Read the comment docs.


Dart Alice in Wonderland in the magical world of perfect language not used by the world. ?

https://www.linkedin.com/pulse/dart-alice-wonderland-magical-world-perfect-language-used-r-f-junior/
"The whole world went to Java or .Net.You still find C ++ coders in financial companies because their systems are built on it, but they're disappearing."
Dart initially had a mixed reception and the Dart initiative was criticized by some to fragment the web due to the original plans to include a Dart VM in Chrome. These plans were discarded to focus instead of compiling Dart to JavaScript. "Dart is the Java Script Woman" ????

Issue tracker is place to report bugs, not a place to promote your blog posts.


How to implement multi-probe LSH in nmslib?

@dongzhen123 what do you mean by implementing? Adding a new method?

@dongzhen123 what do you mean by implementing? Adding a new method?

How to use multi-probe LSH in nmslib

@dongzhen123 you need to use a somewhat older version. There's more than one multiprobe LSH BTW. One version is FALCONN and another one is LSHKIT. However, none of these was competitive on any data sets with graph-based retrieval.


Consider not depending on oauth2

As the twitch oauth2 implementation is quite not up to spec, using oauth2 makes little sense.
If I were to change it to be more specific for twitch, I could make it possible to use twitch_api2::HttpClient for requests.

One side-note, could expand oauth2 crate with what's missing. At first glance, that would be supporting oauth2::AuthBody::QueryParams, as that's mainly what is missing.

Don't think it's possible to simply add AuthBody::QueryParam, RFC6749 requires grant_type to be in body, and twitch doesn't document it.
I think decoupling is the best alternative. Unfortunate, but necessary imo.