GoToolV0 does not support arm64 downloads

Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: GoToolV0 should install ARM on arm64 machines
list here (V# not needed):
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/GoToolV0
Environment

Server - Azure Pipelines

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Account Name: azure-sdk
Team project name: internal
Build definition name: azure-dev - cli

Agent - Hosted or Private: Private

lsb_release -a:No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.5 LTS
Release:	20.04
Codename:	focal

uname -a:Linux 6a0241fcc000000 5.15.0-1023-azure #29~20.04.1-Ubuntu SMP Wed Oct 26 19:17:08 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

Issue Description
Task name: Go tool installer
The installer is downloading the wrong binary when run on ARM64 machines:
Downloading: https://storage.googleapis.com/golang/go1.19.linux-386.tar.gz

This appears to be related to outdated assumptions made at the time of coding this tool (~5 years ago): https://github.com/microsoft/azure-pipelines-tasks/blob/cdb7cfb843ed038dcc8fa0caae3bd655ff6e52cf/Tasks/GoToolV0/gotool.ts#L90
To fix this we need to download a file like: https://golang.google.cn/dl/go1.19.3.linux-arm64.tar.gz
Task logs
Logs: https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_apis/build/builds/2033886/logs/37
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
[Insert error from the logs here for a quick overview]

Any updates on this? Do you have any timelines in getting this fixed?
cc: @savannahostrowski

This issue has not been addressed. Are there plans to update the tool to handle this scenario?


[Bug]: Github Client getIssues Error

Connector Name
module/github (Github)
What happened?
I execute the following code to get the issues count in standard-library repo by applying filters.
function getIssuesCount(string repoName, string shortName) returns int|error? {
    stream<github:Issue, github:Error?> issues = check githubClient->getIssues("ballerina-platform", "ballerina-standard-library", issueFilters = {labels: ["Type/Bug", "module/io"], states: [github:ISSUE_OPEN]});
    issueCount = 0;
    _ = check issues.forEach(count);
    return issueCount;
}

function count(github:Issue issue) {
    issueCount += 1;
}

Required output filter should be like this is:issue is:open label:Type/Bug label:module/io(https://github.com/ballerina-platform/ballerina-standard-library/issues?q=is%3Aissue+is%3Aopen+label%3AType%2FBug+label%3Amodule%2Fio+). But it gave me the output of is:issue is:open label:Type/Bug,module/io (https://github.com/ballerina-platform/ballerina-standard-library/issues?q=is%3Aissue+is%3Aopen+label%3AType%2FBug%2Cmodule%2Fio+).
I could not find a way to pass required filter in the labels.
Relevant log output
No response

@kasthuriraajan I guess we can do this by the search operation than going for the getIssues operation right?

Yes @LakshanSS  you are correct. Here search operation is the recommended way. getIssues operation has some limitations.
@prakanth97 for your use case you can use the following code which uses the search operation.
    string searchQuery = "repo:ballerina-platform/ballerina-standard-library is:issue is:open label:Type/Bug label:module/io";
    github:SearchResult result = check githubClient->search(searchQuery, github:SEARCH_TYPE_ISSUE, 100);

    int issueCount = result.issueCount;


Implement proper ValueSnapshot for arrays of primitives

Instead of encoding them as Java serialized snapshots.
Follow-up to #27598
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test QFL

I've triggered the following builds for you. Click here to see all build failures.

QuickFeedbackLinux build

@bot-gradle test

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test RFN

I've triggered the following builds for you. Click here to see all build failures.

ReadyForNightly build

@bot-gradle clean

I've triggered the following builds for you. Click here to see all build failures.

ReadyForNightly build

Thanks, @asodja!

@bot-gradle merge


Release Google.Cloud.RecaptchaEnterprise.V1 version 1.5.0

Changes in this release:

Commit fcce878:

feat: add reCAPTCHA Enterprise account defender API methods
This adds the following API methods to support the Preview release of reCAPTCHA Enterprise account defender: ListRelatedAccountGroups, ListRelatedAccountGroupMemberships, and SearchRelatedAccountGroupMemberships. Additionally it modifies the existing createAssessment API method to add a new hashed_account_id parameter along with AccountDefenderAssessment return value.

Created release for Google.Cloud.RecaptchaEnterprise.V1-1.5.0


Typo fix

I think this changes a formatting bug in the note generation which should now render the note at the beginning of the Quick fits for TESS tutorial.

Thanks! I'll have to do some work to get this running again.


Update version to 0.1.1.

Coverage decreased (-0.07%) to 73.498% when pulling 871d76aecee6a4aab89e8a2b7c3c8ab39911af45 on little-cui:0.1.1 into baa3edf4c748136cb8128d80cd1388e05b46a09a on ServiceComb:master.


fixes #1327; toggle for datatables responsiveness

Maybe needs better naming? And a little more testing.

Naming looks good to me.
But would you consider getting default value from config?
For example, in my case, for many CRUDs it needs to be disabled except maybe one.

@alashow - sure, a config sounds fine. Will do.

Merged into master. Will be available in a few hours after I bundle it with a few more changes and update the docs.


Added in the wikipedia plugin

Yay no conflicts with any xml file! On another note, I am 90% sure this will work. I'm just not entirely sure how it will handle the multiline string, but after looking as the source code for main and irc.send, it should work. This is for Issue #30.

btw i updated readme, see PR guide. try a pr following those, it will help you for other projects

Will do, thank you

On Mar 13, 2019, at 10:38, Abdur-Rahmaan Janhangeer<EMAIL_ADDRESS>wrote:
btw i updated readme, see PR guide. try a pr following those, it will help you for other projects
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Create Cleaning Jobs for Plugins

[x] Create JSON file to store all relevant plugin information
[ ] Create helper
[ ] Create model
[x] Create controller for modal form
[x] Add job to template

JSON Keys:

"2": {

Identification number to match the cleaning job number

"plugin_name":

Plugin name as saved in plugin_schema_versions table

"plugin_author":

Plugin author name

"plugin_url":

URL is needed in case of forks/plugins with the same name
Will be shown in the template

"checked_upto_plugin_version":

For easy reference and future updates
Will be shown in the template

"plugin_tables":

Database tables which are added by the plugin
Will be shown as a list in the template
Will be shown as a count in the template

"core_table_columns":

Additional columns in core database tables
Will be shown as a list in the template
Will be shown as a count in the template

"plugin_schema_version":

The schema version set for the plugin in plugin_schema_versions table
Will be used to delete the entry from the table matching the plugin name

Rough draft of template

024a4cfa5af55202ad62ed24aaab75e2d07f0fcb
74bc48fc56681d8111579d97a9cfe5db1ef8cc74

@creecros The frontend for the plugin jobs is done. Any tips of how to do the functioning for deleting the stuff?
I think I can re-use functions like delete table or delete column... am sure I saw them in the code.
Any tips?

@creecros The frontend for the plugin jobs is done. Any tips of how to do the functioning for deleting the stuff?
I think I can re-use functions like delete table or delete column... am sure I saw them in the code.
Any tips?

Screenshots https://github.com/aljawaid/ContentCleaner/commit/c2d4b1258ce45425cf1d5dad02b4a5f78656e225

@creecros still busy?

Yes and no, I'll try and get back into it


testnet network support - 9owf81zxv78y8yd - validator,rpc,api

Commits added!

@icohigh, Your Moniker and validator addresses are required, please update the PR with those details.

@icohigh, Your Moniker and validator addresses are required, please update the PR with those details.

Hi.  My moniker is "StakeTab.com" and the validator address is - akashvaloper1rec34a8sxln4hcy08d38sngsqm43exsz9skcn2

Hi.  My moniker is "StakeTab.com" and the validator address is - akashvaloper1rec34a8sxln4hcy08d38sngsqm43exsz9skcn2


Segmentation fault when reading

Describe the bug
Hello,
While trying to test if this package is compatible with https://github.com/JuliaIO/ZipArchives.jl I occasionally got segmentation faults. I created a MWE below where I manually call GC.gc().
To Reproduce
using LibZip
archive = ZipArchive(; flags = LIBZIP_CREATE)
write(archive, "greetings.txt", rand(UInt8, 100000000))
zip_compress_file!(archive, "greetings.txt")
# Write the zip archive to a specified file path
my_path = tempname()
write(my_path, archive)
close(archive)

zip_data = read(my_path)
archive = ZipArchive(zip_data; flags = LIBZIP_RDONLY)
zip_data = nothing
GC.gc()
GC.gc()
GC.gc()
read(archive, "greetings.txt")

[110590] signal 11 (1): Segmentation fault
in expression starting at REPL[14]:1
unknown function (ip: 0x736a58da67f7)
read_data at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
_zip_source_call at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
zip_source_read at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
_zip_read at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
_zip_buffer_new_from_source at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
_zip_dirent_size at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
_zip_file_get_offset at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
window_read at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
_zip_source_call at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
zip_source_open at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
zip_source_open at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
zip_source_open at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
zip_fopen_index_encrypted at /home/nathan/.julia/artifacts/5ad7420957f915c91e9348ac93ca3c1674cb8b0f/lib/libzip.so (unknown line)
libzip_fopen_index at /home/nathan/.julia/packages/LibZip/uolUI/src/LibZip.jl:511 [inlined]
#read#11 at /home/nathan/.julia/packages/LibZip/uolUI/src/ZipTools.jl:473
read at /home/nathan/.julia/packages/LibZip/uolUI/src/ZipTools.jl:465 [inlined]
#read#12 at /home/nathan/.julia/packages/LibZip/uolUI/src/ZipTools.jl:486 [inlined]
read at /home/nathan/.julia/packages/LibZip/uolUI/src/ZipTools.jl:485
unknown function (ip: 0x736a5794fdd6)
jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
do_call at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:126
eval_value at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:223
eval_stmt_value at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:174 [inlined]
eval_body at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:663
jl_interpret_toplevel_thunk at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:821
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:943
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:886
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:886
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:886
ijl_toplevel_eval_in at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:994
eval at ./boot.jl:430 [inlined]
eval_user_input at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:245
repl_backend_loop at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:342
#start_repl_backend#59 at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:327
start_repl_backend at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:324
#run_repl#72 at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:483
run_repl at /cache/build/builder-demeter6-6/julialang/julia-master/usr/share/julia/stdlib/v1.11/REPL/src/REPL.jl:469
jfptr_run_repl_10088 at /home/nathan/.julia/juliaup/julia-1.11.1+0.x64.linux.gnu/share/julia/compiled/v1.11/REPL/u0gqU_GYsA8.so (unknown line)
#1139 at ./client.jl:446
jfptr_YY.1139_14649 at /home/nathan/.julia/juliaup/julia-1.11.1+0.x64.linux.gnu/share/julia/compiled/v1.11/REPL/u0gqU_GYsA8.so (unknown line)
jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
jl_f__call_latest at /cache/build/builder-demeter6-6/julialang/julia-master/src/builtins.c:875
#invokelatest#2 at ./essentials.jl:1055 [inlined]
invokelatest at ./essentials.jl:1052 [inlined]
run_main_repl at ./client.jl:430
repl_main at ./client.jl:567 [inlined]
_start at ./client.jl:541
jfptr__start_72144.1 at /home/nathan/.julia/juliaup/julia-1.11.1+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
true_main at /cache/build/builder-demeter6-6/julialang/julia-master/src/jlapi.c:900
jl_repl_entrypoint at /cache/build/builder-demeter6-6/julialang/julia-master/src/jlapi.c:1059
main at /cache/build/builder-demeter6-6/julialang/julia-master/cli/loader_exe.c:58
unknown function (ip: 0x736a58c29d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4010b8)
Allocations: 7390422 (Pool: 7388804; Big: 1618); GC: 15
Segmentation fault (core dumped)

Expected behavior

A clear and concise description of what you expected to happen.

I think there is a missing call to Base.cconvert and GC.@preserve somewhere.
The functions must be used to ensure Julia doesn't free memory that a C library is still using.
Additional context
julia> versioninfo()
Julia Version 1.11.1
Commit 8f5b7ca12ad (2024-10-16 10:53 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver4)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)

(jl_Yo1dQg) pkg> st
Status `/tmp/jl_Yo1dQg/Project.toml`
  [89089acc] LibZip v1.0.0

Thanks for letting us know about this issue! We really appreciate it, especially the example you provided for reproducing the bug and your potential solution. We'll take a look and keep you posted on what we find!

@nhz2 Could you please clarify how exactly you suggest using GC.@preserve to solve this issue? My attempts didn’t yield the desired result. Since the data source is external, I was only able to protect it externally
using LibZip
archive = ZipArchive(; flags = LIBZIP_CREATE)
zip_data = rand(UInt8, 100_000_000);
GC.@preserve zip_data begin
    write(archive, "greetings.txt", zip_data)
    zip_data = nothing
    GC.gc()
end
julia> close(archive)
true

I think one way is to save a reference to the thing that needs to be preserved in the ZipArchive struct.
Then you can GC.@preserve in any internal methods that use the data.
I've looked a bit at the docs for libzip and found https://libzip.org/documentation/zip_source_buffer.html

data must remain valid for the lifetime of the created source

But I'm not sure what exactly they mean by lifetime here. You may want to ask a question about this at https://github.com/nih-at/libzip/discussions


Using with docker

Hi,
Is it possible to use it with docker?

Yes.
One heads up: ideally, your server should generate a certificate once every 90 days or so, and save the certificate somewhere for faster startup and to avoid hitting Let's Encrypt rate limits. Right now, certificates are stored on disk, but I haven't provided options yet to configure where on disk they are stored. So, if you are using Docker as a short-lived machine, it means you will be regenerated certificates more often than necessary. I'm using #4 to track adding more APIs for saving certificates.
Let me know if you have any other questions.

I use it with docker, I found out the easiest way is to mount directory with certificates to the host so they survive docker restart. Because in linux the x509store just save the certificates on disk
docker run -v ~/x509stores/:/root/.dotnet/corefx/cryptography/x509stores/ image_name


Coverage remained the same at 88.372% when pulling 99c0d1bb9540bdd59b0bac5d1bad3bd95fdf2b39 on ashalper-usgs:master into da91ee4d1204dfd1f691033fb6fd059f99277565 on USGS-R:master.

Do not merge until the sh file is restored.

OK, I restored the shell script.

Coverage remained the same at 88.372% when pulling 6b9e6660802437c44da0ebb8ccd6216a51b17730 on ashalper-usgs:master into da91ee4d1204dfd1f691033fb6fd059f99277565 on USGS-R:master.

What else has to happen with this PR @thongsav-usgs ? Can we merge now that Andy restored the original sh file?


⚠ Avatar API Endpoint has degraded performance

In 151d724, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 4002 ms

Resolved: Avatar API Endpoint performance has improved in 2ddf49f after 3 days, 22 hours, 29 minutes.


AssertionError in convolutional layer when number of channels is not a multiple of 4

I'm trying to train a convolutional network where one convolutional layer has unusual number of output channels, and get an assertion on Titan X GPU with F32 precision
  File "convmodel.py", line 94, in <module>
    model.fit(train, optimizer=opt, num_epochs=args.epochs, cost=cost, callbacks=callbacks)
  File "/home/adience/neon/neon/models/model.py", line 141, in fit
    self.initialize(dataset, cost)
  File "/home/adience/neon/neon/models/model.py", line 100, in initialize
    prev_input = self.layers.configure(prev_input)
  File "/home/adience/neon/neon/layers/container.py", line 140, in configure
    in_obj = l.configure(in_obj)
  File "/home/adience/neon/neon/layers/layer.py", line 657, in configure
    self.nglayer = self.be.conv_layer(self.be.default_dtype, **self.convparams)
  File "/home/adience/neon/neon/backends/nervanagpu.py", line 1636, in conv_layer
    relu, bsum)
  File "/home/adience/neon/neon/backends/layer_gpu.py", line 469, in __init__
    pad_d, pad_h, pad_w, str_d, str_h, str_w, relu, bsum)
  File "/home/adience/neon/neon/backends/convolution.py", line 119, in __init__
    assert K % self.vec_size == 0, "K dim must be multiple of %d" % self.vec_size
AssertionError: K dim must be multiple of 4

If I try to train in F16 precision, the error is AssertionError: K dim must be multiple of 8. If I try to train on CPU, there is no error (but training is unbearably slow).

That restriction has been lifted in newer kernels.  These will be released in a week or so.  In the meantime you should be able to pad out your K dim to a multiple of 4.

Thanks for prompt response! Padding K wouldn't work for my use-case: its a fully convolutional network with uneven number of categories. Looking forward to the next release!

You can still pad K and leave the extra categories empty. You just have to make the corresponding change to the dataset, e.g. if you are using ArrayIterator, pass in the nclass argument with the padded number of categories.


Request 403 for Dataset resource

Hi guys, I got 403 response from dataset URL with following message:
<Error>
    AuthenticationFailed
    <Message>
        Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:63fa7064-c01e-0055-782d-92f8d9000000 Time:2024-04-19T07:46:53.2863477Z
    </Message>
    <AuthenticationErrorDetail>
        Signature did not match. String to sign used was layoutlm r b o 2023-06-08T08:48:15Z 2033-06-08T16:48:15Z https 2022-11-02
    </AuthenticationErrorDetail>
</Error>

Signature key appears to have expired.
@wolfshow @liminghao1630
Please upgrade the signature key for the dataset.

https://hyper.ai/datasets/21605  try this?

https://hyper.ai/datasets/21605 try this?

Also not available?

yes, no seed at all

According to the readme of this repository, secondary distribution of the dataset is prohibited.
Hopefully the distributor will address this or aprove it to a more easily hostable Huggingface or similar.

https://hyper.ai/datasets/21605 try this?

Also not available?

yes, no seed at all

You can download from OpenDataLab, here is the link: https://opendatalab.com/OpenDataLab/DocBank

https://hyper.ai/datasets/21605 try this?

Also not available?

yes, no seed at all

You can download from OpenDataLab, here is the link: https://opendatalab.com/OpenDataLab/DocBank

You are the real hero

According to the readme of this repository, secondary distribution of the dataset is prohibited. Hopefully the distributor will address this or aprove it to a more easily hostable Huggingface or similar.

Yes, official huggingface repo is the best.

https://hyper.ai/datasets/21605 try this?

Also not available?

yes, no seed at all

You can download from OpenDataLab, here is the link: https://opendatalab.com/OpenDataLab/DocBank

You are the real hero

LOL. Don't thank me, thank OpenDataLab!

same here, lol

I have downloaded the data using aria2c, but I can't unzip it, has anyone encountered the same problem? :(

Hi, we have uploaded the datasets on HuggingFace, please get the datasets from the following link:
https://huggingface.co/datasets/liminghao1630/DocBank
https://huggingface.co/datasets/liminghao1630/TableBank

Hi, we have uploaded the datasets on HuggingFace, please get the datasets from the following link: https://huggingface.co/datasets/liminghao1630/DocBank https://huggingface.co/datasets/liminghao1630/TableBank

Great work! Thank you!


Add path /var/run/secrets/.../serviceaccount/token

Add path /var/run/secrets/kubernetes.io/serviceaccount/token so that new users understand the "magic".

/lgtm

/label tide/merge-method-squash

@guettli would you be willing to revise this page more thoroughly? Every mention of “version 1.6+” is now stale because version 1.5 and older of Kubernetes are very much not supported any more.

That would definitely be a valuable update. That said, I'd rather approve a single incremental improvement and invite others to follow.
/lgtm
/approve


Backend does not support history

I'm trying to pick some data from "Skydive Grafana Datasource" but the listener always responds
Possibly unhandled rejection: {"data":"Backend does not support history","status":400,"config":
{"method":"POST","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"api/datasources/proxy/1/api/topology","headers":
{"Content-Type":"application/json","X-Grafana-Org-Id":1,"Accept":"application/json, text/plain, /"},"data":
{"GremlinQuery":"G.At(1539692226,300).V().Has('Name', 'eth0').Metrics()"},"retry":0},"statusText":"Bad Request"}
(https://github.com/skydive-project/skydive/blob/master/topology/graph/graph.go)
I'm using https://github.com/skydive-project/skydive/blob/master/contrib/openshift/skydive-template.yaml in
oc v3.7.54
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO
openshift v3.7.54
kubernetes v1.7.6+a08f5eeb62
The Analyzer ,from the WebUI, is capturing data like a charm. Is the data  going to etcd?.
Having a look into elastic one, i don't see any movemnt in his logs, should the analyzer send data to elastic?
(http://skydive.network/documentation/#architecture)

Yes you need to specify a backend to store flow and metrics. Etcd is used for configuration Elasticsearch for everything about history.
You set it here:
https://github.com/skydive-project/skydive/blob/master/etc/skydive.yml.default#L69
https://github.com/skydive-project/skydive/blob/master/etc/skydive.yml.default#L76
https://github.com/skydive-project/skydive/blob/master/etc/skydive.yml.default#L305

Sorry I didn't see that you were using kubernetes deployment. We need to update the yaml file. We are going to work on a fix.

We just merged related fixes #1387, could try them, thanks

Thanks for fixing it so fast.


In STM32Fxx ethernet driver - race condition in RX check

Here
Race condition: a bit in ulISREvents is cleared non-atomically in prvEMACHandlerTask, while it can be written by interrupt handler.
A better signaling of RX events, combined with link state check is proposed in STM32 forum link, by @Piranha
[quote]
Instead of using vTaskNotifyGiveFromISR(...) from the ISRs ....  use xTaskNotifyFromISR(hTask, fEvents, eSetBits, &fYield).
Then in the task ulTaskNotifyTake(pdTRUE, pdMS_TO_TICKS(250)) will just return those flags and clear the internal variable without race conditions. ....  if it returns zero, then it has timed out because there are no new frames received for at least 250ms, which
means the time has come to check (and update, if necessary) the state of physical link.
A proper link state checking logic free of charge without additional tasks, timers or whatnot!
[/quote]

Thanks @pavel-a for reporting the issue to us.
We have created PRs and merged suggested changes.
I will be closing this issue now.
Feel free to re-open this issue or create a new one in case you have some questions/concerns.
Thanks


[vcpkg] Update tls12-download.exe to 2021-05-05 version

Describe the pull request
Update tls12-download.exe to 2021-05-05 version.

What does your PR fix?
Fixes #17688

Does your PR follow the maintainer guide?
Yes

Hi guys, what's the status? :)

@dan-shaw, could you help merge this PR?

Can anyone merge this PR?

@ChanthMiao, @cnSchwarzer, the PR #17978 has been merged to master, I will colse this PR, for the issue, please get latest source and try again.


⚠ GitHub has degraded performance

In 06d42e4, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 301 ms

Resolved: GitHub performance has improved in 70f8add.


Make SimpleHiveSpec.Builder fields accessible via @Getter

Since they need to be accessed in subclasses of SimpleHiveSpec.

@zliu41 I don't like this change. Using non-singular fields makes it very hard to create SimpleHiveSpecs with activities or predicates. Removing the @Builder makes adding new fields in the future error prone and tedious. Why not just make the fields protected?

How to make them protected? @Singular will automatically declare them as private, and adding @Getter is not allowed.
One way is to add the getter methods in builder manually.

Turned out I only needed to access path, table and partition in the builder, so added @Getter annotation to these fields.

LGTM


Version 0.0.127

Codecov Report

Merging #183 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   90.91%   90.91%
=======================================
  Files          78       78
  Lines        2916     2916
  Branches      536      615   +79
=======================================
  Hits         2651     2651
  Misses        263      263
  Partials        2        2

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 2f8274d...8b9fa29. Read the comment docs.


Update info about supported Kubernetes versions

Thank you for helping make the Dapr documentation better!
Please follow this checklist before submitting:

[x] Read the contribution guide
[ ] Commands include options for Linux, MacOS, and Windows within codetabs
[ ] New file and folder names are globally unique
[ ] Page references use shortcodes instead of markdown or URL links
[ ] Images use HTML style and have alternative text
[ ] Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:
Description
Update info about supported Kubernetes versions
Issue reference
https://github.com/dapr/dapr/issues/3348

@AaronCrawfis @msfussell , could you tag this PR to v1.3?

I am concerned about dropping support to 1.17 at this point.

Good to merge on Thursday

Please add the link to Kubernetes Skew versions to https://docs.dapr.io/operations/support/support-release-policy/#upgrade-on-hosting-platforms in addition to the overview. (add it as a ### heading under upgrade on hosting platforms)


remove error check on govc datastore.mkdir

when testing with anthos 1.5, i got an error from the mkdir apparently because the directory already existed.
so i propose removing the error check (which i had added in #88) from this command.

Meaning it works with 1.6, 1.5, & 1.4 ?

anthos 1.4: worked with or without the change.
anthos 1.5: does not work with or without the change.  with this change, it gets farther, though.
anthos 1.6: did not try yet.
in short, i am unable to test on versions beyond 1.4.

Meaning it works with 1.6, 1.5, & 1.4 ?

anthos 1.4: worked with or without the change.
anthos 1.5: does not work with or without the change.  with this change, it gets farther, though.
anthos 1.6: did not try yet.
in short, i am unable to test on versions beyond 1.4.

@dfong do we understand how gke-on-prem/ already exists?
I would rather skip this step if it is not needed. Does this only occur when re-applying or does this error happen the initial provision?

do we understand how gke-on-prem/ already exists?

i am not sure how it happens.  i would note, however, that it was my PR #88 that added this check.  before that, none of the commands in this script were being checked for error exit.  any errors that occurred would have been ignored.  so i think removing the check on ONE of the commands won't make things any worse than they were before my PR was merged.
it is quite possible that i got the error when re-running the script manually on the admin-workstation after it failed and was reported by terraform.
as a general principle, these scripts should be idempotent.  ie, when a failure occurs at some point in the terraform apply, ideally it "should be" possible to re-run the script.  if the script fails when the directory already exists, then it won't be idempotent.

@dfong I'm just looking at this again following the project rename and additions of integration testing (although failing, they are present).
It looks like we can pass -p to the datastore.mkdir https://github.com/vmware/govmomi/blob/master/govc/USAGE.md#datastoremkdir, assuming this works like mkdir -p it should not complain on existing directories.


library add

please add new library because your source is awesome 💯

Hello, thank you for your support, new features will be added soon


Microsoft Graph Error When Trying to Provision Learning Pathways

I am trying to provision the Learning Pathways solution from the Lookbook site (https://lookbook.microsoft.com/details/3df8bd55-b872-4c9d-88e3-6b2f05344239).
I am a global admin of my tenant and have site collection owner rights to the SharePoint app catalog.  After clicking the "Add to your tenant" button on the SharePoint Lookbook site, I almost immediately receive the following error:
Sorry, something went wrong. There was an unexpected issue. Exception while invoking endpoint https://graph.microsoft.com/v1.0/sites/root.
I have tried provisioning this multiple times, in multiple browsers, using multiple accounts (one with MFA enabled and another without MFA enabled).  I have tried deleting the "SharePointPnP.ProvisioningApp.Tenant" enterprise app in AAD and re-accepting the app permissions on behalf of my organization, but the process fails every time.  I have been on the phone with Microsoft support personnel, shared screenshots and logs, and have done screen-sharing to repeat the steps, but the installation continues to fail.  And I have also tried manually installing the app in SharePoint but to no avail.

I've tried removing the "SharePointPnP.ProvisioningApp.Tenant" enterprise app from AAD several times, including just a minute ago, but I still receive the error during provisioning after I consent to the app.  We don't have any custom policies in Azure that would prevent access to SharePoint from third-party apps.

From: Paolo Pialorsi @.>
Sent: Wednesday, March 10, 2021 7:05 PM
To: SharePoint/sp-provisioning-service @.>
Cc: Jason Curtis @.>; Mention @.>
Subject: Re: [SharePoint/sp-provisioning-service] Microsoft Graph Error When Trying to Provision Learning Pathways (#411)
Thanks for taking the time to test it. Based on the evidence, I would suggest you to remove the "SharePointPnP.ProvisioningApp.Tenant" enterprise app from AAD and to re-consent it from scratch via the Look Book site. However, you said that you already did it, so I'm a bit clueless now ... do you mind trying one more time, being sure that you get the consent prompt and that you effectively consent to the app? Moreover, is there any custom policy at AAD level in your tenant (like Conditional Access, or something like that), that could eventually prohibit access to SPO from third party apps? Please, let me know. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SharePoint/sp-provisioning-service/issues/411#issuecomment-795747353, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATEMVOXZ6LVWA5QKUE6PKCDTC6RFLANCNFSM4YZQXRJA.

Hello there! I am getting the same thing here trying to install the templates! I've followed the instructions here but the results are the same;

Any solution to this yet?

Was there ever a resolution to this?

Odd thing. Changing the site permissions to the home site got this working for me. The call to /sites/root would go to the home site, so this is what fixed the problem. If the installer doesn't have permission to the home site, this seems to be the failure. It's likely unusual as the home site would generally have everyone as site visitors, at least. But if the admin account doesn't have any permission to the home site, this seems to be how it fails.

I know this is closed but I got the error today.  Mine appeared to be related to MFA. I logged out and logged back in again and it worked.  Good news is that no reboot was required.

I know this is closed but I got the error today. Mine appeared to be related to MFA. I logged out and logged back in again and it worked. Good news is that no reboot was required.

Thanks Thomas for leaving this solution on the site. Worked for me also, used private browser session to login which prompted for my MFA code and did not have any problems then.

I can report that at 0449 Eastern, I received the same error message attempting to deploy Sharepoint Lookbook. Specifically, I was attempting to deploy the Employee Onboarding.

Still an issue.  I am a global admin, but still can't deploy it.  Can't actually report the app either, since it gives an error.
Like others mentioned, if I opened it in private mode in Edge Chromium, and go through login, password, MFA, it works fine, so there is some kind of odd permissions thing going on, I am guessing with Microsoft 2FA possibly.


docs: Add lang family mapping and map to task table

Fixes #1485.

Add language family mapping and creation script
Add language name and family to task name for each ISO code

Table in paper updated.

Checklist

[x] Run tests locally to make sure nothing is broken using make test.
[x] Run the formatter to format the code using make lint.

Programming sounds good and the least lift 👍

@KennethEnevoldsen do you mean

replacing the code row with Language=code, Family=Programming, or
expanding the code row into individual programming languages, plus Family=Programming, or
remove the code row entirely, or
something else?

I was thinking Family=Programming

@KennethEnevoldsen sure, updated the paper as well. Updating the mapping more based on edits.

Great - where these just manually curated?

Yes. Those were "unclassified" which I found to be odd, so I found the closest fit.


Add SANITIZE option to cmake to support sanitization

not using this yet, but it'll let us add CI jobs eventually

Pull Request Test Coverage Report for Build 772314641

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

Totals

Change from base Build 772254007:
0.0%

Covered Lines:
2241

Relevant Lines:
2405

💛  - Coveralls


Document shortcomings with rootless podman

Signed-off-by: Daniel J Walsh<EMAIL_ADDRESS>

@rhatdan I think comments in the google doc have slowed... We good to merge here?

@miabbott I think we should just merge.

/lgtm


GGML OpenCL Type Error

Your GGML repo has opencl bug.
https://github.com/leejet/ggml/pull/1
fix size type error
sizeof(ggml_fp16_t) is error
should be sizeof(float)
https://github.com/leejet/ggml/pull/1/files

Thank you for your contribution, but I believe the upstream GGML has already fixed this issue. I will sync the changes from the upstream repository to my fork, so that pull request will not be merged.

fixed


Fix RapidsErrorUtils compile error for recent Spark 3.3.0 changes

Fixes #5133
Fix RapidsErrorUtils compile error for recent Spark 3.3.0 changes
Signed-off-by: Chong Gao<EMAIL_ADDRESS>

build

@jlowe , please review
This fixes another 330 build issue, and it merged your PR #5124 to pass the compile.
About this issue, Spark added a new parameter context in QueryExecutionErrors.mapKeyNotExistError.
It makes a better error msg when ElementAt and GetMapValue occur not found error
context  is a SQL string with line and position info, like:
== SQL(line 1, position 0) ==
element_at(col, 5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The context is generated from TreeNode.origin.context,
because of origin is thread local variable while CPU processing data, we can't catch it on GPU.
Let's only pass an empty string. This will no effect processing on GPU, only lack above msg when occurs not found error
e.g.:
CPU error info
Caused by: org.apache.spark.SparkNoSuchElementException: Key 5 does not exist. To return NULL instead, use 'try_element_at'. If necessary set spark.sql.ansi.enabled to false to bypass this error.
== SQL(line 1, position 0) ==
element_at(col, 5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

GPU error info
Caused by: org.apache.spark.SparkNoSuchElementException: Key 5 does not exist. To return NULL instead, use 'try_element_at'. If necessary set spark.sql.ansi.enabled to false to bypass this error.

because of origin is thread local variable while CPU processing data, we can't catch it on GPU.

I don't think this is correct.  IIUC the context is relative to the original SQL query, i.e.: how the current node in the plan maps back to the original SQL query text.  That applies to GPU processing just as much as CPU processing.
The CI failed because Spark added yet another change to VectorizedColumnReader.  I've updated #5124 to fix that along with this RapidsErrorUtils change by passing the origin so the context can be retrieved when running on Spark 3.3+

Superceded by #5124.

I tested the latest code, origin  is empty.
Still need to investigate in my opinion.

spark.conf.set("spark.sql.ansi.enabled",True)

from pyspark.sql.types import *
schema = StructType([StructField("map_col", MapType(ByteType(), ByteType()))])

data = [({1:1},)]
df = spark.createDataFrame(data, schema)
df.show()

# test GPU
df.selectExpr("element_at(map_col, 5)").show()

# test CPU
spark.conf.set("spark.rapids.sql.enabled", False)
df.selectExpr("element_at(map_col, 5)").show()

Outputs of GPU and CPU are:
# GPU
Caused by: org.apache.spark.SparkNoSuchElementException: Key 5 does not exist. To return NULL instead, use 'try_element_at'. If necessary set spark.sql.ansi.enabled to false to bypass this error.

# CPU
Caused by: org.apache.spark.SparkNoSuchElementException: Key 5 does not exist. To return NULL instead, use 'try_element_at'. If necessary set spark.sql.ansi.enabled to false to bypass this error.
== SQL(line 1, position 0) ==
element_at(map_col, 5)
^^^^^^^^^^^^^^^^^^^^^^

Agree, seems using the origin is no more helpful than passing an empty string as was done in this PR.  I filed #5152 to investigate.


implemented Alpine

Implemented Alpine, TUN/LXC not working yet

I am sorry but I have no interest in supporting Alpine.


Update Profile Functionality to Allow Optional Contact Number

Description:
I propose to enhance the profile update functionality by allowing users to update their profiles without providing a contact number. Currently, the system requires users to enter a contact number, but some users prefer to keep this information confidential. By making the contact number optional, we can improve user privacy and flexibility in managing their profile information.

Details:

Modify the updateProfile function to remove the requirement for a contact number.
Update the function logic to only update the contact number if it's provided by the user.
Ensure the updated profile data is saved correctly in the database.

I would like to work on this issue under GSSoC 2024. I request you to assign this task to me.

please assign me this issue

cc: @Muskansahuincredible

Hey Can you Assign me this issue under gssoc 24

I'd like to work on this issue.

@techmannih @Muskansahuincredible Assign me this issue please

Hi, I have been following your project and I would love to contribute, can you please assign me this issue.


does it handles reconnections?

If not, how can I do it?

I'm also curious about reconnections. I noticed my bot would lose connections every >100 seconds and looked through the code. Noticed I should be doing something like go client.KeepAlive() after making the client to make sure it doesn't lose connection. However, it still sometimes seems to disconnect while my other hipchat bots on the same machine (in other languages) still work.

@dcu hey sorry for the delay. you're using KeepAlive() and it still disconnects you? are you connecting with the same JID and resource elsewhere? hipchat will boot accounts if that happens

i created a sample, but i was able to reproduce the problem:
package main

import (
	"github.com/daneharrigan/hipchat"
	"fmt"
	"time"
)

func main() {
	user := "redacted"
	pass := "redacted"
	resource := "bot"
	roomJid := "redacted"
	fullName := "Dane Harrigan"

	client, err := hipchat.NewClient(user, pass, resource)
	if err != nil {
		fmt.Printf("client error: %s\n", err)
		return
	}

	client.Status("chat")
	client.Join(roomJid, fullName)
	go client.KeepAlive()

	// output messages you receive
	go func() {
		for m := range client.Messages() {
			fmt.Printf("%s: %s\n", m.From, m.Body)
		}
	}()

	// send "ping" messages to show you're still alive
	for {
		client.Say(roomJid, fullName, "ping")
		time.Sleep(2 * time.Minute) // wait 120sec between pings because the problem occurs >100sec
	}
}

i added some comments in the code to indicate what i'm doing and why. i slept for 120sec between pings to exceed the 100sec issue, but i haven't encountered any disconnects. can  you send code to reproduce the problem?

The exact problem I was experiencing has been given more detail in #8 by @fedyakin. Making the changes spoken about (changing Rooms() and Users() to return the channel and exposing the RequestRooms() and RequestUsers()) fixed the issue we were seeing where eventually the bot would get an iq it wasn't expecting and just hang.

fixed in 9b8743b68827e88faa248bc432197c570871117d


Enable more linters.

Fix a couple lint errors, including an actual bug!

This change is

PTAL. Added golint which required many more warnings to be addressed.

Is a cue to the reader of the code which says "I know this function returns
an error and I have chosen to ignore it".
In another environment I worked on, we started out with a magic function
call to capture this:
Result.Ignore(myFunction())
We ended up promoting this to a language feature:
ignore myFunction()
and it turns out golang calls this feature "_ =" instead of "ignore" :-)
On Fri, Jan 6, 2017 at 4:39 PM, Douglas Reid<EMAIL_ADDRESS>wrote:

@douglas-reid commented on this pull request.
In pkg/aspectsupport/uber/env_test.go
https://github.com/istio/mixer/pull/138:

@@ -24,5 +24,5 @@ func TestEnv(t *testing.T) {
log := env.Logger()
log.Infof("Test%s", "ing")
log.Warningf("Test%s", "ing")

log.Errorf("Test%s", "ing")

_ = log.Errorf("Test%s", "ing")

I guess... but the difference between "_ =" and dropping the error on the
floor is not clear to me. Isn't the improvement something like:
if err := log.Errorf(..); err != nil {
t.Errorf("Errorf(): unexpected error %v", err)
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/mixer/pull/138, or mute the thread
https://github.com/notifications/unsubscribe-auth/AVucHSXEC-vgiyzzWKcibikg7_GrwmqLks5rPt6ogaJpZM4LdLeO
.

Restated: if we care about not allowing ignored errors, shouldn't we go full monty here in the test and actually check the error that is possibly returned?
Ignoring the error, even explicitly, seems to violate the spirit of the lint check to me.
In general though, this LGTM. I'd like to see it pass the build first however.

Log.Errorf is different in this regard.It returned an error because it constructs an error from the given arguments. It did not encounter this error. So it is ok to ignore.

Wait, why are we logging an error and also generating it for further processing?  That seems a bit like an anti-pattern to me.  Is the assertion that the error will be handled without logging by the mixer once it is outside of the adapter code?

All linters run and pass.
PTAL.

Running the linters achieves the same effect, and it's actually more
thorough (since we don't have tests for everything yet)
On Sun, Jan 8, 2017 at 8:48 AM, Douglas Reid<EMAIL_ADDRESS>wrote:

@douglas-reid approved this pull request.
One question about the go test bits, but not a blocker. LGTM.
In .travis.yml
https://github.com/istio/mixer/pull/138#pullrequestreview-15628149:

bazel test //...

bin/bazel_to_go.py

ls -l ${TRAVIS_BUILD_DIR}

go test -v ./pkg/... ./adapter/... ./cmd/...

do we want to keep this line, or not? i believe it was added to ensure go
test and bazel test interop.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/istio/mixer/pull/138#pullrequestreview-15628149, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVucHXGcI2RZzjB7uZnTLVzafs1Qwq5Hks5rQRNWgaJpZM4LdLeO
.


CRS should fetch only what is needed

Problem
Currently, the backend fetches the entirety of transcript00, no less. This is a huge download for small circuits.
Proposed solution
Instead of fetching all of transcript00, we should instead fetch only the amount of the G1 that is needed for a given circuit.
Alternatives considered
No response
Additional context
This is being done in combination with #139
Submission Checklist

[X] Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.

Splitting this into 2 issues, one for fetching the range and one for fetching more than transcript00


Adds missing methods to mango historical data service

Status
Type
⚠ Core Change
Issue

Ready
Feature
No
#74

Problem
What problem are you trying to solve?
Missing methods to get recent perp trades of a mango account and spot open orders

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

159 of 170 (93.53%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.6%) to 80.591%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

Solnet.Mango.Historical/Models/SpotOpenOrder.cs
25
26
96.15%

Solnet.Mango.Historical/Converters/PerpTradeJsonConverter.cs
82
84
97.62%

Solnet.Mango.Historical/Converters/StringToBigIntegerJsonConverter.cs
4
6
66.67%

Solnet.Mango.Historical/Converters/StringToByteJsonConverter.cs
4
6
66.67%

Solnet.Mango.Historical/Converters/StringToDateTimeJsonConverter.cs
4
6
66.67%

Solnet.Mango.Historical/Converters/StringToUlongJsonConverter.cs
4
6
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
2441

Relevant Lines:
2983

💛  - Coveralls


Configuring Facebook authentication - high PV low CSAT

Configuring Facebook authentication - high PV low CSAT
This topic: Configuring Facebook authentication
Requires some further inspection.  Relatively high traffic but low ratings.   Developers have noted some issues in the topic feedback recently that have gone unanswered.   You have to work through a previous topic before you get to this one so folks may also have a justifiably low tolerance for any perceived issues or complexity by the time they get through this one.

fixed in  #4980


Issues with mcculw import ul

Hello;
I'm trying to run the example code using Python and the mcculw. The very first line
from mcculw import ul       throws an error which last line says " AtributeError: function 'cbAChanInputMode' not found. "   The PC has windows 7 Home Premium SP1 64 bits (Iddle 32 bits)
This same example runs OK in another PC with windows 7 Professional SP1 32bits. The board used is MCC USB-7202.
I need to know what am I doing wrong. Both systems have the same Python 3.7-32 bits and the same mcculw installed. I want the programs to run in any PC to implement test stations.
Any help will be appreciated.

Hi JoseWired,
I'm taking a guess here to be sure, but the first thing I would look for is for multiple copies of cbw32.dll on your system.  Open your Windows File explorer, go to the root of C:\ drive, and search for cbw32.dll.  You should find one instance of that file, installed in C:\Program files (x86)\Measurement Computing\DAQ. (drop the (x86) if running on 32 bit Windows).
if you find more than one copy, delete any other not in the afore mentioned directory.
Best regards,

Hello jeffreyg3,
Thank you for your response.
I searched the cbw32.dll and it appears only once in C:\Program files(x86)\Measurement Computing\DAQ.
Instacal is working OK, The USB-7202 is listed and tested OK.

jeffreyg3:
I made something that worked:
I downloaded the 64 bit version of Python, then from its path I installed the mcculw.
When I wrote the sample exercise in Iddle(64bits), it worked fine!
I did that as a try/error, because I'm new in Python and mcculw.
Thanks !


Add or remove components to libraries from HopsanGUI

Changes/features:

Library version 0.3: Only loads components with CAF files specified in library XML
Libraries always show up in GUI even if components failed to load in HopsanCore
Non-loaded components have red font and cannot be added to models
Create new libraries
Add new components using wizard dialog
Add existing components (CAF files must be inside library folder)
Remove component to libraries, with option to also delete files
Removed all dual-view code (deprecated)
Minor fixes to library widget behaviour

@peterNordin Do you have time to review this? Especially the new library version could be important to discuss.

@robbr48 yes I will have a look over the weekend

I did some tests:
When loading the ExtensionLibrary I get the following warning (it conflicts with it self)
A component with type name 'Subsystem|Initial_Step' was already registered by library 'HopsanExtensionLibrary'. Ignoring version in library 'HopsanExtensionLibrary'.
Choosing the following for a library opens the dir/file for the first subcomponent instead of the library:
Open Containing Folder
Edit component appearance
Edit source code
I am unable to find how to create a new library or to insert or remove components, those context menu options never appear for me.
I tried when loading the ExtensionLibrary
It is possible to chose  on sub-directory items:
Edit component appearance
Edit source code
The red fading in the color of the terminal / messages does not work for me when a componetn library fails to compile
When a ComponentLibvrary fails to compile it is not added to the list, I think that according to the new code, the should be added anyway
I tried introducing an error into the ExampleComponetnLibrary

@peterNordin

When loading the ExtensionLibrary I get the following warning (it conflicts with it self)
A component with type name 'Subsystem|Initial_Step' was already registered by library 'HopsanExtensionLibrary'. Ignoring version in library 'HopsanExtensionLibrary'.

I will investigate. As you noticed above, I did not yet consider subtypes. This is probably related.

Choosing the following for a library opens the dir/file for the first subcomponent instead of the library:
Open Containing Folder
Edit component appearance
Edit source code

Are you sure? For me the correct XML and source files are opened. The containing folder is wrong for the top-level library folder though.

I am unable to find how to create a new library or to insert or remove components, those context menu options never appear for me.
I tried when loading the ExtensionLibrary
It is possible to chose on sub-directory items:
Edit component appearance
Edit source code

Strange. When I load the ExtensionLibrary I do get the "Add New Component" and "Add Existing Component" entries if a right-click on a library folder (the ones with green icons).

The red fading in the color of the terminal / messages does not work for me when a componetn library fails to compile

Is this only a cosmetic problem? For me it seems to work.

When a ComponentLibvrary fails to compile it is not added to the list, I think that according to the new code, the should be added anyway
I tried introducing an error into the ExampleComponetnLibrary

Again, this works for me. I tried introducing errors in both main source file and a component source file. The library is loaded, and all components are red.

@peterNordin The problem with the extenationLibrary is actually a problem with the library itself. It contains two CAF files with the same typename/subtypename. So the error is correct.

Hmm OK I will look in that. Also I will try a clean rebuild and see if I can get stuff working

@robbr48 OK I did a clean rebuild and now all the options appear and fading color works.
However, I ran into some new problems. When using the "example component library" and adding a new component under the sub-dir hydraulics, the generated library would not compile. The new component hpp include was added without the relative hydarulics/file.hpp path.
Also the generated library includes debug output (I assume) to std:err that library is being registered. Also no indentation on the actual registration lines (not such a big deal, but anyway...)
Also I got the add new component dialog to crash the program, just adding some random constants, not sure what I did. I remember only filling in the name description and unit (should use quantity dropdown boxes) then clicking something ....

I did not fill in typename and such for the component, just add new constant parameter with name and description, and click "done"

The _savestate model shows up in the recent models list

The _savestate model shows up in the recent models list

Fixed.

However, I ran into some new problems. When using the "example component library" and adding a new component under the sub-dir hydraulics, the generated library would not compile. The new component hpp include was added without the relative hydarulics/file.hpp path.

Fixed.

Also the generated library includes debug output (I assume) to std:err that library is being registered. Also no indentation on the actual registration lines (not such a big deal, but anyway...)

I removed the output, fixed the indentation, and also corrected library name (was hardcoded).

Also I got the add new component dialog to crash the program, just adding some random constants, not sure what I did. I remember only filling in the name description and unit (should use quantity dropdown boxes) then clicking something ....
I did not fill in typename and such for the component, just add new constant parameter with name and description, and click "done"

Fixed. It did not check for empty type name before checking first character.


update the multi-scheduler doc

Docs update for https://github.com/kubernetes/kubernetes/pull/42961
@timothysc @k82cn

This change is

LGTM

But let's not merge this until we're sure kubernetes/kubernetes#42961 makes it into 1.6

This needs a change from the docs perspective before it's ready for publishing.

@devin-donnelly Comments addressed

@wanghaoran1988 Almost there. =) Also, if you could update the branch w/ master, that should take care of the Travis CI failure. That was due to an unrelated issue that we fixed last week. Thx!

@wanghaoran1988 Ping.

@chenopis Sorry for the delay, comments addressed.


Stops downloading after 1 day

I can't pin point an exact time but after about 24-36 hours it stops downloading from Blink. Is there something I can do to prevent this from happen?
Also is there a way to change the name of the files?

I have released a new version, check if you have viewer version .19 at the botton left of the app after opening it. Remove token.json file inside %userprofile%/Documents/Bling.exe/Html/viewer/data and login in the app again.
I am not sure if this will solve the problem but I saw I was sending reauth=true during login process so let's see if this solves it.

Thanks for responding :). I am showing 1.16 viewer version and 1.21.0 desktop.

That is after updating to the latest version. And I deleted that token file.

Viewer must be  v0.1.19. If this is not the case please remove %userprofile%/Documents/Bling.exe/Html/viewer folder. Also delete any compressed file inside %userprofile%/Documents/Bling.exe/Downloads/Viewer/
Open the app and should update automatically to 0.1.19

So it still stops, if I check the log it looks like when it stops I just get a bunch of lines that look like this:
[2020-07-03 14:27:42.029] [BlingLog] [info] HTTP GET 401 rest-u020.immedia-semi.com:443/api/v1/accounts/*****/media/changed?since=2020-07-02T23:04:39+00:00&page=1
I starred out that number because I Wasn't sure if it was unique to me or not.

For me, even after deleting the html/viewer directory and replacing it with 0.1.19 download, my viewer version still shows as 0.1.16.

Same here... totally deleted entire install location and downloads... installed latest exe and have 0.1.16/<IP_ADDRESS>, like in your picture.  Also, still get the daily expiration, regardless of if I do the post-login validation code.

I'm sorry there was a typo in 0.1.19 and displayed 0.1.16 instead because it's a manual change I do every release. i have generated 0.1.20 and should show up correctly.
I will take a look into other projects to see how they deal with disconnections.

I'm a new user and started with 0.1.20 and I too am having this issue. It seems after 24 hours I have to re-authenticate.


try to dynamically find the element type from xpath

Attempts to reduce replication by checking if the element type is present within the xpath if it's provided, then passes that as a watir element, still supports manual overriding failing an auto detection.
Currently:
add_static_text(:mission_statement, element_type: :h2, xpath: '//section[@class="main-content"]//h2[@class="fancy-text"]')

Given the element type was actually provided in the xpath (h2[@class="fancy-text"]]), it makes sense for Oz to be able to infer it from the path, letting us do:
add_static_text(:mission_statement, xpath: '//section[@class="main-content"]//h2[@class="fancy-text"]')

No description provided.

Allows oz to create attempt to infer the element type from an xpath if it is used.

That's the 'what' but what is the 'why'?
:)

To reduce replication :)

Of what? please provide a use case (yes I know we talked about this one, but I am trying to keep things clean) :)

Might make sense to make this also work for css selectors... though given they are less likely to specify the exact element type you're looking for, and that they have a less standard format than xpaths, might be a lot of work for very little gain.

What is the current status of this merge request?  Are we going forward with this pattern, or does it require some discussion?


[Event Request] Codeunit 80 Sales Post - OnBeforeSellToCountry

Hi, in the Codeunit 80 Sales Post, would it be possible to get an event OnBeforeSellToCountry, like this :

Thanks

Clarify the placement of required event - on the picture it is inserted between functions.
You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

It's locate on the local procedure GetCountryCode

local procedure GetCountryCode(SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"): Code[10]
var
SalesShipmentHeader: Record "Sales Shipment Header";
CountryRegionCode: Code[10];
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeGetCountryCode(SalesHeader, SalesLine, CountryRegionCode, IsHandled);
if IsHandled then
exit(CountryRegionCode);
    if SalesLine."Shipment No." <> '' then begin
        SalesShipmentHeader.Get(SalesLine."Shipment No.");
        IsHandled := false;
        OnBeforeSaleShipmentHeader(SalesHeader, SalesShipmentHeader, SalesLine, IsHandled);
        if not IsHandled then
            exit(
              GetCountryRegionCode(
                SalesLine."Sell-to Customer No.",
                SalesShipmentHeader."Ship-to Code",
                SalesShipmentHeader."Sell-to Country/Region Code"));
    end;
    IsHandled := false;
    OnAfterGetCountryCode(SalesHeader, SalesLine, IsHandled);
    if not IsHandled then
        exit(
          GetCountryRegionCode(
            SalesLine."Sell-to Customer No.",
            SalesHeader."Ship-to Code",
            SalesHeader."Sell-to Country/Region Code"));
end;

_OnBeforeSellToCountry(SalesHeader, SalesLine, SalesShipmentHeader);___

It's locate on the local procedure GetCountryCode

local procedure GetCountryCode(SalesLine: Record "Sales Line"; SalesHeader: Record "Sales Header"): Code[10]
var
SalesShipmentHeader: Record "Sales Shipment Header";
CountryRegionCode: Code[10];
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeGetCountryCode(SalesHeader, SalesLine, CountryRegionCode, IsHandled);
if IsHandled then
exit(CountryRegionCode);
    if SalesLine."Shipment No." <> '' then begin
        SalesShipmentHeader.Get(SalesLine."Shipment No.");
        IsHandled := false;
        OnBeforeSaleShipmentHeader(SalesHeader, SalesShipmentHeader, SalesLine, IsHandled);
        if not IsHandled then
            exit(
              GetCountryRegionCode(
                SalesLine."Sell-to Customer No.",
                SalesShipmentHeader."Ship-to Code",
                SalesShipmentHeader."Sell-to Country/Region Code"));
    end;
    IsHandled := false;
    OnAfterGetCountryCode(SalesHeader, SalesLine, IsHandled);
    if not IsHandled then
        exit(
          GetCountryRegionCode(
            SalesLine."Sell-to Customer No.",
            SalesHeader."Ship-to Code",
            SalesHeader."Sell-to Country/Region Code"));
end;

_OnBeforeSellToCountry(SalesHeader, SalesLine, SalesShipmentHeader);___

The line 5589:  " end;" is the end of the function GetCountryCode. We cannot call an event outside of the function.
You also want to name it OnBeforeSellToCountry though the function called GetCountryCode. What is the point?

The line 5589:  " end;" is the end of the function GetCountryCode. We cannot call an event outside of the function.
You also want to name it OnBeforeSellToCountry though the function called GetCountryCode. What is the point?

Yes sorry my mistake the event need to be in the procedure GetCountryCode mutch like this :

Sorry it's because in navision there is not begin end in procedure

Yes sorry my mistake the event need to be in the procedure GetCountryCode mutch like this :

Sorry it's because in navision there is not begin end in procedure

You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

You help us implementing the requests faster when your request contains AL code copied from VSCode instead of screenshots.

The latest source code differs from code you described. You can use existent event OnBeforeGetCountryCode to overwrite the logic.

The latest source code differs from code you described. You can use existent event OnBeforeGetCountryCode to overwrite the logic.


What does isAuthoritative represent?

I'm not exactly sure what isAuthoritative represents, and can't find any documentation on it, what exactly does it mean? Thanks

Did you ever figure this out?

It means it isn't "Mozilla-compatible", because the initial "Mozilla/x.x" string is missing. Back in the day it was used to tell that the browser was based on or compatible with Gecko. See L312.
Nowadays it means nothing, it's there for compatibility reasons.

@guilhermehn thanks


⚠ Bofrost.es has degraded performance

In bcffd47, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1398 ms

Resolved: Bofrost.es performance has improved in bb7f6b4 after 6 minutes.


Will this work on Keiser M3? Just need some pointer if possible?

I have a keiser M3 I- which has Bluetooth.
have previously setup ‘keiser2zwift at GitHub- but the app is incomplete with little help from the original developer for additional services for other cycling apps - peloton, RGT cycling etc.
Ive read this project with interest and I note the “ Support for other bikes can be added easily.” in the project description- ive read through the instructions on setting up with other bikes (numerous times!) - but for the life of me, apart from finding the relevant files and reading through them-  I’m not sure what I’m supposed to alter?!

I’m totally flumoxed to what needs adding to the files - eg ‘M3’ as the bluetooth title??

Any help available from anyone would be very grateful received!
At its most basic- if i state ‘M3’ in ble-scan as device name and use flywheel as bike settings as starting point?
Image attached showing Bluetooth details I get from the bike usingnRF connect..

Here is a BLE Simulator for the Keiser M3i, which includes documentation of the packet format. That should help with the development of a custom bike type.

Thanks @chriselsen - that all looks beyond me.
Will keep an eye out and see if someone else comes along and knows how to do the technical work..!

@nealjane Just created #50 for experimental Keiser M3 support. Give it a try and let me know how it went.

This has been released in 1.4.0.


Style the notifications beta settings card.

Before:

After:

Changed color for off to white to be consistent. Merged out of band.


KBM can be disabled while the KBM windows are up causing unexpected behavior

Steps to reproduce

Open Remap a key dialog. Go back to Settings and disable KBM.
Expected behavior

Either the windows should close, or the user should not be able to disable at all.
Actual behavior

The KBM window will still be up and the Type key interface will no longer work since it depends on the hook.

The easier workaround is to close the windows, since we currently do not have a way to communicate from the runner to settings to inform when the window has been closed. If that existed then we could block out all the options until the window was closed.

This issue would also be resolved if the dialog was made completely modal (#2466 )


Request: Facebook App Events Support

Context
I am looking to use Facebook App Events, only the Application Installed event, to track ads -> installs.
Current state of play
There is only a native and react-native support for this and Flutter we will have to add in to this repo or fork.
From reading these issues on this repo, I assume there is going to be work towards a "Fully Dynamic and Scalable Segment Integration":

#17
#18

In the meantime it looks like all integrations are done in this repo, with the idea of eventually separating them out:

#49

PRs with integrations:

#15
#48
#19

As for the Application Installed event, it appears there is an issue where it doesn't fire via the dart implementation:

#26
I have noticed no Application Installed but I do get Application Opened Application Backgrounded events. So I will try to look into that.

Solutions
what is the best way to take this forward?

Fork this repo and add in my dependancy via the same method as the PRs with integrations above. To avoid adding more PRs to this repo before its changed to "Fully Dynamic and Scalable Segment Integration"
Fork and merge my addition of Facebook App Events
Try to mix together this package and facebook_app_events as mentioned here https://github.com/la-haus/flutter-segment/issues/26#issuecomment-1138369892 Does @ariefwijaya have an example of this?

Went with option 2:

#54

Fix for the Application Installed event:

#56

@b099l3
We can use cloud mode for facebook, no need to add the facebook library in our flutter-segment. Just add facebook destination from segment admin panel.
https://segment.com/docs/connections/destinations/catalog/facebook-app-events/

For the advertising id, I fetch it from this plugin https://pub.dev/packages/advertising_id and set it manually using our existing method:
Segment.setContext({
     'device': {
       'adTrackingEnabled': adTrackingEnabled.toString(),
       'advertisingId': advertisingId,
     }
   });

See this https://github.com/la-haus/flutter-segment/pull/54#issuecomment-1295875295 for details as to why this didn't work in my case.


STREAMLINE-715: Metadata service should work with secure services (WIP - Pls do NOT Merge)

Set doAsUser query param for Storm UI from Security Context
StormMetadataServiceTest
Services execution using Subject.doAs
Pass Subject onto ServiceMetadataResources
HBaseMetadataService - UserGroupInformation.setConfiguration(config);
HBaseMetadataResource, HBaseMetadataService with Subject.doAs(...)

This patch is still WIP. Namely, I am still testing several scenarios to confirm all is OK. Once I have done more extensive testing I will remove the WIP tag.
I believe that this change also addresses STREAMLINE-742. I am still testing to see if it handles all the cases.

Currently, and temporarily, some code has an isSecure flag set to true because the SecurityContext#isSecure() is not currently returning true without the authorizer.  It will be removed and is used only to be able to test the code.
This patch is also currently using the streamline subject in order to authenticate and test the authentication code. It will change and instantiate the appropriate subjects as I test the authorization part for the relevant services

@harshach this patch is now ready to merge

@hmcl merged into master. please check & close the pr.


Missing information about GPS

There is few things that are not clear to me:

Where can I find sections navstat_to_string, gps_mode_to_string, gps_mode_to_string, gps_mode_to_string?
How to determine if it is GPS fix see status
How to determine position covariance matrix correctly see position_covariance?
Is it ok to provide pos_accuracy^2 as diagonal part of position_covariance field and set position_covariance_type to COVARIANCE_TYPE_DIAGONAL_KNOWN?

any news?

Did anyone find those mysterious functions?


Cannot reproduce the result of ELAS

Hi,
Recently, I am interesting in your project and want to repeat it!
However, I face some problems about ELAS. (https://github.com/AndreiBarsan/libelas-tooling)
I just repeat the code from above, but get different depth value!
The min value of my depth is -10 (I think it's because of the variable "kInvalidDepth" which is defined in elas.h.), but the min depth you provided (KITTI Odometry Sequence 06, which is used in demo) is 0.
Also the max value is different.
I want to know how should I process the range of depth image!
Thanks so much :)

Hi wj4y78308, it's so awesome that you're interested! Which tool from the ELAS repository did you use for the preprocessing?
Did you use https://github.com/AndreiBarsan/libelas-tooling/blob/master/src/kitti2klg.cpp? This one should take care of the issue you described, in line 252, I believe.


mimic-happy-eyeballs: other adjustments

Hey @dinosaure, I'm sorry I messed it up, but there are two issues that I'd like to solve with this PR (and would appreciate a re-release of mimic to get our mirage release out of the door):

in 0.0.7, the functor arguments were first DNS the Happy_eyeballs, let's keep that
in dns-client, the type stack is Stack.t * Happy_eyeballs -- not Happy_eyeballs * Stack.t

especially the second point requires a release, otherwise we won't be able to use mimic-happy-eyeballs at all. Thanks a lot.

Thanks, I will redo the release.


Delete unnecessary spaces

When copying from the web page, there is an unnecessary space after the code.

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

We're in the process of pulling this commit to the private repository so we can verify the updates on staging. We'll post a new private repo PR # shortly and then close this PR.

@Mikejo5000 Please note there's also a text change in this PR.

@changeworld I've reviewed the changes (thank you for these!) and will merge now.


Fixed incorrect attribute usage in documentation

data-gs-no-resize, data-gs-no-move, data-gs-auto-position and data-gs-locked need to be set to "true" (or "1" or "yes") in order to take effect. Simply setting the attributes is not sufficient.

Coverage remained the same at 70.841% when pulling 365cfaec4770619ca1132e581b310d5c76c46ae2 on jhadenfeldt:patch-1 into 230e91ffd3ae61769ed11766f6f7bc237609d03d on troolee:master.

@jhadenfeldt Could you actually move the =true part into the sentence that explains it? Something like "Set to true, yes, or 1, to ...".

Closing for inactivity, but if you have a chance to update this before it otherwise gets updated, please put in a new PR!


logendpoint: mark unfinished logs as read-only on startup

If the system or mavlink-router crashed, the last log was not marked as read-only, so we go through all logs on startup and check them.

@lucasdemarchi good to merge?


Fix tiny bug in tx.go

Tiny bug fixed in tx.go, easy diff.

Superceded by #165.

OK Thanks. Closed


feat: section header when appending existing .gitignore

closes https://github.com/microsoft/playwright/issues/33307.


Layout Broken on Netlify

When running a local server on my machine the site looks fine, but when I deploy it to my domain using Netlify, the layout is completely messed up. I've tried troubleshooting it for a while but can't figure out what the issue is. I am using the build command provided in the docs on Netlify and nothing is different in the code between my machine and what I have pushed to Netlify. I looked through the deploy logs on Netlify and there are no errors. I am using Hugo version 0.111.3 in both locations.

Could you please share your build settings from netlify? I can't even deploy the site because deploy is failing

I have the same issue. Site looks fine locally when using hugo server --buildDrafts and just spent the last 2 hours trying to deploy to Github Pages (not rendering correctly), Cloudflare Pages (fails to build; toc.html line74 extra white space with - character) and Netlify which build with no issue but again does not render correctly. Seems like the CSS?
See screenshot below that is similar to the OP.

Netlify logs attached.
netlify_build_log.txt
Local Hugo version: hugo v0.92.2+extended linux/amd64 BuildDate=2023-01-31T11:11:57Z VendorInfo=ubuntu:0.92.2-1ubuntu0.1
Followed guide and also tried a few other things with no luck.
Any idea how to fix this?
Thanks

Has this already been solved? I am not using Netlify, but I have the same layout issue. Local server works fine, but after deployment the blog and tags pages looks exactly like the screen in this issue.

Has this already been solved? I am not using Netlify, but I have the same layout issue. Local server works fine, but after deployment the blog and tags pages looks exactly like the screen in this issue.

Not for me. I did some digging and think I know what the issue is but switched theme in the end. I did have the same issue with the theme I use now, after finding the same thing. I think it's because when we test locally the baseURL parameter is not used.  After using Firefox developer tools I could see that when the site is deployed this URL is used for linking stylesheets plus other things. So, I think if you try changing the baseURL in your config to that of where your site is deployed (Netlify URL, Vercel URL, or a custom domain) then the absolute path to the stylesheet should work.
When I deployed I could see that the code was looking for the style sheet at baseURL which I had not set to the correct Netlify URL.
Note that I have not tested this and only based on what I think the solution is and that by using the correct baseURL on a deployment with another theme it sorted the styling.

Thank you for this extensive reply.
I will dig into it further.
I discovered two things already:

When I set the baseUrl to "" and set relativeurl to true, then the style works better, but it is not 100% correct for all links
When I add slashed to the blog and tags url in the menu definition, that helps as well, but the language switcher still loses the style

Besides that, even when the style works correct, the links seem to lose the protocol switching to http instead of https. This last thing might be a setting at my providers system, but I am not sure. Only this website has this behaviour.
I will keep investigating this. I'll keep you posted.

Okay... I know proved it is the theme, or Hugo.
It also happens to the example site.
See: https://test.janware.nl
Source: https://gitlab.com/janware/janware.nl

papasmurf.nl

Hey, Great! Glad you have cracked it and all working now.
Hopefully anyone else with the same issue can get it working using this thread.

Thanks, guys! Just found the theme and had the same issue. So, to summarize:

Make sure that your baseUrl="https://your-site.com" in your config.toml exactly matches the URL of where you will deploy your site.
Copy the ./themes/blist-hugo-theme/layouts folder into your own site's ./layouts folder. At least, that is what I did to be able to customize things.
In your ./layouts/partials/header.html file, replace
line 47 with:       {{ default .Lang .LanguageName }}

and 65 with:     {{ default .Lang .LanguageName }}

Commit, push, serve, and enjoy!

@apvarun, this might be worth a fix, right?

@jmflaherty definitely! I believe the change should only be the trailing slash right? and not the styles/classnames.
Can you send a PR ?


updated submodules,so that workspace is not broken anymore

outdated submodules
don't try to add private repos like your playground as submodules to the public workspace


Error : Invalid data found when processing input

I tried the code but was getting following error with every input file
: "Invalid data found when processing input".
It seems to work only after I  call av_register_all(). How is the code working for you without registering all codecs ?

Did you try to run from Docker? (make run_hello)  We're using FFmpeg 4.0.2 version and the av_register_all was deprecated. What libav version are you using?


Add a variable to skip armttk test.

Fix o-320.

Don't forget to run the workflow after the PR merge.


Add Navigation trail from gh-1455

Description of the problem
This PR implements the issue described in #1455
Description of Changes
This PR does not implement  a solution as a described in the issue I raised since that would create a lot of breaking an unnecessary changes. The PR instead introduces an MDNavigationTrail widget instead of MDNavigationGroup. The Trailer widget contains the MDNavigationRailItems that shall be displayed at the bottom of the Navigation rail. This focuses more on the issue at hand other than introducing group positions that are generic and can be misused.
The MDNavigationTrail widget is a box layout widget that shall be positioned at the bottom of the navigation rail. It can accomodate a maximum of 3 MDNavigationRailItems. This is because if the number exceeds 3, then there's no point in using the MDNaviagtionTrail, It would be better to just anchor the Items to the bottom of the MDNavigationRail.
The MDNavigationTrail widget has an internal _max_railitems property to track the number of items in the trail. It also has 2 more properties: separator and navigation_rail. Separator is a boolean attribute to decide if a separator line can be drawn above the Trailer to show separation from the rest of the icons. This would be important in cases where the MDNavigationTrail widget is used along with the bottom anchor position of the MDNavgiationRail. It would be good to show a distinction of where the different Items belong.
The navigation_rail attribute points to the parent navigation rail widget of the trailer widget.
Screenshots of the solution to the problem

Code for testing new changes
from kivy.lang import Builder

from kivymd.app import MDApp

KV = '''
MDBoxLayout:

    MDNavigationRail:

        MDNavigationRailItem:
            text: "Python"
            icon: "language-python"

        MDNavigationRailItem:
            text: "JavaScript"
            icon: "language-javascript"

        MDNavigationRailItem:
            text: "CPP"
            icon: "language-cpp"

        MDNavigationRailItem:
            text: "Git"
            icon: "git"

        MDNavigationTrail:
            MDNavigationRailItem:
                text:"Android"
                icon:"android"

    MDScreen:
'''

class Example(MDApp):
    def build(self):
        return Builder.load_string(KV)

Example().run()

Bugs
I've submitted a draft PR as I'm still sorting out some bugs in the code. The bugs include:

[x] The separator line does not appear. The problem might be in how I've implemented it, I need to review the code again
[x] The more than one MDNavigationRailItem can be toggled on, we need to fix that. Check image below

[x] MDNaviagtionRailItems are being clipped off if they are more than 1. refer to the above image where the name "note" was
supposed to appear below the pencil icon but it was clipped off.
[x] anchor bottom in navigation rail crushes into the trailer widget. We can either fix positioning or prevent bottom anchoring if trailer is used. I think the first suggestion is better.
[x] the hanging item problem. A single MDNavigationRailItem appears to be hanging far from the bottom of the MDNavigationRail

@HeaTTheatR I've completed the PR and I think it's ready for review.

@ht-thomas
I ran a simple sample code and immediately found problems:

@HeaTTheatR I did fix that issue I think, it was among the last commits I made.

@HeaTTheatR I've tried to replicate the issue but I've failed. This is what is showing up in my screenshots

The PR is deprecated due to the new API of the KivyMD library 2.0.0 version


Build failure - Warning: PhantomJS timed out, possibly due to an unfinished async spec. Use --force to continue

On Ubuntu 16.04.2 LTS
git clone https://github.com/hpe-idol/find.git
cd find
GIT_COMMIT=git rev-parse --short HEAD
cd webapp
mvn package -Dapplication.buildNumber=$GIT_COMMIT
Fails with following logs:

[INFO]
[INFO] --- exec-maven-plugin:1.3.1:exec (jasmine) @ idol ---
Running "babel:transform" (babel) task
Running "jasmine:test" (jasmine) task
Testing Jasmine specs via PhantomJS

ReferenceError: Can't find variable: require at
spec-runner.html:30 global code
ReferenceError: Can't find variable: require at
spec-runner.html:46 global code
ReferenceError: Can't find variable: require at
spec-runner.html:143 launchTest

Warning: PhantomJS timed out, possibly due to an unfinished async spec. Use --force to continue.
Aborted due to warnings.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] find ............................................... SUCCESS [  0.088 s]
[INFO] core ............................................... SUCCESS [ 47.948 s]
[INFO] idol ............................................... FAILURE [ 40.895 s]
[INFO] hod ................................................ SKIPPED
[INFO] on-prem-dist ....................................... SKIPPED
[INFO] hsod-dist .......................................... SKIPPED
[INFO] mockui ............................................. SKIPPED
[INFO] selenium-tests ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:30 min
[INFO] Finished at: 2017-02-21T21:10:30+00:00
[INFO] Final Memory: 40M/324M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (jasmine) on project idol: Command execution failed. Process exited with an error: 90 (Exit value: 90) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :idol

This can be resolved by reverting grunt-contrib-jasmine to version 1.0.3.  See grunt-template-jasmine-requirejs issue 93.

FAILS WITH THE FOLLOWING:
[INFO] Reactor Summary for find 12.4.0:
[INFO]
[INFO] find ............................................... SUCCESS [  0.190 s]
[INFO] core ............................................... FAILURE [04:44 min]
[INFO] idol ............................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (jasmine) on project core: Command execution failed.: Process exited with an error: 3 (Exit value: 3) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.1:exec (jasmine) on project core: Command execution failed.
error full log of find app install.txt](https://github.com/microfocus-idol/find/files/4035780/error.full.log.of.find.app.install.txt)


clarify that you don't wait in between requests

Pull Request Test Coverage Report for Build 24

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

Totals

Change from base Build 22:
0.0%

Covered Lines:
41

Relevant Lines:
41

💛  - Coveralls

@void666 I guess this can be merged? Thanks!

If https://github.com/void666/request-promise-retry/pull/6 gets approved and merged, then here should not be merged :-)

Closing this as Exponential backoff is supported #6


Select camera feed for audio

Would it be possible to add a section to the layout.conf to choose a feed to output audio via hdmi? Since the omxplayer code is universal in the 'displaycameras' file, there doesn't seem to be a way to choose just one.
Thanks!

Correct.  Code reuse and looping inherent to the function of the system means that I'd have to significantly refactor the code to accept arguments per-camera that aren't currently supported.  This feature is unlikely to be implemented (by me).

ah ok, no worries.


Registration service

Create a service, which saves newly created accounts to the database

Has been moved to #33


Option to flatten ingestion data

Option fixing a minor issue I came across and reported as #46
The main goal is allowing users to flatten data for logging if needed, mostly for preventing circular references in objects resulting in a Type Error when trying to JSON.stringify such data. Examples of naturally circular structures are Node's request object or some exception objects.
I've added it as an Ingestion option rather than resolving to it by default. The main reasons for that are that in many cases I would prefer to get an exception when trying to log circular data and figuring out why that's happening, the second one possibly being performance. I couldn't find any serious enough resources comparing the performance of default JSON.stringify and flatted stringify, although I reckon there shouldn't be much difference.
I decided to use a package for the flattening rather than trying to achieve it myself, even though it seems doable in just a few lines of code. I reckon that the added dependency and the tiny increase in size (0.5K) are worth it.

The build step is failing, but it doesn't seem related to your changes, I reran the build step again, lets see how it goes.

I checked the other PRs, build step is fine, can you double check the build error?

I don't have a v18 node installed, it seems like on 19.x it passes and I use 20.x  and it passes too. I'll get v18 at some point and try to run the tests again.

I've tried to run the tests locally, one of them fails, something about fetch-retry. the main branch builds fine. not sure whats causing this yet. here is the error:
Jest has detected the following 1 open handle potentially keeping Jest from exiting:
@axiomhq/js:test:
@axiomhq/js:test:   ●  TCPWRAP
@axiomhq/js:test:
@axiomhq/js:test:       20 |     const headers = { ...this.config.headers, ...init.headers };
@axiomhq/js:test:       21 |
@axiomhq/js:test:     > 22 |     const resp = await fetchRetry(fetch)(finalUrl, {
@axiomhq/js:test:          |                                         ^
@axiomhq/js:test:       23 |       retries: 3,
@axiomhq/js:test:       24 |       retryDelay: function (attempt, error, response) {
@axiomhq/js:test:       25 |         return Math.pow(2, attempt) * 1000; // 1000, 2000, 4000
@axiomhq/js:test:
@axiomhq/js:test:       at ../../node_modules/.pnpm/jest-mock@29.5.0/node_modules/jest-mock/build/index.js:709:23
@axiomhq/js:test:       at wrappedFetch (../../node_modules/.pnpm/fetch-retry@5.0.6/node_modules/fetch-retry/index.js:71:9)
@axiomhq/js:test:       at ../../node_modules/.pnpm/fetch-retry@5.0.6/node_modules/fetch-retry/index.js:131:7
@axiomhq/js:test:       at fetchRetry (../../node_modules/.pnpm/fetch-retry@5.0.6/node_modules/fetch-retry/index.js:63:12)
@axiomhq/js:test:       at FetchClient.<anonymous> (src/fetchClient.ts:22:41)
@axiomhq/js:test:       at step (src/fetchClient.ts:59:23)
@axiomhq/js:test:       at Object.next (src/fetchClient.ts:40:53)
@axiomhq/js:test:       at src/fetchClient.ts:34:71
@axiomhq/js:test:       at Object.<anonymous>.__awaiter (src/fetchClient.ts:30:12)
@axiomhq/js:test:       at FetchClient.Object.<anonymous>.FetchClient.doReq (src/fetchClient.ts:90:16)
@axiomhq/js:test:       at FetchClient.Object.<anonymous>.FetchClient.post (src/fetchClient.ts:50:17)
@axiomhq/js:test:       at AxiomWithoutBatching.BaseClient._this.ingestRaw (src/client.ts:43:17)
@axiomhq/js:test:       at AxiomWithoutBatching.Object.<anonymous>.AxiomWithoutBatching.ingest (src/client.ts:154:17)
@axiomhq/js:test:       at test/unit/client.test.ts:207:13
@axiomhq/js:test:       at Object.<anonymous> (../../node_modules/.pnpm/expect@29.5.0/node_modules/expect/build/toThrowMatchers.js:74:11)
@axiomhq/js:test:       at Object.throwingMatcher [as toThrow] (../../node_modules/.pnpm/expect@29.5.0/node_modules/expect/build/index.js:312:21)
@axiomhq/js:test:       at test/unit/client.test.ts:208:12
@axiomhq/js:test:       at step (test/unit/client.test.ts:44:23)
@axiomhq/js:test:       at Object.next (test/unit/client.test.ts:25:53)
@axiomhq/js:test:       at test/unit/client.test.ts:19:71
@axiomhq/js:test:       at Object.<anonymous>.__awaiter (test/unit/client.test.ts:15:12)
@axiomhq/js:test:       at Object.<anonymous> (test/unit/client.test.ts:197:88)

oh, just noticed, the AxiomWithoutBatching class has the flattedStringify inside of it, and that class fails. The other class with batching support didn't include flattedStringify, so we need to add it their as well.

I think the issue has to do with the way you return the falttened data, and the syntax of async expect.
for example here I think you should return
     const json = array
       .map((v) => {
-        options?.flattenData ? flattedStringify(v) : JSON.stringify(v);
+        return options?.flattenData ? flattedStringify(v) : JSON.stringify(v);
       })

and in the expect you are not actually returning the ingest method, and no awaiting for it:
expect(() => {
      axiom.ingest('test', [circularReferenceObject]);
}).toThrow(TypeError);

probably it would be await expect(axiom.ingest('test', [circularReferenceObject]); and maybe at the end it will have something like .rejects or something like that.

Even though the changes should be minimal, I currently don't have the capacity to fix these problems. I'm using a fork that seems to work well, so it's probably just the tests. Once i have more free time I'll try to fix the issues. Thanks for your assistance.

@prokopec-simon closing this as there has been no activity for a long time, feel free to reopen when ready.


Replace old CI3 .gitignore with root CI4 version

Description
The .gitignore coming through Composer AppStarter appears to be an old CI3 version - copying the root CI4 version here @jim-parry's recommendation
https://github.com/codeigniter4/appstarter/pull/3
Checklist:

[X] Securely signed commits
[ ] Component(s) with PHPdocs
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[X] Conforms to style guide

:)


Facial detection example

Created a face detection model which will notify when a user is not found in frame. This PR should be merged after https://github.com/RhombusSystems/rhombus-api-examples-python/pull/2

Looks like this PR contains the ExtendedAIModule as well, is that intentional?

Nope, that was an accident cause I branched from brandons/dev accidentally when I started the project. I can fix that I think

Ok @rhombusdev now the only change should be in the extended AI readme, where i added an FFMpeg change